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?
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)
I've tried online guides to unlock bootloader, but messed up in some point and now I'm stuck.
1st. Download indepth test and reboot to bootloader within the app.
2nd. Tried adb devices successfully
3rd. Fastboot oem unlock nor Fastboot flashing unlock run (output: fastboot oem unlock failed "remote unknown command")
4th. Decided to make a factory reset (just becase I had to make an stupid desition)
Now I can reboot into fastboot again, because in depth test app won't install anymore. Installer says "Installation failed -An app with the same signature has already been installed"
I've unsuccessfully tried to flash stock rom from recovery but thein depth test seems to be "installed" without front user interface, also fasboot reboot bootloader get stuck in waiting for any device.
Can someone have a solution I already tried anything that comes to my mind.
Thanks.
I was able to solve the problem installing extractly the same apk.
The "fastboot oem unlock" dont work for me
What work on me 5pro is "fastboot flashing unlock"
Then flash twrp and vbmeta
To relock bootloader "fastboot flashing lock"
Source https://forum.xda-developers.com/realme-5-pro/how-to/bootloader-unlock-tutorial-t3985003
Other, might helpful source:
https://forum.xda-developers.com/realme-5-pro/development/rom-pixel-experience-t4053357
I'm trying to flash a custom Android ROM on my Huawei Y6 2018 but when i'm in fastboot mode it says:
Phone: locked
FRP: unlock
I want to know how to unlock phone because when i try to install the ROM using
fastboot flash system "system_img_name".img
it says
FAILED (remote: Command not allowed)
AFAIK Huawei decided in 2018 to generally deny unlocking their devices' bootloader. Recently, they also have stopped providing bootloader unlock code to any Huawei device.
Whyte_Real said:
I'm trying to flash a custom Android ROM on my Huawei Y6 2018 but when i'm in fastboot mode it says:
....
FAILED (remote: Command not allowed)
Click to expand...
Click to collapse
In addition of the upper response, I wanted to add that some websites pretend to be able to root/unlock your Huawei device for money. They're mostly scams so please do not go there (for your sake)
And actually there are ways (very specific tho, and patched) to brute force the bootloader unlock, but the chances that it works are slim to none. (In fact I precise that because I'm sure some will come and say "No Ur. Wrong I saw that dude do it")
Have a nice day
Nevermind I just gave up trying, I unlocked everything, even bootloader and frp, but when I go installing the .img with TWRP it does not reboot after install succeed. I gave up, thanks anyway
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 )