Successfully Flashed TWRP

souljasteve84

Senior Member
Sep 2, 2011
358
255
0
Brisbane
I managed to flash TWRP on my mate 20 pro ( LYA-L09 ) but im positive it will work on all variants.
you must have bootloader unlocked. this will format your USERDATA so please be aware of this.

here is the following instructions to how i did it:

1. flash the twrp.img in fastboot - using command - fastboot flash recovery_ramdisk twrp.img once successful move to step two.

2. you need to format user data so that twrp to boot properly use the following command - fastboot erase userdata
once the erase userdata is complete, type in fastboot reboot and press enter.

3. you can now boot into twrp once in twrp you have to go to wipe and wipe data, please note this will take a very long time to wipe data so please be patient, it can take up to 1 hour or more, maybe less. so do it when you dont need to use your phone for a fair while. once the data has been wiped successfully through twrp, reboot back into twrp, wipe cache and then reboot back into twrp again. once booted back into twrp you are free to flash supersu or magisk :)

the link to twrp in my google drive is this - https://drive.google.com/open?id=1PitrcNjMMynbWXP5jGfeNUqKdt5hJpfN
 
Last edited:

souljasteve84

Senior Member
Sep 2, 2011
358
255
0
Brisbane
Also please only do this if you know what you are doing. twrp is working for me with no problems and i have made a back up so i can revert back to it if anything goes wrong. so i suggest you make a backup before proceeding with rooting etc.
 

sille

Senior Member
Oct 24, 2013
1,089
307
103
Amberg
./fastboot flash RECOVERY_RAMDIS /Users/silleftw/Desktop/Mate\ 20\ Pro/patched_boot.img
Sending 'RECOVERY_RAMDIS' (25352 KB) OKAY [ 0.587s]
Writing 'RECOVERY_RAMDIS' FAILED (remote: 'Command not allowed')

doesnt work for me
 

sille

Senior Member
Oct 24, 2013
1,089
307
103
Amberg
I patched the TWRP with the magisk canary fix for root, but didn't have the chance to try if it works. I flashed the TWRP but didn't do the format stuff as I'm on holiday.
 

mrrib

Member
Apr 20, 2008
37
11
0
I patched the TWRP with the magisk canary fix for root, but didn't have the chance to try if it works. I flashed the TWRP but didn't do the format stuff as I'm on holiday.
Same here, but when you boot with cable plug in and hold vol + then press format type yes, press format it will reboot to twrp and you can use the format stuff

sorry for my bad english :(
 

mrrib

Member
Apr 20, 2008
37
11
0
i tried flashing supersu and magisk but didnt root it, but i have supplied a working twrp so thats a win. maybe someone with better skills then me can do much better etc.
i have root, now i try to change oeminfo old methods dont´t work i think i need a twrp backup of oeminfo
 

sille

Senior Member
Oct 24, 2013
1,089
307
103
Amberg
i have root, now i try to change oeminfo old methods dont´t work i think i need a twrp backup of oeminfo

U modified the TWRP from the first post with the magisk canary? When I flashed the modified version and boot into TWRP directly after flashing, I stuck at TWRP bootlogo.

Can u give me an advice?
Can u attach your modified TWRP? Do u have single or dualsim?
 

mrrib

Member
Apr 20, 2008
37
11
0
after flash twrp
fastboot erase userdata
then no stuck on boot :cowboy:

i have dual sim, you can send me a pm there can we talk german.
 
Last edited:
  • Like
Reactions: sille
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone