Android applications can now block being sideloaded

It seems Google is hell-bent on removing anything from Android that makes the platform stand apart from iOS. One of the features of Android and the Play Store that users of rooted and/or de-Googled phones will be familiar with is SafetyNet Attestation, something that Android applications can use to check, among other things, if the device it’s running on is rooted or not, and take any action from there based on that information. Notoriously, some banking applications on Android will refuse to work on rooted and/or de-Googled devices because of this.

Earlier this year, at Google I/O, the company unveiled the successor of SafetyNet Attestation, called the Google Play Integrity API, and it comes with a whole lot more functionality for developers to control what their application can do on devices based on the status of the device and the application binary in question. Play Integrity will let the developer’s application know if its binary has been tampered with, if Google Play Protect is enabled, if the Android device it’s running on is “genuine”, and a whole lot more.

Based on that information, the application could decide to warn users when they’re about to do something sensitive that their device is rooted, or it could just throw up its hands entirely and refuse to function at all – and there’s really not much the user can do about this. A new capability of the Play Integrity API is that developers can now also determine where it came from – i.e., if it was sideloaded or installed through a non-Play application store – and then throw up a dialog allowing the user to switch to the version from the Play Store instead. Doing so will delete the original binary and all its data, and replace it with the Play Store version.

The problem here is that the only other option is to cancel, and not have the application load at all.

As you can see, the remediation dialog tells you to “get this app from Play” in order to continue using it. There’s an option to close the dialog, but there’s no way to bypass it entirely. If you close the dialog, a response is sent to the app that lets the developer know so they can decide whether to continue blocking access.

↫ Mishaal Rahman at Android Authority

Several applications appear to already be using this new capability, and while it won’t mean much for people running Google’s, Samsung’s, or any other “blessed by Google” version of Android on unrooted devices, people running, say, /e/OS, GrapheneOS, LineageOS, or any other de-Googled and/or rooted device is going to be having a very bad time if more and more applications adopt this capability. If you’re running a device without Play Services, relying solely on the vast and varied library of applications from F-Droid, for instance, while also sideloading a few applications only available in the Play Store, you could very well be running into problems.

We’ll have to see just how widespread this capability becomes, but I can already foresee this becoming yet another major headache for anyone trying to use a smartphone that isn’t from blessed by Apple or Google. Personally, I’m lucky in that Swedish banking and ID applications worked on de-Googled Android phones, but with the expanding reach of the Play Integrity API, as well as possible “let’s enable this by default” shenanigans by Google, I’m definitely worried about this remaining so in the future.

41 Comments

  1. 2024-09-11 7:06 pm
  2. 2024-09-11 7:25 pm
    • 2024-09-11 8:13 pm
      • 2024-09-12 9:30 am
        • 2024-09-12 2:17 pm
          • 2024-09-12 2:43 pm
  3. 2024-09-11 8:43 pm
  4. 2024-09-12 4:58 am
  5. 2024-09-12 5:57 am
    • 2024-09-12 9:49 am
  6. 2024-09-12 6:20 am
  7. 2024-09-12 6:28 am
  8. 2024-09-12 9:00 am
  9. 2024-09-12 10:28 am
    • 2024-09-12 12:15 pm
    • 2024-09-12 1:40 pm
      • 2024-09-13 10:34 am
        • 2024-09-13 2:05 pm
          • 2024-09-13 4:52 pm
          • 2024-09-13 8:35 pm
        • 2024-09-13 7:18 pm
    • 2024-09-13 8:32 am
      • 2024-09-13 9:28 am
        • 2024-09-13 10:20 am
          • 2024-09-13 12:54 pm
      • 2024-09-13 10:31 am
        • 2024-09-13 3:15 pm
          • 2024-09-13 4:54 pm
  10. 2024-09-12 12:30 pm
    • 2024-09-13 3:18 pm
  11. 2024-09-12 5:30 pm
    • 2024-09-12 7:29 pm
    • 2024-09-13 3:50 pm
  12. 2024-09-14 4:30 am
    • 2024-09-14 1:53 pm
      • 2024-09-14 6:31 pm
        • 2024-09-14 7:48 pm
          • 2024-09-15 7:20 am
          • 2024-09-15 3:24 pm
          • 2024-09-15 7:48 pm
          • 2024-09-15 10:23 pm

Leave a Reply