This guide walks through installing TWRP recovery on the Huawei P10 Lite and then rooting it with Magisk. TWRP is a custom recovery with a touchscreen interface that lets you install third-party firmware and back up the system, things stock recovery cannot do.
The Huawei P10 Lite launched in February 2017 on Android 7.0 Nougat. It has a 5.2-inch 1080 x 1920 display, an octa-core HiSilicon Kirin 658 chipset, and 3GB or 4GB of RAM, with 32GB of storage expandable via microSD. It has a 12MP rear camera, an 8MP front camera, and a 3,000mAh non-removable battery.

Thanks to aburezk on XDA, the TWRP Team, and Open Kirin for this TWRP build. With TWRP installed you can flash custom ROMs, kernels, Magisk, and other mods. Note that you need an unlocked bootloader first, and unlocking it voids the warranty and wipes the phone.
What you can do with TWRP
- Flash custom ROMs
- Flash modding ZIP files to customize the phone
- Flash Xposed modules
- Root and unroot with the Magisk flashable ZIP
- Create and restore a full Nandroid backup
- Flash image files
- Remove bloatware
- Underclock and overclock
- Wipe cache and data
Pre-requisites
GetDroidTips is not responsible for any damage to your phone while following this guide.
- A PC or laptop.
- Download the Magisk ZIP for rooting.
- Charge the phone to at least 70%.
- Back up your data first.
- Install ADB and Fastboot on your PC (Windows or Mac).
- Follow every step carefully. We are not responsible for any damage to your phone.
Download TWRP
Download TWRP (3.1.0)
Download TWRP (3.1.1)
How to install TWRP recovery on the Huawei P10 Lite
- Enable Developer Options: go to Settings > About phone and tap the Build Number seven or eight times until you see “Developer option enabled”.
- In Settings > Developer Options, enable OEM Unlock.

- Extract the TWRP download and the ADB and Fastboot folder on your PC. Rename the recovery image to recovery.img and place it in the ADB and Fastboot folder.
- Open a command prompt in the ADB and Fastboot folder (hold Shift and right-click, then choose the command window option).

- Connect the phone to the PC with a USB cable, then boot into bootloader mode. Either power off and hold Volume Up + Power, or run:
adb reboot bootloader
- Confirm the phone is detected:
fastboot devices
If your serial number shows up, you are good to go. If nothing is listed, your drivers or cable are not set up correctly, so fix that first.
- Unlock the bootloader (this wipes the phone):
fastboot oem unlock
Warning: unlocking the bootloader erases all data and resets the phone to factory defaults.
- Flash the recovery:
fastboot flash recovery recovery.img
- Once it completes, reboot the phone. TWRP is installed.
- To boot into recovery, power off the phone, then hold Volume Up + Power together.
How to root the Huawei P10 Lite with Magisk
- Download the Magisk ZIP and move it to the phone’s internal storage.
- Boot into recovery by holding Volume Up + Power together.
- In TWRP, tap Install, select the Magisk ZIP, and swipe to flash it.
- Reboot the phone. It is now rooted.
- To confirm, install a root checker app from the Play Store and check the root status.
That covers installing TWRP and rooting the Huawei P10 Lite.
FAQ
Do I have to unlock the bootloader first?
Yes. TWRP cannot be flashed on a locked bootloader, and unlocking wipes the phone, so back up first.
Should I use SuperSU or Magisk?
Use Magisk. It is the current, actively maintained root method and supports systemless root, while SuperSU is discontinued.
Will this erase my data?
Yes, unlocking the bootloader wipes the phone, so back up everything you want to keep first.
If you run into any trouble, leave a comment below.
Can anybody confirm that this works and will not brick my phone?