Field note / SM-M215F

The phone that found eight bugs

Every one of them was found by running against real hardware. None by anyone reading the code.

Samsung Galaxy M21 · Android 12 · draft

← All stories


Draft. The facts below come from the measured M21 run; the prose is a starting point for you to rewrite in your own voice.

A Samsung Galaxy M21, bought in India with the full retail load, running Android 12 on 3.5 GB of RAM. Not a test device — a phone somebody uses every day. That distinction turned out to be the whole point.

What the run did

Seventy-one packages disabled. Zero failures. Around 110 MB of memory handed back. Packages went from 369 installed with 1 disabled, to 371 with 71 — the two extra installs being a launcher and a gallery.

Those are the numbers that look good on a landing page. They are not the interesting part.

The interesting part

The phone found eight bugs in the tool. Not one of them came from reading the source.

A note is not a guard. com.samsung.android.networkstack carried a comment reading “Wi-Fi and mobile data. Never.” — and was allowed through anyway, because prose in a data file does not stop anything. Network stacks are now protected by prefix.

A role that existed in the data but not in the list. banking_upi was present as a role, but missing from the protected-role list, so the profile cheerfully planned to disable PhonePe. On an Indian phone that is a live UPI app. You would have discovered this at a shop counter.

A capital letter. Android 12 writes UID u0a119: with a capital UID. A case-sensitive regex silently dropped every mAh figure while continuing to report batterystats as a working source — the worst kind of failure, the one that still says it succeeded.

Wake-lock names are not package names. IpReachabilityMonitor.wlan0 was being reported as an app, because a package regex matches more than packages.

The guard protecting the wrong thing. Role holders were resolved from a preference-ordered list, so after a new launcher was installed the guard still named the stock launcher “current” — protecting the one package most wanted gone.

A timeout that looked like a hang. The install timeout was 300 seconds. A 17 MB APK on this phone’s flash takes minutes.

releases/latest excludes pre-releases. Lawnchair only tags betas, so the catalogue fetched version 1.2 from 2020 and pm install hung on it.

A thing the project had wrongly ruled out. cmd package set-home-activity works. The project had claimed Android forbids setting Home over ADB — which, on One UI, does not even offer a chooser.

What broke

Nothing. Checked after each step: the phone booted, Home opened the new launcher, and dialer, messages, keyboard, Play Store, Play Services and PhonePe were all still enabled.

Two things are gone and might be missed — FM Radio, which works without mobile data and needs wired headphones as an aerial, and YouTube, whose website works in any browser. Both are one Undo away.

The honest caveats

The elder and developer profiles were reviewed but never applied on this device. The run was over USB; wireless pairing was not tested here. And the battery report ran with all five sources reporting, but the phone had recently been charged, so the ranking was dominated by alarm and job counts rather than milliamp-hours.

A project that only publishes its wins is not telling you much.

Read next

Setting up a phone for someone who only wants a telephone →

Elder mode keeps twelve roles and turns off everything else. The hard part is agreeing what twelve.