Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

examples: add Xiaomi MiTV-AXFR2 (watchmen), Google TV 14

Ramesh Durai8003efcf6321
diff --git a/examples/xiaomi-mitv-axfr2/debloat.txt b/examples/xiaomi-mitv-axfr2/debloat.txt
new file mode 100644
index 000000000..99c77496a
--- /dev/null
+++ b/examples/xiaomi-mitv-axfr2/debloat.txt
@@ -0,0 +1,67 @@
+# Xiaomi MiTV-AXFR2 (codename watchmen, product watchmen; MediaTek/droidlogic, 1 GB RAM, India), Google TV 14 (SDK 34),
+# firmware UKG3.250107.001.
+# Same firmware family as xiaomi-mitv-axfr0 / axfr1.
+# Live TV app: com.mitv.livetv (also inputs via mitv.service).
+# Stock launcher: com.google.android.apps.tv.launcherx.
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/xiaomi-mitv-axfr2/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/xiaomi-mitv-axfr2/debloat.txt com.google.android.apps.tv.launcherx
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Notes from this firmware:
+# - USB debugging alone opens port 5555; no wireless-debugging pairing needed.
+# - Sideloading works (pm install over the shell), and third-party HOME app is accepted.
+# - setupwraith does not own the saved Wi-Fi network (cname is system uid 1000).
+# - Disabling com.google.android.apps.tv.launcherx and setupwraith hands HOME to com.gathin.tvhome.
+# - PatchWall (com.mitv.tvhome.atv) and related OEM tabs are safe to disable.
+# - The remote's YouTube button sends 190 (KEYCODE_BUTTON_3) which routes to launcherx;
+# mapped in config.xml as 190:com.google.android.youtube.tv.
+# - PatchWall button sends 192 (KEYCODE_BUTTON_5).
+
+# Xiaomi + Google telemetry
+com.miui.tv.analytics
+com.xiaomi.statistic
+
+# PatchWall, content rows, sponsored rows
+com.mitv.tvhome.atv
+com.xm.webcontent
+com.mitv.tvhome.michannel
+com.mitv.tvhome.oemtab
+com.mitv.tvhome.mitvplus
+android.autoinstalls.config.xioami.dangal
+
+# Xiaomi background services
+com.xiaomi.mitv.tvmanager
+com.xiaomo.tv.milegal
+com.mitv.toolhouse
+com.mitv.overseaservice
+
+# Screen mirroring (kept per user preference; uncomment to disable)
+# com.xiaomi.mitv.smartshare
+# com.xiaomi.wfdsinkhelperservice
+
+# Voice assistant and Chromecast (kept per user preference; uncomment to disable)
+# com.google.android.katniss
+# com.google.android.apps.mediashell
+
+# Firmware updates (kept per user preference; uncomment to disable)
+# com.xiaomi.mitv.updateservice
+
+# Preloaded / unused apps
+com.xiaomi.mimusic2
+com.google.android.videos
+com.google.android.youtube.tvkids
+com.google.android.youtube.tvmusic
+
+# Preloaded streaming apps (disabled per user preference)
+com.netflix.ninja
+com.netflix.tokenmanager
+com.amazon.amazonvideo.livingroom
+in.startv.hotstar
+com.sonyliv
+com.graymatrix.did
+com.esaba.downloader
+
+# Setup wizard and stock launcher (disabled to make com.gathin.tvhome default Home)
+com.google.android.tungsten.setupwraith
+com.google.android.apps.tv.launcherx
diff --git a/examples/xiaomi-mitv-axfr2/tv.json b/examples/xiaomi-mitv-axfr2/tv.json
new file mode 100644
index 000000000..2fc33f9e8
--- /dev/null
+++ b/examples/xiaomi-mitv-axfr2/tv.json
@@ -0,0 +1,6 @@
+{
+ "tv": "Xiaomi MiTV-AXFR2 (watchmen, MediaTek, 1 GB), India",
+ "os": "Google TV 14",
+ "brand": "Xiaomi",
+ "notes": "PatchWall, Mi analytics, sponsored rows, partner auto-installs, TV Manager; screen mirroring and preloaded streaming apps off by choice; stock launcher launcherx disabled in favor of com.gathin.tvhome; inputs via mitv.service; setupwraith does not own saved Wi-Fi"
+}