[ROOT]Root Guide for Huawei MediaPad M5 - Huawei MediaPad M5 Guides, News, & Discussion

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:
@Wirmpolter - this root method largely based on his Magisk guide for Mate 9
@topjohnwu for creating the awesome Magisk Manager, which was used to patch ramdisk image with superuser binary
People, who created HuaweiUpdateExtractor
@magnumlove who pointed me in the right for developing root method in this post
This site, for hosting stock firmware for Huawei MediaPad M5
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.

C5Longhorn said:
Yes, they still work. I have the same model and build as you and I'm rooted.
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
I'm considering buying an SHT-W09 with firmware version 8.0.0.200 (C567), but I'd like to know if I can root it first. I do not know if the bootloader has been unlocked. Since you have the same version, can you confirm that it's possible to unlock and root, and if so, sketch out how it's done? I'm confused about whether it's possible with this firmware.

samiller said:
I'm considering buying an SHT-W09 with firmware version 8.0.0.200 (C567), but I'd like to know if I can root it first. I do not know if the bootloader has been unlocked. Since you have the same version, can you confirm that it's possible to unlock and root, and if so, sketch out how it's done? I'm confused about whether it's possible with this firmware.
Click to expand...
Click to collapse
Unlocking is possible *only* if you've gotten already your unlock code. As this service was suspended about 2 years ago there is no easy way to get it unlocked.

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!bW2OmXgTjnyVN4pqb9fA7OzAJ4bzil7YZxNW14qoCmk

I can confirm that this works on the 10.8" wifi model using the devices relevant ramdisk.img.

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...

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.

@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 ...

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.

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

@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?

OHP said:
Question is, for those of us with the Non Pro version, can this still be done.
Click to expand...
Click to collapse
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.

magnumlove said:
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.
Click to expand...
Click to collapse
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 :fingers-crossed:

OHP said:
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 :fingers-crossed:
Click to expand...
Click to collapse
I have exactly the same tablet/firmware as you and it was fine. The additional letter also threw me a little. But if you are unsure, download Huawei Firmware Finder from Google play and it will automatically detect your tablets firmware (which you can download if you wish).

magnumlove said:
I have exactly the same tablet/firmware as you and it was fine. The additional letter also threw me a little. But if you are unsure, download Huawei Firmware Finder from Google play and it will automatically detect your tablets firmware (which you can download if you wish).
Click to expand...
Click to collapse
I took the plunge, and I am sucessfully rooted now :silly:

struggling with this part
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
I have a CMR-W09 :s i can got the files downloaded and the huwai software not sure how i make a img

The good news is I followed these instructions yesterday and they worked perfectly (SHT-AL09).
The bad news is, I seem to have lost root overnight.
---------- Post added at 06:41 AM ---------- Previous post was at 06:22 AM ----------
And I figured out why I lost root; I was playing around with Developer options and switched the default GPU renderer from 'default' to 'Skia.' Apparently, this disables root access until you switch back. I regained root access on a reboot, lost it again after switching back to Skia, and then regained it after switching back to default.

I got the right image file from the site and huwai extract. I have googled how to use this app but what files do I extract as there appears to be. Alot ? I extracted all of them ? I don't have a ramdisk.img
Also thanks for writting this up. Without it I would be lost

Thanks for the efforts making this thread. Unfortunately my device is SHT-W09 and I'm still waiting for the right firmware. Is there anything I can help, considering I have the device?

@dkk6 I am in the same boat as you. Unfortunately I installed the update to 8.0.0 123 without having the Firmware Finder installed on the device. Do you have installed already the update to 8.0.0 123?
If not, you could install Firmware Finder and provide us with the ota url ...

This works perfectly no issues. i had some how maanged to download the wrong rom first. AND thankfully it did not have a ramdisk in. it is important that your firmware matches the firmware present on the site as explained. This was easy guide to follow now to flash it with somthing other then andriod

AndDiSa said:
@dkk6 I am in the same boat as you. Unfortunately I installed the update to 8.0.0 123 without having the Firmware Finder installed on the device. Do you have installed already the update to 8.0.0 123?
If not, you could install Firmware Finder and provide us with the ota url ...
Click to expand...
Click to collapse
I'm on 8.0.0.101

Related

Official OTA Update Links and OTA updating modified systems

Don't forget to thank me and Radii it means a lot to us!
Click to expand...
Click to collapse
Upon discovering the reason people being given an error trying to flash OTAs in my TWRP recovery image I decided I would come up with a work around while I work out a way to fix it.
The following solution is group work between me and Radii.
If you came here just for OTA links then click HERE
Click below spoiler if you haven't installed TWRP on your device and you want to OTA update and then install TWRP.
First you need to download the version you would like, in theory you could backdate although this hasn't been tested and it may misbehave. For example the latest version as of 16/10/2015, build number cm-12.1-YOG4PAS38J.
On the spread sheet you will need two files, the fastboot and the signed. In the fastboot ZIP there is a file called recovery.img. Copy this to your android SDK platform tools folder. Now with the signed ZIP you either copy that to the same folder (platform-tools). Put your phone into fastboot mode and type.
Code:
fastboot -i 0x2b4c boot recovery.img
Or the name of the recovery if you renamed it.
Your phone will boot into Cyanogen OS Recovery. From there click Apply Update (Top option) and click ADB Sideload. Then type,
Code:
adb sideload cm-12.1-YOG4PAS38J-ham-signed.zip
Or whatever you renamed it to.
Reboot and you're done! Now you'll need to install TWRP to flash things like SuperSU and Xposed.
To install TWRP you need to download the latest TWRP image from HERE move that to platform-tools and type (with your phone in fastboot mode/bootloader mode of course)
Code:
fastboot -i 0x2b4c flash recovery "recovery.img"
Changing the name in the quotations to the name of the recovery and removing the quotes.
Click below spoiler if you have installed TWRP on your device and you want to OTA update and restore/preserve TWRP
Do the same as above, I have discovered it's impossible to preserve because Cyanogen will auto-write it's own recovery to the recovery parition.
Nerdy stuff
If you're wondering why you can't OTA without going through all this then it's because Cyanogen OS will do checks to see if the System has been r/w mounted. If so then it will stop all OTAs from installing. Simple when you think about it.
FAQ
Q: Why isn't TWRP still installed after installing the OTA? A: Because Cyanogen OS will write over the recovery partition with Cyanogen Recovery
Q: Will I lose all my data? A: Don't wipe and no, you can dirty flash to preserve data.
Thanks for your work, really appreciated.
However, it sucks a bit that we have tons of work just for the OTA updates if we want root, i guess we should annoy Cyanogen to add a Superuser option to CyanogenOS...
othe01 said:
Thanks for your work, really appreciated.
However, it sucks a bit that we have tons of work just for the OTA updates if we want root, i guess we should annoy Cyanogen to add a Superuser option to CyanogenOS...
Click to expand...
Click to collapse
It's designed to be shipped with devices like Samsung or LG's ROMs they'll never add that option.
Sent from my Z1 using Tapatalk
Breadcrust said:
It's designed to be shipped with devices like Samsung or LG's ROMs they'll never add that option.
Sent from my Z1 using Tapatalk
Click to expand...
Click to collapse
Why not? root is a normal option in CyanogenMod, why wouldn´t the "commercial" edition not support it? I see no reason they can´t add it to PrivacyGuard.
Here one of the forum admins said hes telling the team to add it -> http://community.cyngn.com/t/reques...-thethering-and-inbuilt-superuser-access/97/2
Breadcrust,
did you try this method used for oneplus one phones with CyanogenOS?
https://forums.oneplus.net/threads/flashable-zip-cm12-enable-integrated-superuser.297089/
https://github.com/julian-klode/bacon-superuser/
From what i´ve read OTA updates are working with it and all we need to do is update the recovery after installing a new ota, the script on github creates the patched boot files automatically, we just have to change the config to use the ZUK files.
All theory tho...as i don´t have my phone yet.
othe01 said:
Breadcrust,
did you try this method used for oneplus one phones with CyanogenOS?
https://forums.oneplus.net/threads/flashable-zip-cm12-enable-integrated-superuser.297089/
https://github.com/julian-klode/bacon-superuser/
From what i´ve read OTA updates are working with it and all we need to do is update the recovery after installing a new ota, the script on github creates the patched boot files automatically, we just have to change the config to use the ZUK files.
All theory tho...as i don´t have my phone yet.
Click to expand...
Click to collapse
I'll look into it at sunrise it currently 3:23AM here so can't do it now
P.s thanks for waking me :3
Sent from my Z1 using Tapatalk
@othe01
No COS device allows you to flash incremental OTA if your /system partition is modified. Your quoted package puts compatible su binary in /system & flashes boot-debuggable kernel so that root can be achieved from both app & ADB. It has nothing to do with OTA. Your only choice is to get the signed zip & flash it manually.
@Breadcrust
It would be nice to put incremental OTA zip links too. My posts regarding OTA links also contain them.
:highfive:
Titokhan said:
@othe01
No COS device allows you to flash incremental OTA if your /system partition is modified. Your quoted package puts compatible su binary in /system & flashes boot-debuggable kernel so that root can be achieved from both app & ADB. It has nothing to do with OTA. Your only choice is to get the signed zip & flash it manually.
@Breadcrust
It would be nice to put incremental OTA zip links too. My posts regarding OTA links also contain them.
:highfive:
Click to expand...
Click to collapse
sounded different here: [FLASHABLE ZIP] [CM12] Enable integrated superuser
But is prolly just a misunderstanding from my side.
How exactly does CyanogenOS check if System is modified and can´t we patch the check with an xposed module?
@othe01
He must used the signed zip to update. Regarding OTA faliure, I've discussed the issue here: http://forums.yuplaygod.com/index.php?threads/15124/
You need to registered in the forum to read, so I've uploaded a PDF of the same: https://drive.google.com/file/d/0B9zZIJPXbMsubkFBYmZ4eGtMQjQ/view?usp=sharing
I personally own OnePlus One & YU Yureka so already have a good experience with these things.
The whole procedure is clearly explained - no 'Xposed' module can bypass it. You can, in theory, deploy a file based OTA (I've already requested it through YU developers) instead of block based OTA or patch the update-binary to return always true (unmodified) value while checking the state of partitions.
:good:
@Titokhan I will post them later
Sent from my Z1 using Tapatalk
@Breadcrust can you please help me if you can, I have problem flashing any ota (increments or full), it return error " this package is for device:Z1 this device is k9", all ota was installed directly till unlocked bootloader and root .
aaswar said:
@Breadcrust can you please help me if you can, I have problem flashing any ota (increments or full), it return error " this package is for device:Z1 this device is k9", all ota was installed directly till unlocked bootloader and root .
Click to expand...
Click to collapse
Issue is noted method is in post
Sent from my Z1 using Tapatalk
@Breadcrust
cm-12.1-20150805-EXPERIMENTAL-YOG4PAP1CG-ham: http://forum.xda-developers.com/showpost.php?p=63390843&postcount=223
@Breadcrust
for clarification:
-isn't "cm-12.1-YOG4PAS38J-ham-signed-fastboot.zip" is the same as "cm-12.1-YOG4PAS38J-ham-signed.zip", but with the recovery image include, can sideload this file using the same process you mentioned?
-if the phone is rooted, boot with the COS recovery and sideload the "cm-12.1-YOG4PAS38J-ham-signed.zip" will not work as the system partition is already been modified by the root process, am I right?
aaswar said:
@Breadcrust
for clarification:
-isn't "cm-12.1-YOG4PAS38J-ham-signed-fastboot.zip" is the same as "cm-12.1-YOG4PAS38J-ham-signed.zip", but with the recovery image include, can sideload this file using the same process you mentioned?
-if the phone is rooted, boot with the COS recovery and sideload the "cm-12.1-YOG4PAS38J-ham-signed.zip" will not work as the system partition is already been modified by the root process, am I right?
Click to expand...
Click to collapse
re: above
if using cos recovery and sideload via abd or from file the full signed version , and your have root, it will work, root will be lost though.
fastboot zip has recovery signed doesn't. you need to flash recovery extracted from the fastboot zip and then flash the signed full zip using cos either using abd or sideload file onto system
I flash the rom, but when I insert CDMA SIM into slot one, there is no signal
and there is no option to choose band from the menu.
would you please instruct on how to get CMDA works?
@taitai
As you can see here, it is not an CDMA device.
As regards technical faults as well we're unable to help in most cases as ROMs are from Cyanogen and unedited.
Sent from my Z1 using Tapatalk
I have a chinese version of Z1 and it has CDMA capability
None of them do. They're the exactly the same under the hood.
Sent from my Z1 using Tapatalk

Honor 8 flash appliaction throught fastboot

Greetings
Does any1 know is there a (windows) app to works with phone bootloader to flash images for Honor like DC unlocker.
Looking forward for it.
StratOS_HTC said:
Greetings Does any1 know is there a (windows) app to works with phone bootloader to flash images for Honor like DC unlocker.
Looking forward for it.
Click to expand...
Click to collapse
Have you looked at SRK Tool? Could possibly help. Looks like they made some provisions for using it with the Honor 8 in the changelog.
https://forum.xda-developers.com/showthread.php?p=66627614
And according to this it works with the bootloader for Huawei devices.
Obviously when messing with system partitions be careful too. It's possible to brick the device. You already unlocked your bootloader I imagine. Are you trying to flash a different version or something?
EDIT: I keep seeing these instances for Huawei too where you can flash a system image simply by making a folder called "dload" in the root of your internal storage and just placing your system image(or UPDATE.APP file) in there and just rebooting your device into recovery mode to automatically install the image. Might be easier if you have such a file.
Thank you for support.Have used a lot of flashing and found out that the flashing sequence is important.Some flashes can only be done with use of recovery.
The sequence is problem.
Made some success with init.d support on boot.img and some initrd changes allready.
Have made own autoroot package with init.d for CF superuser and it's working.
Trying to make script with adb and fastboot now or TWRP update zip recovery script for it.
(Dev block raw copy)
Looking for program support to check out for sequence and online status of flashing of original Huawei .app.

Want to root but new here

Hello, I buyed my Mate 9 after having a really Bad experience with the Essential Phone. I have no regrets getting this phone but I want root on it.
I have read some threads but all I can find is Oreo related ones.
I would love to have root on my phone, if anyone can point me in the right direction it would be awesome.
I have the MHA-L29 on Android 7.0
BUILD: MHA-L29C567B190
Thanks bros
https://forum.xda-developers.com/mate-9/how-to/hacking-customizing-managing-huawei-t3589996 it s a good start!!
gioarvdv said:
https://forum.xda-developers.com/mate-9/how-to/hacking-customizing-managing-huawei-t3589996 it s a good start!!
Click to expand...
Click to collapse
Thanks mate! I have read everything on that thread! Very helpful guide.
So if I just want root on my phone ( No custom roms or anything) the steps I need is
1. Unlock Bootloader
2. Flash twrp using ADB
3. Flash SuperSu.zip
That's it? I have seen on another thread that I need some Data.zip and other things before flashing it but since the thread you pointed doesn't mention it I belive is not necessary am I correct?
Sorry for the questions mate, I am super new to this phone, I don't want to mess up.
atrix_noob said:
Thanks mate! I have read everything on that thread! Very helpful guide.
So if I just want root on my phone ( No custom roms or anything) the steps I need is
1. Unlock Bootloader
2. Flash twrp using ADB
3. Flash SuperSu.zip
That's it? I have seen on another thread that I need some Data.zip and other things before flashing it but since the thread you pointed doesn't mention it I belive is not necessary am I correct?
Sorry for the questions mate, I am super new to this phone, I don't want to mess up.
Click to expand...
Click to collapse
That thread is a little outdated.
Unlock dev options in settings.
Open dev options and enable OEM unlock. (FRP Unlock in fastboot)
Unlock bootloader
Flash either Magisk v15.2 (get from official Magisk thread https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589) or SuperSU 2.82 SR5 (https://mega.nz/#!ZTBQXZra!JHUocH9oMEApULxfLYm9VO5UPhjHNMGLymkXDY_ihhI)
If you want to decrypt (Format data in twrp) you have to flash official SuperSU 2.82 SR5 or Magisk v14. Its not available in later Magisk builds as it breaks support for other devices.
You can edit boot image manually and remove fileencryptioninline.
And TWRP: https://mega.nz/#!9aoASShT!KJkpC_Ll8HZowWF1_fU0olWiHHaeSZuYE3xc3au8EIg (it's a special version I made that enables flashing from /cache and Copy Log button copies to external SD instead of internal. Just make sure you flash this or the twrp from the twrp thread in development)
atrix_noob said:
That's it? I have seen on another thread that I need some Data.zip and other things before flashing it but since the thread you pointed doesn't mention it I belive is not necessary am I correct?
Click to expand...
Click to collapse
Hw data zip and public data is only needed when you decrypt. That's because Huawei thought it was a good idea to place theme, wallpaper and update support in /data.
When you decrypt you must format the /data partition, which erases all user data including the hw_init folder. And when that folder is removed you can't set themes or wallpapers and the System Update app disappears. To get them back you need to flash those 2 zips.
The benefit of decrypting is that you can back up the data partition in TWRP. If you use Titanium backup or some other app its not necessary to decrypt.
What do you root for, I've always rooted my phones.
I don't need to with the mate 9,
Dns66 for ad blocker
YouTube ad away on XDA works a treat
ante0 said:
That thread is a little outdated.
Unlock bootloader
Flash either Magisk v15.2 (get from official Magisk thread https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589) or SuperSU 2.82 SR5 (https://mega.nz/#!ZTBQXZra!JHUocH9oMEApULxfLYm9VO5UPhjHNMGLymkXDY_ihhI)
If you want to decrypt (Format data in twrp) you have to flash official SuperSU 2.82 SR5 or Magisk v14. Its not available in later Magisk builds as it breaks support for other devices.
You can edit boot image manually and remove fileencryptioninline.
And TWRP: https://mega.nz/#!9aoASShT!KJkpC_Ll8HZowWF1_fU0olWiHHaeSZuYE3xc3au8EIg (it's a special version I made that enables flashing from /cache and Copy Log button copies to external SD instead of internal. Just make sure you flash this or the twrp from the twrp thread in development)
Click to expand...
Click to collapse
Wow thanks man!
Let me check if I got this right.
I am going to flash Magisk 15.2 ( Downloaded it right now ).
1. I unlock my bootloader from Huawei official page.
2. I Flash twrp-3.0.2-2-hi3660.img using ADB commands.
3. Now that I have TRWP I go and flash Magisk 15.2
Is that right? And that's it? Do I need to decrypt data or is that only needed when I want a factory reset?
Another question is, after I flash Magisk 15.2 ant it's uo and running can I revert back to stock recovery and still have root available?
ante0 said:
That thread is a little outdated.
Unlock dev options in settings.
Open dev options and enable OEM unlock. (FRP Unlock in fastboot)
Unlock bootloader
Flash either Magisk v15.2 (get from official Magisk thread https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589) or SuperSU 2.82 SR5 (https://mega.nz/#!ZTBQXZra!JHUocH9oMEApULxfLYm9VO5UPhjHNMGLymkXDY_ihhI)
If you want to decrypt (Format data in twrp) you have to flash official SuperSU 2.82 SR5 or Magisk v14. Its not available in later Magisk builds as it breaks support for other devices.
You can edit boot image manually and remove fileencryptioninline.
And TWRP: https://mega.nz/#!9aoASShT!KJkpC_Ll8HZowWF1_fU0olWiHHaeSZuYE3xc3au8EIg (it's a special version I made that enables flashing from /cache and Copy Log button copies to external SD instead of internal. Just make sure you flash this or the twrp from the twrp thread in development)
Hw data zip and public data is only needed when you decrypt. That's because Huawei thought it was a good idea to place theme, wallpaper and update support in /data.
When you decrypt you must format the /data partition, which erases all user data including the hw_init folder. And when that folder is removed you can't set themes or wallpapers and the System Update app disappears. To get them back you need to flash those 2 zips.
The benefit of decrypting is that you can back up the data partition in TWRP. If you use Titanium backup or some other app its not necessary to decrypt.
Click to expand...
Click to collapse
Ok thanks for the heads up there, so if I only want root on my phone I dont need to decrypt my data partition and go ahead and flash the supersu.zip or magisk.zip and all done right?
sutty86 said:
What do you root for, I've always rooted my phones.
I don't need to with the mate 9,
Dns66 for ad blocker
YouTube ad away on XDA works a treat
Click to expand...
Click to collapse
I want to root my phone to he able to use the LTE Discovery app since it has always helped me in my area and I want Wifi Tether app ( needs a rooted phone) since I use my hotspot for my computer.
atrix_noob said:
Wow thanks man!
Let me check if I got this right.
I am going to flash Magisk 15.2 ( Downloaded it right now ).
1. I unlock my bootloader from Huawei official page.
2. I Flash twrp-3.0.2-2-hi3660.img using ADB commands.
3. Now that I have TRWP I go and flash Magisk 15.2
Is that right? And that's it? Do I need to decrypt data or is that only needed when I want a factory reset?
Another question is, after I flash Magisk 15.2 ant it's uo and running can I revert back to stock recovery and still have root available?
Click to expand...
Click to collapse
1. Go to settings - about and tap Build number a few times to unlock Developer options. Go back one step and tap Developer options. Enable OEM Unlock.
2. Request bootloader unlock code (login with your Huawei id)
If you don't have a Huawei id, add it as an account in your phone.
You might have to wait for 14 days after it's added to your phone before you can get code. I could probably unlock it for you if you want to send me your imei, imei2 (if available) and meid (imei, imei2 and meid is available in Settings - About), product id and serial number which can be acquired by typing/pasting *#*#1357946#*#* into dialer. Or there are paid services that does it too.
(send in pm if you need to send)
3. Flash twrp 3.1.1 from either https://forum.xda-developers.com/mate-9/development/recovery-unofficial-twrp-huawei-mate-9-t3515617 or https://mega.nz/#!9aoASShT!KJkpC_Ll8HZowWF1_fU0olWiHHaeSZuYE3xc3au8EIg
4. Flash magisk.
Decrypt is just if you want to backup /data in twrp, no other reason.
And yes, you can flash back stock recovery.
Download your stock firmware from http://pro-teammt.ru/firmware-database/ (search for MHA-L29C567B190)
If you just need to extract recovery or boot select a OTA-MF as they're smaller in size (500mb compared to 2gb+ for full firmware).
Download Huawei Update Extractor and extract.
Extract update.app from the firmware zip.
Open Huawei Update Extractor. Click on the '...' button and open the firmware update.app.
Right click on Recovery and click on extract selected.
Now put phone in fastboot and flash recovery.img (fastboot flash recovery recovery.img).
Now you have stock recovery.
ante0 said:
1. Go to settings - about and tap Build number a few times to unlock Developer options. Go back one step and tap Developer options. Enable OEM Unlock.
2. Request bootloader unlock code (login with your Huawei id)
If you don't have a Huawei id, add it as an account in your phone.
You might have to wait for 14 days after it's added to your phone before you can get code. I could probably unlock it for you if you want to send me your imei, imei2 (if available) and meid (imei, imei2 and meid is available in Settings - About), product id and serial number which can be acquired by typing/pasting *#*#1357946#*#* into dialer. Or there are paid services that does it too.
3. Flash twrp 3.1.1 from either https://forum.xda-developers.com/mate-9/development/recovery-unofficial-twrp-huawei-mate-9-t3515617 or https://mega.nz/#!9aoASShT!KJkpC_Ll8HZowWF1_fU0olWiHHaeSZuYE3xc3au8EIg
4. Flash magisk.
Decrypt us just if you want to backup /data in twrp, no other reason.
And yes, you can flash back stock recovery.
Download your stock firmware from http://pro-teammt.ru/firmware-database/
If you just need to extract recovery or boot select a OTA-MF as they're smaller in size (500mb compared to 2gb+ for full firmware).
Download Huawei Update Extractor and extract.
Extract update.app from the firmware zip.
Open Huawei Update Extractor. Click on the '...' button and open the firmware update.app.
Right click on Recovery and click on extract selected.
Now put phone in fastboot and flash recovery.img (fastboot flash recovery recovery.img).
Now you have stock recovery.
Click to expand...
Click to collapse
Awesome!!! All questions have been answered!
And yes, I if you can I could give you the info via PM to get the code so I can unlock Bootloader. When I get home I'll download everything mentioned! I'll message you the info.
atrix_noob said:
Awesome!!! All questions have been answered!
And yes, I if you can I could give you the info via PM to get the code so I can unlock Bootloader. When I get home I'll download everything mentioned! I'll message you the info.
Click to expand...
Click to collapse
Try unlocking with the emui page first. I'm going to bed now so I won't reply in 6 hours anyway
ante0 said:
Try unlocking with the emui page first. I'm going to bed now so I won't reply in 6 hours anyway
Click to expand...
Click to collapse
Kk will do, thanks for your help
Thanks guys! Rooted perfectly and using my Rooted apps on the Mate 9!

Complete Guide to Root/Unroot Huawei Mediapad M5 Lite ( All Editions ).

Rooting Huawei Mediapad M5 Lite ( All Editions ).
Requirements:
1. Unlocked Huawei Mediapad M5 lite ( All Editions ).
2. Minimal ADB Tools.
3. Magisk Manager latest from magisk manager website.
4. Huawei Firmware Finder ( Download from Playstore ).
4. Original Firmware Update.zip of current device you are running (Check in your device from Huawei Firmware Finder app).
5. Zarchiver ( Download from Playstore ).
6. Ramdisk.img file ( Extracted from Update.zip ).
Procedure:
1. Download Zarchiver app in playstore and download the current stock rom update.zip ( check your version in update settings) and open the update.zip file in Zarchiver app in your tab and extract the RAMDISK.img to any folder in your tablet.
2. Open Magisk Manager app in you tab and click on 1st "install" option then "select and patch a file" then browse your RAMDISK.img you copied to your internal memory. It will patch the RAMDISK.img and store it in downloads folder in your tab.
3. Download the minimal ADB tools from any website and install them your pc.
4. Copy the patched-ramdisk.img file to adb folder in PC and open the command prompt from the adb folder .
2. Enable USB debugging setting in the tablet and connect the tablet to the pc. After connecting open command prompt in the adb folder you have installed and type
Code:
adb devices
. You must see a device in the output. ( If not properly enable your usb debugging settings).
3. After that type
Code:
adb reboot bootloader
. Your device will boot into the fastboot mode and you will see BOOTLOADER UNLOCKED on the tab screen.
4. Now type
Code:
fastboot flash ramdisk patched-ramdisk.img
( patched-ramdisk file name may differ).
5. Your device is Successfully Rooted.
You need unlocked bootloader for this
Yes
lapora said:
You need unlocked bootloader for this
Click to expand...
Click to collapse
I have provided complete guide to unlock bootloader
i sold it and bought a samsung galaxy tab s5e no more huawei **** i spend hours to make the twrp and magisk to work with out errors but at least i didn't pay a third party unlock service because huawei decided to lock everything.
lapora said:
i sold it and bought a samsung galaxy tab s5e no more huawei **** i spend hours to make the twrp and magisk to work with out errors but at least i didn't pay a third party unlock service because huawei decided to lock everything.
Click to expand...
Click to collapse
You tried to make twrp? Magisk works man.
hi , i can't find IMG file into update.zip ? why
ouawai said:
hi , i can't find IMG file into update.zip ? why
Click to expand...
Click to collapse
It´s inside the file "update.app". You need a special tool to extract.
Please take a look to this thread:
https://forum.xda-developers.com/mediapad-m5/how-to/root-root-guide-huawei-mediapad-m5-t3786157
From the M5 guide:
"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"
I might be dumb AF but these guides are incomplete :/
Can anybody please share the Profiles.xml containing the images for the M5 Lite?
So far I used the Firmware Finder for downloading the latest rom which contains the UPDATE.APP and also downloaded the HuaweiUpdateExtractor but without the right profile it won't open file.
EDIT: currently following the main guide about extracting the ramdisk image: https://www.theandroidsoul.com/extract-huawei-firmware-update-app/
EDIT-2: guide (the one of my link above, not the guide of this thread) followed and finally rooted! Man, what a journey.
https://topjohnwu.github.io/Magisk/install.html
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
drumiec said:
10. Copy RAMDISK.img file to tablet at any place.
Click to expand...
Click to collapse
use
Code:
adb pull
and
Code:
adb push
to achieve the transfers as people noticed that using MTP can corrupt the file:
Code:
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.
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!
sadiqkarur said:
Rooting Huawei Mediapad M5 Lite ( All Editions ).
Requirements:
1. Unlocked Huawei Mediapad M5 lite ( All Editions ).
2. Minimal ADB Tools.
3. Magisk Manager latest from magisk manager website.
4. Huawei Firmware Finder ( Download from Playstore ).
4. Original Firmware Update.zip of current device you are running (Check in your device from Huawei Firmware Finder app).
5. Zarchiver ( Download from Playstore ).
6. Ramdisk.img file ( Extracted from Update.zip ).
Procedure:
1. Download Zarchiver app in playstore and download the current stock rom update.zip ( check your version in update settings) and open the update.zip file in Zarchiver app in your tab and extract the RAMDISK.img to any folder in your tablet.
2. Open Magisk Manager app in you tab and click on 1st "install" option then "select and patch a file" then browse your RAMDISK.img you copied to your internal memory. It will patch the RAMDISK.img and store it in downloads folder in your tab.
3. Download the minimal ADB tools from any website and install them your pc.
4. Copy the patched-ramdisk.img file to adb folder in PC and open the command prompt from the adb folder .
2. Enable USB debugging setting in the tablet and connect the tablet to the pc. After connecting open command prompt in the adb folder you have installed and type
Code:
adb devices
. You must see a device in the output. ( If not properly enable your usb debugging settings).
3. After that type
Code:
adb reboot bootloader
. Your device will boot into the fastboot mode and you will see BOOTLOADER UNLOCKED on the tab screen.
4. Now type
Code:
fastboot flash ramdisk patched-ramdisk.img
( patched-ramdisk file name may differ).
5. Your device is Successfully Rooted.
Click to expand...
Click to collapse
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.
Thanks for the guide. Should I unroot device if I get a new official update?
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://forum.xda-developers.com/p8...-root-add-multi-user-support-disable-t3602872
drumiec said:
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
Click to expand...
Click to collapse
tbozo said:
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://forum.xda-developers.com/p8...-root-add-multi-user-support-disable-t3602872
Click to expand...
Click to collapse
So with this file, the process from the OP is shortened to:
1. Type
Code:
adb reboot bootloader
. Your device will boot into the fastboot mode and you will see BOOTLOADER UNLOCKED on the tab screen.
2. Now type
Code:
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...)
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
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:
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!
Balamku said:
Your Build number translates to the same firmware as mine: BAH2-L09OCEC432B278
This is a great explanation:
Download the file from MT Team and extract is with 7Zip:
Hope this helps.
PS: Could you let me know if you are able to flash your phone since it is the same build?
THX!
Click to expand...
Click to collapse
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 ----------
Balamku said:
Your Build number translates to the same firmware as mine: BAH2-L09OCEC432B278
This is a great explanation:
Download the file from MT Team and extract is with 7Zip
Hope this helps.
PS: Could you let me know if you are able to flash your phone since it is the same build?
THX!
Click to expand...
Click to collapse
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?
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...

Oukitel WP5

This is a great rugged phone, perfect for the outdoors (I'm a keen mountaineer). I couldn't see a thread so I thought I would start one! A couple of posts re. rooting to follow....
Hey @dwastell, I know this thread is a couple months old, so I wanted to see if you have any root instructions?
Do you think the process for rooting the OUKITEL K13 here on the forum will work on the WP5?
Rooted!
Hi all,
I rooted my WP5. Sorry for not having time to write a full tutorial, only a concise story. Of course this is ONLY for experienced users...
My phone is 4GB version Android 10, build 10.0_V02_20200508.
1) download the firmware from oukitel website: https://oukitel.com/pages/download-center (1)
2) download and install SP Flash Tools https://spflashtool.com/download/
3) download and install Android Platform Tools https://developer.android.com/studio/releases/platform-tools
4) connect the phone to PC and verify that adb is working
5) WARNING: make a backup af your data!
6) unlock the bootloader:
- in Developer options enable the unlock
- adb reboot bootloader
- fastboot flashing unlock
- fastboot reboot
Now the phone restarts and is completely virgin!
7) shutdown the phone.
8) using SP Flash Tools readback the following partitions:
- boot
- recovery (2)
- vbmeta
9) download the attached patched_vbmeta.img
10) transfer the boot.img that you just readback to the phone download folder
11) install Magisk Manager (today 7.5.1)
12) Use Magisk Manager to patch the boot.img and copy back to PC
13) flash the images:
- fastboot flash --disable-verification vbmeta patched_vbmeta.img
- fastboot flash boot magisk_patched.img
- fastboot reboot
14) if the phone boots up run Magisk Manager to check if it's installed.
14b) if the phone goes in bootloop... flash back the original images you have read back (do not use the firmware you downloaded from Oukitel, it's necessary only to have the scatter file (the partition table).
Enjoy
Nicola
Notes:
(1) actually there are 2 firmware available and despite having different names are the same. This fw is Android 9.
(2) not used now but may be useful in the future
Rooting the WP5
totallybeachin said:
Hey @dwastell, I know this thread is a couple months old, so I wanted to see if you have any root instructions?
Do you think the process for rooting the OUKITEL K13 here on the forum will work on the WP5?
Click to expand...
Click to collapse
I eventually succeeded in rooting my WP5 with Magisk. For a while, the firmware was not available but once the official ROM was published, I managed to patch boot.img and install via fastboot. My phone is the 4 GB version -copies of the stock and patched boot image are available at: github.com/dwastell/Oukitel_WP5_magisk
I have experienced some complications as detailed in my next post...
Cheers, Dave
Rooting the WP5
Thanks for your post Nicola. You'll see that I did succeed in rooting my phone (Android 9) with Magisk, once I was able to get hold of the stock firmware. All is working though there are a couple of points worth noting.
The phones is SAR ("system-as-root") and the magisk instructions suggest that recovery.img is patched rather than boot.img. I proceeded by patching boot.img, as in your instructions, as this seemed a better solution - and it works fine.
One problem has occurred with updates. Magisk manager appears to assume that the recovery partition is the one that has been patched. When you do the direct install for the update, partition 2 is flashed (recovery) rather than partition 26 (boot). On rebooting the phone inevitably goes into boot loop.
To avoid this, I go for "select and patch a file" option, and then install again via fastboot as per the original installation. A bit of a hassle but better than the alternative!
Does this mean you were able to root the phone but revert to android 9? Both of you mention Android 9 in your posts.
vivekiny2k said:
Does this mean you were able to root the phone but revert to android 9? Both of you mention Android 9 in your posts.
Click to expand...
Click to collapse
No. No need to revert.
I rooted an Android 10. But cited the stock Android 9 only because the scatter file (ie. the partition table) is the same.
@dwastell rooted the Android 9.
Please read better my tutorial, if something is not clear... I'm here!
N
---------- Post added at 20:10 ---------- Previous post was at 19:59 ----------
dwastell said:
The phones is SAR ("system-as-root") and the magisk instructions suggest that recovery.img is patched rather than boot.img. I proceeded by patching boot.img, as in your instructions, as this seemed a better solution - and it works fine.
Click to expand...
Click to collapse
This phone is NOT a SAR. Neither Android 9 nor 10. The proof is that patching the boot.img worked!
One problem has occurred with updates.
Click to expand...
Click to collapse
Have you unrooted before applying the update?
Which kind of update? Not all are the same!
Android version
vivekiny2k said:
Does this mean you were able to root the phone but revert to android 9? Both of you mention Android 9 in your posts.
Click to expand...
Click to collapse
My phone was originally Android 9 so no reversion...
SAR
Both "Treble Check" and "Magisk Manager" confirm that the phone is SAR. I agree this is odd.... your thoughts?
The update I was referring to is the Magisk update, handled by Magisk Manager. Given that the phone is seen as SAR, it attempts to patch recovery.img, with an ensueing boot loop.
No, I don't unroot the phone
nicolap8 said:
No. No need to revert.
I rooted an Android 10. But cited the stock Android 9 only because the scatter file (ie. the partition table) is the same.
@dwastell rooted the Android 9.
Please read better my tutorial, if something is not clear... I'm here!
N
---------- Post added at 20:10 ---------- Previous post was at 19:59 ----------
This phone is NOT a SAR. Neither Android 9 nor 10. The proof is that patching the boot.img worked!
Have you unrooted before applying the update?
Which kind of update? Not all are the same!
Click to expand...
Click to collapse
Thanks Nicola for your tutorial. I'm eager to root my WP5 Pro with Magisk, but first I need a backup of boot vbmeta and recovery. I have made extensive use of SP Flash Tools but never to readback partitions so I'm having some problems here. Could you please detail your technique to extract such files? Thank you
Michele
Build number OUKITEL_WP5Pro_EEA_V01-20200624 CPU MT6762D, 8 cores,64 Gb ROM, 4 Gb RAM.
wallace108 said:
Thanks Nicola for your tutorial. I'm eager to root my WP5 Pro with Magisk, but first I need a backup of boot vbmeta and recovery. I have made extensive use of SP Flash Tools but never to readback partitions so I'm having some problems here. Could you please detail your technique to extract such files? Thank you
Michele
Build number OUKITEL_WP5Pro_EEA_V01-20200624 CPU MT6762D, 8 cores,64 Gb ROM, 4 Gb RAM.
Click to expand...
Click to collapse
Beware: your phone is different! So I don't know:
1) Android version.
2) which kind of booting are using, read here https://topjohnwu.github.io/Magisk/install.html#knowing-your-device
Before writing an image you MUST have a backup of it!
To read back a partition with SP Flash Tools you need to know the start address end the length of the partition. This information is available only (because your phone is not yet rooted) from the scatter file (from the SAME phone).
In the Readback page hit "Add" then input a name for the image file. Follows a new dialog "Readback block start address" where you have to write the values.
After this you can give the Read Back command. If it doesn't start shutdown the phone.
N
Thank you all for
the data to root! I just got a 4/32 android 10 version. Is there a custom recovery yet? Been a looooong time since I have dabbled but want to root it and customise. I have replaced most of google apps or disabled them already but want more room. I have never created a TWRP but have been reading about it and they already have many Oukitel versions, so should I wait? TIA
Thanks, it's clear.
I bought it for my son, don't have plans to root it yet. will probably wait till later.
nicolap8 said:
No. No need to revert.
I rooted an Android 10. But cited the stock Android 9 only because the scatter file (ie. the partition table) is the same.
@dwastell rooted the Android 9.
Please read better my tutorial, if something is not clear... I'm here!
Click to expand...
Click to collapse
No Joy with
Hardware : MT6761V/WE
Model : WP5
Build number : OUKITEL_WP5_NOEEA_V01_20200701
Build date UTC : 20200701-071441
Android v : 10
Baseband v: MOLY.LR12A.R3.MP.V114.9,MOLY.LR12A.R3.MP.V114.9
Kernel v : 4.9.190+ ([email protected]) (Android (5484270 based on r353983c) clang version 9.0.3 (based on LLVM 9.0.3svn)) #2 SMP Wed Jul 1 15:19:21 CST 2020
It seems locked down as I lose adb in fastboot and even patching the boot.img I create fails. MTKdroid tools can't create scatter.
vivekiny2k said:
I bought it for my son, don't have plans to root it yet. will probably wait till later.
Click to expand...
Click to collapse
Remember that you will lose ALL YOUR DATA! Usually it's better to root before start using the phone...
oncouch1 said:
No Joy with
Build number : OUKITEL_WP5_NOEEA_V01_20200701
It seems locked down as I lose adb in fastboot and even patching the boot.img I create fails. MTKdroid tools can't create scatter.
Click to expand...
Click to collapse
You have to describe well what you have done and error messages.
Note also that your firmware is never... maybe there is some difference.
N
As of today the firmware for the WP5 PRO has not been posted yet. I'll wait. Meanwhile I want to ask Nicolap8: what does the vbmeta file do? Why is it important to patch it. Isn't patching the boot enough? Thanks
TWRP for WP5 (Pie, 4GB)
If anyone wants to install TWRP, I've built and tested it for my WP5 (Android 9.0, 4GB). A copy of the image may be found in the MISC folder at: https://github.com/dwastell/TWRP_Oukitel_WP5
Note that the data partitiion is not accessible due to encryption (not a major limitation), and that the null version of vbmeta (thanks Nicola) does need to be flashed. Also, I have had problems flashing some versions of Magisk - please read the README.md.
nicolap8 said:
Remember that you will lose ALL YOUR DATA! Usually it's better to root before start using the phone...
You have to describe well what you have done and error messages.
Note also that your firmware is never... maybe there is some difference.
N
Click to expand...
Click to collapse
Sorry it has been a while I HAD WRONG USB DRIVERS! I got bootloader unlocked and will try again.
---------- Post added at 07:13 PM ---------- Previous post was at 07:09 PM ----------
A WP5 (android 10) .zip file is now on the site. It contains less files though?
For some reason the images taken in windows are corrupt. Magical fails to run on them. The one taken in llinux patches fine. One question though the original image is 32 meg the magical patches is only 10 meg is that correct? Also the vbmeta is 8 meg off the phone but the patches 256 k?
oncouch1 said:
For some reason the images taken in windows are corrupt. Magical fails to run on them. The one taken in llinux patches fine.
Click to expand...
Click to collapse
Strange but... with W all is possible!
One question though the original image is 32 meg the magical patches is only 10 meg is that correct? Also the vbmeta is 8 meg off the phone but the patches 256 k?
Click to expand...
Click to collapse
Both are correct.
The Magisk patched image is not "filled" to the partition size.
The vbmeta also is smaller because it's empty (is present only the "index").
N

Categories

Resources