Zenfone 5 lock bootloader - Asus Zenfone 5 (2018, ZE620KL) Questions & Answers

Does anyone how to/if it's possible to lock the bootloader on my Zenfone 5 ZE620KL? I want my play protect certification back.

ExulVx said:
有没有人如何/是否可以在我的 Zenfone 5 ZE620KL 上锁定引导加载程序?我想要我的游戏保护认证。
Click to expand...
Click to collapse
这两个可怕的重锁码吓了我一跳,以为手机没电了。幸运的是,我找到了解决方案。你可能需要找个老股rec,跟着视频操作,不用拆机,重点解压。进入adb文件夹,生效

Boot the device into bootloader mode and try using "fastboot oem asus-lock" although I'm not 100% sure same command works on this model. Just note, if you lock your bootloader without your boot signing with your ROM, your device will boot loop. Also, you'll likely lose your data when re-locking so backing up all your data is highly recommended.

Asus official android 10 rom has a special feature: it can unlock/lock the bootloader directly from the command-line indefinitely.
1. Execute fastboot getvar secret-key-optto get the unlock token (fixed value) and record this value in a file (for example secret.txt):
C:\> fastboot getvar secret-key-opt
secret-key-opt: cOmVzgMMwUQmLuXs
Finished. Total time: 0.001s
2. Execute fastboot oem get_random_partitionto obtain the virtual partition to be flashed, each phone is different:
C:\> fastboot oem get_random_partition
(bootloader) eDJqGqlOezSA
OKAY [ 0.000s]
Finished. Total time: 0.001s
3. Execute to fastboot flash eDJqGqlOezSA secret.txt enable the trick "Unlock/Lock the bootloader indefinitely", in this example:
C:\> fastboot flash eDJqGqlOezSA secret.txt
Sending 'eDJqGqlOezSA' (0 KB) OKAY [ 0.005s]
Writing 'eDJqGqlOezSA' (bootloader) Begin to do frp unlock ...
(bootloader) FRP unlock successful !!!
OKAY [ 0.001s]
Finished. Total time: 0.013s
4. Execute to fastboot flashing get_unlock_ability check if 1 is returned (successfully enabled):
C:\> fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 1
OKAY [ 0.000s]
Finished. Total time: 0.000s
5. After successful, your ZenFone 5 can use standard Android commands to lock/unlock the bootloader (you can also frp unlock):
Unlock: fastboot flashing unlockwithfastboot flashing unlock_critical
Locked: fastboot flashing lockwithfastboot flashing lock_critical
an examination:fastboot oem device-info
C:\> fastboot oem device-info
(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: true
(bootloader) ABL Info: Q-ZE620KL202003
(bootloader) SSN: XXXXXXXXXXXXXXX
OKAY [ 0.008s]
Finished. Total time: 0.009s
Thanks to shakalaca

owais989 said:
Asus official android 10 rom has a special feature: it can unlock/lock the bootloader directly from the command-line indefinitely.
1. Execute fastboot getvar secret-key-optto get the unlock token (fixed value) and record this value in a file (for example secret.txt):
C:\> fastboot getvar secret-key-opt
secret-key-opt: cOmVzgMMwUQmLuXs
Finished. Total time: 0.001s
2. Execute fastboot oem get_random_partitionto obtain the virtual partition to be flashed, each phone is different:
C:\> fastboot oem get_random_partition
(bootloader) eDJqGqlOezSA
OKAY [ 0.000s]
Finished. Total time: 0.001s
3. Execute to fastboot flash eDJqGqlOezSA secret.txt enable the trick "Unlock/Lock the bootloader indefinitely", in this example:
C:\> fastboot flash eDJqGqlOezSA secret.txt
Sending 'eDJqGqlOezSA' (0 KB) OKAY [ 0.005s]
Writing 'eDJqGqlOezSA' (bootloader) Begin to do frp unlock ...
(bootloader) FRP unlock successful !!!
OKAY [ 0.001s]
Finished. Total time: 0.013s
4. Execute to fastboot flashing get_unlock_ability check if 1 is returned (successfully enabled):
C:\> fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 1
OKAY [ 0.000s]
Finished. Total time: 0.000s
5. After successful, your ZenFone 5 can use standard Android commands to lock/unlock the bootloader (you can also frp unlock):
Unlock: fastboot flashing unlockwithfastboot flashing unlock_critical
Locked: fastboot flashing lockwithfastboot flashing lock_critical
an examination:fastboot oem device-info
C:\> fastboot oem device-info
(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: true
(bootloader) ABL Info: Q-ZE620KL202003
(bootloader) SSN: XXXXXXXXXXXXXXX
OKAY [ 0.008s]
Finished. Total time: 0.009s
Thanks to shakalaca
Click to expand...
Click to collapse
Hello,
I can unlock my phone like you but I don't make TWRP...
For flash it was "good" but it's recovery original
and for boot in TWRP I have :
fastboot boot 'TWRP_3.3.0_ZE620KL_190428.img'
downloading 'boot.img'...
OKAY [ 0.637s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.638s
Can you help me please ?

owais989 said:
Asus official android 10 rom has a special feature: it can unlock/lock the bootloader directly from the command-line indefinitely.
1. Execute fastboot getvar secret-key-optto get the unlock token (fixed value) and record this value in a file (for example secret.txt):
C:\> fastboot getvar secret-key-opt
secret-key-opt: cOmVzgMMwUQmLuXs
Finished. Total time: 0.001s
2. Execute fastboot oem get_random_partitionto obtain the virtual partition to be flashed, each phone is different:
C:\> fastboot oem get_random_partition
(bootloader) eDJqGqlOezSA
OKAY [ 0.000s]
Finished. Total time: 0.001s
3. Execute to fastboot flash eDJqGqlOezSA secret.txt enable the trick "Unlock/Lock the bootloader indefinitely", in this example:
C:\> fastboot flash eDJqGqlOezSA secret.txt
Sending 'eDJqGqlOezSA' (0 KB) OKAY [ 0.005s]
Writing 'eDJqGqlOezSA' (bootloader) Begin to do frp unlock ...
(bootloader) FRP unlock successful !!!
OKAY [ 0.001s]
Finished. Total time: 0.013s
4. Execute to fastboot flashing get_unlock_ability check if 1 is returned (successfully enabled):
C:\> fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 1
OKAY [ 0.000s]
Finished. Total time: 0.000s
5. After successful, your ZenFone 5 can use standard Android commands to lock/unlock the bootloader (you can also frp unlock):
Unlock: fastboot flashing unlockwithfastboot flashing unlock_critical
Locked: fastboot flashing lockwithfastboot flashing lock_critical
an examination:fastboot oem device-info
C:\> fastboot oem device-info
(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: true
(bootloader) ABL Info: Q-ZE620KL202003
(bootloader) SSN: XXXXXXXXXXXXXXX
OKAY [ 0.008s]
Finished. Total time: 0.009s
Thanks to shakalaca
Click to expand...
Click to collapse
Thank you, this was really helpful!

Related

[Q] I can't flash RUU

Hi, I S-OFF my phone by alpharevx and used 4ext touch recorvery. Today I try flash RUU.
1) From goo-inside.me/stock/vivo/ruu I downloaded PG32IMG_Vivo_Gingerbread_S_HTC_WWE_2.30.405.1_Radio_20.2808.30.085AU_3805.06.03.03_M_release_199308_signed.zip,
2) renamed to PG32IMG.zip
3) copied to sdcard
4) restart phone
5) I confirm update.
And now echo this:
img: ales.nejdr.cz/incs.jpg
I try unlock bootloader from htcdev, but
Code:
[skeeve:~]$ fastboot oem get_identifier_token
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.006s]
finished. total time: 0.006s
Revolutionary doens't work, because adb doesn't work (only fastboot).
I try make golden card from this tutorial: mikesouthby.co.uk/2010/08/htc-desire-creating-goldcard-using-mac-or-linux/ , but with this I still can't flash RUU.
Now phone is brick. What can I do to turn the phone work?
I know, my english is ugly, sorry.
ales.n said:
Hi, I S-OFF my phone by alpharevx and used 4ext touch recorvery. Today I try flash RUU.
1) From goo-inside.me/stock/vivo/ruu I downloaded PG32IMG_Vivo_Gingerbread_S_HTC_WWE_2.30.405.1_Radio_20.2808.30.085AU_3805.06.03.03_M_release_199308_signed.zip,
2) renamed to PG32IMG.zip
3) copied to sdcard
4) restart phone
5) I confirm update.
And now echo this:
img: ales.nejdr.cz/incs.jpg
I try unlock bootloader from htcdev, but
Code:
[skeeve:~]$ fastboot oem get_identifier_token
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.006s]
finished. total time: 0.006s
Revolutionary doens't work, because adb doesn't work (only fastboot).
I try make golden card from this tutorial: mikesouthby.co.uk/2010/08/htc-desire-creating-goldcard-using-mac-or-linux/ , but with this I still can't flash RUU.
Now phone is brick. What can I do to turn the phone work?
I know, my english is ugly, sorry.
Click to expand...
Click to collapse
Can you access Fastboot/Recovery?
Sent from my HTC Incredible S using xda premium
When I turn on the phone booted straight to recorvery, but nothing much to do here. When connected the phone to my computer than fastboot command works, but adb don't.
Code:
[skeeve:~]$ adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
Now I tried another way, but without success.
Code:
[skeeve:~]$ fastboot erase cache
erasing 'cache'...
OKAY [ 0.171s]
finished. total time: 0.171s
[skeeve:~]$ fastboot oem rebootRUU
...
OKAY [ 0.168s]
finished. total time: 0.168s
[skeeve:~]$ fastboot flash zip Stazene/PG32IMG_Vivo_Gingerbread_S_HTC_WWE_2.12.405.7_Radio_20.2804.30.085AU_3805.04.03.22_M_release_187295_signed.zip
sending 'zip' (254241 KB)...
OKAY [ 42.201s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
FAILED (remote: 43 main version check fail)
finished. total time: 84.778s
ales.n said:
Now I tried another way, but without success.
Code:
[skeeve:~]$ fastboot erase cache
erasing 'cache'...
OKAY [ 0.171s]
finished. total time: 0.171s
[skeeve:~]$ fastboot oem rebootRUU
...
OKAY [ 0.168s]
finished. total time: 0.168s
[skeeve:~]$ fastboot flash zip Stazene/PG32IMG_Vivo_Gingerbread_S_HTC_WWE_2.12.405.7_Radio_20.2804.30.085AU_3805.04.03.22_M_release_187295_signed.zip
sending 'zip' (254241 KB)...
OKAY [ 42.201s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
FAILED (remote: 43 main version check fail)
finished. total time: 84.778s
Click to expand...
Click to collapse
You are trying to flash a RUU that is older than the last one you flashed. Please reboot into Fastboot USB mode and enter
Fastboot getvar all
And post the results here so we can help you determine which RUU you need to flash.
Solved
Solved!
Code:
[skeeve:~]$ fastboot getvar all
...
(bootloader) version-main: 2.32.1010.1
...
Then I flashed
Code:
PG32IMG_Vivo_Gingerbread_S_KT_KR_2.32.1010.1_Radio_20.2810.30.085AU_3805.06.03.16_M_release_199684_signed.zip
Although 2.32.1010.1 is probably a Korean version of the rom, but I tried it and the second attempt is OK.
All works fine! Thanks

How to lock the bootloader?

It continues saying No Valid PIV block in SP for system piv validation failed (system) Re-lock failure.
I use these commands
C:\Users\x\AppData\Local\Android\sdk\platform-tools>fastboot oem lock
...
(bootloader) FAIL: Please run fastboot oem lock begin first!
OKAY [ 0.131s]
finished. total time: 0.133s
C:\Users\x\AppData\Local\Android\sdk\platform-tools>fastboot oem lock begin
...
(bootloader) Ready to flash signed images
OKAY [ 0.247s]
finished. total time: 0.249s
C:\Users\x\AppData\Local\Android\sdk\platform-tools>fastboot oem lock
...
(bootloader) Re-Lock Failure. See display.
OKAY [ 0.536s]
finished. total time: 0.538s
I don't have any stock rom of xt1052 RETDE, anyone can help me?

Huawei P9 EVA L09 STUCK ON ERECOVERY

Im stuck on erecovery..please help..its a asia pacific version..
I recently tried to update via a sd card (dload folder etc) which went wrong..
Could someone help me please?
The last build number before doing this **** was EVA-L09C636B168
AbhishekS26 said:
Im stuck on erecovery..please help..its a asia pacific version..
I recently tried to update via a sd card (dload folder etc) which went wrong..
Could someone help me please?
The last build number before doing this **** was EVA-L09C636B168
Click to expand...
Click to collapse
Did you resolve the problem?
If not,, can you reboot to Fastboot
(switch off, connect by USB to PC, press and keep pressing Vol-, switch on)
and execute the following commands and copy back their results here, to see what the phone lists about its current status
Code:
fastboot oem get-bootinfo
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem get-build-number
fastboot oem oeminforead-SYSTEM_VERSION
hello i have the same situation and i cant fix my brother phone
how to write these commands??
---------- Post added at 01:05 PM ---------- Previous post was at 12:23 PM ----------
C:\Users\salah\Desktop\New folder\SRKToolHuawei-Lod-Chong-V2.0-20161002>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.015s]
finished. total time: 0.021s
C:\Users\salah\Desktop\New folder\SRKToolHuawei-Lod-Chong-V2.0-20161002>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.005s]
finished. total time: 0.005s
C:\Users\salah\Desktop\New folder\SRKToolHuawei-Lod-Chong-V2.0-20161002>fastboot oem get-product-model
...
(bootloader) EVA-L09
OKAY [ 0.010s]
finished. total time: 0.010s
C:\Users\salah\Desktop\New folder\SRKToolHuawei-Lod-Chong-V2.0-20161002>fastboot getvar vendorcountry
vendorcountry: hw/eu
finished. total time: 0.000s
C:\Users\salah\Desktop\New folder\SRKToolHuawei-Lod-Chong-V2.0-20161002>fastboot oem get-build-number
...
(bootloader) :EVA-L09C900B145
OKAY [ 0.011s]
finished. total time: 0.011s
C:\Users\salah\Desktop\New folder\SRKToolHuawei-Lod-Chong-V2.0-20161002>fastboot oem oeminforead-SYSTEM_VERSION
...
FAILED (remote: Command not allowed)
finished. total time: 0.012s
salah3000esam8 said:
>fastboot oem get-bootinfo
(bootloader) unlocked
>fastboot oem get-build-number
(bootloader) :EVA-L09C900B145
Click to expand...
Click to collapse
If that was your output from Fastboot showing that you're on c900 with open Bootloader, you can try this
https://forum.xda-developers.com/showpost.php?p=72153575&postcount=2
If you cannot boot to System to transfer files to SD card, you can put SD card to another Android device (as external SD) or use an adapter for PC to load to the SD cards

Moto 4x Stuck in Fastboot

Hello Guy's!
Iv'e got a Moto x4 and wanted to install/ upgrade to Android Pie. With locked bootloder and original stock rom.
I get a failed and permission denied message in the command prompt.
No i am stuck in a fastboot loop.
I can't ven go to the recovery mode, all i do a allway get back to the fastboot screen.
This moto is the retail 1900-7 version.
Any help would be appreciated!
Thank You!
Do you have acctual Motorola drivers? Commends are correct, this is drivers problem in my opionion. What happens if you type in fastboot while phonw is connected- fastboot device
I have all the drivers installed. But I also got into this situation.
How could this even happen with a locked bootloader?
I tried to unlock the bootloader with the received code, but I did not succeed.
Bilbaobao said:
Do you have acctual Motorola drivers? Commends are correct, this is drivers problem in my opionion. What happens if you type in fastboot while phonw is connected- fastboot device
Click to expand...
Click to collapse
With "fastboot devices" it is recoginised correctly.
retaras said:
I have all the drivers installed. But I also got into this situation.
How could this even happen with a locked bootloader?
I tried to unlock the bootloader with the received code, but I did not succeed.
Click to expand...
Click to collapse
I should have enable the bootloder unlock in dev. options but didn't...
Because the guide i followed was with locked bootloader to upgrade to Pie.
I did not reicive an ota to pie, so i was stuck on 8.0 oktober patch.
The only command that was suxessfull was: fastboot flash partition gpt.bin
Is there any chanche to reverse this command?
Everything else was denied by bootloder prmission.
So actually i think there souldn't be much damage here, or am i wrong...
added: "fastboot getvar all" image to 1st post
Check this thread: https://forum.xda-developers.com/moto-x4/help/fastboot-longer-t3899010
I don't know what ROMs there are for XT1900-7, but I'm sure they're around.
dougo007 said:
Check this thread: https://forum.xda-developers.com/moto-x4/help/fastboot-longer-t3899010
I don't know what ROMs there are for XT1900-7, but I'm sure they're around.
Click to expand...
Click to collapse
Thank you!
Going to try this. :good:
Well, after a bunch of hours i found a soluion...
See command promt:
PS C:\adb> fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.001s
PS C:\adb> fastboot oem fb_mode_set
...
OKAY [ 0.010s]
finished. total time: 0.010s
PS C:\adb> fastboot continue
resuming boot...
OKAY [ 5.330s]
finished. total time: 5.333s
PS C:\adb> fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.002s
PS C:\adb> fastboot oem fb_mode_set
...
OKAY [ 0.009s]
finished. total time: 0.010s
PS C:\adb> fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (37 KB)...
OKAY [ 0.002s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
OKAY [ 0.113s]
finished. total time: 0.118s
PS C:\adb> fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (9520 KB)...
OKAY [ 0.215s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.257s
PS C:\adb> fastboot oem fb_mode_clear
...
OKAY [ 0.003s]
finished. total time: 0.003s
PS C:\adb>

huawei p30 pro - dead - no startup

the phone have:
- locked bootloader.
- frp on
- acces to fastboot, erecovery ()cant use dload method )
fastboot info
C:\adb>
C:\adb>fastboot oem oeminforead-PRELOAD_VERSION
...
(bootloader) :VOG-AL10-PRELOAD 9.1.0.12(C00R1)
OKAY [ 0.015s]
finished. total time: 0.016s
C:\adb>fastboot oem oeminforead-PRELOAD_VERSION
...
(bootloader) :VOG-AL10-PRELOAD 9.1.0.12(C00R1)
OKAY [ 0.022s]
finished. total time: 0.026s
C:\adb>fastboot oem oeminforead-CUSTOM_VERSION
...
(bootloader) :VOG-AL10-CUST 9.1.0.160(C00)
OKAY [ 0.020s]
finished. total time: 0.024s
C:\adb>fastboot oem oeminforead-BASE_VERSION
...
(bootloader) :VOG-LGRP1-CHN 9.1.0.162
OKAY [ 0.015s]
finished. total time: 0.017s
hisuite dont have any update, funkyhuawei - same problem.
erecovery dont find any support.
Thanks

Categories

Resources