▲ 2 r/rust
I built a storage analyzer to bypass Android MTP using a Rust/Tauri bridge and a C++ daemon
I got tired of MTP hanging on 256GB+ devices, so I built a bypass.
The architecture:
- A C++17 daemon pushed to the device via ADB for POSIX-speed traversal.
- A Rust/Tauri desktop client that handles the ADB lifecycle and a TCP socket tunnel.
- It's bundled as a zero-dependency DMG with an ADB sidecar.
I'm mostly looking for feedback on handling JSON stream fragmentation in the Rust backend when the C++ side pushes data too fast.
I'll drop the repo link in the comments if anyone wants to check the code.
u/Cuber2113 — 1 day ago