Skip to content

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

docs: report Sony KD-65A8F Taiwan firmware compatibility

Justin Huang043f99c25c0c
diff --git a/docs/devices/sony-kd-65a8f-tw.md b/docs/devices/sony-kd-65a8f-tw.md
new file mode 100644
index 000000000..c1b066710
--- /dev/null
+++ b/docs/devices/sony-kd-65a8f-tw.md
@@ -0,0 +1,160 @@
+# Sony KD-65A8F (Taiwan firmware): compatibility report
+
+Successful initial cleanup and reference-launcher handover on one Taiwan-market
+65-inch OLED TV, tested on October 24, 2026. This is a same-day report, not a
+several-day tested debloat list. The retail model was supplied by the owner;
+Android reports a generic platform model.
+
+## Original Sony firmware
+
+The firmware was recorded before any package changes. No firmware was flashed
+or updated during this session.
+
+| Field | Recorded value |
+|---|---|
+| Owner-reported retail model | Sony `KD-65A8F`, Taiwan |
+| Android model | `BRAVIA 4K GB ATV3` |
+| Product / device | `BRAVIA_ATV3_4K_TW` / `BRAVIA_ATV3_4K` |
+| Android / API | `9` / `28` |
+| Original Sony build display ID | `BRAVIA_ATV3_4K_TW-user 9 PTT1.190515.001.S54 672201 release-keys` |
+| Build incremental | `672201` |
+| Security patch | `2022-01-05` |
+| Platform | MediaTek `mt5891` |
+
+The full recorded fingerprint is:
+
+```text
+Sony/BRAVIA_ATV3_4K_TW/BRAVIA_ATV3_4K:9/PTT1.190515.001.S54/672201:user/release-keys
+```
+
+These are the exact system-reported firmware identifiers. A separate Sony
+`PKG...` version from the TV's Help screen was not captured and is not inferred
+from the build number. The Taiwan OLED variant is not established as equivalent
+to the US/Canada or EU LCD models that share the S54 / 672201 build family.
+
+## Launcher handover and reboot result
+
+The reference launcher was built from commit
+`cc4c7c596c089c4a16f39480fef75c3349469bf9`, version 2.7 / versionCode 8. Only
+TV-specific resource configuration was changed; Java sources, manifest,
+permissions, and SDK levels were unchanged. The build succeeded on a Raspberry
+Pi ARM64 host using a user-local JDK 21 and Debian's native AAPT2 override.
+
+The original Home component was:
+
+```text
+com.google.android.tvlauncher/.MainActivity
+```
+
+The replacement was installed and explicitly opened while stock Home remained
+enabled. Pressing Home still returned to stock during this trial, as expected.
+After the owner approved handover:
+
+- Stock Home answered HOME at priority 2, the replacement at priority 0, and Sony
+ Settings' `FallbackHome` at priority -1000. No setup wizard claimed HOME.
+- `set-home-activity` reported `Success` with stock Home enabled, but both the
+ HOME resolver and the focused window still selected stock Home.
+- Disabling only `com.google.android.tvlauncher` and setting
+ `com.gathin.tvhome/.MainActivity` again made both checks select the replacement.
+ No setup wizard package was disabled.
+- A subsequent reboot changed the kernel boot ID and completed normally. ADB
+ reconnected, the replacement was already focused before a Home key was
+ injected, and both the HOME resolver and injected Home selected it.
+- The original disabled-package set plus the seven initial cleanup packages
+ and stock Home remained disabled after that reboot. Other enabled packages,
+ input-service registrations, display values, screensaver, timeout, keyboard,
+ and accessibility settings were unchanged in the recorded comparisons.
+
+The optional Home/Input accessibility helpers were not enabled. The owner
+reported that the physical Home, Input, Settings, app shortcuts, and held-volume
+checks were normal before the final launcher reboot. These were grouped owner
+checks, not separate instrumented tests of every button.
+
+## Sony inputs and OLED settings
+
+The local configuration used `com.sony.dtv.tvx` as `live_tv_package`, and hid
+`com.sony.dtv.tvx` and `com.sony.dtv.tvxlauncher.programguide` only from the app
+grid. Neither package nor the HDMI/tuner services were disabled.
+
+The UI reported a physical size of 1920 x 1080 and density 320, with no overrides.
+Those values were left unchanged; they describe the UI, not the OLED panel's
+native resolution. The existing system screensaver and standby settings were
+preserved. The launcher's clock screensaver was not selected, and its optional
+Home-idle clock remained off.
+
+## Recorded package changes, not a recommended list
+
+All changes used `pm disable-user --user 0`; nothing was uninstalled and no app
+data was cleared. The following seven packages were the initial cleanup batch
+and were checked across reboot:
+
+| Package | Recorded purpose |
+|---|---|
+| `tv.samba.ssm` | Samba TV viewing recognition |
+| `com.sony.dtv.sonyselect` | Sony Select content/promotional entry point |
+| `com.sony.dtv.discovery` | Sony Discover content interface; persistent-process caveat below |
+| `com.google.android.tvrecommendations` | Google recommendation services |
+| `com.sony.dtv.demomode` | Retail demo mode |
+| `com.sony.dtv.demosupport` | Retail demo support |
+| `com.sony.dtv.multiscreendemo` | Retail multi-screen demo |
+
+Stock Home was a separate eighth change, made only after the replacement had
+been tested. A later, separately backed-up batch disabled five more packages:
+
+| Package | Recorded purpose / tradeoff |
+|---|---|
+| `com.sony.dtv.sonybugreportsys` | Sony bug-report integration |
+| `com.google.android.tv.bugreportsender` | Google TV bug-report submission |
+| `com.google.android.feedback` | Market Feedback Agent |
+| `com.sony.dtv.da.service` | APK label `Remote Support`; app-activity, power, and audio status collectors; loses Sony remote support |
+| `com.qterics.da.product` | Qterics Product Kit provider used by that remote-support agent |
+
+The later five package states were read back as disabled and the owner reported
+normal operation, but **that later batch was not reboot-tested**. There is no
+several-day stability claim for either batch, and this report does not claim
+that all telemetry embedded in streaming apps or Google services was blocked.
+
+Two packages were already disabled before this work and were left alone:
+`com.sony.dtv.smarthomesettings` and `com.google.android.inputmethod.latin`.
+The original states of each changed package were recorded as enabled=0
+(manifest default), with per-component overrides left intact. Recovery plans
+preserve that distinction rather than blindly enabling every package. Actual
+restoration was not exercised.
+
+## Important retained components and observations
+
+- `com.sony.dtv.bivlinfo` was retained: its live package dump registers software
+ search/download result events (`SW_SEARCH_*`, `SW_MANUAL_SEARCH_*`, and
+ `SW_*_DL_*`). Its recommendation role alone was not a reason to disable it
+ while preserving firmware updates.
+- Chromecast, screen mirroring, voice, phone remote, Sony IP control, firmware
+ updates, Play Store/Services, HDMI/CEC, audio, Bluetooth, keyboard, and
+ Sony/MediaTek infrastructure were retained. Preservation is not a claim that
+ every feature was individually exercised.
+- Despite `com.sony.dtv.discovery` retaining user-0 enabled=3 after reboot,
+ ActivityManager still showed its own process with
+ `packageList={com.sony.dtv.discovery}`, `persistent=true`, and a persistent
+ system process state. The APK flags include `PERSISTENT`. Successful package
+ disablement did **not** establish that its process stopped running. The
+ firmware startup path was not investigated or modified.
+- The owner explicitly confirmed Netflix playback and later reported the
+ grouped app/navigation checks as normal. HDMI signal/audio, ARC/CEC, tuner
+ reception, each casting protocol, voice, updates, long standby/wake, and OLED
+ maintenance were not independently verified.
+- Screenshots confirmed that the replacement Home rendered and its configured
+ app tiles were present. No measured performance or RAM-savings claim is made.
+
+## Debugging closure and follow-up limits
+
+The TV used its built-in Ethernet port, with no external USB accessories.
+`ro.adb.secure` was 1, and the saved ADB identity was reused. After the owner
+reported switching debugging off, three TCP-only checks of the previously
+reachable ADB port returned `ECONNREFUSED`, rather than timing out. No ADB
+authentication or TV interaction was attempted during those closure checks.
+Authorization revocation in the TV UI was not independently confirmed, and no
+additional reboot was performed after the later package batch or ADB shutdown.
+
+This note deliberately omits IP addresses, device identifiers, account details,
+raw dumps, private keys, screenshots, APKs, and local recovery scripts. Per the
+TV-list workflow, a several-day list can be contributed later after additional
+owner observation and explicit validation of the remaining limitations.
diff --git a/examples/README.md b/examples/README.md
index 68185e524..0d5341af7 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -273,6 +273,7 @@ Notes for models that have no tested list yet live in [`docs/devices/`](../docs/
- [TCL BeyondTV AP08](../docs/devices/tcl-beyondtv-ap08.md), `RTD2851`, Android TV 9, patch `2021-01-05`: single-session launcher and package-change report, streaming apps/voice/casting preserved, physical remote and casting checked after restart; no several-day debloat list.
- [Haier `HRA962X2_2G_ALI6G_A`](../docs/devices/haier-hra962x2-ali6g-cn.md), China, API 28 / Android 9, `9.0.0-RS-20230315.0915`: ordinary installer UI, provision HOME handover, physical versus injected Home, a once-per-boot adaptation, the settings overlay service (RootActivity opens the source menu), static wallpaper and exact-state recovery. One-day observations with a locally adapted launcher; no several-day debloat list.
- [Sony XR-75X91K (China firmware)](../docs/devices/sony-xr-75x91k-cn.md), owner-reported retail model, `BRAVIA 4K VH21` / `BRAVIA_VH21`, Android 12: ChinaHome launcher component, preferred-Home handover with stock Home enabled, Sony TV/input routing and explicit validation limits; no tested debloat list.
+- [Sony KD-65A8F (Taiwan firmware)](../docs/devices/sony-kd-65a8f-tw.md), owner-reported 65-inch OLED, `BRAVIA_ATV3_4K_TW`, Android TV 9 `PTT1.190515.001.S54` (build `672201`): successful same-day reference-launcher handover and reboot check, stock HOME priority 2, an enabled=3 Discover package whose persistent process remains, preserved OLED settings, and a later reporting/remote-support batch not reboot-tested; no several-day debloat list.
- [Sony KD-55X9000H (PA firmware)](../docs/devices/sony-kd-55x9000h.md), `BRAVIA VH1` / `BRAVIA_VH1`, Android 12 `STT2.230505.001.S137` (build `626241`): one-day report with a locally customized launcher, Google stock Home handover and reboot checks, Sony input routing and owner-reported remote/app checks; no several-day debloat list.
- [Sony K-85XR70](../docs/devices/sony-k85xr70-ae2.md), `BRAVIA 4K AE2`, Android 14, China, `114.602.170.1`: the UI runs at 1080p on a 4K panel by firmware, and a boot can bring the override density back as 640 (UI doubled and clipped) until `display_density_forced` is written as well as `wm density`; no debloat list.
- [FPD CG50-C3](../docs/devices/fpd-cg50-c3.md), KTC-built `EcoTV Pro A` / `FPD_4KHA0`, MediaTek, Google TV 11 `RTM9.241015.016`, Canada: a one-day list, kept as a note for that reason; setupwraith owned a saved network that was not the one in use, so `FORCE_SETUPWRAITH=1` was safe; the RC-36 remote's gear and notifications buttons arrive as scancodes 240/362 with `KEY_UNKNOWN`/`KEY_PROGRAM`, so they need `settings_key_scancodes` rather than a keycode.