Debloat an Android TV over ADB and install a clean launcher

Gathin23 had Claude Code connect to a Google TV over ADB, disable the ad-laden stock apps and build and install a minimal tvOS-style home screen in an afternoon.

Done withClaude Code· Oct 17, 2026 · 10 accounts

What they did

Gathin23 was tired of sponsored tiles on their Android TV home screen. With USB debugging switched on in the TV's developer options, they gave Claude Code a prompt that has it talk to the set over network ADB, back up the package list, ask the owner which apps they actually use, disable the rest, then build a small native launcher with a four-app dock and install it on the TV. The agent checked each step by pulling screenshots from the TV. Because the stock adb binary was blocked on their Mac, the project ended up with a small Python ADB client and a chunked uploader for APKs. They published the prompt, the launcher, the tools and a per-model debloat list as an MIT repo.

How it went

Gathin23 built it in an afternoon on a Xiaomi Mi TV 4A. Traps included chained pm commands stopping after the first and the on-screen keyboard vanishing after the launcher swap. Ansub Khan published a similar repo the next day, tested on Android TV 9 to Google TV 14 emulators. Sanjay Utchula's 1 GB Mi TV Stick: 22 of about 90 packages disabled, about 80 MB of memory back. mihirgupta0900's 2 GB TCL: home screen memory down from 192 MB to 83 MB. Viet Hoang Le's Fire TV Stick 4K: 27 Amazon packages off, but free memory ended below stock. Jeeva Uvaraju used Google Antigravity on a OnePlus TV: 34 packages off and a 509 KiB launcher. Masuk Helal Anik had it diagnose a slow Walton TV first: it traced sound dropouts to a crashing sideloaded app, removed nine apps the owner approved, freed 2.5 GB and wrote a launcher using 54 MB instead of 134 MB.

Worth knowing

Packages are disabled, not uninstalled, and a restore script brings the stock launcher back, so it can be undone. Disable the stock launcher only after the new one is installed, or the Home button lands on a factory test app. Building the launcher needs JDK 17 and the Android SDK. It does not work on Samsung Tizen, LG webOS or Vega OS Fire TVs; older Fire OS sticks work but need an extra launcher manager app, and disabling the Amazon tutorial package breaks its pairing popup. Utchula found Xiaomi's update service quietly reinstalled a removed app, and turning it off also pauses system updates. On Google TV the setup app also claims the Home button and has to be disabled too.

Try it

With Claude Code· 3 parts to fill in

Connect to my Android TV, a [TV model], at [TV IP address] over ADB (USB debugging is on; tell me when to accept the prompt on screen). First save a full list of installed packages and the current launcher so everything can be restored. Then show me the preinstalled apps grouped as ads, bloat and needed, and ask which ones I use and which [number] go in the dock. Disable, never uninstall, only the ones I approve, one command per call. Build and install a minimal launcher with my dock, and only after it works disable the stock one. Take a screenshot from the TV after each step and stop if anything looks wrong.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related