yashsingh1/xdaforums huggingface dataset:
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] Sokraates:
On my SHT-AL09 (8,4 in, LTE), TWRP seems to work fine. I've played around, installing su-addons with LOS and RROS. Until now, I haven't encountered any problems. The internal SD is encrypted, so you need to place the ZIP-filed on your external SD.

Just make sure to re-stock recovery before changing ROMs (ie: follow the instructions). Even flashing an openkirin ROM through fastboot will cause bootloops if TWRP has not been removed before. At least it did so for me.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] konradsa:
Anybody noticed unzip command is missing in sbin? Zip is there, gunzip as well, but no unzip. This creates problems installing some zips that run scripts that try to invoke unzip command, like hurupdater.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] larpoux:
I tried this TWRP implementation but I realized very soon that it is completely useless for me because it cannot access the uncyphered /data partition.

I really need to do nandroid backups of this partition.

Now I use [MENTION=2642882]Pretoriano80[/MENTION] TWRP implementation (for p10 devices) and I am very happy with it on my Mediapad M5 CMR-W09.

https://xdaforums.com/p10/development/recovery-twrp-3-2-1-0-emui-8-0-4-04-2018-t3773449
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] kurvenmeister:
to all guys out there. decrypt your data with this. used it on my m5, honor 8 pro, view10 and honor play. works great.

https://xdaforums.com/android/software/universal-dm-verity-forceencrypt-t3817389

look at this too

https://xdaforums.com/honor-view-10/how-to/guide-how-to-decrypt-data-berkeley-t3820251
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] SeriousX:
Im sorry to bother you guys but can i use it to install on MediaPad M5 Lite WiFi?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] Kerr Avon:
Cheers for the share! Installed [MENTION=2642882]Pretoriano80[/MENTION] TWRP for P10 devices on my Mediapad M5 SHT-W09 and operating without any problem. :)
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] k3wlar:
Also on my tablet is Huawei MediaPad M5 - SHT-W09 8.0.0.168 (C432)

But I'm not sure if the restore works properly. When installing, it mounts a "mount / boot" error, but otherwise everything works in sequence.

EDIT: Twrp (P10) does not start after the first restart :( work only stock
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] mac231us:
Does this work with SHT-AL09, the LTE version of the M5? Anyone please advise. Thanks.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] Besuz:
It works, except for decryption of data partition.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] jgaviota:
But can we format the Data partition? Or do we need stock recovery to wipe?

Thanks
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] qtotter:
I thank schwabe93 for his development, but I couldn't use adb with his TWRP.

I was reading https://4pda.ru/forum/index.php?showtopic=909021&st=0 (a Russian forum), and found TWRP 3.2.1-0 for P10 in XDA is compatible with MediaPad M5 (mine is 8.4 LTE). So I burnt it. It looks like everything works fine including adb, saving TWRP settings and backing up/restoring data partition with decryption.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] sebarkh:
Any TWRP for Android Pie official Emui 9 Beta?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] qtotter:
Just check P10 forums.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] sebarkh:
Any specific link?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] perrin4869:
The mirrors don't work anymore ><;;

BTW, would this work on M5 Lite?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] :
I just tried this and the one from https://xdaforums.com/p10/development/recovery-twrp-3-2-1-0-emui-8-0-4-04-2018-t3773449 with no luck. It takes me straight back into the EMUI recovery

Can anyone confirm if this still works?

I am using US version 8.4 WIFI only (SHT-W09 8.00196(C567))
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] TiTiB:
I went to the TWRP found at link below and haven't had any issues—best TWRP I've found for my SHT-W09.

https://xdaforums.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] Raresh T:
Great work. Is there a way I can financially help the development for the M5 tablet, like a Patreon subscription? I ve got the M5 lite tablet, they might be similar roms.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] mcc2005:
[/COLOR]

I use an M5 lite (BAH2-W19). I tested the TWRP and couldn't mount partitions. Could someone help me create a twrp for the m5 Lite?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] Chr1stOnABike:
This really buggered up my mediapad m5. Took best part of a day to unbrick it. Steer well clear is my advice
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] robgee789:
Hey guys will you lose all your data when flashing this recovery?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] k3wlar:
I don't know if the twrp version will be updated yet? Some day I work on adjusting the build version of twrp. and some of my own fstab edits. "Resurrection Remix OS 6.2.0 Magisk v19.3 RiruCore 19+ TWRP 3.2.2-1 EdXposed-YAHFA-v0.4.5.1Beta". Surprisingly, after half a year it works well :)
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] tyoungcb10:
Hi,

I have just got my Media Pad M5 10.8 Model CMR-W09

I keep trying to flash TWRP recovery and I keep getting the "failed - command not allowed " response.

I have OEM unlock checked and receive a correct reply to adb devices and reboot into bootloader. Bootloader screen says phone locked FRP unlocked.

Any assistance would be much appreciated.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
Don't waste your time, TWPR for m5 is no longer developed, use fastboot to flash your prefered ROM.

You get that error because you have enabled the "OEM unlock" option but your bootloader is still locked. Unlock it and you'll be able to flash anything:fingers-crossed:
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] Raresh T:
The TWRP for m5 is an abandoned project for good ?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
We only need a mantainer for our device, nothing else:(
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] Raresh T:
Any idea if the M5 roms are compatible with the M5 lite version of the tablet ?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
I own a SHT-W09, i don't know about the lite model. I know you can install any treble ROM or a Rom from this forum optimized for the Mediapad
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] aron.sjoberg:
I have the same issue and can't seem to flash TWRP. I want to flash another ROM like the unofficial LineageOS (https://xdaforums.com/mediapad-m5/development/rom-lineageos-15-1-t3813826).

I don't understand how to unlock the bootloader on the Mediapad M5. Do I need to purchase a bootloader unlock code? Is there another way?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
Make a search in this forum for the right guide to answer your questions, there are guides useful to unlock, downgrade, root your M5.

Cheers

---------- Post added at 07:44 PM ---------- Previous post was at 07:43 PM ----------

Make a search in this forum for the right guide to answer your questions, there are guides useful to unlock, downgrade, root your M5.

Cheers
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] aron.sjoberg:
I have, of course, searched and read the threads in the forum. I can't however understand if it is still possible to unlock the bootloader. Huawei don't help with codes anymore and the sites linked in the guides do not sell codes as far as I can understand. I'm guessing this means the device is not possible to unlock (or install other ROM on) but I was hoping to get some clarification before resigning to my fate...
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] fargonaz:
The pay unlocking services can do ANYTHING with your device, huawei will not help.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
The procedure is: 1)downgrade your firmware, 2)buy the code, 3)unlock the bootloader.

This is what i know, i didn't follow those steps because i bought my unlock code with the right firmware. Bye
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] vovaxxxx:
Hey guys,

I unlocked the bootloader , installed this twrp make all the steps indicated to install LOS15...

but the error 64, installing gappss. Installing mindthegaaps gives ( services framework keeps stopping... all the time)

how to cope with it?

thanks!
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] xtacb4:
Hi everyone!

I bought this tablet last week, yesterday I unlocked the booloater and tried installing TWRP.

I tried installing the TWRP from the first post of this thread, the reboot to recovery after the flash to ramdisk was met with the old recovery, not TWRP, I performed this twice to be sure, same result.

Then I tried the TWRP linked in post #53 after flash and reboot, the twrp screen appears but remains there even after 10 min, a "hard" power cycle (8 secs pressing the power button) device starts normally and EMUI recovery is back.

So.. I'm not understanding what's the issue, what I'm doing wrong, not doing, or not meeting some requirement.

Tech details of my unit.

Tablet Huawei Mediapad M5 8.4" 64GB

Model SHT-W09

Build number 8.0.0.200(C567)

EMUI version 8.0.0

Android verison 8.0.0

Kernel version "4.4.23+"

Security Patch Jan 1st 2020.

Any help/guidance/orientation is welcome.

Thanks!
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
Don't waste your time with TWRP, it is an early ancient version never full developed. Use instead fastboot to flash a GSI image and wipe data with the original Huawei recovery.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] xtacb4:
I guess I can live without twrp or any other customer recovery, but still I'd like need gapps and root, what LineageOS flavor would you recommend for me to look at? sorry to ask this, but it's been a long while since I did something like this, not only what I know does not translate from one device to antother, also I'm rusty as heck, plus both android and the devices are quite different and use quite different metodologies from what I once knew.

Also, those guides assume TWRP is present, and there seems to be additional steps regarding encrytion and other seemingly important details that depend on it, how do I bypass that limitation?

Apologies, I didn't want to make this reply so long, but I feel lost in the dark a bit (my current tablet is a nexus 7 2013 with LOS 11 or 12, can't recall exactly).

My plan to use is mostly multimedia consumption and the dji fly app. So if you, or another ocasional good samaritan forum user fellow human being, could kindly direct me in the right direction, where to go and read, I'll apreciate it.

Thanks!
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
You could develop TWRP by yourself of living with all limits of an original recovery.

If your M5 is equipped with Emui 9 your tablet uses the A/B partitioning, so any A/B treble image could be flashed; i use the Phh squeak ab v411 vanilla+root+vndklite+arm64.

Feel free to flash a Lineage GSI rom from here, the main page of AB GSI Roms is here. When you flash a GSI image follow this guide, i wrote it for Phh GSI images but it is valid for any trebled images.

From above link, i found this autoexplaining guide of the treble naming Roms:

So you will need an "arm64" version, "b", "v" or "g" and "S" it is pre-rooted.

Our tablet is old and larger GSI images could not fit due to the system partition size.

You could start reading posts from this forum and as you i used a Nexus 7 2012 before the M5.

Regards
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] air32:
Hey massima, if i understand you right then a m5 is being used with phh from you?

Ive got some trouble with the releases which means that my sd-card could not be formatted as ext. media storage, when i try to do the process breaks and tablet is in a bootloop, also described here: https://github.com/phhusson/treble_experimentations/issues/1638

Other point is that in the newest releases im not able to finish setup process at the begining, after setup a pin it resumes to the step before where you have to accpet google terms.

My question is, did you managed to solve these issues when using phh releases?

Right now im a little bid sad of all the action it took to unlock this device and for now its without any benefit for me.

Regards,

air32
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] air32:
Double-Post
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
Yes, i use Phh for a pure AOSP experience. You should always try latest version because some issues could be fixed, if not join to the the phh treble group on Telegram to get help and attach some logs.

My app music wasn't able to scan music on the microsd, now on v411 is fixed, so help the dev to debug its ROM.

We are free to unlock or not the bootloader, for me benefits are many more than its limits.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] xtacb4:
Its the US version, the latest EMUI for it is 8.0.0.200(C567).

Currently I managed to install TWRP and lineage-16.0-20201019-emui8-gapps but I can't seem to be able to get magisk root, just the regular LOS root (flashing addonsu) and encryption disabled.

I managed to get a RAMDISK.img (from UPDATE.APP from internet downloaded SHT-W09+8.0.0.199(C567).zip) patch it with magisk and flash it without errors on any step, it seems like it wasn't patched or flashed or gets overwritten in the first boot after flashing.

Im stuck at this point and do not know where to go from here/what to try.

Thanks
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
I can help a bit for root because i use the Phh superuser and not magisk. Our tablet hasn't a ramdisk so you need to patch not the ramdisk.img but the recovery_ramdisk.img. Then reflash in the recovery partition.

If you want to have magisk you need to boot in recovery mode and not in normal mode. Follow this guide.

Will the lastest magisk version work? i don't know.

Bye
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] xtacb4:
Im amazed that they made magisk work on this device, albeit I find it cumbersome.

I tried researching phh su, as I haven't seen it nor heard it before. I'd like to try it if it is not a hassle in this device like magusk currently is, but could not find the oficial page being active, where I could find a guide to download and install on my M5?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
On the F-droid store you will find Phh Su, It is better magisk if you need advanced Su options and modules. Phh Su gives to you basic Su access.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] xtacb4:
Thanks!

Now I know why I couldn't find it on f-droid, I searched "Phh", not superuser, roflol. Many thanks for taking the time helping :)

Moving on, I just installed it, but all the root requests are made by privaciguard from LOS, not from this app. What could I still be missing?

Also, this app just sent a notification with the message that the su binary was outdated, i tapped on it but nothing really happend, also the log is still empty after a reboot... I'm not sure its working for me at the moment, not sure where to go from here.

I apreciate your help! Thanks!
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
I think that LOS is already pre-rooted, so you don't need that app. It is normal it is an ancient version of Supersu, my Phh comes pre-rooted.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] xtacb4:
Well, the issue I'm trying to solve is that I have is that vanced manager root version is either not asking for root or is not being received, because neither LOS root nor this one is prompting me to allow it or not..

LOS root manager, this privateguard, is 98% useless to me, I though this phh superuser was at least something middleground between privacyguard and magisk, but its not even working...
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
It is strange because LOS is Phh based rom, and this one is pre-rooted so LOS will be too. Do you flash the "S" version?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] xtacb4:
Hi

I flashed lineage-16.0-20201019-emui8-gapps.img and then the addonsu.zip (the official LOS one) in twrp to enable root.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] jgaviota:
How has the experience of using Phh GSI Image been?

It felt to me like using a phone instead of a tablet :(

I mean for example Chrome didn't use the tabbed interface, it uses the phone interface.

Did you find anything like that?

Thanks
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
I've always chose an AOSP experience, Vivaldi for me, i don't use Chrome for ages.

I find 2 big "issues", not fault of the rom, the first is the battery doesn't last long because Phh rom isn't optimized for the Kirin chip and the second is that i cannot set an ultralow level of brightness. The minumum value is too bright for me, i use an app to fix this.

It is a good rom for me;)
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] jgaviota:
Thanks for the response, I'll check it again (y)
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] surdu_petru:
TWRP with MTP & adb working for MediaPad M5 ( EMUI8 & 9.1 )

twrp_schubert.img
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] massima:
Is it based to the 3.7.1 code?? Can it decript datas?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] surdu_petru:
No, it's a older one without decrypt data
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] k3wlar:
Hi, thanks a lot for your work :)

I would like to ask if it is possible to flash lineage 20/21 directly in TWRP?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] surdu_petru:
what lineage 20/21 ? there is no LOS 20/21 available ...
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] k3wlar:
I'm sorry, maybe I missed something in the discussion ... we found the information about the lot 19/20/21 here https://xdaforums.com/t/unofficial-lineage-18-1-gsi.4260419/post-89288970

actually i couldn't even manage 18.1 and above.

I tried your twrp and would like to ask if you will add support for OTG? for some reason it does not want to connect the USB flash drive.

I'm using custom TWRP from the original thread with modifications to backup the split sdcard ext4/exfat (script + apps2sd). I know we modified the fstab. Feel free to offer to the man if you are interested and would like to add this item.

twrp then backs up the system, data, internal storage and /data/media/0, a block on the sdcard with the ext4 volume. Of course recovery works without bootloop

edit: tested in [ROM][8.1][Resurrection Remix OS 6.2.0] Openkirin beta3
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] surdu_petru:
It's not my TWRP, I just fixed MTP/adb because I needed some info from my device with stock EMUI 9.1

And there will be later the standard Lineage OS 20/21 ( not GSI generic image ) for our tablet .
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] k3wlar:
ok thanks for the info :)

And if I may know how long we have to wait? :)
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] surdu_petru:
Idk exactly, but what device do you have ? Schubert or Cameron ? Thanks !
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] k3wlar:
I have: Huawei MediaPad M5 8.4 WIFI (no lte) SHT-W09
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] surdu_petru:
Good, I have SHT-DL09 ... The SHT devices are Schubert and CMR - Cameron

If you want I can send you a kernel update to 4.9.194 for your device but it's EMUI 9.1 based ( mean you can install in your device only if your device running EMUI 9.1 ) . Let me know if you are interested to test, thanks !
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] schwabe93:
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

What's working :

Boots

Wifi

Bluetooth

Camera ( Videos And Photos )

Video Playback

Audio ( Record and Playback )

Sensors

GPS

What's not working :

You tell me :)

Instructions :

Make a Backup of your Internal Storage

Download the latest build and gapps

Flash my TWRP Build

Make a full Wipe if you coming from StockRom, then Format Data (Attention this will wipe your Internal Storage)

Reboot to recovery

Flash my Remove Encryption file: Download if you want to backup your data afterwards when you installed LineageOS

Flash the latest build and gapps

Reboot

Downloads :

Builds : https://www.androidfilehost.com/?w=files&flid=278692

Root addon : https://download.lineageos.org/extras

Google Apps : https://wiki.lineageos.org/gapps.html

Reporting Bugs

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

XDA:DevDB Information

[ROM][UNOFFICIAL][MediapadM5][8.1] LineageOS 15.1, ROM for the Huawei MediaPad M5

Contributors

schwabe93

ROM OS Version: 8.x Oreo

Version Information

Status: Beta

Created 2018-07-08

Last Updated 2018-07-08
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] schwabe93:
Reserved

Telegram Group for MediapadM5:

Join :)
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] schwabe93:
Reserved
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] rcstar6696:
Hey nice to see a another Rom for m5. I'm the carbon Rom developer from open kirin. Do you have your device trees somewhere on github ?
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] mroshaw:
This is great news! I've just received a new M5 8.4 and, while I love the hardware, I really don't like EMUI or the sheer number of pre-installed apps. Gonna hold fire for an official TWRP release though.
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] DF5JT:
How deeply satisfying to finally be rid of the dreadful Huawei interface, its even more dreadful HiSuite nonsense and being able to install AdAway.

Thank you very much!
[Huawei MediaPad M5  ROMs, Kernels, Recoveries, & O] DF5JT:
Unfortunately, Bluetooth doesn't work as planned.

I have a BT receiver to connect my 3,5mm headphone to, but the receiver just doesn't pair with the tablet. Receiver works fine with OnePlus 5 and a Lenovo Tab 4 Plus 8''.

Also, it won't connect to the other tablet.

I have no idea how to debug this, but am willing to help out.