Your Android TV box, debloated and dressed as an Apple TV. A tiny home screen with Liquid Glass surfaces over rotating photos of Spain, plus a toolkit that strips the manufacturer's telemetry and ads โ all over Wi-Fi, from your computer, nothing rooted. ๐โจ
Stock Android TV launchers are slow, crammed with "recommended" rows you never asked for, and the box ships with analytics and ad-tracking services running in the background. LiquidTVOS replaces the home screen with a clean, fast one that runs happily on a 2 GB box, and its scripts disable the junk with pm disable-user โ which is fully reversible. โก
| ๐งญ Top bar | ๐ฒ App grid | ๐ Screensaver |
|---|---|---|
![]() |
![]() |
![]() |
| โ๏ธ Editing the dock | ๐ Picking an app | |
![]() |
![]() |
- ๐ง Liquid Glass โ the dock, the pills and the focus are glass that shows the real photo behind them, blurred. The blur is computed once when the APK is built, so the box never blurs anything at runtime.
- ๐ซง One liquid focus that stretches towards where it is going and springs back when it lands, instead of a border on every tile.
- ๐ช๐ธ 35 photos of Spain (Alhambra, Sagrada Famรญlia, Teide, Cuenca, Ronda, Cabo de Gataโฆ) that change every 3 minutes and every time you come back home, with the place and the author shown above the dock.
- ๐ค๏ธ Weather next to the greeting โ temperature and sky for your town, from Open-Meteo.
- ๐๏ธ Top bar: โ๏ธ edit the dock ยท ๐๏ธ free memory ยท ๐ถ Wi-Fi (shows the network name) ยท โ๏ธ Settings. The focused one says what it does.
- ๐ฒ App grid under the dock, on a blurred version of the photo; every app you install shows up on its own.
- ๐ Screensaver โ after a minute without touching the remote only the photo and its place stay on screen.
- ๐งญ Deterministic remote: Up/Down move exactly one row, the ends of a row stop, and the last tile of every row is remembered.
| Script | What it does |
|---|---|
tools/setup.py |
Downloads adb and the Android SDK into the repo (Windows, macOS, Linux) |
tools/backup.py |
Saves the TV's package lists, settings and props before you change anything |
tools/debloat.py |
Disables packages one by one, checks each one really got disabled, and logs it |
tools/restore.py |
Re-enables everything the debloat disabled, and gives the stock launcher back |
tools/build_launcher.py |
Builds the launcher APK without Gradle and installs it as the default Home |
tools/tv.py |
ADB helper: run a command, press remote keys, take a screenshot |
tools/adb-closed.py |
Proves network ADB is closed when you are done |
tools/fetch_photos.py ยท tools/prepare_photos.py |
Find, download and prepare background photos from Wikimedia Commons |
| Area | Technology |
|---|---|
| Launcher | Java ยท plain Android framework (no AndroidX) ยท minSdk 26 / targetSdk 35 |
| Glass | Custom Drawable sampling a build-time blurred copy of the photo โ no RenderEffect, no runtime blur |
| Build | aapt2 + javac + d8 + zipalign + apksigner, driven by Python โ no Gradle |
| Remote apps button | AccessibilityService with key filtering (the system keeps KEYCODE_ALL_APPS for itself) |
| Weather | Open-Meteo forecast + geocoding (no API key) |
| Photos | Wikimedia Commons, cropped to 1920ร1080 with Pillow |
| Font | Fira Code, subset to Latin with fontTools |
| Device control | ADB over Wi-Fi (port 5555) |
| CI/CD | GitHub Actions โ automatic version, tag, release and APK on every push |
| Device | Works? |
|---|---|
| ๐ฆ Android TV / Google TV boxes and TVs โ Xiaomi Mi Box, TCL, Hisense, Sony, Philips, Nvidia Shield, OnePlus, Realmeโฆ | โ Yes, Android 8.0 or newer |
| ๐บ Samsung (Tizen), LG (webOS) | โ No โ not Android |
| ๐ฅ Amazon Fire TV | โ No โ Fire OS refuses pm disable-user and third-party launchers |
๐จ๐ณ China-market sets that refuse every sideloaded APK (INSTALL_FAILED_VERIFICATION_FAILURE) |
Check your TV's Android version: Settings โ Device Preferences โ About โ Version. It was built and tested on a Xiaomi Mi Box 4 (Android 9, 2 GB RAM); profiles/mibox4.txt is its debloat list.
git clone https://github.com/Ren0X1/LiquidTVOS.git
cd LiquidTVOS
python tools/setup.py # adb + Android SDK into the repo
cp local.example.json local.json # then put your TV's IP in it
python tools/tv.py getprop ro.build.version.sdk # first connection: accept the prompt on the TV
python tools/backup.py # save the TV's current state
python tools/build_launcher.py # build, install, set as HomePress Home on the remote โ you are in LiquidTVOS. ๐ The steps below explain each one.
- Settings โ Device Preferences โ About โ press OK on Build seven times until it says you are a developer.
- Back to Device Preferences โ Developer options โ turn on USB debugging (and Network debugging / ADB debugging if your TV shows it).
- Write down the TV's IP: Settings โ Network & Internet โ your Wi-Fi.
๐ก On some Google TV sets only Wireless debugging exists. Pair once from your computer with
platform-tools/adb pair <ip>:<pairing port>(the code is under Wireless debugging โ Pair device with pairing code), thenadb connect <ip>:<port>andadb tcpip 5555.
โ ๏ธ Some boxes cut the power of their USB port while USB debugging is on. A USB drive or speaker plugged into the box goes dead until you switch debugging off again.
You need Python 3.9+ and a JDK 17 or newer (Temurin is fine).
| OS | Commands |
|---|---|
| ๐ช Windows | winget install Python.Python.3.13 EclipseAdoptium.Temurin.21.JDK |
| ๐ macOS | brew install python openjdk@21 |
| ๐ง Linux (Debian/Ubuntu) | sudo apt install python3 python3-pip openjdk-21-jdk-headless |
Then, from the repo folder:
pip install pillow fonttools # only needed to change photos or fonts
python tools/setup.pysetup.py downloads Google's platform-tools (adb) and the Android command-line tools with platforms;android-35 and build-tools;35.0.0 into the repo, and accepts the SDK licences. If you already have an SDK, set ANDROID_HOME and it uses that one.
cp local.example.json local.json{
"tv_host": "192.168.1.50",
"tv_port": 5555,
"weather_city": "Sevilla, ES"
}local.json is in .gitignore: your IP and your town never reach git. weather_city takes a town with an optional two-letter country code; leave it empty to guess from your internet connection (which may land on your ISP's city).
Now connect once:
python tools/tv.py getprop ro.build.version.sdk๐ The TV shows "Allow USB debugging?" โ tick Always allow from this computer and accept. The command prints a number: 26 or higher means the launcher will install.
python tools/backup.pyWrites backup/<date>/ with every package list, all settings, getprop, the display size/density, the apps that answer Home and a screenshot of your stock home screen.
python tools/build_launcher.pyIt builds launcher/build/liquidtvos.apk, installs it with pm install (no on-screen prompt to hang on), grants the location permission the Wi-Fi pill needs to show the network name, turns on the remote-button service, and makes it the default Home.
๐ฆ Rather not build? Every release has a ready APK:
platform-tools/adb install -r LiquidTVOS-vX.apk. It uses the default settings (weather guessed from your connection).
Check it really owns Home:
python tools/tv.py "dumpsys activity activities | grep mResumedActivity"If the stock launcher still answers the Home button, disable it in step 6 โ on many boxes set-home-activity says Success and changes nothing while the stock launcher is enabled.
Open the profile for your device (or copy profiles/mibox4.txt and adapt it), comment out what you use, then:
python tools/debloat.py -f profiles/mibox4.txt- Packages are disabled for user 0 with
pm disable-userโ never uninstalled, so a factory reset orrestore.pybrings them back. - One package per call, and each one is checked against
pm list packages -dinstead of trusting the exit code. - Everything disabled is logged in
debloat/disabled.txt, whichrestore.pyreads. - Never disable Play Store, Play Services, the keyboard, Bluetooth, the remote pairing service, Settings, or the TV/input apps of a real TV. When a manufacturer package name says nothing, look at it first with
python tools/tv.py dumpsys package <name>โ don't launch anything named factory, fac menu or AT. - Disable the stock launcher last, after LiquidTVOS works.
Reboot once and check nothing came back:
python tools/tv.py reboot
python tools/tv.py pm list packages -d| What | How |
|---|---|
| ๐ Dock apps | On the TV: โ๏ธ pencil โ pick a slot โ pick an app, or Remove from dock. Saved on the box. Default order: dock_packages in launcher/res/values/config.xml |
| ๐ Hide apps from the grid | Add the package to hidden_packages in config.xml, rebuild |
| โฑ๏ธ Photo interval | photo_minutes in config.xml (default 3), rebuild |
| ๐ค๏ธ Weather town | weather_city in local.json, rebuild |
| ๐ผ๏ธ Your own photos | See below |
| ๐ค Language | The UI text is Spanish; translate launcher/res/values/strings.xml |
Changing the photos โ edit photos/raw/chosen.json (place, city, author, licence and the image URL), then:
python tools/fetch_photos.py download # into photos/raw/
python tools/prepare_photos.py # 1920ร1080 + blurred copy + index.json
python tools/build_launcher.pytools/fetch_photos.py candidates searches Commons (Featured pictures first, then Quality images) for the places listed in the script, if you want ideas.
๐ก๏ธ Ad-blocking DNS (Android 9+) โ blocks ads and trackers in apps and websites, not YouTube ads:
python tools/tv.py settings put global private_dns_specifier dns.adguard-dns.com
python tools/tv.py settings put global private_dns_mode hostnameUndo: python tools/tv.py settings put global private_dns_mode opportunistic
๐ Quiet dialogue in Netflix / Prime Video โ those apps send 5.1 audio, and many boxes downmix it to stereo with the voices far below the effects. Let the TV do the downmix instead:
python tools/tv.py settings put global encoded_surround_output_enabled_formats 5,6
python tools/tv.py settings put global encoded_surround_output 3Then turn on your TV's dialogue / voice mode. If Netflix goes silent, your TV doesn't take Dolby Digital Plus: python tools/tv.py settings put global encoded_surround_output 1.
Port 5555 is plain text; while it is open, anything on your network can get a shell on the TV.
- Developer options โ Revoke USB debugging authorisations, then turn USB debugging off.
- Reboot the TV.
- Check:
Only
python tools/adb-closed.py
CLOSED (connection refused)proves it. A timeout just means the TV did not answer.
Turn debugging back on whenever you want to change something.
| Remote | On the home screen |
|---|---|
| โฌ ๏ธโก๏ธ | Move along a row (stops at the ends) |
| โฌ๏ธ | Dock โ top bar ยท grid โ the row above |
| โฌ๏ธ | Top bar โ dock โ app grid, one row at a time |
| ๐ | Open the app / press the button |
| ๐ hold 1 s | App โ its info screen (uninstall, force stop) ยท ๐๏ธ โ Storage (clear cached data) |
| ๐ฒ Apps button | Open the app grid from anywhere โ press again to go back to the dock |
| โฉ๏ธ Back | Back to the dock / leave the dock editor |
| ๐ Home | Always back here |
LiquidTVOS/
โโโ launcher/ # ๐บ the home screen app
โ โโโ AndroidManifest.xml
โ โโโ src/com/alex/tvhome/
โ โ โโโ HomeActivity.java # layout, focus, photos, dock editor, screensaver
โ โ โโโ GlassDrawable.java # the liquid glass surface
โ โ โโโ Weather.java # Open-Meteo
โ โ โโโ KeyService.java # catches the remote's apps button
โ โโโ res/values/config.xml # dock, hidden apps, photo interval
โ โโโ assets/ # photos (+ blurred copies, index.json) and Fira Code
โโโ tools/ # ๐งฐ Python scripts (setup, backup, debloat, restore, buildโฆ)
โโโ profiles/mibox4.txt # ๐งน debloat list for the Xiaomi Mi Box 4
โโโ photos/raw/chosen.json # ๐ช๐ธ photo sources, authors and licences
โโโ docs/ # ๐ธ screenshots and photo credits
โโโ local.example.json # โ๏ธ copy to local.json (TV IP, weather town)
โโโ .github/workflows/release.yml
No TV addressโ createlocal.jsonfromlocal.example.json, orTV_HOST=192.168.1.50 python tools/tv.py โฆ.unauthorizedโ look at the TV: accept the Allow USB debugging? prompt, ticking Always allow.- Port 5555 closed โ the TV may only offer Wireless debugging; see the tip in step 1. Android turns Wireless debugging off whenever Wi-Fi drops.
INSTALL_FAILED_OLDER_SDKโ the TV runs Android 7 or older; the launcher needs 8.0+. The debloat still works.INSTALL_FAILED_VERIFICATION_FAILUREon every APK โ the firmware refuses sideloading. Debloat only.INSTALL_FAILED_UPDATE_INCOMPATIBLEโ the installed copy was signed with another key (a release APK vs. your own build).python tools/tv.py pm uninstall com.alex.tvhomeand install again.- Home still opens the stock launcher โ disable it (
com.google.android.tvlauncheron Android TV) after LiquidTVOS is installed. On Google TV the setup wizard (com.google.android.tungsten.setupwraith) can also claim Home: checkdumpsys wifi | grep -o 'cname=[^ ]*'first, because disabling it deletes a Wi-Fi network saved during first setup. - Empty app grid โ Android 11+ hides apps without
<queries>; the manifest has it, so rebuild from this repo rather than an old APK. - Wi-Fi pill says "Wi-Fi" instead of the network name โ the location permission was not granted:
python tools/tv.py pm grant com.alex.tvhome android.permission.ACCESS_FINE_LOCATION. - The apps button does nothing โ the accessibility service is off: Settings โ Device Preferences โ Accessibility โ Botรณn de apps del mando, or run
build_launcher.pyagain. - Screen looks zoomed after a reboot โ read
wm size,wm densityandsettings get secure display_density_forcedbefore touching the launcher; a leftover override is not a launcher bug. - Screenshots of Netflix, Live TV or HDMI are empty โ that's DRM, not a broken box.
python tools/restore.py # re-enables every disabled package, stock launcher back as Home, DNS off
python tools/tv.py pm uninstall com.alex.tvhome
python tools/tv.py rebootWithout a computer: Settings โ Apps โ See all apps โ Show system apps โ the app โ Enable.
Background photos: Wikimedia Commons contributors, under the licences listed in docs/PHOTO_CREDITS.md. Weather: Open-Meteo. Font: Fira Code (SIL OFL 1.1).
โ ๏ธ Disabling system packages can stop features you rely on (voice search, casting, firmware updates). Everything here is reversible, but read the profile before you run it.๐ ๏ธ LiquidTVOS by Ren0X1.





