Any way to lock/relock bootloader? - Huawei P9 Lite Questions & Answers

I wanted to try Lineage on my Huawei P9 Lite VNS-L21, didn't like it, so I want to get the phone back to original state.
Restored backup (system version VNS-L21C432B388, Nougat 7.0), unrooted, flashed stock recovery but now I dunno how to lock bootloader. Flashing original boot.img doesn't solve the problem, also command "fastboot relock/lock bootloader" doesn't work, so does not SRKToolHuawei - when I try to relock bootloader it says that "root type is risk". Dload 3 button metod doesn't work too, upgrade stucks on 5% and it than it says that "software upgrade is failed". ERecovery doesn't help too. IF anyone knows what else can I try let me know, I'll be grateful. Thanks in advance.

Related

[Solved] Bricked P9 Lite

Hi, i have a big problem: my phone isn't starting up anymore. Before bricking my device, i was in b160(VNS L-21), then i decided to upgrade to Nougat. So i unlocked bootloader, flashed twrp etc.. Finally i got N working, after that i flashed Revolution twrp and ROM, everything fine. Then i decided to format data, just to get a "clean" ROM, but after this, my phone fell in bootloop and, i don't know why, i couldn't even get into twrp and if i try to boot into it, i just get stuck in the yellow text "Your phone is booting up..." forever. So i downloaded b160, extracted update.app and flashed system, boot, cust and recovery to try to get as stock phone was, but after that i couldn't boot into system: i just saw the yellow choices menu stuck with the same text "Your phone is booting up...", can't even see Huawei's logo. I tried to flash twrp for 6.0, but i couldn't boot into it cause it was replaced everytime by eRecovery. So i tried to install b160 from dload method and it worked but bootloader locked again and i don't have the password anymore, and after Huawei's logo there's just a black screen forever. I heard about some kind of "oeminfo.img" to flash before downgrading from N but i didn't do that cause i couldn't access twrp after formatting data. I tried to install via ota b100, b120, b130 without success, they all say incompatible firmware when i install them. I can just install b160 or b161 but they don't boot up. Please help me if u can, i'll really appreciate it
unlock you bootloader again !
flash revolution recovery b9
flash oem.info
dload b160 (Factoryreset, Bootloader locked)
Ron
RonPo said:
unlock you bootloader again !
flash revolution recovery b9
flash oem.info
dload b160 (Factoryreset, Bootloader locked)
Ron
Click to expand...
Click to collapse
I can't unlock bootloader again because i can't access system to get infos like imei etc, and i don't even have the code to unlock bootloader.. Btw, thank you for helping me
xDavi01 said:
I can't unlock bootloader again because i can't access system to get infos like imei etc, and i don't even have the code to unlock bootloader.. Btw, thank you for helping me
Click to expand...
Click to collapse
Try fastboot getvar all . Maybe it contains all the information you need
if not, dc-unlocker will do what you need. I've bricked my device and with their soft I've managed to write the full img. You should try only to unlock the bootloader service from them
You can look at the package of your P9 Lite. There should be a sticker on it with your IMEI.
Schlengge said:
You can look at the package of your P9 Lite. There should be a sticker on it with your IMEI.
Click to expand...
Click to collapse
Okay, i found it, but what about serial number and product id?
dondrog said:
Try fastboot getvar all . Maybe it contains all the information you need
if not, dc-unlocker will do what you need. I've bricked my device and with their soft I've managed to write the full img. You should try only to unlock the bootloader service from them
Click to expand...
Click to collapse
Thank you! Now i have IMEI and Serial NR, i just need Product ID. Is there a way i can get this?
Edit: I DID IT! YAY! I got bootloader unlocked, i used Huawei Product ID Generator, and typed "HUAWEI Y300-0000" instead of "HUAWEI VNS-L21" in Reformatting Lock Huawei's page, and it worked like a charm! Thank you for your help guys, you're the best
xDavi01 said:
Thank you! Now i have IMEI and Serial NR, i just need Product ID. Is there a way i can get this?
Edit: I DID IT! YAY! I got bootloader unlocked, i used Huawei Product ID Generator, and typed "HUAWEI Y300-0000" instead of "HUAWEI VNS-L21" in Reformatting Lock Huawei's page, and it worked like a charm! Thank you for your help guys, you're the best
Click to expand...
Click to collapse
for some reason that does not work for me VNS-31 :crying:

Bricked P9 lite L21 SS

Hello I have managed to brick my P9 lite with the nougat rom. I can only access bootloader, the phone is both oem and bootloader unlocked and currently it's on bootloop. I have tried the upgrade with 3 buttons pushed but I can't get the phone to accept the package(put in the dload folder on SDcard) it only shows 'install failed - Incompatibility with current version please download the correct package'. I have also tried the fastboot flash system command it went without errors but the only result is that it no longer bootloops and only shows black screen after the warning that I have unlocked bootloader. So is there anything else I should try? Thanks.
Fastboot??
Odoslané z VNS-L21 pomocou Tapatalku
Try this
@mrmajco
I don't understand what you mean. Could you give me some commands to use? If I flash recovery with fastboot I can't get into the recovery (nougat rom) and if I flash system with fastboot flash system I only see black screen and nothing boots up.
fastboot flash zip gives me FAILED command not allowed.
@zgomot
Well, either I'm really dumb or doing it wrong but once I flash the meticulus recovery with fastboot flash recovery recovery.img nothing really changes and I can't get into the recovery.
To flashing oem info I get FAILED (remote: command not allowed). I will post it here but I doubt it will be of any help.
IMAGE
edit: I really don't know how but I'm in the recovery so I think I will manage to flash the stock image from there and make it work. I will once I resolve the problem or brick it once more Thank you for the link.

Problem with rollback n to mm

I got a problem with mij P9 i mest up my system
i installed Nougat but wasnt happy without working bleutooth. I treid to do rollback but mest up my system
What happend; i took the howto rollback and downloaded the files i needed i took the oeminfo and flashed it, from that point on i tried to install recovery but nothing worked, i think i flashed the wrong oeminfo "L21" but my phone is a L31..
I can boot the phone, but i gives me a red warning message "Your device has failed verification and may not work properly"
I lost a lot off apps
I can boot Fastboot and bootloader is unlocked
i tried the folllowing to fix it
Flashed (all) recovery trough fastboot gives a "Failed" message (fastboot gives a lot of failes) but trough fastboot it says bootloader unlocked
I tried with 3 buttons an dload tot flash oeminfo but i get erecovery with message data damaged and i can choose to wipe all and install trough wifi but that dosnt work.
Ad this time im confused and i woud really like to get my system up and runnng like it supose to
So if someone could help me out i would be veryy thanfull
grtz
Maarten
maartenhordijk1978 said:
I got a problem with mij P9 i mest up my system
i installed Nougat but wasnt happy without working bleutooth. I treid to do rollback but mest up my system
What happend; i took the howto rollback and downloaded the files i needed i took the oeminfo and flashed it, from that point on i tried to install recovery but nothing worked, i think i flashed the wrong oeminfo "L21" but my phone is a L31..
I can boot the phone, but i gives me a red warning message "Your device has failed verification and may not work properly"
I lost a lot off apps
I can boot Fastboot and bootloader is unlocked
i tried the folllowing to fix it
Flashed (all) recovery trough fastboot gives a "Failed" message (fastboot gives a lot of failes) but trough fastboot it says bootloader unlocked
I tried with 3 buttons an dload tot flash oeminfo but i get erecovery with message data damaged and i can choose to wipe all and install trough wifi but that dosnt work.
Ad this time im confused and i woud really like to get my system up and runnng like it supose to
So if someone could help me out i would be veryy thanfull
grtz
Maarten
Click to expand...
Click to collapse
If your phone is VNS-L31C432, then try these methods:
1. In bootloader "fastboot boot TWRP_Recovery.img"
this should boot you into twrp without flashing it, from there flash B161_update.zip (which should be in your SD card).
(If that doesn't work, try "fastboot -c "lge.kcal=0|0|0|x" boot TWRP_Recovery.img"
haven't tried this on P9 Lite, but used to work on other phones).
2. If "fastboot flash recovery TWRP_Recovery.img" returns errors, but says bootloader unlocked, try to relock the bootloader and unlock it again.
"fastboot oem lock"
"fastboot oem unlock YOUR_CODE"
then try flashing recovery again.
Maybe also try flashing other recoveries, e.g. TWRP (which is for MM ROMs) or Revolution (which is for N ROMs) or even the stock boot.img.
3. Try the dload method wth B161 and maybe B160 - I know my P9 Lite would only accept B161 via dload, even though B370 and B360 and B130 are for the same model, those builds just wouldn't install this way.
4. Unpack B161 zip so you have update.app, extract from that boot.img, recovery.img and system.img.
Then do:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Some of these methods might work, some won't but from my two experiences of bricking the P9 Lite, one of the four fixed the issue.
If you don't know where to get the B161 zips, I can post them later.
Also, this is just to get your system to a working and bootable condition. If you want to get back to full-fledged MM, you will also need to install the hw_eu zip after the B161 zip (and maybe do a factory reset after that for the sake of it).
Your apps and files are already gone, so no way to save that. Hope your phone gets back to working order soon enough.
JHD94 said:
If your phone is VNS-L31C432, then try these methods:
1. In bootloader "fastboot boot TWRP_Recovery.img"
this should boot you into twrp without flashing it, from there flash B161_update.zip (which should be in your SD card).
(If that doesn't work, try "fastboot -c "lge.kcal=0|0|0|x" boot TWRP_Recovery.img"
haven't tried this on P9 Lite, but used to work on other phones).
2. If "fastboot flash recovery TWRP_Recovery.img" returns errors, but says bootloader unlocked, try to relock the bootloader and unlock it again.
"fastboot oem lock"
"fastboot oem unlock YOUR_CODE"
then try flashing recovery again.
Maybe also try flashing other recoveries, e.g. TWRP (which is for MM ROMs) or Revolution (which is for N ROMs) or even the stock boot.img.
3. Try the dload method wth B161 and maybe B160 - I know my P9 Lite would only accept B161 via dload, even though B370 and B360 and B130 are for the same model, those builds just wouldn't install this way.
4. Unpack B161 zip so you have update.app, extract from that boot.img, recovery.img and system.img.
Then do:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Some of these methods might work, some won't but from my two experiences of bricking the P9 Lite, one of the four fixed the issue.
If you don't know where to get the B161 zips, I can post them later.
Also, this is just to get your system to a working and bootable condition. If you want to get back to full-fledged MM, you will also need to install the hw_eu zip after the B161 zip (and maybe do a factory reset after that for the sake of it).
Your apps and files are already gone, so no way to save that. Hope your phone gets back to working order soon enough.
Click to expand...
Click to collapse
Thnx mate ill try tommorow and let you know how it went. For now its sleepy time
JHD94 said:
If your phone is VNS-L31C432, then try these methods:
1. In bootloader "fastboot boot TWRP_Recovery.img"
this should boot you into twrp without flashing it, from there flash B161_update.zip (which should be in your SD card).
(If that doesn't work, try "fastboot -c "lge.kcal=0|0|0|x" boot TWRP_Recovery.img"
haven't tried this on P9 Lite, but used to work on other phones).
2. If "fastboot flash recovery TWRP_Recovery.img" returns errors, but says bootloader unlocked, try to relock the bootloader and unlock it again.
"fastboot oem lock"
"fastboot oem unlock YOUR_CODE"
then try flashing recovery again.
Maybe also try flashing other recoveries, e.g. TWRP (which is for MM ROMs) or Revolution (which is for N ROMs) or even the stock boot.img.
3. Try the dload method wth B161 and maybe B160 - I know my P9 Lite would only accept B161 via dload, even though B370 and B360 and B130 are for the same model, those builds just wouldn't install this way.
4. Unpack B161 zip so you have update.app, extract from that boot.img, recovery.img and system.img.
Then do:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Some of these methods might work, some won't but from my two experiences of bricking the P9 Lite, one of the four fixed the issue.
If you don't know where to get the B161 zips, I can post them later.
Also, this is just to get your system to a working and bootable condition. If you want to get back to full-fledged MM, you will also need to install the hw_eu zip after the B161 zip (and maybe do a factory reset after that for the sake of it).
Your apps and files are already gone, so no way to save that. Hope your phone gets back to working order soon enough.
Click to expand...
Click to collapse
thnx mate unlcoked the phone again and got into twrp happy me!!!
Follow Guide 1 from this link - https://forum.xda-developers.com/huawei-p9lite/help/unbricking-vns-l21-vns-l31-tutorial-t3583400
B130 is the perfect stock MM ROM
Hi I have a similar problem
JHD94 said:
If your phone is VNS-L31C432, then try these methods:
1. In bootloader "fastboot boot TWRP_Recovery.img"
this should boot you into twrp without flashing it, from there flash B161_update.zip (which should be in your SD card).
(If that doesn't work, try "fastboot -c "lge.kcal=0|0|0|x" boot TWRP_Recovery.img"
haven't tried this on P9 Lite, but used to work on other phones).
2. If "fastboot flash recovery TWRP_Recovery.img" returns errors, but says bootloader unlocked, try to relock the bootloader and unlock it again.
"fastboot oem lock"
"fastboot oem unlock YOUR_CODE"
then try flashing recovery again.
Maybe also try flashing other recoveries, e.g. TWRP (which is for MM ROMs) or Revolution (which is for N ROMs) or even the stock boot.img.
3. Try the dload method wth B161 and maybe B160 - I know my P9 Lite would only accept B161 via dload, even though B370 and B360 and B130 are for the same model, those builds just wouldn't install this way.
4. Unpack B161 zip so you have update.app, extract from that boot.img, recovery.img and system.img.
Then do:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Some of these methods might work, some won't but from my two experiences of bricking the P9 Lite, one of the four fixed the issue.
If you don't know where to get the B161 zips, I can post them later.
Also, this is just to get your system to a working and bootable condition. If you want to get back to full-fledged MM, you will also need to install the hw_eu zip after the B161 zip (and maybe do a factory reset after that for the sake of it).
Your apps and files are already gone, so no way to save that. Hope your phone gets back to working order soon enough.
Click to expand...
Click to collapse
Hi I have a similar problem, I know you are all busy, but please help me out. My phone(P9 Lite) L31C16 emui4.1 but I installed a firmware of L31C169 emui5.0, now I'm stuck with andriod 7 which doesn't function perfectly and I'm stuck with a boot error of "Your device has failed verification and may not work properly". Please help me out.

Nova CAN-L01, can't return to original CAN-L01c55B340 from B350 NRD90M test-keys

Hi there, I got a problem with mi Huawei Nova CAN-L01 Tim-Branded (italian)
I flashed with three buttons method a full EU firmware no-brand B350, so with "dload" folder I successfully updated both
Huawei Nova B350 CAN-L01 Nougat Update.zip
Huawei Nova B350 CAN-L01 Nougat update_data_full_CAN-L01_hw_eu.zip
at this point I faced the annoying "NRD90M test-keys" version problems (no themes applicable, no OTA, no EQ control etc etc)
then my goal was to turn back into my original stock-brandend firmware.
Thanks to "FirmwareFinder" I found both latest full OTA packages for CAN-L01C55B340. But while I try to flash the first (or anyone) of them, then suddendly update fails after 5%, with "system package error".
I also tried to flash it all in fastboot mode, so:
- unlocked bootloader
- extracted recovery.img + boot.img + system.img from first CAN-L01C55B340 and cust.img from second CAN-L01C55B340
- successfully flashed all with fastboot
- still having "NRD90M test-keys" version, still unable to manage and apply themes
at this point I also tried to re-flash stock firmware CAN-L01C55B340 with "dload" folder method, still having "update fail after 5% with package error".
I managed those solutions taking a look at the thread CAN-L01 "NRD90M test-keys" problem but I can't find a fix for my problem.
Would it be necessary taking some actions with TWRP? Or what?
Thank you all in advance for your suggestions!
Update: I finally ended up with dc unlocker solution.
Flashed through fastboot-mode both files of original B340 stock Tim-branded firmware.
Now my system is again with the right built number, without "NRD90M test-keys".
But I'm facing some problems beside
- I still can't perform a flash of both original B340 packages via "dload" method (again, after 5% shows me up "wrong package")
- In eRecovery mode I tryed to download and restore system via Wi-fi, also there I got error on package
- My Bootloader is unlocked, even if I try to relock with "fastboot oem relock MY_CODE_NUMBER", I got the device prompt asking me if I wanna relock and perform a factory reset, I proceed with "YES" but the device simply reboots without relocking with shell prompt error FAILED (remote: write oeminfo fblock stat info fail, error num:13)

Huawei p9 hardbrick, cannot resolve the problem

Hello mates!
Yesterday I accidentally bricked my phone and I spent ours and ours on this and others forums to find solution but without succes, so here is what was happen:
I was on L21C432B380 firmware, stock, bootloader locked, without root acces. So I tried to flash ROM 7.1.2 AOSP by Meticulus. I followed step by step guide. I succesfully unlocked bootloader using fastboot. Then I flashed TWRP again using fastboot so I can downgrade to EMUI 4.X and that was succesfull also. After that I flashed oem-info using TWRP and flashed stock UPDATE.ZIP using three button method, both succesfully but when phone tried to boots up It shows message "No OS installed".
My entire system and data was deleted, there is no recovery, bootloader is again locked, I have only managed to get into fastboot mode using adb
Every single command I tryed to run in cmd results in this message: "FAILED (remote: Command not allowed)
Somehow I need to install Firmware using fastboot but don't know how cause bootloader is again locked
My knowledge about this things is above average but I cannot "google" the problem
Please help and thanks in adavnce
Tomislav Veličanstveni said:
Hello mates!
Yesterday I accidentally bricked my phone and I spent ours and ours on this and others forums to find solution but without succes, so here is what was happen:
I was on L21C432B380 firmware, stock, bootloader locked, without root acces. So I tried to flash ROM 7.1.2 AOSP by Meticulus. I followed step by step guide. I succesfully unlocked bootloader using fastboot. Then I flashed TWRP again using fastboot so I can downgrade to EMUI 4.X and that was succesfull also. After that I flashed oem-info using TWRP and flashed stock UPDATE.ZIP using three button method, both succesfully but when phone tried to boots up It shows message "No OS installed".
My entire system and data was deleted, there is no recovery, bootloader is again locked, I have only managed to get into fastboot mode using adb
Every single command I tryed to run in cmd results in this message: "FAILED (remote: Command not allowed)
Somehow I need to install Firmware using fastboot but don't know how cause bootloader is again locked
My knowledge about this things is above average but I cannot "google" the problem
Please help and thanks in adavnce
Click to expand...
Click to collapse
Hello man,
Dont know why u do that (downgrade to MM)...
Explicitly written for flash AOSP 7.1.2 to be on emui5 (were u was)...
Flashing oem also relocked your bootloader (written ton of times in threads)....
Now using fastboot re-unlock bootloader re-flash TWRP.
If u maked a full backup just use it, otherwise try to follow this guide..
https://forum.xda-developers.com/showpost.php?p=73619842&postcount=44
Hope u will resolve.
Regards

Categories

Resources