Hello,
Searched the interweb and xda to find an answer, but still can't find one. I can't seem to update my Marshmallow Concept v3536 to v3550. I tried:
Flashing the 3027 build and relocking the bootloader
Flashing the boot, and the reovery partition of 3037 built serparately and relock
Full wipe my device and installing built 3037 and relock
Also tried this steps and after that updated to 3536 by restoring system and boot partitions. All at no avail. I have to clarify that I did not install SU, so that's not the problem. Also: my TWRP recovery is still available if I unlock my bootloader afterwards.
My device keeps telling me "incremental system update cannot be installed when dm-verity is disabled" if I try to update. I haven't got a TA-backup becuse when I rooted that wasn't possible yet.
Is there a way to get dm-verity back as there's no clear answer to this question on xda.
TIA
(Lol. Misspelled Marshmallow in the title)
OK. Here's how I managed to fix it:
I installed this and flashed the last official firmware with it.
Flashed the 3027 concept rom over it.
I manually flashed TWRP (Flashtool corrupted my boot) with the command
Code:
fastboot flash recovery twrp.img
When I start TWRP choose READ-ONLY mount system.
Wipe dalvik and cache and flash this from within TWRP.
Boot ROM and backup after that from within TWRP if you want to be able to update via OTA (I think this is necessary, but not sure).
After that flash latest (systemless) SuperSU Beta.
Enjoy
So I've been having lots of problems, it all started trying to upgrade to oreo from nougat and I got stuck part way with trying to install recoveries and missing the _ramdisk part. So then I think I was stuck somewhere in-between nougat and oreo and @Jannomag has been a huge help trying to push the device towards Oreo. You can see the thread where that begun here (https://forum.xda-developers.com/p1...-partition-length-t3766191/page2#post75966617) and Jannomag's guide here (https://forum.xda-developers.com/showpost.php?p=75760807).
After that as going to oreo wasn't working I looked into maybe trying to roll back to nougat as TWRP 3.2.1 was working. I have followed this guide as best I could (https://forum.xda-developers.com/p10/how-to/guide-to-rollback-huawei-p10-oreo-to-t3735156) and got to the end where you install the update let the phone reboot to huawei recovery to install the update. However the update got to 6% in verifying update and failed. At this point I tried to reflash twrp from fastboot. That seemed to flash fine however when I reboot the phone to recovery (vol-Up + pwr) it boots to the huawei recovery menu with reboot/wipe data/wipe cache options. I have tried flashing both twrp 3.2.1 3.1.1 and 3.0.1 and even reflashing the stock recovery before these from the file linked in the rollback guide that HWOTA8 uses (MHA_RECOVERY8_NoCheck.img)
Any ideas for fixes this are appreciated,
Thanks
Edit: Solved using DC-phoenix
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,
I am trying to install on my device the TWRP image but it doesn't work.
What I've tried so far:
A tons of twrp images
SRK Tool
injecting image to recovery
injecting img to recovery2
injexting image to recovery_ramdisk
Nothing works still. The error im getting is "partition length get error"
Im running EMUI 9.0.1 and Android 9 Build Version 9.0.1.175(C432E2R1P5). Any ideas how to get TWRP work on my device?
You are running a HONOR 9 and you wanna help to install TWRP on a P9 thread... maybe you try to install the wrong version.
Hello, I've recently installed TWRP on my PRA-LX1, i made a backup of all partitions in case everything goes wrong... and everything went wrong ! I tried to install a custom rom so i formatted all partitions except internal storage, boot, cust and version (all unformattable partitions) . The installation of the custom rom failed so i planned to restore my backup then i realized they've been deleted. my data partition is now only 500MB instead of several gigabytes
Now i want to flash the stock firmware but i can't.
I tried:
- the sd card method but "software installation failed" after a few seconds
- Download the lastest package from Huawei (ERecovery) but "getting package info failed"
- extract the firmware then flash it via fastboot but fastboot doesn't let me flash vendor and product images. twrp too (error:"cannot flash images to file system")
Now my phone is completely stuck
What i can do right now:
- boot into TWRP
- boot into Huawei ERecovery
- boot into fastboot
I think the situation can't get worse. At this point I'll do anything to get back the stock rom even if it's dangerous for the phone. If someone have a full twrp backup of the p8 lite 2017 PRA-LX1 on android 7, please share it