Huawei: (P9 Lite) How to relock bootloader incase you're having problems. - Huawei P9 Lite 2017 (General)

how to relock the bootloader:
First of all you're gonna need:
- A PC/Android SDK/ADB Toolkit
- An android with an unlocked bootloader
- A usb cable connected to the device
I made this thread because I had the same problem but I found a way to fix it! I was trying to load into a corrupted recovery and it kept being stuck on the "Your device is unlocked and cant be trusted, your device is booting now" thingy, but I found my way out and it's really easy!
Tutorial:
Steps:
- 1: Hold the power button down till your phone shuts down and re-open by also holding down the "volume-down" key, so it loads into fastboot.
- 2: Go onto your pc/mac (cmd/terminal) and type the command "fastboot oem relock <your unlock number>". Then it should be something like this:
fastboot oem relock <your unlock number>
(bootloader) The device will reboot and do factory reset...
OKAY [ 15.785s]
finished. total time: 15.785s
Click to expand...
Click to collapse
To get your "unlock number" take a look at this:
-We get our Unlock Code for Bootloader, write it somewhere !-
^^^ This is on the emui website = emui . com
(XDA doesnt allow me to add a picture of what I mean because I'm a new user )
If you need more help, leave a comment below! :good::laugh:

Why i got this message that say failed?

Related

Stuck after unlocking bootloader?

Hi everyone,
Today I decided to root my Mate 9.
I started out with turning 'OEM unlock' on and usb debugging. With ADB installed and the huawei drivers, I began to unlock my bootloader. On the 'EMUI Huawei' homepage I filled out my device details and obtained an unlock code. I opened ADB and checked with 'adb devices' if my device was there. It was. So I continued with typing 'adb reboot bootlader'. After that I typed 'fastboot devices'. My device was still showing up. I typed 'fastboot oem unlock CODE (with the code). On my screen I pressed 'Yes'. Bootloader unlocked.
After this step I tried to flash twrp with the command 'fastboot flash recovery xxxx.img'. I couldn't continue because every adb/fastboot command keeps failing (remote: command not allowed). Now when I boot up my phone it shows 'your device has been unlocked and can't be trusted'. Phone=unlocked, FRP=locked. I can't do anything.
Device: Mate 9 L29C432B198
What did I do wrong or what did I missed? :crying:
I had this issue at first to had to redownload the original rom via the phone recovery this will fix the frp lock then u have to unlock and flash twrp 3.1.01 that is linked in the threads on here
Did it format after it unlocked?
You can try fastboot oem relock UNLOCKCODE
Then go to Settings -> Dev options -> enable OEM Unlocking
Then unlock again.
It probably will fail though if FRP is locked, but worth a shot.
Edit: It's supposed to say
PHONE Unlocked FRP Unlock

FRP LOCK in Bootloop there is a solution?

brick my Huawei p20 now with frp locked already tried the command "C: \ Users \ ANDRE> fastboot oem frp-unlock Q9QG9UMJ6P1WR5JL"
...
(bootloader) The device will reboot and do factory reset ...
OKAY [4.446s]
finished. total time: 4.452s "
Ps* Q9QG9UMJ6P1WR5JL is code for unlock my frp
The cell phone restarts, it resets the error and when I enter fastboot again the FRP appears again, is there any solution to this?
Hope I can help you. Please try the following steps and let us know if it works for you:
1. In fastboot, use command "fastboot oem relock Q9QG9UMJ6P1WR5JL". It should do a factory reset and bring you back to stock ROM
2. After booting into stock ROM, activate developer options
3. In developer options, activate OEM unlocking option (i.e. enable OEM unlock)
4. Reboot the phone into fastboot mode and use the command "fastboot oem unlock Q9QG9UMJ6P1WR5JL". to unlock the bootloader. The lock statuses should be changed to:
Phone: unlocked
FRP: unlocked
6. Factory reset and reboot and you should be good.
owichiu said:
Hope I can help you. Please try the following steps and let us know if it works for you:
1. In fastboot, use command "fastboot oem relock Q9QG9UMJ6P1WR5JL". It should do a factory reset and bring you back to stock ROM
2. After booting into stock ROM, activate developer options
3. In developer options, activate OEM unlocking option (i.e. enable OEM unlock)
4. Reboot the phone into fastboot mode and use the command "fastboot oem unlock Q9QG9UMJ6P1WR5JL". to unlock the bootloader. The lock statuses should be changed to:
Phone: unlocked
FRP: unlocked
6. Factory reset and reboot and you should be good.
Click to expand...
Click to collapse
Thank you very much for your attention.
Come on: Code Q9QG9UMJ6P1WR5JL is FRP unlocking. To unlock Bootloader the code is T1JR94CJQLNOWMIA
"C:\Users\ANDRE>fastboot oem relock T1JR94CJQLNOWMIA
...
FAILED (remote: stat not match)
finished. total time: 0.007s"
"C:\Users\ANDRE>fastboot oem unlock T1JR94CJQLNOWMIA
...
(bootloader) Necessary to unlock FRP!
(bootloader) Navigate to Developer options, and enable "OEM unlock"!
FAILED (remote: Command not allowed)
finished. total time: 0.022s"
Unfortunately the phone this brick, does not start the system only in fastboot and erecovery (which does not work) so I understood I need to unblock the frp to be able to perform the other task to revive my phone but when I run the "fastboot oem frp-unlock Q9QG9UMJ6P1WR5JL" everything that I have already reported in the first topic
Sorry I can't help you further but seems like your case is similar to this: https://forum.xda-developers.com/mate-10/how-to/help-bootloader-locked-frp-locked-boot-t3748976
how did you got the frp code,i just know the bootloader code。
chm1989627 said:
how did you got the frp code,i just know the bootloader code。
Click to expand...
Click to collapse
Buy on ebay
owichiu said:
Sorry I can't help you further but seems like your case is similar to this: https://forum.xda-developers.com/mate-10/how-to/help-bootloader-locked-frp-locked-boot-t3748976
Click to expand...
Click to collapse
Yes, this case was solved with DC-unlocker, it turns out they still do not support p20 = /
now, i just save my phone ,this is my way,
-1,you need have dc-phoenix account ,
-2,you need to download a full fireware package just like update-sd.zip(not firmware finder)
-3,unzip fw,open dc,in update file select upsate.app and customization file select clt~l29~hw~spcseas(the small package also in the unzip file )
-4,power off you phone,connect your phone to pc and hold vol +and vol - the phone will appear installing update 5% ,
-5 now press dc update in the below sides ,soft will begain flash file,you will waitting foe about 20min's,then your phone will be ok.
(sorry for my poor english)
chm1989627 said:
now, i just save my phone ,this is my way,
-1,you need have dc-phoenix account ,
-2,you need to download a full fireware package just like update-sd.zip(not firmware finder)
-3,unzip fw,open dc,in update file select upsate.app and customization file select clt~l29~hw~spcseas(the small package also in the unzip file )
-4,power off you phone,connect your phone to pc and hold vol +and vol - the phone will appear installing update 5% ,
-5 now press dc update in the below sides ,soft will begain flash file,you will waitting foe about 20min's,then your phone will be ok.
(sorry for my poor english)
Click to expand...
Click to collapse
Thank you very much for your help, but now I have to send my phone to technical assistance because I could not get it, if someone can use this method leave us a feedback
Huawei p20 frp unlock
Huawei p20 frp unlock
Hi if your needing to bypass the frp lock on your huawei because someone factory reset it and forgot the google id do a Google search on huawei p20 frp bypass, scroll down until you come to mobileheadlines website. They had shortcut maker app download and full instructions on how to bypass it, it worked for me no probs, aslo there is a great video by hard reset ablout frp bypassing on the p20 on you tube. Hope this helps u out dave b...
P20 Pro is bricked as well... (Need help)
I was driving in the car using google maps when all of a sudden my phone started to reboot, and got stuck in a boot loop... I haven't rooted or installed any ROMs on this device at all so I have no idea what triggered it to reboot or even get stuck in boot loop. I have it connected to my computer and have the "FASTBOOT&RESCUE MODE" screen pulled up and I can talk to it through ADB, but I have no idea where to go from here, I've been trying to follow many different threads but I cant seem to find a solution that works for me... Anyone please help!
On the "FASTBOOT&RESCUE MODE" screen it's displaying "Phone Locked" and "FRP Lock" I haven't found any tutorials on how to bypass the FRP lock for this device (While being stuck in a bootloop).
So far I've used fastboot commands
---------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\Arons Acer\Desktop\minimal_adb_fastboot_1.4.3_portable>fastboot devices
WCR7N18709000661 fastboot
C:\Users\Arons Acer\Desktop\minimal_adb_fastboot_1.4.3_portable>
---------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\Arons Acer\Desktop\minimal_adb_fastboot_1.4.3_portable>fastboot oem lock
...
FAILED (remote: Command not allowed)
finished. total time: 0.012s
---------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\Arons Acer\Desktop\minimal_adb_fastboot_1.4.3_portable>fastboot oem unlock
...
(bootloader) Necessary to unlock FRP!
(bootloader) Navigate to Developer options, and enable "OEM unlock"!
FAILED (remote: Command not allowed)
finished. total time: 0.020s
Drekko said:
brick my Huawei p20 now with frp locked already tried the command "C: \ Users \ ANDRE> fastboot oem frp-unlock Q9QG9UMJ6P1WR5JL"
...
(bootloader) The device will reboot and do factory reset ...
OKAY [4.446s]
finished. total time: 4.452s "
Ps* Q9QG9UMJ6P1WR5JL is code for unlock my frp
The cell phone restarts, it resets the error and when I enter fastboot again the FRP appears again, is there any solution to this?
Click to expand...
Click to collapse
Where can i get my FRP key???? I don't mind paying but so far nobody has been able to get me one for my Huawei P20 Pro (L29)

Bring it back to life! Unbrick the brick

Hey there, first of all I just signed up at this forum but know and love it for a long time, so please bare with me if I make some formal mistakes.
But to the Problem.
I think I played a little bit too much with my old Honor 8 FRD L09 and wiped a little bit too much but basically now it's stuck in boot (where the blue Honor logo is) and doesn't boot further.
Can go into fastboot ( Phone Unlocked, FRP Lock)
Can't go into Twrp or maybe I just don't know how (I could go into TWRP yesterday but then I did something and now I can't)
Can go into Huawei eRecovery but everytime I try to recover I get the errorcode "getting package info failed"
I don't know what version of Android is on there but I didn't do systemupdate for a long time so I think it can be as low as Android 5.X.X if thats possible ^^
When I connect with ADB devices the list of devices is empty
When I do fastboot flash recovery it give me:
C:\Users\user\Downloads\platform-tools>fastboot flash recovery_ramdisk RECOVERY-V2.img
Sending 'recovery_ramdisk' (9100 KB) OKAY [ 0.223s]
Writing 'recovery_ramdisk' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
So yeah, I honestly don't know further and all the other Threads here to recover my phone didn't work (most of them say go into fastboot but the I always get the same error on every recovery image I try)
So is there a greater fate to my tried and true Honor 8 than beeing remembered as a bottleopener?
Pls fast help, thx guys
You have relocked your bootloader, because of that you can't install flash recovery. Now you should unlock bootloader in fastboot with this command: fastboot oem unlock <unlockcode>. Unlock code is the code which you use for unlocking the bootloader.
Sujanth said:
You have relocked your bootloader, because of that you can't install flash recovery. Now you should unlock bootloader in fastboot with this command: fastboot oem unlock <unlockcode>. Unlock code is the code which you use for unlocking the bootloader.
Click to expand...
Click to collapse
Bootloader should be unlocked cus every time I go into fastboot mode on my phone it says bootloader unlocked, but I'll devinitaly give it a try later when I am at my computer
When I tipe the code in I get this:
C:\Users\sarah\Downloads\platform-tools>adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
C:\Users\sarah\Downloads\platform-tools>fastboot oem unlock
< waiting for any device >
FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
I don't have the Unlock Code anymore. I tried to get it from the Huawai homepage but there I can register with my Huawai ID but I can't find the unlock code and I also don't know if it's even saved in my account on the homepage.
I also tried third party apps to unlock the bootloader, but with all the apps I used the phone has to be turned on and that is not possible
Check out my post for a fix
https://forum.xda-developers.com/ho...tion-guide-t3788129/post76469677#post76469677
if it helped you please hit thanks:good::good:
I was trying to downgrade to android 6 (FRD09), phone stucked at bootloop. Cant do anything. i just waited to let the battery died, and now i cant charge the phone. When i plug it to charger the screen is blinking with thunder image, so doesnt charge. When ı connect it to pc just on fastboot mode connecting. How can i restore this phone?

LG L Bello D335 Bootloader unlocking interrupted and show strange device code!

First I am sorry for long post because of details and my poor English.
I have a L Bello D335 running on stock Rom(updated to Lollipop via OTA) and it is unrooted.
Yesterday I tried to unlock bootloader, I typed command [fastboot oem unlock] in Fastboot mode, and my phone went to Bootloader Unlock Screen. It said to press Vol+ button to confirm unlocking bootloader or press Vol- button to cancel. I picked up the phone and press Vol+, but USB cable connection was disconnected accidently because of loose micro USB plug:crying: (that is what I've noticed after 5 minutes, it was disconnected and reconnected on moving the phone). Then phone screen stayed in Bootloader Unlock Screen and it didn't responded to pressing keys.
On computer cmd windows, after [fastboot oem unlock] it said:
FAILED (Status read failed (Too many links))
fastboot: error: Command failed
Click to expand...
Click to collapse
Then I typed command [fastboot reboot]
and it said:
Rebooting FAILED (Device sent unknown status code: e)
fastboot: error: Command failed
Click to expand...
Click to collapse
Then I typed command [fastboot devices]
and it showed strange code like:
[email protected]???^?l?l fastboot
Click to expand...
Click to collapse
I didn't check [fastboot devices] before and I don't know how the result is.
Then I've noticed loose micro USB plug and thought bootloader unlock process was interrupted.
And I disconnected phone and boot up and the phone is working well and all app/data remain like before.
But now, if I type [fastboot devices] in Fastboot mode, it is showing a strange code instead of an alphanumeric code. It is a different code every time, like:
[email protected]???*?G?G fastboot
Click to expand...
Click to collapse
(or)
[email protected]???▼?╟?╟ fastboot
Click to expand...
Click to collapse
I tried different cable and ports but always the same.
And fastboot commands [fastboot reboot], [fastboot getvar unlocked], [fastboot getvar all] are working. Bootloader is still locked. ADB command [adb devices] returns alphanumeric code.
Is it something corrupted or because of locked bootloader?
If it is corrupted,
What are the possible damages? and
How to fix it?
Thanks in Advance
Reply
You could try unlocking the bootloader again, BUT first the cable needs to be held in place with some tape (on the phone around the left display corner and back to the cable) and THEN unlock the bootloader via PC.
Good luck! :good:

I can't flash my Wiko View 3 Lite ROM (can someone help me pls? :/ )

Hello to everyone that read and thanks you for the time passing to read my problem.
First of all : this is not my native language so excuse me for my english ... :/
After that, this is my first thread ... :/
And then , i'm tryin to learn but i'm pretty newbie on computing ... :/
(i'm trying to root my phone like every newbie does first by following slowly and accurately this tutorial: https://www.getdroidtips.com/root-wiko-view-3-lite/
i'm gonna details all i did step by step but at the end cause i don't think that the problem come from here)
so after etablishing the connection between my device and the PC using a wiko usb driver
i tried to flash my Wiko View 3 Lite ROM to boot the patched "boot.img" via Minimal ADB and Fastboot V1.4.3 (latest version)
so once i enter the command : fastboot flash boot "MyPatchedBootFile".img
i got a :
Failed.(flashing lock flag is locked. Please unlock it first!)
so i should able the flashing option somehow somewere ?
i tried several fastboot command but nothing... (btw i is there a way to kow all the comandes i can do on my PC cause i see the command changing depending phones or fastboot )
that's what i have :
FAILED (remote :Not implemet.)
i'm not sure to understand what "no implemet" mean ??
I can't find any useful info exept this one unfortunately that could be the same for my phone's model :
Rooting a wiko jerry is impossible due to all fastboot commands lock the phone
On Linux: All fastboot commands lock. Particularly fastboot oem unlock or fastboot flashing unlock. After removing and re-attaching the phone to the usb port (without turning it off), the phone bec...
android.stackexchange.com
i'm continuing to look for anwsers, can someone have an idea ??
( that's what i did:
1/ i've downloaded magisk.apk's last vertion on my phone
2/ found a Wiko View 3 Lite full ROM online for the rom.pac file
3/ converted it w the SPD flash tool (i didn't really understood this step :/) : https://www.getdroidtips.com/patch-boot-img-root-spreadtrum-device/
4/ sent it to my phone
5/converted it agan via magisk.apk on my phone
6/ took it back from my computer to the same folder that i launch the ADB and fastboot comand prompt
7/last step normally :/ i should write the command: fastboot flash boot xxxxxxxxx.img and i gotstuck here ....
)
thanks again for all your help guys ))
Hakodu13 said:
...
so once i enter the command : fastboot flash boot "MyPatchedBootFile".img
i got a :
Failed.(flashing lock flag is locked. Please unlock it first!)
so i should able the flashing option somehow somewere ?
i tried several fastboot command but nothing... (btw i is there a way to kow all the comandes i can do on my PC cause i see the command changing depending phones or fastboot )
that's what i have :
FAILED (remote :Not implemet.)
i'm not sure to understand what "no implemet" mean ??
I can't find any useful info exept this one unfortunately that could be the same for my phone's model :
Rooting a wiko jerry is impossible due to all fastboot commands lock the phone
On Linux: All fastboot commands lock. Particularly fastboot oem unlock or fastboot flashing unlock. After removing and re-attaching the phone to the usb port (without turning it off), the phone bec...
android.stackexchange.com
i'm continuing to look for anwsers, can someone have an idea ??
...
Click to expand...
Click to collapse
Before trying to deal with phone's bootloader, will say running any Fastboot commands, you have to enable "OEM unlock" option in phone's Android Settings->Developer option. If done so, reboot phone. Afterwards run Fastboot commands
Code:
fastboot devices
fastboot oem unlock <- or: fastboot flashing unlock
jwoegerbauer said:
Before trying to deal with phone's bootloader, will say running any Fastboot commands, you have to enable "OEM unlock" option in phone's Android Settings->Developer option. If done so, reboot phone. Afterwards run Fastboot commands
Code:
fastboot devices
fastboot oem unlock <- or: fastboot flashing unlock
Click to expand...
Click to collapse
Hey
Thanks for your awnser,
i did it already, i've activated EOM unlock , USB debug and also desactivated the standby when the phone is plugged
also i think all fastboot command work cause i can reboot my phone using "fastboot reboot"command
fastboot devices reconize my phone
fastboot flashing unlock dosn't work
it is writed: FAILED (remote: Not implemet.)
fastboot oem unlock dosn't work,
it is writed: FAILED (remote: unknown cmd.)
something interesting is when i write fastboot "AnithingElse" unlock
it says: fastboot: usage: unknown command "AnithingElse"
and no: FAILED (remote: unknown cmd.)
like if adbandfastboot know the commannd " fastboot oem unlock " somehow but not my phone.
thanksthanksthanks again for your awnser!!!
My guess is that running Fastboot commands is denied by OEM/Carrier. And that's not wondering me because phone is based on UniSoc chipset.
AFAIK to get Fastboot working on such phones you have to request from OEM/Carrier the unlock-code as 1st thing of all things and when received have to flash it to phone.
jwoegerbauer said:
My guess is that running Fastboot commands is denied by OEM/Carrier. And that's not wondering me because phone is based on UniSoc chipset.
AFAIK to get Fastboot working on such phones you have to request from OEM/Carrier the unlock-code as 1st thing of all things and when received have to flash it to phone.
Click to expand...
Click to collapse
Ye i guessed the commands is denied on purpose
but why ? just for me not to have root acces ?
and what if i want to flash or reflash my ROM just to have back a new fresh boot ?
do a lot of phone constructor use that radical trick ?
and what is OEM/Carrier ? where can i find this ? i can't find anything online ...
merci ))
OEM is an acronym and stands for Original Equipment Manufacturer ( e.g Samsung )
Carrier is the is cell phone company that provide cellular service to cell phone users ( e.g. AT&T, Verizon )

Categories

Resources