I can't relock my mate20pro - Huawei Mate 20 Pro Questions & Answers

I unlocked my mate20 pro, but problem is now i can't relock it , even I use "fastboot oem relock +unlock code"
anybody can help ?

have you tried fastboot oem lock?
you don't have to specify the code

i just tried also and cannot lock

Daniehabazin said:
have you tried fastboot oem lock?
you don't have to specify the code
Click to expand...
Click to collapse
still can't relock..................wait for solution

richard_li said:
still can't relock..................wait for solution
Click to expand...
Click to collapse
Refer to my post here ?
https://forum.xda-developers.com/ma...ocking-bootloader-magisk-root-t3885422/page22

I accidentally relocked the phone by using the hstool method of flashing a full firmware.
it does relock the phone and required me to unlock it again using the fastboot oem unlock code

xeroxide said:
I accidentally relocked the phone by using the hstool method of flashing a full firmware.
it does relock the phone and required me to unlock it again using the fastboot oem unlock code
Click to expand...
Click to collapse
That's interesting. So all your data was wiped when you used the hstool?
Someone else said flashing firmware via dload method also relocks the bootloader.

hmm i'm not sure.
I'll explain the whole situation.
I had just unlocked the bootloader and installed magisk.
after installing magisk, I installed a few modules, one of which made my phone bootloop.
I managed to get back into fastboot mode, use hstool to select my firmware (224) along with the patched hisuite from funkyhuawei.
after my phone recovered, it seems to have been completely reset and locked.
*edit*
I guess I should also add, I've never installed TWRP on this phone, only patched the recovery_ramdis.img for Magisk

xeroxide said:
hmm i'm not sure.
I'll explain the whole situation.
I had just unlocked the bootloader and installed magisk.
after installing magisk, I installed a few modules, one of which made my phone bootloop.
I managed to get back into fastboot mode, use hstool to select my firmware (224) along with the patched hisuite from funkyhuawei.
after my phone recovered, it seems to have been completely reset and locked.
*edit*
I guess I should also add, I've never installed TWRP on this phone, only patched the recovery_ramdis.img for Magisk
Click to expand...
Click to collapse
After locking, can you use the same code to unlock it again ?

EagleEye92 said:
After locking, can you use the same code to unlock it again ?
Click to expand...
Click to collapse
Yes sure

EagleEye92 said:
After locking, can you use the same code to unlock it again ?
Click to expand...
Click to collapse
Yes

ok just an update, while mucking around I accidentally softbricked my phone.
I used the external usb method (where you update using the code *#*#​2846579#*#*) and it 100% relock the phone.
*edit*
and yes, the same code works to unlock it again. KEEP THE CODE SAFE!

xeroxide said:
ok just an update, while mucking around I accidentally softbricked my phone.
I used the external usb method (where you update using the code *#*#​2846579#*#*) and it 100% relock the phone.
*edit*
and yes, the same code works to unlock it again. KEEP THE CODE SAFE!
Click to expand...
Click to collapse
Can you say me something about the usb method? dont know, what this is. :silly:

ClintP said:
Can you say me something about the usb method? dont know, what this is. :silly:
Click to expand...
Click to collapse
You need an external usb-c drive with some firmware on it.
I initially used v187 from this thread
https://forum.xda-developers.com/mate-20-pro/how-to/firmware-update-187-brings-oem-unlock-t3897301
Since then I downloaded a v206 which works over USB but I cannot recall where I got it from.
Note that you will loose all user data since the phone will be fully wiped.
Also this method requires a phone that is working, as in able to boot and access the dialer and menus.
If I find out where I got the v206 I will post it here as well.
I should also add, maybe it might work with a memory card as well... But this method requires an external source for the firmware since it formats the entire phone

@ xeroxide Thx for your help.
I Try this at the weekend.

If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!

deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
Now it works well... i relocked my phone..........but i don't know why i failed last time because i followed exactly the steps...

deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
richard_li said:
Now it works well... i relocked my phone..........but i don't know why i failed last time because i followed exactly the steps...
Click to expand...
Click to collapse
it means now relocked and problem solved.........

deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
this worked for me thanks loads!

Related

stuck in bootloader....HELP

I'm selling my DNA, I tried to factor lock it back after unlocking it...it wont boot into the operating system. It loops into the bootloader with a message that says SECURITY WARNING, TAMPERED
how do I fix this issue?
obededom said:
I'm selling my DNA, I tried to factor lock it back after unlocking it...it wont boot into the operating system. It loops into the bootloader with a message that says SECURITY WARNING, TAMPERED
how do I fix this issue?
Click to expand...
Click to collapse
did you flash a recovery?
if not flash a recovery though fastboot
go into recovery and flash a rom
MustafaHadaKing said:
did you flash a recovery?
if not flash a recovery though fastboot
go into recovery and flash a rom
Click to expand...
Click to collapse
Yes I did install a Custom recovery
Can I still use it? It's saying the phone is locked
Do I need to try to unlock again?
Beating head against the wall currently.
If one of you guys get me out of this lll name my next son after you
obededom said:
Beating head against the wall currently.
If one of you guys get me out of this lll name my next son after you
Click to expand...
Click to collapse
did you flash RUU before relocking?
MustafaHadaKing said:
did you flash RUU before relocking?
Click to expand...
Click to collapse
I'm thinking I should have done that, huh?
No, didn't.
What can I do?
Beating head still
re unlock flash recovery , rom etc then flash back to factory then relock
crackeyes said:
re unlock flash recovery , rom etc then flash back to factory then relock
Click to expand...
Click to collapse
Reunlock through adb/fastboot way I did it the first time?
obededom said:
Reunlock through adb/fastboot way I did it the first time?
Click to expand...
Click to collapse
Just reflash the unlock code.bin file.
Sent from my HTC6435LVW using xda app-developers app
worked...
you guys are wizards
so...from this unlocked phone, can I just flash the RUU, boot it and then relock it?
obededom said:
so...from this unlocked phone, can I just flash the RUU, boot it and then relock it?
Click to expand...
Click to collapse
yes follow the steps on this thread
http://forum.xda-developers.com/showthread.php?t=2017525
(1) Flash RUU
(2) Turn Phone Completely Off
(3) Hold Volume Down Key and Power to Restart to Fastboot
(4) Reflash your Unlock Token (the original one sent from HTC during initial Unlock)
(5) Enter "Yes" at Unlock Warning - System will not Restart
(6) After Restart, Shut Phone Down Completely Again
(7) Reboot into Fastboot and Check your Lock Status - Should now say "Unlocked"
(8) Flash Unlocked Kernel & Recovery Again
(9) Profit

How to check bootloader unlock?

Dear all,
Merry Xmas and Happy New Year
I am new to oneplus x.
I rooted using this method i. e. Without PC.
http://forum.xda-developers.com/oneplus-x/general/guide-root-oneplus-x-twrp-pc-t3251027
Then I use flashify (app from appstore) to flash TWRP.
https://play.google.com/store/apps/...ify&pcampaignid=APPU_1_7mN_VrODMMivmAXCwJnoDg
http://forum.xda-developers.com/one...recovery-twrp-2-8-7-0-touch-recovery-t3252840
Then i flash blu_a Kernel.
http://forum.xda-developers.com/oneplus-x/orig-development/kernel-t3250995
How can i check if my bootloader is unlocked? For other phones, my understanding is that as long as u can flash twrp, bootloader is unlocked.
I think you can only check that with the adb tools on your computer.
Command to check bootloader status: fastboot oem device-info
Click to expand...
Click to collapse
source: https://forums.oneplus.net/threads/bootloader-status-check.52167/#post-2382799
I thought the bootloader needed to be unlocked first before flashing a custom recovery??
At OP, when you flash TWRP via flasify, did you run into any problems??
Just curious really.
Mojar7070 said:
I thought the bootloader needed to be unlocked first before flashing a custom recovery??
At OP, when you flash TWRP via flasify, did you run into any problems??
Just curious really.
Click to expand...
Click to collapse
Maybe i am daring
No issues. Used for few days
My Kernel is flashed via TWRP. I did backup too. No issues
knauji said:
I think you can only check that with the adb tools on your computer.
source: https://forums.oneplus.net/threads/bootloader-status-check.52167/#post-2382799
Click to expand...
Click to collapse
I have issues with drivers for my windows. Have Samsung s2, Asus Zenfone 2 all installed so i use the root without pc method. I suspect my bootloader is unlocked as i can flash twrp.
Any master has any idea?
Gosh... Seems like no one has the answer. Need to check via PC.
You have to go to setting / about phone / 7 times on build number to unlock dev options/
Then settings / dev options
5th line is OEM unlock.
How is yours?
Kéno40 said:
You have to go to setting / about phone / 7 times on build number to unlock dev options/
Then settings / dev options
5th line is OEM unlock.
How is yours?
Click to expand...
Click to collapse
I manually did that before all the process in my 1st post.
I think this is to allow u to unlock, not unlocking the bootloader per se.
with adb/PC ? isn't it ?
check status of bootloader
first go to fastboot mode
first power off the device than Hold Volume Up while Power on the phone
than in adb type: fastboot oem device-info
there it should be flagged as true
My opx was unlocked, installed twrp, now.... Back to stock ROM and bootloader now is locked and i cannot unlocked,
What can i do?
Thx
bébé53 said:
with adb/PC ? isn't it ?
Click to expand...
Click to collapse
I know but my laptop fails to install adb driver for oneplus x because i have too many phones installed. I uninstalled all drivers and tried installing oneplus x one but it fails.
simarjits said:
first go to fastboot mode
first power off the device than Hold Volume Up while Power on the phone
than in adb type: fastboot oem device-info
there it should be flagged as true
Click to expand...
Click to collapse
As per above. I have driver issues on my laptop.
overon37 said:
My opx was unlocked, installed twrp, now.... Back to stock ROM and bootloader now is locked and i cannot unlocked,
What can i do?
Thx
Click to expand...
Click to collapse
Based on my understanding, once unlocked, its difficult to lock back. If its lock now, i doubt you are unlocked at 1st place. Pleaae correct me if i am wrong.
Yes. You are wrong.
I have twrp, so i unlocked, but now, i do not know how is locked, because i didnt, and when i try fastboot oem unlock.... No errors but nothing happend.
When i flashed twrp and try cm 13 i flashed, from twrp, the stock zip, 2.1.3.x
And now say that is locked, and.... Never unlocked
PD. never rooted, but when i flashed yesterday CM 12.1, when i restarted my opx to system from recovery do not ask for root from twrp ¿?, when i flashed stock zip, asked me to root from twrp when i restart to system ¿?
Tiongkia said:
As per above. I have driver issues on my laptop.
Click to expand...
Click to collapse
You have to install adb and fastboot drivers before executing the commands . you can download from here http://forum.xda-developers.com/showthread.php?t=2317790
Cheers :good:
simarjits said:
You have to install adb and fastboot drivers before executing the commands . you can download from here http://forum.xda-developers.com/showthread.php?t=2317790
Cheers :good:
Click to expand...
Click to collapse
As mentioned, i cannot. I tried all methods. I installed too my adb driver on my laptop
Tiongkia said:
As mentioned, i cannot. I tried all methods. I installed too my adb driver on my laptop
Click to expand...
Click to collapse
did you try the Windroid Tool that is here on xda?

Relocking Bootloader

Hi guys,
I got a bootloader unlocked ANE-LX2J and I want to lock it again but I dont know the next step.
I still have the bootloader unlock code and already flashed FULL OTA using TWRP and did factory reset.
So now, my P20 Lite is running pure stock again and ready to be locked right? or still not lol :silly:
Based on what I read here, after relocking bootloader using fastboot oem relock command, the warning/alert that shows when the device is booting is still there and I want to get rid of it.
Thanks :highfive:
RalphXVIII said:
Hi guys,
I got a bootloader unlocked ANE-LX2J and I want to lock it again but I dont know the next step.
I still have the bootloader unlock code and already flashed FULL OTA using TWRP and did factory reset.
So now, my P20 Lite is running pure stock again and ready to be locked right? or still not lol :silly:
Based on what I read here, after relocking bootloader using fastboot oem relock command, the warning/alert that shows when the device is booting is still there and I want to get rid of it.
Thanks :highfive:
Click to expand...
Click to collapse
Yes, you're ok to relock your bootloader if all partition and recovery are stock and your device is working without issues. After relock the recovery will do Factory Data Reset and no more warnings "your device has been unlocked and can't be trusted"
Boot into Fastboot&Rescue Mode and use this command:
Code:
fastboot oem relock [I][B]yourcode[/B][/I]
Then you enter into Lock Bootloader menu and just follow the instructions.
YES -
NO -
kilroystyx said:
Yes, you're ok to relock your bootloader if all partition and recovery are stock and your device is working without issues. After relock the recovery will do Factory Data Reset and no more warnings "your device has been unlocked and can't be trusted"
Boot into Fastboot&Rescue Mode and use this command:
Code:
fastboot oem relock [I][B]yourcode[/B][/I]
Then you enter into Lock Bootloader menu and just follow the instructions.
YES -
NO -
Click to expand...
Click to collapse
Does the Lock Bootloader menu will automatically show after relock command? I'll give it a shot later. Thanks :highfive:
RalphXVIII said:
Does the Lock Bootloader menu will automatically show after relock command? I'll give it a shot later. Thanks :highfive:
Click to expand...
Click to collapse
Yes, if your code is correct.
If my phone was rooted, will relocking the bootloader unroot it?
GJonas said:
If my phone was rooted, will relocking the bootloader unroot it?
Click to expand...
Click to collapse
it will show a red text saying your system has been tampered with and turn off..
you will need to restore a completly stock rom with sdcard before you can boot the phone.

Reset factory stuck at 0%

Hello,
I can't enable the oem unlock from developer options, i understand that i have to do a factory reset. When i do it, it stuck at 0%, i let it all the day. If someone can help me please
kaoutar19 said:
Hello,
I can't enable the oem unlock from developer options, i understand that i have to do a factory reset. When i do it, it stuck at 0%, i let it all the day. If someone can help me please
Click to expand...
Click to collapse
Please, someone can help me ? i am bloqued
kaoutar19 said:
Please, someone can help me ? i am bloqued
Click to expand...
Click to collapse
Hallo there
Just a few questions first, are you trying to reset factory settings through the phone settings app or are you trying trough eRecovery?
Cheers,
AS
ars_chelsea said:
Hallo there
Just a few questions first, are you trying to reset factory settings through the phone settings app or are you trying trough eRecovery?
Cheers,
AS
Click to expand...
Click to collapse
Thank you. I tried to reset through the setting and through eRecovery, for both, the reset stuck at 0%. Bootloader is unlocked, FRP is locked. I can't toggle the button to enable OEM unlocking.
Are you using phone with working sim, or without? Why I ask about sim? If not working sim card, then a lot phones will not give OEM unlock option, once it was for me with Sony phone, after I inserted sim needet to wait weak and only then OEM unlock option was accessable.
What are your phone full model ? Like, ane-lx1c432b166
Arnys said:
Are you using phone with working sim, or without? Why I ask about sim? If not working sim card, then a lot phones will not give OEM unlock option, once it was for me with Sony phone, after I inserted sim needet to wait weak and only then OEM unlock option was accessable.
What are your phone full model ? Like, ane-lx1c432b166
Click to expand...
Click to collapse
No, when i inser the sim card, i can't activate the sim through the parameteres (Erreur activation), that's why i wanted to reset it and install new firmware.
kaoutar19 said:
No, when i inser the sim card, i can't activate the sim through the parameteres (Erreur activation), that's why i wanted to reset it and install new firmware.
Click to expand...
Click to collapse
ok, didnt give full ph0ne model, dont need, can go and find all you need yourself : from this : https://forum.xda-developers.com/hu...om-official-emui-8-0-huawei-p20-lite-t3773999
7. dload package
In this site you can search for firmware by Huawei P20 Lite or directly by your device oem name (ANNE-L01, ANNE-L03, ANNE-L21, ANNE-L22, ANNE-L23, etc...
http://androidhost.ru/search.html
Download the firmware that match with your device and unzip.
Under folder Software you will found the folder dload, copy this folder to sdcard.
Under folder ReleaseDoc you will find a Software Upgrade Guideline.docx, read it.
User data will be wiped.
Update is done with stock recovery
If your Bootloader is currently unlocked at the end it will be changed to lock state.
i gues you have your bootloader code, you can even use older package, adn reset your phone using this dload method!!
Arnys said:
ok, didnt give full ph0ne model, dont need, can go and find all you need yourself : from this : https://forum.xda-developers.com/hu...om-official-emui-8-0-huawei-p20-lite-t3773999
7. dload package
In this site you can search for firmware by Huawei P20 Lite or directly by your device oem name (ANNE-L01, ANNE-L03, ANNE-L21, ANNE-L22, ANNE-L23, etc...
http://androidhost.ru/search.html
Download the firmware that match with your device and unzip.
Under folder Software you will found the folder dload, copy this folder to sdcard.
Under folder ReleaseDoc you will find a Software Upgrade Guideline.docx, read it.
User data will be wiped.
Update is done with stock recovery
If your Bootloader is currently unlocked at the end it will be changed to lock state.
i gues you have your bootloader code, you can even use older package, adn reset your phone using this dload method!!
Click to expand...
Click to collapse
Thank you for your answer, so i downloaded the latest version ANE-LX1 8.0.0.147(C109) Europe, copy the dload folder on sd card. Did a forced upgrade, the upgrade stuck at 5%
kaoutar19 said:
Thank you for your answer, so i downloaded the latest version ANE-LX1 8.0.0.147(C109) Europe, copy the dload folder on sd card. Did a forced upgrade, the upgrade stuck at 5%
Click to expand...
Click to collapse
Hi again
Sorry not answering earlier...But I do think Mr.Arnys is gonna take care of this. About the forced upgrade, try resetting the caches first.
Cheers,
AS
ars_chelsea said:
Hi again
Sorry not answering earlier...But I do think Mr.Arnys is gonna take care of this. About the forced upgrade, try resetting the caches first.
Cheers,
AS
Click to expand...
Click to collapse
I makes software installation failed i have custom rom Morfuz
kaoutar19 said:
I makes software installation failed i have custom rom Morfuz
Click to expand...
Click to collapse
Oh you have a custom ROM? So your bootloader is unlocked ok... In that case, install the stock recovery .img via fastboot(if you need a guide I can provide it) as soon as you can and then try to install the dload package again
Cheers,
AS
ars_chelsea said:
Oh you have a custom ROM? So your bootloader is unlocked ok... In that case, install the stock recovery .img via fastboot(if you need a guide I can provide it) as soon as you can and then try to install the dload package again
Cheers,
AS
Click to expand...
Click to collapse
Thanks for your replay . Where i can find the stock recovery .img ? The bootloader is unlocked, frp locked. I have to use the same method ? i put only the .img file on dload folder ? Thank you for your help
try to restore your phone using eRecovery, when restart phone, there are text your device unlocked cant trust, pres 3 sec volume upt o enter e recovery, enter in it, conect to wifi, download and instal stock..
Arnys said:
try to restore your phone using eRecovery, when restart phone, there are text your device unlocked cant trust, pres 3 sec volume upt o enter e recovery, enter in it, conect to wifi, download and instal stock..
Click to expand...
Click to collapse
I have getting package info failed
kaoutar19 said:
Thanks for your replay . Where i can find the stock recovery .img ? The bootloader is unlocked, frp locked. I have to use the same method ? i put only the .img file on dload folder ? Thank you for your help
Click to expand...
Click to collapse
Hallo again,
Ok so for the stock recovery you can download it on the thread by ciubi93, on this link https://mega.nz/#!SR9RzKST!dhXS0yC-p_SvWu-SYYLaop1aRFzSulLVrnSXCVVJiGI after you download this, download the fastboot adb tools - here's a link of the xda for that https://www.xda-developers.com/install-adb-windows-macos-linux/ after you did that guide from xda, copy the stock recovery into that folder and then press shift+right click of your mouse on the folder and select "open powershell window here (in case of windows 10) or in case of windows 7 (open command prompt window here)" , if you have a power shell window then power off your device then press power ON + volume down and type on the window ".\fastboot flash recovery recovery_ramdisk.img ", after this you have your stock recovery successfully reset and you can now flash the official dload package, try it via power ON + Volume down + Volume up at the same time until the huawei logo disappears and then you release.
I really hope this helps cause I tried this a lot on mine.
Cheers,
AS
error remote Command not allowed
Hello, i tried this command in the fastboot mode, i have the error remote Command not allowed.
kaoutar19 said:
Hello, i tried this command in the fastboot mode, i have the error remote Command not allowed.
Click to expand...
Click to collapse
Hi there
Yeah I forgot you have FRP locked....My bad....Anyway, can you tell me the current build you have and the one you want to install? Example: C17 8.0.0.140
Because if you try to install a different firmware which is not from your country you need to change your oem info first.
Cheers,
AS
---------- Post added at 10:47 ---------- Previous post was at 10:36 ----------
Also if you had it unlocked I assume you have the unlock code with you, in that case try this first:
Relock the bootloader using fastboot command "fastboot oem relock *codehere* " this will erase all DATA, it will do an hard reset, be sure to backup first!
After that, you can unlock the bootloader again via fastboot command "fastboot oem unlock *codehere*" and then it will unlock both bootloader and FRP
Cheers,
AS
ars_chelsea said:
Hi there
Yeah I forgot you have FRP locked....My bad....Anyway, can you tell me the current build you have and the one you want to install? Example: C17 8.0.0.140
Because if you try to install a different firmware which is not from your country you need to change your oem info first.
Cheers,
AS
---------- Post added at 10:47 ---------- Previous post was at 10:36 ----------
Also if you had it unlocked I assume you have the unlock code with you, in that case try this first:
Relock the bootloader using fastboot command "fastboot oem relock *codehere* " this will erase all DATA, it will do an hard reset, be sure to backup first!
After that, you can unlock the bootloader again via fastboot command "fastboot oem unlock *codehere*" and then it will unlock both bootloader and FRP
Cheers,
AS
Click to expand...
Click to collapse
Hm, if I'm correct, you can't unlock bootloader, if frp are locked, frp will be unlocked, when you allow OEM unlock under developer options.
Only thing there can do, connect with mofuz ROM developer to help return to stock, otherwise our suggestions will not work, because all I know is for stock emui.
But yeah, with right phone build number he shulda be able to return to stock with no problem, so, does he know what was stock emui build he had before started to play with phone..??!!
And, can download all dload packages and try them all, no harm if it fails, but maybe some will reflash system as it should be
Arnys said:
Hm, if I'm correct, you can't unlock bootloader, if frp are locked, frp will be unlocked, when you allow OEM unlock under developer options.
Only thing there can do, connect with mofuz ROM developer to help return to stock, otherwise our suggestions will not work, because all I know is for stock emui.
But yeah, with right phone build number he shulda be able to return to stock with no problem, so, does he know what was stock emui build he had before started to play with phone..??!!
And, can download all dload packages and try them all, no harm if it fails, but maybe some will reflash system as it should be
Click to expand...
Click to collapse
You can't unlock FRP when you have the booloader unlocked yes I know, but what I said is for him to relock first and then unlock it again Once he unlocks again the FRP will become unlocked, I looked into this thread for that and they also confirmed it works here's the proof if you have doughts quoting @clsA "FRP Lock occurs when the phone has a firmware mismatch and or oem unlocking is not on in developer options":
Here's the thread (check @gopinaidu77 post and then the answers after that):
https://forum.xda-developers.com/honor-5x/help/remove-frp-lock-fastboot-t3530220/page2
Cheers,
AS
ars_chelsea said:
You can't unlock FRP when you have the booloader unlocked yes I know, but what I said is for him to relock first and then unlock it again Once he unlocks again the FRP will become unlocked, I looked into this thread for that and they also confirmed it works here's the proof if you have doughts quoting @clsA "FRP Lock occurs when the phone has a firmware mismatch and or oem unlocking is not on in developer options":
Here's the thread (check @gopinaidu77 post and then the answers after that):
https://forum.xda-developers.com/honor-5x/help/remove-frp-lock-fastboot-t3530220/page2
Cheers,
AS
Click to expand...
Click to collapse
I locked and relocked the bootloader, now i can only access to the recovery or to the fastboot. In the recovery, anything i do like reset, my phone reboot again to the recovery, in the fastboot mode i can't relock the bootloader, need to access to the phone to enable developer options. I tried to do a hard reset or an update with dload, nothing work, always rebooting to the recovery. My phone is broken now

Question Relock Bootloader

Hi,
has anybody tried to relock the bootloader?!
i was a little over hasty and unlocked a device. I thought (yeah, i didnt checked it ...) if asus is offering a unlocker, it should be no big deal to lock it again.
But everything i found is for the ZF8, and all i found does not work on the ZF9.
It starts that there is no adb/sideload option in recovery nor have i found a custom recovery.
And every relock command in fastboot is not known by the fastboot environement of the ZF9...
So has anybody found a way?
thx in advance.
Matt
Has anyone found a method to close the bootloader again? I'm thinking of opening it but I'm worried that I won't find a method to close it if necessary.
zero5liters said:
Hi,
has anybody tried to relock the bootloader?!
i was a little over hasty and unlocked a device. I thought (yeah, i didnt checked it ...) if asus is offering a unlocker, it should be no big deal to lock it again.
But everything i found is for the ZF8, and all i found does not work on the ZF9.
It starts that there is no adb/sideload option in recovery nor have i found a custom recovery.
And every relock command in fastboot is not known by the fastboot environement of the ZF9...
So has anybody found a way?
thx in advance.
Matt
Click to expand...
Click to collapse
try "fastboot oem asus-csc_lk". After wipe data.
sakun-ice said:
try "fastboot oem asus-csc_lk". After wipe data.
Click to expand...
Click to collapse
i tried it but without wipe before. And that did not work.
I try it later with wipe. But i do not have hope. because most of the fastboot commands do not work on the ZF9.
I tried to read the commands out of the bootloader but with no luck ...
zero5liters said:
i tried it but without wipe before. And that did not work.
I try it later with wipe. But i do not have hope. because most of the fastboot commands do not work on the ZF9.
I tried to read the commands out of the bootloader but with no luck ...
Click to expand...
Click to collapse
If you haven't tried it, you can try it with:
-fastboot oem asus-back
-fastboot oem asus-csc_lk
-fastboot flashing lock
-fastboot flashing lock_critical
-fastboot oem lock
-fastboot oem lock_critical
-fastboot flash !frp-partition! default_key.bin
-fastboot oem asus-lock
No. Didnt work. 'Command not supported in default implemantation' All of these commands.
I did not try the *critical commands and the "frp partition". I had not time to read me in on that. And i dont want to brick the phone complete.
For what it's worth, fastboot oem asus-csc_lk worked for me. It also wiped the phone itself, I didn't have to do it manually.
schizophaser said:
For what it's worth, fastboot oem asus-csc_lk worked for me. It also wiped the phone itself, I didn't have to do it manually.
Click to expand...
Click to collapse
No,
i tried it but fastboot doesnt recognize the command.
But thanks. I now startet the "Repair" @ asus.
schizophaser said:
For what it's worth, fastboot oem asus-csc_lk worked for me. It also wiped the phone itself, I didn't have to do it manually.
Click to expand...
Click to collapse
Yeah ! works for me too
OTA update working ?
rafik25 said:
OTA update working ?
Click to expand...
Click to collapse
Doesn't seem so. 2050 was released two weeks ago and didn't show up in the updater, so I had to install it manually today.
schizophaser said:
Doesn't seem so. 2050 was released two weeks ago and didn't show up in the updater, so I had to install it manually today.
Click to expand...
Click to collapse
Same, though I expected that since I rooted.
For any one wondering how to update, just take the firmware file from ASUS's site, place it in your phone's internal storage, then either wait a few seconds for the update notification to pop up or restart your phone (you should see it then). Follow the prompts from there.
schizophaser said:
For what it's worth, fastboot oem asus-csc_lk worked for me. It also wiped the phone itself, I didn't have to do it manually.
Click to expand...
Click to collapse
This command works? Can someone give me a quick guide to close the bootloader? Right now I have twrp and magisk.
sakun-ice said:
This command works? Can someone give me a quick guide to close the bootloader? Right now I have twrp and magisk.
Click to expand...
Click to collapse
1. You can only re-lock the bootloader by going back to the stock firmware/recovery, losing twrp and magisk.
2. Re-locking the bootloader does not re-enable the OTA updates, but might help with Google Pay/SafetyNet attestation if that's broken for some reason.
3. This command works. Just flash the stock firmware and recovery, then do adb reboot bootloader and fastboot oem asus-csc_lk.
schizophaser said:
1. You can only re-lock the bootloader by going back to the stock firmware/recovery, losing twrp and magisk.
2. Re-locking the bootloader does not re-enable the OTA updates, but might help with Google Pay/SafetyNet attestation if that's broken for some reason.
3. This command works. Just flash the stock firmware and recovery, then do adb reboot bootloader and fastboot oem asus-csc_lk.
Click to expand...
Click to collapse
To flash the stock recovery is it enough to install the full zip of the stock ROM from twrp and reboot?
sakun-ice said:
To flash the stock recovery is it enough to install the full zip of the stock ROM from twrp and reboot?
Click to expand...
Click to collapse
Yes, that should be enough.
schizophaser said:
Yes, that should be enough.
Click to expand...
Click to collapse
ok, just one last question. If I have the latest version (2060.113) with TWRP, to leave everything stock what I have to flash is the zip downloaded from ASUS (also 2060.113: https://dlcdnets.asus.com/pub/ASUS/ZenFone/AI2202/ASUS_AI2202-33.0804.2060.113-kernel-src.tar.gz?model=Zenfone%209 ). I have seen that there are other ROMs called RAW, but I don't know exactly which one to install. I'm afraid that when installing the zip from that link something "non-stock" will remain installed and when closing the bootloader the smartphone won't boot.
sakun-ice said:
ok, just one last question. If I have the latest version (2060.113) with TWRP, to leave everything stock what I have to flash is the zip downloaded from ASUS (also 2060.113: https://dlcdnets.asus.com/pub/ASUS/ZenFone/AI2202/ASUS_AI2202-33.0804.2060.113-kernel-src.tar.gz?model=Zenfone%209 ). I have seen that there are other ROMs called RAW, but I don't know exactly which one to install. I'm afraid that when installing the zip from that link something "non-stock" will remain installed and when closing the bootloader the smartphone won't boot.
Click to expand...
Click to collapse
I can't say much about this. I don't think it's going to be a problem, but of course you're doing it at your own risk.

Categories

Resources