Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Android 6.0 Marshmallow Root Explained

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Rooting Android 6.0 Marshmallow gives you superuser access to system files and settings, letting you remove bloatware, install custom kernels, or use apps that need deeper control. The process varies by device, but the general method uses an unlocked bootloader and a custom recovery like TWRP to flash a root package (usually Magisk or SuperSU). Before starting, back up your data—rooting wipes your phone in most cases and voids your warranty.

What You'll Need

  • A PC (Windows, Mac, or Linux) with a USB cable.
  • Your device's USB drivers installed (check the manufacturer's site).
  • An unlocked bootloader (if your device requires it—most do).
  • A custom recovery like TWRP (Team Win Recovery Project) for your exact model.
  • The root package: Magisk (recommended) or SuperSU, downloaded to your phone's storage.
  • ADB and Fastboot tools installed on your PC (platform-tools from Google).

Step-by-Step

  1. Back up everything. Rooting usually wipes your data. Use your phone's built-in backup or copy photos, contacts, and files to a PC or cloud.
  2. Enable Developer Options. Go to Settings > About phone and tap “Build number” seven times until you see “You are now a developer.”
  3. Turn on OEM unlocking and USB debugging. In Settings > Developer options, enable both “OEM unlocking” and “USB debugging.” If you don't see “OEM unlocking,” your device may not support bootloader unlocking—stop here.
  4. Unlock the bootloader. Connect your phone to the PC, open a command prompt in the platform-tools folder, and run adb reboot bootloader. Once in fastboot mode, run fastboot flashing unlock (or fastboot oem unlock on older devices). Confirm on the phone screen. This wipes your phone.
  5. Install a custom recovery. Download the TWRP image file for your exact device model. In fastboot mode, run fastboot flash recovery twrp.img (replace with the actual filename). Then reboot into recovery using fastboot reboot recovery or by holding the key combo.
  6. Copy the root package to your phone. While in TWRP, use the “Mount” option to enable MTP, then copy the Magisk ZIP (or SuperSU ZIP) to your phone's internal storage. Alternatively, use adb push Magisk.zip /sdcard/ from the PC.
  7. Flash the root package. In TWRP, tap “Install,” select the ZIP, and swipe to confirm. Wait for the process to finish.
  8. Reboot and verify. Tap “Reboot System.” After booting, install the Magisk Manager app (or SuperSU app) from the Play Store. Open it—if it shows “Installed,” you're rooted. You can also use a root checker app from the Play Store.

Common Mistakes

  • Using the wrong TWRP or root package. Flashing a recovery or ZIP meant for a different model can brick your phone. Always match the exact model number.
  • Skipping the backup. Unlocking the bootloader wipes data; flashing the wrong file can also cause a bootloop. Back up before starting.
  • Not enabling OEM unlocking. If this option is missing, you can't unlock the bootloader, and trying other methods may fail or damage the device.
  • Flashing SuperSU on newer Marshmallow builds. Some security patches break SuperSU; Magisk is more compatible and also allows you to hide root from banking apps.
  • Rebooting before flashing. If you reboot after unlocking the bootloader but before installing TWRP, the stock recovery may overwrite your custom recovery. Flash TWRP immediately after unlocking.

Tips

  • Keep your bootloader unlocked after rooting—relocking it can cause bootloops.
  • Use Magisk instead of SuperSU: it's open-source, actively maintained, and supports systemless root, which is easier to hide.
  • After rooting, avoid OTA updates—they usually break root. Instead, download the full firmware and flash it manually if you need to update.
  • If you ever need to unroot, you can use Magisk Manager's “Uninstall” feature or flash the stock firmware.
  • Check XDA Developers forums for device-specific guides—they often have exact files and known quirks.

Troubleshooting

Bootloop after flashing root. Boot back into TWRP (hold the key combo or use adb reboot recovery) and flash the “Uninstall” ZIP for Magisk or SuperSU. If that fails, restore your backup from TWRP (if you made one).

Phone won't boot into recovery. Reboot to fastboot mode and reflash TWRP using the same command as before. If TWRP doesn't stick, your device may have “dm-verity” that re-locks recovery—try flashing the TWRP image with fastboot flash recovery twrp.img and then immediately boot into recovery without rebooting to the system.

Root checker says “not rooted.” Make sure the Magisk Manager app is installed and updated. If you used SuperSU, open the app and let it update the binary. Also ensure you flashed the correct package for your device's architecture (most are ARM64).

USB device not recognized. Install the correct USB drivers, try a different cable or port, and enable USB debugging again. On Windows, use the manufacturer's driver installer.

OEM unlocking is greyed out. This often happens if you have a carrier-locked device or if the option is hidden. You may need to insert a SIM and wait a few days, or contact your carrier. If it's permanently disabled, rooting may not be possible.

Frequently Asked Questions

Will rooting my phone remove the warranty?

Yes, most manufacturers consider rooting as voiding the warranty. You can often unroot and relock the bootloader, but that doesn't guarantee the warranty will be restored.

Can I still receive OTA updates after rooting?

Usually not. OTA updates often fail or break root. You'll need to manually flash the new firmware and then re-root.

Is rooting legal?

In most countries, rooting is legal, but it may violate your device's terms of service. Check local laws, especially regarding circumventing DRM.

What's the difference between root and bootloader unlock?

Bootloader unlock allows you to flash custom recoveries and kernels. Root gives you superuser access within the Android OS. You need the bootloader unlocked to install TWRP, which then lets you flash root.

Will rooting improve battery life?

Not automatically. Rooting gives you tools like Greenify or custom kernels that can improve battery, but misuse can drain it faster. It's not a guaranteed benefit.

Can I unroot later?

Yes. Use Magisk Manager's “Uninstall” feature, or flash the stock firmware via fastboot. This will remove root and restore the original system.