• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[UNLOCK bootloader, and flash ROM with ROOT] Huawei MediaPad M5 Pro - EMUI 9.1 - 2021

Search This thread

Orekaria

New member
Jun 7, 2021
2
1
Intro:
- As usual, following this guide is by your own risk and responsability
- After hours searching the web I have painfully seen how the scene seems to be so spread and freak these days. Plus there are lots of scams and **** webs floating everywhere, more even than space debris.
- I have not found any good guide to root the Huawei Mediapad M5 Pro. Most of them are old + bad.
- My model is CMR-AL19, C432 with EMUI 9.1

Instructions:
1. unlock bootloader
1.1. Check PotatoNV wiki to get the unlock bootloader code:
Download PotatoNV (or download from the link below)
Install HUAWEI USB COM drivers: (download from the link below, or this link)
Install ADB (from google or also download from the link below)
1.2 Remove the cover from the device: heat it with a hairdryer and carefully peel cover around the perimeter using a plastic card (video)
Turn off the device and unplug the USB cable
Short test point and iron shield on the motherboard
Connect the device to the computer, after a couple of seconds jumper can be removed
Make sure there’s nothing on the device’s screen if a charging animation appears go to step 4
1.3 Launch PotatoNV and select HUAWEI USB COM 1.0 in the device list (should be filled automatically)
Select bootloader: kirin 960
Unlock code - this is the future bootloader code. copy and keep it for later.
Press the Start button. Let PotatoNV to finish
1.2. unlock bootloader with fastboot
adb devices adb reboot bootloader
wait until the tablet reboots in recovery mode
fastboot devices fastboot oem unlock <unlock code from PotatoNV>

2. flash treble ROM (https://github.com/phhusson/treble_experimentations/wiki/Huawei-MediaPad-M5-Pro)
2.1. download treble ROM:
Android 10: https://github.com/phhusson/treble_...nload/v222/system-quack-arm64-ab-gapps.img.xz
Android 9: https://github.com/phhusson/treble_...download/v123/system-arm64-ab-gapps-su.img.xz
2.2 factory reset
Perform a factory reset on your device: Settings -> System -> Reset -> Reset tablet
Optionally: Reboot to your device’s stock recovery using either a button combination when booting or issuing the following ADB command when booted in Android:
adb reboot recovery
Once here, use the volume keys to navigate and the power button to select the factory reset option.
2.3 Flash ROM
Once your device has been factory reset, reboot to your device’s bootloader using either a button combination when booting or issuing the following ADB command when booted in Android:
adb reboot bootloader
With your device connected to your PC, open up a command prompt or terminal window in the same directory where you downloaded your GSI of choice.
fastboot devices fastboot erase system
Enter a command in the following format:
fastboot --unbuffered flash system system-quack-arm64-ab-gapps.img
Allow the image to flash, will take 2 minutes. Once it has completed, reboot your device either manually via power key or by entering:
fastboot reboot

3. skip all configuration. ignore any error. reboot in recovery mode
adb reboot recovery

4. wipe cache and, again, factory reset. Configure as usual. Be sure to add the SIM when asked.

enjoy
 

Attachments

  • PotatoNV-next-v2.1.0-x86.rar
    2.6 MB · Views: 12
  • ADB-platform-tools_r31.0.2-windows.zip
    12 MB · Views: 13
  • Huawei_drivers_testpoint_x64.rar
    5.4 MB · Views: 15
Last edited:
  • Like
Reactions: thorgan3

thorgan3

New member
Oct 24, 2017
1
0
Thanks for the guide, just unlocked my CMR-W09. I can confirm that the CM AL19 build does work for the W09 with a couple modifications
 

Attachments

  • Capture.PNG
    Capture.PNG
    41.9 KB · Views: 42
Last edited:

M5_42432

New member
Aug 6, 2021
2
1
Huawei MediaPad M5
Hi!

I was trying to follow your guide, but opening the cover was too hard for me.

Originally my motivation to unlock the bootloader was to install Lineage OS, and then to install Google Services.

I have tried numerous methods to do so, but somehow they did not work for MediaPad M5 Pro, due to EMUI version or recent security patches.

However, I have managed to install Google services by accident.
I almost gave up, and decided to install at least a decent browser (Brave).
I found it on APKPure.
It is a kind of a third party package manager.
To install Brave I needed to install the package manager first.

Brave got installed, but to my surprise I could also find Youtube app on APKPure.
When I installed Youtube, APKPure package manager have installed Google Play Store as well!
With Google Play I could install all the other apps, I needed.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Intro:
    - As usual, following this guide is by your own risk and responsability
    - After hours searching the web I have painfully seen how the scene seems to be so spread and freak these days. Plus there are lots of scams and **** webs floating everywhere, more even than space debris.
    - I have not found any good guide to root the Huawei Mediapad M5 Pro. Most of them are old + bad.
    - My model is CMR-AL19, C432 with EMUI 9.1

    Instructions:
    1. unlock bootloader
    1.1. Check PotatoNV wiki to get the unlock bootloader code:
    Download PotatoNV (or download from the link below)
    Install HUAWEI USB COM drivers: (download from the link below, or this link)
    Install ADB (from google or also download from the link below)
    1.2 Remove the cover from the device: heat it with a hairdryer and carefully peel cover around the perimeter using a plastic card (video)
    Turn off the device and unplug the USB cable
    Short test point and iron shield on the motherboard
    Connect the device to the computer, after a couple of seconds jumper can be removed
    Make sure there’s nothing on the device’s screen if a charging animation appears go to step 4
    1.3 Launch PotatoNV and select HUAWEI USB COM 1.0 in the device list (should be filled automatically)
    Select bootloader: kirin 960
    Unlock code - this is the future bootloader code. copy and keep it for later.
    Press the Start button. Let PotatoNV to finish
    1.2. unlock bootloader with fastboot
    adb devices adb reboot bootloader
    wait until the tablet reboots in recovery mode
    fastboot devices fastboot oem unlock <unlock code from PotatoNV>

    2. flash treble ROM (https://github.com/phhusson/treble_experimentations/wiki/Huawei-MediaPad-M5-Pro)
    2.1. download treble ROM:
    Android 10: https://github.com/phhusson/treble_...nload/v222/system-quack-arm64-ab-gapps.img.xz
    Android 9: https://github.com/phhusson/treble_...download/v123/system-arm64-ab-gapps-su.img.xz
    2.2 factory reset
    Perform a factory reset on your device: Settings -> System -> Reset -> Reset tablet
    Optionally: Reboot to your device’s stock recovery using either a button combination when booting or issuing the following ADB command when booted in Android:
    adb reboot recovery
    Once here, use the volume keys to navigate and the power button to select the factory reset option.
    2.3 Flash ROM
    Once your device has been factory reset, reboot to your device’s bootloader using either a button combination when booting or issuing the following ADB command when booted in Android:
    adb reboot bootloader
    With your device connected to your PC, open up a command prompt or terminal window in the same directory where you downloaded your GSI of choice.
    fastboot devices fastboot erase system
    Enter a command in the following format:
    fastboot --unbuffered flash system system-quack-arm64-ab-gapps.img
    Allow the image to flash, will take 2 minutes. Once it has completed, reboot your device either manually via power key or by entering:
    fastboot reboot

    3. skip all configuration. ignore any error. reboot in recovery mode
    adb reboot recovery

    4. wipe cache and, again, factory reset. Configure as usual. Be sure to add the SIM when asked.

    enjoy