Skip to content

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

docs: Coocaa 14K / 8S61 (China, MStar madison, Android 4.4.2) — disable guard and boot wedge report (#1261)

cn-knighte0b632dc2f82
diff --git a/docs/devices/coocaa-14k-8s61.md b/docs/devices/coocaa-14k-8s61.md
new file mode 100644
index 000000000..2a28ef435
--- /dev/null
+++ b/docs/devices/coocaa-14k-8s61.md
@@ -0,0 +1,65 @@
+# Coocaa 14K / 8S61 (China domestic, Android 4.4.2) — disable guard, debloat not feasible
+
+Report for the mainland-China Coocaa firmware on the oldest family member seen so far. Source: [#1261](https://github.com/Gathin23/cleanyourtv/issues/1261). Related family reports — #417 (8R145 / K3 Pro, Android 11), #692 (8R40_K5C, Android 8), #537 (7S60_A5, Android 8) — do **not** transfer: this board is four Android versions older, runs an MStar SoC instead of a Realtek one, and is the only one with an active debloat guard.
+
+> **Warning:** `pm disable-user` fails on every package with a framework exception, and `pm block`, which does execute, can wedge the boot (system_server unresponsive, adbd stuck offline, only the mains switch recovers). If a boot wedges, the recovery window is the first ~40 seconds of the next boot, while system_server is still limping: connect and `pm unblock` everything.
+
+## Device
+
+| Field | Value |
+| :--- | :--- |
+| Retail model | Coocaa 14K (酷开), China domestic; getprop shows "Skyworth 8S61 14K" |
+| Product / device | `sky628_8s61` ("madison" platform, MStar SoC) |
+| Android / SDK | 4.4.2 / 19 |
+| Build | `full_sky628_8s61-userdebug 4.4.2 KOT49H 018.010.130 test-keys`, dated 2018-10-13 |
+| Build type | userdebug + test-keys, but `ro.secure=1`, so `adb root` is refused |
+| Packages | 47 total |
+
+## ADB entry
+
+- No Developer options in Settings. The factory menu opens from the **本机信息** (device info) page: press the remote's direction keys **up up down down left right left right** and then keep the remote still for about two seconds.
+- The ADB switch is factory menu → 其他设置 (other settings) → **Adbd Enable** 0→1. Everything else in the factory menu is panel calibration (ADC, white balance, Panel Timing and friends) — leave it alone.
+- Unlike the toggles in #417 and #692, this one is **persistent across reboots**: adbd comes back on its own after a power cycle.
+- TCP adb connects with no authorisation prompt.
+- **`adb reboot` powers the TV off** on this board instead of rebooting. All reboot testing has to go through the remote or the mains switch.
+
+## The disable guard
+
+`pm disable` and `pm disable-user --user 0` fail on **every** package, tianci and non-tianci alike:
+
+```
+java.lang.RuntimeException: i am here
+ at android.os.Process.killProcess(Process.java:943)
+```
+
+The framework throws from `Process.killProcess` and the operation aborts, so the enabled setting never changes. It is not a "process is running" side effect: reproduced after `am kill` on the target. `pm hide` does not exist on this 4.4 pm. The guard looks deliberate — a debloat brake left in the custom framework.
+
+## `pm block`: executes, then breaks
+
+`pm block --user 0` succeeds (blocked state confirmed via `dumpsys package`, reversible with `pm unblock`). Two problems showed up:
+
+1. **UI pollution:** the stock Coocaa launcher's "My Apps" then lists every blocked package as a raw package-name icon (`com.tianci`, `com.skyw`, ...).
+2. **Boot wedges.** After blocking 15 junk candidates identified by live inspection (`com.tianci.ad`, `com.tianci.push`, `com.tianci.autoinstaller`, `com.tianci.ipc`, `com.tianci.user`, `com.coocaa.mall`, `com.coocaa.messageprovider`, `com.coocaa.tvpitv`, `com.icoolme.tv.weather`, `com.android.mcastdemo`, `com.js.litchi`, `com.skyworth.tv_browser`, `com.skyworth.miracast`, `com.coocaa.remotectrlservice`, `com.skyworth.simplehomepage`):
+
+ - the first boot survived, but the home screen did not autostart (`am start -n com.tianci.movieplatform/com.coocaa.homepage.vast.RealHomePageActivity` brought it up fine);
+ - subsequent boots intermittently **wedged**: the source screen visible but system_server unresponsive, remote dead, adbd stuck in `offline`. Same block state, different outcome per boot — a race against the boot chain, which on this firmware appears to run signal source → boot ad → home;
+ - `com.gzads.tvac` (third-party ad SDK, `/system/app/TVAC.apk`) was already disabled from the factory.
+
+Everything was reverted with `pm unblock --user 0`; boots are stable again on stock.
+
+**Recovery window:** when a boot wedges, adbd still comes up roughly 40 seconds into the next boot while system_server is limping. Connect at once and unblock everything — this worked on the first try.
+
+## Package notes
+
+- 47 packages, `com.tianci.*` / `com.skyworth.*` / `com.coocaa.*` namespace, MStar platform services (`com.mstar.*`).
+- The user-visible "iQiyi/银河奇异果" app on this TV is `com.js.litchi` (a user-installed APK in `/data/app`); the GITV player framework itself is embedded in the stock launcher `com.tianci.movieplatform` (`com.tianci.framework.player.iqiyi.*`, receivers for `com.gitvdemo.video.action.*`). Keeping the stock launcher keeps the video app.
+- `pm list packages` output on this pm is complete but `dumpsys package` is the more reliable cross-check.
+
+## Conclusion
+
+Package-level debloat is **not feasible** on this firmware: the disable guard is deliberate, and the boot chain is coupled to the ad/push components tightly enough that blocking them wedges boots. The launcher side can never apply either — `minSdk` 26 needs Android 8.0. For this model the honest end state is stock firmware with the ADB knowledge above; other 8S61 / "madison" owners should not repeat the block experiment.
+
+## Open questions
+
+- Whether a single-package block (for example `com.tianci.ad` alone) boots stably was not tested; the owner stopped after the wedges.
+- Root on MStar "madison" 4.4.2 is unexplored; `ro.secure=1` rules out `adb root` without an exploit.
diff --git a/examples/README.md b/examples/README.md
index e772cd3d1..43514344c 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -285,6 +285,7 @@ Notes for models that have no tested list yet live in [`docs/devices/`](../docs/
- [JMGO G9S](../docs/devices/jmgo-g9s.md) (China, `m7642_JmGO_H7A0`, MediaTek m7642, Android TV 9 `1.1.52`): one-session seven-package set, the stock launcher `com.jmgo.launcher` deliberately left out because `com.jmgo.tv` (the HDMI input app) also answers HOME, and the `ro.adb.secure=0` / 5555 shutdown notes; no several-day list yet.
- [Toshiba 55Z500QF (China, Hisense firmware)](../docs/devices/toshiba-55z500qf-cn.md) (`T963D4`, Amlogic `t5m`, Android 11 `RD2A.211001.002`, `07.02.70`, no GMS): no Developer options entry (owner opened it from a sideloaded helper APK), stock JuUI Home at `priority=50` handed over only when disabled as a package, `com.meetingroom` came back after both recorded reboots, the boot-source setting stopped Live TV taking the front; owner-reported removal history only, no tested list.
- [Hi VHIX-43F169MSY](../docs/devices/hi-vhix-43f169msy.md), Yandex TV, CVTE `TP.SK506S.PB802` / `m5621`, Android 9: two-day observation, stock/replacement Home and working CVTE/Yandex settings component, Yandex IO service dependency, disabled-package history and low-memory follow-up; no several-day debloat list or signal/CEC verification.
+- [Coocaa 14K / 8S61](../docs/devices/coocaa-14k-8s61.md) (China, MStar `sky628_8s61` "madison", Android 4.4.2 `018.010.130`, 2018 build): the oldest China-market Coocaa so far and the only one with an active debloat guard - `pm disable-user` aborts on every package with a `RuntimeException("i am here")` from `Process.killProcess`, and `pm block` (which does execute) listed blocked packages as raw names in My Apps and wedged boots intermittently (system_server hung, adbd offline, mains pull to recover; the window is the first ~40 s of a boot); ADB opens from the factory menu (up up down down left right left right on the device-info page) with a persistent **Adbd Enable** toggle, and `adb reboot` powers the TV off; everything reverted, stock and stable; no debloat list possible, launcher needs Android 8.
- [Acer R4G 50"](../docs/devices/acer-r4g.md) (MOKA `R4_GTV`, Realtek `rtd2851m`, Google TV 14 `UKR1.260308`, India): the firmware's `FallbackHome` re-enables a fixed list of 60 packages at every cold boot, setupwraith among them, so its `.RecoveryActivity` takes Home back from a new launcher; which packages come back, which stay disabled, and the `logcat` check; no list, since disable-only can't keep the stock Home away here.
To add your TV, see [CONTRIBUTING.md](../CONTRIBUTING.md). The quickest way to get a list is to