proper twrp version for p9 eva-l09? - Huawei P9 Questions & Answers

i've tried countless recovery imgs for twrp but none are working.

Pencee said:
i've tried countless recovery imgs for twrp but none are working.
Click to expand...
Click to collapse
It's not about P9 itself, but which stock build you have
For EMUI 5, you have to use
https://forum.xda-developers.com/p9/development/twrp-t3565703
but carefully read OP instructions in the post #1
Also, if you don't properly reboot to TWRP immediately upon flashing, TWRP will get lost. How to is discussed in the thread

Related

TWRP not installing

Hey folks,
I've been trying to install TWRP on my Mi5, MIUI 8 Global 7.1.19 Beta, and I cannot, for the life of me, get it to work.
I've tried the standard method via Fastboot, which boots into TWRP but then defaults back to the standard Xiaomi recovery when I reboot. I've scoured the MIUI forums and these forums here and tried the solutions suggested, such as the Cofface.img and Flasher toolkit (When using the toolkit it says it has completed successfully and says "you are now in TWRP xxxxx" but the device remains in Fastboot mode and doesn't even reboot) etc., but none of them work! Each and every time the device falls back to the standard recovery and I'm left with more grey hair.
Does anyone know of any other solutions or ideas?
Thanks in advance.
What TWRP version ?
Did you try the modified version that is available in the miUI forum? xz.. something...
There is also a guide for it (on the miUI).
glogal said:
What TWRP version ?
Did you try the modified version that is available in the miUI forum? xz.. something...
There is also a guide for it (on the miUI).
Click to expand...
Click to collapse
Cheers for the info, mate. Yes, I've tried the modded version (the cofface version and TWR 3.0.2.X), 3.0.2.1. wouldn't open when I was able to boot into it (once), it just stuck at the splash screen and 3.0.2.0 won't even boot, let alone install.
Cheers mate!
TWRP is now at 3.0.2-3
This is the webpage (official twrp site):https://twrp.me/devices/xiaomimi5.html
The modified version is the ZCX-TWRP: http://en.miui.com/thread-364569-1-1.html
Thanks! I managed to boot into 3.0.2-3 to flash the EU ROM I wanted. I'll have a quick reboot now and see if the recovery has stuck.
Edit
Yep. I managed to boot into 3.0.2-3, install the ROM and the recovery is fine too. Cheers, man. I appreciate the help.
Same problem...
Console tells me everything is well but there is no twrp... Tryed newest version.
Never mind. Had to boot into TWRP as a last step.
"adb reboot recovery"

Flashing SuperSU does nothing

So I'm extremely new to this and I've been very carefully following instructions.
Specifically two guides on howtogeek
I unlocked my bootloader, got TWRP working and then finally tried flashing the latest SuperSU.zip
I get no errors, I wipe the cache and reboot - but the app doesn't show up and the phone isn't rooted.
I've tried several times but nothing happens.
I'm using a Huawei Honor 7
Used latest versions from:
SuperSU website
TWRP Huawei Honor 7 Page
Help?

Bricked on B540 Patch02

Problem solved. See the end of post.
Help. I just bricked my Huawei P9 EVA-L09 by installing a Treble ROM. I rebranded, installed B540 Patch02 EMUI 8, installed the 2.6 network patch and the Magisk patch ramdisk. EMUI 8 booted fine. Then installed an OpenKirin Treble ROM (Lineage Beta 5) but it doesn't boot. It stays in a boot loop. No matter what, no matter how many times I do fastboot -w or wipe data/factory reset in TWRP, it just doesn't get out of the boot loop. Please help me. I've never asked for help to solve a soft brick before. I can boot into fastboot, eRecovery and TWRP.
Turns out OpenKirin AOSP ROMs break under B540 firmwares while TWRP is flashed to recovery_ramdisk. This is what I did:
Flashed the original B540 recovery and tried a factory reset. It failed at 24 percent but I rebooted to system anyway and OmniROM Pie finally booted.
Wattsensi said:
Help. I just bricked my Huawei P9 EVA-L09 by installing a Treble ROM. I rebranded, installed B540 Patch02 EMUI 8, installed the 2.6 network patch and the Magisk patch ramdisk. EMUI 8 booted fine. Then installed an OpenKirin Treble ROM (Lineage Beta 5) but it doesn't boot. It stays in a boot loop. No matter what, no matter how many times I do fastboot -w or wipe data/factory reset in TWRP, it just doesn't get out of the boot loop. Please help me. I've never asked for help to solve a soft brick before. I can boot into fastboot, eRecovery and TWRP.
Click to expand...
Click to collapse
See response in the HWOTA7 thread
You must not use TWRP for installing Open Kirin ROMs
They have installation instructions, linked from OP posts in the Open Kirin thread:
https://openkirin.net/user_guide/openkirin-rom-installation-instructions/
zgfg said:
See response in the HWOTA7 thread
You must not use TWRP for installing Open Kirin ROMs
They have installation instructions, linked from OP posts in the Open Kirin thread:
https://openkirin.net/user_guide/openkirin-rom-installation-instructions/
Click to expand...
Click to collapse
Oh my sweet lord, thank you!!!
I finally solved it thanks to your help.

Tried to flash twrp. Can't boot into recovery anymore.

Hi i tried to root my P9. I unlocked the bootloader successfully and i can flash the recovery but i can't boot into recovery anymore. I get stuck on "Your device is booting now...". Also i tried to flash twrp onto recovery2 which is often suggested and that didn't help either. What i find weird it that adb doesn't allow me to erase a partition "FAILED: (remote: Command not allowed). Also the phone still works normal and i can use android. I also tried to flash a stock recovery but that still doesn't boot into the recovery. I couldn't find any advice online that would help me further. Hope someone can help me out.
FlxF said:
Hi i tried to root my P9. I unlocked the bootloader successfully and i can flash the recovery but i can't boot into recovery anymore. I get stuck on "Your device is booting now...". Also i tried to flash twrp onto recovery2 which is often suggested and that didn't help either. What i find weird it that adb doesn't allow me to erase a partition "FAILED: (remote: Command not allowed). Also the phone still works normal and i can use android. I also tried to flash a stock recovery but that still doesn't boot into the recovery. I couldn't find any advice online that would help me further. Hope someone can help me out.
Click to expand...
Click to collapse
You probably flashed incorrect TWRP -
you didn't even mention are you on MM (EMUI 4) or N (EMUI 5)
Different TWRP images must be used, but from the corresponding XDA Huawei P9 (MM or N) threads - not something maybe from elswhere on Internet
Also, if it didn't work from Recovery then no chance that it would work from eRecovery (if wrong TWRP, not ported to Huawei P9 and your EMUI version, it will not ecognize partitions and encryption, no matter if flashed to Recovery or eRecovery)
For example, if you didn't spoil also eRecovery, you would be simply able now to (re)Install latest firmware and recovery from eRecovery, and it would fix your stock Recovery
Otherwise, you should flash Recovery and eRecovery (extracted by Huawei Extractor from update.app, unzipped from FullOTA update.zip corresponding to your exact stock firmware and build you have).
Or, reinstall your stock firmware by DLOAD method (FullOTA-MF-PV package must be used for DLOAD)
You can also just flash the correct TWRP (but I strongly recommend to recover the stock eRecovery anyway), find the correct ports for MM, N and O here:
https://forum.xda-developers.com/showpost.php?p=72153575&postcount=2
https://forum.xda-developers.com/showpost.php?p=75787111
https://forum.xda-developers.com/showpost.php?p=77161313&postcount=2
If you are on Nougat, you can also find on XDA (actually, zipped in HWOTA/HWOTA7 packages from links 2 and 3 above) the so-called no-check Recovery, it can replace Recovery (but not eRecovery) img for any EMUI 5 stock firmware)
---
Btw, for Magisk (root), you don't need TWRP. Just install Magisk Manager app and patch your extracted Boot.img (MM and N, on Oreo Ramdisk.img), then flash the patched img from Fastboot
zgfg said:
You probably flashed incorrect TWRP -
you didn't even mention are you on MM (EMUI 4) or N (EMUI 5)
Different TWRP images must be used, but from the corresponding XDA Huawei P9 (MM or N) threads - not something maybe from elswhere on Internet
Click to expand...
Click to collapse
Thanks alot! I was using TWRP img from twrp.me thought it was a offical site. Now i used an image from the forum here and everything works. Thanks alot would have gotten a headache without your help
FlxF said:
Thanks alot! I was using TWRP img from twrp.me thought it was a offical site. Now i used an image from the forum here and everything works. Thanks alot would have gotten a headache without your help
Click to expand...
Click to collapse
TWRP.me (apparently) is the official TWRP site but you can see that they only have one TWRP img file (for each new TWRP release) for Huawei P9 (EVA) - hence they don't care, they are not aware of different organization of partitions (sizes, names and encryption) coming with different EMUI versions.
And from their P9 Changelog (screenshot attached) you can see that last adaptation for P9 was made in May 2016, when P9 had its original Marshmallow (EMUI 4).
Below is XDA thread from 2017 when Nougat (EMUI 5) was released and a guy who ported to (with description of changes he made). TWRP for EMUI 5 I gave you the link in previous answer is based on his port, but made after he stopped maintaining it (he moved off from P9), hence it is still TWRP 3.2.1.0 but with slight change (somebody else fixed/improved I think which partitions are mounted by default and/or what will be erased by Factory reset option - I don't recall details anymore)
https://forum.xda-developers.com/p9/development/twrp-t3565703
Btw, you are not the first who soft-bricked P9 (with Nougat) by installing the 'official' TWRP (you could search here on XDA P9 sub-forum, I recall I similarly helped to two or three of them last year and this year) and who had to move to the proper port from XDA to unbrick - the 'official' TWRP seems to be good only for those who are stuck with Marshmallow / EMUI 4 from 2016 (most likely those who got stuck with the cust c900, 'international' cust at that time, that was never updated by Huawei to Nougat while they introduced new custs for different world regions, countries and operators when they started to sell and support the phone out of China)
It would be fair if TWRP.me at least makes a note on which stock firmware version they test their 'official' P9 releases...

can´t root with Magisk nor SU

Some days ago I got a brand new XZ2c (single sim) and from the past I know that this forum is the place to go for guides for rooting and for custom roms :good:
So I started a lot of reading articles and than tried this guide:
[RECOVERY][Android 8 / 9][Stock/Custom ROM][XZ2/c/p, XZ3] TWRP 3.3.1-0 [UNofficial] https://forum.xda-developers.com/xp...recovery-twrp-3-2-2-0-touch-recovery-t3821597 and for sure all tools I dl from the links from the guide
btw. my goal is the eXistenZ Pie rom and of course root
1. Update to newest stock firmware before unlocking!!!
Click to expand...
Click to collapse
I don´t know if it was a "fault" but I unlocked with the firmware with which I got the phone and it was the firmware before the latest one
so at my first rooting try I did no update to the latest firmware, but at all further tries I flashed the newest firmware 52.0.A.8.131 for my country and provider (H8314 Mobilkom A1, it´s for Austria)
I did every step from this guide:
2. FASTBOOT
(Optional; If you modify the system or need the camerafix.zip)fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot boot twrp.img
3. TWRP
Advanced menu -> "Install recovery ramdisk" -> Choose twrp.img
4. Reboot into installed TWRP
5. TWRP
(Optional; Root Part 1/2) Flash Magisk 19.4 or newer
Click to expand...
Click to collapse
booting into twrp never was a problem and also every time I did the fastboot command with the ...vbmeta.img (don´t know if this is still necessary but I did)
6. Reboot into SYSTEM
Click to expand...
Click to collapse
and here is always the same and first problem: a boot loop, so I rebooted into recovery: fix boot loop
after this no problem to boot into system and everything is working fine but no root (Magisk and root checker)
7. (Optional; Root Part 2/2) Install the official Magisk App to gain root.
Click to expand...
Click to collapse
after I installed this it shows me:
1) Magisk is not installed (new version 19.3)
2) a newer version of the app is available (7.3.2)
sure I updated both the app and installed from twrp the 19.3 zip but still no success (again boot loop and fixed the loop from twrp)
I tried the complete procedure a lot of times, always with flashtool flashed the latest firmware, booted into system, than twrp a.s.o., I tried some solutions from this forum like patching the twrp directly with Magisk: https://forum.xda-developers.com/showpost.php?p=74368287&postcount=23 but no success
at least I tried to install SU but also no root
...I have no idea what I should try next so I hope you have some advices?
Same problem for me.. maybe it has to do with the drm?
Same problem for me.. maybe it has to do with the drm?
b00rn said:
Some days ago I got a brand new XZ2c (single sim) and from the past I know that this forum is the place to go for guides for rooting and for custom roms :good:
So I started a lot of reading articles and than tried this guide:
[RECOVERY][Android 8 / 9][Stock/Custom ROM][XZ2/c/p, XZ3] TWRP 3.3.1-0 [UNofficial] https://forum.xda-developers.com/xp...recovery-twrp-3-2-2-0-touch-recovery-t3821597 and for sure all tools I dl from the links from the guide
btw. my goal is the eXistenZ Pie rom and of course root
I don´t know if it was a "fault" but I unlocked with the firmware with which I got the phone and it was the firmware before the latest one
so at my first rooting try I did no update to the latest firmware, but at all further tries I flashed the newest firmware 52.0.A.8.131 for my country and provider (H8314 Mobilkom A1, it´s for Austria)
I did every step from this guide:
booting into twrp never was a problem and also every time I did the fastboot command with the ...vbmeta.img (don´t know if this is still necessary but I did)
and here is always the same and first problem: a boot loop, so I rebooted into recovery: fix boot loop
after this no problem to boot into system and everything is working fine but no root (Magisk and root checker)
after I installed this it shows me:
1) Magisk is not installed (new version 19.3)
2) a newer version of the app is available (7.3.2)
sure I updated both the app and installed from twrp the 19.3 zip but still no success (again boot loop and fixed the loop from twrp)
I tried the complete procedure a lot of times, always with flashtool flashed the latest firmware, booted into system, than twrp a.s.o., I tried some solutions from this forum like patching the twrp directly with Magisk: https://forum.xda-developers.com/showpost.php?p=74368287&postcount=23 but no success
at least I tried to install SU but also no root
...I have no idea what I should try next so I hope you have some advices?
Click to expand...
Click to collapse
Luspuz said:
Same problem for me.. maybe it has to do with the drm?
Click to expand...
Click to collapse
b00rn said:
Some days ago I got a brand new XZ2c (single sim) and from the past I know that this forum is the place to go for guides for rooting and for custom roms :good:
So I started a lot of reading articles and than tried this guide:
[RECOVERY][Android 8 / 9][Stock/Custom ROM][XZ2/c/p, XZ3] TWRP 3.3.1-0 [UNofficial] https://forum.xda-developers.com/xp...recovery-twrp-3-2-2-0-touch-recovery-t3821597 and for sure all tools I dl from the links from the guide
btw. my goal is the eXistenZ Pie rom and of course root
I don´t know if it was a "fault" but I unlocked with the firmware with which I got the phone and it was the firmware before the latest one
so at my first rooting try I did no update to the latest firmware, but at all further tries I flashed the newest firmware 52.0.A.8.131 for my country and provider (H8314 Mobilkom A1, it´s for Austria)
I did every step from this guide:
booting into twrp never was a problem and also every time I did the fastboot command with the ...vbmeta.img (don´t know if this is still necessary but I did)
and here is always the same and first problem: a boot loop, so I rebooted into recovery: fix boot loop
after this no problem to boot into system and everything is working fine but no root (Magisk and root checker)
after I installed this it shows me:
1) Magisk is not installed (new version 19.3)
2) a newer version of the app is available (7.3.2)
sure I updated both the app and installed from twrp the 19.3 zip but still no success (again boot loop and fixed the loop from twrp)
I tried the complete procedure a lot of times, always with flashtool flashed the latest firmware, booted into system, than twrp a.s.o., I tried some solutions from this forum like patching the twrp directly with Magisk: https://forum.xda-developers.com/showpost.php?p=74368287&postcount=23 but no success
at least I tried to install SU but also no root
...I have no idea what I should try next so I hope you have some advices?
Click to expand...
Click to collapse
Magisk 19.3 is the issue, use 18.1 stable, or 19.4 beta
Beetle84 said:
Magisk 19.3 is the issue, use 18.1 stable, or 19.4 beta
Click to expand...
Click to collapse
:good:
1st try with 19.3 beta and its done, also first magisk version without boot loop - so much time wasted and so easy solution (if you know it)
...I am so happy, you don´t believe!
only one question: why is at the twrp dl location in the "package" where all the files in (linked in the twrp thread) a magisk version which is not working on xz2c?
b00rn said:
:good:
1st try with 19.3 beta and its done, also first magisk version without boot loop - so much time wasted and so easy solution (if you know it)
...I am so happy, you don´t believe!
only one question: why is at the twrp dl location in the "package" where all the files in (linked in the twrp thread) a magisk version which is not working on xz2c?
Click to expand...
Click to collapse
I did bundle 18.1 which should work and linked now 19.4 beta, which should work too.
Which bundled version didn't worked exactly?
MartinX3 said:
Which bundled version didn't worked exactly?
Click to expand...
Click to collapse
it was 18.1 also I tried a 14.x which was an advise in another thread with similar problems (boot loop) and the "new" 19.3
...so at least I tried with 3 different Magisk versions and thought the "failure" has to be an other reason, but I was wrong - I am only wondering that it seems nobody else had problems with the 18.1, I was not only searching in this forum also tried to find solutions with G, found some threads with the boot loop problem but close to nothing with rooting problems
b00rn said:
it was 18.1 also I tried a 14.x which was an advise in another thread with similar problems (boot loop) and the "new" 19.3
...so at least I tried with 3 different Magisk versions and thought the "failure" has to be an other reason, but I was wrong - I am only wondering that it seems nobody else had problems with the 18.1, I was not only searching in this forum also tried to find solutions with G, found some threads with the boot loop problem but close to nothing with rooting problems
Click to expand...
Click to collapse
At least 19.4 works at your side [emoji14]
That's the best case of possibilities

Categories

Resources