Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
examples: address review feedback for coocaa-p9-projector
tianhuoliuhun3d54e4ff19ce
diff --git a/examples/coocaa-p9-projector/README.md b/examples/coocaa-p9-projector/README.mdindex 6cdaf9a6e..bfc505d4b 100644--- a/examples/coocaa-p9-projector/README.md+++ b/examples/coocaa-p9-projector/README.md@@ -1,6 +1,7 @@# Coocaa P9 Projector (MediaTek mt5862, Android 9 / Coocaa OS)Notes for the Coocaa P9 (酷开 P9) LCD smart projector running Coocaa OS on Android 9 (MediaTek mt5862 platform).+Verified across cold reboots with 16 packages disabled.## Device Information@@ -38,7 +39,9 @@ The 15-second boot ad can be skipped permanently without root:tools/tv.py 'setprop persist.sys.bootvideo.time 1'```-## Launcher Replacement+*Stock value before modification was unset / empty (system defaults to 15s video at `/vendor/stream/bootvideo.mp4`).*++## Launcher Handover & UndoThe reference launcher works smoothly when built with application ID `com.coocaa.tvhome`:@@ -54,3 +57,15 @@ The reference launcher works smoothly when built with application ID `com.coocaatools/tv.py 'cmd package set-home-activity com.coocaa.tvhome/com.gathin.tvhome.MainActivity'```4. Remote Home key will now cleanly open CleanYourTV launcher.++### Undo Launcher Handover++To restore the stock Coocaa launcher:++```bash+tools/tv.py 'setprop persist.service.homepage.pkg com.tianci.movieplatform'+tools/tv.py 'setprop persist.service.homepage.cls com.coocaa.homepage.vast.projector.ProjectorHomeActivity'+tools/tv.py 'cmd package set-home-activity com.tianci.movieplatform/com.coocaa.homepage.vast.projector.ProjectorHomeActivity'+```++*Note: Unlike the Realtek board in `skyworth-8r40-k5c`, modifying `persist.service.homepage.*` on this MediaTek mt5862 board did NOT stop `adbd` from starting after a cold reboot.*diff --git a/examples/coocaa-p9-projector/debloat.txt b/examples/coocaa-p9-projector/debloat.txtindex 485e3c071..660ea317a 100644--- a/examples/coocaa-p9-projector/debloat.txt+++ b/examples/coocaa-p9-projector/debloat.txt@@ -1,5 +1,7 @@# Coocaa P9 projector (MediaTek mt5862_bga_1g), Android 9 (SDK 28),# build PPR2.180905.006.A1 dev-keys, China-market Coocaa OS.+# Verified across cold reboots: 16 packages disabled with pm disable-user --user 0.+# Autofocus, electric focus, keystone correction, remote Bluetooth, Wi-Fi and ADB reconnect remain fully functional.## Apply: TV_HOST=<tv ip> tools/disable.sh examples/coocaa-p9-projector/debloat.txt# Undo: TV_HOST=<tv ip> tools/restore.sh examples/coocaa-p9-projector/debloat.txt@@ -13,6 +15,7 @@## Boot video ad skip (no root, survives reboot):# tools/tv.py 'setprop persist.sys.bootvideo.time 1'+# Stock value before modification was unset / empty (defaults to 15s video at /vendor/stream/bootvideo.mp4).## ⚠ DO NOT DISABLE:# - com.tianci.movieplatform: Coocaa stock launcher base, boot hard-depends on it.@@ -30,6 +33,11 @@# tools/tv.py 'setprop persist.service.homepage.pkg com.coocaa.tvhome'# tools/tv.py 'setprop persist.service.homepage.cls com.gathin.tvhome.MainActivity'# tools/tv.py 'cmd package set-home-activity com.coocaa.tvhome/com.gathin.tvhome.MainActivity'+# 3. Undo launcher handover:+# tools/tv.py 'setprop persist.service.homepage.pkg com.tianci.movieplatform; setprop persist.service.homepage.cls com.coocaa.homepage.vast.projector.ProjectorHomeActivity; cmd package set-home-activity com.tianci.movieplatform/com.coocaa.homepage.vast.projector.ProjectorHomeActivity'+# Note: Stock values were pkg=com.tianci.movieplatform, cls=com.coocaa.homepage.vast.projector.ProjectorHomeActivity.+# Unlike the Realtek board in skyworth-8r40-k5c, modifying persist.service.homepage.* on this MediaTek mt5862 board+# did NOT stop adbd from starting after a cold reboot.## =============================================================================# Ads / telemetry / tracking@@ -50,7 +58,7 @@ com.coocaa.guide # boot guide & EPG pusher# Stores / theme packagescom.tianci.appstore # stock store with recommendations (Dangbei Market kept)com.coocaa.os.thememanager # theme store-com.coocaa.theme_package_starry_night# preloaded starry night theme+com.coocaa.theme_package_starry_night # preloaded starry night themecom.coocaa.theme_world_cup # preloaded world cup theme# Voice assistant (optional)