FORUMS
Remove All Ads from XDA

[ROOT]Root Guide for Huawei MediaPad M5

1,573 posts
Thanks Meter: 293
 
By Apo11on, Senior Member on 5th May 2018, 08:31 AM
Post Reply Email Thread
DISCLAIMER: I'm not responsible for anything that happens to your device. Use the steps below at your own risk . Be mindful of the facts unlocking bootloader voids your warranty and also hard resets your device - ALL YOUR DATA, SETTINGS, FILES AND APPS WILL BE DELETED. Rooting your device voids warranty as well. I own the Chinese SHT-AL09 8.4" LTE device and tested this root procedure ONLY WITH THIS MODEL. However, I believe there is a good chance the steps below will work for all other models of MediaPad M5, including WiFi only variants and 10" models. You MUST unlock your bootloader first. Do NOT use ramdisk image I provide in the steps below for any other model besides SHT-AL09 - doing so is guaranteed to render your device unusable. Ramdisk I provided is ONLY for SHT-AL09. You will need to extract your own ramdisk from stock firmware, specific to your device model

Credits:
1. First, you will need to unlock the bootloader of your M5. Follow this guide
2. Transfer this patched ramdisk image to your device
Note for users with version of M5 other than SHT-AL09: Do NOT use the above ramdisk image. Download the full stock rom (update.zip) from the site I linked in the credits. Extract UPDATE.APP file from the zip. Then use HuaweiUpdateExtractor to extract ramdisk.img specific to your device. If you get errors in HuaweiUpdateExtractor - uncheck first 2 checkboxes for checksum verification on Settings tab and try again
3. Once bootloader is unlocked, install latest Magisk Manager from the official Magisk thread
4. Once Magisk Manager gives you a pop-up prompt to either download Magisk zip or patch the boot image file - chose to patch the boot image, but instead of boot.img select ramdisk.img from step 2. Magisk Manager should give you a message the image was successfully patched. It will be saved as patched_boot.img in MagiskManager folder on your sdcard. If it does not say success - do NOT proceed
5. Transfer the newly created patched_boot.img back to your PC
6. If you already have ADB and Fastboot tools installed on your PC you can just use what you've got. If not - get them from here
7. Connect your M5 to PC via USB cable
8. Run command prompt. If your ADB and Fastboot are installed as system app - you can do this from any path in CMD. If not - you need to switch in CMD to your ADB and Fastboot folder. Either way, the patched ramdisk patched_boot.img file must be in the same path, from which you will be running commands below in CMD window
9. Type "adb " in CMD window to start android debug bridge
10. Type "adb reboot-bootloader" and wait until your device restarts in Download mode
11. Once in Download mode, type "fastboot flash ramdisk patched_boot.img" - you should see some output from flash procedure, indicating successful flash
12. Once patched ramdisk is flashed, type "fastboot reboot"
That is it - you're done. Once your device reboots it will be rooted.

Note 1: Magisk Manager has it's own built-in superuser app and uses Systemless root, which works completely differently - you will not see external, standalone app like SuperSU or SU you might be familiar with in your App Drawer. The way to control the superuser app is from Magisk Manager itself: Settings->Superuser section
Note 2: I don't do tech support via PM, so don't PM me for help or with questions. Use the thread instead, and some other XDA members or myself will probably help you. Good luck!
Note 3: You may find some links to Huawei stock firmware in the 2nd post

UPDATE - August 6, 2018
Huawei officially approved 8.0.0.171 firmware with GPU Turbo for installation on SHT-AL09 devices. If you're doing first time root - just follow the original steps above. If you are already rooted and want to upgrade to 8.0.0.171 - follow the steps below:


1. Boot into download mode:
Code:
adb reboot-bootloader
from CMD window
2. Flash stock recovery from 8.0.0.171 to your device in fastboot:
Code:
fastboot flash recovery_ramdisk recovery_ramdis.img
3. Download and install the official OTA through Settings (full or just the update)
4. Boot into download mode again and flash patched ramdisk from 8.0.0.171
Code:
fastboot flash ramdisk patched_boot.img
5. OPTIONAL: If you were using TWRP or any custom recovery - you will need to reflash it back
Code:
fastboot flash recovery_ramdisk twrp.img
or whatever you named your custom recovery image

REMINDER: Do NOT use ramdisk image I provided for any other model besides SHT-AL09 - doing so is guaranteed to render your device unusable. This patched ramdisk is ONLY for SHT-AL09. You will need to extract your own ramdisk from stock firmware, specific to your device model

Needless to say, all the images you are going to flash must reside in the same directory, from which you are going to be running the CMD commands. If your ADB/Fastboot folder is not in your WIndows' PATH environmental variable - the images must be placed in the same folder where ADB/Fastboot binaries are, and CMD commands must be run from that folder.
The Following 17 Users Say Thank You to Apo11on For This Useful Post: [ View ] Gift Apo11on Ad-Free
 
 
5th May 2018, 08:31 AM |#2  
Apo11on's Avatar
OP Senior Member
Flag San Diego, CA
Thanks Meter: 293
 
More
Small request to developers, or people with access to reliable file hosting: I don't have a developer account, so all the files I linked or referenced in the OP are hosted on free hosting sites. That file hosting has expiration date and max downloads limit, so the files will become inaccessible sooner rather than later. Please upload these files to reliable hosting and create a post with the links. I will link your post in the OP as a mirror.

In the meantime, mirror for SHT-W09 firmware: https://mega.nz/#!asVjmZrR!bW2OmXgTj...l7YZxNW14qoCmk
The Following 4 Users Say Thank You to Apo11on For This Useful Post: [ View ] Gift Apo11on Ad-Free
5th May 2018, 02:17 PM |#3  
Member
Flag Suffolk
Thanks Meter: 48
 
More
I can confirm that this works on the 10.8" wifi model using the devices relevant ramdisk.img.
The Following 2 Users Say Thank You to Si73 For This Useful Post: [ View ] Gift Si73 Ad-Free
5th May 2018, 08:18 PM |#4  
Junior Member
Thanks Meter: 0
 
More
Hello, can somebody test sixaxis controller tool with root and magisk? There is a Trial in Google Play Store, that is called sixaxis compatibility checker without purchise the App. Maybe i want to buy the Tablet, but only with Dualshock 4 Support...
5th May 2018, 11:29 PM |#5  
MishaalRahman's Avatar
Editor in Chief
Thanks Meter: 1,535
 
More
Just a heads up, been following threads on this forum for flashing a GSI. Now that you guys can root, you can also make backups of your own stock system image if you can't find one from Firmware Finder. Then you can safely try flashing the GSI.
The Following 4 Users Say Thank You to MishaalRahman For This Useful Post: [ View ] Gift MishaalRahman Ad-Free
7th May 2018, 10:45 AM |#6  
AndDiSa's Avatar
Senior Member
Flag Heidelberg
Thanks Meter: 3,007
 
More
@MishaalRahman well it's bit like chicken egg dilemma. As we do not have a stock system image for e.g. SHT-W09 we cannot patch the ramdisk.img and so we cannot get the stock system image ...
8th May 2018, 02:46 PM |#7  
Member
Thanks Meter: 1
 
More
Thanks Apo11on, great to have root so soon for the M5! Do you know if there's a way to get Xposed working? I tried the Xposed Framework SDK 26 from inside Magisk, but it put me in a boot loop.
8th May 2018, 11:20 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Question is, for those of us with the Non Pro version, can this still be done.
9th May 2018, 06:56 AM |#9  
Junior Member
Thanks Meter: 1
 
More
@OHP Yes. The OP did it with the 8.4" version which has no pro option.

I'm looking to buy the Chinese 10" wifi version myself but need Google Play Store + Services on it which I'm guessing the Chinese version doesn't have. Is one of the firmwares at the website you link to a global version of the firmware that will work on this model?
9th May 2018, 07:52 AM |#10  
Member
Flag Suffolk
Thanks Meter: 48
 
More
Quote:
Originally Posted by OHP

Question is, for those of us with the Non Pro version, can this still be done.

Doesn't matter what version you have as long as you have access to your device firmware and the ramdisk.img. You really need to reread the guide.
9th May 2018, 03:35 PM |#11  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by magnumlove

Doesn't matter what version you have as long as you have access to your device firmware and the ramdisk.img. You really need to reread the guide.

Problem I have is :

CMR-W09C432B123 (8.0.0.123) from download headlines.

notice the Bold letter.

my Firmware on device:

CMR-W09C432123 (8.0.0.123)

obliviously it could be nothing but I wouldn't want to brick my tablet
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread