# 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)
#
# Second unit: Philips 55OLED907/12 (55" OLED+, 2022, Ambilight), French retail unit on Wi-Fi. Same board, same
# firmware RTT2.211108.001 (build 21029), security patch 2025-10-01.
# Status (55OLED907): applied 2026-10-19, applied again after a factory reset, in daily use since; re-checked
# 2026-10-26 with `pm list packages -d`. On that unit katniss (Google Assistant) and ipcontrol were kept, and the
# optional section at the end of this file was disabled as well.
# Philips quirks seen on the 55OLED907:
#   * The screensaver ships off and the firmware puts its delay back to "never" at every boot: on an OLED, set it
#     again after each boot.
#   * With "Ambilight+hue" enabled in the TV's Ambilight settings, the TV turns the Hue lamps back on at every
#     power-on, whatever was chosen before standby.
#   * The JointSPACE API (port 1926) works from another computer, but called from an app on the TV itself it drives
#     org.droidtv.xtv to 100 % CPU with connections that never close, until the TV is restarted.
#   * Also keep there: org.droidtv.philipstvdrawer (the OPTIONS key), org.droidtv.xtvsystem,
#     org.droidtv.homeintentresolver, org.droidtv.channels, org.droidtv.alhuewizard and org.droidtv.sunrise
#     (Ambilight + Hue) and com.easy.oad (USB firmware updates).
#
# 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

# --- optional: also disabled on the 55OLED907 (second unit) -----------------
# Commented out so that this list does not change for anyone; remove the "# " in front of the ones you want.
# org.droidtv.tv.frameworklogger         # framework event logger
# org.droidtv.fastip                     # free ad-supported channels, has an advertising-ID activity
# com.zeasn.whalelive                    # Whale TV (free ad-supported channels)
# org.droidtv.dropboxprovider            # Dropbox provider
# org.droidtv.nettv_launcherapp          # Philips Smart TV app launcher
# org.droidtv.nettvapp1815               # Zeasn web app
# org.droidtv.nettvapp20004410           # Zeasn web app
# org.droidtv.nettvapp4546               # Zeasn web app
# org.droidtv.nettvapp4655               # Zeasn web app (Deezer)
# org.droidtv.nettvapp5326               # Zeasn web app
# org.droidtv.nettvapp5512               # Zeasn web app
# org.droidtv.amazonalexa                # Alexa only; Google Assistant (katniss) is separate
# org.droidtv.leanbackcustomizer         # partner customisation of the stock launcher; the OPTIONS key keeps working
# io.mimi.sdk.service                    # Mimi sound personalisation service
# com.google.android.marvin.talkback     # TalkBack screen reader; keep it if anyone in the home needs it
# org.droidtv.m7opapp                    # M7 satellite operators (Canal Digitaal, TV Vlaanderen, Skylink, HD Austria)
# Streaming apps, disabled on the 55OLED907 by its owner's choice (taste, not bloat):
# com.netflix.ninja                      # Netflix
# com.amazon.amazonvideo.livingroom      # Prime Video
# com.apple.atve.androidtv.appletv       # Apple TV
# com.google.android.youtube.tvmusic     # YouTube Music
# tv.wuaki.apptv                         # Rakuten TV
# fr.filmotv.philips.android.tv          # FilmoTV
# com.google.android.videos              # Google Play Movies
# com.boosteroidtv.streaming             # Boosteroid (cloud gaming)
