Hi. I am trying to lock my bootloader and delete the warning of unlocked bootloader. When I try to do "fastboot flashing lock" it gives me "permission denied". I think because of "Oem Unlock". My device is Asus ZE620KL(Snapdragon)and I couldn't find anything about this. When I search only thing I could find is "how to enable on Galaxy devices". I am willing to remove only unlocked bootloader warning but "in /dev/block/bootdevice/by-name/" there is no logo file. I hoped I could at least open splash and look inside of it but I couldn't even open with any tool or extract. For any help thank you.
emincangencer said:
Hi. I am trying to lock my bootloader and delete the warning of unlocked bootloader. When I try to do "fastboot flashing lock" it gives me "permission denied". I think because of "Oem Unlock". My device is Asus ZE620KL(Snapdragon)and I couldn't find anything about this. When I search only thing I could find is "how to enable on Galaxy devices". I am willing to remove only unlocked bootloader warning but "in /dev/block/bootdevice/by-name/" there is no logo file. I hoped I could at least open splash and look inside of it but I couldn't even open with any tool or extract. For any help thank you.
Click to expand...
Click to collapse
For real lock bootloader so you need flash STOCK ROM.
For unmessage in bootloader Try:
Code:
fastboot oem lock
This need good adb-fastboot tool & drivers. Depend of OS of your PC too.
Sent from my BLU Tank Xtreme Pro using XDA Labs
lopestom said:
For real lock bootloader so you need flash STOCK ROM.
For unmessage in bootloader Try:
Code:
fastboot oem lock
This need good adb-fastboot tool & drivers. Depend of OS of your PC too.
Sent from my BLU Tank Xtreme Pro using XDA Labs
Click to expand...
Click to collapse
"fastboot oem lock" gives "unkown command" error.
"fastboot flashing lock" gives "permission denied" error.
My adb-fastboot and usb drivers works well. I can do every other commends but not these.
emincangencer said:
"fastboot oem lock" gives "unkown command" error.
"fastboot flashing lock" gives "permission denied" error.
My adb-fastboot and usb drivers works well. I can do every other commends but not these.
Click to expand...
Click to collapse
Can you please details about adb-fastboot tool&version?
What OS installed in your PC?
Maybe if your not have this so try and let me know:
https://forum.xda-developers.com/showthread.php?t=2588979
If that not working so May be your device need specific command...
You should read more here before any action/command below: https://forum.xda-developers.com/zenfone-5/general/ze620kl-zenfone-5-2018-unlock-t3787174/page4
You can try this too to know:
Code:
fastboot oem reset-dev_info
or
Code:
fastboot oem force-reset
Or
Code:
fastboot flashing lock_critical
Reading:
https://forum.xda-developers.com/android/help/adb-fastboot-commands-bootloader-kernel-t3597181
Good luck!
Sent from my BLU Tank Xtreme Pro using XDA Labs
lopestom said:
Can you please details about adb-fastboot tool&version?
What OS installed in your PC?
Maybe if your not have this so try and let me know:
https://forum.xda-developers.com/showthread.php?t=2588979
If that not working so May be your device need specific command...
You should read more here before any action/command below: https://forum.xda-developers.com/zenfone-5/general/ze620kl-zenfone-5-2018-unlock-t3787174/page4
You can try this too to know:
Code:
fastboot oem reset-dev_info
or
Code:
fastboot oem force-reset
Or
Code:
fastboot flashing lock_critical
Reading:
https://forum.xda-developers.com/android/help/adb-fastboot-commands-bootloader-kernel-t3597181
Good luck!
Sent from my BLU Tank Xtreme Pro using XDA Labs
Click to expand...
Click to collapse
I used first two code. Then when I reboot it asked password so I did go to recovery and done factory reset. After that I checked and warning was gone and unlocked status was false. Thank you a lot.
Related
Hello, I want to lock the bootloader of my Huawei because I have to sell it. Please help me!!!
I tried the command - fastboot oem relock CODE
fastboot oem lock CODE
fastboot oem lock
Not work
Please Help me!!!
Alean1990 said:
Hello, I want to lock the bootloader of my Huawei because I have to sell it. Please help me!!!
I tried the command - fastboot oem relock CODE
fastboot oem lock CODE
fastboot oem lock
Not work
Please Help me!!!
Click to expand...
Click to collapse
I dont remember where i read, but i think the CODE maybe expired. Try to get a new code.
Also, be sure you got dev mode enabled and... another spam from guides:
"2- Connect your phone via data cable to PC.
3- Switch it off and then by pressing volume down and power together make it in fastboot mode (in this mode you will see "Phone locked" in red color at bottom of screen)
4- Click icon on desktop for "Minimal ADB and Fastboot"
5- (A command terminal will open indicating directory where adb is installed)
6- Type in command without quotes "fastboot devices"
7- If you can see serial number of your phone you are going right."
Alean1990 said:
Hello, I want to lock the bootloader of my Huawei because I have to sell it. Please help me!!!
I tried the command - fastboot oem relock CODE
fastboot oem lock CODE
fastboot oem lock
Not work
Please Help me!!!
Click to expand...
Click to collapse
Maybe get a new code, and:
1-Use the command "adb-reboot fastboot"
2, Wait 'till it boots
3, use "fastboot oem relock code"
Alean1990 said:
Hello, I want to lock the bootloader of my Huawei because I have to sell it. Please help me!!!
I tried the command - fastboot oem relock CODE
fastboot oem lock CODE
fastboot oem lock
Not work
Please Help me!!!
Click to expand...
Click to collapse
There is option to relock it. the method. given in huawei website .
macbeth
nayeemudheen said:
There is option to relock it. the method. given in huawei website .
macbeth
Click to expand...
Click to collapse
Where?
I have not tried it with a new code.
Alean1990 said:
Where?
I have not tried it with a new code.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=3415333 go to this thread
macbeth
nayeemudheen said:
http://forum.xda-developers.com/showthread.php?t=3415333 go to this thread
macbeth
Click to expand...
Click to collapse
I tried to do as in the guide but the installation will not start. It opens a huawei editing Panel.
Alean1990 said:
I tried to do as in the guide but the installation will not start. It opens a huawei editing Panel.
Click to expand...
Click to collapse
Editing panel ?? can you sent me a screenshot. make sure downloaded the correct firmware for device .(check your build no. )
macbeth
Hey people, first time in this section so I'm gonna go straight to the chase...
I've been having some troubles unlocking this phone's bootloader
http://www.gsmarena.com/asus_zenfone_go_zb452kg-8097.php
Here's the thing
I've already enabled "Enable OEM unlock" in Developer Options
I've already unlocked many devices and this is the first time i got this problem
When going in bootloader and doing
Code:
fastboot oem unlock
It's stuck in
Code:
...
waited for 5 mins... NONE, still stuck
Reboot and did nothing, bootloader still locked
So I'm gonna need some help in this freakin phone :fingers-crossed:
How were you able to "Enable OEM Unlock"?
My ZB452KG has the developer mode activated, but there's no option to Enable OEM Unlock...
BallisticSmith said:
How were you able to "Enable OEM Unlock"?
My ZB452KG has the developer mode activated, but there's no option to Enable OEM Unlock...
Click to expand...
Click to collapse
Downgrade to the very first firmware version
veez21 said:
Downgrade to the very first firmware version
Click to expand...
Click to collapse
Yeah, i tried doing that through adb, but the phone don't let me install an older ROM version on top of this one
BallisticSmith said:
Yeah, i tried doing that through adb, but the phone don't let me install an older ROM version on top of this one
Click to expand...
Click to collapse
flash the very first stock recovery(find it in facebook groups) through flashify and then flash the very first firmware
veez21 said:
flash the very first stock recovery(find it in facebook groups) through flashify and then flash the very first firmware
Click to expand...
Click to collapse
if I can download the very first firmware Asus Zenfone Go ZB452KG from the website ASUSTek?
Sorry for my bad english
Str1kman said:
if I can download the very first firmware Asus Zenfone Go ZB452KG from the website ASUSTek?
Sorry for my bad english
Click to expand...
Click to collapse
You can download it, then flash(needs root) the very first stock recovery and then you can flash the firmware?
this thread has continued to be unaswered for several years now.
only tested 2 phones... and it seems they both have bootloader status is unknown. i can do fastboot and recovery mode on the 2 phones but on fastboot mode.. only shows blank screen... idk why it's like that. i downgraded both phones to 12.2.0 version. and bootloader status is still unknown. it can be recognized by the computer in fastboot mode using fastboot devices command but you can't do anything to it. fastboot oem device-info does not work only shows .......... , fastboot oem unlock ....., only one working is fastboot adb_enable .. kinda useless. .. i gave up on unlocking the bootloader for this phone.. im too noob for this.
yankee77 said:
this thread has continued to be unaswered for several years now.
only tested 2 phones... and it seems they both have bootloader status is unknown. i can do fastboot and recovery mode on the 2 phones but on fastboot mode.. only shows blank screen... idk why it's like that. i downgraded both phones to 12.2.0 version. and bootloader status is still unknown. it can be recognized by the computer in fastboot mode using fastboot devices command but you can't do anything to it. fastboot oem device-info does not work only shows .......... , fastboot oem unlock ....., only one working is fastboot adb_enable .. kinda useless. .. i gave up on unlocking the bootloader for this phone.. im too noob for this.
Click to expand...
Click to collapse
I opened this thread when I was still "noob-ish". The device's bootloader can't be unlocked. Unless someone hacks into it's bootloader (like LG L Fino), it might be possible.
Mr.haikal
veez21 said:
I opened this thread when I was still "noob-ish". The device's bootloader can't be unlocked. Unless someone hacks into it's bootloader (like LG L Fino), it might be possible.
Click to expand...
Click to collapse
I found a way to unlock bootloader on this device. Just run this commands:
Code:
fastboot oem adb_enable 1
fastboot reboot-bootloader
fastboot oem unlock
Also compiled a TWRP recovery:
TWRP: https://github.com/Displax/android_.../download/3.2.3-0/twrp-3.2.3-0-ASUS_X014D.img
Sources: https://github.com/Displax/android_device_asus_ASUS_X014D
Displax said:
I found a way to unlock bootloader on this device. Just run this commands:
Also compiled a TWRP recovery:
TWRP: https://github.com/Displax/android_...s/download/master/twrp-3.2.1-0-ASUS_X014D.img
Source: https://github.com/Displax/android_device_asus_ASUS_X014D
Click to expand...
Click to collapse
Cool, I'll try it when I get the device on my hands. I don't have it anymore.
EDIT: It works wew ?
Displax said:
I found a way to unlock bootloader on this device. Just run this commands:
Code:
fastboot oem adb_enable 1
fastboot reboot-bootloader
fastboot oem unlock
Also compiled a TWRP recovery:
TWRP: https://github.com/Displax/android_.../download/3.2.3-0/twrp-3.2.3-0-ASUS_X014D.img
Sources: https://github.com/Displax/android_device_asus_ASUS_X014D
Click to expand...
Click to collapse
+1 worked after i installed the drivers from Asus PCLink. Anyone has a custom kernel or ...
BallisticSmith said:
Yeah, i tried doing that through adb, but the phone don't let me install an older ROM version on top of this one
Click to expand...
Click to collapse
I got root access with KingRoot and then flashed TWRP with Flashify.
Somehow that gave me access to bootloader without the necessity to downgrade the firmware.
Hi, so my Xiaomi MI A2 is kinda not working and I think that wiping cache partition might help but I can't access the recovery so I wanted to install TWRP. The thing is I have the boatloader locked, I have the USB depuration activated but not the OEM, so how can I unlock boatload or unlock OEM via fastboot?
Thanks
_08_ said:
Hi, so my Xiaomi MI A2 is kinda not working and I think that wiping cache partition might help but I can't access the recovery so I wanted to install TWRP. The thing is I have the boatloader locked, I have the USB depuration activated but not the OEM, so how can I unlock boatload or unlock OEM via fastboot?
Thanks
Click to expand...
Click to collapse
run "fastboot oem unlock" and "fastboot oem unlock_critical" see if its execute without error , then run " fastboot oem device-info" , let us know what the result.
shihabrumel said:
run "fastboot oem unlock" and "fastboot oem unlock_critical" see if its execute without error , then run " fastboot oem device-info" , let us know what the result.
Click to expand...
Click to collapse
It won't let me. It says:
my command: fastboot oem unlock System: FAILED (remote "flashing unlock is not allowed")
Fastboot: error: command failed.
Same with the critical. I also had an error trying another command, it said, not allowed in lock mode.
Actually, I'm trying other commands and it's the same error with all comands.
My Mi A2 was not booting
My mi a2 last updated to 19/04/05 pie version, then i install the Google camera using below steps..
1. Turn on debugging mode/oem & turn off the phone
2. Then power button+vol dwn Fastboot mode & connect to pc (Pc already have the adb)
3. In pc>adb>folder>Cmd> type "fastboot oem unlock"
4. Then factory reset the phone and reboot again to fastboot mode
5. Then boot the patched image for phone
6. Then install the magisk and gcam work perfectly.
Simply i used these methods
the***********.com/enable-camera2-api-xiaomi-mi-a2-lite-guide/
But then I tried to relock the bootloader, using below commands on cmd
1. "adb reboot-bootloader"
2."fastboot oem lock"
I tried these 2 commands 4 or 5 times
But phone is not power on with locked bootloader. Then I unlock again oem and try again,, But not working,
Then i unlock bootloader again and try these commands to lock it again,
1. "adb reboot-bootloader"
2."fastboot flashing lock"
3. "fastboot oem lock"
Unfortunately it is not work, also i can't give command "fastboot oem unlock", also i can't turn on my phone, Please help me... I want to restore my phone to working mode... Please help me, Quick, urgent :crying::crying::crying::crying:
i tried rooting my device but something went wrong after flashing the boot.img
now the device is stuck and i can only access fastboot.
i tried accessing the recovery but i get the same error msg.
i tried flashing every recovery img that exist for the red magic 3 but with no success
Flashing Unlock
Hey, make sure that you have first unlocked the bootloader with the fastboot command: "fastboot flashing unlock". Try it. It will erase all your data and do a reset factory and then you should be able to reboot your device normally. Also, it will let you flash the boot.img for root your device.
Perseo99 said:
Hey, make sure that you have first unlocked the bootloader with the fastboot command: "fastboot flashing unlock". Try it. It will erase all your data and do a reset factory and then you should be able to reboot your device normally. Also, it will let you flash the boot.img for root your device.
Click to expand...
Click to collapse
when i type "fastboot flashing unlock" in cmd it shows nothing .. just showing what commands i can do with fastboot
mashkalny said:
when i type "fastboot flashing unlock" in cmd it shows nothing .. just showing what commands i can do with fastboot
Click to expand...
Click to collapse
Did you let unlock bootloader and permitted the USB debbugin on the developers option before flash the boot.img?
Make sure you are using a USB 2.0 to connect your device to the PC. See if you PC recognizes the device into the fastboot menu with "fastboot devices", if doesn't, try reboot another phone with "adb rebbot bootloader", then enter "fastboot devices", your device should be listed into de the devices attached. Then try again entering "fastboot flashing unlock".
Perseo99 said:
Did you let unlock bootloader and permitted the USB debbugin on the developers option before flash the boot.img?
Make sure you are using a USB 2.0 to connect your device to the PC. See if you PC recognizes the device into the fastboot menu with "fastboot devices", if doesn't, try reboot another phone with "adb rebbot bootloader", then enter "fastboot devices", your device should be listed into de the devices attached. Then try again entering "fastboot flashing unlock".
Click to expand...
Click to collapse
i believe i forgot to unlock the bootloader when i tried to root. now i cant access anything in the fastboot mode.
mashkalny said:
i believe i forgot to unlock the bootloader when i tried to root. now i cant access anything in the fastboot mode.
Click to expand...
Click to collapse
Oh, that could be a problem. Try to use this tool. I hope you can get your phone working again. If this doesn't works, try to flash the original boot.img of your firmware version.
https://forum.xda-developers.com/re.../tool-nubia-red-magic-3-unbirck-tool-t3965044
Hey!
I got a Zenfone 8 from a friend, and he told me that he tried to flash Lineage OS once, for some reason he got some errors and ended up going back to the stock ROM and relocking the bootloader.
Now I'm trying to unlock the bootloader again through the ASUS app, but it doesn't work. He tried to help me with some commands through fastboot mode and it also didn't work. There is any way to unlock it again after relocking it once?
He said he used the command 'fastboot oem asus-csc_lk' to relock it, don't know if it is hepful.
edit: We tried 'fastboot oem unlock' 'fastboot flashing unlock' (failed with permission error) and 'fastboot oem asus-unlock' (which resulted in FAILED (remote: 'Verify unlock token fail.')
Also AsusUnlock apk installs succesfully through ADB but fails to unlock with error 24802. Trying to install it through the phone doesn't work and gives me an error.
give more information please, from what build did your friend flash the lineageos? to what build did he go back to? did you install latest working ADB? are the drivers for the fastboot installed correctly? are you connected to the internet when trying to run the app on the phone?
AJ205 said:
give more information please, from what build did your friend flash the lineageos? to what build did he go back to? did you install latest working ADB? are the drivers for the fastboot installed correctly? are you connected to the internet when trying to run the app on the phone?
Click to expand...
Click to collapse
He said he followed what was on the guide he found, first updated to Android 12, the latest on on asus website (WW-31.1004.0404.107), and then tried to flash LineageOS ROM, then he got some errors and went back to Android 12 and relocked the bootloader. He said he never tried anything again. When I got the phone it was on Android 12, I tried unlocking it as I said and it didn't work. Then I downgraded it to 11 using the firmware from asus website (Version Android 12 to Android 11), and tried to unlock it again using Android 11. Also didn't work.
About ADB and Fastboot drivers, they are correctly installed, tried some "standalone" versions and also the one that come with android SDK Platform Tools. Tested it on other devices and it worked well. And the phone was connected to the internet when I tried using the app, I'm sure because I downloaded it on the phone aswell, using the browser.
edit: Actually I'm not sure about the fastboot drivers, I've just downloaded the sdk tools from google website.
what lineageos did he flasah? if its 18.1 thats android 11... propably why he got the errors.
AJ205 said:
what lineageos did he flasah? if its 18.1 thats android 11... propably why he got the errors.
Click to expand...
Click to collapse
That's probably it. But there's any way to unlock the bootloader again so I can give it another try?
Aodh said:
That's probably it. But there's any way to unlock the bootloader again so I can give it another try?
Click to expand...
Click to collapse
are you sure you are locked? do you get the warning screen when you boot up?
AJ205 said:
are you sure you are locked? do you get the warning screen when you boot up?
Click to expand...
Click to collapse
I do get the warning screen, but also when checking with fastboot oem device-info it returns this:
C:\Users\delci\Desktop\platform-tools>fastboot oem device-info
(bootloader) Device unlocked: false
Aodh said:
I do get the warning screen, but also when checking with fastboot oem device-info it returns this:
C:\Users\delci\Desktop\platform-tools>fastboot oem device-info
(bootloader) Device unlocked: false
Click to expand...
Click to collapse
let me get this straight, your device is unlocked and you want to lock it? because:
Aodh said:
That's probably it. But there's any way to unlock the bootloader again so I can give it another try?
Click to expand...
Click to collapse
what are you trying to do? your device is unlocked. you cant unlock it again.... you can try to lock with : fastboot oem asus-csc_lk
AJ205 said:
let me get this straight, your device is unlocked and you want to lock it? because:
what are you trying to do? your device is unlocked. you cant unlock it again.... you can try to lock with : fastboot oem asus-csc_lk
Click to expand...
Click to collapse
The warning appears, but it is not unlocked. Every command fails, device-info says that my device is not unlocked., it is locked.
What I'm trying to do is unlock it.
Let me try to explain what happened again.
The phone has been unlocked to install LineageOS. It didn't work. The past owner then installed the stock rom and locked it using this command: 'fastboot oem asus-csc_lk'.
Then I bought the phone from him, and now I'm trying to unlock it again, but it doesn't work.
The question then is: Is it possible to unlock a phone that has previously been unlocked and then relocked?
Hey, did you got it to work ?