Skip to content

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

README: the Windows block gives the undo and the theme push

xbshengf8363e473fdc
diff --git a/README.md b/README.md
index 5041b6983..81b8f9f12 100644
--- a/README.md
+++ b/README.md
@@ -208,8 +208,14 @@ else is needed:
python -m venv tools\venv; tools\venv\Scripts\python.exe -m pip install -r tools\requirements.txt
powershell -ExecutionPolicy Bypass -File launcher\build-and-install.ps1 -TvHost 192.168.1.50
powershell -ExecutionPolicy Bypass -File tools\disable.ps1 -TvHost 192.168.1.50 examples\xiaomi-mi-tv-4a\debloat.txt
+powershell -ExecutionPolicy Bypass -File tools\restore.ps1 -TvHost 192.168.1.50 examples\xiaomi-mi-tv-4a\debloat.txt
+powershell -ExecutionPolicy Bypass -File tools\theme.ps1 -TvHost 192.168.1.50 themes\aurora
```
+The last two are the undo and a theme push, the `tools/restore.sh` and `tools/theme.sh` lines the
+sections above give in bash. On Google TV the undo takes the stock launcher as well:
+`-Stock com.google.android.apps.tv.launcherx`.
+
</details>
<details>
diff --git a/docs/restore.md b/docs/restore.md
index 93462a25a..be6c7166f 100644
--- a/docs/restore.md
+++ b/docs/restore.md
@@ -9,6 +9,16 @@ TV_HOST=192.168.1.50 tools/restore.sh examples/<your tv>/debloat.txt
TV_HOST=192.168.1.50 tools/restore.sh examples/<your tv>/debloat.txt com.google.android.apps.tv.launcherx # Google TV
```
+On Windows the same undo is:
+
+```powershell
+powershell -ExecutionPolicy Bypass -File tools\restore.ps1 -TvHost 192.168.1.50 examples\<your tv>\debloat.txt
+```
+
+and on Google TV the call takes the stock launcher as well, `-Stock
+com.google.android.apps.tv.launcherx`, after the list. `TV_HOST=... tools/restore.sh` does not run in
+PowerShell: it sets a variable and then calls a program Windows does not have.
+
## What the record holds
Before `tools/disable.sh` changes anything it writes down what the TV looked like: