AndroSH - Professional Multi-Distribution Linux Environments for Android
Posted by Mr_ShadowSyntax@reddit | linux | View on Reddit | 15 comments
I've built AndroSH - a professional-grade tool that deploys isolated Linux distributions on Android devices with elevated privileges through Android's Shizuku service, providing root-level access within Linux environments without requiring device rooting.
Technical Implementation
AndroSH uses a sophisticated architecture: - Shizuku Integration: Leverages Android's Shizuku API for ADB-like system permissions - proot Virtualization: Creates isolated Linux environments with root privileges - SQLite-Backed Management: Professional environment tracking and session management - Multi-Distribution Support: Alpine, Debian, Ubuntu, and Kali NetHunter
Professional Use Cases
# Development Environment
androsh setup dev --distro debian --type stable
androsh launch dev
root@localhost:~# apt install build-essential git python3 nodejs
# Security Research
androsh setup research --distro kali-nethunter --type minimal
androsh launch research
root@localhost:~# apt install nmap wireshark python3-pip
Key Differentiators
- Root-Level Linux Access: Full root privileges within containerized environments
- Zero Device Modification: No bootloader unlocking or system partitioning required
- Android System Integration: Execute Android commands (
pm,getprop) from Linux shells - Enterprise-Grade Management: Database-driven environment tracking and recovery
Technical Requirements
- Android device with Shizuku service
- Python 3.8+ environment (Termux recommended)
- 2GB+ storage for distribution images
This project addresses the gap between mobile convenience and professional Linux tooling, particularly useful for developers, security researchers, and system administrators who need reliable Linux environments on Android devices.
ZunoJ@reddit
Professional grade? Lmao What does it even mean? That you told the llm to make it professional? Even this post was AI generated
Mr_ShadowSyntax@reddit (OP)
Does AI give full ready to use Project? And you just need to copy paste blindly and it will work magically? Try that and let me know if it creates a project like mine.
ZunoJ@reddit
No Idea, I don't use AI at that scale. You just used it more than feels comfortable (this thing is vibe coded, just be honest about it) and didn't disclose it. Then you called it professional grade (whatever that means ) and I'm just pointing these facts out
Toaster_Strudel_517@reddit
Checks README.
Hmm... I wonder how much of this project is vibe coded?
cestlakalash@reddit
I also love that the commit history indicates the entire project is vibe coded
Mr_ShadowSyntax@reddit (OP)
No, the Readme was enhanced but the project was created and tested by me, you can browse the source code line by line to check.
ZunoJ@reddit
I did that. Apart from the code obviously being AI generated there are some dead give aways even non coders should recognize. Like this comment in the FileDownloader class:
# Some servers block HEAD requests, so we'll try GET with stream and range 0-0
eras@reddit
That is a perfectly reasonable comment for a person to write—and it's the better kind of: it explains why, not what.
Signs of AI comments would be left-over would be stuff like "Changed to use range request as requested".
Mr_ShadowSyntax@reddit (OP)
Because you just found a comment you came running to say it AI writing?
I have written that, and my code is working.
Thank you for browsing my code, and I'm looking for your contribution to make it better.
dumbleporte@reddit
Did you just make an interface to termux proot-distro ?
Equivalent-Silver-90@reddit
Where arch?,void?
Mr_ShadowSyntax@reddit (OP)
Full support for Arch and Void is already on the roadmap, I'll be implementing all distributions available in proot-distro. Right now, I'm focused on gathering feedback from real users to ensure the core experience is solid before expanding. If you're interested in testing future releases, starring the repo is a great way to stay updated!
Big_Wrongdoer_5278@reddit
Look I don't even hate AI, but you not disclosing it immediately, then serving half-truths when pushed, and not even fixing the discord code block in reddit markup in your opening post, makes me sincerely doubt how well tested your professional grade project is. I don't want this touching my hardware.
Mr_ShadowSyntax@reddit (OP)
You can browse the source code since it is open.
Cozym1ke@reddit
Holy shit that is the most impressive thing I've seen.