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: Turkcell TV+ 4K Box (SDMC DV6069Y, Android TV 10)
Yiğit Büyükeren1ccd45d81785
diff --git a/README.md b/README.mdindex e90b28262..f21c55944 100644--- a/README.md+++ b/README.md@@ -290,6 +290,7 @@ Anker Nebula, BYINTEK, Epson, Gadnic, JMGO, Portronics, Stellamore, Wanbo and XG| Tornado 65UA1400E (El Araby, Skyworth-built SW4H, MediaTek m7332), Egypt | Android TV 11 || Toshiba (Vestel Cosmos170, yeoksam, MediaTek), Spain | Android TV 11 || Toshiba Fire TV (AFTHA004, hazel) | Fire OS 7 / Android 9 |+| Turkcell TV+ 4K Box (SDMC DV6069Y, Amlogic), Turkey, operator streaming box | Android TV 10 || Verizon Stream TV, 1st gen (WNC JS8V, Amlogic), US | Android 12 || Vidda VIDAA_TV (Hisense sub-brand; device MT9653, board mt5879), China JuUI | Android TV 11 || Vision 2024VISION43STV (CVTE TP.T950D4T.PB751, Amlogic T950D4, 1 GB), Europe | Android 13 |diff --git a/examples/README.md b/examples/README.mdindex 1fd77920d..cb1cc1fbb 100644--- a/examples/README.md+++ b/examples/README.md@@ -183,6 +183,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `toshiba-cosmos-android-tv/` | Toshiba (Vestel Cosmos170, yeoksam, MediaTek), Spain | Android TV 11 | First Vestel list: vestelreporter telemetry, retail demo, partner auto-installs, Google recommendation rows/feedback, Freeview Play remnants; voice, stock YouTube/YT Music, Prime Video, USB media player off by choice; OTA and Chromecast kept; 1 GB low-RAM; Live TV is `com.mediatek.wwtv.tvcenter` (`com.cltv.fast` is an OEM-disabled decoy); remote's YouTube/Prime keys are handled below Android and cannot be remapped; uk.co.freeview.* ships factory-disabled on Spain units || `thomson-t32rtl6000/` | Thomson T32RTL6000 (SCBC, Realtek; Android reports model `ATV R1`) | Android TV 9 | Same SCBC platform as `sanyo-atv-r2/`: Google recommendation rows, telemetry and feedback, SCBC consent agent, S-Channels row, partner auto-installs, Assistant, Vewd store, OEM factory/test apps, OTA kept off; tuner stack, remote/Bluetooth and FastCast (FastScreen package) must stay; system TvProvider stays empty (vendor tuner owns EPG) so launcher channel rows are dormant; 34 packages || `toshiba-fire-tv-aftha004/` | Toshiba Fire TV (AFTHA004, hazel) | Fire OS 7 / Android 9 | Amazon ACR, metrics, shopping, tutorials, Miracast sink; streaming preloads off by choice; debloat only |+| `turkcell-tv-plus-4k-box-dv6069y/` | Turkcell TV+ 4K Box (SDMC DV6069Y, Amlogic), Turkey, operator streaming box | Android TV 10 | Operator box but Google-certified with the stock tvlauncher; Google feedback and recommendations, SDMC log reader, factory test, operator launcher rows, autorun and partner auto-installs; voice, Chromecast and YouTube off by choice (SmartTube instead); **disabling YouTube crashes `com.sdmc.GlobalKey` and kills every remote app button** until `app_keys` takes BUTTON_4/5/10 (InputKeyService); phone remote service returns at boot; box defaulted to 2160p YCbCr 4:2:0 on a 1080p monitor; 2 GB; reboot-checked || `verizon-stream-tv/` | Verizon Stream TV, 1st gen (WNC JS8V, Amlogic), US | Android 12 | Verizon AMS event recorder (app, screen, power + Crashlytics), Assistant, Chromecast, screensaver, TalkBack/TTS, unused streaming apps and the stock Verizon launcher; streaming box, no HDMI inputs, Live TV only works with Pluto TV kept; BT remote pairs with OK + Apps held 6 s, its Apps button needs the launcher's key service; firmware updates, setupwraith (owns the saved Wi-Fi) and `com.wnc.*` kept; AdGuard DNS works; sideloading and HOME launchers accepted || `vidda-mt9653/` | Vidda VIDAA_TV (Hisense sub-brand; device MT9653, board mt5879), China JuUI | Android TV 11 | First JuUI-namespace list (`com.jamdeo.*`): telemetry, Alibaba/CIBN shopping and ad services, operator widget rows, retail/hotel/factory, the 拍信创意 ad screensaver, and two vendor homes (`com.jamdeo.tv.vod`, `com.keylab.speech.view.vidaa` secondscreen, which boots by component name and can only be disabled as a package); `com.hisense.tv.tiletransition` must stay or input switching silently stops working; Home key arrives as KEYCODE_F12 (scancode 102); source panel is the only input path (no TvInputManager); `ro.adb.secure=0`; 3.8 GB || `vision-2024vision43stv/` | Vision 2024VISION43STV (CVTE TP.T950D4T.PB751, Amlogic T950D4, 1 GB), Europe | Android 13 | Not Google TV (CVTE launcher and settings); CVTE ad/telemetry services, Zeasn content service, ad screensaver, weather and cleaner off; ADB from the factory menu (MENU 1147 on a source), no authorisation; no FallbackHome, so the new Home must be `directBootAware` before the stock launcher goes (black screen at boot otherwise, LAN-cable recovery in the header); Home key sends `COMMON_HOME`; inputs and channels go through CVTE's TIF player with `toActivity` TvSettingActivity; Input key needs an accessibility key filter; launcher works |diff --git a/examples/turkcell-tv-plus-4k-box-dv6069y/debloat.txt b/examples/turkcell-tv-plus-4k-box-dv6069y/debloat.txtnew file mode 100644index 000000000..112c3b4b5--- /dev/null+++ b/examples/turkcell-tv-plus-4k-box-dv6069y/debloat.txt@@ -0,0 +1,68 @@+# Turkcell TV+ 4K Box (TV PLUS 4K BOX, SDMC DV6069Y_TVPLUS, Amlogic, board "faraday"), Turkey, operator streaming box+# Android TV 10 (SDK 29), build QT.20230328, security patch 2023-02-05. 2 GB RAM, 32-bit userspace (armeabi-v7a).+# Fingerprint: TVPLUS/TVPLUS_OTT/DV6069Y_TVPLUS:10/QT/20230328:user/release-keys+#+# Apply: TV_HOST=<box ip> tools/disable.sh examples/turkcell-tv-plus-4k-box-dv6069y/debloat.txt+# Undo: TV_HOST=<box ip> tools/restore.sh examples/turkcell-tv-plus-4k-box-dv6069y/debloat.txt+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+# Tested on one box the same day, including several reboots; not a multi-day soak.+#+# A streaming box: no HDMI-in or tuner, so set live_tv_package empty in config.xml. Stock launcher:+# com.google.android.tvlauncher (the scripts' default). It is a Google-certified Android TV: Play Store, Play Services+# and the standard launcher, no operator home screen. No user restrictions or device owner; sideloading works.+#+# Notes from this box:+# - Network debugging opens port 5555 with ro.adb.secure=1, so each computer is accepted on screen.+# - The remote's app buttons are global keys handled by com.sdmc.GlobalKey (keylayout Vendor_7545_Product_0171.kl):+# YouTube = KEYCODE_BUTTON_4 (KEY_F1), Play Store = BUTTON_5 (KEY_F3), TV+ = BUTTON_10 (key 185, which+# GlobalKey calls "SDMCEXTEND2"). GlobalKey starts the mapped app; if the app is not installed it opens its Play+# Store page instead. The keylayout also maps a Prime Video key (63, BUTTON_8), but this box's remote has none.+# - DISABLING YOUTUBE BREAKS THE PLAY STORE BUTTON: GlobalKey only checks that a package is installed, so the+# YouTube button on a disabled com.google.android.youtube.tv throws ActivityNotFoundException and crashes+# GlobalKey. After repeated crashes Android marks the process bad and every app button (Play Store, TV+)+# is dead until a reboot. If you+# disable YouTube, take the buttons away from GlobalKey with app_keys and INPUT_KEY_SERVICE=1, e.g.+# "KEYCODE_BUTTON_4:<your YouTube app>", "KEYCODE_BUTTON_5:com.android.vending", "KEYCODE_BUTTON_10:<package>".+# InputKeyService gets the keys before the global-key broadcast. Checked with the real remote after a reboot.+# - com.google.android.tv.remote.service comes back at every boot, after both pm disable-user and pm uninstall --user 0,+# so it is not listed here (about 14 MB).+# - com.sdmc.disablecec turns HDMI-CEC off on first boot only (com_sdmc_disablecec_first_run=1); switching CEC on in+# Settings sticks.+# - The test unit was on a 1080p PC monitor and the box had picked 2160p59.94 with YCbCr 4:2:0 (cur_VIC 353 in+# /sys/class/amhdmitx/amhdmitx0/config). Settings > TV settings > Display > Screen resolution set to 1080p-59.94hz+# switched it to VIC 16, YCbCr 4:4:4, and it survives a reboot.+# - Free RAM after boot went from about 460 MB to about 930 MB; ZRAM in use from about 185 MB to about 25 MB.+# - AdGuard Private DNS (dns.adguard-dns.com) works.+#+# Kept on purpose: com.sdmc.GlobalKey (remote app buttons), com.sdmc.standbyserver (standby), com.sdmc.bluetoothconnect+# (remote pairing), com.sdmc.disablecec, com.sdmc.factorymonitor (watches package removal, purpose unclear),+# com.droidlogic* (Amlogic settings, display and Bluetooth), com.droidlogic.otaupgrade (firmware updates),+# com.google.android.tungsten.setupwraith, com.google.android.inputmethod.latin (keyboard), Play Store, Play Services.++# Telemetry, log collection, factory test+com.google.android.feedback+com.google.android.tv.bugreportsender+com.droidlogic.readlog # copies logs to a USB drive when one is mounted+com.sdmc.facTest # factory tester, starts at boot; checked with dumpsys only, never opened++# Recommendations, operator customisation, auto-installs+com.google.android.tvrecommendations+com.sdmc.leakbackcustomer # operator rows and widgets for the stock launcher (PARTNER_CONFIGURATION)+android.autoinstalls.config.sdmc # Play auto-install of partner apps+com.sdmc.autorunapp # starts the operator app at boot++# Personal choice: voice, casting, YouTube+com.google.android.katniss # voice assistant; the mic button stops working+com.google.android.apps.mediashell # Chromecast built-in+com.google.android.youtube.tv # replaced by SmartTube here; read the GlobalKey note above first++# Personal choice: the operator app (the test box had it removed for user 0 instead, so disable-user is untested)+# com.turkcell.ott # TV+; the remote's TV+ button opens its Play Store page once it is gone++# Preloaded apps+com.google.android.videos # Play Movies+com.google.android.play.games+com.google.android.marvin.talkback+com.android.printspooler+com.android.camera2+com.android.gallery3d