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 SWTV-20SA-PRO (SW4H_FF, MediaTek), Android TV 10
Pablo Mereles9cad2146f135
diff --git a/examples/skyworth-swtv-20sa-pro/README.md b/examples/skyworth-swtv-20sa-pro/README.mdnew file mode 100644index 000000000..ff29b4c0a--- /dev/null+++ b/examples/skyworth-swtv-20sa-pro/README.md@@ -0,0 +1,44 @@+# Skyworth SWTV-20SA-PRO (Android TV 10, SW4H_FF)++Skyworth set, product `SW4H_FF_B`, device `SW4H_FF`, board SW4, MediaTek m7332.+Firmware `QTG3.200617.002`, security patch 2022-02-05. About 1.6 GB RAM, 32-bit armeabi-v7a.+Same firmware build as [karbonn-swtv-20ae](../karbonn-swtv-20ae/), whose device is `SW4H`.+Not the Android 11 `SW4H_FF` build in [tornado-65ua1400e](../tornado-65ua1400e/).++Tested on one set on 4 November 2026, including one reboot. Same-day test, not a multi-day soak.+After the reboot the new launcher was still Home and every package in `debloat.txt` was still disabled.++USB debugging alone opened port 5555. Android 10 has no Wireless debugging screen.++| File | What it is |+|---|---|+| `debloat.txt` | Manufacturer ads, ACR, shop demo, feedback and the stock recommendation rows |+| `config.json` | Live TV package for the Entradas menu; push it with `tools/theme.sh` |++`com.google.android.tungsten.setupwraith` owned a saved Wi-Fi network on this set, so the list+leaves it enabled. Forget that network and join it again in Settings before disabling the wizard.++`com.smartdevice.tvworkwithalexa` was already disabled and is not in the list. It asks for+`TV_INPUT_HARDWARE`. If HDMI or AV is a black picture, enable it again.++`fusion.android.tv.demo` stays commented. On the Tornado SW4H list it receives the remote's Input+key. Here the launcher's Entradas menu still listed the HDMI ports, AV and Live TV with that+package off, and the physical Input key was not pressed.++## Install++```bash+TV_HOST=<tv ip> tools/disable.sh examples/skyworth-swtv-20sa-pro/debloat.txt+TV_HOST=<tv ip> launcher/build-and-install.sh+TV_HOST=<tv ip> tools/theme.sh examples/skyworth-swtv-20sa-pro+```++`launcher/build-and-install.sh` disables `com.google.android.tvlauncher` only after the new+launcher is Home. No key helper was enabled. On this SW4H firmware a bound key helper makes a+held volume key step once per press.++## Undo++```bash+TV_HOST=<tv ip> tools/restore.sh examples/skyworth-swtv-20sa-pro/debloat.txt com.google.android.tvlauncher+```diff --git a/examples/skyworth-swtv-20sa-pro/config.json b/examples/skyworth-swtv-20sa-pro/config.jsonnew file mode 100644index 000000000..053718682--- /dev/null+++ b/examples/skyworth-swtv-20sa-pro/config.json@@ -0,0 +1,4 @@+{+ "live_tv_package": "com.smartdevice.livetv",+ "hidden_apps": ["com.smartdevice.livetv"]+}diff --git a/examples/skyworth-swtv-20sa-pro/debloat.txt b/examples/skyworth-swtv-20sa-pro/debloat.txtnew file mode 100644index 000000000..7484b57ed--- /dev/null+++ b/examples/skyworth-swtv-20sa-pro/debloat.txt@@ -0,0 +1,81 @@+# Skyworth SWTV-20SA-PRO (product SW4H_FF_B, device SW4H_FF, board SW4, MediaTek m7332),+# Android TV 10 (API 29), firmware QTG3.200617.002 (incremental 20220129), security patch 2022-02-05.+# ro.product.manufacturer=skyworth, armeabi-v7a, ~1.6 GB RAM (MemTotal 1724612 kB), 320 dpi.+# Same firmware build as examples/karbonn-swtv-20ae (device SW4H there). Not the Android 11+# SW4H_FF build in examples/tornado-65ua1400e.+# Stock launcher: com.google.android.tvlauncher (classic Android TV home, not Google TV launcherx).+# Live TV: com.smartdevice.livetv. Inputs: com.mediatek.tvinput. Never disable a com.mediatek.* package.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/skyworth-swtv-20sa-pro/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/skyworth-swtv-20sa-pro/debloat.txt com.google.android.tvlauncher+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Disabled before this debloat, so not listed (restore.sh would turn them ON):+# com.sky.market, com.smartdevice.tvworkwithalexa.+# com.smartdevice.tvworkwithalexa asks for TV_INPUT_HARDWARE. On the SW4H lists, disabling it+# blacks out HDMI and AV. If those pictures are black, enable it again. Do not launch+# com.smartdevice.factory.+#+# USB debugging alone opened port 5555 (service.adb.tcp.port=5555). Android 10 has no+# Wireless debugging pairing screen. ro.adb.secure=1.+#+# setupwraith owned a saved Wi-Fi network (dumpsys wifi cname included+# com.google.android.tungsten.setupwraith and android.uid.system). It stays enabled:+# disabling it deletes that network and drops ADB. Forget the network and join it again+# in Settings before uncommenting the line below.+#+# fusion.android.tv.demo is commented out. examples/tornado-65ua1400e keeps it because it+# receives the remote's Input key. This unit had it disabled and the launcher's Entradas+# menu still listed HDMI 1-4, AV and Live TV. The physical Input key was not pressed, so+# the line stays commented until that button is confirmed.+#+# Tested on the day of the debloat (2026-11-04), one reboot, not yet lived with for days.+# After the reboot Home was com.gathin.tvhome and every package named below was still disabled.+# No separate firmware-updater package; updates live in Settings.+#+# Kept on purpose: com.mediatek.tvinput, com.mediatek.tv.agent, com.mediatek.hotkey.dispatcher,+# com.mediatek.wwtv.setupwizard, com.mediatek.partner.netflix, com.mstar.netflixobserver,+# com.smartdevice.livetv, com.smartdevice.duplebluetooth, com.smartdevice.factory,+# com.mediatek.OledFuctionService, com.tianci.localmedia, com.google.android.katniss,+# com.google.android.tv.assistant, com.google.android.apps.mediashell, Play Store and Play Services.++# Skyworth ads, shop demo and recommendation rows+com.smartdevice.leanbacklauncher.customizer+com.smartdevice.acr.recommendation+com.smartdevice.recommendation+com.smartdevice.epopplayer+com.Smartdevice.emanual+com.mstar.android.tv.disclaimercustomization+com.google.android.leanbacklauncher.partnercustomizer+android.autoinstalls.config.SW++# Telemetry, feedback and the ambient ad screensaver+com.google.android.feedback+com.google.android.tv.bugreportsender+com.google.android.backdrop++# Stock home recommendation rows. Disable only after the new launcher owns Home.+com.google.android.tvrecommendations++# Stock launcher: launcher/build-and-install.sh disables it after Home has moved.+# com.google.android.tvlauncher++# Setup wizard. Owns a saved Wi-Fi network on this unit; see the header.+# com.google.android.tungsten.setupwraith++# Shop demo player. May receive the remote's Input key on this platform; see the header.+# fusion.android.tv.demo++# This unit's owner left these off. Uncomment only what you do not use.+# com.facebook.katana+# com.qjy.browser+# com.tcl.browser+# com.phlox.tvwebbrowser+# de.stefanpledl.localcast+# com.uptodown.installer+# com.netflix.ninja+# com.amazon.amazonvideo.livingroom+# com.google.android.videos+# com.google.android.play.games+# com.smartdevice.dtv.icast+# com.smartdevice.firewalldiff --git a/examples/skyworth-swtv-20sa-pro/tv.json b/examples/skyworth-swtv-20sa-pro/tv.jsonnew file mode 100644index 000000000..02f287e00--- /dev/null+++ b/examples/skyworth-swtv-20sa-pro/tv.json@@ -0,0 +1,6 @@+{+ "tv": "Skyworth SWTV-20SA-PRO (SW4H_FF, MediaTek m7332)",+ "os": "Android TV 10",+ "brand": "Skyworth",+ "notes": "Same build QTG3.200617.002 as the Karbonn SWTV-20AE, device SW4H_FF, ~1.6 GB, armeabi-v7a; Skyworth ACR, ad-row injector, ePop, e-manual, partner customizer; Google feedback, backdrop and recommendation rows; Live TV is `com.smartdevice.livetv`; USB debugging alone opens port 5555; setupwraith owns a saved Wi-Fi, so it stays; tested the day of the debloat, one reboot"+}