You might sideload an Android app, or manually install its APK package, if you’re using a custom version of Android that doesn’t include Google’s Play Store. Alternately, the app might be experimental, under development, or perhaps no longer maintained and offered by its developer. Until now, the existence of sideload-ready APKs on the web was something that seemed to be tolerated, if warned against, by Google.

This quiet standstill is being shaken up by a new feature in Google’s Play Integrity API. As reported by Android Authority, developer tools to push “remediation” dialogs during sideloading debuted at Google’s I/O conference in May, have begun showing up on users’ phones. Sideloaders of apps from the British shop Tesco, fandom app BeyBlade X, and ChatGPT have reported “Get this app from Play” prompts, which cannot be worked around. An Android gaming handheld user encountered a similarly worded prompt from Diablo Immortal on their device three months ago.

Google’s Play Integrity API is how apps have previously blocked access when loaded onto phones that are in some way modified from a stock OS with all Google Play integrations intact. Recently, a popular two-factor authentication app blocked access on rooted phones, including the security-minded GrapheneOS. Apps can call the Play Integrity API and get back an “integrity verdict,” relaying if the phone has a “trustworthy” software environment, has Google Play Protect enabled, and passes other software checks.

Graphene has questioned the veracity of Google’s Integrity API and SafetyNet Attestation systems, recommending instead standard Android hardware attestation. Rahman notes that apps do not have to take an all-or-nothing approach to integrity checking. Rather than block installation entirely, apps could call on the API only during sensitive actions, issuing a warning there. But not having a Play Store connection can also deprive developers of metrics, allow for installation on incompatible devices (and resulting bad reviews), and, of course, open the door to paid app piracy.

  • Riley@lemmy.ml
    link
    fedilink
    English
    arrow-up
    9
    ·
    6 months ago

    If the Play Store becomes required like that then Android’s already-shaky status as an open source base platform is going to go out the window. I’m glad there are non-Google distros of Android but there really needs to be more of a push to make a completely FOSS phone platform.

    • whats_all_this_then@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      The more I think about it, this may finally convince me to…shudders…switch to an iPhone. I’ve always stayed on Android because despite the recent Google bullshit, it still for the most part lets me do whatever. Side-loading apks is a huge part of that.

      If it’s turning into a shittier iOS clone, what’s the point?

    • IllNess@infosec.pub
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      There are Linux phones available. I,m going to guess popularity of those devices to increase soon.

      • Vik@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 months ago

        As much as I want that to be the case, I don’t think full mobile gnu+Linux is really ready to use daily?

        I haven’t exactly been keeping up with things, mind you

        • klymilark@scribe.disroot.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 months ago

          I used it as my daily phone for months, and… well, I’m willing to deal with the problems. Without pretty careful battery management it’s not feasible, and it’s hard to manage your battery given the glitches. I often found my phone dead after a couple hours because it woke the screen immediately after I locked it because… reasons, and then kept it awake until the battery died. The biggest issue aside stuff like that (small issues that cause big problems), the biggest issue was I couldn’t get a map app working. There are some distros with working maps, none for my phone. Also call quality was horrendous. Like. I’m known for being able to tolerate bad quality, but this was, at times, about as bad as I remember my firefly phone being when I was 12, and I could not feasibly understand people at times with that thing.

          But the only reason I stopped using it was because the wifi isn’t working on it. Once I get that back up and running I’ll likely switch back to it. As bad as it can be at times, I still feel more comfortable having that as my primary phone than my Android.

        • timbuck2themoon@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          I sub to a few mobile Linux feeds and I want but don’t at all think mobile Linux is ready, even for tech devotees. Too battery hungry, not enough ease of use, missing functions, etc. And that’s not including lack of apps.

          Sailfish gets closest so far I think. But yes, not ready. Ubuntu touch last time I tried is fine but still a bit out of sorts.

      • Dizzy Devil Ducky@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        Sadly the only people who would switch over to an actual Linux phone would be the people like the stereotypical Linux using Lemmy user. The average android user would just continue on like nothing happened because they’re not tech literate enough to know what’s going on or why they should care.

      • Snot Flickerman@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        That was the hope with Android, too.

        The problem is that as the OS is “free” that means it costs less functionally for the device manufacturer to get an OS on the device, so now they can pour more money into bloatware.

        Android was supposed to stop bloatware but all it did was enable it.

        Even without a forced “store” Linux is prey to the same issue of piecemeal support from various vendors all with in-house solutions that all stink.

        • doctortran@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          At this point, even that would be preferable.

          Your right, any open platform will be bastardized eventually, but that doesn’t mean there isn’t still a need for “resets”.

          There is no perfect platform for escaping it, because the market forces will always adapt and assimilate. The only true escape is to keep moving.

          That’s why it’s important for users to be hermit crabs, and move to the next thing, no matter how janky, because they will at least be able to influence it positively and have a relatively open platform for a number of years. Then the cycle repeats.

          If propping up Linux phones will get us the open platform we need, even if only temporarily, we should do it.

      • XTL@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        6 months ago

        There aren’t, really. There are a few antiques and half baked things.

        A big problem is that these days, unless you’re the size of Apple or Samsung, it’s impossible to get a reasonable hardware soc and modem other than one which only runs a soon obsolete blob laden android which is going to be EOL before you’ve even finished your design.

        The hardware is not there. The firmware/hw data/platform isn’t there even to begin OS work with. And there’s a global shipping, regulation and mobile operator hell waiting on the other side. And a product lifecycle that’s only a few years long.

        Yes, I’ve worked for phone manufacturers.

      • namingthingsiseasy@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        6 months ago

        But part of the appeal of Linux is the fact that you can repurpose existing computers running other OSes to run Linux instead. This is a great way to lower the barrier to entry for Linux, because it’s easy to test it on a Live USB or a dual boot. It’s much harder to do this on phones because they have locked bootloaders.

        Another problem is that phones are not productivity devices - they’re consumption devices. Maybe this is just my personal bias, but I don’t think people will be as passionate about liberating their phones because they’re inherently less useful than computers. Convenient, yes, but useful? Not as much.

        That said, I would love to be proven wrong. I would definitely consider a Linux phone if they become more popular/useful, but I can’t really justify spending hundreds of euros/dollars on something for which I don’t see any particular use.

  • odelik@lemmy.today
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    6 months ago

    This seems like a brilliant feature to roll out as they’re getting investigated by the DOJ for being a monopoly.

    • over_clox@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      Also, didn’t the EU declare that Apple needs to allow other app stores on their devices?

      This seems like a bonehead move all around…

    • halcyoncmdr@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      This has almost nothing to do with Google, it’s a feature that has to be enabled by the app developer. Meaning they want to exclude users getting the APK for their app from elsewhere.

      • Ohmmy@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        6 months ago

        Kinda. It might be 3rd parties using it but it 100% an API designed by Google to keep apps on Google Play.

        • halcyoncmdr@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          For all we know it could have been requested years ago by developers who have apps that get pirated but there was no mechanism in place to implement it at the time, and wasn’t a priority.

          Just because it’s beneficial to Google maintaining more direct control now, that doesn’t necessarily mean that’s the origin.

          • Madis@lemm.ee
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 months ago

            Well, there is a separate system for pirating prevention, the Google Play license check. That has existed for years.

  • heavy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 months ago

    Androids best advantage used to be full control of the device… Those were the days. Then it started with saying they know better than you, then locking you out. Now I’m waiting on a new, better solution.

    Honestly it’s not like native Linux is too far fetched, but there would have to be a big open source common ground device collaboration.

    • EddoWagt@feddit.nl
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      Man I really hate how they stripped your permissions to access the internal and external storage, files can no longer access data from other apps even if you say allow all file access. Also if your phone supports SD cards, you might notice that you don’t have write access to it for some reason on later versions of android. (I really struggled with this with my Galaxy S9 on Lineage), had to use apps that remounted my SD card and what not

  • T156@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 months ago

    What is a “trustworthy software environment”?

    Does that mean that it will get mad and fail you for having Developer options enabled? Having F-Droid installed? Having it plugged into a computer?

    • whats_all_this_then@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      There’s a bank here that refuses to let you log into their app if you have developer options enabled. Their service was getting much better until that point, but I dropped them completely after that.

      I use developer options to get better screen density on my large ass screen, and to you know…develop apps 🤷‍♂️

      FUCK THESE ASSHOLES WHO THINK THEY CAN TELL ME WHAT I CAN AND CAN NOT DO WITH MY PHONE

    • FierySpectre@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      According to the dumbfucks making the government application of Belgium (to read official communication) trustworthy means having developer mode disabled.

  • thisbenzingring@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 months ago

    the google store environment is such a pain, at work we have android based Zebra barcode readers… today when I was sideloading our app one of the devices kept uninstalling it because of google play… what a fucking pain in the ass

    only when intune fully took it over did it stop…

    DONT MAKE ME LIKE INTUNE GOOGLE… JFK

  • subignition@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 months ago

    It’s not like dedicated people aren’t going to be able to just patch out the calls to this API from the apps themselves…

    This feels like yet another attempt at DRM that is doing more harm than help.

  • 0x0@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    So the EU’s been forcing Apple to allow sideloading and Google goes Nah, it’ll be fine?

    • boonhet@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      Google is allowing the app developers to choose (for now?). With Apple, developers never had the option to allow other stores or sideloading.

    • bitfucker@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      Ehh, this is basically just another form of DRM. No different than you having a Steam and GOG model. You can make your apps using DRM and enforce certain constraints

        • TheChargedCreeper864@lemmy.ml
          link
          fedilink
          English
          arrow-up
          0
          ·
          6 months ago

          There already exists a “Google Play licence check” permission apps can use to verify whether or not the app has been bought on a Google account that’s present on the device.

          If people can crack the app to remove this (which is a thing for some of the popular apps), they’ll also figure out how to patch this out. This is strictly useful for free apps, and only serves to make it unviable to distribute verifiably clean apk’s outside of Google Play (so rip APKMirror)

    • hogmomma@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      6 months ago

      …as I upvote you from my Pixel. ☹️ I give the sad face because Google isn’t who they once were and I’m just going to have to deal with that.

  • bad_alloc@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    Just the term “side loading” instantly frames installing software on a device you own as something shady.

    • rottingleaf@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      I’ve had people clueless about tech tell me that:

      using Linux and not buying Windows I rob MS’s developers,

      not doing things the way big corporations want I deprive them of profits and thus rob their workers,

      using your own device the way you want it is a crime if you have to bypass what the vendor does,

      GPL and BSD licenses are not real sovereign citizen stuff, and if I’m not paying someone for software, I’m robbing the working class,

      repairing things yourself in your house is robbing people working in those trades,

      reading things in the Web is robbing university professors and book store workers and publishers,

      having to learn a particular technology while doing my task at work means I’m a fraud and rob my employer or our clients, because apparently I have to keep all the today’s tech in my head before needing any of it,

      if I don’t know some single thing another person knows, they are obviously better qualified than me (say, that other person can write Windows device drivers, while the job is about systems integration),

      and I don’t remember more stupid shit from those people and I don’t want to, but generally being not a dumb ape in today’s world is considered suspicious apparently.

      After that wonderful experience I might be silent about my views with people usually, but really I’ll never stop being anarchist (whatever kind of anarchism that is).

      • bad_alloc@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        Out of curiosity, where and in which social groups did you hear this? I have never heard such thoughts here in Germany, and we tend to be idiots.

        Keep fighting the good fight, we have to keep the lights on in free soft- and hardware to provide a harbor for people who want to escape this shit.

    • SlothMama@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      Yes, that’s the implication, and it’s certainly intentional for you to think of it like that.

      • doctortran@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        6 months ago

        The fact that an entire generation thinks the only proper way to install software is through an app store is absolutely terrible. Talk about a boon for the gatekeepers, Apple and Google did a bang up job training them to trust no one else.

  • cm0002@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    which cannot be worked around.

    Well, at least not without root lol

    Root detecting apps to Side loading detecting apps:

    First time?

    • Peruvian_Skies@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      6 months ago

      One reason would be that with an iPhone, you’re paying two to five times the price of an Android phone with comparable hardware.

  • hypertown@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    Good that most apps I use now are open source but for those few that I still get from Aurora Store it might be a death sentence but perhaps this API could be spoofed?

    • lud@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      Nah, I doubt it. The app developers are freely adding this themselves.