yashsingh1/xdaforums huggingface dataset:
[Huawei MediaPad M5  Guides, News, & Discussion] StephenMSmith:
I read it that way as well but prayed its just bad wording. Oh geez, that will be one hell UVa pain in the ass. I guess I don't reboot all that often but fingers crossed he can find better way.
[Huawei MediaPad M5  Guides, News, & Discussion] RaptorBlue:
patched_boot.img for SHT-AL09 8.0.0.196(C432)

Hi guys,

First of all, thank you very much for all the effort and work which made it possible to get root on the M5.

DISCLAIMER:

This stuff below worked on my MediaPad M5 8.4 LTE which was bought on Amazon in Germany with firmware .196.

Maybe it does not work for you, maybe it will break your device. Be aware that you perform actions at own risk!

Based on the tutorials, I've gained root and would like to share my steps:

1. Downgrade firmware

2. Unlock bootloader with DC Unlockler (See this thread)

3. Run firmware upgrade on tablet while monitoring traffic with Wireshark

4. Extract firmware URL from Wireshark capture

(Note: I did this instead of the Huawei Firmware Finder)

5. Use Huawei Update Extractor to extract files RAMDISK.img and RECOVERY_RAMDIS.img

(Note: I had to disable header checksum verification)

6. Push RAMDISK.img to the tablet via adb

7. Install Magisk Manager

8. Use Magisk Manager to create modified ramdisk. (Input: RAMDISK.img / Output: patched_boot.img)

9. Transfer patched_boot.img to PC with adb

(Note: The file which was generated in steps 3 to 9 can be found here: https://workupload.com/file/TecgSAHa - You still want to install Magisk Manager though. Be sure to use the file with the correct firmware only!)

10. Boot into bootloader: adb reboot bootloader

11. Flash recovery ramdisk: fastboot flash recovery_ramdisk RECOVERY_RAMDIS.img

(Note: I got this from a tutorial but I am not sure if this would have been necessary since the firmware was already up to date and I did not modify the img file at all - just extracted from the downloaded firmware)

12. Flash actual (modified) ramdisk: fastboot flash ramdisk patched_boot.img

13. Reboot device: fastboot reboot

Hope this helps somebody...

Cheers,

RaptorBlue
[Huawei MediaPad M5  Guides, News, & Discussion] viva-yo:
Has anyone rooted EMUI 9 of CMR w09?
[Huawei MediaPad M5  Guides, News, & Discussion] mazjar47:
CMR-AL09 - Build number 9.0.1.161 (C432E5R1P5)

So far I managed to launch twrp, because "TWRP-3.2.2-1-MediapadM5.img" version does not work, tabs restart and run basic boting I tried "M9 + TWRP + 3.2.1-0 + Black + & Blue + Android + 9.img "twrp works but after installing Magisk, the manager can not see in the manager despite installing the zip file
[Huawei MediaPad M5  Guides, News, & Discussion] Clandaries:
Is it possible to unlock bootloader for M5 LTE?

Bought in Germany.

Regards
[Huawei MediaPad M5  Guides, News, & Discussion] rsetss2:
Hello

I've got a SHT-WO9 8.4 tablet.

Two days ago, the update broke the root, and now, mytablet is on Emui 9.0

I've dowload the emui 9.0 firmware via the link found in firmware finder for android.

But there's no revory_ramdis.img in the update.app, opend by huwaei update extractor.

Please , where can i find this recovery_ramdis.img ?

Thanks a lot.
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
Did you download the *full* package? Only from there you can extract recovery_ramdisk.img ...
[Huawei MediaPad M5  Guides, News, & Discussion] rsetss2:
I've dowload the full ota package( emui 9), and there's nothing like recovery_ramsdis.img in the update.app

Can i use an emui 8 package to get this file, and put this on an emui 9 installation?

Thanks a lot!
[Huawei MediaPad M5  Guides, News, & Discussion] sairam108:
I have the same tablet SHT-AL09 with 192 firmware version. What version did you downgrade to? Can you give more information on this?
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
... strange, because that's the file from where I've extracted it.

The file from EMUI 8 will not work.
[Huawei MediaPad M5  Guides, News, & Discussion] rsetss2:
Please AndDiSa, do you remember where you got the right file?
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
I extracted it from (SHT-LGRP2-OVS 9.0.1.182) one for my SHT-W09-C432. It's not a 100% match to the old naming conventions, but as we need only the recovery_ramdis.img and the firmware name before was SHT-W09C432E2R1P2B160 (9.0.1.160) ... ;)

I think HUAWEI changed the naming conventions and probably also the number of different firmware files for EMUI-9, but I might be wrong.

After downloading the file I unzipped the file and from there I got UPDATE.APP (the size of this file is round about 5GB(!)) and from there you can extract recovery_ramdis.img which then can be transferred to the device.

Patch it with Magisk and you will get magisk_patched.img which finally can be flashed as recovery_ramdis.img

P.S.: take this information at your own risk!
[Huawei MediaPad M5  Guides, News, & Discussion] rsetss2:
Thanks a lot for your help!
[Huawei MediaPad M5  Guides, News, & Discussion] giokou:
fastboot flash ramdisk patched_boot.img

I am stuck at this step. When i type it and press enter, it gives me the following:

error: cannot load 'ramdisk': No such file or directory

Please help!
[Huawei MediaPad M5  Guides, News, & Discussion] Si73:
Are you using EMUI 8 or 9?
[Huawei MediaPad M5  Guides, News, & Discussion] giokou:
Thx for the answer, I managed it now.
[Huawei MediaPad M5  Guides, News, & Discussion] kev1807:
soon I'll have time to update my vendor image and moving on to another ROM.

Can I keep ROOT and my UNLOCKED Bootloader?

thanks in advance...
[Huawei MediaPad M5  Guides, News, & Discussion] silver-knight:
Patch failed?

I followed the instructions but was unable to root.

Downloaded the full update,

extracted recovery_ramdis,

patched with Magisk,

rebooted to booloader with adb reboot-bootloader,

flashed with fastboot flash recovery_ramdisk magisk_patched.img

Sending 'recovery_ramdisk' (32046 KB) OKAY

Writing 'recovery_ramdisk' OKAY

reboot to recovery (fastboot reboot recovery),

and Magisk still looks like it was not installed as intended.

SHA-AL09

Current firmware - 9.0.1.190 (C432E3R1P3)

Magisk Manager 732

Full update used via FirmwareFinder: SHT-LGRP3-OVS 9.0.1.190

What am I missing?
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
Did you really boot to recovery mode? Otherwise you are booting still the unpatched image and you are not rooted ...

...

Another hint: try

adb reboot-recovery after you booted the first time
[Huawei MediaPad M5  Guides, News, & Discussion] wag3slav3:
You may lose your unlocked bootloader depending on how you update the vendor image. The oem unlock code remains the same and it's easy to unlock again.

---------- Post added at 05:57 PM ---------- Previous post was at 05:55 PM ----------

Literally every time you boot you have to boot up into recovery mode for magisk to be active. You should see "your device is booting now" and then release the buttons (continuing to hold the button will go into recovery not boot the patched kernel) not the warning with the 3 choices if you're doing it correctly.
[Huawei MediaPad M5  Guides, News, & Discussion] kev1807:
do you mean that I can just use the code and unlock my bootloader again as soon as I have updated vendor image? (using one of the many huawei tools that I installedback then ...)
[Huawei MediaPad M5  Guides, News, & Discussion] wag3slav3:
That is what I mean.
[Huawei MediaPad M5  Guides, News, & Discussion] thepicknick:
Can this version 8.0.0.198(c566) be rooted? I'm about to return my tablet if it can't
[Huawei MediaPad M5  Guides, News, & Discussion] massima:
Do you mean root or unlock?? Yes, you can root emui 8 and 9 (and interesting reading is here for emui 9). It is the same for the version 8th.

Cheers
[Huawei MediaPad M5  Guides, News, & Discussion] cbadoud:
Hi, I'm desperately looking for a way to download the full OTA update form my CMR-W09 C432 model (nothing found on pro-teammt.ru and androidhost.ru) :crying:

Of course, if someone can only post the "recovery_ramdisk" partition patched with Magisk for version 9.1.0.328 (C432E5R1P3), that would be ideal for me.

Thanks in advance!
[Huawei MediaPad M5  Guides, News, & Discussion] massima:
Use the Firmware Finder for Huawei (here).
[Huawei MediaPad M5  Guides, News, & Discussion] cbadoud:
I've already tried it, but there is many many versions missing.

I've also tried to backup partitions with this method, but I couldn't achieve step 2 of backup.
[Huawei MediaPad M5  Guides, News, & Discussion] StephenMSmith:
Replacing my dumb question w/the answer. I was extracting and patching recovery_ramdisk.img rather than ramdisk.img. All is well. I'll post the magisk patched ramdisk.img here if there's anyone left in U.S. still using M5.
[Huawei MediaPad M5  Guides, News, & Discussion] C5Longhorn:
I can't see what you attached, is this for .199? I just installed and repatched also.

Rick
[Huawei MediaPad M5  Guides, News, & Discussion] StephenMSmith:
I didn't bother attaching anything bc AFAIK, I'm was the only one left in USA using M5 that was lucky enough to get it when the bootloader could still be unlocked. . Now it's just me and you, Rick. Lol
[Huawei MediaPad M5  Guides, News, & Discussion] C5Longhorn:
Agree, it's frustrating how this has turned out.
[Huawei MediaPad M5  Guides, News, & Discussion] Tool Belt:
SHT W09 C567 (wifi) running 8.0.0.199

Here is the patched_boot.image, use at your own risk

https://mega.nz/#F!EdB0jCgQ!uDyR1fVsHnFm_Zl94CxFGw

MD5 Hash 56659a8c9f449076b2a01c2145909f5e
[Huawei MediaPad M5  Guides, News, & Discussion] equi_design:
I've got two in my home so y'all aren't alone. :)
[Huawei MediaPad M5  Guides, News, & Discussion] StephenMSmith:
Ah, so there's 4 of us in this exclusive club then. Stuck on Oreo in the USA probably forever but that's OK bc we're rooted and can easily reroot should a security update actually arrive. I'd normally be pissed about no pie but I'm totally OK with this since the pie rerooting on any reboot sounds like a nightmare.
[Huawei MediaPad M5  Guides, News, & Discussion] C5Longhorn:
Agree completely with this, does sound like a pain.
[Huawei MediaPad M5  Guides, News, & Discussion] StephenMSmith:
I do find it odd that I haven't seen a single person, USA or anywhere, post about rooting with pie here in the M5 forums. We know pie for m5 is only available outside us, but was it only us in the US that got the window for unlocking bootloader?

I'm sure plenty of posts about Huawei pie rooting in phone forums, but nobody anywhere with m5, unlocked bootloader, and pie has rooted? Curious if the Magisk notes about rerooting upon every boot is truly as painful as it sounds.
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
[MENTION=3057254]StephenMSmith[/MENTION]I am running rooted pie without any issues. Patching recovery_ramdisk.img instead of ramdisk.img and booting into recovery to launch the rooted system are the only changes regarding to the Oreo version. So there is no real need for new threads regarding rooted Pie.
[Huawei MediaPad M5  Guides, News, & Discussion] StephenMSmith:
Ah, OK. So what does mean exactly for rebooting into patched recovery_ramdisk to launch root? What are the steps if you need to reboot your table? Use a reboot root app to boot directly into recovery, but it's Huawei recovery not TWRP? Once in recovery, how do you boot the rooted system? Is it an option in recovery?
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
You need to patch recovery_ramdisk.img with Magisk and flash it back to your device. Due to that you loose recovery for your device, but you have two options for booting:

- the normal startup which boots by using the standard boot.img and ramdisk.img

- the 'recovery' startup which boots by using the standard boot.img and (patched) recovery_ramdisk.img
[Huawei MediaPad M5  Guides, News, & Discussion] StephenMSmith:
So if your m5 spontaneously rebooted, you'd just find yourself looking at a boot menu with those 2 options? No need to repatch anything?
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
If the device spontaneous reboots it will boot the 'normal' way and you would loose root temporarily. Rebooting into recovery afterwards will bring you back root ...
[Huawei MediaPad M5  Guides, News, & Discussion] StephenMSmith:
OK, if you need to reboot, you just use a root reboot app to reboot directly into recovery, and then this patched recovery gives you the option the 2 options to boot into? What does it look like? Std Huawei recovery app but with a menu of the 2 boot options? I'm just curious b/c there is a snowball's chance in hell that we might get Pie in the U.S., lol.
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
There is no menu for choosing what to boot, you need either to press the vol- key when rebooting or mor easily you can connect your device to a PC and launch

ADB reboot recovery

from the command line.
[Huawei MediaPad M5  Guides, News, & Discussion] C5Longhorn:
Yeah, we would have to rebrand our tablets to be European models and then we could install Pie.
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
What's about installing a GSI version? I personally didn't use any yet as I am receiving regularly security updates but I am considering to switch to one of the GSI builds when the support finishes.
[Huawei MediaPad M5  Guides, News, & Discussion] C5Longhorn:
Sorry, I'm not familiar, what is a GSI build?
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
GSI - Generic System Build, i.e. these are builds provided by Google and should be able to run on any treble enabled device. [MENTION=1915408]phhusson[/MENTION] has also provided a guide how to build GSI from sources ... unfortunately I do not have much experiences yet but for sure worth having a look at.
[Huawei MediaPad M5  Guides, News, & Discussion] C5Longhorn:
Thanks for the explanation.
[Huawei MediaPad M5  Guides, News, & Discussion] hbar98:
Doing a little necromancy here...

I have a SHT-W09 8.0.0.200 (C567) Jan 2020 security update. It is unlocked, not rooted. I'm looking to get on to 9.0 so I can use PHH's Android 10 GSI. Do these instructions still work? Or do the latest security updates break it?
[Huawei MediaPad M5  Guides, News, & Discussion] C5Longhorn:
Yes, they still work. I have the same model and build as you and I'm rooted.
[Huawei MediaPad M5  Guides, News, & Discussion] danieliswhattheycallme:
Hey guys..I was hoping to unlock this bootloader. I think Huawei stopped giving unlock codes??? Is there any other way to get one.?
[Huawei MediaPad M5  Guides, News, & Discussion] Rom101:
Same here, as far as I understand root is possible but not bootloader unlock ? I have a JDN2-W09 chinese model (!) 9.1.0.192

On this post user [MENTION=2188693]AndDiSa[/MENTION] says it's not possible unless you open it, is that still the case one year later ?
[Huawei MediaPad M5  Guides, News, & Discussion] Fig wright:
I have exact same model, quite new. Haven’t had an OS patch update in ages now and I worry Huawei have abandoned the device despite still selling it! So I want to install a custom ROM but seems I cannot without bootloader unlock codes, which many people seem to say no longer work, and I worry this new variant JDN2-W09 (Huawei Jordan 2) will not work with older code websites. Also, they are often §50 now! :( Shame coz it’s a lovely piece of hardware... Any solutions?

PS I actually got a small “Settings update” last week that didn’t appear to do anything - anyone know what that’s about?
[Huawei MediaPad M5  Guides, News, & Discussion] jkaltes:
No SMS anymore

I have rooted a Huawei MediaPad m5 (SHT-AL09) running Android 9, by patching recovery_ramdis.img with magisk and flashing it with fastboot.

After booting into recovery I have root.

I have only one problem the "Messaging" app doesn't work, so that I can't send or receive SMS. Installing another SMS app doesn't solve this problem.

When I boot normally (so that I don't have root), I don't have this problem.

I have tried to turn off everything that uses root and hide root for everyone, but I still couldn't use SMS when booted into recovery.
[Huawei MediaPad M5  Guides, News, & Discussion] Olep84:
Hi all,

I have an unlocked M5 BAH2-W19 Pad, I was lucky to do the unlock before Huawei blocks...

I needed to update the pad and now have the FW BAH2-W19 8.0.0.337(OCEC432) on it, I thought it would be easy to patch ramdisk, but I cannot find the FW online to extract boot.img since TeamMMT is down.

Is there a way to find the FW for extracting the boot.img? must it be the OCEC432 boot.img or can it be another version too?

I also tried to downgrade to a lower FW but did not work.

found a Solution:

https://xdaforums.com/t/complete-guide-to-root-unroot-huawei-mediapad-m5-lite-all-editions.3989965/

there are some patched magisk

thanks for your help
[Huawei MediaPad M5  Guides, News, & Discussion] cbadoud:
Since nearly one year, I can't update the version of Magisk: I've successfully installed the latest firmware (9.1.0.381), but Magisk need to stay in version 20.4 to work, is it normal?
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
Same for me, all versions of Magisk >20.4 do not work. I am still on 9.0.345 as there is no newer version for my country.
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
Hmm ... today me was offered an update to 9.1.0.360 does anybody know where to get the full package to be able to extract the ramdisk image?
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
Is there already anybody who updated to 9.1.0.360 and rooted with Magisk and can help me out with some information?

The problem I am currently facing is the following:

Up to now I was using Magisk 20.4 with Magisk-Manager 8.0.5 for patching the RECOVERY_RAMDISK.img Unfortunately Magisk 20.4 is no longer available on the stable / channel but only 22.1 as a minimum version. If I remember well (the last update was about one year ago ...) the last time I tried I had some issues with a Magisk > 20.4 patched image. Does anybody succeed in rooting the device with Magisk > 20.4 and firmware 9.1.0.xxx and can give me a hint?
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
Today I've updated to 9.1.0.360 but it wasn't a quite easy task. Somebody confirmed that Magisk v23.0 should work with 9.1.0.360 so I have it a try and patched the recovery_ramdisk.img. I restored my old recovery_ramdisk and let the Huawei updater update my device.

After that I flashed the patched recovery_ramdisk ... and it didn't boot :-(

I supposed a bootloop and after messing a bit I was able to patch the recovery_ramdisk.img with "recovery mode" switched on. That image booted fine, but gave only a limited root access and Magisk Manager did not detect that as "magisk installed". Having all the modules removed I flashed again the previously prepared recovery_ramdisk, but still no success :-(

Finally I tried my "old" recovery_ramdisk from 9.1.0.345 patched with Magisk 20.4 which was sucessfully booting :)

Installing USNF-1.1.1 brought me finally to a consistent state with Magisk hidden and SafetyNet passing but it was a tough fight.
[Huawei MediaPad M5  Guides, News, & Discussion] DisDis:
Can you share your patched image?

Because I have same problem with root and 9.1.0.345
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
@DisDis I've uploaded 2 different versions (one from C432-335 and one from C432-345) probably one of them works for you.
[Huawei MediaPad M5  Guides, News, & Discussion] DisDis:
thx @AndDiSa, but my SHT-AL09 didn't work with both files. I had bootloop.

Now I stopped on 9.1.0.325 (C10) + lineage-18.1 without root.

Magisk-v23 made broken image with bootloop. v20.4 requires upgrade and didn't make image.
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
Well those files are for SHT-W09 so they cannot work on SHT-AL09 ... but I had issues with Magisk 23, too, fortunately the "old" patched file is still working on 9.1.0.360 for me.
[Huawei MediaPad M5  Guides, News, & Discussion] mannisan:
Isn't it possible to download Magisk 20.4 from the official GitHub page and use this to patch 9.1.0.381 ?

https://github.com/topjohnwu/Magisk/releases/tag/v20.4
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
@mannisan As far as I know not, as Magisk Manager 20.x is downloading the magisk.zip from a remote repository but the url used there does no longer exist ... :-(
[Huawei MediaPad M5  Guides, News, & Discussion] nofear5888:
Link down :-( trying to find a way to root my allready unlocked SHT-W09
[Huawei MediaPad M5  Guides, News, & Discussion] xtacb4:
Same here, just got the bootloader unlock code a week ago, trying to find how to install twrp, LOS, root and gapps.
[Huawei MediaPad M5  Guides, News, & Discussion] jbbandos:
If it works the same as for the CMR-W09, the easiest way to get root now is Magisk - install the apk, give it a "RECOVERY_RAMDIS.img" to patch (use huawei firmware extractor on the latest firmware's update.app), boot into fastboot (poweroff, vol-down pressed, connect the usb cable to the pc), and "fastboot flash recovery_ramdisk magisk-patched.img". Then you still have to reboot into recovery ("adb reboot recovery" is usually the best bet) and you'll have root.

As for twrp - forget it. No twrp since EMUI 9.

LOS, etc - there are treble ROMs, but with SU pre-installed.
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
@jbbandos did you try with Magisk >= 20.x and got a working patched file? I tried several times but to no avail. That's the reason why I am still stuck on Magisk 20.x ...
[Huawei MediaPad M5  Guides, News, & Discussion] jkaltes:
I use Magisk 23.0 on SHT-AL-09, but I remember that somewhere in the past an update didn't work (I believe related to renaming Magisk Manager) and I had to uninstall and reinstall Magisk Manager.
[Huawei MediaPad M5  Guides, News, & Discussion] Fig wright:
This link suggests that a bootloader unlock is now possible for the JDN2-W09 model with Kirin 710:

Huawei Mediapad M5 Lite 8 Bootloader Unlock [JDN2-L09, W09, AL00]

Huawei Mediapad M5 Lite 8 was released in 2019. This tablet is equipped with a Kirin 710 chipset. We know that Huawei has stopped providing bootloader unlock codes since 2018. We are offering the bootloader unlock service for this tablet. JDN-L09, JDN-W09, and JDN2-AL00 are supported by our...

ministryofsolutions.com

Anyone know if it's legit? There's no way I'm giving some internet random access to my PC :rolleyes: even though I'd gladly pay the $12!
[Huawei MediaPad M5  Guides, News, & Discussion] jbbandos:
I have it now on Magisk 24, no issues with patching.
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
@jbbandos thank you very much, when I find the time I'll try to update.
[Huawei MediaPad M5  Guides, News, & Discussion] mutahharbashir:
That's my page , i have just rooted the tablet, uploading video on youtube today or tomorrow
[Huawei MediaPad M5  Guides, News, & Discussion] viva-yo:
Where can I download the ffirmware for my cmr-w09? I can´t find it anywhere
[Huawei MediaPad M5  Guides, News, & Discussion] MiniBro:
Hi does this still work for cmR-W09 rooting and unlock the bootloader thank you
[Huawei MediaPad M5  Guides, News, & Discussion] RobZen77:
Huawei MediaPad M5 CMR-W09 hw eu Cameron-W09A 9.1.0.330(C432E5R1P3T8) Firmware 9.0.0 r3 EMUI9.1.0 05014XYA.zip - AndroidHost.RU

Download file - Huawei MediaPad M5 CMR-W09 hw eu Cameron-W09A 9.1.0.330(C432E5R1P3T8) Firmware 9.0.0 r3 EMUI9.1.0 05014XYA.zip

androidhost.ru
[Huawei MediaPad M5  Guides, News, & Discussion] RobZen77:
You can search androidhost for older versions if you need
[Huawei MediaPad M5  Guides, News, & Discussion] RobZen77:
Unlocking the bootloader with testpoint method works, I am still unable to get root access. Probably I am doing something wrong,but already gave up, still having TWRP recovery on it though.

Edit: Managed finally get root access even on Android 9.1.0.381 using Magisk 25.2
[Huawei MediaPad M5  Guides, News, & Discussion] AndDiSa:
[MENTION=348756]DDK[/MENTION]6 if you are getting the update is it possible for you to install the firmware finder and follow the instructions to provide the update url? Best would be to get the full ota ...