TGViewer
Linux - Reddit Linux - Reddit @r_linux · 1.07K subscribers
Post #42025 62
I got so sick of Android taking forever to calculate folder sizes, I built a custom C++/Rust storage visualizer to bypass MTP

tbh I don't know how everyone has just accepted the pain of Android MTP. If you plug in your phone and try to analyze a massive 100GB+ media folder to see what's eating up your space, your file manager just hangs and dies.

I got so fed up that I built a cross-platform desktop app (with a native Linux release) to bypass the OS completely. It pushes a tiny C++ daemon to the phone via ADB, maps out the disk at raw native speeds, and tunnels the data back over a local TCP socket to a Rust/Tauri frontend. It basically turns a 4-minute "calculating size..." freeze into a 1-second instant React Treemap so you can actually see where your storage is going.

I just recorded a full video breakdown of the architecture and a live demo to show exactly how the POSIX syscalls and TCP tunnel work: https://youtu.be/ttsc6Xf6Xb4

It's totally open source. Here is the GitHub repo if anyone wants to roast my code or check out the architecture: https://github.com/VishnuSrivatsava/SocketSweep

https://redd.it/1tp2bv5
@r_linux
YouTube Android MTP is Broken. So I Built My Own Protocol. My dad's phone was full. MTP was useless. So I built SocketSweep — a C++ daemon + Rust bridge + React UI that bypasses Android's MTP protocol and streams the filesystem over raw TCP through USB. Heavily inspired by scrcpy's architecture (huge shoutout to…
More from @r_linux
  1. Oct 10, 2026KNOD Progressing For Linux In-Kernel GPU Offloading For Network Packet Processing https://…
  2. Oct 10, 2026Linux Networking Diverts 50+ Fixes To Next Kernel, Still Bombarded With AI Fueled Churn ht…
  3. Oct 10, 2026Bitwarden Switches to Commercial License https://community.bitwarden.com/t/published-versi…
  4. Oct 10, 2026Python 3.15.0 released https://www.python.org/downloads/release/python-3150/ https://redd.…
  5. Oct 10, 2026Anyone have experience with the Xiaomi Book Pro 14 (Intel X7-358H)? Just wondering how wel…
  6. Oct 10, 2026Googlebook OS booted on my HP Envy https://redd.it/1x2asdb @r_linux
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →