yashsingh1/xdaforums huggingface dataset:
[Huawei MediaPad M5 Lite Guides, News, & Discussion] drumiec:
Rooting Huawei Mediapad M5 Lite ( All Editions )

Requirements on drumiec edition:

1. Unlocked Huawei Mediapad M5 lite.

2. Minimal ADB Tools [also added to post]

3. WinRar or other extraction tool

4. Magisk Manager apk file from original XDA topic.

5. Huawei Update Extractor [UPDATED: v0.9.9.5] [also added to post]

6. Original Firmware update.zip of current device you are running from https://pro-teammt.ru/en/online-firmware-database/

I used website that actually belong to Huawei Firmware Finder aplication TeamMT, so will give you same result with searching database (look at screen1.jpg - attached to post)

When you will find your firmware version click on filelist and pick the first link, usually is the largest file from all 3 links (like 1.8GB for example).

7. Download update.zip and extract UPDATE.APP from inside using WinRAR or so.

8. Open Huawei Update Extractor and open with it UPDATE.APP file by clicking [...] button.

Important: If program will not let you open the file because of some CRC errors, go on settings tab and uncheck Verify Header Checksum.

For me was not possible to open UPDATE.APP without previous step.

9. Find RAMDISK.img file on the list and extract it.

10. Copy RAMDISK.img file to tablet at any place.

11. Install Magisk Manager apk on tablet.

12. Follow the original guide.

Notice: Magisk will show you output location of your patched ramdisk file right after it finish processing it.

Latest update.zip for Huawei Mediapad M5 Lite 10.1 linked here:

FW version: BAH2-W19 8.0.0.230 C431 update.zip download
[Huawei MediaPad M5 Lite Guides, News, & Discussion] P4p3r1n0:
use

adb pull

and

adb push

to achieve the transfers as people noticed that using MTP can corrupt the file:

1. adb push /path/to/RAMDISK.IMG /sdcard
2. Patch the file using Magisk.
3. adb pull /sdcard/Download/magisk_patched.img ./

And then flash it through fastboot.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] divineazn716:
Hey Bossman, im stuck at the very end. I copied the patched magisk img to my pc folder where the adb is and when i type the fastboot flash ramdisk ****** it says

"error: cannot load 'patched-ramdisk.img': No such file or directory"

I dont know what im doing wrong?

the adb debugging on and im at the bootloader screen and my stuff is unlocked.

please help me, im not sure where im going wrong, the directions are so simple.

edit* nvm i fixed it

i had to do that adb pull and it worked from there. thank you again so much. i dont know what im going to do with this huawei device but online it said it was a good tablet to have so maybe more will come with this. if not, i can always use it as a security monitor? lol thanks again, have a great night!
[Huawei MediaPad M5 Lite Guides, News, & Discussion] mad0701:
Same issue here.

The solution is written on the Magisk Homepage:

Don't extract the file with Zarchive.

Download the file update. Zip from the Tablet to the PC (with the Huawei Tool) and unzip the file one time with 7zip.

Use the tool Huawei Firmware extracter. Disable in the settings the checksumme check and extract the Ramdisk.img. Copy the file back to the Tablet and let it patch from Magisk. Copy the patched file back to the PC, boot the Tablet into Fastboot (via adb reboot bootloader) and flash the Ram disk.img.

Remember to active at every reboot the USB Debugging in the Dev settings. It's disabled automatically.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] blackdog7:
Thanks for the guide. Should I unroot device if I get a new official update?
[Huawei MediaPad M5 Lite Guides, News, & Discussion] tbozo:
With the updates I lost my root access which I was using for multi user on my M5 lite Wifi

So I had to do the whole process again.

Here is the patched file for the version : BAH2-W19 8.0.0.278 (OCEC431)

so if you have the same version you can skip some steps and flash it.

firmware : BAH2-W19OCEC431B278

https://www.mediafire.com/file/mizbqmyztiuyj13/magisk_patched.img/file

You 'll have to re-edit the file to enable the multiuser (if you already did it previously the users will still have their config)

check there https://xdaforums.com/p8lite/p8-lit...-root-add-multi-user-support-disable-t3602872
[Huawei MediaPad M5 Lite Guides, News, & Discussion] froulis94035:
So with this file, the process from the OP is shortened to:

1. Type

adb reboot bootloader

. Your device will boot into the fastboot mode and you will see BOOTLOADER UNLOCKED on the tab screen.

2. Now type

fastboot flash ramdisk magisk_patched.img

(above file for BAH2-W19 8.0.0.278 (OCEC431)).

3. Your device is Successfully Rooted.

Is this right?

edit: to answer my own question: yes :)

Also, do we need to do this after every OTA update? (not that I expect so many in the future...)
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Balamku:
Keine ramdisk Partition mehr

Hi,

since the last update BAH2-L09OCEC432B278 a ramsisk partition is no longer available.

I followed the modified guide with 7-zip and downloading the update.app on my PC and then pushing it onto the tablet with

C:\Program Files (x86)\Minimal ADB and Fastboot>adb push c:/RECOVERY_RAMDIS.img /storage/emulated/0/Download

I created the magisk_patched.img and used the pull adb command to get it back onto my PC.

I followed the steps in the guide with fastboot, but the very last command fails.

The tablet says both are unlocked, on the Magisk Website there is a short section on "Magisk in Recovery", but pushing the Power on and Volume up does not give my a Magisk option.

Update: I followed the Patching guide, but this fails with the following message:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery magisk_patched.img

target reported max download size of 471859200 bytes

sending 'recovery' (26386 KB)...

OKAY [ 0.826s]

writing 'recovery'...

FAILED (remote: partition length get error)

finished. total time: 0.842s
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Poldenais:
Hi,

I have the Huawei MediaPad M5 lite 10 but the Build Number for me is 'BAH2-W19 8.0.0.278 (OCEC432)'

and I can't seem to find the update file for it to follow the steps above?

Any help would be appreciated on what steps I need to do.

Thanks, :good:
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Balamku:
Your Build number translates to the same firmware as mine: BAH2-L09OCEC432B278

This is a great explanation: https://www.theandroidsoul.com/extract-huawei-firmware-update-app/

Download the file from MT Team and extract is with 7Zip: https://pro-teammt.ru/en/

Hope this helps.

PS: Could you let me know if you are able to flash your phone since it is the same build?

THX!
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Poldenais:
Thanks for the link. reading the explanation then, mines would be BAH2-W19OCEC432B278. Thanks for that

---------- Post added at 03:51 PM ---------- Previous post was at 03:10 PM ----------

Huawei Update Extractor: it mentions this in there but I have a MacBook and there doesn't seem to be a version for this.

Am I missing something?
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Balamku:
Hmm, I have Linux and had to dual boot into Windows, because of several tools - this one included - wanting Windows. There is an emulator / VM available for Windows on Mac, but might be a bit over the top...
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Poldenais:
Finally got it rooted using a MacBook Air.

I used splitupdate which is a tool for splitting UPDATE.APP for Huawei phones.

I then installed windows 10 on a Virtual Box to run the DC-unlocker app as there is no Mac version.

Once that was done and I got the code, then went back to the MacBook to run the ADB commands.

Just in case anyone else has a MacBook as well :cool:
[Huawei MediaPad M5 Lite Guides, News, & Discussion] 5T33Z0:
Thanks for sharing this. Flashing worked fine, Magisk is nstalled

In my case I always have 2 entriedin the ADB Devices list, so I have to use the following Instruction to get the device rebooted into bootloader:

adb devices

> lists the devices. In my case 2

adb -s YOURDEVICE reboot bootloader

-s to specify the device followed by its ID (2DKNU198xxxxxxxx)

Then it reboots into the bootloader. From there, you can continue as usal too root the device.

But I have a Question: I am a Xposed Framework user and I am using Riru EdXposed. Which version is recommended for the M5 lite - YAHFA or SandHook? I think one of the caused a bootloop the last time I installed them.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Raresh T:
Well, if you have twrp recovery, just go trial and error. make a backup beforehand and you are safe. is faster than waiting some answers
[Huawei MediaPad M5 Lite Guides, News, & Discussion] 5T33Z0:
Is there a build of TWRP available for the M5 lite???
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Raresh T:
Yes it is. check this thread (https://xdaforums.com/mediapad-m5-lite/development/aosp-10-quack-treble-official-rom-t4037391). at some point there it specifies twrp recovery. download from there, follow the instructions and you will have twpr recovery.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Balamku:
Hi,

I am still stuck - see post #16.

Can someone help me flash into recovery?

I tried some more variants of the adb command that I found in a German help forum, but no success.

I have read a lot, but I am not an Android specialist and not familiar with the partitioning.

Help to downgrade to the previous version would also be sufficient, since it still had ramdisk and I have the extracted update.app.

Much appreciated!

Update: Issue resolved - Found a solution on android-hilfe (Geman)
[Huawei MediaPad M5 Lite Guides, News, & Discussion] tbozo:
Unfortunately it seems that we need to do it after each OTA update.

That's a shame to ease the process.

Here is the patched file for the version : BAH2-W19 8.0.0.279 (OCEC431)

so if you have the same version you can skip some steps and flash it. directly as discribed

firmware : BAH2-W19OCEC431B279

https://www.mediafire.com/file/s8w48fdymdta6e3/magisk_patched.img/file

Unfortunately it seems that there is not a lot of people on this device :( for the price and with root (mainly for multiuser for me) it's a really good tab.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] mad0701:
I use the tablet only for flying RC Modell.

So I've skipped the last update... the tablet is running and it's enough...

I'm a little disappointed, that this model doesn't received a higher OS Version....

So from this point of view :

Lenovo and Huawei isn't anymore an option for me if I'm looking for a new Android device.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Raresh T:
lenovo does the same stuff, not updating their devices? also, have you tried using GSI roms?
[Huawei MediaPad M5 Lite Guides, News, & Discussion] mad0701:
I've made the experience, that with the Google 7 Tablet the live stream from the copter in combination with customer Roms doesn't work anymore . So I must go back to the original Rom. After the app needs a higher android version, I've buy the Huawei...

Lenovo is a known company, that they sell fast new tablets, but the update policy to higher Roms is, for current tablets on the market, not the best one.

This tablet worked as alarm clock and media streaming only at home. (About good Sound and integrated food for standing ;) )
[Huawei MediaPad M5 Lite Guides, News, & Discussion] roberthaa:
Thanks works great!
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Raresh T:
did you also tried installing a new gsi?
[Huawei MediaPad M5 Lite Guides, News, & Discussion] 5T33Z0:
Theres a new version available: BAH2-W19 8.0.0.295 (OCEC431)

Does somebody have the latest patched latest patched bootimage for it?
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Raresh T:
Nope, haven't even installed it. But is easy to make it.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] 5T33Z0:
Ok.

I guess OTA updates don't work until you flash back the original unpatched ramdisk, right?
[Huawei MediaPad M5 Lite Guides, News, & Discussion] mad0701:
Is the new update only a security update or also a switch to Android 9 ?
[Huawei MediaPad M5 Lite Guides, News, & Discussion] merlinolillo:
Only a security update. BAH2-W19 won't never receive Android 9.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Raresh T:
The new update is small, just a security update. Doubt we ever getting Android 9
[Huawei MediaPad M5 Lite Guides, News, & Discussion] 5T33Z0:
Here's the patched Ramdisk for BAH2-W19 8.0.0.295 (OCEC431)
[Huawei MediaPad M5 Lite Guides, News, & Discussion] 5T33Z0:
Here's the patched Ramdisk for BAH2-W19 8.0.0.298 (OCEC431)
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Vurio:
What is the widevine status after unlock. Is it still L1? If it changes to L3 then it is a no go for me. I am buying it for watching Netflix
[Huawei MediaPad M5 Lite Guides, News, & Discussion] mad0701:
I use Netflix also on a P905 which is rooted round about 5years.

If Google does not offered you the app or the app has some problems.... on the Netflix side you can dl an app for compatibility reason.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Raresh T:
I ve installed Netflix though apk mirror. And I got full HD on my tablet. No problem whatsoever.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] smobydick:
Hello, I did this tutorial and now I can't use netflix.

I know there are hacks, but maybe people would be turned off knowing they wouldn't be able to use netflix right after.

thanks for the tutorial
[Huawei MediaPad M5 Lite Guides, News, & Discussion] stonedpsycho:
Just download and flash the module in Magisk Manager. If I remember correctly the name of the module is "liboemcrypto.so disabler"
[Huawei MediaPad M5 Lite Guides, News, & Discussion] klemen241:
just dowload latest netflix apk from internet and install it. IT works with magis on fullhd
[Huawei MediaPad M5 Lite Guides, News, & Discussion] mad0701:
So as mention a long time before : I've also no problem with Netflix. On devices which have problems with the app from Google Store, I use the apk downloaded from Netflix itself (link in the help "Netflix does not work")
[Huawei MediaPad M5 Lite Guides, News, & Discussion] j04nd03:
Hi, since 5T33Z0 doesn't seem active any more, here's the patched RAMdisk for BAH2-W19 (OCEC431) B318. According to the Huwaei Firmware Finder B327 is already out as well, but since that hasn't been released in Europe yet (or at least it's not offered on my tablet), B318 should be correct for other European users of this model.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] smobydick:
My contribution
[Huawei MediaPad M5 Lite Guides, News, & Discussion] smobydick:
Here you go

magisk_patched_BAH2-W19OCEC431B337 (8.0.0.337)
[Huawei MediaPad M5 Lite Guides, News, & Discussion] VITALI_GOMEL:
[QUOTE = "smobydick, post: 84123581, member: 2373228"]

Here you do

magisk_patched_BAH2-W19OCEC431B337 (8.0.0.337)

[/ QUOTE]

on 322 it turned out to be a firmware
[Huawei MediaPad M5 Lite Guides, News, & Discussion] j04nd03:
Here's the latest Patch B339 with the Android security updates for December 2020.

To pass the SafetyNet check you'll have to enable MagiskHide and install the Universal SafetyNet Fix Module now.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] fanatic.surf:
Can anyone provide a magisk_patched_BAH2-W19OCEC431_B340 Version?

Link to firmware is broken:

База найденных прошивок ⋆ TEAM MT Developers

pro-teammt.ru

so I can't build my own.

Thanks
[Huawei MediaPad M5 Lite Guides, News, & Discussion] j04nd03:
Someone from Team MT said that the firmware database is essentially dead (and hence firmware finder as well), as Huawei has moved the files to another site but isn't releasing the download links any longer.

So unless the OTA updates can be captured by another method, my patch of B339 will probably be the last, unfortunately.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Honeytea:
Is there way to extract RAMDISK.img by our self? (after Team MT servers dead)

It should be possible to create a ramdisk dump directly from the device.

I searched about this topic. There are a lot of ways to do this job. But my knowledge isn´t good enough to adapt the steps to our MediaPad.

Our situation is:

unlocked bootloader, lost root by update to version .340. Need to patch ramdisk.img by magix to get root again.

Who can help us, please?
[Huawei MediaPad M5 Lite Guides, News, & Discussion] j04nd03:
I'm pretty sure we're running into a chicken-egg-problem here. As long as there's no custom recovery like TWRP and no means to root the tablet with a firmware above B339, you won't be able to dump the ramdisk. And since you need the ramdisk of the currently installed version in order to be able to flash a custom rom as well, I can't see how you could get root other than by capturing the OTA update of the latest version and extracting/patching the ramdisk from that again.

[EDIT] I just read here that apparently the ramdisk for B339 still works on B340, so it can probably be patched for Magisk as well. As I haven't updated to B340 yet (and won't until the Full OTA can be downloaded somewhere) I can't check, but it might be worth a shot for you.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Honeytea:
Thank you very much!

I tried to flash the older Ramdisk like described.

And yes, i can also confirm that the device is booting normally and root is available.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] mishunja:
Hi!

I have BAH2-L09 with firmware 8.0.0.360. Bootloader is unlocked. Can I root it with the patched B339 version above? What will happen if the versions do not match each other?
[Huawei MediaPad M5 Lite Guides, News, & Discussion] j04nd03:
BAH2-L09 is the 4/64GB LTE version while BAH2-W19 is 3/32GB WiFi only, so even if the Ramdisk for BAH2-W19OCEC431_B339 would work at all (which is doubtful at best), it would render the mobile adapter unusable, as the Ramdisk contains the init scripts for the tablet's hardware components.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] tbozo:
Hello

It seems that there is no more updates, I must confess I haven't patch for a few release as I didn't needed the multiusers as before. But if it's the last time I have to do it why not.

Did someone managed to get the BAH2-W19 8.0.0.371 ?

Or what have you done with the tablet which is still good for me.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] j04nd03:
To the best of my knowledge, no Full OTA above 8.0.0.339 has ever been relased, and consequently I've never updated my BAH2-W19 either.

For what it's worth, I've just created (and attached) a new patched Ramdisk for the latest Magisk 24.3. From version 24.0 on MagiskHide has been removed, so in order to pass the SafetyNet check, you'll have to install MagiskHide Props Config now.

It should still work on a BAH2-W19 with Firmware 8.0.0.340 again, but most probably not on later firmwares and definitely not on 8.0.0.371, sorry.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] tbozo:
That's a shame, I guess I'm stucked with this version :(

The one thing I really miss is the multiuser to set up chlidren accounts.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Fytdyh:
still using it daily for netflix. also, been working on making android 12 compatible with it.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] merlinolillo:
I really hope you can do that. You would be an hero.
[Huawei MediaPad M5 Lite Guides, News, & Discussion] sukinoz:
@tbozo ,

I am in exactly the same situation,

but in addition I have 2 tables build BAH2-W19 8.0.0.371

and I NEED multiusers on the 2 tablets (the one at home for me and the kids, and the one at work for several employees).

did you find the solution? thanks
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Same_Guy:
That .img patched file from .340ver. still worked out on .360ver for my tablet: bah2-w19 c10(ocec10), thank you man
[Huawei MediaPad M5 Lite Guides, News, & Discussion] Lippen:
Here are the link for the 371 update :

http://update.dbankcdn.com/download/data/pub_13/HWHOTA_hota_900_9/49/v3/jT1qN_VcRbC6HHMM0E6vnw/full/BAH2-W19_hw_eea/changelog_hw_eea.xml
http://update.dbankcdn.com/download/data/pub_13/HWHOTA_hota_900_9/49/v3/jT1qN_VcRbC6HHMM0E6vnw/full/update.zip
http://update.dbankcdn.com/download/data/pub_13/HWHOTA_hota_900_9/49/v3/jT1qN_VcRbC6HHMM0E6vnw/full/public/update_data_public.zip

You can get the link using PCAPDroid when fetching the update.

There is no RAMDISK file inside the update.

I tried to update my tablet, but there was an error in the verification stage, and it no longers offers me to update, so I stay in 341 version.

Edit : Finally, I've updated to .371. I lost root access, so I downloaded the latest version with RAMBOOT file (360), I patched it with magis, and flashed back. It worked.

Here is the ramboot.img file for 360 version. Patch it with Magisk, and you're good to go.
[Google Pixel 4 XL Questions & Answers] daryllh:
Anybody experiencing issues with BT? I'm unable to connect to Sony speaker, Galaxy Buds (Wearables app is installed)

The speaker shows up as available devices but when I click on the name, it doesn't go any further. The Buds show up in Wearables app but also, won't go past clicking on name.

I transferred data from Galaxy S10+ when I set up the phone. Basically chose all settings, etc. That shouldn't be a problem, right?

I don't want to factory reset if I don't have to. There seems to be nothing about issues online.
[Google Pixel 4 XL Questions & Answers] daryllh:
I reinstalled Samsung app and reset. That seemed to get Buds to work even though I reset after installing first time.

BT speaker worked after that same reset. Again, it was the 2nd reset. I can't remember having to reset before trying to find a BT device each time.
[Google Pixel 4 XL Questions & Answers] teethgrinder32:
I'm noticing the same with my Nokia Steel HR watch. My Galaxy buds however did pair fine
[Google Pixel 4 XL Questions & Answers] dmarden:
There are a handful of BT devices that, for some reason with my Pixel 4 XL, I have to go into airplane mode and back out again to connect. Turning off/on BT itself doesn't work... but airplane mode off/on does.
[Google Pixel 4 XL Questions & Answers] flash713:
This doesn't work for me. My Skullcandy Bluetooth ear buds will not connect to my 4xl. It doesn't even see them. My OnePlus 6t immediately pairs with them. I've tried toggling airplane mode. Nothing works.

Edit added: After flashing stock boot.img and then patching it again with magisk canary and toggling airplane mode I finally got my headphones to pair. I was using Clean Slate kernel before. Not sure if it was related. What I did do that I believe helped was I saw that my phone saw my Fitbit watch so I paired to that and then my Skullcandy headphones all the sudden were visible. Weird! 😏🤷
[Sony Xperia 5 Questions & Answers] ckchakack:
I have noticed that the do not disturb mode is not deactivated only when programmed. If I ask him to deactivate in 15 minutes after 15, he is still silent, does anyone else happen or is it a problem with my phone? I've tried reinstalling a different firmware, but it's still the same
[HTC Excalibur] Willmaster:
I have an HTC S620 (Original HTC)

Running WM6.1 (http://xdaforums.com/showthread.php?t=374890)

but...theres an Problem:

Wifi Works Fine,No Problems

But i became no Gsm Signal,it Takes my Pin and Displays "Sim card pro" (is Normal,its an A1 Austra card-it displays this on every Phone)

but then stands on the Display "Searching" ive waited 2hours and tested 3 Sim Cards and 4 Roms,Nothing Helps

i also Flashed from HERE

The "HTC WM6 WWE ROM - 4.1.13.44_02.94.90" and also "Rogers WM6 Radio - 4,1,13,47_02.98.90",doesnt Help :(

any Suggestions?

Sry for My Bad english :'(
[HTC Excalibur] Ar-ras:
Have you also tried the Radio-Rom "T-Mobile WM6 Radio - 4.1.13.34_02.79.90 " from http://xdaforums.com/showthread.php?t=332195 ?