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 Super General 55" 4K (CVTE TP.SK708D.PC821, Amlogic T972), Android 9
egyjsf031e716e4c9
diff --git a/README.md b/README.mdindex c44fe50c9..de22bfb65 100644--- a/README.md+++ b/README.md@@ -102,7 +102,7 @@ Tested lists from contributors, one folder per model in [`examples/`](examples/)**Panasonic** 3 · **Thomson** 3 · **BenQ** 2 · **CHiQ** 2 · **FFalcon** 2 · **Google** 2 · **Haier** 2 · **Hitachi** 2 ·**Kalley** 2 · **NVIDIA Shield** 2 · **OnePlus** 2 · **onn** 2 · **Redmi** 2 · **Toshiba** 2 · **Vu** 2 ·AiPro2K · AIWA · Artel · Caxium · Cecotec · Challenger · Compac · Dialog · EKO · Freebox · Insignia Fire TV · JVC ·-Karbonn · Kogan · Motorola · MTC · Noblex · OK. · Polytron · PRISM+ · RCA · Sankey · SANYO · SHARP · Tele System ·+Karbonn · Kogan · Motorola · MTC · Noblex · OK. · Polytron · PRISM+ · RCA · Sankey · SANYO · SHARP · Super General · Tele System ·Verizon · Vidda · Vision ·BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors@@ -219,6 +219,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors| Sony BRAVIA XBR-65X900F (2018, BRAVIA_ATV3_4K, MediaTek MT5891), US/Canada | Android TV 9 || Sony XR-65A80J (65-inch OLED, 2021, BRAVIA_VH2), EU | Google TV 12 || Stellamore T950S projector (Droidlogic be30a3, Amlogic txhd2) | Android 13 |+| Super General 55" 4K (CVTE TP.SK708D.PC821, Amlogic T972), Saudi Arabia | Android 9 || TCL / FFalcon China (tcl9655_cn, MediaTek MT9655 "merak", UTT2.250416.001 AU01) | Android 14 || TCL 32L5A (C06, model "Smart TV", 1 GB) | Android TV 11 || TCL 32S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB), 2023 | Android TV 11 |diff --git a/examples/README.md b/examples/README.mdindex b27d8ceaa..9cf664506 100644--- a/examples/README.md+++ b/examples/README.md@@ -113,6 +113,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `sony-xbr-65x900f/` | Sony BRAVIA XBR-65X900F (2018, BRAVIA_ATV3_4K, MediaTek MT5891), US/Canada | Android TV 9 | Same build as the X900E on the next platform (ATV3); Samba TV, Sony Select/promos/Discover, Google recommendation rows, demo mode, device agents, Alexa setup app; Assistant, mirroring, DLNA, phone remote, USB players off by choice; Chromecast kept; the sponsored banner is the stock launcher's own || `sony-xr-65a80j/` | Sony XR-65A80J (65-inch OLED, 2021, BRAVIA_VH2), EU | Google TV 12 | Samba TV ACR, Sony/Google telemetry, Sony promos, hotel mode and unused AirPlay/DLNA/HbbTV/BRAVIA CAM; voice, Chromecast, Miracast, updates and Ambient mode kept; custom Cosy Home-based launcher on Ethernet; used for a few days on Ethernet || `stellamore-t950s/` | Stellamore T950S projector (Droidlogic be30a3, Amlogic txhd2) | Android 13 | Zeasn App Store and stock launcher both bundle Google Ads (doubleclick); Zeasn device portal/OTA, Stellamore factory/test/guide; 1 GB; keystone correction must stay enabled |+| `super-general-cvte-t972/` | Super General 55" 4K (CVTE TP.SK708D.PC821, Amlogic T972, x30a4, 1 GB), Saudi Arabia | Android 9 | Not Google TV; `com.sdk.hades` adware in two silently installed packages, CVTE ad services and ad screensaver, Stark store, cleaner, weather, firmware updater; Play Services ships disabled (`pm enable` it); ADB from the factory menu (MENU 1147 on a source); app buttons come from CVTE's hotkey service, Source is left to the app in front (open `com.cvte.tv.globalui/.InputSourceActivity`), a key-filtering accessibility service breaks Volume hold; NFX repointed with a same-package stand-in; third-party launcher; reboot-checked; [notes](super-general-cvte-t972/README.md) || `tcl-32s5400a/` | TCL 32S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB), 2023 | Android TV 11 | Same C06 platform as `tcl-40s5400a/`, but older AR2101 / V8-T221T05-LF1V005 firmware and SonyLIV/YuppTV preloads; TCL account/TGuard/promos, Google extras, regional preloads; firmware updater kept (ttvs is the updater); stock launcher priority 2, keep the remote/BT/TCL settings packages || `tcl-32s5k/` | TCL 32S5K (C06, C06_2K_GB, MediaTek MT9221, 918 MB), EU | Android TV 11 | Same build family as the 40S5400A; TCL account/TGuard/promo rows, USB players, voice and photo screensaver off by choice; `com.tcl.usercenter` is re-enabled by ttvs at every boot; setupwraith safe here (Settings owns the Wi-Fi); remote standby is a full power-down || `tcl-32l5a/` | TCL 32L5A (C06, model "Smart TV", 1 GB) | Android TV 11 | Same C06 platform as `tcl-32s5400a/` (SDK 30, build AR2101); TCL account, TGuard cleaner, promo rows, TCL Channel waterfall, store demo sticker, browser, feedback and Google TV recommendations; custom Apple TV style launcher installed as default home (`com.gathin.tvhome`), stock launcher `com.google.android.tvlauncher` disabled; Live TV `com.tcl.tv` and inputs `com.tcl.tvinput` kept; reboot-checked |diff --git a/examples/super-general-cvte-t972/README.md b/examples/super-general-cvte-t972/README.mdnew file mode 100644index 000000000..83c78ece7--- /dev/null+++ b/examples/super-general-cvte-t972/README.md@@ -0,0 +1,36 @@+# Super General (CVTE TP.SK708D.PC821, Android 9): notes++Done remotely on one set. Debloat from `debloat.txt`; Home is a third-party launcher,+[Afnon](https://github.com/egyjs/afnon-android-tv-launcher), not the reference launcher.++## Remote buttons++The app buttons are wired in CVTE's hotkey service (`com.cvte.tv.api.impl`), which reads the read-only+`/vendor/menu_config_xml/hotkey.xml`. They work from any app and need no accessibility service:++| Button | Keycode | Opens |+|---|---|---|+| SETTING | 1110 | `com.cvte.settings` |+| YouTube | 1111 | YouTube |+| NFX | 1112 | `com.netflix.mediaclient`, else `com.stark.store` |+| ESHARE | 1113 | `com.ecloud.eshare.server` |+| SOURCE | `KEYCODE_TV_INPUT` | nothing: the firmware passes it to the app in front |++- **SOURCE**: the stock launcher opened `com.cvte.tv.globalui/.InputSourceActivity`. A replacement Home must do+ the same, or the button does nothing on the home screen.+- **Holding Volume**: an accessibility service that filters keys (`FLAG_REQUEST_FILTER_KEY_EVENTS`) makes Android+ re-inject them, and injected keys never repeat, so Volume moves one step per hold. On this firmware the hotkey+ service already answers the buttons, so a launcher's key filter is not needed; leave it off.+- **Testing**: `adb shell input keyevent 1112` reaches the hotkey service, so the app buttons can be tested over ADB.+- **NFX without Netflix**: the button is hard-wired to the package name. Uninstalling Netflix (a normal app here) and+ installing a tiny app with the same package name whose only activity opens another app repoints the button.+ ESHARE can't be repointed that way: EShare is a CVTE-signed system app.++## Other quirks++- Android 9 hides the Wi-Fi network name from apps without location: grant a launcher+ `android.permission.ACCESS_FINE_LOCATION` if it shows the network.+- EShare (v6.4.17, 2020) is a system app and can't be updated; newer EShare phone apps may fail to connect.+ The built-in Miracast receiver (`com.droidlogic.miracast`) works from a phone's Cast / Smart View tile.+ Its name comes from Settings.Global `wifi_p2p_device_name` and changes after a reboot.+- `screencap` via `exec-out` sometimes hangs over a slow link: `screencap -p /data/local/tmp/s.png`, then pull.diff --git a/examples/super-general-cvte-t972/debloat.txt b/examples/super-general-cvte-t972/debloat.txtnew file mode 100644index 000000000..dd1a71d37--- /dev/null+++ b/examples/super-general-cvte-t972/debloat.txt@@ -0,0 +1,47 @@+# Super General 55" 4K smart TV (CVTE board TP.SK708D.PC821, Amlogic T972, product x30a4, panel HV550QUB),+# Android 9 (API 28), firmware x30a4-userdebug 9 PPR1.180610.011 20210518 (CVTE MD_CVTE_OVERSEA_T972_9_0_1G_STARKOS,+# build 20210518_103433), Saudi Arabia. 1 GB RAM (low_ram), armeabi-v7a only.+# Not Google TV: CVTE's own launcher (com.cvte.tv.launcher.highend) and settings. The build fingerprint is spoofed+# (google/shamu/...), so match the board name (ro.cvte.boardname) instead.+# Tested on one set for a day, reboot-checked; launcher half done with a third-party launcher (see README.md).+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/super-general-cvte-t972/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/super-general-cvte-t972/debloat.txt com.cvte.tv.launcher.highend+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# ADB: switch to a source (TV or HDMI) first, then MENU 1 1 4 7 -> DEBUG -> ADB ENABLE. Network ADB on 5555,+# survives reboots. userdebug firmware.+#+# Google Play Services shipped disabled by the system (enabled=3): `pm enable com.google.android.gms` so Google Play+# works; it stayed on across a reboot.+#+# KEEP: com.cvte.tv.globalui (.InputSourceActivity, the source menu), com.cvte.tv.setting (TV settings, quick menu),+# com.cvte.tiflauncher, com.cvte.tv.api.impl (TIF player and the remote's hotkey service), com.cvte.tvservice,+# com.cvte.tv.remotedebug, com.droidlogic.* (TV input, Bluetooth remote, Miracast). Factory: com.cvte.fac.menu,+# com.cvte.factory.at, com.cvte.factory.service; never launch these.++# Adware: the "com.sdk.hades" SDK (starts on boot and screen-on, background jobs, internet). Both were installed+# silently; neither appears in the TV's app list.+com.system.memory.tool+com.android.media.tools # /system/app/clean/clean.apk++# CVTE ad services, pushed silently by the firmware's cloud+com.cvte.gaia.ad.service # AdService, calls the stark-cloud.cvte.com ad API+com.cvte.wonder.cloud.service # UniAdService+com.cvte.tv.pictorial # ad screensaver++# CVTE extras+com.cvte.tv.steward # "TV assistant" cleaner+com.cvte.tv.weather+com.stark.store # Stark app store; Google Play replaces it+com.cvte.tv.systemupgrade # firmware updates; off by choice, re-enable to update++# Preloads off by choice+org.mozilla.tv.firefox+com.android.browser+com.google.android.feedback+com.ionitech.airscreen # AirScreen casting; Miracast (com.droidlogic.miracast) kept++# Stock launcher, replaced (keep it if you don't install another launcher). A FallbackHome exists on this build.+com.cvte.tv.launcher.highend+com.cvte.tv.launcher.highend.skin