Android Rooting Guide
Master Android rooting with comprehensive tutorials covering bootloader unlocking, root installation, and advanced customization techniques.
Quick Navigation โ
TIP
New to rooting? Start with Understanding Root Access
Steps
Ready to begin? Choose your path:
- Prerequisites and Safety - Critical preparations
- Universal Rooting Process - Four-step guide for all devices
- Device-Specific Guides - Tailored instructions for your device
- Root Method Comparison - Magisk vs KernelSU vs APatch
NOTE
Need help? Visit Troubleshooting or FAQ
Understanding Root Access โ
Root access grants superuser (administrator) privileges on Android, providing complete control over your device's operating system and hardware.
What Root Enables โ
- System-level control over files, processes, and hardware
- Bypass manufacturer restrictions on any Android version
- Install powerful apps requiring deep system integration (see Root Apps)
- Modify core system files and customize every aspect via Magic Mount, OverlayFS, or KPM
- Access hidden hardware features and advanced kernel-level configurations
- Kernel-level code injection via APatch KPM (inline-hook, syscall-table-hook)
- Fine-grained root access control via KernelSU App Profiles (uid, gid, capabilities, SELinux)
Benefits vs Risks โ
| Benefits | Risks |
|---|---|
| Complete device control | Warranty void (usually permanent) |
| System-wide ad blocking | Reduced security if misconfigured |
| Performance tuning | Banking apps require active hiding (solutions) |
| Privacy enhancements (firewall, permission control) | OTA updates require manual re-patching |
| Bloatware removal | Potential for device bricking |
| Full app + data backups (Swift Backup, Neo Backup) | Play Integrity may break unpredictably |
| Kernel-level tweaks (CPU, GPU, scheduler) | Strong Integrity generally unachievable on unlocked devices |
| Custom ROM installation freedom | Bootloader unlock wipes ALL data |
Is Rooting Right for You? โ
| โ Root If: | โ Don't Root If: |
|---|---|
| Want complete control over your device | Rely solely on banking/finance apps |
| System-wide ad blocking is priority | Uncomfortable with terminal/command-line |
| Enjoy deep customization & theming | Need 100% warranty coverage |
| Privacy & anti-tracking matters | Want seamless automatic OTA updates |
| Willing to learn & troubleshoot | New to Android and risk-averse |
| Use device as daily driver with backups | Prefer stock, zero-maintenance experience |
Prerequisites and Safety โ
Critical Warnings โ
โ ๏ธ PERMANENT CONSEQUENCES
Data Loss - Unlocking bootloader completely erases all device data. Backup everything before proceeding.
Warranty Void - Bootloader unlocking permanently voids manufacturer warranty on most devices.
Samsung Knox - Bootloader unlock permanently trips Knox eFuse. Samsung Pay, Secure Folder, Samsung Pass are lost forever - even if you re-lock the bootloader.
Security Risks - Root access can expose your device to malware if misused. Only grant root to trusted apps. With great power comes great responsibility.
Banking & Finance Apps - Many financial apps actively detect root. Play Integrity bypass is a continuous cat-and-mouse game requiring ongoing maintenance.
Bricking Risk - Incorrect procedures can permanently damage your device. Follow instructions exactly and have a recovery plan ready.
Essential Requirements โ
Hardware:
- Android device with unlockable bootloader (verify before starting - some carrier-locked variants cannot be unlocked)
- 50% or higher battery charge (a dead battery during flashing = brick)
- Quality data-capable USB cable (not charge-only cables)
- Computer (Windows, macOS, or Linux - Linux is often the most reliable)
Software:
- Android Platform Tools (ADB/Fastboot) - keep these updated!
- Device-specific USB drivers (Windows only - see OEM driver list)
- Stock firmware for your device (essential for recovery)
- Backup solution for your data (Swift Backup, Neo Backup, or manual copy)
Files You'll Need:
- Stock
boot.imgorinit_boot.img(extract from your device's firmware - Android 13+ devices typically useinit_boot.img) - Latest root solution APK/ZIP (Magisk, KernelSU, or APatch)
- Custom recovery image (optional but recommended)
Knowledge:
- Basic command line / terminal familiarity
- Understanding of your exact device model and variant
- Ability to research and follow instructions carefully
- Emergency recovery plan (know how to flash stock firmware)
Pre-Rooting Checklist โ
- โ Backup all data - Photos, contacts, messages, app data (see Backup Apps)
- โ Charge device - Minimum 50% battery
- โ Verify bootloader unlockability - Check OEM Unlocking toggle in Developer Options (greyed out = likely carrier-locked)
- โ Download necessary files - Stock firmware, root solution (APK+ZIP), recovery image
- โ Research your device - Read XDA forums and device-specific guides thoroughly
- โ Prepare recovery plan - Know how to restore stock firmware via fastboot/recovery
- โ
Identify correct partition - Determine if your device uses
boot.imgorinit_boot.img(Android 13+ typically =init_boot.img)
Choosing a Root Method โ
Three primary rooting solutions exist, each with distinct advantages and trade-offs. Magisk offers the broadest compatibility and largest ecosystem, KernelSU provides kernel-level root with granular app control, and APatch combines kernel patching with module support.
Quick Comparison โ
| Feature | Magisk | KernelSU | APatch |
|---|---|---|---|
| Guide | Magisk Guide | KernelSU Guide | APatch Guide |
| Target Users | Beginners, most users | GKI devices, privacy-focused | Developers, edge cases |
| Architecture | Systemless (boot/init_boot/vendor_boot) | Kernel-level (GKI/LKM) | Kernel patching (KernelPatch) |
| Android Support | Android 6.0+ | GKI 2.0 (kernel 5.10+) | ARM64, kernel 3.18+ |
| Installation | Easy (patch & flash) | Moderate (needs compatible kernel) | Moderate (ARM64 only) |
| Module Ecosystem | 1000+ Magisk modules | Modified Magisk modules via metamodule | APModule + KPM (kernel-level) |
| Module Mounting | Built-in Magic Mount | Metamodule required | Magic Mount default; OverlayFS optional |
| Root Hiding | Good (DenyList + Shamiko + PIF) | Excellent (app profiles, uid/gid/selinux control) | Good (SuperKey credential system) |
| Community | Largest | Growing | Small |
| Development | Active | Very active | Active |
| Unique Strength | Ecosystem & broad compatibility | Kernel space, only permitted apps see su | KPM kernel code injection without source |
| OTA Handling | Re-patch after OTA | Some OTA flows survive via LKM | Initial A/B OTA support |
Decision Guide โ
Choose Magisk if:
- You are new to rooting and want the easiest path
- You need maximum module compatibility
- You want universal device support across Android versions
- You prefer in-app updates and the largest community
Choose KernelSU if:
- Your device runs a GKI kernel (5.10+) and you want kernel-level security
- Fine-grained app profiles (uid, gid, groups, capabilities, SELinux) matter to you
- You want the best root concealment (only permitted apps can see
su) - You're comfortable with metamodule setup for module support
Choose APatch if:
- Magisk/KernelSU are blocked on your specific firmware
- You need kernel-level code injection (KPM) without kernel source
- Your device is ARM64 with a compatible kernel
- You want both Magisk-like modules AND kernel patching
IMPORTANT
For detailed comparison including migration guides, see Root Framework Comparison
Universal Rooting Process โ
All Android devices follow this four-step rooting process, regardless of manufacturer or root method. Modern devices (Android 13+) often use init_boot.img instead of boot.img for root patching - check your device specifics.
Step 1: Unlock Bootloader โ
Unlocking the bootloader is the essential first step that enables all subsequent modifications.
Quick Steps:
- Enable Developer Options (Settings > About > Tap Build Number 7 times)
- Enable OEM Unlocking (Developer Options > OEM Unlocking)
- Enable USB Debugging (Developer Options > USB Debugging)
- Boot to fastboot mode (Power + Volume Down or
adb reboot bootloader) - Execute unlock command (
fastboot flashing unlockorfastboot oem unlock)
CAUTION
โ ๏ธ This step erases ALL data. Backup everything first. On Samsung devices, this also permanently trips Knox (Samsung Pay, Secure Folder, Samsung Pass lost forever).
๐ Complete Bootloader Unlocking Guide
Step 2: Install Custom Recovery (Optional but Recommended) โ
Custom recovery provides advanced features and safer modification workflows. While not strictly required for all modern root methods, it's invaluable for backups and emergency recovery.
Popular Options:
- TWRP - Most widely supported, active development
- OrangeFox - Modern UI, frequent updates, EROFS support
- SKYHAWK - Feature-rich recovery project
- PitchBlack - Based on TWRP with enhanced features
Process:
- Download device-specific recovery image
- Boot to fastboot mode
- Flash recovery image -
fastboot flash recovery recovery.img - Boot to recovery - Test functionality before proceeding
NOTE
Some modern devices (especially A/B partition schemes) may not have a dedicated recovery partition. In these cases, you can fastboot boot recovery.img to temporarily boot recovery without flashing.
๐ Custom Recovery Installation Guide
Step 3: Install Root Solution โ
Choose and install your preferred root method. The modern approach uses boot image patching.
Option A: Magisk (Recommended for Most Users) โ
- Download latest Magisk APK from official GitHub
- Extract the correct image from your device's stock firmware:
- Android 13+ (most devices):
init_boot.img - Android 12 and older:
boot.img - Some Samsung devices:
boot.img+vendor_boot.img(Magisk v30.3+)
- Android 13+ (most devices):
- Transfer image to device, patch it using the Magisk app
- Flash patched image via fastboot (
fastboot flash init_boot magisk_patched...img) - Reboot and complete Magisk app setup
TIP
Magisk now supports XZ-compressed modules and 16k page size devices. Use the latest stable release from GitHub.
Option B: KernelSU โ
- Verify your device has a GKI-compatible kernel (kernel 5.10+ with GKI 2.0)
- Download KernelSU-supported kernel for your device or use LKM (Loadable Kernel Module) mode
- Flash kernel via fastboot or KernelSU app
- Install KernelSU Manager app
- Install a metamodule (meta-overlayfs or Meta-Hybrid Mount) - required for modules to work
- Configure App Profiles for fine-grained root access control
WARNING
KernelSU no longer has built-in module mounting. Fresh installations require a metamodule for modules to function. See the KernelSU Guide for details.
Option C: APatch โ
- Verify device compatibility (ARM64, kernel 3.18โ6.12)
- Download APatch Manager and prepare your stock
boot.img - Patch boot image via APatch app (set a strong SuperKey)
- Flash patched image via fastboot
- Configure APatch Manager and install APModule/KPM as needed
NOTE
APatch combines Magisk's convenient boot.img install with KernelSU's kernel patching power. KPM allows kernel function inline-hook and syscall-table-hook without kernel source.
Step 4: Post-Root Configuration โ
After successful root installation, complete these essential steps:
- Verify Root Access - Use a root checker app to confirm superuser access works
- Install Essential Apps - Visit Starter Kit: Must-Have Apps
- Configure Root Hiding (critical for banking apps):
- Magisk: Enable Zygisk + DenyList, install any Play Integrity Fix module + Tricky Store + Shamiko (or open-source Zygisk Assistant)
- KernelSU: Use App Profiles, install Zygisk Next + PIF + Tricky Store
- APatch: Use SuperKey credential system + PIF modules
- Create Full Backup - Use Swift Backup, Neo Backup, or recovery nandroid
Recommended Next Steps:
- Block Ads System-Wide - Eliminate ads across all apps
- Debloat Your Device - Remove bloatware safely
- Install LSPosed / Vector Framework - Advanced app customization with Xposed modules
- Browse 500+ Root Apps - Discover essential tools
Device-Specific Guides โ
Detailed rooting instructions tailored for specific manufacturers and models.
๐ฑ Google Pixel Series โ
๐ฑ Samsung Galaxy Series โ
๐ฑ Xiaomi Devices โ
๐ฑ OnePlus Devices โ
๐ฑ Motorola Devices โ
๐ฑ Nothing Phone Series โ
TIP
Can't find your device? Check XDA Developers Forums or search device-specific Telegram groups. Most devices with unlockable bootloaders follow the universal process above.
NOTE
ASUS (ROG/Zenfone), Realme/OPPO, ASUS: Check the Root Framework Comparison for device-specific root method recommendations.
Troubleshooting โ
Common Issues and Solutions โ
Device Won't Boot (Bootloop)
Symptoms: Device stuck on boot logo, constantly rebooting
Solutions:
- Boot to recovery mode (Power + Volume Up, varies by device)
- Wipe cache partition from recovery
- Restore from backup if available
- Flash stock
boot.img/init_boot.imgvia fastboot to undo root - Flash full stock firmware via fastboot/recovery
- Seek help on your device-specific XDA forum
Root Not Detected
Symptoms: Root checker shows no root, apps can't get superuser access
Solutions:
- Verify root manager app is installed and running
- Check if Zygisk is enabled (Magisk settings)
- Grant root permission when prompted by apps
- Re-patch and re-flash boot image
- Verify the patched image wasn't overwritten by an OTA
Banking Apps Not Working (Play Integrity)
Symptoms: Apps detect root and refuse to run, Play Integrity check fails
WARNING
Play Integrity bypass is a cat-and-mouse game - Google continuously updates detection. No solution is permanent.
Solutions (2026 best practices):
- Magisk: Enable Zygisk โ Configure DenyList (add banking app) โ Enforce DenyList
- Install Play Integrity Fix module (provides working device fingerprint)
- Install Tricky Store for advanced key attestation spoofing
- Install Shamiko (closed-source) or Zygisk Assistant (open-source) for better root hiding
- Hide the Magisk app (Settings โ Hide the Magisk app โ repackage with random name)
- Use Zygisk Next (alternative Zygisk implementation, works on KernelSU too)
- Clear banking app data after setting up hiding
- See detailed Play Integrity troubleshooting
NOTE
Strong Integrity (required by some wallet/payment apps) is generally not achievable on unlocked bootloaders. Even with all fixes, some apps may refuse to run. Consider using a secondary unrooted device for critical banking.
OTA Updates Failing
Symptoms: System updates fail to install or cause bootloop
Solutions:
- Magisk: Use "Restore Images" in Magisk app before OTA, then "Install to Inactive Slot" after OTA
- Flash full OTA package manually, then re-patch and re-flash root
- KernelSU: Some OTA flows survive via LKM mode, but verify after each update
- APatch: Initial A/B OTA support available (experimental)
- Consider switching to a custom ROM with built-in OTA + root support
Fastboot Not Recognized
Symptoms: Computer doesn't detect device in fastboot mode
Solutions:
- Install proper USB drivers (Windows)
- Try a USB 2.0 port (USB 3.0 often causes issues with fastboot)
- Use a high-quality data-capable USB cable (not charge-only)
- On Linux: add udev rules, run
fastbootas root or configure permissions - Try
fastboot deviceson a different computer
Emergency Recovery โ
Safe Mode (Disable All Modules)
If a rogue module causes bootloop:
- Hold Power + Volume Down (or your device's Safe Mode key combo) during boot
- This disables all Magisk modules temporarily
- Uninstall the problematic module and reboot
Factory Reset Protection (FRP)
If locked out after factory reset:
- Use previously synced Google account credentials
- Follow manufacturer-specific FRP bypass methods
- Flash stock firmware with all partitions
- Contact manufacturer support if purchased legitimately
Complete Brick Recovery (EDL/9008 Mode)
If device won't power on or enter any mode:
- Try Emergency Download Mode (EDL/9008) - varies by device
- Use manufacturer-specific unbrick tools (MSM Tool for OnePlus, Odin for Samsung, etc.)
- Search XDA for device-specific unbrick guides
- Professional repair may be necessary for hardware-level bricks
Prevention Tips:
- ๐ฅ Always keep stock firmware downloaded before starting
- ๐พ Create regular backups (Swift Backup, Neo Backup, recovery nandroid)
- ๐ Read your device's XDA forum thoroughly before attempting anything
- ๐ Keep a copy of your stock
boot.imgandinit_boot.img - ๐งช Test one module at a time, reboot between installations
- ๐ Join device-specific Telegram/Discord communities for real-time help
If locked out after factory reset:
- Use previously synced Google account
- Follow manufacturer FRP bypass methods
- Flash stock firmware with all partitions
- Contact manufacturer support if purchased legitimately
Complete Brick Recovery
If device won't power on or enter any mode:
- Try emergency download mode (EDL/9008)
- Use manufacturer-specific unbrick tools
- Search XDA for device-specific unbrick guides
- Professional repair may be necessary
Prevention Tips:
- Always keep stock firmware downloaded
- Create regular backups
- Understand your device's emergency modes
- Join device-specific communities for support
Additional Resources โ
Framework and Advanced Guides โ
Vector / LSPosed Framework
Advanced app modification framework for rooted devices. The ecosystem has evolved: the original LSPosed was archived in January 2024, and current builds are either closed-source (lsposed.zip) or the fully open-source Vector fork.
- Vector (Recommended): GitHub - Fully open-source (GPLv3), actively maintained, supports Android 8.1โ17 Beta
- LSPosed (Closed-Source): lsposed.zip - Original team's builds, API 101 stable
- Requires Zygisk (Magisk) or Zygisk Next/NeoZygisk (KernelSU)
- Enables Xposed modules for per-app customization, privacy, and UI tweaks
- API 101 is the current standard; Vector CI builds already support it
IMPORTANT
See our Complete Vector/LSPosed Guide for the full breakdown on choosing between Vector (open-source) and lsposed.zip (closed-source), installation, and module management.
Custom ROM Installation
Replace stock Android with privacy-focused custom ROMs:
- Requires unlocked bootloader and typically custom recovery
- Popular options: LineageOS, PixelOS, crDroid, GrapheneOS (now supports Zygisk Next)
- Reduces telemetry, removes bloatware, extends device lifespan
๐ Custom ROM Installation Guide
Root Hiding & Play Integrity Resources โ
Play Integrity bypass is essential for banking apps in 2026. Key tools:
| Tool | Purpose | Status |
|---|---|---|
| Tricky Store | Advanced key attestation spoofing | Active |
| Shamiko | Systemlessly hides Zygisk/modules from detection | Closed-source |
| Zygisk Assistant | Open-source alternative to Shamiko | Active (FOSS) |
| Zygisk Next | Standalone Zygisk implementation for Magisk/KernelSU | Active |
| Play Integrity Fork | Community-maintained PIF script | Active |
TIP
For complete and up-to-date list, check our Root Hiding section โ
Community and Support โ
Official Resources โ
- GitHub Repository - Source code and issues
- Troubleshooting Guide - Common problems and fixes
- FAQ - Common questions
- Root Apps Collection - Curated apps and modules
- X (Twitter) Updates - Project news & updates
External Communities โ
- XDA Developers - Device-specific forums (largest Android modding community)
- r/AndroidRoot - Rooting help and discussion
- r/Magisk - Magisk-specific support
- r/KernelSU - KernelSU community
- Telegram Groups - Device-specific and framework-specific groups (search for your device)
When Asking for Help โ
Include this information for faster troubleshooting:
- Device model and exact variant (e.g., Pixel 8 Pro
husky, not just "Pixel 8") - Android version and build number (e.g., Android 16 QPR2, build BP1A)
- Root method and version (e.g., Magisk v30.7, KernelSU v3.2)
- Modules installed (list all active Magisk/KernelSU/APatch modules)
- Exact error messages (screenshots or copy-pasted text)
- Steps already tried (so helpers don't suggest things you've done)
- Screenshots of error states if applicable
Next Steps โ
Your Path Forward โ
- Unlock Bootloader - The essential first step
- Install Recovery - Optional but recommended
- Choose Your Root Method - Magisk, KernelSU, or APatch
- Follow Device-Specific Guide - Tailored for your phone
- Set Up Root Hiding - Essential for banking apps
- Install Vector/LSPosed - Unlock app customization
IMPORTANT
- Join our community discussions
- Contribute to the project
- Stay updated via X (Twitter)
๐ Welcome to the World of Android Freedom!
Your journey to unlimited Android possibilities begins now! The rooting community is stronger than ever in 2026