Root Huawei Mate 10 Pro & Install TWRP Recovery
In this article
Rooting your Huawei Mate 10 Pro gives you full system access, allowing you to remove bloatware, install custom kernels, and use root-only apps. Installing TWRP (Team Win Recovery Project) is the first step, as it lets you flash the root package (usually Magisk) and create full system backups. This guide covers the official, safest method using Huawei's bootloader unlock code (when available) and Magisk. Note: Rooting voids your warranty, can break Google Pay and banking apps, and carries a small risk of bricking your device. Proceed carefully and back up your data first.
What You'll Need
- A Windows PC (or a Mac with some extra setup) and a USB cable.
- Huawei Mate 10 Pro (model ALP-L29 or ALP-AL00 – check in Settings > About phone).
- An unlocked bootloader. Huawei stopped providing unlock codes in 2018, but if you already have one, use it. If not, you cannot proceed with the official method.
- Huawei HiSuite (for driver installation) – download from Huawei's official site.
- ADB and Fastboot tools – download from Google's official platform-tools.
- TWRP image for the Mate 10 Pro – from the official TWRP website (twrp.me) for the device codename 'blanc'.
- Magisk ZIP (latest stable) – from the official Magisk GitHub releases.
- Backup of all personal data – rooting will wipe your phone.
Step-by-Step
- Back up everything. Connect your phone to a PC and copy all photos, videos, and documents to a folder. Also, use HiSuite to create a full backup if you want to restore after rooting.
- Enable Developer Options. On your phone, go to Settings > About phone and tap 'Build number' seven times until you see 'You are now a developer'.
- Enable OEM unlock and USB debugging. Go to Settings > System > Developer options and toggle on 'OEM unlock' and 'USB debugging'. (Labels may differ slightly by EMUI version.)
- Install drivers on your PC. Install HiSuite, which installs the necessary USB drivers. Then, extract the platform-tools ZIP to a folder like
C:\adb. - Boot into Fastboot mode. Power off your phone. Then, press and hold Volume Down + Power until you see the fastboot screen (a phone with 'FASTBOOT' text).
- Connect to PC and verify fastboot. Plug the phone into your PC. Open a command prompt in the platform-tools folder (Shift+Right-click > Open command window here). Type
fastboot devices– you should see your device serial number. If not, reinstall drivers. - Unlock the bootloader. Type
fastboot oem unlock YOUR_UNLOCK_CODE(replace with the code you received from Huawei). Confirm on the phone screen when prompted. This wipes your device – that's expected. - Reboot and set up the phone again. After unlocking, the phone will reboot and wipe. Set it up minimally (skip Google sign-in for now) and re-enable USB debugging and OEM unlock (they reset).
- Flash TWRP. Boot back into fastboot (Volume Down + Power). Type
fastboot flash recovery_ramdisk twrp.img(replace 'twrp.img' with the actual file name). Then typefastboot reboot. - Boot into TWRP. Immediately after the reboot, press and hold Volume Up + Power until TWRP loads. If you miss it, you'll have to repeat the fastboot flash and reboot again.
- Copy Magisk to your phone. While in TWRP, go to Mount and check 'Data'. Then, on your PC, copy the Magisk ZIP to the phone's internal storage (it should appear as a drive).
- Install Magisk. In TWRP, tap Install, navigate to the Magisk ZIP, and swipe to confirm. This will root your phone.
- Reboot to system. Tap Reboot > System. The first boot may take longer – be patient.
- Verify root. Install the Magisk Manager app (now called Magisk) from the Play Store, or it may already be installed. Open it – it should show 'Installed' and 'Ramdisk: Yes'.
Common Mistakes
- Using the wrong TWRP image. The Mate 10 Pro has a specific TWRP build. Using a generic one can cause a bootloop. Always download from the official TWRP site for 'blanc'.
- Skipping the bootloader unlock. You cannot flash TWRP without an unlocked bootloader. If you don't have an unlock code, stop here.
- Not re-enabling USB debugging after unlock. The unlock wipes the phone, so you must re-enable it before flashing TWRP.
- Flashing TWRP to the wrong partition. On the Mate 10 Pro, it's
recovery_ramdisk, notrecovery. Using the wrong command can break recovery. - Not backing up before unlocking. The bootloader unlock wipes everything. If you skip the backup, you lose all data.
Tips
- After rooting, install a root manager like Magisk and deny root access to apps you don't trust.
- Keep the Magisk ZIP on your phone's internal storage – you'll need it if you ever re-root after a system update.
- Use TWRP to make a full backup (Nandroid) before making any system changes. This lets you restore if something goes wrong.
- If you later want to unroot, open Magisk Manager and tap 'Uninstall' – it will restore the stock boot image.
Troubleshooting
Phone won't boot into TWRP after flashing. Re-flash TWRP via fastboot, then immediately boot into recovery using the Volume Up + Power combo. If it still fails, try a different TWRP version.
Fastboot doesn't see the device. Reinstall HiSuite drivers, try a different USB port, and ensure USB debugging is enabled. On Windows, check Device Manager for any yellow exclamation marks.
Bootloop after rooting. Boot into TWRP (Volume Up + Power), then wipe cache and dalvik. If that fails, restore your Nandroid backup or reflash the stock boot image via fastboot.
Magisk says 'Not installed' after reboot. You may have flashed the wrong ZIP, or the system overwrote the boot image. Reflash Magisk from TWRP, ensuring you download the correct architecture (ARM64).
Google Play Store shows 'Device is not certified'. This is normal after rooting. You can hide root with Magisk's MagiskHide (if available) or use a custom ROM that passes SafetyNet. But note that Google's SafetyNet changes over time.
Frequently Asked Questions
Will rooting my Mate 10 Pro break Google Pay?
Yes, likely. Google Pay uses SafetyNet to check for root. Magisk has a MagiskHide feature that can sometimes bypass it, but it's not guaranteed and Google updates its checks.
Can I root without a PC?
No. Unlocking the bootloader and flashing TWRP requires a PC with fastboot. There is no reliable one-click app method for Huawei devices.
Will I lose my data when rooting?
Yes, the bootloader unlock process wipes your phone completely. Back up everything before starting.
Can I unroot later?
Yes. Use Magisk Manager to uninstall Magisk, and you can also relock the bootloader (via fastboot) if you want to restore full stock – but relocking may not work on all firmware versions.
Will I still get OTA updates after rooting?
Usually not. OTA updates require a stock recovery and boot image. You'll need to unroot and restore stock to receive official updates.
Is it safe to root my phone?
It's safe if you follow the steps carefully and use official tools. The risk is mainly bricking if you flash the wrong files. Always use TWRP and Magisk from official sources.