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
docs: add philips 49pus7150 android 5.1 notes
Mustafa Eftekinb35752103005
diff --git a/docs/devices/philips-49pus7150.md b/docs/devices/philips-49pus7150.mdnew file mode 100644index 000000000..5562161fe--- /dev/null+++ b/docs/devices/philips-49pus7150.md@@ -0,0 +1,103 @@+# Philips 49PUS7150/12 (2015, QV151E, Marvell, Android TV 5.1.1): `pm disable-user`, `pm hide` and device owner refused++This is an owner report from one TV, **not a debloat list for the repo tools**. The adb shell cannot disable,+hide or manage packages on this firmware (next section), so there is deliberately no `examples/` entry. What+follows is what plain ADB showed on this unit, so the next owner of a 2015 Philips Android TV can skip the dead+ends. The TV is a Turkish unit (`49PUK7150/12`); the European `49PUS7150/12` is the same platform.++| Field | Observed value |+|---|---|+| Retail model | 49PUK7150/12 (mDNS / Cast name), sold as the 49PUS7150/12 elsewhere |+| Android model / device | `QV151E` / `QV151E` |+| Fingerprint | `PHILIPS/QV151E/QV151E:5.1.1/LMY48N/0538219:user/release-keys` |+| Android / API | 5.1.1 / 22, never offered Android 6 on this unit |+| RAM | 940 MB (`MemTotal` 964304 kB); 58 MB free (`MemFree`) on the stock install |+| Stock home | `com.google.android.leanbacklauncher` |+| Live TV app | `org.droidtv.playtv` (tuner `org.droidtv.tunerservice`, HDMI `org.droidtv.hdmiService`) |+| ADB | USB debugging alone opens TCP 5555; the RSA prompt appears at the first connection |++## What the adb shell refuses++| Command | Result |+|---|---|+| `pm disable-user <pkg>` (and `pm disable`) | `SecurityException: Permission Denial: attempt to change component state ... uid=2000` for every package |+| `pm hide <pkg>` | `SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS` |+| `dpm set-device-owner` (with no accounts on the TV, `device_provisioned` briefly 0) | `Can't set package ... as device owner`: `pm list features` has no `android.software.device_admin`, so the device policy service is a no-op and `setApplicationHidden` is out of reach |++Unlike the [XGIMI H1](xgimi-h1.md) on the same Android version, `pm hide` is closed too, so `tools/disable.sh`+has nothing to call. `launcher/build-and-install.sh` stops at the SDK check (the launcher needs Android 8.0).++## What does work: the Settings app's own Disable button++The phone-style Settings screen still ships and runs as the system uid, and its **Disable** button works where+the shell does not. It opens from adb:++```bash+adb shell am start -a android.settings.APPLICATION_DETAILS_SETTINGS -d package:<pkg>+```++On that screen the remote's Right then OK presses **Disable**, and Right then OK confirms the dialog. **Enable**+on the same screen undoes it. Disabled packages stayed disabled across a reboot.++The button is greyed out for everything signed with the Philips platform key, which includes every package that+would matter most here: `org.droidtv.candeebug` (analytics), `org.droidtv.usagelogger`, `org.droidtv.nettvadvert`,+`org.droidtv.nettvrecommender`, `org.droidtv.sticker`, `org.droidtv.nettvregistration`, `org.droidtv.demome`,+`org.droidtv.nettv.market`, `org.droidtv.nettvapps`, `org.droidtv.nettvbrowser` (HbbTV, the largest process at+about 56 MB), `org.droidtv.epg`, `org.droidtv.dms`, also `com.teamviewer.quicksupport.addon.tpvision2k15_v1`,+`com.google.android.exoplayer.demo` and `com.google.android.tv.remote`.++These were disabled through that button on this unit, with home, Live TV, the HDMI inputs and a reboot checked+afterwards:++```text+com.google.android.gms com.google.android.gsf com.google.android.gsf.notouch+com.android.vending com.google.android.apps.mediashell com.google.android.katniss+com.google.android.speech.pumpkin com.google.android.tts com.google.android.tv.voiceinput+com.google.android.sss com.google.android.sss.authbridge com.google.android.partnersetup+com.google.android.onetimeinitializer com.google.android.backuptransport com.google.android.feedback+com.google.android.music com.google.android.play.games com.google.android.videos+com.google.android.youtube.tv com.google.android.syncadapters.calendar com.google.android.syncadapters.contacts+com.netflix.ninja com.teamviewer.quicksupport.market org.droidtv.nettv_launcherapp+com.android.camera com.android.inputmethod.pinyin com.android.printspooler+com.android.musicfx com.android.dreams.basic com.android.htmlviewer+com.android.providers.downloads.ui+```++Disabling Play services and the Play Store was a choice for a TV that only shows broadcast channels: the+leanback home and Live TV kept working, a reboot came up straight into Live TV, and free RAM went from 58 MB to+about 330 MB. Leave them enabled if you want any Google app on the TV itself. The Philips Live TV stack was left+alone: `org.droidtv.playtv`, `tunerservice`, `channels`, `epg`, `teletext`, `mheg`, `ci`, `xtv`, `tvserver`,+`settings`, `GlobalKey`, the HDMI/SCART/component services and `tvcontentprovider`.++## Why the preloaded apps no longer play++With no Play Store updates since the factory image (a fresh reset leaves 2017 builds), the preloads fail:+Netflix 3.3.2 shows error `-121`, YouTube 1.2.7 shows "action not allowed". Of current apps, the last Netflix+build with minSdk 22 (8.3.11) installs over the system app, but Disney+'s last API 22 build is refused by its+server with "update required" (current builds need API 23) and Prime Video stops at "temporary problem". A new+Google account could not sign in on Play services 8.3 either: the web step asks for 2-Step Verification and a+seven-day wait. A streaming stick on HDMI is the practical way to keep this panel.++## Using it as a screen for a stick++- HDMI inputs open with the passthrough URI, which switches the panel straight to that port:+ `content://android.media.tv/passthrough/org.droidtv.hdmiService%2F.HdmiService%2FHW9`. `HW9` to `HW12` are+ HDMI 1 to 4 here (checked with `dumpsys hdmi_control`, routing path `0x1000` to `0x4000`).+- The remote's TV key (`KEYCODE_TV`) returns to the tuner. CEC (EasyLink) is on by default, so a stick's own+ Home key also switches the panel to it.+- An accessibility service with `flagRequestFilterKeyEvents` does receive the physical remote's keys on this+ Android 5.1, so an otherwise unused Philips key (Android key code 326 on this remote) can be mapped to the+ passthrough intent in a small app of your own. Key events injected with `adb shell input` did not reach the+ service; test with the real remote.+- The only accessibility service enabled out of the box is Philips' own+ `org.droidtv.nettvadvert/.advertisementimpressions.AdvertisementImpressionAccessibilityService`, which reports+ ad impressions. Setting `enabled_accessibility_services` to your own service replaces it.++## Other notes++- Network adb hung once (`offline`, no reply to the handshake) after relaunching an app; only a mains power cycle+ brought it back.+- Total audio loss that needs a power cycle was reported on this set before any change was made. The audio+ service (`ampservice`) logs `MV_OSAL_Mutex_Lock handle is null` continuously; the cause was not narrowed down.+- Status: 2026-11-04, one unit, one day of use after the changes above. Live TV was checked through the video+ decoder logs and the routing path, not per source. Not checked: the Sources menu, HbbTV, USB playback.diff --git a/examples/README.md b/examples/README.mdindex 43a35877f..061200195 100644--- a/examples/README.md+++ b/examples/README.md@@ -482,6 +482,7 @@ Notes for models that have no tested list yet live in [`docs/devices/`](../docs/- [Philips 65PUG7406/78](../docs/devices/philips-65pug7406-78.md), Brazil, Android TV 11, `TPM215L_R.105.000.097.000`: HOME handover notes and owner-selected Live TV/Assistant disables; no several-day debloat list.- [Philips 49PUS8303/12](../docs/devices/philips-49pus8303.md) (`TPM171E` / `PH7M_EU_5596`, MediaTek MT5891, Android TV 8.0, `OC` 4718, patch 2021-01-05): same firmware family as the 55PUS7503 and 65PUS8102 lists, different sales model, so those lists were not applied. The reference launcher is Home and only `com.google.android.tvlauncher` was disabled. The owner confirmed the home screen. No several-day debloat list.- [Philips 55PUS6432/12](../docs/devices/philips-55pus6432.md) (`QM163E` / `QM16XE_U`, MediaTek MT5890, 2016 set on Android TV 8.0, `QM163E.0.26.70.1`, patch 2019-09-01): a year older than the `TPM171E` lists, Live TV is `org.droidtv.zapster`, not `playtv`. Fourteen packages from the 55PUS7503 list disabled in one session and the reference launcher made Home, checked after a reboot; removing the Play updates of disabled apps freed 153 MB but re-enabled them. No several-day debloat list.+- [Philips 49PUS7150/12](../docs/devices/philips-49pus7150.md) (`QV151E`, Marvell, 2015 set on Android TV 5.1.1 `LMY48N`): `pm disable-user`, `pm hide` and device owner are all refused; only the Settings app's Disable button works, and it is greyed out for every Philips-signed package. Notes for using the panel as a screen for a streaming stick (HDMI passthrough URIs, `KEYCODE_TV`, remote keys in an accessibility service). No debloat list.- [Samsung C71KW-200 / AT&T Osprey](../docs/devices/samsung-c71kw-200.md), Android TV 11, `RTT4.250301.001.release-r-sam-25Q3.2-refresh-cert-1`: in-place update to unmodified upstream launcher source, six-column theme, native reorder persistence, Home recovery and reboot checks; no tested debloat list.- [Hisense LED55MU7000U](../docs/devices/hisense-led55mu7000u.md), China, Android 5.1.1 (SDK 22), firmware `01.02.40.01` (reported UI version `JUUI 8.4.02.630`): the boot ad remained after the ad preference changed; firmware rejected disabling the advertising service; no validated debloat list.- [Hisense VIDAA_TV / AMLOGICT963](../docs/devices/hisense-amlogict963-android9.md), China, Android 9 `07.02.70.02` (retail model unconfirmed): with 聚好看 still enabled, a third-party launcher became Home and the physical Home key returned to it after reboot; the brief 聚好看 boot branding does not establish that its app launched. Launcher observation only, no tested debloat list.