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
examples: add Xiaomi Mi Box 3 (MIBOX3, once), Android TV 9
Ferkof2ac48553c66
diff --git a/README.md b/README.mdindex 839616a32..fc24c5e07 100644--- a/README.md+++ b/README.md@@ -336,6 +336,7 @@ Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, JMGO, Portronics, Stellamore, Wa| XGIMI Horizon S Pro projector (XK03H, xgimigalileo, MediaTek) | Android TV 11 || XGIMI MoGo 2 projector (MoGo, xgimiapollo, pokemon) | Android TV 11 || XGIMI MoGo 3 Pro projector (G0035, altai, MediaTek) | Google TV 14 |+| Xiaomi Mi Box 3 (MIBOX3, once), streaming box | Android TV 9 || Xiaomi Mi Box S (MIBOX4, oneday), streaming box | Android TV 9 || Xiaomi Mi Box S 2nd gen (MiTV-AFKR0, jaws), streaming box | Google TV 11 || Xiaomi Mi TV (MiTV-MOOQ0, croods) | Android TV 10 |diff --git a/examples/README.md b/examples/README.mdindex 63e3542b5..c7406e207 100644--- a/examples/README.md+++ b/examples/README.md@@ -220,6 +220,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `xgimi-horizon-s-pro/` | XGIMI Horizon S Pro projector (XK03H, xgimigalileo, MediaTek) | Android TV 11 | First projector: keystone/autofocus/HDMI player kept, factory and burn-in tools, bug-report uploader, Google preloads; HDMI needs `input_action`; voice, Chromecast off by choice || `xgimi-mogo-3-pro/` | XGIMI MoGo 3 Pro projector (G0035, altai, MediaTek) | Google TV 14 | Factory and burn-in tools, bug-report uploader, Google feedback, setupwraith, Ambient screensaver, Google preloads; keystone/autofocus/HDMI/MagiCast mirroring kept; XGIMI's remote keys re-enable the stock launcher, so it needs `app_keys` and `stock_home_redirect` (header) || `xgimi-mogo-2/` | XGIMI MoGo 2 projector (MoGo, xgimiapollo, pokemon) | Android TV 11 | Short list: XGIMI usage reporter and bug-report uploader, Google feedback, TED, XGIMI music; Chromecast, Smart Connect and the firmware updater off by choice; hardware services and voice kept; Netflix's TV app refuses this model (the regular Android app runs); about a day of use, rebooted twice |+| `xiaomi-mi-box-3/` | Xiaomi Mi Box 3 (MIBOX3, once), streaming box | Android TV 9 | PatchWall, Mi analytics, Alphonso ad tracking, MiLink; voice and phone remote off by choice, Chromecast and updater kept; Ambient re-enabled at boot || `xiaomi-mi-box-s/` | Xiaomi Mi Box S (MIBOX4, oneday), streaming box | Android TV 9 | PatchWall, Mi analytics, Alphonso ad tracking, MiLink; voice, casting, phone remote off by choice; second unit: Apps button opens Home with HomeKeyService; [notes](../docs/devices/xiaomi-mi-box-s.md) || `xiaomi-mi-box-s-2nd-gen/` | Xiaomi Mi Box S 2nd gen (MiTV-AFKR0, jaws), streaming box | Google TV 11 | Mi ad row and PatchWall, Mi analytics, partner auto-installs, update service off by choice; setup wizard off for the launcher, Wi-Fi password re-entry note || `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; notes from #81 |diff --git a/examples/xiaomi-mi-box-3/debloat.txt b/examples/xiaomi-mi-box-3/debloat.txtnew file mode 100644index 000000000..cbc982d1f--- /dev/null+++ b/examples/xiaomi-mi-box-3/debloat.txt@@ -0,0 +1,62 @@+# Xiaomi Mi Box 3 (model MIBOX3, codename once, Amlogic), Android TV 9 (SDK 28), firmware PI.3934, 2 GB RAM,+# 1920x1080. Streaming box, no HDMI-in or tuner.+#+# Apply: TV_HOST=<box ip> tools/disable.sh examples/xiaomi-mi-box-3/debloat.txt+# Undo: TV_HOST=<box ip> tools/restore.sh examples/xiaomi-mi-box-3/debloat.txt+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Set live_tv_package empty in config.xml (nothing to switch to). Stock launcher: com.google.android.tvlauncher+# (the scripts' default).+#+# Notes from this box:+# - Kept: com.google.android.apps.mediashell (Chromecast), com.xiaomi.mitv.updateservice and its download helper+# com.mitv.download.service (firmware updates), com.google.android.tungsten.setupwraith (it owned one of the+# saved Wi-Fi networks), com.xiaomi.android.tvsetup.partnercustomizer, mitv.service, com.droidlogic*.+# - USB debugging alone opens network ADB on port 5555 (service.adb.tcp.port=5555).+# - cmd package set-home-activity needs the component on Android 9 (com.gathin.tvhome/.MainActivity), and+# dumpsys activity activities shows mResumedActivity, not mFocusedApp.+# - Re-enabled at every boot: com.google.android.backdrop (Ambient screensaver). Harmless once the screensaver+# points at the launcher's clock, so it is commented out below:+# tools/tv.py 'settings put secure screensaver_components com.gathin.tvhome/.ClockDream'+# (stock value here: com.android.dreams.basic/com.android.dreams.basic.Colors)+# - Remote: Home and Back work with the new launcher without any key service.+# - Everything else stayed disabled after a reboot, and the launcher stayed Home.++# Xiaomi + Google telemetry and ad tracking+com.miui.tv.analytics+tv.alphonso.alphonso_eula+com.google.android.feedback+com.google.android.tv.bugreportsender++# PatchWall, content rows, promos, auto-installs+com.mitv.tvhome.atv+com.mitv.tvhome.michannel+com.xm.webcontent+com.google.android.tvrecommendations+android.autoinstalls.config.xioami.mibox3++# Personal choice: voice assistant (the mic button stops working)+com.google.android.katniss+com.google.android.speech.pumpkin++# Personal choice: Mi cast and the phone remote (Chromecast kept)+com.mitv.milinkservice+com.mitv.videoplayer+com.google.android.tv.remote.service++# Preloaded apps (personal choice)+com.amazon.amazonvideo.livingroom+com.netflix.ninja+com.google.android.youtube.tvmusic+com.google.android.youtube.tvkids+com.google.android.videos+com.google.android.play.games+com.google.android.tv # Live Channels+com.google.android.marvin.talkback+com.android.printspooler++# Ambient screensaver: re-enabled by the firmware at boot, see header+# com.google.android.backdrop++# Stock launcher, replaced by launcher/ (build-and-install.sh disables it)+com.google.android.tvlauncher