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: add Skyworth 7T861_A23 (MT9638), Coocaa OS on Android 10
jiantaid12ab5207765
diff --git a/examples/skyworth-7t861-a23/README.md b/examples/skyworth-7t861-a23/README.mdnew file mode 100644index 000000000..4ce361b8c--- /dev/null+++ b/examples/skyworth-7t861-a23/README.md@@ -0,0 +1,38 @@+# Skyworth 7T861_A23 (Coocaa OS, Android 10)++Tested on Skyworth 7T861_A23 (MediaTek MT9638 / mt5872, Android 10, build `eng.nobody.20241225.120706`).++## Safety Warning++**Do not disable `com.skyworth.officehomepage`.**+Disabling the stock home app on this firmware causes the TV to hang indefinitely on the SKYWORTH boot logo upon restart. The system will fail to start the network stack, disabling port 5555. Recovery requires entering Recovery Mode and performing a factory reset ("Wipe data / factory reset").++## Installing CleanYourTV Launcher safely++On this Coocaa OS build, Home is managed by the system property `persist.service.homepage.pkg` and `persist.service.model.pkg`, rather than Android's standard Home intent chooser. In addition, Coocaa OS terminates background apps whose package name does not begin with manufacturer prefixes (`coocaa`, `skyworth`, `tianci`, `android`).++1. **Build Launcher with Coocaa package ID**:+ ```bash+ cd launcher+ ./gradlew assembleRelease -PlauncherApplicationId=com.coocaa.tvhome+ ```+2. **Install the launcher and coocaa-home-shim**:+ ```bash+ adb push app/build/outputs/apk/release/app-release.apk /data/local/tmp/tvhome.apk+ adb shell pm install -r /data/local/tmp/tvhome.apk++ # Install coocaa-home-shim (com.ccos.tv.homepage)+ adb push coocaa-home-shim.apk /data/local/tmp/shim.apk+ adb shell pm install -r /data/local/tmp/shim.apk+ ```+3. **Point Home properties to the shim**:+ ```bash+ adb shell setprop persist.service.homepage.pkg com.ccos.tv.homepage+ adb shell setprop persist.service.homepage.cls com.ccos.tv.homepage.LaunchActivity+ adb shell setprop persist.service.model.pkg com.ccos.tv.homepage+ adb shell setprop persist.service.model.cls com.ccos.tv.homepage.LaunchActivity+ ```+4. **Apply debloat list**:+ ```bash+ TV_HOST=<tv-ip> tools/disable.sh examples/skyworth-7t861-a23/debloat.txt+ ```diff --git a/examples/skyworth-7t861-a23/config.json b/examples/skyworth-7t861-a23/config.jsonnew file mode 100644index 000000000..dff51772b--- /dev/null+++ b/examples/skyworth-7t861-a23/config.json@@ -0,0 +1,15 @@+{+ "dock_apps": [+ "com.amazon.firetv.youtube",+ "org.videolan.vlc",+ "com.github.mytv.android",+ "com.tcl.browser"+ ],+ "settings_fallback_components": [+ "com.skyworth.setting/com.skyworth.setting.module.main.MainProxyActivity"+ ],+ "hidden_apps": [+ "com.skyworth.tv"+ ],+ "live_tv_package": "com.skyworth.tv"+}diff --git a/examples/skyworth-7t861-a23/debloat.txt b/examples/skyworth-7t861-a23/debloat.txtnew file mode 100644index 000000000..0e79f6f9c--- /dev/null+++ b/examples/skyworth-7t861-a23/debloat.txt@@ -0,0 +1,39 @@+# Skyworth 7T861_A23 (MediaTek MT9638, mt5872), China market, Coocaa OS on Android 10 (API 29)+# Build QQ2A.200305.004.A1 / eng.nobody.20241225.120706.+# Stock home: com.skyworth.officehomepage (com.skyworth.officehomepage.view.HomepageActivity).+# TV/inputs: com.skyworth.tv.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/skyworth-7t861-a23/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/skyworth-7t861-a23/debloat.txt+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# CRITICAL SAFETY NOTE:+# Do NOT disable com.skyworth.officehomepage directly. On this firmware, disabling the stock home+# causes the system to hang at the SKYWORTH boot logo (network stack does not start, ADB drops).+# Recovery requires a factory reset via Recovery Mode.+# To replace the home screen safely, build the launcher with `-PlauncherApplicationId=com.coocaa.tvhome`+# and install coocaa-home-shim (com.ccos.tv.homepage) to bridge the Home key and boot flow.++# Telemetry and diagnostics+com.skyworth.performance.monitors # Performance monitors and telemetry+com.skyworth.testtime # Factory testing timer+com.skyworthdigital.stb.dataprovider # STB diagnostics data provider+com.skyworth.device # Device information and location reporting++# Ads and manufacturer content+com.coocaa.tvmanager # CooCaa content recommendation manager+com.coocaa.guide # EPG program guide and content pushes+com.tianci.de # Tianci DE advertising engine+com.tianci.user # Tianci user account and notification service+com.coocaa.theme_package_ccos_nine # Default theme package++# Preloaded content and stores+com.coocaa.tvpitv # CooCaa Live TV preloaded streaming+com.tianci.movieplatform # Tianci video platform+com.tianci.appstore # Tianci app store+com.skyworth.skymarket # Skyworth market+com.coocaa.app_browser # CooCaa built-in browser++# Factory and tuning tools+com.loostone.tuning # Factory picture calibration utility+com.coocaa.factory # Factory menu test package (do not launch)diff --git a/examples/skyworth-7t861-a23/tv.json b/examples/skyworth-7t861-a23/tv.jsonnew file mode 100644index 000000000..e7fff71bb--- /dev/null+++ b/examples/skyworth-7t861-a23/tv.json@@ -0,0 +1,6 @@+{+ "tv": "Skyworth 7T861_A23 (MediaTek MT9638), China market",+ "os": "Coocaa OS / Android 10",+ "brand": "Skyworth",+ "notes": "Coocaa OS telemetry, performance monitors, factory test timer, guide, video/ad platform, stores; **do not disable `com.skyworth.officehomepage`**: disabling it hangs on boot logo (recovery via factory reset); launcher works via coocaa-home-shim and must be built with `-PlauncherApplicationId=com.coocaa.tvhome`"+}