How to install an OS on P9 - Huawei P9 Questions & Answers

Hi guys,
I have an old Huawei P9 phone that I installed TWRP on. I got a few ROMs from here and before I installed one of them, I cleaned out the whole phone and when I went to install the ROMs, they didn't work. It gives me errors during install. Right now, I have no OS on the phone. Please help. How do I fix it?
Thanks

blondjen said:
Hi guys,
I have an old Huawei P9 phone that I installed TWRP on. I got a few ROMs from here and before I installed one of them, I cleaned out the whole phone and when I went to install the ROMs, they didn't work. It gives me errors during install. Right now, I have no OS on the phone. Please help. How do I fix it?
Click to expand...
Click to collapse
Sorry but installation never goes by deleting all partitions from TWRP - did you read instructions for a particular custom ROM (must be ported to EMUI), what are the required preconditions (EMUI 4, 5 or 8) and what is the installation method - like flashing only System (by Fastboot) and making Factory reset from eRecovery or so.
By removing Vendor, OEMInfo, etc, you actually brick the device and you may have problems to recover IMEI
You didn't mention what was your stock firmware and which TWRP you installed - be careful, TWRP versions for EMUI 4, 5 or 8 are different (because of different partitions and encryptions) and using the wrong one will also lead to bricks (TWRP for P9 from TWRP site is AFAIK good only for EMUI 4)
To start with, boot to Fastboot and execute commands to try finding out what was your stock firmware:
Code:
fastboot oem get-bootinfo
PAUSE
fastboot oem get-product-model
PAUSE
fastboot oem get-build-number
PAUSE
fastboot oem oeminforead-SYSTEM_VERSION
PAUSE
fastboot getvar vendorcountry
To boot to Fastboot:
- switch off
- connect to charger
- press and keep presing Vol-
- boot
Does it show Phone (=Bootloader) and FRP locked (both green) or some/both unlocked (red)?
Boot to eRecovery (hopefully you didnt erase by TWRP):
- like booting to Fastboot but (instead of Vol-) press and keep pressing Vol+ while connected to charger.
Try (in that order):
- Install latest firmware and recovery, followed by Factory reset (both are options in eRecovery)

Related

Honor 4x factory reset and recovery menu not work

Hi,
i need help with this strange problem, i want update my phone to android 6.0 but when i start local update phone reboot and freeze on Honor logo, when i try factory reset or reboot to stock recovery menu - its same, again only Honor logo. Bootloader work ok, its unlocked, phone rooted, but when i for example try flash twrp recovery - fastboot send me "Failed...command not allowed"...Cant access recovery menu by fastboot, any app in phone and by keys combination too..also vol up, vol down and power for update from sd card not work, trying to seek for solutions to more than 2 weeks, can anybody here help me please?Thx.
If you are sure bootloader is unlocked and using Linux OS, run fastboot commands as root/admin (as sudo).
oppili said:
If you are sure bootloader is unlocked and using Linux OS, run fastboot commands as root/admin (as sudo).
Click to expand...
Click to collapse
Yes, im sure. On bootloader mode is in red color - Phone unlocked, but i not using Linux, im on Windows 7 and this not help me....
Try fastboot oem unlock - command again.
If still not works, try fastboot erase of that *.img file before flashing that new img file.
oppili said:
Try fastboot oem unlock - command again.
When i try this command...
c:\Minimal ADB and Fastboot>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.004s]
finished. total time: 0.006s
If still not works, try fastboot erase of that *.img file before flashing that new img file.
Click to expand...
Click to collapse
I know about this but im above when i try erase all after this fastboot send me "Failed..." and i will be have dead phone, tell me - when i try erase command for all partitions - will be phone work wit fastboot after this??
THX
Are you the only user in pc ? Do you have admin rights ?
or
try any other pc
or
use Ubuntu OS
Lulu_568 said:
Hi,
i need help with this strange problem, i want update my phone to android 6.0 but when i start local update phone reboot and freeze on Honor logo, when i try factory reset or reboot to stock recovery menu - its same, again only Honor logo. Bootloader work ok, its unlocked, phone rooted, but when i for example try flash twrp recovery - fastboot send me "Failed...command not allowed"...Cant access recovery menu by fastboot, any app in phone and by keys combination too..also vol up, vol down and power for update from sd card not work, trying to seek for solutions to more than 2 weeks, can anybody here help me please?Thx.
Click to expand...
Click to collapse
the reason for this case, that you should not apply updates while you are rooted.
(assuming that you are in lollipop stock )I suggest you check for the driver .. try to run adb (when your phone is in the active state, not powered off)
now, reboot to bootloader and try any other fastboot commands, like fastboot reboot (just to check that fastboot is responding to the device drivers..)
if it does respond, then I'm afraid you have a serious problem, if it doesn't respond, then you have to deal with the drivers, or you have to double check if your phone is unlocked
thilak devraj said:
the reason for this case, that you should not apply updates while you are rooted.
(assuming that you are in lollipop stock )I suggest you check for the driver .. try to run adb (when your phone is in the active state, not powered off)
now, reboot to bootloader and try any other fastboot commands, like fastboot reboot (just to check that fastboot is responding to the device drivers..)
if it does respond, then I'm afraid you have a serious problem, if it doesn't respond, then you have to deal with the drivers, or you have to double check if your phone is unlocked
Click to expand...
Click to collapse
Yes, i allready try, commands like fastboot reboot, or devices - its work, but when i try fastboot flash .... or erase cache - Command not allowed, when fastboot oem unlock - data parse fail...fastboot just respond but i cannot write or erase flash - dont know why....
Lulu_568 said:
Yes, i allready try, commands like fastboot reboot, or devices - its work, but when i try fastboot flash .... or erase cache - Command not allowed, when fastboot oem unlock - data parse fail...fastboot just respond but i cannot write or erase flash - dont know why....
Click to expand...
Click to collapse
then you should take it to the service center. the only best thing you can do now..
Lulu_568 said:
Yes, i allready try, commands like fastboot reboot, or devices - its work, but when i try fastboot flash .... or erase cache - Command not allowed, when fastboot oem unlock - data parse fail...fastboot just respond but i cannot write or erase flash - dont know why....
Click to expand...
Click to collapse
erase cache command is blocked by huawei in fastboot irrespective of locked or unlocked state. somewhere i read unlock lost permissions after update. if you have not tried unlock after update try it. driver can also be an issue, install hisuite it comes with drivers.
Lulu_568 said:
Hi,
i need help with this strange problem, i want update my phone to android 6.0 but when i start local update phone reboot and freeze on Honor logo, when i try factory reset or reboot to stock recovery menu - its same, again only Honor logo. Bootloader work ok, its unlocked, phone rooted, but when i for example try flash twrp recovery - fastboot send me "Failed...command not allowed"...Cant access recovery menu by fastboot, any app in phone and by keys combination too..also vol up, vol down and power for update from sd card not work, trying to seek for solutions to more than 2 weeks, can anybody here help me please?Thx.
Click to expand...
Click to collapse
Try this once,
copy firmware in folder 'dload' in sdcard root.
press vol up + vol down + power for 20 secs then release power but keep pressing vol up and vol down
shady143 said:
Try this once,
copy firmware in folder 'dload' in sdcard root.
press vol up + vol down + power for 20 secs then release power but keep pressing vol up and vol down
Click to expand...
Click to collapse
This not work, when i try this - phone freeze on Honor logo, same as on factory reset or when i try go to Recovery menu...
I check 100 times that is bootloader unlocked, can be problem in bad root or...?
Lulu_568 said:
This not work, when i try this - phone freeze on Honor logo, same as on factory reset or when i try go to Recovery menu...
I check 100 times that is bootloader unlocked, can be problem in bad root or...?
Click to expand...
Click to collapse
okay. are you sure the bootloader is unlocked? no harm done. just hold vol down + power up. and you get that green android with white background and the text in RED that says UNLOCKED. if its LOCKED, get the UNLOCK CODE first. just a reminder, you can only fastboot flash those *.imgs if you are UNLOCKED. and there are only some files will be flashed properly (recovery.img, recovery2.img, boot.img, you can try). yes, you can use Huawei Update Extractor to get those files, even in Marshmellow files. but for reviving the phone, use B067 Kitkat or any Kitkat you can get from Huawei Downloads.
1. Get into bootloader mode. I guess you already know how to do that. Plug the phone to wall charger. Yes, leave it charged with white screen showing. Leave it until you finished preparing the PC.
2. Make sure you can use fastboot. You can use Minimal ADB and Fastboot.exe found somewhere in XDA. And make sure that it can detect the phone when you write fastboot devices. It will show up if set up properly.
3. Huawei Update Extractor + Any Kitkat firmware. Extract everything. Note the tags beside each .img inside that Update Extractor. Youre gonna need those tags in order to flash properly.
4. Copy all those *.imgs that extracted into Minimal ADB and Fastboot folder. Check program files (x86).
5. Now ready the pc by launching that minimal adb and fastboot.exe as admin. THIS IS IMPORTANT!
6. fastboot devices. pull the phone from wall charger. plug it to pc. listen to usb connecting sound and driver installation. hit enter and the device should show up.
7. This is where its getting interesting. remember the tags? use that tags like this.
RECOVERY.img = fastboot flash RECOVERY RECOVERY.img
BOOT.img = fastboot flash BOOT BOOT.img
CHECK THE TAGS BEFORE FLASHING!!! and yes, just 5 or less files will be flashed successfully. Ignore it. fastboot reboot it. Yes, its stuck, plug it to the wall again while we prepare the microsd.
8. update.app file. Put that update.app file inside /microsd/dload/update.app folder. Put the microsd inside the phone. Yes, its stuck.
9. Now do the force update. when you see the emui logo, immediately plug it back to wall charger. wait until 100% and it rebooted itself, and you can see the language selection screen again.
DO WITH YOUR OWN RISK. Ive already done it, I hope it worked for you too.
zzztidurvirus said:
okay. are you sure the bootloader is unlocked? no harm done. just hold vol down + power up. and you get that green android with white background and the text in RED that says UNLOCKED. if its LOCKED, get the UNLOCK CODE first. just a reminder, you can only fastboot flash those *.imgs if you are UNLOCKED. and there are only some files will be flashed properly (recovery.img, recovery2.img, boot.img, you can try). yes, you can use Huawei Update Extractor to get those files, even in Marshmellow files. but for reviving the phone, use B067 Kitkat or any Kitkat you can get from Huawei Downloads.
1. Get into bootloader mode. I guess you already know how to do that. Plug the phone to wall charger. Yes, leave it charged with white screen showing. Leave it until you finished preparing the PC.
2. Make sure you can use fastboot. You can use Minimal ADB and Fastboot.exe found somewhere in XDA. And make sure that it can detect the phone when you write fastboot devices. It will show up if set up properly.
3. Huawei Update Extractor + Any Kitkat firmware. Extract everything. Note the tags beside each .img inside that Update Extractor. Youre gonna need those tags in order to flash properly.
4. Copy all those *.imgs that extracted into Minimal ADB and Fastboot folder. Check program files (x86).
5. Now ready the pc by launching that minimal adb and fastboot.exe as admin. THIS IS IMPORTANT!
6. fastboot devices. pull the phone from wall charger. plug it to pc. listen to usb connecting sound and driver installation. hit enter and the device should show up.
7. This is where its getting interesting. remember the tags? use that tags like this.
RECOVERY.img = fastboot flash RECOVERY RECOVERY.img
BOOT.img = fastboot flash BOOT BOOT.img
CHECK THE TAGS BEFORE FLASHING!!! and yes, just 5 or less files will be flashed successfully. Ignore it. fastboot reboot it. Yes, its stuck, plug it to the wall again while we prepare the microsd.
8. update.app file. Put that update.app file inside /microsd/dload/update.app folder. Put the microsd inside the phone. Yes, its stuck.
9. Now do the force update. when you see the emui logo, immediately plug it back to wall charger. wait until 100% and it rebooted itself, and you can see the language selection screen again.
DO WITH YOUR OWN RISK. Ive already done it, I hope it worked for you too.
Click to expand...
Click to collapse
First...many thanks for your interest!
Look, about bootloader, on boot mode is in red PHONE UNLOCKED, i try this command in fastboot:
C:\Minimal ADB and Fastboot>adb reboot bootloader
C:\Minimal ADB and Fastboot>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Minimal ADB and Fastboot>fastboot oem backdoor info
...
(bootloader) FB LockState: LOCKED
(bootloader) USER LockState: UNLOCKED
OKAY [ -0.000s]
finished. total time: -0.000s
so what is FB Lockstate??Is my bootloader unlocked or locked??
Here is another command which i try....
C:\Minimal ADB and Fastboot>fastboot -w
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: Command not allowed)
erasing 'userdata'...
FAILED (remote: Command not allowed)
finished. total time: 0.000s
Cant derermine partition type - is this problem?
I also try this....
C:\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 524288000 bytes
sending 'recovery' (25034 KB)...
OKAY [ 0.783s]
writing 'recovery'...
OKAY [ 1.033s]
finished. total time: 1.831s
C:\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.801s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.801s
It seems that fastboot write recovery (with your help i need use admin rights now this work) but i still cant boot to recovery no matter how...
I can also flash and backup boot and recovery via Flashify or Rashr and when i open backup with HEX editor it seems that i succesfully upload TWRP but still cannot acess TWRP recovery....
This is all what i try in this time, of course i read your help words about Huawei extractor etc. but not try at this time, i hope i explain more detailed my problem. Look im not a newbie, i allready flash etc. my Lenovo and P9 lite what i have here but not understand where can be problem in this Honor 4x, it seems like corrupted recovery partition or can be problem in read only/write partition - i play with this option before....
anyway - run as admin - this help me a lot i think, THX and wait your answer.
EDIT: one thing, you think that when i try flash stock recovery (i can, no problem of course) it will be work?
Update: Big success, i just try flash stock recovery B064b and now im in stock recovery menu, im surprised but what now? I want update to Marshmallow 6.0....?
But in stock recovery is: phone and the data cannot be recovered. Continue?
Oh sorry, this is about "not sd card inserted" problem
What will now progress? I have inside B130 firmware and want Marshmallow, also TWRP recovery must i flash now especially for B130 firmware for work?
Update: Yes, all working now, factory reset, recovery etc. you help me a lot, only if you can tell me what number of firmware must i upload for Marshmallow, thx
Last update: So finally, coz im too hurry and dont want wait for your answer :angel:, i just upload from local update first Android 5.1.1. after this 6.0 and all is perfect and working!
My big thanks and kisses goes to you zzztidurvirus, im lucky and still cant beleive that all works, again thx!!
I did once on Win to revert back to Stock from CM12.1 by using img from update.app file. For my case, it's the MM update.app not working, I couldn't flash img files into phone, then I tried to flash files from LP, it worked. I boot into LP ROM and update from there to MM.
Hey hey people.
I was trying to upgrade my friend's Honor X4 Che2-L11 variant to 6.0 age from it's lollipop and ****ed up - big time. It seems to have a recovery, and it bootloops. I can't get it to install any update.app though, it either errors or gets stuck/crashes at 5%.
Now I am trying to flash a individual stock recovery with fastboot. Like the guide by zzztidurvirus there, but whenever I try to issue flash command this is what I get:
target reported max download size of 471859200 bytes
sending 'RECOVERY' (9304 KB)...
OKAY [ 0.258s]
writing 'RECOVERY'...
FAILED (remote: Command not allowed)
finished. total time: 0.261s
- so basically any flash command sends OKAY, Writing Fails with Command not allowed. Bootloader is unlocked, "PHONE unlocked" on screen and same status messages from fastboot as Lulu up there when making queries.
What gives, what could I try still?
Lulu_568 said:
This not work, when i try this - phone freeze on Honor logo, same as on factory reset or when i try go to Recovery menu...
I check 100 times that is bootloader unlocked, can be problem in bad root or...?
Click to expand...
Click to collapse
I had faced same issue but get back by using the that method.
Sumea said:
Hey hey people.
I was trying to upgrade my friend's Honor X4 Che2-L11 variant to 6.0 age from it's lollipop and ****ed up - big time. It seems to have a recovery, and it bootloops. I can't get it to install any update.app though, it either errors or gets stuck/crashes at 5%.
Now I am trying to flash a individual stock recovery with fastboot. Like the guide by zzztidurvirus there, but whenever I try to issue flash command this is what I get:
target reported max download size of 471859200 bytes
sending 'RECOVERY' (9304 KB)...
OKAY [ 0.258s]
writing 'RECOVERY'...
FAILED (remote: Command not allowed)
finished. total time: 0.261s
- so basically any flash command sends OKAY, Writing Fails with Command not allowed. Bootloader is unlocked, "PHONE unlocked" on screen and same status messages from fastboot as Lulu up there when making queries.
What gives, what could I try still?
Click to expand...
Click to collapse
In this case help me i think run adb/fastboot as a admin and i use stock recovery .img from Huawei extractor when i got first success with writing as i remember, hope this help you...
Lulu_568 said:
In this case help me i think run adb/fastboot as a admin and i use stock recovery .img from Huawei extractor when i got first success with writing as i remember, hope this help you...
Click to expand...
Click to collapse
Sadly not, as I tried both running ADB fastboot as admin from administrator command line and I tried three different recovery images from huawei, 6.0 (because the flash went bad during attempt to flash a 4.1EMUI with 6.0 B506 ROM for CHE2-L11) - And it keeps denying the write attempt with the same message. More info on the flash: I tried to TWRP flash from 5.1 rom to the EMUI4.1 6.0 ROM following guide someone made with updateappflasher.zip or something, during the flash the phone just crashed 60% in the bar and after that the phone is boot looping into recovery but it can't do anything. Like said any attempt to flash a stock rom even if a recovery seems to exist when booting VOL+ & POWER at the same time, but it will fail if attempting to do wipe data/factory reset in 40% mark. Forced updater can also be accessed but again, thanks to the firmware situation the phone is in it does not flash anything beyond 5% without crashing and being stuck or just giving an error message outright.
Only thing I might have not have is the right kind of ADB drivers but googling about CHE2-L11 I really cannot find a ADB drivers for this phone for life of me and dealing with windows 10 these days makes it worse. At least it used to be that I was with windows 7, back when I myself unlocked the bootloader of the phone and rooted it myself, I have some memory of that being harsh to deal with too, as I had hard time getting drivers that worked right with the phone etc.
I will check into this... At this point my friend bought a new phone already but I still will try to fix the phone for him since I feel personally pretty bad for pretty big mess I made.
I will also try this with a windows XP machine I have still, it is meant entirely for different things but at times like these it is somewhat nice to have a XP around. At least the darn driver problems are not a problem.
UPDATES:
I unbricked the phone. The stock recovery was intact enough for just a normal dload install of a update.app from huawei - why it did not initially work was probably the USB connection to computer and/or 64gig microSD card my friend had, not being compatible with Huawei's recovery updater. I myself had a 8gig card around which worked and I restored the phone ultimately to a 6.0 official ROM. I also went ahead to root it - and final find really was that the reason why recovery etc. would not flash, was because I wrote "fastboot flash RECOVERY twrp.img" - instead of "fastboot flash recovery twrp.img" - the latter works, and the all caps for "RECOVERY" results in illegal command error - and it was no bigger than that.
Meanwhile even after sorting this all out my friend already ended up buying a new phone so it hurts but I hope some other people find some info here useful.

Stuck at booting into custom TWRP recovery

Hello, this is not the first time I'm rooting an Android phone, and I had no problems with any of my past attempts. However, this situation with Huawei P9 EVA-L09 has given me a headache...
I have originally followed this guide:
https://theunlockr.com/2016/12/06/root-huawei-p9-p9-plus/
(which appears to have skipped tiny but crucial part on flashing twrp - so I don't recommend)
Everything was going fine until I have flashed TWRP on my still NOT-rooted Huawei P9 EVA-L09 (adb reboot bootloader ; fastboot flash twrp-3.1.0-0-eva.img) successfully:
target reported max download size of 471859200 bytes
sending 'recovery' (22462 KB)...
OKAY [ 0.639s]
writing 'recovery'...
OKAY [ 0.302s]
finished. total time: 0.944s
After this I have used the command fastboot reboot and phone started normally. However when I try booting into custom TWRP recovery I just flashed and get the usual bootloader unlocked warning! I either get stuck at Phone is booting now... or I get into original EMUI Huawei eRecovery.
Did I do something wrong? What do I do after flashing TWRP?
I have read somewhere that original EMUI ROM maybe rewrites custom recovery if OS(ROM) boots before you entered recovery so could this be my problem? How do I reboot directly into TWRP from fastboot to avoid booting into the ROM?
Also, what is the correct way to boot into TWRP, what key combo? Since I get phone bootloader unlocked warning! right after powering on the phone, do I press the combination right away or after the warning shows up? I've been trying to boot custom recovery for hours, this is just silly...
Put simply I can't seem to get into TWRP I just flashed so I can install SuperSU from SD card to root my phone...
I have tried older TWRP version too, didn't help.
Phone is Huawei P9 EVA-L09, Android 7.0 EMUI 5.0, tried both TWRP versions from here: https://dl.twrp.me/eva/
After flashing twrp you should special reboot to twrp. Adb command reboot with pushing vol + and at the same time disconect usb cable. Check this on twrp official
Wysłane z mojego EVA-L09 przy użyciu Tapatalka
darrr1 said:
After flashing twrp you should special reboot to twrp. Adb command reboot with pushing vol + and at the same time disconect usb cable. Check this on twrp official
Wysłane z mojego EVA-L09 przy użyciu Tapatalka
Click to expand...
Click to collapse
How will I do anything with adb if I'm in fastboot mode? Only fastboot commands work...
Maybe you thought fastboot reboot and key combos, but which combos are correct? The TWRP official page says I should Google for key combo (how come they don't know lol, I guess they had to test the bloody thing?) and I have googled but some people say it's power down, some up, some both, what the f? When I think I got it right I get stuck on Device is booting now...
I've just tried this:
Flash TWRP 3.1.0-0-eva again over ADB
fastboot reboot + VolUp held and USB cabble plugged out
Stuck forever at Device is booting now... (below the Unlocked bootloader warning).
Ofcourse fastboot.
Wysłane z mojego EVA-L09 przy użyciu Tapatalka
Solved this part by using this TWRP version:
https://forum.xda-developers.com/p9/development/twrp-t3565703
The button combination to enter TWRP on P9 EVA-L09 EMUI 5.0 is - Power and Vol+ buttons held while fastboot reboot command is issued in CMD and USB cable unplugged, all at the same time. After device vibrates you should release only the power button. When you see 'Device is booting...' you can release Vol+ too. TWRP should now boot.
Now on to root...
Solution:
https://forum.xda-developers.com/p9/how-to/twrp-3-0-2-0-n-t3506947/post70927601#post70927601
After flashing EMUI 5.0 EVA-L09C432B378 and update B378_update_data_full_hw_eu and wiping my phone (wipe data/factory reset - yes this was probably stupid without backup or anything), it boots fine but there is no keyboard app, only useless voice control. This wouldn't be a problem if I could get past EMUI welcome screen and install keyboard.apk manually but it won't allow me to use the phone until I log into Google account which I used on the phone before factory reset. It doesn't allow me to access SD card or anything either, doesn't even ask for permission when plugged in. Flash process also rewrote TWRP recovery so I only have eRecovery atm (bootloader is still unlocked but this is useless at this point). I also cannot enable Dev options/USB debugging or reach phone settings (all reset to default obviously) at all because I can't get past EMUI welcome wizard without a keyboard... I can use dialer keypad in emergency call mode before starting the welcome wizard, for example I just checked my IMEI, but most other commands don't work.
Any ideas? I read that there is a rollback version which will enable me to flash the previous EMUI/Android6.0 version, but which rollback is right for my device European EVA-L09C432B378 phone? I don't want to get into more trouble by flashing a wrong file...
Vernicht said:
Solved this part by using this TWRP version:
https://forum.xda-developers.com/p9/development/twrp-t3565703
The button combination to enter TWRP on P9 EVA-L09 EMUI 5.0 is - Power and Vol+ buttons held while fastboot reboot command is issued in CMD and USB cable unplugged, all at the same time. After device vibrates you should release only the power button. When you see 'Device is booting...' you can release Vol+ too. TWRP should now boot.
Now on to root...
Solution:
https://forum.xda-developers.com/p9/how-to/twrp-3-0-2-0-n-t3506947/post70927601#post70927601
Click to expand...
Click to collapse
twrp3.1.1-1 with openKirin boots into Recovery fine
I got stuck at the same problem but some how luckily I could access TWRP
My phone is on Emu 5.0.1
Flash TWRP as indicated on manuals
without rebootin lock again your bootloader with fastboot oem relock XXXXXXXXXXX (the pin you used to unlock)
reboot your phone, Huawei erecovery might say something about format data partition, ignore, just shutdown your phone
reboot on bootloader using volumedown + power
Unlock your phone again with fastboot oemunlock XXXXXXXXXXX
shutdown your phone
Reboot in recovery using volume up + power.. TWIRP Appears!!
during all process phone was connected to computer. Hope it helps someone
Thank you gonsol !!!
Huawei P9 Lite Stuck Up on Huawei LOGO
Someone can help or can give me a step by step turorial on how to fix Huawei P9 Lite Stuck up on Huawei LOGO.
Everytime I try to power off my phone it always reboot twice and I try a method "dload'/"UPDATE.APP" but it won't work for me anymore co'z my phone wont turn off even I try to empty it's battery and try to charge it but its always the same ..
Any help will appreciated Thank You and Godbless newbie here
gonsol said:
I got stuck at the same problem but some how luckily I could access TWRP
My phone is on Emu 5.0.1
Flash TWRP as indicated on manuals
without rebootin lock again your bootloader with fastboot oem relock XXXXXXXXXXX (the pin you used to unlock)
reboot your phone, Huawei erecovery might say something about format data partition, ignore, just shutdown your phone
reboot on bootloader using volumedown + power
Unlock your phone again with fastboot oemunlock XXXXXXXXXXX
shutdown your phone
Reboot in recovery using volume up + power.. TWIRP Appears!!
during all process phone was connected to computer. Hope it helps someone
Click to expand...
Click to collapse
Hello, my phone is stuck now on the "Your device is booting now" state, can you help? I did exactly what you said above
sorry I tried to write it as detailed as possible when it happened.. only thing i recall is that I read that sometimes you have to try several times,
Maybe you thought fastboot reboot and key combos, but which combos are correct? The TWRP official page says I should Google for key combo (how come they don't know lol, I guess they had to test the bloody thing?) and I have googled but some people say it's power down, some up, some both, what the f? When I think I got it right I get stuck on Device is booting now...
I've just tried this:
Flash TWRP 3.1.0-0-eva again over ADB
fastboot reboot + VolUp held and USB cabble plugged out
Stuck forever at Device is booting now... (below the Unlocked bootloader warning).[/QUOTE]
I have the same matter here with my Huawei Nova 2i. I have flashed sucessfully TWRP but cannot enter TWRP mode to install root. When I hold Power + Vol+, it stucks on "Device is booting now..." forever. And for normal power up, it show the EMUI recovery. I've tried so many way but useless. [TWRP][P9][3.1.1-1][EMUI 5.x/AOSP N][DECRYPTION SUPPORT] by OldDroid did't help. Is there any version of TWRP can help my Huawei Nova 2i???
gonsol said:
I got stuck at the same problem but some how luckily I could access TWRP
My phone is on Emu 5.0.1
Flash TWRP as indicated on manuals
without rebootin lock again your bootloader with fastboot oem relock XXXXXXXXXXX (the pin you used to unlock)
reboot your phone, Huawei erecovery might say something about format data partition, ignore, just shutdown your phone
reboot on bootloader using volumedown + power
Unlock your phone again with fastboot oemunlock XXXXXXXXXXX
shutdown your phone
Reboot in recovery using volume up + power.. TWIRP Appears!!
during all process phone was connected to computer. Hope it helps someone
Click to expand...
Click to collapse
Hello
Thank you all for the help
I think I did something really bad... I have rooted phone and TWRP installed on a P9, but no ROM. I was trying to enter TWRP recovery and I did "fastboot oem relock XXXXXXXXXXX".
Now I see only the white screen with little andoid robot saying:
Attention!
Please update system again
...
Error!
Func NO: 11 (recovery image)
Error NO: 2 (load failed!)
Am I screwed ? :0
Thank you so much in advance
lexoyo said:
Hello
Thank you all for the help
I think I did something really bad... I have rooted phone and TWRP installed on a P9, but no ROM. I was trying to enter TWRP recovery and I did "fastboot oem relock XXXXXXXXXXX".
Now I see only the white screen with little andoid robot saying:
Attention!
Please update system again
...
Error!
Func NO: 11 (recovery image)
Error NO: 2 (load failed!)
Am I screwed ? :0
Thank you so much in advance
Click to expand...
Click to collapse
Don't understand why you thought that relocking bootloader would help you to enter TWRP, but it's too late for discussions about.
Relocking bootloader trigers hard reset, but hard reset fails if you don't have stock partititions (eg, TWRP means you don't have stock recovery, root means you don't have stock boot partition).
You didn't have and you don't have OS (hence you will not be able to Unlock OEM, and if TWRP was deleted, you can't flash it - TWRP is usually needed to recover)
You should first find out what you really have now :
Press power for long (if needed, even for half a minute), to make sure phone switches off. Make sure USB is disconnected. Boot by Vol+, Vol- and Pow: does it boot to TWRP, eRecovery or to nowhere?
Turn off again, connect by USB to PC (same USB cable, same PC you previously flashed TWRP from or locked/relocked your bootloader from). Power on by Vol- and Pow, does it boot to Fastboot and does Fastboot say that FRP and Bootloader are locked or unlocked.
If you still have TWRP (first test) or if Bootloadr and FRP are unlocked (test 2) in which case you can flash TWRP -you are good, you can try some methods to install stock ROM through TWRP, like HWOTA method:
https://forum.xda-developers.com/showpost.php?p=75787156&postcount=3
If you have eRecovery, you can pull out SD card and pepare it for DLOAD instalation of ROM.
Bad if you don't have any recovery and FRP and/or Bootloader is locked. Maybe DC Phoenix can help you then
https://www.dc-unlocker.com/DC-Phoenix-flash-repair-tutorial
zgfg said:
Don't understand why you thought that relocking bootloader would help you to enter TWRP, but it's too late for discussions about.
Relocking bootloader trigers hard reset, but hard reset fails if you don't have stock partititions (eg, TWRP means you don't have stock recovery, root means you don't have stock boot partition).
You didn't have and you don't have OS (hence you will not be able to Unlock OEM, and if TWRP was deleted, you can't flash it - TWRP is usually needed to recover)
You should first find out what you really have now :
Press power for long (if needed, even for half a minute), to make sure phone switches off. Make sure USB is disconnected. Boot by Vol+, Vol- and Pow: does it boot to TWRP, eRecovery or to nowhere?
Turn off again, connect by USB to PC (same USB cable, same PC you previously flashed TWRP from or locked/relocked your bootloader from). Power on by Vol- and Pow, does it boot to Fastboot and does Fastboot say that FRP and Bootloader are locked or unlocked.
If you still have TWRP (first test) or if Bootloadr and FRP are unlocked (test 2) in which case you can flash TWRP -you are good, you can try some methods to install stock ROM through TWRP, like HWOTA method:
https://forum.xda-developers.com/showpost.php?p=75787156&postcount=3
If you have eRecovery, you can pull out SD card and pepare it for DLOAD instalation of ROM.
Bad if you don't have any recovery and FRP and/or Bootloader is locked. Maybe DC Phoenix can help you then
https://www.dc-unlocker.com/DC-Phoenix-flash-repair-tutorial
Click to expand...
Click to collapse
Thank you so much for your answer @zgfg
Thanks to you I understood that the phone was never really turning off no matter how long I press (I tried for 1 min approx), so I left it to discharge and when I plugged in I pressed the 3 buttons and it "boots" to EMUI eRecovery. Then I tried the download and restore but it failed of course. I reboot with USB and Vol- and Pow, and it loads the white screen with
FASTBOOT&RESCUE MODE
Please Connect Usb Cabke ti
Your Computer and Open Hisuite
...
Android reboot reason:
coldboot
NA
volumnkey_down_press_process_func
...
PHONE Relocked
FRP Unlock
So I understand that I am in this case right?
"If you still have TWRP (first test) or if Bootloadr and FRP are unlocked (test 2)"
If this is the case I will try this method tomorrow. Thank you so much again!
---------- Post added at 02:52 AM ---------- Previous post was at 02:29 AM ----------
I unlocked the oem with "sudo fastboot oem unlock XXXX" it seems to do nothing
lexoyo said:
Thank you so much for your answer @zgfg
Thanks to you I understood that the phone was never really turning off no matter how long I press (I tried for 1 min approx), so I left it to discharge and when I plugged in I pressed the 3 buttons and it "boots" to EMUI eRecovery. Then I tried the download and restore but it failed of course. I reboot with USB and Vol- and Pow, and it loads the white screen with
FASTBOOT&RESCUE MODE
Please Connect Usb Cabke ti
Your Computer and Open Hisuite
...
Android reboot reason:
coldboot
NA
volumnkey_down_press_process_func
...
PHONE Relocked
FRP Unlock
So I understand that I am in this case right?
"If you still have TWRP (first test) or if Bootloadr and FRP are unlocked (test 2)"
If this is the case I will try this method tomorrow. Thank you so much again!
---------- Post added at 02:52 AM ---------- Previous post was at 02:29 AM ----------
I unlocked the oem with "sudo fastboot oem unlock XXXX" it seems to do nothing
Click to expand...
Click to collapse
With FRP Unlocked you can try to unlock Bootloader - it will fail to hard reset, but if it unlocks, you will be able to flash TWRP.
With TWRP you can try - download and use stock ROM for your model:
https://forum.xda-developers.com/showpost.php?p=74169408&postcount=7
zgfg said:
With FRP Unlocked you can try to unlock Bootloader - it will fail to hard reset, but if it unlocks, you will be able to flash TWRP.
With TWRP you can try - download and use stock ROM for your model:
https://forum.xda-developers.com/showpost.php?p=74169408&postcount=7
Click to expand...
Click to collapse
It did unlock FRP I think, it's now
PHONE Unlocked
FRP Unlock
I did a "fastboot flash recovery twrp-3.1.1-1-eva.img" but I still can't access TWRP
Sorry if it is a noob question, I'm learning and I looked for an answer all day long :facepalm:
lexoyo said:
It did unlock FRP I think, it's now
PHONE Unlocked
FRP Unlock
I did a "fastboot flash recovery twrp-3.1.1-1-eva.img" but I still can't access TWRP
Sorry if it is a noob question, I'm learning and I looked for an answer all day long :facepalm:
Click to expand...
Click to collapse
Are you on P9 Nougat?
Better use TWRP from here
https://forum.xda-developers.com/showpost.php?p=75787111&postcount=1
Nevertheless, what does it mean you cannot access TWRP - does Fastboot on the PC side report successful flashing?
If so, then
- keep USB connected to both phone and PC
- press and keep pressing Vol+, Vol- and Pow on the phone (it will not reboot yet)
-execute fastboot reboot
and immediately after disconnect USB
-keep presing three buttons as above, release Pow when it shows booting
You must be quick (with USB disconnectibg) and do exactly as above - with that phone should reboot to TWRP
If you don"t get it, phone will reboot to System and you will loose TWRP (you will have to flash TWRP agai)
Only when you first time upon flashing enter TWRP as above, TWRP will remain and later you will be able to enter TWRP as usual
Solution
For anyone pretty much, who has ****ed up his Huawei P9:
I got to the state where I could only enter Fastboot mode (Press vol- and connect power cable). When I tried to start the phone / go into recovery it would only display the "Your device has been unlocked and can't be trusted" Message. My mistake was to relock the bootloader in an attempt to get the recovery to work.
I looked for hours for the answer, here is what worked for me:
follow this tutorial (the "update firmware" part)
German
English
But with real precision, every step.
If you have a european unbranded L09 you should be fine using the firmware you can find on this site:
https://thedroidguru.com/download-install-huawei-p9-b394-nougat-update-europe/
if not you gotta find the full firmware (3 files!!) yourself - good luck!
If you only want to go back to stock you should be fine afterwards.
If you want to install twrp for root/custom rom/... follow these steps after installing twrp with the tool:
Upon flashing TWRP, FIRST THING YOU MUST DO is rebooting to TWRP. If you don't do that, stock Recovery will ovewrite TWRP.
Find instructions in the TWRP threads how to enforce immediate booting to TWRP, upon you flashed it:
-Type on the PC: fastboot reboot -but don't press Enter yet.
-Press and keep pressing Vol+ and Power buttons together on the phone
-Press Enter on the PC and then immediately unplug USB cabel.
-When phone shows Booting, release Power but keep pressing Vol+. button
Hope this helps, I don't take responsability for anything, happy flashing!

[GUIDE] UN-BRICK Huawei P8 Lite 2017 (And maybe other devices)

THIS IS NOT GUARANTEED TO WORK! If it does not work, feel free to let me know here and i will do what i can to help, but remember I probably can't help everyone.
IMPORTANT: ON XDA-LABS APP THIS POST IS KINDA BROKEN IDK WHY SO LOAD IT IN BROWSER!!!!
If the guide worked for you, please hit thanks button! If you are generous and want to donate pm me
What this can fix:
When booting, you get this error:
Func NO : 10 (boot image)
Error NO : 2 (load image)
When booting to recovery, you get this error:
Func NO : 11 (recovery image)
Error NO : 2 (load image)
Bootloops
Can't boot into fastboot
Can't boot into recovery for other reasons
Can't boot to system for other reasons
ETC...
First thing first, there really isnt a way to keep your data so expect it all to be gone, unless it is saved on an external sd card. Also, this guide is specifically for the PRA-LX1 model, however it might work with other p8 lite 2017 models and a similar method may work with other huawei phones.
Requirements:
The device boots in to fastboot mode. (If it does not, scroll down to problem 1)
You have a pc with a usb port and fastboot/adb installed
You have a micro usb to usb cable.
Unlocked bootloader and oem unlock.
Micro sd card
Problem 1: Can't boot into fastboot?
Try this:
1. Make sure device is fully powered off
2. Connect device to any pc.
3. Press and hold volume- and power button at the same time until your screen turns on.
If this doesn't work then unfortunately i can't help...
Problem 2: Only fastboot boots, but not recovery or os:
Lets start by flashing TWRP...
If your device was on android nougat (7.x.x) or the rom you were flashing was nougat based then do this:
Download this file:
https://drive.google.com/file/d/1TjNHI9FNdwQS2HphsjGfQCHKephibiKn/view
Boot into fastboot on your phone and open fastboot on your pc
Type: fastboot flash recovery *Nameofrecovery.img*
-----------------------------------------------------------------------------------------------------------------
If your device was on android oreo (8.x.x) or the rom you were flashing was oreo based then do this:
Download this file: https://drive.google.com/file/d/190zqju8ZmwZCzI4WXtujgKLFXvvuWTk8/view?usp=sharing
Boot into fastboot on your phone and open fastboot on your pc
Type: fastboot flash recovery_ramdisk *Nameofrecovery.img*
https://www.mrviking.co.uk/440246340
Problem 3: You can only boot into fastboot and TWRP recovery:
Thats OK! Heres how to restore the phone:
IMPORTANT: THE FILES LINKED HERE ARE ONLY FOR PRA-LX1 DEVICES! If your device has a different model number, or these files did not work for you, follow this guide to get files for your device: https://www.mrviking.co.uk/440246340
This will also update your device to android oreo!
Put the micro sd card in your pc.
On your pc download these files:
https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279 (Download 0.3)
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1194/g104/v148634/f1/full/update.zip
http://update.hicloud.com:8180/TDS/...altice_all/update_full_PRA-L11_altice_all.zip
http://update.hicloud.com:8180/TDS/...34/f1/full/public/update_data_full_public.zip
Now Rename update_full_PRA-L11_altice_all.zip to update_all_hw.zip
Also rename update_data_full_public.zip to update_data_public.zip
Put all four files: update.zip, update_all_hw.zip, update_data_public.zip and HuRUpdater_0.3.zip into one folder on the external sdcard.
Take sdcard out of pc and put it into phone.
Boot into twrp tap on mount and select all partitions
Make sure 'mount system read only' is NOT checked.
Go back to twrp home
Go to install, find the huruupdater zip file
Flash ONLY hurupdater, DO NOT FLASH ANY OTHER ZIPS.
Follow instructions on screen.
Reboot to system and wait for the device to boot.
If it didnt boot, dont worry:
Go back to fastboot mode on your phone and pc, and download this file: https://drive.google.com/file/d/1daIos0yagHk9Kg-5hXLDwNYDHjP_N0EM/view?usp=sharing
Flash it with fastboot using:
fastboot flash recovery_ramdisk *Nameofrecovery.img*
now boot into recovery wipe cache wipe date/factory reset reboot to system
If none of this worked, try this last resort. (Likely won't work but it is worth a shot)
Firstly, place your micro sdcard into your pc. Create a folder called 'dload' in the root of it.
Now, locate the firmware files you downloaded from firmware finder.
Open the main update.zip file and extract the 'UPDATE.APP' file to the 'dload' folder in your sdcard.
Place sdcard back in phone
Make sure phone is powered off. (Can't power it off? Unplug anything connected (charger, pc, etc...) and hold the power button until screen goes black)
Hold all three function keys (VOL+,VOL- and POWER) until screen turns on.
Hope it works and wait
If it worked, please hit thanks button! If you want to donate pm me.
If it DID NOT work, post a reply here and either me or someone else will try and help.
Thanks!
tringo24 said:
I've got the same problem - I can boot to TWRP and bootloader.
I've wiped Dalvik/ART Cache, Cache, Data, System and formatted Data
When I try to flash HuRUpdater_0.4.zip I get:
Error finding input device
Updater process ended with ERROR: 1
Error installing zip file '/external_sd/HuRUpdater_0.4.zip'
I've tried copying UPDATE.APP to 'dload' folder on external SD card, and EMUI hangs at 5%.
Is there anything else I can try? What does "Updater process ended with ERROR: 1" actually mean? I've googled it but haven't found anything useful.
Any help would be really appreciated!
Click to expand...
Click to collapse
Top tip - always follow all of the instructions. the version of TWRP listed in the instructions is the only one to use. I was using an incomaptible version. My phone if fixed!
tringo24 said:
I've got the same problem - I can boot to TWRP and bootloader.
I've wiped Dalvik/ART Cache, Cache, Data, System and formatted Data
When I try to flash HuRUpdater_0.4.zip I get:
Error finding input device
Updater process ended with ERROR: 1
Error installing zip file '/external_sd/HuRUpdater_0.4.zip'
I've tried copying UPDATE.APP to 'dload' folder on external SD card, and EMUI hangs at 5%.
Is there anything else I can try? What does "Updater process ended with ERROR: 1" actually mean? I've googled it but haven't found anything useful.
Any help would be really appreciated!
Click to expand...
Click to collapse
Always use TWRP from OP
And if its not working, try Flashing Stock recovery and boot it and do tap some options e.g. reset/ clear cache etc. ( I got my mobile fixed via this method as Internal Memory got corrupted because of incompatible TWRP )
For problem 1 fix : Fully shutdown , connect the phone to via usb to pc , and fast hold down the volume - . Cheers
Edit : or the same : usb , power and volume - till you see the huawei logo , then just hold volume -
Frp and boot locked. dload/UPDATE.APP in fat32 formatted sd still error At 5%. Any way to recovery?
Thank you !!!
You saved my phone :victory:
lupastro82 said:
Frp and boot locked. dload/UPDATE.APP in fat32 formatted sd still error At 5%. Any way to recovery?
Click to expand...
Click to collapse
Force shut down the device (Hold power button) if it is on.
Connect to a pc
Hold down POWER and VOL- buttons untill screen turns on
If you see a screen with an android robot saying FASTBOOT at the top let me know, if not tell me that :good:
MrViking said:
Force shut down the device (Hold power button) if it is on.
Connect to a pc
Hold down POWER and VOL- buttons untill screen turns on
If you see a screen with an android robot saying FASTBOOT at the top let me know, if not tell me that :good:
Click to expand...
Click to collapse
yes, i've.
phone relocked and frp lock. really bad state.
all caused after a magisk installation via magisk manager (this brick my boot).
my giant error, test to install without verify if frp still unlocked and this has caused a giant brick :/
i need a way to bypass-removed frp, and unlock again bootloader.
then, reinstall twrp and recovery my system.
all is in standby cause frp
yes, i know, exist some windows (i use debian) pay app, but 19€ for "just a click" to a device that atm cost about 130€ ... i think isn't a great price.
i really cannot understood why huawei cannot make a real recovery tool.
----
edit, thanks to dc unlocker and some test, now i've bootloader unlocker, but frp remain locked - then, i still cannot fix.
any help? :|
lupastro82 said:
yes, i've.
phone relocked and frp lock. really bad state.
all caused after a magisk installation via magisk manager (this brick my boot).
my giant error, test to install without verify if frp still unlocked and this has caused a giant brick :/
i need a way to bypass-removed frp, and unlock again bootloader.
then, reinstall twrp and recovery my system.
all is in standby cause frp
yes, i know, exist some windows (i use debian) pay app, but 19€ for "just a click" to a device that atm cost about 130€ ... i think isn't a great price.
i really cannot understood why huawei cannot make a real recovery tool.
----
edit, thanks to dc unlocker and some test, now i've bootloader unlocker, but frp remain locked - then, i still cannot fix.
any help? :|
Click to expand...
Click to collapse
I'm exactly in ur same situation
I need ****ing help to unlock frp then i can solve the rest by my own.
lupastro82 said:
yes, i've.
phone relocked and frp lock. really bad state.
all caused after a magisk installation via magisk manager (this brick my boot).
my giant error, test to install without verify if frp still unlocked and this has caused a giant brick :/
i need a way to bypass-removed frp, and unlock again bootloader.
then, reinstall twrp and recovery my system.
all is in standby cause frp
yes, i know, exist some windows (i use debian) pay app, but 19€ for "just a click" to a device that atm cost about 130€ ... i think isn't a great price.
i really cannot understood why huawei cannot make a real recovery tool.
----
edit, thanks to dc unlocker and some test, now i've bootloader unlocker, but frp remain locked - then, i still cannot fix.
any help? :|
Click to expand...
Click to collapse
Have you tried flashing stock recovery img from fastboot?
MrViking said:
Have you tried flashing stock recovery img from fastboot?
Click to expand...
Click to collapse
i can try, but i think cannot work if frp is locked :/
atm, now, on boot i see advice for unlocked bootloader, then access to erecovery (but also if i fix dns with firmware finder dns and check firmware, still failed - and no reset etc).
if i reboot/power on with volume down > green robot with:
Code:
Attention!
Please update system again
Error NO : 10 (boot image) / or
Error NO : 2 (load failed)
if i reboot/power on with both volume button, check dload recovery, but still failed (damned huawei!!!).
now i check to work via fastboot. thanks.
---
[email protected]:~$ sudo $(which fastboot) flash recovery ./Scrivania/twrp-3.2.1-0-twrp.img
target reported max download size of 471859200 bytes
sending 'recovery' (4690 KB)...
OKAY [ 0.152s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.158s
[email protected]:~$ sudo $(which fastboot) oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.001s]
finished. total time: 0.001s
[email protected]:~$
[email protected]:~$ sudo $(which fastboot) flash recovery_ramdisk ./Scrivania/recovery.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (11204 KB)...
OKAY [ 0.362s]
writing 'recovery_ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.369s
[email protected]:~$ sudo $(which fastboot) boot ./Scrivania/recovery.img
downloading 'boot.img'...
OKAY [ 0.378s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.381s
[email protected]:~$
Click to expand...
Click to collapse
lupastro82 said:
i can try, but i think cannot work if frp is locked :/
atm, now, on boot i see advice for unlocked bootloader, then access to erecovery (but also if i fix dns with firmware finder dns and check firmware, still failed - and no reset etc).
if i reboot/power on with volume down > green robot with:
Code:
Attention!
Please update system again
Error NO : 10 (boot image) / or
Error NO : 2 (load failed)
if i reboot/power on with both volume button, check dload recovery, but still failed (damned huawei!!!).
now i check to work via fastboot. thanks.
---
Click to expand...
Click to collapse
Wow thats a pretty bad brick. First try to boot to recovery like this:
1. Make sure phone is off.
2. Hold power and volume up until screen goes on.
3. When screen goes on quickly take fingers off buttons.
If it does not work, I think your only hope is to use funky huawei.
Do what this guy did (read the bottom of the first post)
https://forum.xda-developers.com/honor-7x/development/frp-lock-help-to-unbrick-honor-7x-t3769345
lupastro82 said:
yes, i've.
phone relocked and frp lock. really bad state.
all caused after a magisk installation via magisk manager (this brick my boot).
my giant error, test to install without verify if frp still unlocked and this has caused a giant brick :/
i need a way to bypass-removed frp, and unlock again bootloader.
then, reinstall twrp and recovery my system.
all is in standby cause frp
yes, i know, exist some windows (i use debian) pay app, but 19€ for "just a click" to a device that atm cost about 130€ ... i think isn't a great price.
i really cannot understood why huawei cannot make a real recovery tool.
----
edit, thanks to dc unlocker and some test, now i've bootloader unlocker, but frp remain locked - then, i still cannot fix.
any help? :|
Click to expand...
Click to collapse
Can you update to stock through erecovery via wifi? I had my phone frp locked + bl locked + bricked system. eRecovery was the only way out to get into a working system.
The unlock tool that costs too much is b.s and only works if it was locked because of Google Play account (tried it, did not unlock my frp).
After erecovery update and having a system, google play account was also locked because of stock firmware, this time I used the unlock tool. I used firmware finder afterwards for forcing an oreo update (because bl unlocking was grayed out). After oreo update, i enabled bl unlock from dev options and unlocked my bl again through fastboot. frp got unlocked along the way, i forgot when.
i can access in eRecovery, but when i check to download by wifi i still receive: "Getting package info failed" :/
-
via dload (8gb sd in fat 32 with only dload folder and old release UPDATE.APP inside it - but tested with more...) stuck for minuts at 5%, then reboot!
lupastro82 said:
i can access in eRecovery, but when i check to download by wifi i still receive: "Getting package info failed" :/
-
via dload (8gb sd in fat 32 with only dload folder and old release UPDATE.APP inside it - but tested with more...) stuck for minuts at 5%, then reboot!
Click to expand...
Click to collapse
Did you try what I mentioned?
MrViking said:
i can try, but i think cannot work if frp is locked :/
atm, now, on boot i see advice for unlocked bootloader, then access to erecovery (but also if i fix dns with firmware finder dns and check firmware, still failed - and no reset etc).
if i reboot/power on with volume down > green robot with:
Wow thats a pretty bad brick. First try to boot to recovery like this:
1. Make sure phone is off.
2. Hold power and volume up until screen goes on.
3. When screen goes on quickly take fingers off buttons.
If it does not work, I think your only hope is to use funky huawei.
Do what this guy did (read the bottom of the first post)
https://forum.xda-developers.com/honor-7x/development/frp-lock-help-to-unbrick-honor-7x-t3769345
Click to expand...
Click to collapse
sure yes, ill try, and enter in dload mode (but still fail) :/
MrViking said:
THIS IS NOT GUARANTEED TO WORK! If it does not work, feel free to let me know here and i will do what i can to help, but remember I probably can't help everyone.
If the guide worked for you, please hit thanks button! If you are generous and want to donate pm me
What this can fix:
When booting, you get this error:
Func NO : 10 (boot image)
Error NO : 2 (load image)
When booting to recovery, you get this error:
Func NO : 11 (recovery image)
Error NO : 2 (load image)
Bootloops
Can't boot into fastboot
Can't boot into recovery for other reasons
Can't boot to system for other reasons
ETC...
First thing first, there really isnt a way to keep your data so expect it all to be gone, unless it is saved on an external sd card. Also, this guide is specifically for the PRA-LX1 model, however it might work with other p8 lite 2017 models and a similar method may work with other huawei phones.
Requirements:
The device boots in to fastboot mode. (If it does not, scroll down to problem 1)
You have a pc with a usb port and fastboot/adb installed
You have a micro usb to usb cable.
Unlocked bootloader and oem unlock.
Micro sd card
Problem 1: Can't boot into fastboot?
Try this:
1. Make sure device is fully powered off
2. Connect device to any pc.
3. Press and hold volume- and power button at the same time until your screen turns on.
If this doesn't work then unfortunately i can't help...
Problem 2: Only fastboot boots, but not recovery or os:
Lets start by flashing TWRP...
If your device was on android nougat (7.x.x) or the rom you were flashing was nougat based then do this:
Download this file:
https://drive.google.com/file/d/1TjNHI9FNdwQS2HphsjGfQCHKephibiKn/view
Boot into fastboot on your phone and open fastboot on your pc
Type: fastboot flash recovery *Nameofrecovery.img*
-----------------------------------------------------------------------------------------------------------------
If your device was on android oreo (8.x.x) or the rom you were flashing was oreo based then do this:
Download this file: https://drive.google.com/file/d/190zqju8ZmwZCzI4WXtujgKLFXvvuWTk8/view?usp=sharing
Boot into fastboot on your phone and open fastboot on your pc
Type: fastboot flash recovery_ramdisk *Nameofrecovery.img*
https://www.mrviking.co.uk/440246340
Problem 3: You can only boot into fastboot and TWRP recovery:
Thats OK! Heres how to restore the phone:
IMPORTANT: THE FILES LINKED HERE ARE ONLY FOR PRA-LX1 DEVICES! If your device has a different model number, or these files did not work for you, follow this guide to get files for your device: https://www.mrviking.co.uk/440246340
This will also update your device to android oreo!
Put the micro sd card in your pc.
On your pc download these files:
https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279 (Download 0.3)
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1194/g104/v148634/f1/full/update.zip
http://update.hicloud.com:8180/TDS/...altice_all/update_full_PRA-L11_altice_all.zip
http://update.hicloud.com:8180/TDS/...34/f1/full/public/update_data_full_public.zip
Now Rename update_full_PRA-L11_altice_all.zip to update_all_hw.zip
Also rename update_data_full_public.zip to update_data_public.zip
Put all four files: update.zip, update_all_hw.zip, update_data_public.zip and HuRUpdater_0.3.zip into one folder on the external sdcard.
Take sdcard out of pc and put it into phone.
Boot into twrp tap on mount and select all partitions
Make sure 'mount system read only' is NOT checked.
Go back to twrp home
Go to install, find the huruupdater zip file
Flash ONLY hurupdater, DO NOT FLASH ANY OTHER ZIPS.
Follow instructions on screen.
Reboot to system and wait for the device to boot.
If it didnt boot, dont worry:
Go back to fastboot mode on your phone and pc, and download this file: https://drive.google.com/file/d/1daIos0yagHk9Kg-5hXLDwNYDHjP_N0EM/view?usp=sharing
Flash it with fastboot using:
fastboot flash recovery_ramdisk *Nameofrecovery.img*
now boot into recovery wipe cache wipe date/factory reset reboot to system
If none of this worked, try this last resort. (Likely won't work but it is worth a shot)
Firstly, place your micro sdcard into your pc. Create a folder called 'dload' in the root of it.
Now, locate the firmware files you downloaded from firmware finder.
Open the main update.zip file and extract the 'UPDATE.APP' file to the 'dload' folder in your sdcard.
Place sdcard back in phone
Make sure phone is powered off. (Can't power it off? Unplug anything connected (charger, pc, etc...) and hold the power button until screen goes black)
Hold all three function keys (VOL+,VOL- and POWER) until screen turns on.
Hope it works and wait
If it worked, please hit thanks button! If you want to donate pm me.
If it DID NOT work, post a reply here and either me or someone else will try and help.
Thanks!
Click to expand...
Click to collapse
Cheers Bruh Thank u so MUCH
Blackblock92 said:
Cheers Bruh Thank u so MUCH
Click to expand...
Click to collapse
No problem! Glad to hear it works
I've made a tutorial 1 day before you ^^
Hello i've made a tutorial on my thread for my solution to unbrick it so if you need to unbrick your phone with a different method
you can use my tutorial it has worked perfecty on my p8 lite 2017 and now he's on oreo
my phone personnaly was totaly broken i flashed some random things on my phone etc this is working 100% cause you are about to clear all the old android system for the new oreo one so for the peoples who got the same problem than me and got stuck
on the fastboot&rescue mode when VOLUME- + POWER for like 5 seconds with the phone off
(for the peoples who can't power off your device you can download the "universal fastboot and ADB tool" app and then click on reboot phone in the fastboot part)
the solution is to :
-Download the rom stock Oreo android 8.0 stechguide.com/huawei-p8-lite-2017-b370-oreo-firmware/
-exctract all files from the HuaweiUpdateExtractor find it on google it's easy just download update.zip
-extract and put the UPDATE.APP in the HuaweiUpdateExtractor
-run srk tool for huawei
-type 000 and press enter
-and now you have to flash all partitions that you have received from HUE commands are here:
[dont worry if some of theese are not working it's because certains commands are not allowed to use and certains commands are out of date :/ but dont worry the phone will boot correctly after ]
Code:
fastboot flash cache CACHE.img
fastboot flash crc CRC.img
fastboot flash curver CURVER.img
fastboot flash dts DTS.img
fastboot flash efi EFI.img
(i'm not putting erecorery imgs cause we cannot touch them it's an ultimate security from os :) )
fastboot flash fastboot FASTBOOT.img
fastboot flash hifi HIFI.img (only if you are the wifi is not working ;) )
fastboot flash kernel KERNEL.img
fastboot flash modem_fw MODEM_FW.img
fastboot flash modemnvm_update MODEMNVM_UPDATE.img
fastboot flash odm ODM.img
fastboot flash package_type PACKAGE_TYPE.img
fastboot flash product PRODUCT.img
fastboot flash ramdisk RAMDISK.img
fastboot flash recovery_ramdisk RECOVERY_RAMDIS.img
fastboot flash recovery_vbmeta RECOVERY_VBMETA.img
fastboot flash recovery_vendor RECOVERY_VENDOR.img
fastboot flash sensorhub SENSORHUB.img
fastboot flash system SYSTEM.img
fastboot flash teeos TEEOS.img
fastboot flash trustfirmware TRUSTFIRMWARE.img
fastboot flash vbmeta VBMETA.img
fastboot flash vendor VENDOR.img
fastboot flash verlist VERLIST.img
fastboot flash xloader XLOADER.img
Now you have loader all partitions of an huawei p8 lite 2017 android 8.0 gg !
you just have to make a fastboot reboot to reboot your phone and enjoy !
notes:Everything is working properly after 3 day of use not any missing data some calls bugs but nothing hard
you will loose your TWRP recovery mode AND DO NOT INSTALL ONE OF THEM FOR NOW they are outdated for oreo wait some months (september on some sources)
you will loose all your data and the root (some sites prupose root methods for oreo p8 lite 2017 (and soft root this time :laugh:
idk about the bootloader but i keeped my imei number ^^
Thanks for your time and if anyone got questions i'm still here ^^
RedFiredu29!
btw that my first tutorial tell me if it's good ^^
RedFiredu29 said:
Hello i've made a tutorial on my thread for my solution to unbrick it so if you need to unbrick your phone with a different method
you can use my tutorial it has worked perfecty on my p8 lite 2017 and now he's on oreo
my phone personnaly was totaly broken i flashed some random things on my phone etc this is working 100% cause you are about to clear all the old android system for the new oreo one so for the peoples who got the same problem than me and got stuck
on the fastboot&rescue mode when VOLUME- + POWER for like 5 seconds with the phone off
(for the peoples who can't power off your device you can download the "universal fastboot and ADB tool" app and then click on reboot phone in the fastboot part)
the solution is to :
-Download the rom stock Oreo android 8.0 stechguide.com/huawei-p8-lite-2017-b370-oreo-firmware/
-exctract all files from the HuaweiUpdateExtractor find it on google it's easy just download update.zip
-extract and put the UPDATE.APP in the HuaweiUpdateExtractor
-run srk tool for huawei
-type 000 and press enter
-and now you have to flash all partitions that you have received from HUE commands are here:
[dont worry if some of theese are not working it's because certains commands are not allowed to use and certains commands are out of date :/ but dont worry the phone will boot correctly after ]
Now you have loader all partitions of an huawei p8 lite 2017 android 8.0 gg !
you just have to make a fastboot reboot to reboot your phone and enjoy !
notes:Everything is working properly after 3 day of use not any missing data some calls bugs but nothing hard
you will loose your TWRP recovery mode AND DO NOT INSTALL ONE OF THEM FOR NOW they are outdated for oreo wait some months (september on some sources)
you will loose all your data and the root (some sites prupose root methods for oreo p8 lite 2017 (and soft root this time :laugh:
idk about the bootloader but i keeped my imei number ^^
Thanks for your time and if anyone got questions i'm still here ^^
RedFiredu29!
btw that my first tutorial tell me if it's good ^^
Click to expand...
Click to collapse
That's interesting, never heard of that method!
However there are many good working twrps for oreo, especially the one by Dil3mm4.
MrViking said:
That's interesting, never heard of that method!
However there are many good working twrps for oreo, especially the one by Dil3mm4.
Click to expand...
Click to collapse
Yes i love searching for new solutions on this device but i never heard good unbrick methods for this phone
until our methods ^^
If you read this on XDA labs then please load it in the browser as for some reason lots of text is missing in xda labs.
Thanks ?

Huawei P9 - Failed TWRP attempt

Hello friends, I'm Berat, living in Istanbul, Turkey.
I tried to install TWRP on my device (HUAWEI P9) for root yesterday. I couldn't go further from the Fastboot - ADB method. Although I do one-to-one with source videos from Youtube, I have encountered error messages. The phone is running like stable but I have a few problems with my phone.
1- I want to complete root if i can do that.
2- OEM Unlocking is unclickable now and this is disable now, and of course it can't be changed. :victory:
3- I wanted to go back to the original version but it doesn't work either, OEM Unlocking is same; unclickable. I did enter the Fastboot menu and i saw the last status: Phone - Unlocked / FRP - Locked
How should I proceed? Which one is the easier, ROOT or the original version?
Thank you!
beratkazal said:
Hello friends, I'm Berat, living in Istanbul, Turkey.
I tried to install TWRP on my device (HUAWEI P9) for root yesterday. I couldn't go further from the Fastboot - ADB method. Although I do one-to-one with source videos from Youtube, I have encountered error messages. The phone is running like stable but I have a few problems with my phone.
1- I want to complete root if i can do that.
2- OEM Unlocking is unclickable now and this is disable now, and of course it can't be changed. :victory:
3- I wanted to go back to the original version but it doesn't work either, OEM Unlocking is same; unclickable. I did enter the Fastboot menu and i saw the last status: Phone - Unlocked / FRP - Locked
How should I proceed? Which one is the easier, ROOT or the original version?
Thank you!
Click to expand...
Click to collapse
- Which stock Android do you have, Marshmallow, Nougat or Oreo
- Which TWRP are you flashing
EMUI versions are different, each has different organization of partitions (names and sizes, different encryption types).
You must use different port of TWRP for different version of stock Android.
Wrong TWRP may not work or may even cause a brick
For Nougat, instructions are in this thread:
https://forum.xda-developers.com/newreply.php?do=newreply&noquote=1&p=71244945
but a little bit newer version of TWRP for Nougat is in the post #1 here:
https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v4-t3759292
---
For disabled and grayed out OEM Unlocking:
Boot to eRecovery (switch off, connect to charger, press and keep pressing Vol+, press Power).
From eRecovery, choose Download and Install latest firmware and recovery.
Upon installation (before booting to System), choose Factory reset and Clear Cache
You will need to enable again Developer options and OEM unlock (it should not be gray anymore).
If Bootloader will be locked, unlock with the same, previous code
zgfg said:
- Which stock Android do you have, Marshmallow, Nougat or Oreo
- Which TWRP are you flashing
EMUI versions are different, each has different organization of partitions (names and sizes, different encryption types).
You must use different port of TWRP for different version of stock Android.
Wrong TWRP may not work or may even cause a brick
For Nougat, instructions are in this thread:
https://forum.xda-developers.com/newreply.php?do=newreply&noquote=1&p=71244945
but a little bit newer version of TWRP for Nougat is in the post #1 here:
https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v4-t3759292
---
For disabled and grayed out OEM Unlocking:
Boot to eRecovery (switch off, connect to charger, press and keep pressing Vol+, press Power).
From eRecovery, choose Download and Install latest firmware and recovery.
Upon installation (before booting to System), choose Factory reset and Clear Cache
You will need to enable again Developer options and OEM unlock (it should not be gray anymore).
If Bootloader will be locked, unlock with the same, previous code
Click to expand...
Click to collapse
Thank you for answer to me. But i have another problem... Visit here please: https://forum.xda-developers.com/p9/help/help-huawei-p9-device-unlocked-booting-t3932699
Thanks...

Xiaomi MI A2, is stuck in bootloop

Hi Guys,
My MI-A2 is stuck in bootloop ( When I turn on my phone it shows its Android One logo and then it shutdown itself ).
In my phone, I didn't turn on any USB Debugging or and OEM unlocking. and now it is possible as the phone is not starting.
I am able to access fastboot and recovery options
I tried to do factoryReset the device from the recovery option but it is just wiping the data.
here are the following things which I have tried with fastboot.
- I tried to unlock the fastboot with MiFlashUnlock but it stops at 99% and gives me the error of unable to verify the device,
- flashing the Stock ROM isn't working with MiFlashTool. giving random errors.
- tried changing the drive partition. it gives error to unlock the device first.
- tried tried to flash TWRP but it also gives me the error of unlocking the device first.
Almost every command of Fastboot is giving me some kind of error
But I am able to access the ADB Sideload from the recovery option.
- I tried to load the April OTA update from ADB Sidelode. The update is Successfully installed. But the device is still in bootloop.
Saving User data is not my priority. I just want the device to be working anyhow. As per my assumption, Fastboot is not an option for me unless it unlocked. I think something from the ADB sideload can be done.
Any help will be appreciated.
Is it a Guide?
Oh, now, its a Great News!
Please delete this post from this forum.
As I have already wrote to you, questions should go to "Questions and Answers" forum.
And as I have already wrote to you, Search works here, and if you've used it, you'd get answers (in mentioned above forum):
1. MiA2 having A/B slots architecture, - is supposed to recover to the other slot X when OTA corrupts ROM is slot Y, - after numerous boot attempts.
2. In case you have tampered phone with try-and-see operations without knowing what you were doing - the only way to recover phone is: TEST Point / EDL. Search these keywords in this forum for appropriate Guide.
try the "fastboot continue" command
dillu12 said:
Hi Guys,
My MI-A2 is stuck in bootloop ( When I turn on my phone it shows its Android One logo and then it shutdown itself ).
In my phone, I didn't turn on any USB Debugging or and OEM unlocking. and now it is possible as the phone is not starting.
I am able to access fastboot and recovery options
I tried to do factoryReset the device from the recovery option but it is just wiping the data.
here are the following things which I have tried with fastboot.
- I tried to unlock the fastboot with MiFlashUnlock but it stops at 99% and gives me the error of unable to verify the device,
- flashing the Stock ROM isn't working with MiFlashTool. giving random errors.
- tried changing the drive partition. it gives error to unlock the device first.
- tried tried to flash TWRP but it also gives me the error of unlocking the device first.
Almost every command of Fastboot is giving me some kind of error
But I am able to access the ADB Sideload from the recovery option.
- I tried to load the April OTA update from ADB Sidelode. The update is Successfully installed. But the device is still in bootloop.
Saving User data is not my priority. I just want the device to be working anyhow. As per my assumption, Fastboot is not an option for me unless it unlocked. I think something from the ADB sideload can be done.
Any help will be appreciated.
Click to expand...
Click to collapse
you need to flash the phone in edl mode
**just be careful there is a timeout ..when you put it into edl you need miflash and rom.loaded
*** download a stock fastboot stable pie for jasmine
**** unzip amd select revelant xml from within miflash
*****on phone manually boot to fastboot mode with buttons
****** run command "fastboot oem.edl"
*******device will boot to black screen ... immediately go to miflash and press the button to start flashing
___BE CAREFUL__ select clear all tick box at bottom of miflash screen
this should be enough to rescue your device regardless of what you've done or whether you unlocked bootloader or not

Categories

Resources