Skip to content

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

docs(devices): drop the root-path sections; keep the no-root trial log and field notes

Bernardxu123fc9742166bd7
diff --git a/docs/devices/hisense-70v1f-s-nova72691-android9.md b/docs/devices/hisense-70v1f-s-nova72691-android9.md
index b2b43a011..810dc8ea8 100644
--- a/docs/devices/hisense-70v1f-s-nova72691-android9.md
+++ b/docs/devices/hisense-70v1f-s-nova72691-android9.md
@@ -1,11 +1,11 @@
-# Hisense VIDAA_TV / NOVA72691 (70V1F-S, Android 9): what actually holds HOME and boot
+# Hisense VIDAA_TV / NOVA72691 (70V1F-S, Android 9): the stock launcher holds HOME and boot
Owner-observed note, measured on 2026-10-28/29. CleanYourTV's no-root flow **cannot** take HOME on this set.
This note is deliberately long: the failure modes on this firmware are non-obvious, and most of them look like
"the tool is broken" when they are actually the firmware refusing to let a third-party window become the home.
Everything below was reproduced with the TV on the bench, ADB over TCP, and a physical remote for the key
-checks. Commands are copy-pasteable.
+checks. Commands are copy-pasteable. Nothing here needs root.
---
@@ -29,16 +29,17 @@ checks. Commands are copy-pasteable.
## 2. TL;DR for the next person on this firmware
-1. **No-root: HOME cannot be taken.** Not with `set-home-activity`, not with intent-filter priority, not with
- a vendor settings pointer, not with an accessibility guard. Keep the stock launcher and give the user a
- secondary entry (an app icon, a remote-key shortcut, or the Hisense "signal source" style mapping).
+1. **HOME cannot be taken without root.** Not with `set-home-activity`, not with intent-filter priority, not
+ with the vendor settings pointer, not with an accessibility guard. Keep the stock launcher and give the
+ user a secondary entry (an app icon on the stock home screen, a remote-key shortcut, or a
+ "signal source"-style mapping).
2. **Do not disable `com.jamdeo.tv.vod/com.ju.main.launcher.LauncherActivity`.** It does not free HOME; it
- removes the only window the boot sequence is willing to draw, and the TV never finishes booting.
-3. **With root there is a clean answer**: install the launcher as a system app with `android:priority="100"`.
- The HOME key then opens it directly. Boot still draws the stock launcher first for ~8–10 s; a small
- boot-time retry loop is enough to land on the custom launcher.
-4. Everything that failed is documented below with the exact command and the exact symptom, so nobody has to
- repeat the sequence.
+ removes the only window the boot sequence is willing to draw, and the TV never finishes booting. There is
+ no no-root way back.
+3. **An accessibility guard will not save you here.** It binds, but this firmware never delivers the stock
+ launcher's window events to it (§3).
+4. **One untested lead**: the vendor property `persist.vt.use_home_pkg` is reported working on Android 11
+ Hisense sets in the aerial-tv notes. It was not tested on this Android 9 build (§5).
---
@@ -93,140 +94,36 @@ START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME]
so the boot path does resolve the HOME intent; `FallbackHome` simply has no real home behind it, force-finishes,
and is restarted forever.
-Recovery used while testing: because `adbd` lives on `/system` and the TV keeps `adb` reachable even with a
-black screen, a small root-side script can re-enable the component and start a home intent; the TV then
-finishes boot. Keep such a script available before touching anything (see §6.4).
+Unbricking this state is not possible without root: the component has to be enabled again, and the only way to
+do that from outside the UI is a privileged shell. Treat it as a one-way door and do not open it.
---
-## 5. Root path (outside CleanYourTV's no-root model, documented for completeness)
+## 5. Field notes / gotchas
-This is what actually takes HOME here. It needs root and a `/system` write; **CleanYourTV should not do this**.
-It is recorded because people arriving from the no-root dead end will otherwise re-derive it from scratch.
-
-### 5.1 Getting root
-
-On this firmware the stock `autorun` service runs `/system/bin/autorun.sh` as **root on every boot**
-(`/init.hisense.rc`: `service autorun ... user root`, `class main`, `oneshot`). That script ends by unpacking
-`/data/local/misc/Arun.zip` into `/tmp`, `chmod 777 /tmp/run.sh`, and executing it. `/data/local/misc` is
-`0777 shell:shell`, so ADB can write it. Trigger without a reboot:
-
-```console
-adb push hook.tar /data/local/misc/Arun.zip # a tar (not zip) containing run.sh
-adb shell setprop ctl.start autorun # ~15 s later run.sh runs as uid 0
-```
-
-This is device-specific; treat it as "how this box was rooted", not as a portable recipe.
-
-### 5.2 Install the launcher as a system app
-
-```console
-adb push TvHome.apk /data/local/tmp/TvHome.apk
-# from a root shell:
-mount -o remount,rw /
-mkdir -p /system/priv-app/TvHome
-cp /data/local/tmp/TvHome.apk /system/priv-app/TvHome/com.local.tvhome.apk # filename MUST be <packageName>.apk
-chown -R 0:0 /system/priv-app/TvHome
-chmod 755 /system/priv-app/TvHome
-chmod 644 /system/priv-app/TvHome/com.local.tvhome.apk
-restorecon -R /system/priv-app/TvHome
-sync
-mount -o remount,ro /
-```
-
-Get the filename wrong and PackageManager rejects the whole directory:
-
-```console
-W PackageManager: Failed to parse /system/priv-app/TvHome: No packages found in split
-```
-
-Also make sure the directory is `0755` — a root umask of 077 produces `0700` and shell-side inspection fails.
-
-### 5.3 Give the HOME filter priority 100
-
-```xml
-<intent-filter android:priority="100">
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.HOME" />
- <category android:name="android.intent.category.DEFAULT" />
-</intent-filter>
-```
-
-As a system app the priority is **no longer clamped**: `query-activities` reports `priority=100`, and
-`resolve-activity` returns it. Owner-verified afterwards: the physical HOME key opens the custom launcher
-directly, with no stock-launcher flash.
-
-Confirm the install took:
-
-```console
-adb shell pm path com.local.tvhome
-# package:/system/priv-app/TvHome/com.local.tvhome.apk
-adb shell dumpsys package com.local.tvhome | grep -m1 flags=
-# flags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ]
-```
-
-### 5.4 Boot still draws the stock launcher first
-
-The firmware starts the stock launcher before any third-party component is startable. Measured window: the
-custom package cannot be started until roughly **8–10 s after `boot_completed`**; before that:
-
-```console
-Error: Activity class {com.local.tvhome/com.local.tvhome.MainActivity} does not exist.
-```
-
-A boot-time helper that polls `top activity`, then retries `am start` until it sticks, then force-stops the
-stock package, is enough (90 s lifetime, no resident process):
-
-```sh
-# inside a boot hook that already has root
-VODPKG=com.jamdeo.tv.vod
-TVH=com.local.tvhome/.MainActivity
-pm enable --user 0 com.jamdeo.tv.vod/com.ju.main.launcher.LauncherActivity # keep boot drawable
-k=0
-while [ $k -lt 90 ]; do
- k=$((k+1))
- case "$(dumpsys activity activities 2>/dev/null | grep -m1 mResumedActivity)" in
- *com.jamdeo.tv.vod*)
- i=0
- while [ $i -lt 6 ]; do
- i=$((i+1)); am start -n "$TVH"; sleep 2
- case "$(dumpsys activity activities 2>/dev/null | grep -m1 mResumedActivity)" in
- *tvhome*) break ;;
- esac
- done
- sleep 1; am force-stop "$VODPKG"
- break ;;
- esac
- sleep 1
-done
-```
-
-### 5.5 Reclaiming the stock launcher's memory (optional)
-
-`am kill` is not enough (its keep-alive service pins the process). `am force-stop com.jamdeo.tv.vod` dropped
-PSS from ~180–217 MB to zero and raised `MemAvailable` from ~678 MB to ~834 MB. It does **not** stop the TV
-from starting it again on the next boot — which is exactly what the boot hook expects.
-
----
-
-## 6. Field notes / gotchas worth keeping
-
-1. **Never disable the stock launcher component** (§4). This is the one change that bricks the boot sequence
- without corrupting anything.
+1. **Never disable the stock launcher component** (§4). This is the one change that breaks the boot sequence
+ without corrupting anything, and it is not recoverable without root.
2. **`input keyevent 3` is swallowed** on this firmware; verify HOME with the remote, not with adb.
3. **`adbd` lives on `/system`** (`/system/bin/adbd`; `/sbin` only holds `charger`, `ueventd`, `watchdogd`).
- If a `/system` mistake stops it from mounting, ADB is gone too — there is no remote recovery at that point.
-4. **Keep a watchdog.** A 180 s dead-man that re-enables the launcher component and starts a HOME intent turned
- three failed experiments into a recoverable state instead of a service call.
-5. **Back up before writing `/system`**: `tar -cf /data/local/tmp/priv-app-backup.tar -C /system priv-app`
- (581 MB here). Restoring means deleting the added directory, but the tarball makes that provable.
-6. **The home package can still be flipped later by a vendor property.** aerial-tv documents
- `persist.vt.use_home_pkg` working on Android 11 / MT9653 Hisense sets. It was **not tested** on this
- Android 9 build; if it exists here it would remove the boot flash entirely.
+ Anything that prevents `/system` from mounting also removes ADB, so treat `/system` as read-only territory.
+4. **Expect the stock launcher to draw first on every boot.** It owns the first frame; any replacement has to
+ be brought forward afterwards, and on this firmware the third-party app is not startable until roughly
+ 8–10 s after `boot_completed` (`am start` reports `Activity class ... does not exist` until then).
+5. **The stock launcher's process is pinned by a keep-alive service.** `am force-stop com.jamdeo.tv.vod`
+ does terminate it (~180–217 MB of PSS here), but the TV starts it again as part of the next boot — that is
+ expected, not a failure of the cleanup.
+6. **`persist.vt.use_home_pkg` (untested here).** aerial-tv's notes say Android 11 / MT9653 Hisense sets accept
+ `adb shell setprop persist.vt.use_home_pkg <launcher package>` to choose the home package. It was **not
+ tested** on this Android 9 build. If it exists here it is the one no-root path that could work, so it is
+ worth checking before giving up:
+ ```console
+ adb shell getprop persist.vt.use_home_pkg
+ adb shell setprop persist.vt.use_home_pkg <your launcher package>
+ ```
---
-## 7. Diagnostic cookbook
+## 6. Diagnostic cookbook
```console
# who is home, and at what priority
@@ -239,9 +136,6 @@ adb shell logcat -b system -d | grep 'START u0' | grep -i home
# did boot finish?
adb shell getprop sys.boot_completed
-# preferred-activity state (needs root to read)
-tr '>' '\n' < /data/system/users/0/package-restrictions.xml | grep -iE 'preferred|always'
-
# is the stock launcher's process still around?
adb shell ps -A | grep com.jamdeo.tv.vod
adb shell dumpsys meminfo com.jamdeo.tv.vod | grep -m1 TOTAL
@@ -249,7 +143,7 @@ adb shell dumpsys meminfo com.jamdeo.tv.vod | grep -m1 TOTAL
---
-## 8. Not evaluated
+## 7. Not evaluated
No vendor package was evaluated for a debloat list in this session, and none is proposed: there is no evidence
here to disable `com.jamdeo.tv.vod` or to copy package lists from another Hisense board. This note omits the
diff --git a/examples/README.md b/examples/README.md
index 7bf6967c4..cccffdb42 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -448,7 +448,7 @@ Notes for models that have no tested list yet live in [`docs/devices/`](../docs/
- [ZTE ZXV10 B866F V1.1](../docs/devices/zte-b866f.md) (`oppen`, Amlogic, Android TV 14 `EBS.UKG3.250115.001`): `com.control.device`'s `ZteKeyInterceptorReceiver` runs a `TimerTask` ~60 s after `BOOT_COMPLETED` that broadcasts `android.intent.action.FACTORY_RESET` (`reason="ResetButon"`) if no `FLAG_SYSTEM` launcher (`com.google.android.tvlauncher` or `com.ebsproject.drawer`) is enabled, and `com.zte.framework.services.pm.PMSImpl` blocks `pm disable-user` on `com.control.device` and overrides `HOME` to `FLAG_SYSTEM` packages while `tv_user_setup_complete=1`; never disable both system launchers on this box; no tested root-free list.
- [Xiaomi Laser Cinema 2 4K](../docs/devices/xiaomi-nemo-laser-cinema2.md) (`XMJGYY01FM`, Formovie `nemo`, m7642, Android 9 firmware `2.1.3.4134`, China-market PatchWall): the launcher installs and opens but this firmware's `applyPostResolutionFilter` drops every HOME candidate that is not `FLAG_SYSTEM` while `ro.formovie.launcher_type` is `Patchwall`, so `set-home-activity` is refused with `cannot be home on user 0` and the alternate application ID that the MiTV-AETP0 allowlist accepts does not help either; keep PatchWall enabled (only `FallbackHome` is left otherwise), plus a same-day 20-package debloat set that survived one reboot; no validated debloat list.
- [NetTV SEI700NTV](../docs/devices/nettv-sei700ntv.md) (SEI Robotics `SEI700NTV`, Nepal, Android 14 `UKG3.250826.001.8426`, stock `np.com.geniussystems.android.atv.launcher`): `pm disable*` is refused ("Warning! This command is illegal!"), so background telemetry is restricted via AppOps (`RUN_ANY_IN_BACKGROUND ignore`); Home handover verified via RoleManager and `HomeKeyService` with `stock_home_redirect`, reboot-tested and stable.
-- [Hisense VIDAA_TV / NOVA72691 (70V1F-S)](../docs/devices/hisense-70v1f-s-nova72691-android9.md), China, Android 9 `04.02.60.03` (Novatek NT72691, 32-bit): the stock 聚好看 launcher holds both HOME and boot — `set-home-activity`, the vendor startup pointer and an accessibility guard all fail on this firmware, and disabling the stock launcher component stops the boot animation from ever exiting. With root, a system-app install (`/system/priv-app/<pkg>/<pkg>.apk`, priority 100) takes HOME; boot still shows the stock launcher for ~8-10 s.
+- [Hisense VIDAA_TV / NOVA72691 (70V1F-S)](../docs/devices/hisense-70v1f-s-nova72691-android9.md), China, Android 9 `04.02.60.03` (Novatek NT72691, 32-bit): the stock 聚好看 launcher holds both HOME and boot — `set-home-activity`, the vendor startup pointer and an accessibility guard all fail on this firmware, and disabling the stock launcher component stops the boot animation from ever exiting.
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.