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: Amazon Fire TV 50" 4K (AFTTIFF43, brandenburg), done remotely
מקס חיים214a7279a490
diff --git a/README.md b/README.mdindex 12e2bf7ed..5177dd7ca 100644--- a/README.md+++ b/README.md@@ -116,7 +116,7 @@ Tested lists from contributors, one folder per model in [`examples/`](examples/)**TCL** 20 · **Sony** 17 · **Xiaomi** 15 · **Philips** 7 · **Hisense** 6 · **Panasonic** 3 ·**Amazon Fire TV Stick** 2 · **BenQ** 2 · **CHiQ** 2 · **Haier** 2 · **Hitachi** 2 · **NVIDIA Shield** 2 ·-**Skyworth** 2 · **Vu** 2 · AiPro2K · AIWA · Chromecast with Google TV · FFalcon · Freebox · Insignia Fire TV ·+**Skyworth** 2 · **Vu** 2 · AiPro2K · AIWA · Amazon Fire TV · Chromecast with Google TV · FFalcon · Freebox · Insignia Fire TV ·Kalley · MTC · OnePlus · onn · PRISM+ · RCA · Redmi · SANYO · Thomson · Toshiba Fire TV · Vidda ·BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors@@ -127,6 +127,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors|---|---|| AiPro2K (Expressluck, dongnae; Changhong AI PONT family) | Android TV 14 || AIWA AI PONT SA (Changhong, osaka, ISDB86AW) | Google TV 14 |+| Amazon Fire TV 50" 4K smart TV (AFTTIFF43, brandenburg) | Fire OS 7.7.1.7 / Android 9 || Amazon Fire TV Stick 4K, 1st gen 2018 (AFTMM, mantis) | Fire OS 6.7.1.1 / Android 7.1 || Amazon Fire TV Stick Lite, 1st gen 2020 (AFTSS, sheldon) | Fire OS 7.7.1.7 / Android 9 || BenQ E55-735 (Changhong AI PONT, DVB96BQ) | Google TV 14 |diff --git a/docs/REMOTE.md b/docs/REMOTE.mdindex e3983cfde..bc1374151 100644--- a/docs/REMOTE.md+++ b/docs/REMOTE.md@@ -44,10 +44,18 @@ in their home forwards your connection to the TV's normal local address:- a Mac, Windows PC or Linux machine that stays on during the session, or a Raspberry Pi for apermanent setup;- an Apple TV, through the Subnet Router option in its Tailscale app;+- a Synology NAS, with Tailscale from Package Center. Its Tailscale page (DSM, or port 5252) has a+ Subnet router section, but it's read-only when you open it from a tagged device. Without SSH, a+ one-off Task Scheduler task (Control Panel → Task Scheduler → Create → Triggered Task →+ User-defined script, user root, then Run and delete it) runs+ `/var/packages/Tailscale/target/bin/tailscale set --advertise-routes=192.168.1.0/24`; the+ setting persists;- not a phone: the Android and iOS apps can't route their home network.The helper has to be in **your** tailnet, because shared machines don't carry their subnet routes-into other tailnets. Install Tailscale on it and send yourself the login link it shows; open it+into other tailnets. (If they already run a tailnet, at an office say, the reverse works too: they+add you as a user, you add their tailnet as a second account in your Tailscale app and switch to+it for the session.) Install Tailscale on it and send yourself the login link it shows; open itsigned in to your account. Then advertise their home network (the first three numbers of the TV'saddress, from the TV's network settings):diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.mdindex 9c50fbe8d..84e1c8ef7 100644--- a/docs/TROUBLESHOOTING.md+++ b/docs/TROUBLESHOOTING.md@@ -46,9 +46,10 @@ Things that bit us or contributors, so they don't bite you. Commands use `tools/- **Chained `pm` commands** (`pm disable a; pm disable b`) may silently stop after the first. Runone per shell call; `--batch` does exactly that.- **Large pushes hang** through the Python client. Use `tools/b64push.py` for APKs.-- **`adb exec-out screencap -p` gives a broken PNG** on some MediaTek Xiaomi sets: the binary prints- `Init wrapper sys mutex successful` on stdout first. Save on the TV and pull the file instead:- `screencap -p /data/local/tmp/s.png`.+- **`adb exec-out screencap -p` gives a broken PNG** on some MediaTek sets (Xiaomi, and Amazon's+ own Fire TV smart TVs): the binary prints `Init wrapper sys mutex successful` on stdout first.+ Save on the TV and pull the file instead: `screencap -p /data/local/tmp/s.png`, or cut+ everything before the `\x89PNG` header.- **Play Protect blocked the launcher** ("unsafe app blocked, built for an older version of Android")and `pm install` hung, then failed with `INSTALL_FAILED_VERIFICATION_FAILURE`, while it targetedSDK 29. It targets 34 now; if you built an old checkout, rebuild.diff --git a/examples/README.md b/examples/README.mdindex da48e71be..3ab79ba71 100644--- a/examples/README.md+++ b/examples/README.md@@ -7,6 +7,7 @@ on that firmware, grouped and commented. These are starting points: comment out|---|---|---|---|| `aipro2k/` | AiPro2K (Expressluck, dongnae; Changhong AI PONT family) | Android TV 14 | Anoki ACR, Google ad services, retail demo and Wi-Fi Display test apps; 1 GB; setupwraith must go with launcherx (Home falls to its RecoveryActivity); CVTE/Expressluck factory packages and `com.epl.hotkey` kept || `aiwa-ai-pont-sa/` | AIWA AI PONT SA (Changhong, osaka, ISDB86AW) | Google TV 14 | Anoki ACR, ambient mode, partner auto-installs, Homwee store/help; setupwraith before launcherx; Live TV is tvcenter (the input player stays black); remote source button is KEY_G, not mapped yet; config.json puts TV ao vivo first; firmware updater kept |+| `amazon-fire-tv-afttiff43/` | Amazon Fire TV 50" 4K smart TV (AFTTIFF43, brandenburg) | Fire OS 7.7.1.7 / Android 9 | Done remotely through a Synology subnet router; Toshiba list plus Insignia ad/tracking packages: ACR, metrics, advertising ID, Shopping, demo, tutorials, Music/Photos/Luna/Kids, Alexa extras, Ambient screensaver; four protected packages noted; Alexa core, casting, OTA, Live TV, Silk kept; AdGuard Private DNS works; debloat only || `amazon-fire-tv-stick-4k-2018/` | Amazon Fire TV Stick 4K, 1st gen 2018 (AFTMM, mantis) | Fire OS 6.7.1.1 / Android 7.1 | First Fire OS 6 list: Amazon telemetry, ad/recommendation feeders, Live tab and Fire TV Channels, Shopping, Kids, Music/Photos/Silk, whole-home audio, Alexa extras; unused streaming apps off by choice; ten protected packages noted; voice search, OTA, casting kept; debloat only, sponsored rows need DNS blocking || `amazon-fire-tv-stick-lite-2020/` | Amazon Fire TV Stick Lite, 1st gen 2020 (AFTSS, sheldon) | Fire OS 7.7.1.7 / Android 9 | Same build as the Toshiba list: Amazon telemetry, ACR, ad/recommendation feeders, Live tab, Shopping, Kids, Music/Photos/Silk, whole-home audio, Alexa extras incl. `com.amazon.aca` (Alexa hints, ~44 MB; voice search still works); five protected packages noted; voice search, Prime Video, miniTV, casting, OTA kept; privacy and Featured Content autoplay toggles; debloat only || `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 |diff --git a/examples/amazon-fire-tv-afttiff43/debloat.txt b/examples/amazon-fire-tv-afttiff43/debloat.txtnew file mode 100644index 000000000..7f8c2c157--- /dev/null+++ b/examples/amazon-fire-tv-afttiff43/debloat.txt@@ -0,0 +1,67 @@+# Amazon Fire TV 50" 4K smart TV (AFTTIFF43, codename brandenburg; panel AMZ_K24NE5_4K50M600A),+# Fire OS 7.7.1.7 / Android 9 (SDK 28), build PS7717.5741N, MediaTek, armeabi-v7a. US.+# Done remotely over Tailscale through a Synology NAS as subnet router (docs/REMOTE.md, option B).+#+# FIRE OS: DEBLOAT ONLY. Home stays com.amazon.tv.launcher/.ui.HomeActivity_vNext (priority 950);+# the shared launcher does not apply. Same build line as toshiba-fire-tv-aftha004, and the list+# starts from it plus the ad and tracking packages from insignia-ns55f301na25.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/amazon-fire-tv-afttiff43/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/amazon-fire-tv-afttiff43/debloat.txt com.amazon.tv.launcher+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Protected (pm disable-user refused with "Cannot disable a protected package"), so left out:+# com.fireos.usagestats.proxy, com.amazon.device.crashmanager, com.amazon.device.metrics,+# com.amazon.ftvads.deeplinking.+#+# Kept on purpose: Alexa core (com.amazon.vizzini, alexadirectivebrokerservice, alexa.datastore;+# the Alexa and Fire TV phone apps control the TV through it, and voice only listens while the mic+# button is held), casting (AirPlay com.apple.airplay.amazon.airplay, Miracast com.amazon.cast.sink,+# DIAL/whisperplay), OTA updates, Live TV and channel scan, Silk (com.amazon.cloud9) and the website+# launcher, account and sync services, Appstore, HDMI inputs (com.mediatek.tvinput), remote and+# Bluetooth.+#+# Ships with only YouTube installed (com.amazon.firetv.youtube); the Netflix/Prime/Disney+ tiles are+# placeholders that install on first open. The Amazon-hosted hero banner on Home is not affected by+# this list; Private DNS (dns.adguard-dns.com) works on this build (private_dns_mode hostname) and+# blocks doubleclick.net and amazon-adsystem.com, but not YouTube ads.+#+# adb exec-out screencap -p prints "Init wrapper sys mutex successful" before the PNG data on this+# set (docs/TROUBLESHOOTING.md).++# Content recognition, telemetry and metrics+com.amazon.tv.acr+com.amazon.tv.fw.metrics+com.amazon.neo.minerva+com.amazon.neo.minerva.logcat+com.amazon.wirelessmetrics.service+com.amazon.perfcollection+com.amazon.perfc+com.amazon.dp.logger+com.amazon.hybridadidservice # advertising ID++# Ads, shopping, retail demo, tutorials+com.amazon.sneakpeek+com.amazon.tv.democontent.provider+com.amazon.shoptv.client+com.amazon.shoptv.firetv.client+com.amazon.storm.lightning.tutorial+com.amazon.tmm.tutorial++# Amazon apps (owner's choice)+com.amazon.bueller.music # Amazon Music+com.amazon.bueller.photos # Amazon Photos+com.amazon.tv.localgallery+com.amazon.gamehub # Luna / Game Hub+com.amazon.minitv.android.app+com.amazon.naatyam+com.amazon.tahoe # Amazon Kids++# Alexa extras (Alexa core kept)+com.amazon.tv.alexaalerts+com.amazon.tv.alexanotifications+com.amazon.audiohome # Alexa Home Theater++# Screensaver (screensaver_enabled was already 0; idle screen comes from these)+com.amazon.tv.ftvambient # Ambient Experience+com.amazon.ftv.screensaver