Skip to content

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

Merge PR #377: Launcher: support an opt-in application ID for Xiaomi Home allowlists

Gathin238004473fc464
diff --cc docs/TROUBLESHOOTING.md
index 9c50fbe8d,8136b8ec7..6341fb2c5
--- a/docs/TROUBLESHOOTING.md
+++ b/docs/TROUBLESHOOTING.md
@@@ -61,10 -57,12 +61,16 @@@ Things that bit us or contributors, so
`Success` while HOME still resolves to the stock launcher (priority 2) until that one is disabled.
And check which packages actually handle HOME before disabling anything by name: on the Sony
above, `com.google.android.leanbacklauncher` has a boot receiver but no HOME activity.
+ `tools/disable.sh` now does that check itself: when the list holds the app that owns Home and
+ nothing else on the TV answers HOME, it skips that entry and says so (`FORCE_HOME=1` overrides),
+ so applying a list before the handover no longer leaves the TV without a launcher. Apply the list
+ again after the install script has made the new launcher Home to disable the old one.
+ - **China-market Xiaomi rejects a default Home despite `set-home-activity` reporting success**,
+ verified on MiTV-AETP0 (dofus), Android 9, firmware 22.9.2.851: the framework filters third-party
+ HOME candidates by a package-name allowlist. Disabling the stock launcher then selects
+ `FallbackHome`. An opt-in application-ID build worked with the stock launcher still enabled;
+ see the [device notes and rollback steps](devices/xiaomi-mitv-aetp0-dofus.md). This is different
+ from a missing default-home picker or a remote that emits ALL_APPS.
- **The new launcher still doesn't own Home** after the stock one is disabled, seen on Google TV
(Xiaomi MiTV-MOOR2). Another system app answers HOME: `com.google.android.tungsten.setupwraith`,
with `.MainActivity` at intent-filter priority 4 and `.RecoveryActivity` at priority 1. You