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
Brightness: floor at 10 %, so it can go darker at night
מקס חיים971834292869
diff --git a/addons/brightness/README.md b/addons/brightness/README.mdindex a504257d3..f9c8db1d0 100644--- a/addons/brightness/README.md+++ b/addons/brightness/README.md@@ -12,16 +12,16 @@ Opening it shows one list, worked with the remote alone:| Row | What it does ||---|---|| **Dimming** | The master switch, focused first. **Off puts the screen back to normal at once**; the other settings stay for next time. |-| **Brightness** | A slider from 100 % down to 20 % in 5 % steps (◀ ▶), used outside night mode. |+| **Brightness** | A slider from 100 % down to 10 % in 5 % steps (◀ ▶), used outside night mode. || **Night mode** | Off, On (now, until switched off) or Scheduled (every day between two times). |-| **Night brightness** | Its own slider, 20 % to 100 %. |+| **Night brightness** | Its own slider, 10 % to 100 %. || **Warmth** | Night mode only: an amber tint that takes blue out of the picture, 0 to 100 %. || **Night starts**, **Night ends** | The schedule, in 15 minute steps; a night may run past midnight (21:00 to 07:00 is the default). |Every change shows at once, over the settings screen too, so you see the result as you move the slider. Thesettings are kept, and the layer and the schedule come back after a reboot.-The screen never goes below 20 %, so the picture and this app stay readable whatever is set. If it is ever too+The screen never goes below 10 %, so the picture and this app stay just readable whatever is set. If it is ever toodark to find the way, any of these gives the normal screen back:- open Brightness and press OK on **Dimming**;@@ -87,11 +87,11 @@ with your own key if you hand them out; the launcher pins its Show answer to theMOKA R8G (Android 14), over ADB, with its own home app: the overlay permission granted by ADB, the layer drawnover the settings screen and over Home, the scheduled night mode taking over at 21:13 inside a 21:00 to 07:00-window (40 %, then 25 % and 20 %, warm), each slider changing the layer at once, **Dimming** Off and the ADB-broadcast removing the layer at once and On bringing it back. Memory: about 22 MB with the layer up.+window (40 %, then down to 10 %, warm), each slider changing the layer at once, **Dimming** Off and the ADB+broadcast removing the layer at once and On bringing it back, and the layer back by itself after the app was updated. Memory: about 22 MB with the layer up.The JVM tests cover the levels, the colour arithmetic, the schedule (past midnight, edges, empty windows), the-20 % floor and the clamping of stored values.+10 % floor and the clamping of stored values.Still to check on a TV running this repo's launcher (the test TV's home app has no module cards):diff --git a/addons/brightness/app/src/main/java/io/github/maxhayim/brightness/Dimming.java b/addons/brightness/app/src/main/java/io/github/maxhayim/brightness/Dimming.javaindex 2cdad221e..1294af910 100644--- a/addons/brightness/app/src/main/java/io/github/maxhayim/brightness/Dimming.java+++ b/addons/brightness/app/src/main/java/io/github/maxhayim/brightness/Dimming.java@@ -5,8 +5,8 @@ package io.github.maxhayim.brightness;* at a given minute, the one colour the layer is drawn in, and when the schedule next changes.*/final class Dimming {- /** The darkest the screen goes: 20 % of normal, so menus and this app stay readable whatever is set. */- static final int MIN_BRIGHTNESS = 20;+ /** The darkest the screen goes: 10 % of normal, so menus and this app stay readable whatever is set. */+ static final int MIN_BRIGHTNESS = 10;static final int MAX_BRIGHTNESS = 100;static final int BRIGHTNESS_STEP = 5;static final int WARMTH_STEP = 10;diff --git a/addons/brightness/app/src/test/java/io/github/maxhayim/brightness/DimmingTest.java b/addons/brightness/app/src/test/java/io/github/maxhayim/brightness/DimmingTest.javaindex 25816f722..8a3ab32a3 100644--- a/addons/brightness/app/src/test/java/io/github/maxhayim/brightness/DimmingTest.java+++ b/addons/brightness/app/src/test/java/io/github/maxhayim/brightness/DimmingTest.java@@ -80,7 +80,7 @@ public class DimmingTest {assertEquals(Dimming.MIN_BRIGHTNESS, s.nightBrightness);assertEquals(100, s.warmth);int black = alpha(Dimming.color(new Dimming.Level(Dimming.MIN_BRIGHTNESS, 0, false)));- assertEquals(Math.round(0.8 * 255), black);+ assertEquals(Math.round(0.9 * 255), black);}@Testdiff --git a/addons/headphones/local.properties b/addons/headphones/local.propertiesdeleted file mode 100644index bf729038f..000000000--- a/addons/headphones/local.properties+++ /dev/null@@ -1 +0,0 @@-sdk.dir=/opt/homebrew/share/android-commandlinetools