Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.
Overview: the access warning goes above the stats
jesse-agent-2325f1cf3a962aa
diff --git a/README.md b/README.mdindex 1e5b976..c55fb77 100644--- a/README.md+++ b/README.md@@ -90,7 +90,7 @@ Tellyscope is a phone app that talks to your Android TV, Google TV or Fire TV ov- **History.** Every change is listed with an Undo, and **Restore everything** turns back on what Tellyscope turned off. Undoing a **Turn on** asks first, since it disables the app again. History is kept per TV, across restarts.- **Install apps.** Pick an APK, several split APKs or an `.apks`/`.xapk`/`.apkm` bundle on your phone. Before installing, Tellyscope shows the app's name, version and size and says whether it's new, an update, a reinstall or an older version. It won't install an older version over a newer one unless you tick the box. If the TV refuses, you get the reason in plain words.- **TV tweaks.** **Block ads with Private DNS** sends the TV's address lookups to an ad-blocking DNS provider (AdGuard by default, or any other you type in). Tellyscope then checks the TV can still look addresses up, and puts the old setting back if not. It needs Android 9 or newer. **Faster animations** makes menus move at twice the speed. Both land in History with an Undo. **Clear caches** frees space by clearing every app's temporary files; app data and sign-ins stay. **Take screenshot** saves what the TV shows to your phone.-- **Who has access.** ADB lets any allowed computer do everything Tellyscope can, so the TV's page warns when a computer other than this phone is connected, with **It's mine** for your own. **Who has access** in the **⋮** menu lists who is connected now and every computer the TV allows, with its key fingerprint and roughly when it was last seen. The TV doesn't say which key is behind which connection, so Tellyscope never pairs them up. **Remove all other access** clears the TV's allowed list, then reconnects so the TV asks to allow this phone again; on TVs that won't take the request, it opens Developer options and walks you through **Revoke USB debugging authorisations**. A computer that is already connected keeps its connection until it disconnects or the TV restarts, so if one is still there Tellyscope says so and offers **Restart the TV**. It says "Only this phone has access" only after checking the TV again.+- **Who has access.** ADB lets any allowed computer do everything Tellyscope can, so the TV's page warns, above its stats, when a computer other than this phone is connected, with **It's mine** for your own. **Who has access** in the **⋮** menu lists who is connected now and every computer the TV allows, with its key fingerprint and roughly when it was last seen. The TV doesn't say which key is behind which connection, so Tellyscope never pairs them up. **Remove all other access** clears the TV's allowed list, then reconnects so the TV asks to allow this phone again; on TVs that won't take the request, it opens Developer options and walks you through **Revoke USB debugging authorisations**. A computer that is already connected keeps its connection until it disconnects or the TV restarts, so if one is still there Tellyscope says so and offers **Restart the TV**. It says "Only this phone has access" only after checking the TV again.- **Connected devices.** The Overview lists what's paired with or plugged into the TV: Bluetooth remotes and headphones, USB keyboards and drives with their free space, HDMI-CEC devices such as a soundbar, and where the sound goes now.- **Connection requests.** When another device asks to debug the TV, Tellyscope shows the TV's "Allow debugging?" prompt on your phone, with the device's key fingerprint, so you can **Allow** or **Deny** it without the remote. **Always allow this device** appears when the TV's own prompt offers it.- **Files.** Send a file from your phone into the TV's Download or Movies folder, or save one from there to your phone. Two buttons under the TV pick the folder, and stay pinned under the bar as you scroll. An empty folder says so in the middle of the page. A file with the same name gets a " (1)" instead of being overwritten, and a cancelled copy leaves nothing half-written behind.diff --git a/app/src/main/java/app/tellyscope/ui/DeviceTabs.kt b/app/src/main/java/app/tellyscope/ui/DeviceTabs.ktindex 3d3613e..e848e30 100644--- a/app/src/main/java/app/tellyscope/ui/DeviceTabs.kt+++ b/app/src/main/java/app/tellyscope/ui/DeviceTabs.kt@@ -266,6 +266,8 @@ fun DeviceTabsScreen(} else if (offline) {item { OfflineCard(device, state.now, actions.reconnect) }}+ // Another computer connected needs acting on now, so it sits with the cards above the stats.+ ui.access?.takeIf { it.warning && !offline }?.let { a -> item(key = "accessWarning") { AccessWarning(a, actions.access, onWho = actions.whoHasAccess) } }// Away, storage is the last one seen, this session's or the saved one after a restart.val used = snap?.storageUsedGb ?: device.lastKnown?.storageUsedGbval total = snap?.storageTotalGb ?: device.lastKnown?.storageTotalGb@@ -289,8 +291,7 @@ fun DeviceTabsScreen()}}- // The warning right under the tiles, so it shows without scrolling; then the list, what's plugged in, and Android.- ui.access?.takeIf { it.warning && !offline }?.let { a -> item(key = "accessWarning") { AccessWarning(a, actions.access, onWho = actions.whoHasAccess) } }+ // The list, what's plugged in, and Android.item { SuggestedCard(ui.lists, debloat, offline, onChanges = { toChanges = true; tab = TvTab.Tweaks }) }ui.peripherals?.takeIf { !offline }?.let { p -> item(key = "connectedDevices") { ConnectedDevicesCard(p) } }item { AndroidCard(state, snap, offline, onUpdates = actions.checkUpdates) }diff --git a/app/src/test/java/app/tellyscope/ScreenshotTest.kt b/app/src/test/java/app/tellyscope/ScreenshotTest.ktindex 4d1b565..ec966a5 100644--- a/app/src/test/java/app/tellyscope/ScreenshotTest.kt+++ b/app/src/test/java/app/tellyscope/ScreenshotTest.kt@@ -1471,7 +1471,7 @@ class ScreenshotTest {@Test fun devices_card_open() = card("93_connected_devices_open", false) { ConnectedDevicesCard(accessState().device.peripherals!!, startOpen = true) }@Test fun devices_card_open_dark() = card("93_connected_devices_open", true) { ConnectedDevicesCard(accessState().device.peripherals!!, startOpen = true) }- /** The Overview scrolled to the warning: under the tiles, then the list, devices and Android. */+ /** The Overview scrolled to the warning: above the stats, then the tiles, the list, devices and Android. */private fun accessOverview(dark: Boolean) {// By key: scrolling to a node by tag never stops with the clock held.val scroll = { compose.onNode(hasScrollAction()).performScrollToKey("accessWarning"); Unit }