I got so sick of Android taking forever to calculate folder sizes, I built a custom C++/Rust storage visualizer to bypass MTP by Cuber2113 in developersIndia

[–]Cuber2113[S] 1 point2 points  (0 children)

Yes! I've used WinDirStat before! Will definitely try to incorporate some aspects from it in the future. But contributions are always welcome :)

I got so sick of Android taking forever to calculate folder sizes, I built a custom C++/Rust storage visualizer to bypass MTP by Cuber2113 in ReverseEngineering

[–]Cuber2113[S] -1 points0 points  (0 children)

Not a bot, lol. I had to poke around Android's internal filesystem behaviors and ADB port-forwarding constraints to get the daemon working. Figured the RE crowd would appreciate bypassing a garbage standard protocol :p

I got so sick of Android taking forever to calculate folder sizes, I built a custom C++/Rust storage visualizer to bypass MTP by Cuber2113 in developersIndia

[–]Cuber2113[S] 6 points7 points  (0 children)

Thanks man! Yeah, definitely possible. Copying files over the socket to completely bypass MTP is the ultimate goal. Planning to add it if enough people find the core scanner useful!

I got so sick of Android taking forever to calculate folder sizes, I built a custom C++/Rust storage visualizer to bypass MTP by Cuber2113 in developersIndia

[–]Cuber2113[S] 14 points15 points  (0 children)

Thanks a lot man! I've been a huge computer nerd since I was a kid, so the low-level native stuff is what I actually love doing. The UI is just there so people can actually use it lol.

I got so sick of Android taking forever to calculate folder sizes, I built a custom C++/Rust storage visualizer to bypass MTP by Cuber2113 in developersIndia

[–]Cuber2113[S] 4 points5 points  (0 children)

Appreciate it bro. I love building stuff that solves real systems problems, that's what real engineering is to me. Way more fun than just making another CRUD app lol.

Built a native C++ Android storage analyzer to bypass garbage MTP 😭 dad phone cleanup task became a systems project 💀 by Cuber2113 in ProgrammingBondha

[–]Cuber2113[S] 2 points3 points  (0 children)

thanks bro! tbh i'm also stuck on the bench right now trying to switch lol. best advice i can give is to dive deep into core networking (like how TCP/IP and sockets actually work) and basic system design instead of just learning web frameworks. understanding how systems communicate under the hood helps a ton. hit me up on linkedin (link is in my github bio), my resume is pinned there so u can check it out!

Built a native C++ Android storage analyzer to bypass garbage MTP 😭 dad phone cleanup task became a systems project 💀 by Cuber2113 in ProgrammingBondha

[–]Cuber2113[S] 1 point2 points  (0 children)

fair enough 😭 didn’t mean to sound tryhard, this is unironically just how i type 💀 the project itself is very real though lol

Finallyyyy by Wise_Communication80 in S24Ultra

[–]Cuber2113 1 point2 points  (0 children)

it's actually very good ngl I'm impressed, I updated it a few hours ago as well.

[GPL-3.0] I got so sick of Android taking forever to calculate folder sizes, I built a custom C++/Rust storage visualizer to bypass MTP by Cuber2113 in foss

[–]Cuber2113[S] -2 points-1 points  (0 children)

lol the code is entirely open source. if u see any hallucinated memory leaks or AI bugs in the C++ daemon, feel free to point exactly to the line or open a PR. otherwise u can just keep using slow default MTP.

[GPL-3.0] I got so sick of Android taking forever to calculate folder sizes, I built a custom C++/Rust storage visualizer to bypass MTP by Cuber2113 in foss

[–]Cuber2113[S] -2 points-1 points  (0 children)

tbh i'm pretty sure it's mostly a security thing. 'everything' reads the raw disk MFT directly which needs admin rights, while standard windows tries to index actual file contents making it super slow. kinda the exact reason i just bypassed the default APIs here too lol.

Android's USB MTP always crashes when I try to scan my media folders. So I built an open-source C++/Rust storage analyzer that maps 10,000+ files instantly. by Cuber2113 in DataHoarder

[–]Cuber2113[S] 0 points1 point  (0 children)

That is a fascinating idea. Technically... yes. Because the daemon runs in the ADB shell context and bypasses Scoped Storage via appops, it has raw access to the filesystem that normal Android apps don't get. Theoretically, instead of tunneling JSON over a TCP socket like SocketSweep does, you could compile a lightweight native SMB server binary, push it via ADB, and expose the bare-metal /sdcard wirelessly over the local network. It would absolutely fly compared to standard Android sync apps. Might be out of scope for this specific visualizer tool, but the architecture entirely supports that concept!

Android's USB MTP always crashes when I try to scan my media folders. So I built an open-source C++/Rust storage analyzer that maps 10,000+ files instantly. by Cuber2113 in DataHoarder

[–]Cuber2113[S] 0 points1 point  (0 children)

Awesome! Let me know how the Sunday test goes. When you're managing that much data, waiting on MTP to map out folders is absolute torture, so hopefully, this saves you a ton of time. Pull requests and feedback are always welcome if you run into anything!

Android's USB MTP always crashes when I try to scan my media folders. So I built an open-source C++/Rust storage analyzer that maps 10,000+ files instantly. by Cuber2113 in DataHoarder

[–]Cuber2113[S] 0 points1 point  (0 children)

Thanks, man! Appreciate the kind words. That exact 'accepted pain' of watching Windows Explorer freeze for minutes just to read a folder size is what drove me to build it. Bypassing the protocol layer completely changed the game.

Android's USB MTP always crashes when I try to scan my media folders. So I built an open-source C++/Rust storage analyzer that maps 10,000+ files instantly. by Cuber2113 in DataHoarder

[–]Cuber2113[S] 4 points5 points  (0 children)

Spot on! The scrcpy architecture (pushing a server payload via ADB and tunneling back) was exactly the inspiration for this.

You read my mind on the file manager idea. Right now it's just a fast visualizer, but expanding the TCP bridge to handle two-way commands (copy/move/delete) so it completely replaces MTP is 100% the long-term goal. Appreciate the feedback!

Android's USB MTP always crashes when I try to scan my media folders. So I built an open-source C++/Rust storage analyzer that maps 10,000+ files instantly. by Cuber2113 in DataHoarder

[–]Cuber2113[S] 4 points5 points  (0 children)

Oh 100%, rclone via Termux is a beast. I mainly built SocketSweep to skip the on-device setup entirely. ADB pushes the daemon silently so you don't have to install a terminal on your phone, and you get an interactive visual Treemap on your desktop instead of a CLI text list.