Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

docs(examples): trim Mi Box 683 variant for upstream review

Carmonacu0a10661e977a
diff --git a/examples/xiaomi-mi-box-s-2nd-gen/README.md b/examples/xiaomi-mi-box-s-2nd-gen/README.md
index a5bfbd069..1e73fd437 100644
--- a/examples/xiaomi-mi-box-s-2nd-gen/README.md
+++ b/examples/xiaomi-mi-box-s-2nd-gen/README.md
@@ -24,19 +24,15 @@ cd launcher
powershell -ExecutionPolicy Bypass -File .\build-and-install.ps1 -TvHost $env:TV_HOST -InputKeyService -HomeKeyService
```
-Look and wallpaper are personal: use any folder under [`themes/`](../../themes/README.md) with `tools/theme.ps1`, or
-change **Wallpaper** in **Launcher settings** (hold OK on **Settings** → **Launcher settings**) after a theme with
-pictures is on the TV.
-
-Remote mapping for this build is in [`launcher-config.example.json`](launcher-config.example.json). Push it in a
-**your own** theme folder (copy a theme from `themes/` first — `manage.py` refuses writing into `examples/`), or bake
-the same keys into `launcher/.../config.xml` before `build-and-install`.
+Remote mapping for this build is in [`launcher-config.example.json`](launcher-config.example.json). Push the same
+`app_keys` in **your own** theme folder (copy a theme from `themes/` first — `manage.py` refuses writing into
+`examples/`), or bake the keys into `launcher/.../config.xml` before `build-and-install`.
### Remote (`app_keys` — build 683, `Vendor_2717_Product_32b9.kl`)
-| Button | Scancode(s) | Typical target |
+| Button | Scancode(s) | Example target |
| --- | --- | --- |
-| Netflix | 240, 416 | Your streaming app (example: Crunchyroll) |
+| Netflix | 240, 416 | Crunchyroll (`com.crunchyroll.crunchyroid`) |
| YouTube | 425, 426 | SmartTube stable (`org.smarttube.stable`) |
| Prime | 207 | Max (`com.wbd.stream`) |
@@ -46,33 +42,8 @@ Install order: **launcher first**, then disable `com.google.android.apps.tv.laun
`com.google.android.tungsten.setupwraith` (see `debloat.txt`). If `disable.sh` skips setupwraith because Wi‑Fi was saved
during setup, re-join the network in Settings or use `FORCE_SETUPWRAITH=1` knowing the password may be asked again.
-### Private DNS (optional, set once)
-
-In this project the most documented **set-and-forget** choice is **[AdGuard public DNS](https://adguard-dns.io/en/public-dns.html)** filter (`dns.adguard-dns.com`). It appears throughout `docs/faq.md`, device notes, and `PROMPT.md`. It **persists across reboots**; you should not need to toggle it unless something stops playing.
-
-```powershell
-adb -s <box-ip>:5555 shell settings put global private_dns_specifier dns.adguard-dns.com
-adb -s <box-ip>:5555 shell settings put global private_dns_mode hostname
-```
-
-Check: `settings get global private_dns_mode` → `hostname`. Undo only if an app or provider breaks:
-`settings put global private_dns_mode opportunistic`.
-
-**Limits:** does not remove YouTube ads (use SmartTube) or all in-app promos on Disney+/Max. **[NextDNS](https://nextdns.io)** is the usual alternative if you want your own blocklists (needs an account and a personal hostname); cleanyourtv documents it less often than AdGuard.
-
-Many Google TV boxes have **no Settings UI** for Private DNS; ADB (or the prompt’s `tools/tv.py` lines) is normal.
-
-### Animation scale (optional)
-
-```powershell
-adb shell settings put global window_animation_scale 0.5
-adb shell settings put global transition_animation_scale 0.5
-adb shell settings put global animator_duration_scale 0.5
-```
-
-### Apply debloat
-
-[`debloat-phase1.txt`](debloat-phase1.txt) then launcher install, then [`debloat-phase2-setupwraith.txt`](debloat-phase2-setupwraith.txt), or the full [`debloat.txt`](debloat.txt) with the same ordering rules.
+Apply the list with `TV_HOST=<box-ip> tools/disable.sh examples/xiaomi-mi-box-s-2nd-gen/debloat.txt` (same ordering
+rules as in the file header).
### Still working after soak (683)
diff --git a/examples/xiaomi-mi-box-s-2nd-gen/debloat-phase1.txt b/examples/xiaomi-mi-box-s-2nd-gen/debloat-phase1.txt
deleted file mode 100644
index 8c4df9900..000000000
--- a/examples/xiaomi-mi-box-s-2nd-gen/debloat-phase1.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-# Phase 1: telemetry, Mi promos, preloads — before disabling setupwraith.
-# See README.md (build 683). Omit lines you want to keep.
-
-com.miui.tv.analytics
-com.xiaomi.statistic
-com.google.android.feedback
-com.google.android.partnersetup
-com.mitv.tvhome.oemtab
-com.mitv.tvhome.michannel
-com.mitv.tvhome.mitvplus
-com.mitv.tvhome.atv
-com.xm.webcontent
-android.autoinstalls.config.xioami.mibox3
-com.xiaomi.mitv.updateservice
-com.amazon.amazonvideo.livingroom
-com.google.android.videos
-com.google.android.play.games
-com.android.printspooler
-com.xiaomi.android.tvsetup.partnercustomizer
-com.google.android.youtube.tv
-com.netflix.ninja
diff --git a/examples/xiaomi-mi-box-s-2nd-gen/debloat-phase2-setupwraith.txt b/examples/xiaomi-mi-box-s-2nd-gen/debloat-phase2-setupwraith.txt
deleted file mode 100644
index a10ea6be9..000000000
--- a/examples/xiaomi-mi-box-s-2nd-gen/debloat-phase2-setupwraith.txt
+++ /dev/null
@@ -1 +0,0 @@
-com.google.android.tungsten.setupwraith
diff --git a/examples/xiaomi-mi-box-s-2nd-gen/debloat.txt b/examples/xiaomi-mi-box-s-2nd-gen/debloat.txt
index 43363558f..587bd41d5 100644
--- a/examples/xiaomi-mi-box-s-2nd-gen/debloat.txt
+++ b/examples/xiaomi-mi-box-s-2nd-gen/debloat.txt
@@ -1,6 +1,7 @@
# Xiaomi Mi Box S 2nd gen (model MiTV-AFKR0, codename jaws, Amlogic), Google TV / Android 11 (SDK 30),
# 2 GB RAM. Fingerprints: Xiaomi/jaws/jaws:11/RTT0.211222.001/772:user/release-keys and
-# RTT0.211222.001.737 (validated 2026-10-19 on a Philco 4K TV)
+# RTT0.211222.001.737 (validated 2026-10-19 on a Philco 4K TV) and RTT0.211222.001.683 (EU box, build 683 remote
+# scancodes — see README.md)
# Second unit on 772 (EU box, validated 2026-10-25): same list, launcher owns Home across reboots. Its notes
# are marked "772" below.
#
diff --git a/examples/xiaomi-mi-box-s-2nd-gen/launcher-config.example.json b/examples/xiaomi-mi-box-s-2nd-gen/launcher-config.example.json
index 82675c2b7..95c8b1483 100644
--- a/examples/xiaomi-mi-box-s-2nd-gen/launcher-config.example.json
+++ b/examples/xiaomi-mi-box-s-2nd-gen/launcher-config.example.json
@@ -1,16 +1,4 @@
{
- "_comment": "Example overlay for tools/theme.ps1 or merge into your own theme folder. Visual keys (wallpaper, colours) are up to you — see themes/README.md.",
- "dock_apps": [
- "org.smarttube.stable",
- "com.disney.disneyplus",
- "com.crunchyroll.crunchyroid",
- "com.wbd.stream"
- ],
- "hidden_apps": [
- "com.netflix.ninja",
- "com.google.android.youtube.tv",
- "com.amazon.amazonvideo.livingroom"
- ],
"app_keys": [
"scan:240:com.crunchyroll.crunchyroid",
"scan:416:com.crunchyroll.crunchyroid",
diff --git a/examples/xiaomi-mi-box-s-2nd-gen/tv.json b/examples/xiaomi-mi-box-s-2nd-gen/tv.json
index abb839a4c..e95b20aa9 100644
--- a/examples/xiaomi-mi-box-s-2nd-gen/tv.json
+++ b/examples/xiaomi-mi-box-s-2nd-gen/tv.json
@@ -2,5 +2,5 @@
"tv": "Xiaomi Mi Box S 2nd gen (MiTV-AFKR0, jaws), streaming box",
"os": "Google TV 11",
"brand": "Xiaomi",
- "notes": "Mi ad row and PatchWall, Mi analytics, partner auto-installs; setupwraith off for launcher; EU build 683: disable partnercustomizer for app_keys, YouTube scancodes 425/426 — see README.md and carmonacu-theme/"
+ "notes": "Mi ad row and PatchWall, Mi analytics, partner auto-installs, update service off by choice; setupwraith off for launcher; build 683: partnercustomizer off for app_keys, YouTube scancodes 425/426 — see README.md"
}