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 Sber Salute TV 32" (CVTE TPD.MT9216.PB766, MediaTek MT9256), StarOS 1.103 on Android 11
egorikk5825d8230872b2
diff --git a/examples/sber-salute-tv-pb766/README.md b/examples/sber-salute-tv-pb766/README.mdnew file mode 100644index 000000000..e1dc7fb2b--- /dev/null+++ b/examples/sber-salute-tv-pb766/README.md@@ -0,0 +1,61 @@+# Sber Salute TV 32" (StarOS on Android 11, MediaTek)++CVTE board `TPD.MT9216.PB766` (MediaTek MT9256, platform `mt5867`), 1 GB RAM, 8 GB eMMC with a 2.7 GB data+partition, panel `ST3151A07-2` (1280×720), `ro.cvte.customer=Sber`. Firmware StarOS 1.103.76 on Android 11, build+`RP1A.200720.011` from 11 June 2026. No Google services. A different board from+[`sber-salute-tv-at30a6`](../sber-salute-tv-at30a6/) (Amlogic, Android 13), with mostly the same Sber apps.++| File | What it is |+|---|---|+| `debloat.txt` | The 27 packages to disable, grouped and commented |+| `config.json` | Dock, hidden apps (factory apps and the ones Sber re-enables at boot), no Live TV entry, Russian names for three Sber apps; push it with `tools/theme.sh` |++## Turning ADB on++Settings → Device Preferences → About, OK on the build number seven times, then Developer options → USB debugging.+Network ADB answers on port 5555 straight away. `ro.adb.secure=0`: there is no "Allow USB debugging?" prompt and+any device on the network gets a shell, so switch debugging off when you are done.++## Install++```bash+TV_HOST=<tv-ip> tools/tv.py 'settings put secure screensaver_components com.gathin.tvhome/.ClockDream'+TV_HOST=<tv-ip> tools/disable.sh examples/sber-salute-tv-pb766/debloat.txt+TV_HOST=<tv-ip> STOCK_LAUNCHER=none launcher/build-and-install.sh+TV_HOST=<tv-ip> tools/theme.sh examples/sber-salute-tv-pb766+```++Run the screensaver line after the launcher is installed (the dream is the launcher's), or before the list if the+launcher is already there. The tested unit also turned screensavers off with+`settings put secure screensaver_enabled 0`. Undo: `settings put secure screensaver_components+ru.sberdevices.starscreensaver/ru.sberdevices.starscreensaver.StarScreenSaverService` and `screensaver_enabled 1`.++The stock launcher stays enabled: this is a CVTE board. `set-home-activity` made the new launcher Home, and Home and+ADB came back after a reboot. The Inputs menu lists HDMI 1–3 and Composite through `com.mediatek.tvinput`.++## What Sber puts back++`ru.sberdevices.services` installs and re-enables the apps it considers mandatory. During the session it installed+`openbeta`, `starkidsroom.prod`, `parentcontrol` and `startube`, re-installed Okko, and after a reboot+`ru.more.play`, `subscriptions`, `smarthome.promo`, `ru.sberdevices.tv` and `rcfupdater` were enabled again.+`config.json` hides them. Check `pm list packages -d` after a reboot rather than re-running the list in a loop.++## Space++`/data` had 472 MB free, close to the ~355 MB at which StarOS starts removing ("rotating") apps (see the+[at30a6 notes](../sber-salute-tv-at30a6/README.md)). `pm clear` on the disabled packages and+`pm uninstall-system-updates` on `starscreensaver`, `starlivetv`, `starbrowser` and `ru.sberdevices.tv` took it to+739 MB. Reverting the updates re-enabled those four, so run the list again afterwards. `smarthome.promo` and+`rcfupdater` refused the revert.++## Apps++Apps are installed and updated only by Sber's platform service and its catalogue (`ru.sberdevices.starmarket`,+"Мои приложения" needs a Sber ID). VK Video and Rutube were updated within minutes of the TV going online; Wink+(`1.48.8_SALUTTV`) and Kinopoisk were still at their September 2024 versions, and Wink showed "Плохое соединение с+Интернетом" while the network was validated and its servers answered. Re-enabling the Sber packages in this list+did not change that, so it is not the list.++`ru.sberdevices.startube` is Sber's YouTube client. It only has a `STAR_LAUNCHER` entry, so other launchers do+not show it, and on the tested unit it answered "Нет доступа к сервису YouTube". The official YouTube app needs+Google Play services, which this firmware does not have.diff --git a/examples/sber-salute-tv-pb766/config.json b/examples/sber-salute-tv-pb766/config.jsonnew file mode 100644index 000000000..dd3b53935--- /dev/null+++ b/examples/sber-salute-tv-pb766/config.json@@ -0,0 +1,31 @@+{+ "dock_apps": [+ "ru.kinopoisk.tv",+ "ru.rt.video.app.tv",+ "com.vk.tv",+ "ru.rutube.app"+ ],+ "hidden_apps": [+ "com.cvte.fac.menu",+ "com.cvte.factory.at",+ "com.cvte.license.at",+ "com.cvte.tv.tools",+ "ru.sberdevices.TvFactoryHelper",+ "ru.sberdevices.webview",+ "com.sberbank.settings",+ "com.android.tv.settings",+ "ru.more.play",+ "ru.sberdevices.subscriptions",+ "ru.sberdevices.smarthome.promo",+ "ru.sberdevices.tv",+ "ru.sberdevices.rcfupdater",+ "ru.sberdevices.openbeta",+ "ru.sberdevices.starkidsroom.prod"+ ],+ "live_tv_package": "",+ "app_labels": [+ "ru.sberdevices.starlauncher=Салют ТВ",+ "ru.sberdevices.starmarket=Каталог Сбера",+ "ru.sberdevices.settings=Центр управления"+ ]+}diff --git a/examples/sber-salute-tv-pb766/debloat.txt b/examples/sber-salute-tv-pb766/debloat.txtnew file mode 100644index 000000000..f8f354675--- /dev/null+++ b/examples/sber-salute-tv-pb766/debloat.txt@@ -0,0 +1,62 @@+# Sber Salute TV 32" (CVTE board TPD.MT9216.PB766, MediaTek MT9256 "mt5867", panel ST3151A07-2, 1 GB RAM, 8 GB eMMC), Russia+# StarOS 1.103.76 on Android 11, build RP1A.200720.011 (2026-06-11), cvte model MD_CVTE_OVERSEA_MT9256_11_0_1GB_STARKOS+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sber-salute-tv-pb766/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sber-salute-tv-pb766/debloat.txt ru.sberdevices.starlauncher+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: ru.sberdevices.starlauncher. This is a CVTE board, so it stays ENABLED and is not in this list:+# install with STOCK_LAUNCHER=none launcher/build-and-install.sh, which makes the new launcher Home with+# set-home-activity. Home and ADB came back after a reboot. Unlike at30a6, Developer options open the usual way+# here (OK on the build number seven times).+#+# Sber's platform service (ru.sberdevices.services, cannot be disabled) treats several apps as mandatory: it+# installed openbeta, starkidsroom, parentcontrol and startube during the session, re-installed Okko, and right+# after a reboot ru.more.play, ru.sberdevices.subscriptions, ru.sberdevices.smarthome.promo, ru.sberdevices.tv and+# ru.sberdevices.rcfupdater were enabled again. Hide them in the launcher (config.json) rather than re-running+# the list after every boot. Uninstalling is pointless: the service puts them back enabled.+#+# Keep: ru.sberdevices.services(.core) (platform, OTA, the Salute assistant), ru.sberdevices.assistant,+# ru.sberdevices.tvinputs, com.mediatek.tvinput and com.mediatek.tv.service (HDMI, AV, tuner),+# com.cvte.tv.setting (LiveTvGlobal), com.cvte.tv.media ("Файлы", USB media), ru.sberdevices.app.starkeyboard (the+# only IME), ru.sberdevices.webview, ru.sberdevices.starmarket (Sber's app catalogue: the only way apps get+# updated here), ru.sberdevices.settings, com.sberbank.settings, every com.cvte.* package (factory and TV API apps+# among them: do not open com.cvte.fac.menu, com.cvte.factory.*, com.cvte.tv.tools or ru.sberdevices.TvFactoryHelper).+# No separate OTA package on this firmware; nothing here touches updates.++# Sber background services+ru.sberdevices.survey # surveys+ru.sberdevices.bugreporter # StarBugReporter+ru.sberdevices.starcleaner # StarCleaner, the "Очистка памяти" screen+ru.sberdevices.rcfupdater # remote control firmware updater; the paired remote keeps working; re-enabled at boot+ru.sberdevices.starprofile # user profiles+ru.sberdevices.openbeta # beta programme; installed itself during the session+ru.sberdevices.tv # "Настройка провайдеров", TV provider setup; HDMI unaffected; re-enabled at boot++# Sber screensaver: point screensaver_components at another dream first, see README.md+ru.sberdevices.starscreensaver++# Sber content apps and promos+ru.sberdevices.music # Zvuk+ru.sberdevices.videos # "Видео" catalogue+ru.sberdevices.starlivetv # StarLiveTv, Sber's online channels+ru.sberdevices.sberplay # SberPlay games+ru.sberdevices.subscriptions # SberPrime; re-enabled at boot+ru.sberdevices.starbrowser # Salute browser+ru.sberdevices.starkidsroom.prod # kids room; installed itself during the session+ru.sberdevices.parentcontrol # parental control; installed itself during the session+ru.sberdevices.smarthome.promo # smart home promo; re-enabled at boot+com.salute.star # "Умный дом" smart home app++# Screen sharing+com.mediatek.androidbox # WFDSinkTest, the Miracast receiver++# Preinstalled streaming apps the owner does not use (Wink, Kinopoisk, VK Video and Rutube were kept)+ru.more.play # Okko; re-installed and re-enabled by Sber at boot+ru.mts.mtstv # KION+ru.ivi.client # Ivi+com.vgtrk.smotrim # Smotrim+ru.tv1.android.tv # Channel One+tv.lfstrm.smotreshka_stb # Smotreshka+com.yandex.browser.tv # Yandex Browser+org.videolan.vlc # VLC (vendor build); USB media still plays in com.cvte.tv.mediadiff --git a/examples/sber-salute-tv-pb766/tv.json b/examples/sber-salute-tv-pb766/tv.jsonnew file mode 100644index 000000000..13646e9d2--- /dev/null+++ b/examples/sber-salute-tv-pb766/tv.json@@ -0,0 +1,6 @@+{+ "tv": "Sber Salute TV 32\" (CVTE TPD.MT9216.PB766, MediaTek MT9256, 1 GB), Russia",+ "os": "StarOS 1.103 / Android 11",+ "brand": "Sber",+ "notes": "Second StarOS list, MediaTek board: Sber content apps, SberPrime, kids room, parental control, smart home, browser, screensaver, surveys, beta, bug reporter, cleaner, Miracast; Developer options open normally; stock launcher kept enabled (CVTE); five apps re-enabled by Sber's platform service at boot are hidden in `config.json`; no Google services, so no official YouTube; reboot-checked"+}