Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
AXSO0 list additions (#93) and a README restore section plus honest safety answer (#94)
Gathin234cd5e0b616a9
diff --git a/README.md b/README.mdindex e225b998a..44a986e29 100644--- a/README.md+++ b/README.md@@ -29,6 +29,7 @@ this repo came from.- [Supported TVs](#supported-tvs)- [Doing it by hand](#doing-it-by-hand)- [The launcher](#the-launcher)+- [Restoring your TV](#restoring-your-tv)- [Troubleshooting](#troubleshooting)- [Questions people ask](#questions-people-ask)- [Contributing](#contributing)@@ -126,7 +127,7 @@ Lists that people have tested and contributed live in [`examples/`](examples/):| Xiaomi Mi TV (MiTV-MOOQ0, croods) | Android TV 10 || Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 || Xiaomi MiTV-AESP0 stick (aquaman, 1 GB) | Android TV 9 |-| Xiaomi MiTV-AXSO0 (dangal) | Android TV 9 |+| Xiaomi MiTV-AXSO0 (dangal; Mi TV 4C Pro 2019 / 4A Pro) | Android TV 9 || Xiaomi MiTV-MOOR2 (venom, MediaTek) | Google TV 11 || Xiaomi TV A Pro 75" 2026 (MiTV-MZTU0, river, MediaTek) | Google TV 14 |@@ -234,6 +235,23 @@ appears at the end of the grid, opening Android's own home-screen picker so youlaunchers from the sofa. Most Android TV firmware has no such page, and then the tile stayshidden. The stock launcher has to be enabled before it can be picked, see the restore instructions.+## Restoring your TV++Keep the list you applied: the restore script re-enables exactly those packages, then re-enables and+re-selects the stock launcher, and resets the three animation scales.++```bash+TV_HOST=192.168.1.50 tools/restore.sh examples/<your tv>/debloat.txt # Android TV+TV_HOST=192.168.1.50 tools/restore.sh examples/<your tv>/debloat.txt com.google.android.apps.tv.launcherx # Google TV+```++The second argument is the stock launcher package; it defaults to Google's `tvlauncher`, so pass+`launcherx` on Google TV (on Windows: `-Stock`). What restore does not do: it leaves the new launcher+installed (uninstall it from the TV's settings if you want it gone), it does not know about packages+you disabled outside the list, and it does not undo the optional accessibility services or a changed+screensaver. Those are one `settings` command each, see Troubleshooting. If the TV is unreachable,+the TV's own Settings → Apps page can re-enable apps too.+## TroubleshootingThings that bit us or contributors, so they don't bite you.@@ -296,10 +314,14 @@ Things that bit us or contributors, so they don't bite you.## Questions people ask**Is this safe? Can it brick the TV?**-No. Nothing is flashed, rooted or deleted. Packages are disabled for the user profile, which-lives in the data partition, not in the system image. The firmware is untouched. If something-goes wrong, `tools/restore.sh` puts everything back, and even without the tools you can re-enable-apps from the TV's own settings.+Nothing is flashed, rooted or deleted, so the firmware itself is never at risk: packages are+disabled for the user profile, which lives in the data partition. What can go wrong is disabling+something the TV leans on. One Hisense booted to Android Recovery until "Try again" was pressed,+and on Google TV disabling the stock launcher without the setup wizard sent Home into a crash+loop (both are in Troubleshooting, with the way out). So: apply a list in small batches, keep+the backup folder the assistant makes, and have `tools/restore.sh` ready. Even without the tools,+the TV's own Settings → Apps page can re-enable packages, and a factory reset is the last resort,+not the first.**What about firmware updates?**Most lists disable the manufacturer's update service, so updates only arrive when you re-enablediff --git a/examples/README.md b/examples/README.mdindex 1bb401267..7c1a95513 100644--- a/examples/README.md+++ b/examples/README.md@@ -23,7 +23,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `xiaomi-mitv-mooq0/` | Xiaomi Mi TV (MiTV-MOOQ0, croods) | Android TV 10 | PatchWall, Mi analytics, MiChannel, TV Manager, Alexa bridge; factory test app also claims HOME || `xiaomi-mi-tv-4a/` | Xiaomi Mi TV 4A (MiTV-MOOQ1) | Android TV 10 | PatchWall, Mi analytics, SmartShare, MiLink || `xiaomi-mitv-aesp0/` | Xiaomi MiTV-AESP0 stick (aquaman, 1 GB) | Android TV 9 | No inputs; Home key sends ALL_APPS, needs `HOME_KEY_SERVICE=1`; Chromecast kept |-| `xiaomi-mitv-axso0/` | Xiaomi MiTV-AXSO0 (dangal) | Android TV 9 | PatchWall, Mi analytics, MiLink; voice, Chromecast, unused streaming apps off by choice |+| `xiaomi-mitv-axso0/` | Xiaomi MiTV-AXSO0 (dangal; Mi TV 4C Pro 2019 / 4A Pro) | Android TV 9 | PatchWall, Glance ads, Mi TV+, Sensara, Mi analytics, MiLink; voice, Chromecast, unused streaming apps off by choice || `xiaomi-mitv-moor2/` | Xiaomi MiTV-MOOR2 (venom, MediaTek) | Google TV 11 | Mi ad row and PatchWall, Mi analytics, MiLink, store demo; setup wizard off so a third-party launcher can own Home || `xiaomi-tv-a-pro-2026/` | Xiaomi TV A Pro 75" 2026 (MiTV-MZTU0, river, MediaTek) | Google TV 14 | PatchWall/Mi Home tab, Mi analytics, TV Manager, updaters; setup wizard off, launcherx crash-loop notes |diff --git a/examples/xiaomi-mitv-axso0/debloat.txt b/examples/xiaomi-mitv-axso0/debloat.txtindex e9ce14486..13f1ba462 100644--- a/examples/xiaomi-mitv-axso0/debloat.txt+++ b/examples/xiaomi-mitv-axso0/debloat.txt@@ -1,4 +1,5 @@-# Xiaomi MiTV-AXSO0 (codename dangal), Android TV 9 (SDK 28), firmware PI.6036, Amlogic/droidlogic.+# Xiaomi MiTV-AXSO0 (codename dangal; sold as Mi TV 4C Pro 2019 and Mi TV 4A Pro), Android TV 9 (SDK 28),+# firmware PI.6036, Amlogic/droidlogic.# Live TV app: com.android.tv (set it as live_tv_package and hide it in launcher config.xml).# Stock launcher: com.google.android.tvlauncher (the default, disabled by build-and-install.sh).#@@ -10,6 +11,7 @@# - Default IME is already Gboard, so the Mi TV 4A missing-keyboard quirk doesn't apply.# - `svc power reboot` gets killed; reboot through adb's own reboot service instead.# - com.google.android.leanbacklauncher is re-enabled by the firmware at every boot, so it's not listed.+# - Glance (com.glance.tv) puts news and ads on the lock/standby screen; with it off the screensaver is clean.# - Netflix, Prime Video and YouTube are preinstalled system apps, so they always get BOOT_COMPLETED.# Other apps stay out of the boot-time rush after `am force-stop`, until someone opens them again.@@ -26,11 +28,15 @@ com.xiaomi.floatingframecom.google.android.tvrecommendationscom.google.android.leanbacklauncher.recommendationsandroid.autoinstalls.config.xioami.dangal # Play auto-install of partner apps (sic, "xioami")+com.glance.tv # Glance lock-screen news and ads+com.mitv.tvhome.mitvplus # Mi TV+ sponsored live channels+co.sensara.tv.mitv # Sensara partner TV guide (sponsored show recommendations)# Xiaomi background servicescom.xiaomi.mitv.tvmanager # "TV Manager" cleanercom.xiaomi.mitv.handbookcom.xiaomi.mitv.updateservice # firmware updates: re-enable to check for one+com.xiaomo.tv.milegal # static legal / privacy text screens# Personal choice: voice assistant (the mic button stops working)com.google.android.katniss