FORUMS
Remove All Ads from XDA

Root EMUI 9.0

116 posts
Thanks Meter: 151
 
By ThreeMMM, Senior Member on 28th December 2018, 07:18 PM
Post Reply Email Thread
Thx to topjohnwu you can use magisk on EMUI9. https://github.com/topjohnwu/magisk_.../canary_builds

What you need:
1. Unlocked Bootloader
2. be able to use twrp 3.2.3-1 (important! 3.2.3-1). In this case, im using latest offical twrp for the Huawei P20 Pro (charlotte). Only use ADB function, other features (backup/restore) are untested by me, it can harm your device eventually if you use other functions then ADB.
3. adb installed on PC
4. all-full-release.apk from https://github.com/topjohnwu/magisk_.../canary_builds
5. magisk-release.zip from https://github.com/topjohnwu/magisk_.../canary_builds

OK, so how we root the Honor 10 with EMUI9.0?

1. Download offical twrp from here: https://dl.twrp.me/charlotte/twrp-3....lotte.img.html.
Be careful, this release was made for another device, but i had no issue with it on my Honor 10.

2. Download Magisk Manager (all-full-release.apk) from https://github.com/topjohnwu/magisk_.../canary_builds and install it.
3. Download magisk root (magisk-release.zip)
4. Enable OEM Unlock (so you can flash recovery in fastboot) , Power Off the device, push and hold VOL DOWN and plug in the usb cable. The device will start into fastboot.
5. Flash Twrp withon the PC: fastboot flash recovery_ramdisk twrp-3.2.3-1-charlotte.img
6. This one is a bit tricky! Type fastboot reboot, push and hold VOL UP and after sending fastboot reboot immediately remove cable and wait for twrp to boot. If you not remove the cable you will end up in eRecovery and have to redo the steps above.
7. In twrp, go to advanced and start ADB. Than plug in the USB cable.
8. PC: flash magisk-release.zip with: adb sideload magisk-release.zip
9. IMPORTANT: Remove cable, select reboot, but keep VOL UP pressed during reboot, otherwise you are not able to use magisk. You have to press VOL UP everytime you reboot the device otherwise you have to do Step 5-9 again.
10. Done, your device is rooted.

UPDATE to .162:

To Update succsessfully to .162 you have to do the following things:

1. flash emui stock recovery_ramdisk.img in fastboot (extract it from update.app using Huawei Update Extractor) use "fastboot flash recovery_ramdisk RECOVERY_RAMDIS.IMG" You dont have to use recovery_ramdisk.img from .162. Just use the latest update.app to extract the recovery_ramdisk.img you can find in Firmware Finder.
2. Disable OEM Unlock and reboot the device
3. Go to Settings\System\Software Updates and Hit the 3 Dots on the top right. Select the Full Package Download.
4. Wait until download is complete and hit update. Now the device will boot into EMUI recovery and install the update the phone.
5. The device is now rootless, if you want root again, follow the instructions above.

Caution: Just in case: After the update and installation of magisk, adaway becomes unstable on my phone. It seems the "allow root" popup dont show up after adaway started. I have fixed this by autoallow root in magisk, start adaway, enable adblocking and set magisk to "ask permissions" again. After this, the popup shows correctly again. For now i have no clue why this was happen, another Honor 10 dont have this issue at all.

Quote:
Originally Posted by albysprx

Just disable battery optimization for magisk manager and the "allow root" popup will appear

Notice for UPDATE .179:

You can use the guide above but you have to update (Systemupdate) twice, since the update comes with 2 separate packages. After the first run, emui recovery shows "update failed". Just reboot to system, go to settings, and start the updateprocess again. The second package is about ~220MB in size. After this follow the guide above to get magisk running again.

Notice for UPDATE .203:

Just do the usual way. Flash STOCK recovery_ramdis.img with fastboot, reboot the phone, do the update. After this flash twrp in fastboot again and adb sideload magisk-release.zip.

Notice for UPDATE .207:

Works! Flash STOCK recovery_ramdis.img with fastboot, reboot the phone, do the update. After this flash twrp in fastboot again and adb sideload magisk-release.zip.

Notice for UPDATE .216:

Works!

Notice for UPDATE .223:

Works, but you have to use latest Magisk release (19.3) from topjohnwu: https://github.com/topjohnwu/Magisk/releases

At step 8. PC: flash magisk-v19.3.zip with: adb sideload Magisk-v19.3.zip


Notice for UPDATE EMUI 9.1:
9.1 Change a lot, you will have the latest stock RECOVERY_RAMDISK.IMG patched via Magiskmanager and install that with fastboot. After this, reboot and PRess VOL+. You will end up in eRecovery, hit Wipe/Factory Reset(Make BACKUP!) and reboot. This install magisk permanently. For Adaway: You need Systemless Mode activated in Magisk and Adaway.

Maybe i will write another Guide for 9.1, but for now im testing stability.
The Following 10 Users Say Thank You to ThreeMMM For This Useful Post: [ View ] Gift ThreeMMM Ad-Free
 
 
28th December 2018, 07:25 PM |#2  
Member
Thanks Meter: 10
 
More
Thanks a lot man!
30th December 2018, 10:14 AM |#3  
Honor Supporter
Senior Member
Flag Bangalore
Thanks Meter: 40
 
More
Well P20 hardware share similarity with honor 10. Twrp should work logically but you never know when you came up against something bad so I will for now hehe

Sent from my Honor 10 using XDA Labs
1st January 2019, 08:40 PM |#4  
Junior Member
Thanks Meter: 0
 
More
Will it work with mate 10 pro emui 9?
2nd January 2019, 05:30 AM |#5  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by neo2k17

Will it work with mate 10 pro emui 9?

I've tested and it works
2nd January 2019, 04:22 PM |#6  
Senior Member
Flag Köllefornia
Thanks Meter: 10
 
More
Hi, either it's not working for me or i'm stuck somewhere.
Steps 1-5 are working.

Then it reboot the device with fastboot reboot and press&hold the vol up.
But my phone doesn't boot into twrp. All i get is erecovery.

When i turn the phone off, no usb cable plugged in and try to get into twrp by press&hold power + vol up i get:
Quote:

error mode
attention!
please update system again
error!
func no: 11 (recovery image)
func no:2 (load failed!)

Normal boot still worked fine.

What am i doing wrong?
I just updated from 8.1 to 9 today fyi.

edit: after flashing my latest twrp image that worked i can access twrp recovery again.
but everything at /sdcard looks encrypted since all folders and files have crazy names like asdfASdfasdFGADSgm
I currently don't have any password etc. on my honor.
2nd January 2019, 07:00 PM |#7  
ThreeMMM's Avatar
Honor Enthusiast
OP Senior Member
Flag Hamburg
Thanks Meter: 151
 
More
Quote:
Originally Posted by leAndroid91

edit: after flashing my latest twrp image that worked i can access twrp recovery again.
but everything at /sdcard looks encrypted since all folders and files have crazy names like asdfASdfasdFGADSgm
I currently don't have any password etc. on my honor.

Android 9 comes with build in crypto, so its perfektly normal to see folders like "akgaufagkiugsduiphps". Thats the reason we have to use ADB with latest TWRP, only 3.2.3-1 has support for it. So i beleive, if you cant get 3.2.3-1 running, you cannot have magisk atm.
3rd January 2019, 11:46 AM |#8  
Junior Member
Flag Tuebingen
Thanks Meter: 3
 
More
Quote:
Originally Posted by ThreeMMM

Thx to topjohnwu you can use magisk on EMUI9. https://github.com/topjohnwu/magisk_.../canary_builds

1. Download offical twrp from here: https://dl.twrp.me/charlotte/twrp-3....lotte.img.html.
Be careful, this release was made for another device, but i had no issue with it on my Honor 10.

2. Download magisk (all-full-release.apk) from https://github.com/topjohnwu/magisk_.../canary_builds and install it. Its Magisk Manager.
3. Download magisk-release.zip
4. Disable OEM Unlock, Power Off device, push and hold VOL DOWN and plug is the usb cable. The device will start into fastboot.
5. Flash Twrp with: fastboot flash recovery_ramdisk twrp-3.2.3-1-charlotte.img
6. Type fastboot reboot, push and hold VOL UP until device boots into twrp.
7. In twrp start ADB
8. PC: flash magisk-release.zip with: adb sideload magisk-release.zip
9. IMPORTANT: Select Reboot but keep VOL UP pressed during reboot, otherwise you are not able to use magisk.

Thx a lot! Works fine
One question about 9. - I had to remove the cable first, otherwise by pushing VOL UP+reboot it goes directly to eRecovery-mode?!
3rd January 2019, 02:24 PM |#9  
Senior Member
Flag Köllefornia
Thanks Meter: 10
 
More
Uhm ... just one question for my understanding.
How am i supposed to flash a new recovery in step 5 when i disable oem unlock in step 4?
As far as i know deactivating oem unlock prevents from flashing even if the bootloader is already unlocked.
3rd January 2019, 04:00 PM |#10  
Junior Member
Flag Tuebingen
Thanks Meter: 3
 
More
Quote:
Originally Posted by leAndroid91

Uhm ... just one question for my understanding.
How am i supposed to flash a new recovery in step 5 when i disable oem unlock in step 4?
As far as i know deactivating oem unlock prevents from flashing even if the bootloader is already unlocked.

You're right, i just went through without reading that point correctly. It's a little bit misleading
3rd January 2019, 04:48 PM |#11  
ThreeMMM's Avatar
Honor Enthusiast
OP Senior Member
Flag Hamburg
Thanks Meter: 151
 
More
Sorry guys, i have edit the Post so now its more clear what to do. Thanks for the hints, it a pleasure to contribute to such a nice community! Keep rockin!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes