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
themes: add retro, a black invisible-dock theme with time-of-day wallpapers
cloud-assa62cf0bde2ac0
diff --git a/README.md b/README.mdindex 3dfa1f8b8..6f95e7627 100644--- a/README.md+++ b/README.md@@ -539,7 +539,7 @@ The **TV** needs Android 8.0 (API 26) or newer: `minSdk` is a compile-time floor|---|---|| **Configure** | Dock order, hidden apps, Live TV app, 4 to 7 tiles per row, reduced motion. All in [`config.xml`](launcher/app/src/main/res/values/config.xml) || **Settings on the TV** | Hold OK on Settings for launcher settings. Optional `launcher_settings_button` makes a normal click open them directly; TV settings remain on the settings page and their app tile. |-| **Themes** | Background, wallpaper and layout from a `config.json` pushed over Wi-Fi, no rebuild. eight ship in [`themes/`](themes/), the built-in `default/` included |+| **Themes** | Background, wallpaper and layout from a `config.json` pushed over Wi-Fi, no rebuild. nine ship in [`themes/`](themes/), the built-in `default/` included || **25 languages** | Follows the TV's language, with a fully mirrored right-to-left layout for Hebrew || **App library** | Optional: browse every installed app and add or remove Home shortcuts. See [the app library guide](docs/app-library.md) || **Tile menu** | Optional (`tile_menu`): hold OK on a tile for Move, Remove from Home and App info. Off, holding OK opens App info |diff --git a/themes/CREATE_A_THEME.md b/themes/CREATE_A_THEME.mdnew file mode 100644index 000000000..109503de5--- /dev/null+++ b/themes/CREATE_A_THEME.md@@ -0,0 +1,125 @@+# Create a theme++A theme is a folder in `themes/<name>/` that changes the launcher's look without rebuilding the APK.+This guide is the prompt to give your coding agent (it needs shell access to the TV). Follow it in+order and you end with a theme that can be shared as a pull request.++Reference: [`themes/README.md`](README.md) lists every key, and [`themes/retro/`](retro/) is a+complete example.++## 0. Before you start++- The Clean Your TV launcher is installed and is Home on the TV.+- `TV_HOST` points at the TV, and `tools/theme.sh` (or `tools/theme.ps1`) works.+- Read [`themes/README.md`](README.md). Every key is optional; an unknown key is ignored, so a+ broken `config.json` never breaks Home.++## 1. Ask the user (do not guess)++1. **Wallpaper:** time-of-day (a picture for morning, afternoon and night) or one static picture?+2. **Where do the pictures come from?** Their own files, or download from+ [wallhaven.cc](https://wallhaven.cc), [4kwallpapers.com](https://4kwallpapers.com) or another+ site they name. Prefer pictures with a stated free licence (CC0 / CC BY) that the repo can+ redistribute: see themes/sweden/CREDITS.md for the format. Never ship a picture the licence+ does not let us redistribute.+3. **Look:** background colour, whether the dock band is visible or invisible, the focus highlight,+ the number of columns, and whether the top buttons are icon-only.+4. **Apps:** the theme should not pin apps; the dock fills with the user's installed apps. If they+ want a fixed order, collect the package names (`tools/tv.py 'pm list packages'`).+5. **Name** for the theme folder (lower-case, hyphens).++## 2. Get the pictures++- Resize each to 1920x1080 and keep it under about 300 KB (JPEG, quality 80-85).+- Time-of-day: name them `morning.jpg`, `evening.jpg`, `night.jpg` and put them in+ `themes/<name>/wallpapers/`.+- Static: save one as `themes/<name>/wallpaper.jpg`.+- Never commit a picture you do not have the right to share.++## 3. Write `themes/<name>/config.json`++Time-of-day example:++```json+{+ "background_color": "#000000",+ "dock_band": false,+ "glass_style": "rim",+ "dock_title": false,+ "columns": 5,+ "ambient_glow": false,+ "app_glow": false,+ "icon_only_buttons": true,+ "icon_only_inputs": true,+ "wifi_status_color": true,+ "tile_menu": true,+ "wallpaper": true,+ "wallpaper_rotation_minutes": 60,+ "wallpaper_moods": {+ "morning": ["morning.jpg"],+ "evening": ["evening.jpg"],+ "night": ["night.jpg"]+ },+ "wallpaper_dim": 10,+ "wallpaper_order": "sequential",+ "reduced_motion": true+}+```++Static example:++```json+{+ "background_color": "#000000",+ "wallpaper": true,+ "wallpaper_rotation_minutes": 0,+ "wallpaper_dim": 10+}+```++`wallpaper_moods` needs `wallpaper_rotation_minutes` greater than 0 to load the collection; for a+single picture, set it to 0 and use `wallpaper.jpg`.++## 4. Push and check on the real TV++```bash+TV_HOST=<tv ip> tools/theme.sh themes/<name>+```++Take a screenshot with the focus on the dock, then look at it:++```bash+TV_HOST=<tv ip> tools/tv.py --screenshot shots/<name>.png+```++Fix what looks wrong (contrast, cropping, spacing) before moving on.++## 5. Save the screenshot++Copy the screenshot to `themes/<name>/screenshot.jpg`, 1280x720 (16:9), under 300 KB. It is+required: a theme without it fails the tests. The focus should be on the dock so the highlight and+the name show.++## 6. Add the row++Add one row to the table in [`themes/README.md`](README.md):++```markdown+| [`retro/`](retro/) | What it looks like in one line | <img src="retro/screenshot.jpg" width="320" alt="retro theme"> |+```++## 7. Open the pull request++- One topic per PR.+- Say which TV, Android version and firmware you tested on.+- Put a screenshot from the TV in the PR description.+- Contributions are released under the repo's MIT licence.++## Notes++- **Apps are the user's choice.** Do not hardcode a dock that only works on your TV. Recommend+ [SmartTube](https://github.com/yuliskov/smarttube) as an optional YouTube replacement, but do not+ require it.+- **Credit the author.** If you modify someone else's theme, rename the folder and identifier so+ both versions can coexist.+- **No network in the launcher.** A theme is local files only; it never downloads anything.diff --git a/themes/README.md b/themes/README.mdindex a4c5310cd..6be28b20e 100644--- a/themes/README.md+++ b/themes/README.md@@ -25,6 +25,7 @@ pushes it with `theme.sh`.| `ruska/` | A Finnish autumn ("ruska") dusk over a lake: spruce shoreline, birches in autumn colour, a few falling leaves, drawn in code by `make_wallpaper.py`. The app-colour glow stays off the picture so the autumn colours keep their own light; the dock is 70% opaque so the lake shows through, and the focus glows in the app's colour without overshoot | <img src="ruska/screenshot.jpg" width="320" alt="ruska theme"> || `scenes/` | 14 dark illustrated landscapes in `wallpapers/`, a new one every hour; drawn from code by `tools/scenes_wallpapers.py` | <img src="scenes/screenshot.jpg" width="320" alt="scenes theme"> || `six-columns/` | Six smaller tiles per row and one grid row visible under the dock | <img src="six-columns/screenshot.jpg" width="320" alt="six-columns theme"> |+| `retro/` | Pure black, a dock with no band or border, a rim-only focus highlight (`glass_style: rim`), no colour gradient, icon-only top buttons, and a wallpaper for morning, afternoon and night. The three pictures are the author's own; see `retro/CREDITS.md`. By [REGT-URRED](https://github.com/REGT-URRED) | <img src="retro/screenshot.jpg" width="320" alt="retro theme"> || `sweden/` | Three photos of Sweden from Wikimedia Commons (the aurora over Abisko, Vasabron at dusk, Skeppsbron in the evening), a new one every hour with its place and photographer under the buttons; six small tiles in a frosted-glass dock, round icon-only buttons, no hero name. The photos are CC BY / CC BY-SA, not MIT: see `sweden/CREDITS.md` | <img src="sweden/screenshot.jpg" width="320" alt="sweden theme"> |Every theme folder has a `screenshot.jpg` of Home with that theme on a real TV. `tools/theme.sh` neverdiff --git a/themes/retro/CREDITS.md b/themes/retro/CREDITS.mdnew file mode 100644index 000000000..7f827fbc9--- /dev/null+++ b/themes/retro/CREDITS.md@@ -0,0 +1,7 @@++# retro wallpapers++All three pictures (6am_4pm.jpg, 4pm_9pm.jpg, 9pm_6am.jpg) were created by the theme author,+REGT-URRED, with AI image tools; they use no third-party material. They are released under+CC0 1.0 (public domain), so the repository can redistribute them alongside its MIT licence:+https://creativecommons.org/publicdomain/zero/1.0/diff --git a/themes/retro/README.md b/themes/retro/README.mdnew file mode 100644index 000000000..ac14b06d5--- /dev/null+++ b/themes/retro/README.md@@ -0,0 +1,83 @@+# Retro++A minimal, retro-flavoured home screen: pure black background, a dock that has no band or border at+all (the apps float over the wallpaper), a rim-only focus highlight instead of the bright glass slab, no+ambient colour gradient, and a wallpaper that follows the time of day.++++**Author:** REGT-URRED (GitHub) ? [@yulrred](https://instagram.com/yulrred) (Instagram)++## What it changes++| Key | Value | Effect |+|---|---|---|+| `background_color` | `#000000` | Pure black behind everything |+| `dock_band` | `false` | No dock band and no edge: tiles float on the wallpaper |+| `glass_style` | `rim` | Focus drawn as a crisp rim alone, no slab, no sheen, no glow |+| `dock_title` | `false` | No large app name above the dock while you move |+| `ambient_glow` / `app_glow` | `false` | No full-screen colour gradient behind the focused app |+| `columns` | `5` | Five tiles per row |+| `icon_only_buttons` / `icon_only_inputs` | `true` | Inputs, Wi-Fi and Settings as round icons |+| `wifi_status_color` | `true` | Wi-Fi icon green while online |+| `tile_menu` | `true` | Hold OK on a tile for Move, Remove and App info |+| `wallpaper_rotation_minutes` | `60` | Rotates only when the time-of-day group changes |+| `wallpaper_moods` | morning/evening/night | See below |+| `wallpaper_dim` | `10` | A light shade so the picture keeps its colour |+| `reduced_motion` | `true` | Calmer motion, fewer frames |++`glass_style` works on the main launcher (since glass_style landed upstream). `dock_band` is a+launcher switch from the companion switches change; on a launcher build without it the theme+still applies the rest and the key is simply ignored.++## Apps: you choose++This theme does **not** pin any app. Your installed apps fill the dock (`fill_dock` is on), and you+can set your own order with `dock_apps` in `themes/retro/config.json` or in Launcher settings on+the TV.++**Recommended:** install [SmartTube](https://github.com/yuliskov/smarttube) (the user installs it,+sideload or store) as a YouTube replacement that has no ads and no tracking. It is optional: if you+keep the stock YouTube app, leave it as is.++## Wallpapers: time of day or a single picture++The theme ships three pictures in `wallpapers/`:++| File | Shown |+|---|---|+| `6am_4pm.jpg` | Morning to afternoon |+| `4pm_9pm.jpg` | Afternoon to night |+| `9pm_6am.jpg` | Night to morning |++The launcher picks the group that fits the clock, so the same theme looks different during the day.+The times are the ones the author uses (Peru); edit `wallpaper_moods` to change them.++To use a **single static picture** instead:++1. Copy your picture to `themes/retro/wallpaper.jpg` (1920x1080, under about 300 KB).+2. In `config.json` set `"wallpaper_rotation_minutes": 0` and remove `"wallpaper_moods"`.+3. Push the theme again.++To swap the pictures, any 1920x1080 JPEG under about 300 KB works. Keep the names if you want+the time-of-day moods, or rename them and update `wallpaper_moods`. The shipped pictures are+the author's own; see `CREDITS.md`.++## Install++```bash+TV_HOST=<tv ip> tools/theme.sh themes/retro+# Windows+powershell -ExecutionPolicy Bypass -File tools\theme.ps1 -TvHost <tv ip> themes\retro+```++Undo with `tools/theme.sh --reset`.++## Tested on++Philips Google TV TA7 (PH3M_AL_T32, Android 14, Google TV), launcher 2.6.++## Credit and forks++You may copy, change and reuse this theme. Keep the author credit above. If you publish a modified+version, use a different folder name and identifier for your theme so people can tell them apart.diff --git a/themes/retro/config.json b/themes/retro/config.jsonnew file mode 100644index 000000000..a427fdc42--- /dev/null+++ b/themes/retro/config.json@@ -0,0 +1,33 @@+{+ "background_color": "#000000",+ "dock_glass": false,+ "dock_band": false,+ "glass_style": "rim",+ "dock_title": false,+ "dock_opacity": 100,+ "fill_dock": true,+ "columns": 5,+ "ambient_glow": false,+ "app_glow": false,+ "icon_only_buttons": true,+ "icon_only_inputs": true,+ "wifi_status_color": true,+ "tile_menu": true,+ "wallpaper": true,+ "wallpaper_rotation_minutes": 60,+ "wallpaper_moods": {+ "morning": [+ "6am_4pm.jpg"+ ],+ "evening": [+ "4pm_9pm.jpg"+ ],+ "night": [+ "9pm_6am.jpg"+ ]+ },+ "wallpaper_dim": 10,+ "wallpaper_order": "sequential",+ "reduced_motion": true,+ "sky_intensity": 0+}diff --git a/themes/retro/screenshot.jpg b/themes/retro/screenshot.jpgnew file mode 100644index 000000000..5e52f02c7Binary files /dev/null and b/themes/retro/screenshot.jpg differdiff --git a/themes/retro/wallpapers/4pm_9pm.jpg b/themes/retro/wallpapers/4pm_9pm.jpgnew file mode 100644index 000000000..1c26528a4Binary files /dev/null and b/themes/retro/wallpapers/4pm_9pm.jpg differdiff --git a/themes/retro/wallpapers/6am_4pm.jpg b/themes/retro/wallpapers/6am_4pm.jpgnew file mode 100644index 000000000..f5afef132Binary files /dev/null and b/themes/retro/wallpapers/6am_4pm.jpg differdiff --git a/themes/retro/wallpapers/9pm_6am.jpg b/themes/retro/wallpapers/9pm_6am.jpgnew file mode 100644index 000000000..643cec2c7Binary files /dev/null and b/themes/retro/wallpapers/9pm_6am.jpg differ