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 Hisense HiSmartTV A4 (xiaoyushan, Android TV 9)
Prateek Jainc200c6a1ca78
diff --git a/examples/README.md b/examples/README.mdindex 038cce39f..34595296a 100644--- a/examples/README.md+++ b/examples/README.md@@ -8,6 +8,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `benq-e55-735/` | BenQ E55-735 (Changhong AI PONT, DVB96BQ) | Google TV 14 | Homwee store/help, Anoki ACR, Google TV recommendations; wireless-debugging pairing, setupwraith, deep-standby notes || `chiq-ai-pont/` | CHiQ AI PONT (DVB93CQ) | Android TV 11 | Anoki ACR, FAST channels, AI PONT, Homwee services || `google-chromecast-gtv-4k/` | Chromecast with Google TV 4K (sabrina) | Google TV 14 | Google telemetry and ad services, ambient mode, launcherx + setupwraith; wireless-debugging pairing, YouTube button remap |+| `hisense-hismarttv-a4/` | Hisense HiSmartTV A4 (xiaoyushan, MStar m7322), India | Android TV 9 | Hisense log reporting, sponsored home rows, store demo, preload auto-installs, OTA; USB debugging opens port 5555, no wireless toggle; smartsense kept || `hisense-smarttv-4k-ffm/` | Hisense SmartTV 4K FFM (huangshan, MediaTek) | Android TV 10 | ACR (evservice), VIDAA preload, store/hotel mode, OTA; smartsense must stay enabled || `insignia-ns55f301na25/` | Insignia 55" F30 4K Fire TV (NS-55F301NA25, AFTDCT31, duckie) | Fire OS 7 / Android 9 | Amazon ACR telemetry, Fire TV ads/shopping, Alexa, OTA updates; AirPlay and TIF HDMI inputs kept || `nvidia-shield-tv-pro-2019/` | NVIDIA SHIELD TV Pro 2019 (P2897, mdarcy) | Android TV 11 | NVIDIA telemetry, GameStream leftovers, sponsored rows, partner auto-installs |diff --git a/examples/hisense-hismarttv-a4/debloat.txt b/examples/hisense-hismarttv-a4/debloat.txtnew file mode 100644index 000000000..c017328b7--- /dev/null+++ b/examples/hisense-hismarttv-a4/debloat.txt@@ -0,0 +1,52 @@+# Hisense HiSmartTV A4 (device xiaoyushan, product xiaoyushan-em, MStar/MediaTek m7322), Android TV 9,+# firmware PTMR.190127.037 (build 01.00.00.04), security patch 2020-05-05. Sold in India.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/hisense-hismarttv-a4/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/hisense-hismarttv-a4/debloat.txt+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# ADB: Developer options has USB debugging only, no Wireless or Network debugging toggle. Turning+# USB debugging on opens network ADB on port 5555 directly.+# Applied in the four groups below with ~15 s wait and a reboot after each (as the Hisense FFM list+# advises): normal boot every time, HDMI 1-3, AV and the tuner still listed by the TV input framework.+# Stock launcher: com.google.android.tvlauncher (the default in restore.sh). It is not in this list:+# launcher/build-and-install.sh disables it after the new launcher is running. The stock home shows a+# full-width "Sponsored" banner and a sponsored row, which only goes away with the launcher swap.+#+# Keep: com.mediatek.* (Live TV, HDMI, hotkeys, factory), com.hisense.tv.hitvinput (the HDMI/AV/tuner+# inputs), com.hisense.kpad (remote's menu key), com.mstar.netflixobserver (remote's Netflix key),+# com.hisense.tv.customerlauncher, com.hisense.uifac, com.hisense.audio_update_service, and+# com.hisense.tv.smartsense (left alone because of the Recovery warning in hisense-smarttv-4k-ffm).+# Kept by choice: Chromecast (mediashell), Assistant (katniss, pumpkin), Miracast receiver+# ("Screen Sharing", com.mediatek.androidbox), YouTube.+# Already disabled at the factory: com.google.android.backdrop, com.google.android.apps.inputmethod.zhuyin.++# Group 1: telemetry+com.hisense.app.logreport # Hisense LogReportManagerService+com.google.android.feedback+com.google.android.tv.bugreportsender++# Group 2: recommendation rows, retail demo, silent preload installs+com.google.android.tvrecommendations+com.google.android.leanbacklauncher.recommendations+com.google.android.leanbacklauncher # old launcher, not a HOME candidate on this firmware+com.hisense.storemode+fusion.android.tv.demo # retail display+com.mstar.android.tv.disclaimercustomization # store disclaimer screen+android.autoinstalls.config.hisense.xiaoyushan++# Group 3: preloaded apps+com.seraphic.browser # Hisense browser+com.google.android.music # Play Music, discontinued+com.google.android.videos+com.google.android.play.games+com.google.android.apps.nbu.smartconnect.tv+com.netflix.ninja # off by choice+com.amazon.amazonvideo.livingroom # Prime Video, off by choice+com.hisense.tv.hisremotenow # RemoteNOW phone remote, off by choice+com.jamdeo.tv.mediacenter # USB media player, off by choice+com.hisense.myapplication # Hisense screensaver (DayDreamService), off by choice++# Group 4: firmware updates. Re-enable both to receive an OTA update.+com.hisense.tv.ota+com.hisense.remoteupgrade