Android device manager and toolbox via ADB. Control your Android device with ease.
- Device Info — View detailed device information (IMEI, Android version, IP, battery, etc.)
- App Manager — Install, uninstall, and manage applications
- ADB Shell — Direct shell access to your device
- Linux Shell — Run Alpine Linux in a chroot container on your device
- Setup Alpine — Automatic Alpine Linux installation with network configuration
- Railgun Repository — Install curated applications from Railgun Repository
- Python 3.7+
- ADB (automatically downloaded if not found)
- Android device with USB debugging enabled
- Root access (for Alpine Linux features)
python railgun.pyOn first run, Railgun will:
- Download ADB if needed
- Detect connected devices
- Offer to download and setup Alpine Linux
Connect your Android device via USB and enable USB debugging. Railgun will automatically detect it.
View comprehensive device information including:
- IMEI and manufacturer
- Android version and SDK level
- Security patch date
- Current IP address
- CPU architecture
- Battery status
- Alpine installation status
- Browse user and system applications
- Install APK files
- Uninstall applications
- Access Railgun Repository for curated apps
Run a full Alpine Linux environment on your device:
railgun> apk add curl
railgun> curl https://example.com
First-time setup includes:
- DNS configuration (Google 8.8.8.8 + Cloudflare 1.1.1.1)
- APK package manager installation
- Network tools (net-tools, iproute2, iputils)
- Recommended directories and packages
Automatic installation of Alpine Linux 3.23.3 (aarch64) with:
- Root access verification
- Automatic network configuration
- APK package manager
- System directories setup
↑↓— Navigate between devicesEnter— Expand/collapse device detailsQ— Return to main menu
- Arrow keys to navigate
- Enter to select
- ESC to go back
- Rooted device — Required for chroot and mount operations
- Magisk or similar — For root access management
- Sufficient storage — ~200MB for Alpine rootfs
- Enable USB debugging on your device
- Check USB cable connection
- Try
adb devicesin terminal - If none helps and your device have Mediatek CPU try installing this
- Ensure device is rooted
- Grant root access to
com.android.shellin Magisk - Check available storage space
- Verify Alpine is installed (Device Info → Alpine: ✓)
- Ensure device remains connected
- Try reconnecting USB
MIT
Contributions welcome! Feel free to submit issues and pull requests.
Railgun — Making Android device management simple and powerful.