Skip to content

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

examples: add Philips 65OLED907/12 (PH1M_EA_9970A, Wi-Fi)

Chris Peters95166b990e52
diff --git a/examples/philips-65oled907/debloat.txt b/examples/philips-65oled907/debloat.txt
new file mode 100644
index 000000000..899141007
--- /dev/null
+++ b/examples/philips-65oled907/debloat.txt
@@ -0,0 +1,64 @@
+# Philips 65OLED907/12 (65" OLED+, 2022 model, Ambilight, B&W soundbar), UK
+# Android TV 11 (SDK 30), board PH1M_EA_9970A, firmware RTT2.211108.001, build RTT2.211108.001 release-keys
+# ro.product.model=2021/22 Philips UHD Android TV ro.product.device=PH1M_EA_9970A
+# 197 packages installed; connected over Wi-Fi (wlan0)
+#
+# A TAILORED list, not a copy of another owner's. The board and firmware match
+# examples/philips-50pus8517, examples/philips-55oled707 and examples/philips-65oled706 exactly, so their
+# DO NOT DISABLE block and firmware quirks apply here as written. Read the 50PUS8517 file first.
+#
+# What this list deliberately does NOT do, and why:
+# * com.google.android.tvlauncher is NOT listed. launcher/build-and-install.sh disabled the stock
+# launcher as part of the Home handover, and recorded its own restore snippet
+# (~/cleanyourtv-handover-<host>.txt). Adding it here would make tools/restore.sh record it as
+# "already disabled" and refuse to bring it back.
+# * The streaming apps stay: com.netflix.ninja, com.amazon.amazonvideo.livingroom,
+# com.google.android.youtube.tv and com.google.android.youtube.tvmusic. The 50PUS8517 and 65OLED706
+# lists disable Netflix and Prime Video because those owners did not use them. That is taste, not bloat.
+# * com.google.android.tungsten.setupwraith is NOT listed. This TV is on Wi-Fi, and the 55OLED707 file
+# says to keep it on a Wi-Fi set. Checked on this unit anyway: the saved network cname= is
+# android.uid.system:1000, not setupwraith, so disabling it would be safe here -- it is simply not
+# worth the risk for 24 MB. tools/disable.sh re-checks this at runtime regardless.
+# * Kept on purpose, all user-visible: org.droidtv.ambiair/ambihuecommon/calmancalibrator (Ambilight),
+# org.droidtv.xtv (the SOURCES drawer and the JointSpace API on 1925/1926), org.droidtv.eum,
+# org.droidtv.aurora, org.droidtv.playtv, hdmiservice, GlobalKey, tvsystemui, org.droidtv.oad,
+# com.phorus.playfi.softap (DTS Play-Fi), io.mimi.* (Mimi sound personalisation),
+# com.google.android.marvin.talkback (screen reader), org.droidtv.dlna (Media source),
+# org.droidtv.amazonalexa, com.cybercat.adbappcontrol.tv, com.spocky.projengmenu (Projectivy).
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/philips-65oled907/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/philips-65oled907/debloat.txt com.google.android.tvlauncher
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Quirks that apply, from examples/philips-50pus8517 (same board, same firmware):
+# * pm disable-user persists to package-restrictions.xml with a ~10 s delay. Confirm with
+# `pm list packages -d` before power-cycling, or the run is silently lost.
+# * `adb reboot` over TCP hangs holding the dropped connection.
+# * The Android 11 shell cannot disable individual components of another app, and cannot `pm hide`.
+
+# --- telemetry and analytics: the TV reporting on you -------------------------
+org.droidtv.candeebug # "DAC" analytics uploader: channel watched, resolution, HDMI-CEC devices, viewing times, Ambilight config. Uploads to AWS Firehose/S3 and geolocates the public IP via ipinfo.io
+org.droidtv.gel # metrics collector running inside candeebug's process
+org.droidtv.usagelogger # boot stats, remote keypress counts, panel/eMMC telemetry feeding the two above
+com.google.android.feedback # Market Feedback Agent
+com.google.android.partnersetup # partner referrer / attribution
+
+# --- promoted content, storefronts and retail junk ----------------------------
+org.droidtv.nettvrecommender # "Top Picks" content promotion row
+org.droidtv.recommendation # its headless backend; disable the row above first or you get a live tile with no data source
+org.droidtv.nettv.market # "Smart TV Collection" app storefront
+org.droidtv.nettvapps # "NetTvApps", headless; holds TV_INSTALL_PACKAGES_SILENT, i.e. the gallery's silent preload installer
+org.droidtv.demome # "Demo me" retail demo mode, e-sticker and shop loop
+org.droidtv.astrahdplus # HD+ (German satellite operator) info pages; not applicable on a UK Freeview set
+android.autoinstalls.config.tpv.device # Play auto-install of TP Vision partner apps
+com.google.android.tvrecommendations # "Android TV Core Services" despite the name: recommendation rows, channels AND the notification panel. Disabling this is visible: the stock notification panel goes with it
+
+# --- one-time helpers and unused services ------------------------------------
+com.google.android.onetimeinitializer # runs once at first setup, nothing afterwards
+com.google.android.sss.authbridge # Second Screen Setup Auth Bridge (set-up-from-phone helper)
+com.google.android.syncadapters.calendar # Google Calendar sync; no calendar app is installed on this TV
+com.google.android.play.games # Play Games; not used on a TV
+
+# --- owner's explicit choices on this unit -----------------------------------
+com.google.android.katniss # Assistant and voice search, ~101 MB across two processes. Kills the remote's mic button, "Hey Google", on-screen voice search and the mic icon inside YouTube/Play Store search. Settings and tvsystemui guard their calls into it, so nothing crashes
+org.droidtv.ipcontrol # LAN control of volume, audio output, Ambilight on/off and ShopMode. NOT the JointSpace API on 1925/1926 -- that is served by org.droidtv.xtv, which stays. Owner does not drive the TV from Home Assistant
diff --git a/examples/philips-65oled907/tv.json b/examples/philips-65oled907/tv.json
new file mode 100644
index 000000000..e4e6f9629
--- /dev/null
+++ b/examples/philips-65oled907/tv.json
@@ -0,0 +1,6 @@
+{
+ "tv": "Philips 65OLED907/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), UK",
+ "os": "Android TV 11",
+ "brand": "Philips",
+ "notes": "First **Wi-Fi** unit on this board: the `philips-50pus8517/`, `philips-55oled707/` and `philips-65oled706/` lists were all written on Ethernet, which is why the setupwraith advice for the board had never been checked against a wireless set (here the saved network's `cname=` is `android.uid.system:1000`, not setupwraith, so it would be safe -- it is still left out); DAC/GEL analytics, usage logging, Top Picks and its backend, NetTV store and its silent installer, retail demo, Play auto-installs, HD+ pages, Market Feedback and partner attribution; streaming apps, Ambilight, Play-Fi, DLNA, Alexa, TalkBack and setupwraith kept; voice and IP control off by choice; `usagelogger` and `demome` are TV_INPUT_HARDWARE false positives here (neither serves `TvInputService`) and are applied with `TVINPUT_ALLOW=1`; reboot-checked"
+}