ROOT/MAGISK Emui 9 - Huawei MediaPad M5 Guides, News, & Discussion

Installing Magisk on Android 9/Emui 9 is straight forward and simple.
This is tested and working on my CMR-W09 9.0.1.160.
Follow @topjohnwu clear guide for EMUI 9 and you can't go wrong - https://topjohnwu.github.io/Magisk/install.html
You can use @Apo11on root guide https://forum.xda-developers.com/mediapad-m5/how-to/root-root-guide-huawei-mediapad-m5-t3786157 to find your tablets firmware, how to extract the img and patching the file via Magisk. Remember for EMUI 9 you need the RECOVERY_RAMDIS.img NOT the RAMDISK.img
If your having trouble finding your devices firmware, download Firmware Finder for Huawei from the Google Play Store and find the firmware relevant to your device. Once downloaded (it'll be 3GB plus), transfer over the file to your pc and then use Huawei update extractor to get RECOVERY_RAMDIS.img
Once the file has been installed via ADB, boot into recovery (not erecovery). The tablet appears to boot into recovery but instead boots straight to the home screen. It still boots if you forget to boot via recovery mode but without root/Magisk.
As stated by topjohn, you lose recovery but the process can be reversed by reflashing the stock RECOVERY_RAMDIS.img
Rather than ask others to share patched img's, it's worth doing it yourself as you can learn how to get yourself out of any potential issues.
It is important you read and understand topjohns guide regarding what file to download and what partition to flash it as it is different than installing Magisk on EMUI 8.
Good luck

We always have to boot into recovery to have root???

viva-yo said:
We always have to boot into recovery to have root???
Click to expand...
Click to collapse
That is the way it reads......Still waiting for 9.0 here in Wisconsin.

Well, the Root is broke

THE MAXIMUM POWER said:
Well, the Root is broke
Click to expand...
Click to collapse
You tried the Magisk 9.0 protocol listed here?

Tool Belt said:
You tried the Magisk 9.0 protocol listed here?
Click to expand...
Click to collapse
Yes, i got magisk successfully installed but the root didnt work

THE MAXIMUM POWER said:
Yes, i got magisk successfully installed but the root didnt work
Click to expand...
Click to collapse
Root works on mine with Magisk 18.1

Si73 said:
Root works on mine with Magisk 18.1
Click to expand...
Click to collapse
Did you use adb command?
Enviado desde mi CMR-W09 mediante Tapatalk

viva-yo said:
Did you use adb command?
Enviado desde mi CMR-W09 mediante Tapatalk
Click to expand...
Click to collapse
Only to install the patched image.

Si73 said:
Only to install the patched image.
Click to expand...
Click to collapse
Do you have to always boot to recovery as stated in the instructions?

I had several instances where I was unable to boot into recovery, always ending up in erecovery, and of course, didn't have root when I rebooted into the system. The only way I found of booting into recovery and not erecovery was precisely with adb (adb reboot recovery). After that, root is working, and rebooting apparently always passes by the recovery, so I always have magisk installed.

jbbandos said:
I had several instances where I was unable to boot into recovery, always ending up in erecovery, and of course, didn't have root when I rebooted into the system. The only way I found of booting into recovery and not erecovery was precisely with adb (adb reboot recovery). After that, root is working, and rebooting apparently always passes by the recovery, so I always have magisk installed.
Click to expand...
Click to collapse
Strange that you have issues booting into recovery without using adb. Once you have root I found it easier to install one of those quick reboot apps that give you the option to boot into recovery if you need to restart it.

I´m trying this command, following the instructions of topjohnwu page:
fastboot flash recovery_ramdisk /path/to/patched_boot.img
But I get this error:
error: cannot load '/path/to/patched_boot.img': No such file or directory
Any help? Thx

viva-yo said:
I´m trying this command, following the instructions of topjohnwu page:
fastboot flash recovery_ramdisk /path/to/patched_boot.img
But I get this error:
error: cannot load '/path/to/patched_boot.img': No such file or directory
Any help? Thx
Click to expand...
Click to collapse
Put the patched file in the same directory as ADB and do not enter "/path/to/"
Or....read the directions as fastboot flash recovery_ramdisk (put your path here) patched_boot.img

Ok, now here is what I did:
- Extracted the RECOVERY_RAMDIS.img of the Update and transfered it to the tablet
- In the M5 , I opened magisk- Install - Install - Patch Boot Image File. Select the RECOVERY_RAMDIS.img. A file patched-boot.img is created. I move it to the adb folder of my computer
I use this command in my computer :
fastboot flash recovery_ramdisk patched_boot.img
Everything seems to go ok, but in the tablet there is no magisk installed and there is no root
Suggestions?
Thx

viva-yo said:
Ok, now here is what I did:
- Extracted the RECOVERY_RAMDIS.img of the Update and transfered it to the tablet
- In the M5 , I opened magisk- Install - Install - Patch Boot Image File. Select the RECOVERY_RAMDIS.img. A file patched-boot.img is created. I move it to the adb folder of my computer
I use this command in my computer :
fastboot flash recovery_ramdisk patched_boot.img
Everything seems to go ok, but in the tablet there is no magisk installed and there is no root
Suggestions?
Thx
Click to expand...
Click to collapse
booting to recovery?

Si73 said:
Strange that you have issues booting into recovery without using adb. Once you have root I found it easier to install one of those quick reboot apps that give you the option to boot into recovery if you need to restart it.
Click to expand...
Click to collapse
After having root, yes. After flashing magisk into the recovery_ramdisk, no, booting with vol-up pressed would always go to erecovery.
---------- Post added at 10:09 AM ---------- Previous post was at 10:08 AM ----------
viva-yo said:
Ok, now here is what I did:
- Extracted the RECOVERY_RAMDIS.img of the Update and transfered it to the tablet
- In the M5 , I opened magisk- Install - Install - Patch Boot Image File. Select the RECOVERY_RAMDIS.img. A file patched-boot.img is created. I move it to the adb folder of my computer
I use this command in my computer :
fastboot flash recovery_ramdisk patched_boot.img
Everything seems to go ok, but in the tablet there is no magisk installed and there is no root
Suggestions?
Thx
Click to expand...
Click to collapse
"adb reboot recovery". I could not boot manually into the recovery and activate magisk until doing that with adb.

Hi. How can I restore my normal recovery? Is it possible? I don't mind if lose root
Enviado desde mi SM-G920F mediante Tapatalk

viva-yo said:
Hi. How can I restore my normal recovery? Is it possible? I don't mind if lose root
Enviado desde mi SM-G920F mediante Tapatalk
Click to expand...
Click to collapse
Read Post #1, paragraph #7.

Tool Belt said:
Read Post #1, paragraph #7.
Click to expand...
Click to collapse
I know, but it's not totally clear for me, sorry
So, what I should do to undo the process is:
1 download the emui 9 firmware
2 extract RECOVERY_RAMDIS.img from update.app
3 flash it using the command
fastboot flash recovery_ramdisk /path/to/RECOVERY_RAMDIS.img
Is this correct?
Enviado desde mi SM-G920F mediante Tapatalk

Related

[GUIDE] Fix device automatically rebooting after few seconds of booting.

If you are having a weird bootloop where the phone just reboots after few seconds of booting like shown here (https://www.youtube.com/watch?v=3YcWsWYQVGQ) then you're in the right place, here's how you can fix the issue.
Before proceeding make sure you know your risks as I am not responsible for bricked devices, dead SD cards, thermonuclear war and anything really.
Steps:
1) Download Mi Flash Tool and install it. (For the drivers, skip it if you have installed the drivers already)
2) Download and Install minimal ADB and Fastboot Tool, persist.img and temporary twrp.img links will be below.
3) Copy the persist.img to your internal storage.
4) Copy the recoveryxx.img to same folder where you've saved the minimal ADB/Fastboot tool.
4) Goto the minimal adb fastboot tool folder where you had put the recoveryxx.img
5) Open cmdhere.exe
6) Put your phone in fastboot mode (Volume - and Power)
7) Type the following commands:
- fastboot devices (you should something like this:
Fastboot dsad5454sfs, If not, re-install the the fastboot drivers correctly. )
- fastboot oem unlock (This is just for unlocking the bootloader you can just skip it if you have unlocked bootloader.)
- fastboot boot recoveryxx.img *(basically the filename of the image file.)
Now you will boot to the temporary twrp and once you're there follow these steps:
8) Open Terminal in TWRP Custom Recovery (go to “Advanced” > “Terminal”).
9) Type the following command:
- dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
10) Go to reboot and select system and that's it!
Voila!
Minimal ADB and Fastboot tool: https://forum.xda-developers.com/sho....php?t=2317790
Mi Flash Tool: http://c.mi.com/thread-235054-1-1.html
TWRP Recovery: https://forum.xda-developers.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472 , download the recovery3/2x.img according the android version your on.
Persist(Using this persist.img file is a must) : https://xiaomifirmware.com/download-link/?dlm-dp-dl=7270
Couldn't flash, Error: This image isn't allowed download.
tajamulbaba said:
Couldn't flash, Error: This image isn't allowed download.
Click to expand...
Click to collapse
Have you unlocked the bootloader? If you have and it's showing that error then download the august fastboot ROM and use that persist.img.
Edwin Hamal said:
Have you unlocked the bootloader? If you have and it's showing that error then download the august fastboot ROM and use that persist.img.
Click to expand...
Click to collapse
Yes I've unlocked bootloader, August ROM is nowhere available.
tajamulbaba said:
Yes I've unlocked bootloader, August ROM is nowhere available.
Click to expand...
Click to collapse
Available here (first result of Google search for "mi a1 firmware").
_mysiak_ said:
Available here (first result of Google search for "mi a1 firmware").
Click to expand...
Click to collapse
Thanks for the link, I downloaded and extracted the persist.img, it still shows the error.
tajamulbaba said:
Thanks for the link, I downloaded and extracted the persist.img, it still shows the error.
Click to expand...
Click to collapse
Try other builds then, that occurs if the size of persist.img is different than what your partition allows. For most the August one should work.
Does this break SafetyNet?
No!
ltf_195 said:
Does this break SafetyNet?
Click to expand...
Click to collapse
Nooo. What even makes you think it does?
Could you update the persist file? mine stuck on oreo..
So basically is it working on any nougat build?
awandroid89 said:
Could you update the persist file? mine stuck on oreo..
So basically is it working on any nougat build?
Click to expand...
Click to collapse
I've updated the guide the new one works no matter what.
Edwin Hamal said:
I've updated the guide the new one works no matter what.
Click to expand...
Click to collapse
Hi..successful to flash the file on august firmware but problem still happen. Do you know why?
TWRP
tajamulbaba said:
Couldn't flash, Error: This image isn't allowed download.
Click to expand...
Click to collapse
Use the twrp method as in this thread:
https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-restrore-persist-partition-t3765643
Had the same problem, used twrp
CoolPlushBear said:
Use the twrp method as in this thread:
https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-restrore-persist-partition-t3765643
Had the same problem, used twrp
Click to expand...
Click to collapse
I've updated my method too.
could you explain why does this happens?
Help me.
IMEI= 0
How to fix it?
Step 7.1 adb devices
Step 7.2 adb push persist.img /sdcard
Worked in my case.
Thanks
---------- Post added at 03:12 AM ---------- Previous post was at 03:10 AM ----------
Now i need to fix my IMEI
...
this can not find file on twrp terminal how i can flash it
Can I re-lock bootloader?
Hi,
Flashing the persist.img seems to have resolved the issue for me also, once I have completed the steps in the guide can I re-lock the bootloader?
I assume as we didn't flash TWRP and only booted into it temporarily should be fine?
Thanks

Root mate 9 oreo with magisk

Hello guys I just want an explanation on how to root mate 9 c185 (370) oreo from scratch explain it to a noob cause I just soft broke my phone trying to do it thank you
From 0 step please
Please anyone
Iloudsan said:
Please anyone
Click to expand...
Click to collapse
1. Unlock bootloader
2. Download magisk manager and install it
3. Extract ramdisk.img from fw
4. Run magisk manager and choose the ramdisk.img u copied on ur phone internal memory and create the patched_boot.img
5. Flash the patched_boot.img through fasboot flash ramdisk patched_boot.img
Done
Addymore said:
1. Unlock bootloader
2. Download magisk manager and install it
3. Extract ramdisk.img from fw
4. Run magisk manager and choose the ramdisk.img u copied on ur phone internal memory and create the patched_boot.img
5. Flash the patched_boot.img through fasboot flash ramdisk patched_boot.img
Done
Click to expand...
Click to collapse
Sorry if I sound noob but from where to extract the ram disk exactly do I extract it from the main update.zip?
Iloudsan said:
Sorry if I sound noob but from where to extract the ram disk exactly do I extract it from the main update.zip?
Click to expand...
Click to collapse
Yep.... Using Update Extractor Tool.... Remember to uncheck "Verify header checksum" in settings for oreo fw.... Otherwise it fails to extract
Addymore said:
Yep.... Using Update Extractor Tool.... Remember to uncheck "Verify header checksum" in settings for oreo fw.... Otherwise it fails to extract
Click to expand...
Click to collapse
and is there any way to Disable Encryption ? in oreo i only know how to do it in android 7
Addymore said:
Yep.... Using Update Extractor Tool.... Remember to uncheck "Verify header checksum" in settings for oreo fw.... Otherwise it fails to extract
Click to expand...
Click to collapse
rooted successfully but would love to have it encrypted cause i dont have SD card as i use 2 sim cards so i cant flash anything in twrp
Iloudsan said:
rooted successfully but would love to have it encrypted cause i dont have SD card as i use 2 sim cards so i cant flash anything in twrp
Click to expand...
Click to collapse
Actually twrp cannot decrypt the internal storage...! U have to use external sd.... No other choice for now....
Hello,
Based on instructions below I managed to install Magisk via patched_boot.img onto Mate9 Oreo 8.0.0.363(C432). I downloaded few modules like Xposed etc, after restarting I got a bootloop. When I back install ramdisk.img phoneboots but magisk is not installed. Any help is appreciated.
no need to extract ramdisk no more....the new one will install with twrp from sd card....starting 15v and also has to have bootloader unlock and be on stock oreo....
cross1989 said:
no need to extract ramdisk no more....the new one will install with twrp from sd card....starting 15v and also has to have bootloader unlock and be on stock oreo....
Click to expand...
Click to collapse
It cannot be installed any other way. Says no boot image.
Are you on stock android... I did root my mate 9...you need the special twrp for mate 9..its in the forum for magisk... Then just boot into twrp, do normal wipe, then install magisk, start with 15.4 version... Then it should update to 16..
Hi,
I've found an simpler method to root my Oreo Mate 9, which does not involve extracting the ramdisk.img of your rom.
This method comes for @ante0 in this post.
In my case (Mate9 with stock rom L29C432B366), this is what I did:
1) Start from an unrooted stock Oreo rom
2) Unlock bootloader
Note: Unlocking the bootloader will completely erase your phone, so backup before hand!
3) Download and flash (via fastboot) TWRP recovery TWRP-3.2.1-Oreo_FBE_Mate9.img
This recovery can be downloaded from the link in here
Note: to flash the recovery in Fastboot mode you have to type from the command line on the PC :
fastboot flash recovery_ramdisk TWRP-3.2.1-Oreo_FBE_Mate9.img
4) Reboot in recovery and mount the System and Vendor partitions
Note: if you skip this step, your phone will NOT reboot after step (5) :crying: (I know, I have tested this )
5) In recovery, flash the latest Magisk. I Have used the latest beta, Magisk 16.4 which can be downloaded from here.
6) Reboot system, and you're good to go, rooted and passing safetynet
What I like about this method is (1) no need to extract a ramdisk.img specific to the rom you are rooting , and (2) I'm still decrypted in recovery
Note: Not tested with other rom versions than L29C432B366
how magisk works in mate9 C432 B369 ??
i try 16.0 cust and my mate9 soft brick
I need help guys.
I tried installing xposed from magisk app. After reboot, am stuck on bootloop after several retries. Was forced to flash new firmware using HWOTA8.Now,i have tried getting magisk to work but result to boot loop after boot is patched and flashed via fastbokt.Have also tried flashing through twrp by mounting system, vendor but still stuck on Huawei logo and reboot . Have tried flashing supersu but that does get root to work.
Please help because most of the app I use need root access and don't want to perform fresh installation.
Thanks.

[Recovery][Unofficial] TWRP 3.2.3 for XIAOMI MI A2 Lite (Daisy) 180818 [Wifi working]

Hello everyone,
I found a working recovery for our phone
here​
All credits go to
 @yshalsager for developing and uploading
and
 @yukimaru2215 for first linking
Bugs: Encryption not working - but stock rom boots up without encryption with a trick...
Attention: You will need to format data - all your data will be lost! Backup first!
How to install:
Tempearily root your device and modify fstab.qcom - this is needed to enable decryption
a) install fastboot and adb from here​b) load a prerooted kernel (patched bootimage) from here and copy it to your adb fastboot folder​c) boot to bootloader -> reboot and keep holding vol+ until you see "FASTBOOT"​d) Open command prompt, navigate to your adb fastboot folder and type in command prompt:
Code:
fastboot boot patched_boot.img
e) Go to apps, upgrade magisk manager, install any root explorer, grant root permissions and navigate to /vendor/etc/fstab.qcom​f) open fstab.qcom with texteditor and change "forceencryption=footer" to "encryptable=footer" and save​
[*]Install TWRP and wipe data backup everything first - this will wipe all your data
a) Download recovery form link above​b) copy extracted TWRP-3.2.3-daisy-1808.img to adb fastboot folder and type in command prompt​
Code:
fastboot flash boot TWRP-3.2.3-daisy-1808.img
c) Type in command prompt​
Code:
fastboot reboot
before hitting enter keep holding vol+​d) In TWRP you will get the message can´t read data -> skip decryption and go to "wipe" and "format data"​e) if you want to root your device you need now need to boot to bootlaoder (reboot -> bootloader) - if not, you done here. Reboot to system and setup your device​
[*]Root your device
a) You are in your bootloader... download patched_twrp from here and copy it to your adb fastboot folder​b) Type in command prompt​
Code:
fastboot boot patched_twrp.img
c) Boot up, upgrade Magisk manager and install magisk via manager -> choose "direct install"​
If you flash back a stock boot.img, you will loose your wifi functionality!
Enjoy!
thanks man
You can make a video soon
Noob dude.... And with this method, how is the steps for can update via ota the next updates?
Thx for this hard word and sorry my bad english!
Enviado desde mi Mi A2 Lite mediante Tapatalk
Testing official TWRP tonight. Some issues with decryption but will be resolved soon hopefully. Stay tuned!
d1ngh said:
Testing official TWRP tonight. Some issues with decryption but will be resolved soon hopefully. Stay tuned!
Click to expand...
Click to collapse
When will it be available?
dannyzamora said:
Noob dude.... And with this method, how is the steps for can update via ota the next updates?
Thx for this hard word and sorry my bad english!
Enviado desde mi Mi A2 Lite mediante Tapatalk
Click to expand...
Click to collapse
If you using Havoc 2.0, linke me, it's everything,you need! This twrp lets you boot up all treble GSI Roms....
And otas should be installed normal.
1. Uninstall magisk
2. Install ota, not reboot
3. install magisk
4. Flash twrp and boot up with patched twrp via fastboot
You never boot up without root... So everything's fine with modules and otas doesn't touch vendor and encryption...
brunoliveh said:
When will it be available?
Click to expand...
Click to collapse
When it's ready :silly: just be a little more patient won't be long now.
brunoliveh said:
When will it be available?
Click to expand...
Click to collapse
Hopefully by end of week, maybe earlier
i did every step here but after all the phone stuck on bootloop.
any idea why?
Voodoojonny said:
Hello everyone,
I found a working recovery for our phone
here​
All credits go to
@yshalsager for developing and uploading
and
@yukimaru2215 for first linking
Bugs: Encryption not working - but stock rom boots up without encryption with a trick...
Attention: You will need to format data - all your data will be lost! Backup first!
How to install:
Tempearily root your device and modify fstab.qcom - this is needed to enable decryption
a) install fastboot and adb from here​b) load a prerooted kernel (patched bootimage) from here and copy it to your adb fastboot folder​c) boot to bootloader -> reboot and keep holding vol+ until you see "FASTBOOT"​d) Open command prompt, navigate to your adb fastboot folder and type in command prompt:
Code:
fastboot boot patched_boot.img
e) Go to apps, upgrade magisk manager, install any root explorer, grant root permissions and navigate to /vendor/etc/fstab.qcom​f) open fstab.qcom with texteditor and change "forceencryption=footer" to "encryptable=footer" and save​
[*]Install TWRP and wipe data backup everything first - this will wipe all your data
a) Download recovery form link above​b) copy extracted TWRP-3.2.3-daisy-1808.img to adb fastboot folder and type in command prompt​
Code:
fastboot flash boot TWRP-3.2.3-daisy-1808.img
c) Type in command prompt​
Code:
fastboot reboot
before hitting enter keep holding vol+​d) In TWRP you will get the message can´t read data -> skip decryption and go to "wipe" and "format data"​e) if you want to root your device you need now need to boot to bootlaoder (reboot -> bootloader) - if not, you done here. Reboot to system and setup your device​
[*]Root your device
a) You are in your bootloader... download patched_twrp from here and copy it to your adb fastboot folder​b) Type in command prompt​
Code:
fastboot boot patched_twrp.img
c) Boot up, upgrade Magisk manager and install magisk via manager -> choose "direct install"​
If you flash back a stock boot.img, you will loose your wifi functionality!
Enjoy!
Click to expand...
Click to collapse
hay bro i'm now unlock boot loader and flash boot twrp.img its boot to recovery
i flash DisableForceEncryption_Treble.zip via twrp then flash patched boot.img to root via magisk good till now
i reboot to system and root my device and every thing is good now
but when try to enter twrp its go to stock recovery ok.
what i can to do now to get twrp and keep phone rooted too?
and what is different between twrp.img and twrp patched.img
elkhshap said:
hay bro i'm now unlock boot loader and flash boot twrp.img its boot to recovery
i flash DisableForceEncryption_Treble.zip via twrp then flash patched boot.img to root via magisk good till now
i reboot to system and root my device and every thing is good now
but when try to enter twrp its go to stock recovery ok.
what i can to do now to get twrp and keep phone rooted too?
and what is different between twrp.img and twrp patched.img
Click to expand...
Click to collapse
Hey, it's written above! You need to root with patched twrp linked above... Else you will loose twrp or wifi
Voodoojonny said:
Hey, it's written above! You need to root with patched twrp linked above... Else you will loose twrp or wifi
Click to expand...
Click to collapse
sorry let me step by step going
now i;m rooted what do second ?
Official is here:
https://forum.xda-developers.com/mi-a2-lite/development/official-twrp-daisy-t3855396
Voodoojonny said:
If you using Havoc 2.0, linke me, it's everything,you need! This twrp lets you boot up all treble GSI Roms....
And otas should be installed normal.
1. Uninstall magisk
2. Install ota, not reboot
3. install magisk
4. Flash twrp and boot up with patched twrp via fastboot
You never boot up without root... So everything's fine with modules and otas doesn't touch vendor and encryption...
Click to expand...
Click to collapse
Please explain by video
maorhag said:
i did every step here but after all the phone stuck on bootloop.
any idea why?
Click to expand...
Click to collapse
Sorry for responding so late... I had a bit of full calendar...
I just did this with another phone (I use these phones for my employies)... Idk, why it´s not working for you sorry. But meanwhile there´s a official twrp - this should do the trick!
Sorry for inconvinience

emui 9

Anyone know how to root mate 9 on emui 9? Just updated and twrp doesn't work
quate from @irony_delerium
1) Make sure you've got the stock firmware zip files. (I'm assuming you do.)
2) Extract UPDATE.APP from the main update.zip file (the big one).
3) Using Huawei Firmware Extractor on your desktop (search on XDA for it), load UPDATE.APP and extract the recovery ramdisk image. It's going to be "RECOVERY_RAMDIS" in that app as I recall.
4) Put the image into your phone's internal storage (MTP works, though I've never used it, I usually use adb: adb push RECOVERY_RAMDIS.img /sdcard)
5) Install Magisk Manager on your phone. You want the current release (18.1) at the very minimum. Canary builds also work
6) Select the Install button in the Magisk interface. Select "Patch boot image". In the file browser that comes up, select the image you just transferred in #4.
7) When Magisk finishes, pull the image back to your PC (adb: adb pull /sdcard/Download/patched_boot.img)
8) Reboot to the bootloader and flash (fastboot flash recovery_ramdisk patched_boot.img)
9) Reboot to recovery (fastboot reboot, pull the USB cable and hold volume up).
mavera said:
quate from @irony_delerium
1) Make sure you've got the stock firmware zip files. (I'm assuming you do.)
Thanks man got it working today, has anyone tried viper4android on emui 9 yet does it work?
Click to expand...
Click to collapse
mavera said:
quate from @irony_delerium
1) Make sure you've got the stock firmware zip files. (I'm assuming you do.)
2) Extract UPDATE.APP from the main update.zip file (the big one).
3) Using Huawei Firmware Extractor on your desktop (search on XDA for it), load UPDATE.APP and extract the recovery ramdisk image. It's going to be "RECOVERY_RAMDIS" in that app as I recall.
4) Put the image into your phone's internal storage (MTP works, though I've never used it, I usually use adb: adb push RECOVERY_RAMDIS.img /sdcard)
5) Install Magisk Manager on your phone. You want the current release (18.1) at the very minimum. Canary builds also work
6) Select the Install button in the Magisk interface. Select "Patch boot image". In the file browser that comes up, select the image you just transferred in #4.
7) When Magisk finishes, pull the image back to your PC (adb: adb pull /sdcard/Download/patched_boot.img)
8) Reboot to the bootloader and flash (fastboot flash recovery_ramdisk patched_boot.img)
9) Reboot to recovery (fastboot reboot, pull the USB cable and hold volume up).
Click to expand...
Click to collapse
Thank you. worked for me.
Do you have working TWRP for EMUI 9?
weyrulez said:
Thank you. worked for me.
Do you have working TWRP for EMUI 9?
Click to expand...
Click to collapse
Thank you very much, it worked, but it does not go into recovery
Cant boot to recovery and fastboot. any help?
weyrulez said:
Cant boot to recovery and fastboot. any help?
Click to expand...
Click to collapse
For fastboot you can connect to pc wit cable and try.
But yuo don't boot recovery, because you patched boot image. If you flash original recovery_ramdisk, you can boot recovery.
MHA-L29 cihazımdan Tapatalk kullanılarak gönderildi
weyrulez said:
Thank you. worked for me.
Do you have working TWRP for EMUI 9?
Click to expand...
Click to collapse
TWRP for the Mate 20 X Pie works on the Mate 9. Make sure you thank Feeeza.
ajsmsg78 said:
TWRP for the Mate 20 X Pie works on the Mate 9. Make sure you thank Feeeza.
Click to expand...
Click to collapse
Thank you. And i will thank him too. But after a lot of reading. I think. Mate 9 users can only choose between magisk and TWRP. I hope i am wrong. ?
weyrulez said:
Thank you. And i will thank him too. But after a lot of reading. I think. Mate 9 users can only choose between magisk and TWRP. I hope i am wrong.
Click to expand...
Click to collapse
If you install root (patched magic boot img) on recovery_ramdisk and twrp on the erecovery partition you can have both. You'll just have to hold in volume up at boot to enable root or volume up + volume down to enter twrp or don't hold in anything to boot up uprooted. Follow the instructions on the Mate 20 X twrp thread and it should work. Personally I can't flash anything to erecovery after manually updating to Pie.
ajsmsg78 said:
TWRP for the Mate 20 X Pie works on the Mate 9. Make sure you thank Feeeza.
Click to expand...
Click to collapse
you try?
works fine?
Hurupdater for update pie x pie works?
aureliomilitao said:
you try?
works fine?
Hurupdater for update pie x pie works?
Click to expand...
Click to collapse
I flashed to pie with EMUI Flasher but hurupdater should work. You'd have to try it.

Rooting for March Update?

Hello fellow A2 Lite owners!
I just got this device today and would LOVE to root 10.0.7.0, However it seems like the only way to go through this is by using a patched boot image which is not viable because none have showed up for 10.0.7.0 yet.
Will there be any other solutions for this? Thank you.
lgstylus2root said:
Hello fellow A2 Lite owners!
I just got this device today and would LOVE to root 10.0.7.0, However it seems like the only way to go through this is by using a patched boot image which is not viable because none have showed up for 10.0.7.0 yet.
Will there be any other solutions for this? Thank you.
Click to expand...
Click to collapse
I personally feel installing twrp offians twrp and flashing magisk is easyer
rob420p said:
I personally feel installing twrp offians twrp and flashing magisk is easyer
Click to expand...
Click to collapse
Obviously, It is my preferred way since I used it on a couple of devices including my Redmi Note 4 and Mi Pad.
My concern is not OTA but whether it would somehow break the ROM
Yes, I am aware of Mi Flash, Flashing stock ROMS, and other techniques but it's just that i don't have time for such long endeavors and would like to have a safe-ish way.
However I will try to get twrp running temporarily to install magisk.
lgstylus2root said:
Obviously, It is my preferred way since I used it on a couple of devices including my Redmi Note 4 and Mi Pad.
My concern is not OTA but whether it would somehow break the ROM
Yes, I am aware of Mi Flash, Flashing stock ROMS, and other techniques but it's just that i don't have time for such long endeavors and would like to have a safe-ish way.
However I will try to get twrp running temporarily to install magisk.
Click to expand...
Click to collapse
No it will not break the ROM I'm running the March update with twrp n magisk the only thing that does not work is backup n restore there is a new twrp 3.3.3.0 but I haven't installed it yet.
rob420p said:
No it will not break the ROM I'm running the March update with twrp n magisk the only thing that does not work is backup n restore there is a new twrp 3.3.3.0 but I haven't installed it yet.
Click to expand...
Click to collapse
How did you get TWRP to work? I am using the official image but whenever i boot into the .img, click cancel as instructed, and install the twrp zip, the result is that when i try to boot into recovery it says System has been destroyed (recovery only, normal boot is ok)
lgstylus2root said:
How did you get TWRP to work? I am using the official image but whenever i boot into the .img, click cancel as instructed, and install the twrp zip, the result is that when i try to boot into recovery it says System has been destroyed (recovery only, normal boot is ok)
Click to expand...
Click to collapse
Go to the pa ROM page and use that twrp that's offians twrp.the best guild ive seen n is type in customdriod mi a2 lite twrp and that page is the best in my opinion to follow I'll see if I can get a link for the page in a minute
Won't let me simend the link
rob420p,
Please provide links.
rob420p said:
Won't let me simend the link
Click to expand...
Click to collapse
Would you be capable of private messaging me the link?
I might have been able to find the link:
ww w.thecustom droid.com /install-twrp-recovery-root-xiaomi-mi-a2-a2-lite
Obviously remove all spaces.
lgstylus2root said:
I might have been able to find the link:
ww w.thecustom droid.com /install-twrp-recovery-root-xiaomi-mi-a2-a2-lite
Obviously remove all spaces.
Click to expand...
Click to collapse
I have followed this guide but it would always result in the installed version of TWRP not installing correctly, and the system mentioning "The System has been destroyed, Press power button to shut down"
How can i resolve this?
I just uploaded the boot and patched_boot imgs for 10.0.7.0 (March update) here are the links:
Stock boot.img : https://drive.google.com/open?id=17ukUahutrGCcx38ZXfzMaCCle71M_QuP
Patched boot.img with latest Magisk (07.04.2019 - I suggest patching the stock on your own to root the device) : https://drive.google.com/open?id=1RxFZcwi0utL3qGp9LKDMneBbggNMHmGY
marstonpear said:
I just uploaded the boot and patched_boot imgs for 10.0.7.0 (March update) here are the links:
Stock boot.img : https://drive.google.com/open?id=17ukUahutrGCcx38ZXfzMaCCle71M_QuP
Patched boot.img with latest Magisk (07.04.2019 - I suggest patching the stock on your own to root the device) : https://drive.google.com/open?id=1RxFZcwi0utL3qGp9LKDMneBbggNMHmGY
Click to expand...
Click to collapse
I figured out how to do it either way, thank you for your efforts however!
lgstylus2root said:
I figured out how to do it either way, thank you for your efforts however!
Click to expand...
Click to collapse
You can add the links to the main thread so that people can see :good:
Hi
Im trying to root V10.0.7.0.PDLMIXM Android on my A2 Lite with Magisk.
After fastboot boot patched_boot.img
Im getting bootloop, phone cannot boot (google lines endless loading).
After restart, goes well but no root.
Please help ! Thanks
max-damage said:
Hi
Im trying to root V10.0.7.0.PDLMIXM Android on my A2 Lite with Magisk.
After fastboot boot patched_boot.img
Im getting bootloop, phone cannot boot (google lines endless loading).
After restart, goes well but no root.
Please help ! Thanks
Click to expand...
Click to collapse
Search before asking : https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
I did search and I followed procedure.
My phone fails to boot on step 10. when I load temporary patched boot.img over fastboot.
Thats my current problem.
I tried to load up downloaded pached boot.img for version V10.0.7.0.PDLMIXM
I also tried to make patched boot.img from original boot.img over phone via Magisk. It doesnt work, bootloop again.
max-damage said:
I did search and I followed procedure.
My phone fails to boot on step 10. when I load temporary patched boot.img over fastboot.
Thats my current problem.
I tried to load up downloaded pached boot.img for version V10.0.7.0.PDLMIXM
I also tried to make patched boot.img from original boot.img over phone via Magisk. It doesnt work, bootloop again.
Click to expand...
Click to collapse
I'm stuck with the same problem.
Booting with patched_boot.img (made on my own or downloaded from this forum) make the phone not starting, blocked on white screen.
Have you already solved?
lgstylus2root said:
How did you get TWRP to work? I am using the official image but whenever i boot into the .img, click cancel as instructed, and install the twrp zip, the result is that when i try to boot into recovery it says System has been destroyed (recovery only, normal boot is ok)
Click to expand...
Click to collapse
Only boot twrp not to Flash it...
Boot twrp command » fastboot boot twrp.img
Flash twrp command » fastboot flash recovery twrp.img
I assume you tried "flashing twrp" command, if that's the case it will replace your boot.img to twrp.img that's why it appears the "system has been destroyed" error... Try the "boot twrp command" if you want to access twrp temporarily... Coz right now we cant do(flash full twrp recovery) that as far as I know....
Winchester316 said:
Only boot twrp not to Flash it...
Boot twrp command » fastboot boot twrp.img
Flash twrp command » fastboot flash recovery twrp.img
I assume you tried "flashing twrp" command, if that's the case it will replace your boot.img to twrp.img that's why it appears the "system has been destroyed" error... Try the "boot twrp command" if you want to access twrp temporarily... Coz right now we cant do(flash full twrp recovery) that as far as I know....
Click to expand...
Click to collapse
I believe we can I have heard reports offains 3.3.3. Twrp can do it I haven't tryed yet.but I did have twrp with root running on the march update but I'm on pa now

Categories

Resources