TWRP and Magisk for EMUI 9.0

stridechicken

New member
Jan 22, 2018
3
0
1
Sorry if this has been answered already, but I can't find anything about it. As far as I can see, the only way to have working Magisk now on EMUI 9.0 is to install it to recovery_ramdisk and use that to boot the phone. That is working fine. Is there any way to install TWRP as well, since it can't go in the recovery_ramdisk partition? I tried
Code:
fastboot flash erecovery_ramdisk
to flash it to eRecovery, but that didn't work and gave me this error:
Code:
FAILED (remote: Command not allowed)
Any ideas?

The specific reason I wanted to get into TWRP was to install the HyperPlus custom kernel, and I can't think of another way to do it.
 

Tristl

New member
Mar 26, 2015
3
1
0
Leipzig
Sorry if this has been answered already, but I can't find anything about it. As far as I can see, the only way to have working Magisk now on EMUI 9.0 is to install it to recovery_ramdisk and use that to boot the phone. That is working fine. Is there any way to install TWRP as well, since it can't go in the recovery_ramdisk partition? I tried
Code:
fastboot flash erecovery_ramdisk
to flash it to eRecovery, but that didn't work and gave me this error:
Code:
FAILED (remote: Command not allowed)
Any ideas?

The specific reason I wanted to get into TWRP was to install the HyperPlus custom kernel, and I can't think of another way to do it.
You have to install TWRP to recovery_ramdisk, then install the TWRP .img to erecovery_ramdisk from inside TWRP. Then you can install the patched magisk .img to recovery_ramdisk via fastboot.
 

Tristl

New member
Mar 26, 2015
3
1
0
Leipzig
where can i get twrp for emui 9.0 or 9.1 ?
Sadly, there isn´t any "official" TWRP recovery for Android 9.0 Pie / EMUI 9.0 on P10 Plus available. However I have been using this one: https://forum.xda-developers.com/mate-9/development/recovery-twrp-3-2-1-0-t3914798 (TWRP for Mate 9, works for P10 Plus because of similar chipset) successfully for emergency tasks like removing failing Magisk modules and getting out of bootloop, accessing the filesystem or writing *.img files. Be careful though, I don´t think it will work for installing zips or system updates.
 
  • Like
Reactions: daniel11609

daniel11609

Member
Apr 27, 2014
30
0
0
Munich
Sadly, there isn´t any "official" TWRP recovery for Android 9.0 Pie / EMUI 9.0 on P10 Plus available. However I have been using this one: https://forum.xda-developers.com/mate-9/development/recovery-twrp-3-2-1-0-t3914798 (TWRP for Mate 9, works for P10 Plus because of similar chipset) successfully for emergency tasks like removing failing Magisk modules and getting out of bootloop, accessing the filesystem or writing *.img files. Be careful though, I don´t think it will work for installing zips or system updates.
thanks a lot, i really need it rn as well, because i have usb debugging disabled and ran into a bootloop.

---------- Post added at 11:01 PM ---------- Previous post was at 10:56 PM ----------

thanks a lot, i really need it rn as well, because i have usb debugging disabled and ran into a bootloop.
im pretty lost right now, i had "oem unlock" disabled, so fastboot shows FRP lock, i cant flash anything. how to get around that when i cant enter my system?

edit: fixed it just booted without root and enabled adb to fix magisk
 
Last edited:

daniel11609

Member
Apr 27, 2014
30
0
0
Munich
You have to install TWRP to recovery_ramdisk, then install the TWRP .img to erecovery_ramdisk from inside TWRP. Then you can install the patched magisk .img to recovery_ramdisk via fastboot.
so it would replace the eRecorery? Isnt that quite risky because the erecovery might safe you when i get softbricks / bootloops etc