Skip to content

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

examples: keep this PR to the Horizon Pro unit; the H1 device note moves to its own PR

maksii6e0268966750
diff --git a/docs/devices/xgimi-h1.md b/docs/devices/xgimi-h1.md
deleted file mode 100644
index 53a1dec67..000000000
--- a/docs/devices/xgimi-h1.md
+++ /dev/null
@@ -1,79 +0,0 @@
-# XGIMI H1 (MStar `guava`, GMUI V1.5.3, Android 5.1.1): `pm disable-user` refused, root-run Samba from a world-writable folder
-
-This is an owner report from one projector, **not a debloat list for the repo tools**. The adb shell cannot
-disable packages on this firmware (next section), so there is deliberately no `examples/` entry. What follows is
-what the owner found and changed on their unit, so another owner of a GMUI projector can judge for themselves.
-The firmware is from 2017 and gets no updates.
-
-| Field | Observed value |
-|---|---|
-| Retail model | XGIMI H1 (About screen: Machine model `H1`, System version `GMUI V1.5.3`) |
-| Android model / device | `XGIMI TV` / `guava`, `ro.product.brand=MStar` |
-| Fingerprint | `MStar/aosp_guava_en/guava:5.1.1/LMY47V/V1.5.3:userdebug/test-keys` |
-| Android / API | 5.1.1 / 22, `armeabi-v7a` |
-| RAM / storage | 2 GB (`MemTotal` 1997736 kB) / 10.5 GB `/data` |
-| Stock home | `com.xgimi.launcher` (`com.xgimi.mslauncher.LauncherActivity`) |
-| ADB | Network ADB on 5555 out of the box, `ro.adb.secure=1` (the "Allow USB debugging?" prompt appears) |
-
-## `pm disable-user` is refused, `pm hide` works
-
-From the adb shell, `pm disable-user <pkg>` and `pm disable <component>` fail for every package:
-
-```text
-Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=..., uid=2000, package uid=...
-```
-
-`pm hide <pkg>` and `pm unhide <pkg>` do work from the same shell (checked on `com.lee.gallery3d`, then put back),
-as on the [Whaley WTV55K1](whaley-wtv55k1.md) and the [Skyworth 55G6](skyworth-9r52-g6.md). The repo's
-`tools/disable.sh` and `tools/restore.sh` only disable and enable, so a list file for this projector could not be
-applied or undone with them. The build is `userdebug` with test keys; the owner disabled the packages below from
-a root shell that build allows, which is outside what this repo does.
-
-`launcher/build-and-install.sh` cannot help here either: the reference launcher needs Android 8.0 (minSdk 26).
-A third-party launcher with minSdk 21 installed and took Home through Android's "Select a Home app" chooser
-("Always"); the stock launcher was left enabled as a fallback.
-
-## What the packages do
-
-Every XGIMI and MStar app below runs as `android.uid.system`, so its permission list is the whole system uid's and
-says nothing about the package itself. What the package declares does:
-
-| Package | What it is | Owner's choice |
-|---|---|---|
-| `com.gimi.adservice` | `GimiAdBootBroadcastReciver`, `com.gimi.access.AppInstallBroadcast` and `com.xgimi.tongji.TongjiReceiver` ("tongji" is "statistics") | off |
-| `com.xgimi.vcontrol` | Phone remote: `NettyService`, `WebService`, `DownloadService`, `AppInstalledBroadcastRecevier` | off |
-| `com.xgimi.filefly` | File push: `UcontrolService` and `ApkInstallerService` | off |
-| `com.xgimi.wirelessscreen` | Miracast/AirPin receiver with its own `UpgradeService` | off |
-| `com.waxrain.airplaydmr` | WaxPlay AirPlay/DLNA receiver (in `/data/app`), seven TCP ports | off |
-| `com.android.mcast` | MStar `MMCastDemo` receiver | off |
-| `cm.aptoidetv.pt.xgimi_market` | Aptoide TV store | off |
-| `cn.wps.moffice_i18n_TV` | WPS Office, carries `com.appsflyer.MultipleInstallBroadcastReceiver` | off |
-| `com.android.chrome` 59, `com.google.android.youtube.tv` 1.3.11 | 2017 preloads | off |
-| `com.google.android.gms` 10.2.98, `com.google.android.gsf`, `com.google.android.gsf.login`, `com.android.vending` 6.3.16 | 2017 Google stack; check-ins to Google, no current apps for API 22 | off |
-| `com.android.exchange`, `com.android.inputmethod.pinyin`, `com.xgimi.doubanfm`, `com.xgimi.xgimimusicparseservice`, `com.lee.gallery3d`, `com.mstar.android.pppoe` | Mail sync, Pinyin keyboard, XGIMI music and gallery, PPPoE dialer | off |
-| `com.xgimi.minitvfactory` | Factory menu with a boot receiver (never opened) | off |
-| `com.mstar.tv.service`, `com.mstar.tv.tvplayer.ui`, `com.mstar.android.providers.tv`, `com.mstar.miscsetting`, `com.mstar.tvsetting` | TV middleware, input source, hotkeys | kept |
-| `mstar.factorymenu.ui` | MStar factory menu (never opened) | kept |
-| `com.xgimi.launcher`, `com.xgimi.appmanager`, `com.xgimi.bootwizard`, `com.xgimi.inputmethod`, `com.xgimi.filemanager`, `com.xgimi.gimiplayer` | Stock home, app list, first-run wizard, keyboard, USB file browser and player | kept |
-| `com.mstar.bluetooth3dservice` | 3D glasses sync | kept |
-
-Before the change a system-uid app held a plain-HTTP connection to `47.103.94.254:80` (Alibaba Cloud). With the
-packages above off and a reboot, the only outbound connection left was Android's connectivity check to Google.
-Which of the system-uid packages made it was not narrowed down.
-
-## Root daemons the packages do not control
-
-| Port | Process | Started by |
-|---|---|---|
-| TCP 139, 445 | `smbd`, `nmbd` (root) | `/system/bin/debug.sh` (init service `debug-sh`, root) |
-| TCP 554 | `/system/bin/livecap` (root, RTSP) | init service `livecap` |
-| TCP 15735, 15737; UDP 16735, 16737 | `/system/bin/ucontrolMDNS` (root) | init service `ucontrolMDNS` |
-| UDP 20057 | `projector_sink` (root) | `/system/bin/debug.sh` |
-
-`debug.sh` runs at every boot as root and does `cd /data/data/com.xgimi.filemanager/samba && ./samba.sh restart`,
-then loops once a second and repeats that whenever a file named `restart` appears in the same folder. That folder,
-`samba.sh`, `smbd`, `nmbd` and `smb.conf` were all world-writable (`rwxrwxrwx`, owner `system`), and `smb.conf`
-uses `security = SHARE` with a guest account. Disabling FileManager's `SambaServerService` does not stop it,
-because init starts it, not the app. Any app on the projector can replace `samba.sh` and have it run as root.
-The owner closed it with root access. Without root, keep this projector on a network of its own, and off the
-internet if it only needs the LAN.
diff --git a/examples/README.md b/examples/README.md
index 61d37d29e..8da332b7d 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -484,7 +484,6 @@ Notes for models that have no tested list yet live in [`docs/devices/`](../docs/
- [Xiaomi Mi Box 4S Pro](../docs/devices/xiaomi-mi-box-4s-pro-frozen.md) (`MiTV-AZFP0` / `frozen`, China, Android 9 firmware `23.5.10.1035`): single-session report of twelve disabled packages (four already off, eight applied), one reboot with states retained, owner-confirmed voice and video/audio, and first-batch restore checks; stock Home, casting, OTA and app store kept; casting, standby/wake and several-day use untested, so no tested list yet.
- [Skyworth 55G6](../docs/devices/skyworth-9r52-g6.md) (`9R52_G6`, Realtek RTD299x, Coocaa 6.20, Android 5.1.1 / API 22, `LMY47V`): `pm disable-user` is refused and `pm uninstall --user 0` is reverted by the root daemon `coocaa_guard`, so the 21-package list is built on `pm hide` (survives a reboot, `pm unhide` rolls back); hiding `com.tianci.movieplatform` hangs the boot at the logo behind a `KeyguardScrim` until `pm unhide` plus a reboot; HOME is owned by `com.tianci.system` through `persist.service.homepage.*`, rewritten from the read-only pcfg file at every boot; adbd on this build serves a single TCP transport, so a launcher holding a local ADB session can starve the computer's connection. Third-party Home handover works through an accessibility relay and skips the 15 s boot ad; cold boot verified 3/3 on 2026-10-31 (the firmware ad still appears in some cold boots), and the power key reboots this set rather than suspending it.
- [TCL 40S65A](../docs/devices/tcl-40s65a.md) (Android TV 9 `PPR2.180905.006.A1`): the launcher installs, takes Home and keeps it (Netflix and YouTube play); after a while in an app, BACK sometimes lands on HDMI 2 - an onn. stick in standby there, "No signal" - instead of the launcher, and HOME returns immediately; the report names no packages, so no list yet.
-- [XGIMI H1](../docs/devices/xgimi-h1.md) (MStar `guava`, GMUI V1.5.3, Android 5.1.1 `LMY47V` userdebug): `pm disable-user` is refused and `pm hide` works from the shell; what each XGIMI/MStar preload does (an ad/statistics receiver, phone-remote and file-push servers with APK installers, two casting receivers, a 2017 Google stack); a root `debug.sh` runs Samba from a world-writable folder in FileManager's data; owner report, no list the repo tools can apply.
To add your TV, see [CONTRIBUTING.md](../CONTRIBUTING.md). The quickest way to get a list is to
run the prompt in [PROMPT.md](../PROMPT.md) and copy the packages your assistant disabled.