Repository navigation
Releases
VacuumTube 2.0.0 for Android (build 6)
Unofficial Android port of VacuumTube 2.0.0 — the desktop Electron wrapper of YouTube Leanback
(youtube.com/tv) — produced by reverse engineering the shipped resources/app.asar with REA and
re-hosting the decompiled page-side code inside an Android WebView instead of rewriting the features.
Install
adb install -r VacuumTube-Android.apkOr copy the APK to the device and open it (sideload). It is signed with a debug key, so Android
may warn about the source; the app id is rocks.shy.vacuumtube.android.
What is in this build
- All 70 page-side modules of VacuumTube 2.0.0 reused verbatim — ad block, SponsorBlock, DeArrow,
Return YouTube Dislike, Hide Shorts, codec filtering, guide-tab control, music mode, remaining
time, speed/volume control, the settings overlay — embedded in one page-world bundle injected as
the first script in<head>, exactly where Electron's preload ran. - Native host: WebView, a synchronous config bridge (channel for channel with the original
ipcRenderer), CSP rewriting + document-start injection, DIAL (SSDP + HTTP) with Leanback's own
handlers called back into the page, Cobalt 27 user agent and client hints, deep links,
Android TV launcher + banner. - Display: edge-to-edge (the TV surface is a fixed 16:9
remstage, which the port anchors to the
viewport) and video fill for landscape sources. - Input: remote D-pad translated to the Starboard keycodes the TV UI consumes, the original touch
overlay, and the Android soft keyboard for search (two-path: WebView IME, or a native input bar
whose edits are forwarded into Leanback's own letter grid). - Settings reachable four ways: the native VT button (top-left), the in-page gear, the remote's
MENU key, and the Open VacuumTube Settings row inside YouTube's own settings screen.
Diagnostics
Long-press the VT button (or the in-page ABC button) to get a toast like:
v=2.0.0-android stage=1560/1560 bleed=on video=on overlay=ready updates=5 errors=none
Please include that line in any bug report — it says whether the layout fix, the video fill and the
settings overlay are actually live on your device.
Known limitations
- Verified statically and against real Chromium/Leanback; not on every device. Screen, av-sync and
casting behaviour depend on the device WebView. - DRM (Widevine) content will not play through a WebView.
- Landscape videos are cropped to fill (
object-fit: cover); portrait/Shorts videos keep their
letterboxing on purpose. - Updates are manual: the About page reports
unsupportedand links to the releases page.
Licence
MIT. The page-side code is VacuumTube by shy1132 (https://github.com/shy1132/VacuumTube),
extracted from the shipped app.asar and reused under the same licence; see LICENSE and
vendor/vacuumtube-preload/LICENSE. Not affiliated with YouTube or Google.