Run, Android, run

· PM-mirror


I think anything that puts restrictions on people who do nothing wrong, commit no crimes and only want to protect their privacy is garbage. Companies should be busy finding criminals, and Google has decided to start by asking everyone else for their papers.

What follows is what changed on Android this year, how I turned on the way around it, and where to go if you'd rather not depend on that way staying open.

What changed #

Google calls it Android developer verification. Every developer whose app gets installed on a certified Android device has to register with Google, including developers who never touch the Play Store. Registering means creating an account in the Android Developer Console, proving who you are with a government ID, paying a one-time fee of $25 and registering each app's package name and signing keys.

There's a free tier for students and hobbyists, called limited distribution. It needs no ID and no fee, but an app shared that way can only go to 50 specific devices.1

The rollout comes in waves:

It covers certified devices on Android 8 or newer, and it arrives through Google Play services. You don't need a system update to get it, and staying on an old version won't keep you out of it.2

Google's reason is fraud. Scammers call people, talk them into installing a fake banking app and empty their accounts, and verification lets Google tie every app to a real person. The Keep Android Open campaign, backed by F-Droid, the EFF, the FSF, the Tor Project, Proton, LineageOS, GrapheneOS and dozens of others, answers that this gives one company the final say over what runs on a phone it didn't sell you. F-Droid called it an existential threat.3

The Advanced Flow #

For people who want to keep installing whatever they choose, Google added what it calls the Advanced Flow. I've turned it on, and this is how it goes.

It's a one-time setup. First, the Developer options have to be visible. On my Samsung that means Settings, About phone, Software information, then tapping Build number seven times. After that:

digraph flow { graph [rankdir=TB, fontname="Helvetica", margin="0.4,0.12", nodesep=0.3, ranksep=0.35]; node [shape=box, style="rounded", fontname="Helvetica", fontsize=11, margin="0.4,0.12"]; edge [fontname="Helvetica", fontsize=10]; a [label="Developer options on"]; b [label="Allow apps from unverified developers"]; c [label="Confirm nobody is coaching you"]; d [label="Restart and unlock again"]; e [label="Wait 24 hours"]; f [label="Confirm with fingerprint, face or PIN"]; g [label="Choose: 7 days or indefinitely"]; h [label="Install anyway, app by app"]; a -> b -> c -> d -> e -> f -> g -> h; }

  1. Find the switch. It lives in Settings, System, Developer options, and it's called "Allow apps from unverified developers".
  2. Say nobody is pushing you. A screen asks whether someone is telling you to do this. It's aimed at the person on the phone with a fake bank clerk.
  3. Restart and unlock. The restart drops any remote-access session or call a scammer might be using.
  4. Wait a day. There's a 24-hour delay before the change can be confirmed. It happens once, during setup, and not on every install.
  5. Prove it's you. After the wait, the phone asks for your fingerprint, face or PIN.
  6. Pick how long. The permission lasts seven days or stays on indefinitely.
  7. Install. Every app from an unregistered developer still shows a warning, with a button that says "Install anyway".

The waiting day is the part people complain about most. Google says it's there to break the urgency scams depend on, since nobody keeps a victim on the line for 24 hours. For someone who knows what they're doing, it's one slow day and then the phone behaves like it did before, minus one extra tap per install.

adb walks right past it #

The verification FAQ says it plainly: apps installed through adb don't need verification, and the Advanced Flow wait doesn't apply to them either. If you already have a computer and a cable, nothing changes.

$ adb devices List of devices attached R5CY1234ABC device $ adb install app-release.apk Performing Streamed Install Success

Since Android 11 this works over Wi-Fi too, after pairing once with the code shown under Wireless debugging:

$ adb pair 192.168.0.50:37115 Enter pairing code: 482913 Successfully paired to 192.168.0.50:37115 $ adb connect 192.168.0.50:41845 connected to 192.168.0.50:41845

It's the same adb I used to clean up my Galaxy, and it doesn't care about any of this.

Apps you build yourself are fine too. Compile, install over adb, and Google never hears about it. If you want to hand your app to friends, the free limited distribution account covers up to 50 phones.

Stores outside Google #

I use every route I can, and with the Advanced Flow on, they all keep working, with the warning on each install. The two most common ones:

The open question is what happens to F-Droid when the global rollout reaches all sources. Most of its apps carry F-Droid's signature, not the developer's, so there's no single person behind each one for Google to verify.

Phones outside the fence #

The checks only run on certified devices, the ones that ship with Google's apps and pass Google's tests. A phone running a system Google never certified doesn't run them at all.

The usual catch applies. Some banking apps and a few games check whether the phone is certified and refuse to run otherwise.

Leaving Android altogether #

If the problem is the landlord, you can also move out. Linux on phones has been slow and rough for years, and it's still not as polished as Android, but there are more choices now than ever.

A PinePhone Pro standing in a wooden holder outdoors, showing the Plasma Mobile home screen with a dark nature wallpaper and icons for Phone, Spacebar and Angelfish at the bottom.

A Librem 5 phone on a desk connected to a monitor, a keyboard, a mouse and headphones, with the monitor showing a full GNOME desktop with photo windows open.

For the apps you can't live without, Waydroid runs a full Android system inside a container on Linux, on phones and on desktops.

Where I stand #

The Advanced Flow is on and adb is one cable away. I'd rather not count on Google keeping that door open forever, so it's worth knowing where the other ones are.

  1. The limit started at 20 devices and went up to 50 in November. Some of Google's own pages still say 20.

  2. The checks don't run on certified devices that are physically in countries under comprehensive sanctions. Google exempted them.

  3. F-Droid builds most apps in its catalog itself and signs them with its own key, so the developer-by-developer model doesn't fit how it works.

  4. Droidian uses Halium, a layer that lets regular Linux talk to the Android drivers a phone already has, instead of waiting for open drivers to be written.