Root Troubleshooting Guide
Comprehensive solutions for common rooting problems organized by root method and failure type with step-by-step diagnostic procedures.
Emergency First
If your device won't boot, jump to Emergency Recovery immediately.
Quick Navigation
Emergency Issues
Root Method Issues
Specific Problems
- Bootloader and Fastboot Issues
- OTA Update Problems
- Play Integrity and Banking Apps
- App Detection and Compatibility
- Device-Specific Issues
- Performance and Optimization
Emergency Recovery
Device Won't Boot (Bootloop)
Symptoms: Device stuck on boot logo, loops endlessly, or only boots to recovery/fastboot.
Immediate Actions:
Try Magisk Safe Mode (if Magisk installed)
- Hold Volume Up during early boot to trigger module safe mode
- Works on many devices/Magisk builds
- If accessible via recovery/adb:bash
adb shell magisk --remove-modules # Or manually adb shell rm -rf /data/adb/modules/* adb reboot
Boot to Recovery/Bootloader
- Power + Volume combo varies by device:
- Pixel: Power + Volume Down, select Recovery
- Samsung: Power + Volume Up (+ Bixby on older models) while USB connected
- Xiaomi: Power + Volume Up
- OnePlus: Power + Volume Down
- Most others: Power + Volume Up (recovery), Power + Volume Down (bootloader)
- Detailed instructions: Custom Recovery Installation
- Power + Volume combo varies by device:
Wipe Dalvik/ART Cache
- Custom recovery: Wipe → Advanced wipe → Dalvik/ART cache + Cache
- Stock recovery: "Wipe cache partition" (if available on your device)
Undo Last Change
- Remove the last module/kernel/ROM you flashed
- Restore last NANDroid backup if available
Advanced Recovery Steps:
If Custom Recovery Installed (TWRP/OrangeFox)
Option A: Remove last installed module
bash# Boot to TWRP # Mount system and data partitions # Open Terminal # List Magisk modules ls /data/adb/modules # Remove problematic module rm -rf /data/adb/modules/[module-name] # Reboot
Option B: Disable all modules
bash# In TWRP Terminal touch /data/adb/magisk/disable # Or touch /data/adb/modules/disable # Reboot
Option C: Restore backup
- TWRP → Restore → Select recent backup
- Restore boot, system, data partitions
- Reboot
Flash Correct Stock/Patched Image
Flash Correct Stock/Patched Image
For Android 13+ devices (Pixel 7/8/9, some Samsung/OnePlus/Xiaomi):
- Patch/flash
init_boot.img
(not boot.img)
For older devices:
- Patch/flash
boot.img
Commands (A/B devices):
bash# Enter bootloader/fastboot mode adb reboot bootloader fastboot devices # Flash patched image to both slots fastboot flash init_boot_a magisk_patched.img fastboot flash init_boot_b magisk_patched.img fastboot reboot
Return to stock:
bashfastboot flash init_boot stock_init_boot.img # Or for older devices fastboot flash boot stock_boot.img fastboot reboot
- Patch/flash
Flash Full Stock Firmware
Flash Full Stock Firmware
- Pixel: Use Android Flash Tool (web) or factory image scripts
- Samsung: Odin with full firmware (AP/BL/CP/CSC). Use HOME_CSC to preserve data
- Xiaomi/POCO/Redmi: Mi Flash Tool with fastboot ROM (beware Anti-Rollback)
- OnePlus: MSMDownloadTool or fastboot packages
- Device guides: Pixel • Samsung • Xiaomi • OnePlus
Factory Reset (Last Resort)
- Stock recovery: Wipe data/factory reset
- Fastboot:
fastboot -w
thenfastboot reboot
- Warning: Erases all user data
Emergency Commands Reference:
# Reboot to different modes
adb reboot bootloader
adb reboot recovery
fastboot reboot fastboot # userspace fastboot (fastbootd) for dynamic partitions
# Boot recovery without flashing
fastboot boot recovery.img
# Disable all Magisk modules
adb shell magisk --remove-modules
# Flash original images
fastboot flash boot stock_boot.img
fastboot flash init_boot stock_init_boot.img
# Switch active slot (A/B devices)
fastboot getvar current-slot
fastboot set_active a # or b
# Full wipe
fastboot -w
Pro Tips:
- Always keep a copy of stock boot/init_boot images
- On A/B devices, use Magisk's "Install to Inactive Slot (After OTA)"
- Don't mix images from different builds
- Build fingerprint must match
Root Not Working
Symptoms: Apps report "no root," superuser prompts don't appear, or manager shows N/A.
Symptoms: Apps report "no root," superuser prompts don't appear, or manager shows N/A.
Basic Verification:
Check Root Manager Status
- Magisk: App should show version numbers. "Installed" should display. If N/A, installation failed
- KernelSU: App shows kernel supported/enabled. If unsupported, flash KSU-enabled kernel
- Test with a simple root checker app or Termux +
su
Verify Correct Image
bashadb shell su -c "echo Root works"
If "su: not found" → root not installed
Solutions by Root Method:
Magisk:
Reinstall to Current Slot
- Download latest Magisk APK from official GitHub
- Open → Install → Direct Install (or "Install to Inactive Slot" after OTA)
- Reboot
Ensure Correct Target Image
- Android 13+: Patch
init_boot.img
(not boot.img) - Older devices: Patch
boot.img
- Extract from your exact firmware build
- Android 13+: Patch
Enable Zygisk (if needed)
- Settings → Enable Zygisk
- Configure DenyList for apps that mustn't see root
- Reboot after changes
Check Module Conflicts
- Disable all modules and re-enable one at a time
- See Emergency Recovery
KernelSU:
- Confirm kernel has KSU integrated for your exact build
- Match kernel to your ROM/firmware version and vendor partition
- Use official KernelSU Manager
APatch:
- Ensure device/kernel is supported (ARM64 only)
- Follow official documentation for your device/ROM
Clean Re-install (Magisk):
# Method A: Patch and flash
# 1) Extract correct image (boot.img or init_boot.img) from current firmware
# 2) Patch with Magisk on-device
# 3) Flash with fastboot to both slots if A/B
fastboot flash init_boot_a magisk_patched.img
fastboot flash init_boot_b magisk_patched.img
fastboot reboot
Method B: Recovery flash (legacy devices with custom recovery)
- Boot to TWRP/OrangeFox
- Flash Magisk ZIP/APK
- Reboot and install Magisk app if needed
Bricked Device Recovery
Determine Brick Type:
- Soft brick (recoverable): Can reach fastboot/download/recovery; device shows signs of life. High recovery chance
- Hard brick: No response, no LEDs, not detected by PC. Recovery depends on SoC; professional help may be required
Soft Brick Recovery:
Enter Recovery/Bootloader
- Try all key combinations (see Device Won't Boot)
Flash Stock Firmware
- Pixel: Factory images/Android Flash Tool
- Samsung: Odin with full firmware. Use HOME_CSC to preserve data. KNOX 0x1 is permanent once bootloader unlocked
- Xiaomi: Mi Flash Tool with fastboot ROM. Beware Anti-Rollback (ARB)
- OnePlus: MSMDownloadTool or fastboot packages
Factory Reset if System Corrupted
bashfastboot -w fastboot reboot
Hard Brick Options:
Recovery options vary by SoC/manufacturer:
- Qualcomm EDL (9008): Requires test points or special cable; many devices require authorized accounts
- OnePlus MSM tools: Full unbrick to factory state (legacy models)
- Samsung Smart Switch Emergency Recovery: Limited success, model-dependent
- Professional services: JTAG/ISP/board-level repair for valuable devices
Prevention:
- Confirm firmware/build numbers match exactly
- Keep device charged; don't interrupt flash operations
- Always back up before flashing
Magisk Troubleshooting
Installation Fails
Error: "Cannot patch boot image"
Causes:
- Corrupted boot image
- Wrong firmware version
- Insufficient storage
Solutions:
Verify boot image
bash# Check boot image integrity file boot.img # Should show: "Android bootimg"
Clear Magisk cache
- Settings → Apps → Magisk
- Clear cache and data
- Reinstall Magisk
Extract boot from firmware
- Use payload-dumper-go (for Pixel/OnePlus)
- Use firmware extractor tools
- Verify MD5 hash matches
Try alternative patching
- Install to recovery instead
- Patch on PC using Magisk
- Use fastboot mode installation
Error: "Installation failed! This device is not supported"
Solutions:
Update Magisk
- Download latest version
- Alpha/Beta may support newer devices
Check device compatibility
- Some devices need special Magisk builds
- Search XDA for device-specific versions
Try APatch as alternative
- Some devices incompatible with Magisk
- APatch may work
Magisk Modules Not Working
Diagnostic steps:
Check module status
- Magisk → Modules
- Look for "!" icon (indicates issues)
View module logs
bashadb shell su cat /cache/magisk.log
Test in safe mode
- Disable all modules
- Enable one at a time
- Identify conflicting module
Common module issues:
Problem | Solution |
---|---|
Module shows as "!" | Incompatible or corrupted - reinstall |
Module enabled but not working | Check logs, verify compatibility |
Modules disappear after reboot | Core Magisk issue - reinstall Magisk |
Some modules cause bootloop | Disable via recovery, check compatibility |
MagiskHide/DenyList Not Working
For older Magisk (before v24):
Enable MagiskHide
- Settings → MagiskHide
- Add apps to hide list
If still detected:
- Install Shamiko module
- Configure hide settings
- Clear app data of banking app
For Magisk v24+:
Configure DenyList
- Settings → Enable Zygisk
- Settings → Configure DenyList
- Add apps needing root hidden
Enforce DenyList
- Enable "Enforce DenyList"
- Reboot device
Additional hiding:
- Install Shamiko
- Rename Magisk app
- Use Zygisk-Assistant
Advanced detection evasion:
# Hide Magisk app
adb shell
su
magisk --sqlite "UPDATE settings SET value='com.random.package' WHERE key='requester'"
# Clear props
resetprop --delete ro.debuggable
resetprop --delete ro.secure
MagiskHide/DenyList Not Working
For older Magisk (before v24):
Enable MagiskHide
- Settings → MagiskHide
- Add apps to hide list
If still detected:
- Install Shamiko module
- Configure hide settings
- Clear app data of banking app
For Magisk v24+:
Configure DenyList
- Settings → Enable Zygisk
- Settings → Configure DenyList
- Add apps needing root hidden
Enforce DenyList
- Enable "Enforce DenyList"
- Reboot device
Additional hiding:
- Install Shamiko module
- Rename Magisk app
- Use Zygisk-Assistant
Advanced detection evasion:
# Hide Magisk app
adb shell
su
magisk --sqlite "UPDATE settings SET value='com.random.package' WHERE key='requester'"
# Clear props
resetprop --delete ro.debuggable
resetprop --delete ro.secure
Magisk Broke OTA Updates
Symptoms: OTA fails to install or bootloop after OTA
Solution:
Before OTA (preparation):
bash# Backup current setup # Disable all modules # Uninstall Magisk (Restore Images) # Apply OTA # Re-root with new boot image
After failed OTA:
- Boot to recovery
- Flash stock boot from new firmware
- Flash new patched boot
- Reboot
Prevention:
- Always uninstall Magisk before OTA
- Use OTA preservation modules with caution
- Consider custom ROM for seamless updates
KernelSU Troubleshooting
Installation Issues
Error: "No KernelSU detected"
Causes:
- Wrong kernel flashed
- Kernel doesn't have KernelSU built-in
Solutions:
Verify kernel
bashadb shell su -c "cat /proc/version" # Should show KernelSU in version string
Flash correct kernel
- Download KernelSU-supported kernel for your device
- Verify source and version
- Flash via fastboot or recovery
Build kernel with KernelSU (advanced)
- Follow KernelSU documentation
- Compile custom kernel
- Flash and test
Modules Don't Install
Diagnosis:
Check module compatibility
- KernelSU modules use different format
- Some Magisk modules incompatible
Verify module format
- Must be KernelSU-compatible
- Check module description
Solutions:
Convert Magisk module
- Some modules work with minor changes
- Check module developer notes
Find KernelSU alternatives
- Growing KernelSU module ecosystem
- Check KernelSU module repos
KernelSU Not Surviving Reboots
Causes:
- Kernel reverted
- Security patches interfering
Solutions:
Check kernel status after reboot
bashcat /proc/version
Disable AVB if needed
bashfastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Flash kernel to both slots (A/B devices)
bashfastboot flash boot_a kernelsu-boot.img fastboot flash boot_b kernelsu-boot.img
App Profile Issues
KernelSU uses profile system instead of per-app permissions
Configuration:
Set up profiles
- KernelSU Manager → Profiles
- Create profiles for different use cases
- Assign apps to profiles
Profile not applying
- Force stop app
- Clear app cache
- Reapply profile
- Reboot
APatch Troubleshooting
Patching Fails
Common errors and solutions:
Error | Solution |
---|---|
"Unsupported boot image" | Try different extraction method |
"Patching timeout" | Increase timeout, try on PC |
"Verification failed" | Disable AVB/DM-verity |
"Flash failed" | Use different flash method |
General steps:
Verify boot image source
- Extract from official firmware only
- Check MD5 hash
Try alternative patching
- Patch on PC instead of device
- Use different APatch version
Check device compatibility
- Some devices need specific builds
- Check APatch GitHub issues
APatch Not Persistent
If APatch disappears after reboot:
Check installation method
- Permanent install vs temporary
- Flash to correct partition
Verify both slots (A/B devices)
bashfastboot flash boot_a apatched-boot.img fastboot flash boot_b apatched-boot.img
Disable verification
bashfastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
General Rooting Problems
Bootloader Won't Unlock
Solutions by manufacturer:
Google Pixel
# Enable OEM unlocking in Developer Options
# Boot to fastboot
fastboot flashing unlock
# Or for newer devices
fastboot flashing unlock_critical
Samsung
- No official bootloader unlock for US/Canada models
- International models: Check Samsung Developer site
- Knox will trip permanently
Xiaomi
- Apply for unlock permission on official site
- Wait period varies (3-7 days typically)
- Use official Mi Unlock Tool
OnePlus
fastboot oem unlock
# Or newer models
fastboot flashing unlock
If unlock command fails:
- Update platform-tools
- Try different USB cable/port
- Enable USB debugging
- Allow bootloader unlock in Developer Options
fastboot/ADB Not Recognized
Windows:
Install drivers
- Download SDK Platform Tools
- Install universal ADB drivers
- Install manufacturer-specific drivers
Driver signature enforcement
powershell# Disable driver signature enforcement # Advanced startup → Troubleshoot → Advanced → Startup Settings # Choose "Disable driver signature enforcement"
Linux:
- Set up udev rulesbash
sudo nano /etc/udev/rules.d/51-android.rules # Add: SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" # Reload rules sudo udevadm control --reload-rules
Mac:
- Usually works without setup
- Ensure USB debugging enabled
- Trust computer on device
"dm-verity" or "AVB" Errors
What is it:
- Android Verified Boot
- Prevents modified system from booting
Solution:
# Download vbmeta.img for your firmware
# Flash with disabled verification
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
# Some devices need
fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img
# For A/B devices, flash both slots
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
SafetyNet/Play Integrity Failing
Current status (2025): Increasingly difficult to pass
Basic troubleshooting:
Enable hiding features
- Magisk: DenyList + Zygisk
- KernelSU: App profiles
- APatch: Built-in hiding
Install supplementary modules
- Play Integrity Fix
- Universal SafetyNet Fix
- Shamiko (Magisk)
- Tricky Store
Hide root artifacts
bash# Rename Magisk app # Clear app data of checking app # Hide props resetprop --delete ro.debuggable
Spoof device fingerprint
- Use device fingerprint from passing device
- Install fingerprint spoofing modules
Apps known to be strict:
- Google Wallet
- Banking apps
- Netflix
- Pokemon GO
- Some corporate apps
Reality Check
As of 2025, passing strong Play Integrity attestation is very difficult. Consider if rooting is worth losing access to these apps for your use case.
Bootloader and Fastboot Issues
Bootloader Won't Unlock
Solutions by Manufacturer:
Google Pixel:
# Enable OEM unlocking in Developer Options
# Boot to fastboot
fastboot flashing unlock
# Or for newer devices
fastboot flashing unlock_critical
Samsung:
- No official bootloader unlock for US/Canada models
- International models: Check Samsung Developer site
- KNOX will trip permanently (0x1 flag)
- Warranty void and Samsung Pay/Health secured features affected
Xiaomi/Redmi/POCO:
- Apply for unlock permission on official Xiaomi site
- Wait period varies (3-7 days typically, up to 30 days)
- Use official Mi Unlock Tool
- Unlock wipes all data
OnePlus:
fastboot oem unlock
# Or newer models
fastboot flashing unlock
Nothing Phone:
- Official unlock supported
- Enable OEM unlocking in Developer Options
- Use fastboot unlock commands
If unlock command fails:
- Update SDK Platform Tools to latest version
- Try different USB cable/port (USB 2.0 ports often work better)
- Enable USB debugging in Developer Options
- Ensure "Allow bootloader unlock" is enabled in Developer Options
- Some devices require internet connection during unlock
fastboot/ADB Not Recognized
Windows:
Install drivers
- Download SDK Platform Tools
- Install universal ADB drivers
- Install manufacturer-specific drivers (Samsung, Xiaomi, etc.)
Disable driver signature enforcement
powershell# Advanced startup → Troubleshoot → Advanced → Startup Settings # Choose "Disable driver signature enforcement" # Then install unsigned drivers
Linux:
- Set up udev rulesbash
sudo nano /etc/udev/rules.d/51-android.rules # Add: SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" # Google - 18d1, Samsung - 04e8, Xiaomi - 2717, OnePlus - 2a70 # Reload rules sudo udevadm control --reload-rules sudo udevadm trigger
Mac:
- Usually works without setup
- Ensure USB debugging enabled
- Trust computer on device
- For M1/M2 Macs, may need to disable SIP in some cases
AVB and Verified Boot Errors
What is it:
- Android Verified Boot (AVB) prevents modified system from booting
- dm-verity checks system integrity
When you see errors like:
- "dm-verity corruption"
- "AVB verification failed"
- "Can't load Android system"
Solution:
# Download vbmeta.img for your firmware
# Flash with disabled verification
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
# Some devices need
fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img
# For A/B devices, flash both slots
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
Important:
- Most modern Magisk installs do NOT require disabling AVB
- Only disable if your device/ROM/kernel documentation specifically requires it
- Some custom ROMs need this step
OTA Update Problems
OTA Survival with Magisk (A/B Devices)
Recommended Method:
Install OTA via system updater
- Don't reboot yet when prompted
Install Magisk to inactive slot
- Open Magisk Manager
- Install → "Install to Inactive Slot (After OTA)"
- Wait for completion
Reboot
- Now you can reboot
- OTA applied with root preserved
If OTA Already Failed:
Flash stock boot for new version
bash# Download new firmware # Extract boot/init_boot.img fastboot flash boot_a stock_boot.img fastboot flash boot_b stock_boot.img fastboot reboot
Re-root with new image
- Extract correct image from new firmware
- Patch with Magisk
- Flash patched image
Non-A/B Devices
Process:
- Uninstall Magisk (Restore Images)
- Apply OTA normally
- Re-patch new boot image
- Flash via fastboot or custom recovery
Play Integrity and Banking Apps
Understanding Play Integrity
Integrity Levels:
- BASIC: Device appears unmodified at basic level
- DEVICE: Device passes device-level integrity
- STRONG: Hardware-backed attestation (typically fails on unlocked bootloaders)
Important: Bypassing security requirements of protected apps is against their terms of service. This section focuses on legitimate compatibility best practices.
Best Practices for Compatibility:
Keep System Updated
- Update firmware and Play Services
- Use latest stable root method version
Configure Root Hiding
- Magisk: Enable Zygisk + Configure DenyList
- KernelSU: Set up app profiles
- Limit root visibility to sensitive apps
Clear Play Services Data
bash# After major changes, clear cache and reboot # Settings → Apps → Google Play Services → Storage # Clear cache and data # Settings → Apps → Google Play Store → Storage # Clear cache and data # Reboot device
Check Device Certification
- Play Store → Settings → About → "Play Protect certification"
- Should show "Device is certified"
Testing Tools:
- Play Integrity API Checker (use reputable sources)
- Note: YASNAC is legacy (SafetyNet) and no longer authoritative
Reality Check:
- STRONG integrity typically requires locked bootloader
- Some apps will not work on rooted/unlocked devices regardless of configuration
- Consider:
- Secondary unmodified device for critical apps
- Browser-based alternatives
- Work profile separation (without attempting to bypass security)
Apps Known to Be Strict:
- Google Wallet/Pay
- Banking apps
- Netflix (in some regions)
- Pokemon GO
- Corporate MDM apps
Device-Specific Issues
Google Pixel (6/7/8/9 Series)
Common Issues:
Patching wrong image
- Android 13+: Must patch
init_boot.img
(not boot.img) - Boot.img patching will fail to root
- Extract from factory image payload.bin using payload-dumper-go
- Android 13+: Must patch
OTA updates
- Use "Install to Inactive Slot (After OTA)" method
- Keep both slots in sync
Fastbootd for flashing
bash# Use userspace fastboot for dynamic partitions adb reboot fastboot # Or from bootloader fastboot reboot fastboot
Resources:
Samsung Galaxy (S21-S25, Fold/Flip)
Common Issues:
KNOX permanently trips
- Once bootloader unlocked, KNOX 0x1 flag is permanent
- Samsung Pay, Samsung Pass, Secure Folder may be affected
- Samsung Health advanced features limited
- Warranty void
Root via Odin
- Patch AP file with Magisk
- Flash BL/AP/CP/CSC in Odin
- Use HOME_CSC to preserve data (when appropriate)
US carrier models
- Most US/Canada models have locked bootloaders
- No official unlock available
- Check XDA for your specific model
Anti-Rollback Protection
- Some models have fuse-based ARB
- Don't downgrade firmware below certain versions
- Check "Binary" version in Download Mode
Resources:
Xiaomi/Redmi/POCO
Common Issues:
Mi Unlock waiting period
- Official unlock requires 3-30 day wait
- Must use Mi Account linked to device
- Some regions have restrictions
Anti-Rollback (ARB)
- Flashing older firmware can hard brick
- Check ARB version in fastboot ROM
- Use Mi Flash Tool anti setting carefully
MIUI-specific issues
- MIUI heavily modified; some modules incompatible
- Battery optimization aggressive; whitelist root apps
- MIUI Security may interfere with root
A/B vs A-only partitions
- Varies by model
- Check partition layout before flashing
Resources:
OnePlus
Common Issues:
OxygenOS/ColorOS merge
- Newer models use ColorOS base
- Partition structure changed
- Follow model-specific guides carefully
MSMDownloadTool
- Legacy models: Full unbrick capability
- Newer models: Availability varies
- Returns device to factory state
Regional differences
- Some regions have locked variants
- Check model number carefully
Resources:
Nothing Phone (1/2/2a)
Common Issues:
Official unlock supported
- Enable OEM unlocking in Developer Options
- Standard fastboot unlock process
Custom recovery availability
- TWRP support varies by model
- Check XDA for latest builds
Nothing OS updates
- Frequent updates may require re-patching
- Keep stock images for your version
Resources:
Motorola
Common Issues:
Official unlock available
- Motorola provides unlock codes
- Check Motorola Developer site
- Warranty void after unlock
Regional restrictions
- Some carrier variants cannot be unlocked
- China models may have restrictions
Rescue and Smart Assistant
- Official rescue tool for soft bricks
- Requires official firmware packages
Resources:
Performance and Optimization
Battery Drain After Rooting
Common Causes:
- Wakelocks from modules or root apps
- Background services not optimized
- Kernel settings too aggressive
Solutions:
Identify wakelocks
bash# Check wakelock stats adb shell dumpsys batterystats # Or use apps # BetterBatteryStats, Wakelock Detector (root)
Optimize root apps
- Limit apps with root access
- Disable root for apps that don't need it
- Use Greenify or similar for aggressive doze
Kernel tuning
- Use conservative governor profiles
- Limit max CPU frequency if needed
- Adjust I/O scheduler
Module audit
- Disable unnecessary modules
- Some modules cause wakelocks
- Test with modules disabled
Performance Tuning
CPU/GPU Optimization:
Governor selection
- Performance: performance, schedutil
- Battery: powersave, conservative
- Balanced: interactive, ondemand
Frequency scaling
bash# Check current governor cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor # Available governors cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors # Set governor (requires root app or script) echo "schedutil" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Thermal management
- Monitor thermals during stress tests
- Don't disable thermal throttling permanently
- Use gaming profiles only during actual gaming
Apps for Performance:
Storage Optimization:
Trim/FSTRIM
- Most modern ROMs do this automatically
- Can manually trigger via root apps
I/O Scheduler
- BFQ, mq-deadline, noop options
- Device/kernel dependent
Warning: Performance tuning can affect stability and battery life. Test changes thoroughly and revert if issues occur.
App Detection and Compatibility
Banking Apps Detecting Root
Strategies:
Hide root completely
- Enable all hiding features
- Rename root manager app
- Clear banking app data
- Add to DenyList/profile
Use alternate methods
- Browser-based banking
- Secondary non-rooted device
- Dual boot setup
Module-based solutions
- Shamiko
- MagiskHide Props Config
- Universal SafetyNet Fix
Apps Crashing After Root
Common causes:
Cause | Solution |
---|---|
Root detection | Hide root from app |
Module conflict | Disable modules, identify culprit |
Modified system files | Restore system partition |
Security checks | Use root hiding modules |
Diagnostic:
# Check app crash logs
adb logcat | grep "FATAL EXCEPTION"
# Check module logs
su -c "cat /cache/magisk.log | grep [app-package-name]"
Netflix/Streaming Apps Issues
Problems:
- Won't install
- Playback errors
- "Device not certified"
Solutions:
Fix certification
- MagiskHide Props Config
- Spoof certified device
- Clear app data
Use older version
- Install from APKMirror
- Disable auto-updates
- Use Zygisk Detach
Logs and Diagnostics
Collecting Logs for Help
Magisk logs:
# Via app
Magisk → Settings → Save log
# Via ADB
adb shell
su
cat /cache/magisk.log > /sdcard/magisk.log
exit
adb pull /sdcard/magisk.log
System logs:
# Full system log
adb logcat > logcat.txt
# Filtered for errors
adb logcat *:E > errors.txt
# Kernel log
adb shell dmesg > kernel.log
Crash logs:
# Check tombstones
adb shell
su
ls /data/tombstones/
cat /data/tombstones/tombstone_XX
When to Give Up and Restore
Consider unrooting if:
- Critical apps won't work despite all efforts
- Unstable after multiple fix attempts
- Can't pass security checks needed for work
- More hassle than benefit
Clean unroot procedure:
Backup data
- Copy important files
- Export app data
- Note customizations
Uninstall root
- Magisk → Uninstall → Complete Uninstall
- Or flash stock boot image
Factory reset
- Wipe data and cache
- Fresh start
Lock bootloader (optional)
bashfastboot flashing lock # Warning: Will wipe data again
Getting Help
How to Ask for Help
When asking for help in forums or communities, provide complete information:
Essential Information:
Device: [Model name and number]
Firmware: [Android version, build number, security patch]
Bootloader: [Unlocked/Locked]
Root Method: [Magisk 27.x / KernelSU x.x / APatch]
Recovery: [TWRP/OrangeFox/Stock]
Problem: [Detailed description of what happened]
Steps Taken: [What you've already tried]
Error Messages: [Exact error text or screenshots]
Logs: [Attach logcat, dmesg if available]
Good Example:
Device: OnePlus 9 Pro LE2125
Firmware: OxygenOS 14.0.0.600 (Android 14)
Bootloader: Unlocked
Root: Magisk 27.0
Recovery: Stock
Problem: Device bootloops after installing Module X
Steps Taken: Tried booting to recovery, can't access ADB
Error: Stuck on OnePlus logo, no response
Where to Get Help
XDA Developers
- Device-specific forums
- ROM and kernel threads
- https://forum.xda-developers.com/
Reddit Communities
Telegram Groups
- @MagiskUpdates (official news)
- @KernelSU (discussions)
- Device-specific groups
GitHub Issues
- Magisk: topjohnwu/Magisk
- KernelSU: tiann/KernelSU
- APatch: bmax121/APatch
Best Practices
Before Posting:
- Search existing threads for your issue
- Read device-specific guides
- Check recent posts for similar problems
- Gather all logs and information
When Posting:
- Use descriptive titles
- Post in correct section/forum
- Attach logs as files (not inline text)
- Include screenshots when relevant
- Be patient and respectful
After Getting Help:
- Follow up with results
- Mark solutions that worked
- Help others with similar issues
- Contribute back to community
Additional Resources
Quick Links
Essential Guides:
Device Guides:
Root Apps:
General Resources:
Need more help? Visit our FAQ page for conceptual questions or join our community discussions.