EDIT: Hey guys, so since the previous post I have tried numerous things - most notably manually flashing the system, boot and recovery images directly with fastboot. While I was able to do this (using B361 and currently B320) the phone got stuck in a bootloop even though the official recovery successfully did a factory reset and cache wipe. I am fairly certain that if I can get the rollback image to flash I will be able to revert back to stock - but currently this is proving to be difficult. Flashing the rollback image directly with dload fails and I'm currently considering flashing the image through fastboot. Checking the image on firmware extractor tool shows the following:
CRC
CURVER
EFI
RECOVERY
RECOVERY2
VERLIST
VERSION
What extracted image will I be able to flash through fastboot? Thanks for any help in advance
Hey guys,
Firstly I have read through and tried all the usual methods of trying to get back to stock (MM or Nougat) after upgrading to B361. I am currently unable to flash any images through the dload method (not rollback, not nougat, anything). What I've tried flashing (all failed):
L19C185B361 (full)
L19C185B220 (full)
L19C185B210 (full)
L19C185B320 (OTA)
Official rollback image
This is the path I followed:
L19C185B210
MM LOS
L19C185B220
L19C185B320
L19C185B361
(Tried to reflash L19C185B361, failed)
Rollback, failed
TWRP L19C185B220, messed up system partition
Rollback still failed
L19C185B220 still failed
L19C185B361 still failed
Currently running a TWRP flash of L19C185B321, a beta leak image that doesn't work properly
The TWRP running is the Nougat TWRP (MM TWRP not working) leading me to be believe that there is still an official Nougat presence somewhere on the system. I hace an unlocked bootloader, fastboot and adb access but no root. Any help will be greatly appreciated as I've been struggling for over 10 hours now.
Bump - changed the thread question in the hope of getting help
Hi folks,
I'm facing a problem with my Huawei P10. It was running VTR-L29C432B371 firmware (Oreo 8.0.0, EMUI 8.0) rooted with Magisk v17 (I think), bootloader is open. TWRP is running on 3.2.1-0.
I lost my Magisk Manager app and therefore wanted to reinstall Magisk completely. I booted to TWRP and installed the following: Magisk-uninstaller-20190328.zip
Now my phone does not start anymore, it says:
Error Mode, Attention! Please update system again. Error!
Func NO : 10 (boot image)
Error NO : 2 (load failed)
I cannot install Magisk anymore but TWRP and fastboot is still working. Does anyone know what is going on? How can I bring my P10 back to life? Would it help to flash ramdisk image (Huawei doesn't have boot.img I think) and where could I find this?
I forgot to mention: I do need my data. So wiping / factory reset is not an option...
Many thanks in advance,
Jens
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...
HI there,
I'm having a hard time to root my p 20 pro running an OpenKirin custom rom and would be grateful for some help.
Some information, about my phone and the build:
P 20 Pro CLT-L09 (C432)
Build number: OpenKirin-AntiEng PD20144.A1 (it is based on AOSPExtended)
Now, my problem is that I can't find a bootimage or a recovery.img for emui 9.0 anywhere on the internet. I apparently need this file to patch it and then install the patched file in fastbootboot mode. But all the links that still exist on various sites aren't working anymore. If someone still has the file I need or knows how to get it, that would be very nice.
Thanks in advance.
Also: The phone has no ramdisk, installing through twrp should not and did not work.
Edit: I figured it out by myself. OpenKirin sugests not to install twrp, and to root by patching the recovery.img of the stock firmware. Now, I did install Twrp and was unable to just install Magisk from there due to no ramdisk on the device. But since I had twrp installed as recovery I could just patch the twrp image and install it with fastboot flash recovery_ramdisk magisk_patched.img.
Hi there, i have and old P9 (EVA-L09) rebranded i think, i did that when i've first flashed Lineage (one of the first rom you'll find on rom&kernel thread)
I wanted to flash again a custom Emui rom, but I also wanted to flash TWRP as recovery.
When I tried that TWRP failed to flash, so I was forced to use fastboot, when I downloaded the rom and tried to flash that, on the second step to flash system it failed and now I can't boot to system nor fastboot/bootloader.. only eRecovery, I don't know what to do..