Skip to content

Ap0dexMe0/mkshrc

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

94 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐚 MKSHRC

Enhanced Android Shell Environment

Android API License

Transform your Android shell experience with a powerful UNIX-like toolbox


πŸ“‹ Overview

mkshrc provides a comprehensive, user-friendly shell environment for Android devices. It delivers a minimal yet powerful UNIX-like toolbox featuring essential tools like BusyBox, OpenSSL, curl, Git, and Frida, all wrapped in an intelligent shell configuration that dramatically improves usability.

✨ Key Features

  • πŸ”§ Complete Toolbox - Pre-compiled binaries for all major Android architectures
  • πŸš€ Zero Dependencies - Statically linked binaries work out-of-the-box
  • πŸ” Security Tools - Includes Frida, OpenSSL, and certificate management
  • πŸ“± Universal Support - Works on rooted and non-rooted devices
  • ⚑ Smart Aliases - Intuitive shortcuts for common operations
  • πŸ”„ Auto-Detection - Automatically configures based on device capabilities

πŸ“¦ Included Tools

πŸ› οΈ Tool πŸ“‹ Version πŸ“ Description
BusyBox 1.36.1.1 Complete UNIX utilities suite with 300+ applets
Git 2.20.1 Version control with smart aliases and helpers
OpenSSL 1.1.1l Cryptographic operations and SSL/TLS support
curl 7.78.0 HTTP/HTTPS client with full SSL support
Frida 17.2.16 / 16.7.9 Dynamic instrumentation and reverse engineering
supolicy 2.82 SELinux policy manipulation and management

πŸš€ Quick Start

1️⃣ Installation

πŸ“± Method 1: Using ADB (Recommended)
# Push files to device
adb push package/ /data/local/tmp/package
adb push install.sh /data/local/tmp/mkshrc

# Or use the included batch script
install.bat

# Connect to device and install
adb shell
source /data/local/tmp/mkshrc

2️⃣ Activation

# Activate the enhanced shell environment
source /data/local/tmp/mkshrc.sh

# Or add to your shell profile for automatic loading
echo 'source /data/local/tmp/mkshrc.sh' >> ~/.bashrc

3️⃣ Device Compatibility

πŸ” Device Type πŸš€ Auto-Load πŸ› οΈ Functionality πŸ“ Notes
Rooted βœ… Automatic 🟒 Full Access Permanent installation
Non-Rooted ❌ Manual 🟑 Limited Requires manual sourcing

πŸ“œ Extra Utilities

  • πŸ” update-ca-certificate <path> – Install custom CA certificates into Android system trust store
  • πŸ”„ restart – Perform soft reboot of Android framework (requires root)
  • πŸ“ pull <path> – Safely copy files from system to /data/local/tmp/
  • πŸ” frida {start|status|stop|version} – Manage Frida server lifecycle
  • πŸ”— BusyBox applets – Automatically symlinked (except man)

πŸ—οΈ Architecture Support

πŸ›οΈ Architecture πŸ“± Target Devices βœ… Status
arm64-v8a Modern Android devices (64-bit ARM) Fully Supported
armeabi-v7a Older Android devices (32-bit ARM) Fully Supported
x86 Android emulators (32-bit x86) Fully Supported
x86_64 Android emulators (64-bit x86) Fully Supported

πŸ“ Package Structure

πŸ“¦ package/
β”œβ”€β”€ πŸ—οΈ arm64-v8a/              # 64-bit ARM (most modern devices)
β”‚   β”œβ”€β”€ busybox/
β”‚   β”œβ”€β”€ git/
β”‚   β”œβ”€β”€ openssl/
β”‚   └── curl/
β”œβ”€β”€ πŸ—οΈ armeabi-v7a/            # 32-bit ARM (older devices)
β”œβ”€β”€ πŸ—οΈ x86/                    # 32-bit x86 (emulators)
β”œβ”€β”€ πŸ—οΈ x86_64/                 # 64-bit x86 (emulators)
β”œβ”€β”€ πŸ“œ mkshrc.sh               # Main shell configuration
β”œβ”€β”€ πŸ“‹ source.txt              # Source URLs for packages
└── πŸ” update-ca-certificate.sh # CA certificate updater

πŸ”¨ Adding New Packages

πŸ› οΈ Development Guidelines

  • πŸ“¦ Adding Packages - Complete guide for adding new tools
  • Android NDK Setup - Cross-compilation environment
  • Static Linking - Maximum compatibility across devices
  • API Level 21+ - Target Android 5.0 and above
  • Testing Procedures - Validation on real devices
  • Binary Optimization - Size reduction with strip

πŸ”§ Available Packages

  • πŸ”§ vim - Advanced text editor with syntax highlighting
  • πŸ“Š htop - Interactive process viewer and system monitor
  • πŸ“ git - Version control system with smart aliases and helpers

⚠️ Important Notes

🎯 Educational & Development Use Only

This project is designed for educational, debugging, and development purposes. Always test in safe environments and understand the implications of system modifications.

πŸ”’ Security Considerations

  • Review all binaries before deployment
  • Understand root access implications
  • Use appropriate security measures
  • Keep tools updated for security patches

🌟 Contributing

We welcome contributions! Please read our guidelines and submit pull requests.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Made with ❀️ for the Android development community

Credit:

About

Enhances the Android shell with aliases, BusyBox, Frida support, and easy ADB configuration for both rooted and non-rooted devices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Vim Script 87.8%
  • Shell 7.3%
  • PostScript 2.1%
  • Roff 0.8%
  • Raku 0.4%
  • C 0.4%
  • Other 1.2%