Unable to install twrp in my p9 - Huawei P9 Questions & Answers

I have tried many .img but impossible to boot twrp in this device. I tried in nougat and mm but after flashing it, it doesnt boot, normal SO boots instead.
Currently compilation number: EVA-L09C90B180
EMUI 4.1.1 Android MM
Any help? Which version of twrp am I supposed to install?

juanlc18 said:
I have tried many .img but impossible to boot twrp in this device. I tried in nougat and mm but after flashing it, it doesnt boot, normal SO boots instead.
Currently compilation number: EVA-L09C90B180
EMUI 4.1.1 Android MM
Any help? Which version of twrp am I supposed to install?
Click to expand...
Click to collapse
You must use a specific/old TWRP for P9, for A6:
P9-EVA-TWRP-Android-6.img | by Tecalote for P9
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com

Related

I can't flash any Android Oreo ROM

Hello, I have a problem with my Xiaomi Redmi 4X phone, as I said, I can not flash any Custom ROM for Android 8.1 All this happened after I put my phone in service to replace the display on which I've broken it. Now any version of Android 8.1 I try to flash results in a bootloop. I have to mention 3 things
1. In TWRP when flashing I noticed that all Custom ROMs are stuck in "Flashing system files ..." for a few seconds after saying that it ended flash-but did not abssolut anything.
2. Now a few hours I accidentally flashed Pixel Experince, but now I have the same problem.
3. I can not flash any versions of TWRP.Not much but...
THIS IS HAPPENING ONLY ON THE ANDROID OREO ROMs, Nougat ROMs works perfectlly
Try to flash first latest version of twrp or you can flash redwolf recovery then flash firmware v40 then try clean flash for oreo roms
As mentioned by above user...(latest TWRP recovery and firmware is must)
Flash latest TWRP recovery, 3.2.1-0 should be fine but there's update available 3.2.2.-0 so any will do.
Next, flash latest firmware.
Clean flash is must when changing OS.
It's most likely you don't have latest TWRP recovery and firmware.
Do backup first.

LIneage OS OTA needs new firmware

Hello.
I have installed Lineage OS 15.1-20180806-NIGHTLY-cheeseburger a few days ago on my Oneplus 5. Yesterday I got an OTA and by the system I was told that it will automatically boot into recovery and try to install itself or I have to install it manually if there is no compatible recovery.
When it booted into recovery there was an error:
This package requires firmware version 5.1.4 or newer. Please upgrade firmware and retry.
Updater process ended with ERROR 7
How can I install new firmware? The only link I have found is https://forum.xda-developers.com/oneplus-5/how-to/firmware-modem-collection-flashable-zips-t3627049 where is firmware with Oxygen OS.
Where can I fin firmware for Lineage OS? I am little bit confused with what actually firmware is...
OS: Lineage OS 15.1-20180806-NIGHTLY-cheeseburger
Phone: ONEPLUS A5000
Android version: 8.1.0
Recovery: TWRP 3.2.1-1
Thank you.
hazard16 said:
Hello.
I have installed Lineage OS 15.1-20180806-NIGHTLY-cheeseburger a few days ago on my Oneplus 5. Yesterday I got an OTA and by the system I was told that it will automatically boot into recovery and try to install itself or I have to install it manually if there is no compatible recovery.
When it booted into recovery there was an error:
This package requires firmware version 5.1.4 or newer. Please upgrade firmware and retry.
Updater process ended with ERROR 7
How can I install new firmware? The only link I have found is https://forum.xda-developers.com/oneplus-5/how-to/firmware-modem-collection-flashable-zips-t3627049 where is firmware with Oxygen OS.
Where can I fin firmware for Lineage OS? I am little bit confused with what actually firmware is...
OS: Lineage OS 15.1-20180806-NIGHTLY-cheeseburger
Phone: ONEPLUS A5000
Android version: 8.1.0
Recovery: TWRP 3.2.1-1
Thank you.
Click to expand...
Click to collapse
Flash OxygenOS 5.1.4 then you have the new firmware. afterwards you can proceed with LineageOS.
strongst said:
Flash OxygenOS 5.1.4 then you have the new firmware. afterwards you can proceed with LineageOS.
Click to expand...
Click to collapse
Does OxygenOS 5.1.4 only contain firmware without main OS? Because the filesize of that zip is only about 60MB. Will it wipe my actual OS? Which zip should I pick from the list provided on mentioned link? There are several OOS OBs. What does it mean?
Thanks
hazard16 said:
Does OxygenOS 5.1.4 only contain firmware without main OS? Because the filesize of that zip is only about 60MB. Will it wipe my actual OS? Which zip should I pick from the list provided on mentioned link? There are several OOS OBs. What does it mean?
Thanks
Click to expand...
Click to collapse
That's only the firmware, no rom included as mentioned. Full modem and firmware is around 1.7GB.
This is the one you're looking for https://forum.xda-developers.com/on...llection-flashable-zips-t3627049/post77185007
It should not wipe your os, but make backups as usual.
As it was already said, it is useless to flash whole OOS. You just need to flash given firmware and after reboot you should be able to upgrade LOS.
strongst said:
That's only the firmware, no rom included as mentioned. Full modem and firmware is around 1.7GB.
This is the one you're looking for https://forum.xda-developers.com/on...llection-flashable-zips-t3627049/post77185007
It should not wipe your os, but make backups as usual.
Click to expand...
Click to collapse
Thanks, it solved my problem.
This is where I got for Firmware and Modem ONLY packages, https://forum.xda-developers.com/showpost.php?p=76943628&postcount=8.

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...

Rooting the P20 pro: Search for Recovery.img for EMUI 9.0

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.

Question Cannot install zip with twrp on mi 11 pro

Hello I want to install an EEA Rom with twrp on my mi 11 pros but that is impossible and I always receive the same errors even to perform other actions, I have tested several versions of twrp but none of them works.
I used the official version of twrp : https://eu.dl.twrp.me/mars/twrp-3.6.2_11-0-mars.img.html and I used this from recovery https://xiaomirom.com/en/download/m...tar-stable-V13.0.7.0.SKAEUXM/#europe-recovery
Has anyone had this problem before or know how to solve it? If yes, how?
Thanks in advance
I had this problem today as well.
It has to do with device encryption in Android 12.
From: V13.0.5.0.SKAEUXM is Android 12 introduce.
Maby someone else can tell how to fix this or need we to wait?
"
TWRP 3.6.2 is out now for most currently supported devices.
I continue my thanks to all the maintainers and your support.
This release is a bugfix release. Please see the list below for details.
We are continuing work on Android 12. There is no ETA currently. You can follow our status on Zulip
You can see the device builds under their respective Jenkins view.
"
Have you tried this new TWRP version for android 12?
AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Thank you very much, it worked, you are a legend
Bobfish said:
Have you tried this new TWRP version for android 12?
AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Click to expand...
Click to collapse
Thank you very much, it worked, you are a legend
Bobfish said:
Have you tried this new TWRP version for android 12?
AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Click to expand...
Click to collapse
I used the TWRP of SKKK [BOOT]3.6.2_12-Mi11Ultra-Mi11Pro_v5.6_A12-star-skkk_016c95cb, and this worked out for me to decrypted the filesystem.
But I do have still the same issue that the phone continuesly boots into the Recovery (now its boots into the TWRP), after 2 reboots the phone boots normally again... But still occurs when reboot the phone.
Did you managed to fix this with root?
aygul12345 said:
I used the TWRP of SKKK [BOOT]3.6.2_12-Mi11Ultra-Mi11Pro_v5.6_A12-star-skkk_016c95cb, and this worked out for me to decrypted the filesystem.
But I do have still the same issue that the phone continuesly boots into the Recovery (now its boots into the TWRP), after 2 reboots the phone boots normally again... But still occurs when reboot the phone.
Did you managed to fix this with root?
Click to expand...
Click to collapse
I have the same problem but I have to restart between 2 to 10 times

Categories

Resources