Skip to content

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

addons: Open on wake README, the Android 10+ grant and the Philco test

Luiz Fernando42f60b6e5bc5
diff --git a/addons/README.md b/addons/README.md
index f39fffd33..393f0c0fc 100644
--- a/addons/README.md
+++ b/addons/README.md
@@ -20,7 +20,7 @@ the core bigger or change how it behaves. You install an add-on only if you want
| [TV Hub](tv-hub/) | One live-TV guide for M3U/XMLTV playlists, Dispatcharr and HDHomeRun tuners, with a Media3 player and shortcuts to installed live-TV apps | [@maxhayim](https://github.com/maxhayim) | MOKA R8G (Android TV 14) | `INTERNET` | <img src="tv-hub/screenshot.jpg" width="240" alt="TV Hub on a TV"> |
| [Headphones](headphones/) | Bluetooth headphones made easy: where the sound goes, paired pairs with battery, a pairing shortcut, and a quiet guard that pauses and mutes the speakers when headphones drop | [@maxhayim](https://github.com/maxhayim) | MOKA R8G (Android 14) | Bluetooth (paired devices only) | <img src="headphones/screenshot.jpg" width="240" alt="Headphones on a TV"> |
| [TV Static](tv-static/) | An off-the-air moment each time the screen turns on: the picture opens from a bright line, snow and hiss, colour bars or an old "no signal" screen for 3 to 10 s, then fades into what was on screen; the card sets style, sound and length | [@luyzfernando08](https://github.com/luyzfernando08) | Xiaomi Mi Box S (Android TV 9), Philco by Skyworth (Android TV 14) | foreground service (screen-on watcher), start at boot, display over other apps | <img src="tv-static/screenshot.jpg" width="240" alt="TV Static on a TV"> |
-| [Open on wake](wake-app/) | Opens the app you choose each time the screen turns on, optionally at a link (a video, a channel); the card shows the app as a picture and sets the wait | [@luyzfernando08](https://github.com/luyzfernando08) | Xiaomi Mi Box S (Android TV 9) | foreground service (screen-on watcher), start at boot, display over other apps | <img src="wake-app/screenshot.jpg" width="240" alt="Open on wake on a TV"> |
+| [Open on wake](wake-app/) | Opens the app you choose each time the screen turns on, optionally at a link (a video, a channel); the card shows the app as a picture and sets the wait | [@luyzfernando08](https://github.com/luyzfernando08) | Xiaomi Mi Box S (Android TV 9), Philco by Skyworth (Android TV 14) | foreground service (screen-on watcher), start at boot, display over other apps | <img src="wake-app/screenshot.jpg" width="240" alt="Open on wake on a TV"> |
| [Brightness](brightness/) | Dims the picture below the TV's own minimum over every app (and the picture settings on Realtek TVs), with a warm night mode on a schedule and a one-press normal screen | [@maxhayim](https://github.com/maxhayim) | MOKA R8G (Android 14) | overlay, foreground service, start at boot | <img src="brightness/screenshot.jpg" width="240" alt="Brightness on a TV"> |
| [Sleep Timer](sleep-timer/) | A sleep timer: 15 to 120 minutes, a one-minute countdown over what is playing with "15 more minutes", then standby; over HDMI-CEC the TV turns off with the box | [@luyzfernando08](https://github.com/luyzfernando08) | Xiaomi Mi Box S (Android TV 9) | accessibility (lock-screen action only), display over other apps, exact alarms | <img src="sleep-timer/screenshot.jpg" width="240" alt="Sleep Timer on a TV"> |
| [Scoreboard](scoreboard/) | Streaming app usage leaderboard tracking launches and watch time with D-pad click-to-launch | [@EricWoodford](https://github.com/EricWoodford) | TiVo Stream 4K (Android TV 12) | `PACKAGE_USAGE_STATS` (granted via ADB) | <img src="scoreboard/screenshot.jpg" width="240" alt="Scoreboard on a TV"> |
diff --git a/addons/wake-app/README.md b/addons/wake-app/README.md
index 74571d27d..d6d8b0e81 100644
--- a/addons/wake-app/README.md
+++ b/addons/wake-app/README.md
@@ -73,7 +73,10 @@ Then press Home and answer **Show card** if you want the card; Keep hidden leave
once then. On TCL sets the install script also allows the `APP_AUTO_START` app-op.
- **Display over other apps** (`SYSTEM_ALERT_WINDOW`), granted by the install script with `appops`: Android 10
and later only let an app start another app's screen from the background when it holds this. The app draws no
- overlay window.
+ overlay window. On Android 9 it is not needed. On Android 10 and later, without it nothing opens: on a Philco
+ (Android 14) with the grant revoked the screen woke and the app stayed shut, and with it granted the app opened.
+ The install script grants it; if you install the APK another way, run
+ `adb shell appops set io.github.luyzfernando08.wakeapp SYSTEM_ALERT_WINDOW allow`.
- **App list**: a `<queries>` entry for launcher apps, so the picker can list them. No `QUERY_ALL_PACKAGES`.
- No network, no storage permission, nothing collected. Settings stay in the app's private preferences.
- **`WatchService`** is exported only to callers holding `WRITE_SECURE_SETTINGS`, which the adb shell has and
@@ -85,5 +88,7 @@ Then press Home and answer **Show card** if you want the card; Keep hidden leave
- Xiaomi Mi Box S (MIBOX4, Android TV 9), with the reference launcher 3.1: the picker and the settings card
with the real remote; opening the chosen app by itself after the screen went off and on again (standby, woken
with the remote); a link: the YouTube app opened straight on a video screen, not on its home page. A launcher
- chosen from the install script is refused. Not tried: a TCL set, a boot (the 8-second delay) or a link to
- a live TV channel.
+ chosen from the install script is refused. Not tried: a boot (the 8-second delay) or a link to a live TV
+ channel.
+- Philco Smart TV by Skyworth (sunnyvale, MediaTek, Android TV 14), launcher 3.1: opening tinyCam by itself on
+ waking from standby, and not opening it with the overlay grant revoked (see Permissions). Not tried on a TCL set.