How to unlock Android Bootloader using ADB & Fastboot
ฝัง
- เผยแพร่เมื่อ 10 ม.ค. 2019
- Download links & Text format @ forum.hovatek.com/thread-1957...
This is a generic method and isn't guaranteed to work on every device.
Drop a comment below if you have questions or reach out to us on the following platforms:
Website: www.hovatek.com
Facebook: / hovatek
Twitter: / hovatek
Credits
Spanish & Portuguese translation by Juan Rios
Video Transcript
00:10
In this video tutorial, I'm going to explain how to unlock the bootloader for an Android device
00:16
using your ADB and fastboot
00:18
You need to unlock the bootloader in order to be able to write images via Fastboot or via the bootloader
00:25
Before you can unlock the bootloader, you need to have enabled
00:30
USB debugging and OEM unlocking so you go under Settings
00:35
And you scroll down to About and
00:39
Then scroll down to Build Number. Keep tapping till you see You are now a developer, just keep tapping build number
00:46
All right. I already did that?
00:50
Once you've done that, you go back and should have developer options enabled here
00:55
You should see that here. So you select developer options.
00:59
Now you scroll down here and you enable USB debugging. I already have that enabled.
01:05
You might get a prompt asking you to always allow. Just tick and allow.
01:11
Then you also enable OEM Unlocking.
01:15
Its very important you enable this in order to unlock the bootloader?
01:19
Now, once you have USB Debugging and OEM Unlocking enabled
01:23
make sure you've setup ADB on your PC and then we can return to unlocking the bootloader
01:32
Now, in ADB, you need to test ADB connection by typing adb devices
01:44
and you have a detection. You are going to boot the device into bootloader or fastboot by typing adb reboot-bootloader
01:53
and you tap enter so that's going to boot the device into
02:02
Fastboot and you should see
02:05
a black screen with fastboot written somewhere on the screen. In fastboot, test connection by typing
02:13
fastboot devices
02:16
Now, you want to unlock by typing fastboot. (don't forget that the command might vary)
02:23
fastboot oem unlock
02:25
For some devices, its fastboot flashing unlock , fastboot oem unlock-go or something like that
02:32
but just try this command first and research other commands if this one fails fastboot oem unlock.
02:38
Tap Enter. Now in the screen, you're going to get a prompt asking you to press the volume up
02:43
if you want to unlock or volume down if you want to cancel so I'm going to tap the
02:49
volume
02:51
increase
02:52
button, and then
02:54
wait while the
02:56
bootloader gets unlocked
03:07
So I see unlock pass returning to fastboot . For me to confirm that my bootloader has been unlocked, I type
03:17
fastboot gervar unlocked
03:23
And I see unlocked: Yes, so my bootloader has been unlocked. That's how to unlock the bootloader of an Android device
03:30
using your ADB and fastboot - วิทยาศาสตร์และเทคโนโลยี
My friend i do not know how i can thank you, you are the best in the world, my phone with locked bootloader started bootlooping and i needed to unlock it to get out, you saved me countless hours of hard work i had on my device, thank you so much, and to everyone reading please do not be like me and backup your data.
Thanks for sharing this info. Very clear instructions. Actually I did this before couple years ago but forgot the steps. I do have to install the usb driver for android though in order to detect the device in fastboot mode.
how did u update your driver..my device is getting connected in adb
@@arjunuzumaki2865 you need both adb and fastboot drivers. When the connected phone shows a yellow ! mark (could be under adb or fastboot mode) then you'll have to update the windows driver.
does this works on android 10?
@@josephray6264 Haven't tried. Can't say for sure. Proceed with caution and make backups first.
What to do if I can't turn on USB debug and I'm stuck in fastboot mode
ADB and Fastboot is a real masterpiece for gadgets problems
Not really. Shit doesn’t fucking work at all!!
Thank you very much it worked perfectly
I type in fastboot flashing unlock and nothing happens. I type in the rest of the commands and nothing works or happens to my phone after the original list of devices. Am I not opening a file or executing a command before I input such commands?
Unlock not allowed its written in fast boot mode on my phone
Device : lenovo k5 note a7020a48
thanks bro it helped me
don't forget to share
thank you so much..
it was really helpful.
hello my phone doesnt have oem unlocking...can ypou help me???
How can I enable USB debugging of a Samsung s8 without unlocking the phone
hi, i tried looking for the "oem unlocking" in settings, but its not there. is there a way to bring it back?
(device is galaxy tab a 9.7)
Ensure you're connected to the internet
Try to. Unlock my Tecno pop5 bootloader but all the command failed, please help me
I want to unlock bootloader my phone y19 please help me
thumbs up.... it worked
Great!
How can i unlock bootloader of asus memopad fhd me320c?you can give me a programe unlock?thanks
It worked out up until reboot bootloader then i got the black screen with an white text saying fastboot mode on bottom left corner of the screen and that's it. It didn't change at all after i tried the adb devices cmd just stuck on the black screen with the text.
Go to forum.hovatek.com and click Ask Question at the top. Explain this and post.
My smartphone asking enter Volume up to confirm bootloader unlocked but my volume up not working but my volume button working in volume control after on mobile
Did you try tapping volume down instead?
What if OEM is locked and phone stuck in boot loop
How to unlock bootloader of vivo v7 1718?
thanks dude!
Geht auf allen Android Boxen dann auch die billigen.
Alle Systeme und alle Prozessoren.
Eine komplette Vhd Partition.
Mit dem Deploy kannst du start in Boot mit Linux Notfallsystem laden Debian dort den grub2 und das komplette Android runter oder nicht?
Du kannst aber von der Deploy Shell auch starten dies Automat.....ist BIOS und start.
just putting here; in bootloader mode "fastboot flashing unlock" worked for me. OEM commands just couldnt. Lenovo M8 TB-8505
i did it and gives me the exact same error: FAILED (remote check password failed!) finished. total time: 0.014s
please can you help me man 😢
Hello, a question that I should ask if I get this error FAILED (remote failure)
What phone model
my usb MI 7A USB Debugger is not enable and phone is not boot. So how can i flash ROM. While Flashing ROM an error show "remote device is lock can not erase". Do u have any solution for this type error.
you can't go via fastboot if your bootloader isn't already unlocked. You'll have to flash via EDL
fastboot oem/flashing unlock doesn't do anything, it just pends with no return... I don't have the same device displayed after rebooting : 0123456789ABCDEF device & mt6572v1_phone fastboot (after reboot)
once I do the reboot fast boot wont list the device so I cant proceed with the last step. Am I doing something wrong? I should note that the phone is not carrier locked, or at lest the amazon listing said it wasnt.
U need to update your fastboot drivers
See th-cam.com/video/1dYn31wdw-s/w-d-xo.html
@HovatekTV DOWNLOAD REBOOT DIDN'T WORK FOLLOWING EXACT INSTRUCTIONS, AND YOUR DRIVERS MADE MY USB UNUSEABLE
What happens if that method doesn't work? Is that secure? (I don't want my smartphone bricked)
Depending on your model & chipset, you might require an unlock code / file from your OEM or need to patch a certain file in your stock rom and flash back
What are my options if i cant turn on Debugging and OEM unlocking as i don't have access to the OS?
then the bootloader method is ruled out of whatever method you wish to use. Maybe flashing a patched firmware / bootloader might... or maybe not
Noh
Does this work with Teclast P20HD, its an spd/unisoc
No. See th-cam.com/video/HhBTezxlAYw/w-d-xo.html
hi sir, does this factory reset the phone or not?
It does
It shows no devices when I type fastboot devices, any ideas why? (I have an xperia z3)
You've probably got old fastboot binaries. Refer to forum.hovatek.com/thread-17105.html
You may forgot to allow your PC in your android 😂
OEM unlock option is not there
im using asus zenfone max m1
Go to forum.hovatek.com and click Ask Question at the top. Explain this and post.
The phone with rom verizon, it seems to require a code, This message appears: [unlock code [ . unlocked: no, some indication?
This is network unlock
in my case, when "fastboot oem unlock" and i press enter. but it always failed. how can i fix it?
Code wrrong
Hi hovatek did reboot to bootloader same like fastboot?? My phone dont have fastboot mode but bootloader to download instead
what is the phone model?
@@HovatekTV infocus vhz t1 I don't how to enter edl mode this phone since it rare brand
my xiaomi redmi 9a just turned on and i dont know why? maybe i have only 54% battery?
Refer to www.hovatek.com/forum/thread-40300.html
please put the adb codes in the video description.
there's a link to the text tutorial in the description. That contains all the codes
ok thats useful in some cases
but what if you are one of the many out there who maybe using fastboot to flash a firmware to a phone that is stuck on logo as in the case with the phone i am trying to get back to life when turning it on its stuck on the ASUS logo when pressing power and volume keys where one would expect to find the factory / recovery options are not displaying all i get is CSC fastboot mode
in your video and details you refer to setting up Debugging and OEM unlocking how to achieve that with a phone that will NOT boot up and can only run some commands via fastboot and yes my deice is locked based on the device details as it says false next to unlocked
any help would be appreciated this would be for an Asus Zenfone 5Q ZC600KL X017DA model
In your case, fastboot is out of the question. You should be thinking QFIL
@@HovatekTV tried it already both the Qfil and the downloader as mentioned in 2 different instructions I came across
I get a few errors under Qfil can't say what those errors are at moment as didn't save the log
Most of the instructions I have read on the use of Qfil always refer to a file extension MBN there is several MNB files but the main files that I need to use based on the name of the file and the instructions are actually ELF
It's kinda a pain in the ass I'm not so familiar with Qualcomm mobiles I am more used to flashing MTK chips with SPFT
If the bootloader is locked would that also affect the flashing via EDL my thinking it should not but I am starting to wonder
And I am not totally sure I have the correct firmware because on the Asus website under that model there is so many I think 10 to 15 firmwares some of them are with JP and I ignore those as I need WW version
I should mention tho when I tried fastboot I had 2 different versions of the firmware the first one it pretty much went straight to error write protected
The second one that has CSC within the firmware details actually had more activity and appeared to be sending data to the phone then suddenly get an error write protected
Not sure if that info helps to diagnose a possibility
Why do we need to use adb and put those commands if the OEM Unlock option does exist ?
I mean i came here to learn how to Unlock OEM via adb if the option doesn't exis..
OEM unlocking (under developer options) is different from bootloader unlocking. The fastboot oem unlock command here is to unlock bootloader, not to enable OEM unlocking.
I am unlocking my Xiaomi Redmi 8a, but it gives me an error. I need to know if there are more commands to unlock without using Miunlock
See th-cam.com/video/6CJS4EOAH30/w-d-xo.html
Can someone help me please. Evertime I try I get this:
FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
What model?
All mark?
Hi, anyone having a way around with the Huawei P9 (EVA-L09) ? Tried rooting it, only part I can't do is the 'fastboot OEM unlock'. Always (remote:wrong password)
Go to forum.hovatek.com and click Ask Question at the top. Explain this and post.
I press fastboot oem unlock in cmd das not require but fastboot device and adb device support plis how can unlock oem my phone. My phone is sony x compact docomo Model:SO-02J
Your phone might require an unlock code from Sony
This method Can unlock Xiaomi Boatloader without permission?
Nope. Just request dude, 15 days is quite annoyingly long but it'll be worth the wait.
i always get no result for fastboot devices
and
waiting for device till eternity. updated all the drivers have everything, may be my device cannot be unlocked.
lg v20 h91810p
even xda developers are of no use..
Follow the guide @ forum.hovatek.com/thread-17105.html
But it shows device unauthorised and i cannot turn the phone on because of soft brick...what should i do
Fastboot is not the approach to use in this case
I Try this LG Stylo 4 ( Sprint ) But cant find " OEM Unlock Command " ........
Lg had blocked Oem unlocking to the pubic unfortunately. There are ways of getting past that but it’s difficult
i have a Kodak Smartway t3 whit Spreadtrum sc9863a i want unlock bootloader help please!!
see forum.hovatek.com/thread-32287.html
Hovatek, I am getting the error "access denied" once I try to fastboot devices. I am attempting to downgrade my S9; the One UI Is AWFUL. I've come to THIS step because when I attempt to flash it in Odin, I get the error "auth failed" and OEM unlock is NOT an option. I'm afraid my phone has the highest level of protection. It still has the Samsung Official binary. If the new update wasn't terrible, I wouldn't need to do this! I need to somehow disable security or "trick" my phone that appears to be loaded with preventative methods.
We'll be happy to help. Go to forum.hovatek.com and click Ask Question at the top. Explain this and post.
@@HovatekTV Thanks. I posted a thread. Thank you!
@@chaylasoden4596 OK
Hi, please tell me if USB debugging and oem are unable to activate just because of mi account locked screen, is there still a to unlock bootloader?
Mi account screen locked with not able to turn on USB debugging and oem enabled has mess me up here. It been over 1 week now trying to figure this out.
Not unless you have a leaked engineer bootloader. Focus on the Mi Account issue
What Do I Do? If My Mobilr Stucks In Fastboot Mode? My Mobile Model Is Lava Z61... Why is it stucking like that?
I am facing the same problem
type fastboot reboot
thanks a lot. it worked for my tecno camon x. i have typed - fastboot oem unlock.
Did you lost ur data
@@justfocusing72 no. everything was fine.
Ok bro
Cause I wanna try it too
bro is this process will delete our data?
Yes
bro help my tlf Yezz max 2 plus error
C:\adb>fastboot oem unlock
...
FAILED (remote: Unlock bootloader fail.)
finished. total time: 0.117s
What is the chipset?
@@HovatekTV Unisoc SC9832E
why may device offline everytime i check
Everytime i try this i always just end up with < waiting for any device >
see forum.hovatek.com/thread-17105.html
same with me its stay swith the *(...) nothing more
@@luisrondon430 read my reply above
@@HovatekTV what are you talking about ? this link ? forum.hovatek.com/thread-17105.html because there is no solution to the flashing or move forward in flashboot mode. i can detect the device even i can start in recovery mode, but i cant unlock the device, plus, the firmware - there is no clear explanation about how im i supose to upgrade the firmware using adb.
I know your solution
Kleener den Schlag Wut und Hass kriege ich nicht unter Kontrolle war vor zwei Wochen bei mir.
Versuche das unten umzuprogrammieren.
Repi......
Du musst aufpassen das es mit Replay nicht in KI kriegen.
for samsung it doesnt work but i have a way to do it
just power off the phone and click the volume up and down only until the phone powers on and long press up button and click it one more time
For Samsung, th-cam.com/video/zus1-fp3zho/w-d-xo.html
My phone is galaxy s6 exynos and OEM unlocking isn't there pls help
There should be a trick to enable this. Go to forum.hovatek.com and click Ask Question at the top. Explain this and post.
how do i convert my command prompt to adb
Please go to www.hovatek.com/forum and click Ask Question at the top. Request this and post.
my device is a xiaomi redmi 9a and when i type fastboot oem unlock into the cmd and i tap enter after a while it says (too many links)) plz can someone help me
See www.hovatek.com/forum/thread-29918.html
When i type the command adb reboot-bootloader, my phone will do a normal reboot. Not fastboot mode. Help me please
Me too, I wonder how you fix it.
Fastboot commands only work when our device is in bootloader mode, so if we have the device in adb mode these commands will not work.
We can always use the adb reboot-bootloader command so that the device automatically restarts in Fastboot compatible mode.
In order to use these tools we will need the corresponding binaries and dependencies, in the form of .dll libraries. The list of these files is:
adb.exe
fastboot.exe
AdbWinUsbApi.dll
AdbWinApi.dll
These simple applications barely exceed 10 megabytes. We can download them separately from the android SDK from multiple sites, for example, from the XDA forums.
Once we have this file we can opt for this option:
Save all of them in the same folder on our hard disk (for example in C: \ or on the same desktop) and when we open an MS-DOS window, place ourselves using the cd command on it, in order to execute the tools we want.
Finally, check that everything is in order with:
fastboot devices.
Help!??? printing (Token Verify Failed, Reboot the device)
What is the phone model?
Hi,
I have already disabled oem protection on the developer tools, now when I type the "fastboot.exe oem unlock" command, I get this message "FAILED (remote: 'not allowed in locked state')",
Can you help please ?
run fastboot oem unlock (leave out the .exe in your code)
@@HovatekTV I'm facing the same issue
Yo tengo el mismo problema
my oem unlock is not showing up. i have a samsung galaxy a32 5g, had it for six months from cricket. anyone know how to oem unlock?
go to dev option
reboot bootloader and press enter cs restarts the phone but does not go into fastboot mode
What is the model?
my phone infinix note 12 is stuck on Fastboot screen pls help how can i get it to normal working
Go to www.hovatek.com/forum and click Ask Question at the top. Explain this and post.
can we lock the boot loader after installing the global rom ? how to lock BL ?
Bad idea
@@HovatekTV I did through adb, after installing it. not a bad idea. my phone is fine.
Pls sir help!!!!(in my red mi note 5) I cant enable bootloader in phone setting bcz its on bootloop...now how can i enable or flash stock rom?
Same issue here - i'm so frustrated that all tutorials just say to change settings, but not what to do when you don't have access to settings for example: bootloop
++++ did you fix it? I have same fucking model I did nothing and it started bootloop
Doesn't work on vivo y12s. Unknown command
Not working, phone boots to system after adb reboot bootloader
Go to forum.hovatek.com and click Ask Question at the top. Explain this and post.
Helpful...
I don't have the OEM unlock option, that is strange...
VERIZON fucked yeeey OEM unlock is bootloader unlocking so no adb command is going to work, junk yutuuuube videos
Hey Brother,
Is adb fastboot bootloader unlocking supported by MIUI 12 (android 10)
My device Model:
Redmi 9A (Dandelion)
Refer to th-cam.com/video/6CJS4EOAH30/w-d-xo.html
@@HovatekTV Brother, Is there any method other than using mi unlock tool for xioami devices.
It says "ADB not recognized as an internal or external command, operable program or batch file."
Ensure to cd to the directory containing the adb binary then retry the command
@@HovatekTV I don't understand a thing u said can u come clean? Explain clearly pls
@@Cylux999 See th-cam.com/video/Fp-D1Mg0HWg/w-d-xo.html . Especially how I launched command prompt to run adb
I didn't find oem unlock in my phone ,my device is asus max pro m2 Now what should I do?
Did you connect to the internet?
@@HovatekTV yes
@@origamibydevansh4270 Go to www.hovatek.com/forum and click Ask Question at the top. Explain this and post.
You have forgot put "fastboot reboot" at end but process was succesfully
ohh thanks ,working
working you are my god
when i put "fastboot oem unlock" it just gets stuck in three dots and nothing else, even "fastboot oem device-info" is resulting in the same problem, please help me
what's the device model?
@@HovatekTV i have a Condor Griffe T1
@@aymenauditore7047 OK. You'll need to find its hidden fastboot commands. Go to forum.hovatek.com and click Ask Question at the top. Explain this and post.
How to enable usb debugging for locked phones?
See forum.hovatek.com/thread-10109.html
Is that working on redmi note 5 pro or not?
No. This model has MIUI so use th-cam.com/video/6CJS4EOAH30/w-d-xo.html instead
How prevent anyone to unblock my phone using fastboot/ADB. I enable to insert password b4 booting.
And can you make a video on how to prevent any to change your phone imei after it stole so he can easily be track
is it possible to track your lost cellphone via IMEI easily ? i lost my cellphone 2 weeks ago
While unlocking Bootloader it shows....Failed (Remote Unknown Command)
And then total time 'some second'
Please help me...
Thank You
Your model seems to require an unlock key / token. what's your device model?
@@HovatekTV Specifications:-
Name:- Lenovo Tab 4 7
Model:- TB-7504X
Chipset- MT8735
Kernel:- 3.18.35+
Android Version:- 7.0
FAILED (remote: 'check password failed!') HELP Huawei P30 Lte
Your model requires an unlock key
@@HovatekTV where get unlock key?, my phone Huawei Nova 5T
Hinter Bildern.
Er denkt wir quälen, er begreift es nicht all und von außen.
Zeigt ihm was läuft im All.
10 Jahre gebaut.
Passt auf ihn auf.
Kleener ist guter Fighter.
What do I do is I can't turn on USB or debug and I'm stuck in fastboot
This isn't what you should be doing then. Focus on flashing the firmware using a flash tool for your device's chipset
when i enter the command "fastboot oem unlock " it says: "... FAILED (remote check password failed!) finished. total time: 0.014s
basically it asks me a password... why it didn't ask you the password?! please help me to get that password i would be so grateful
It depends on your device model. What model is yours?
@@HovatekTV Huawei P20 lite
@@firesdumb You'll require an unlock token. Unfortunately, Huawei stopped giving those
fastboot oem unlock
...
FAILED (remote: password wrong)
finished. total time: 0.003s
the device is a p9 Lite and it had the oem unlock option active and also the usb debug active before I tryed to flash a new rom with the in system metod of flashing, it flashed sucefully the rom to 100% but now it gets into boot loop, I get huawei logo and it restarts again, the only option I have is to load into fastboot and in fastboot I have phone locked and FRP unlocked
but when I try oem unlock it gives me that error msg, I tryed everything cant flash new rom into the stupid phone, for the SP_Flash_Tool there is no scatter file for that fking phone anywere, for Huawei_Smartphone_Multi_Download all the files I got do not work, it always fails flashing the image
Is this phone broken should I put it in the bin?
With the boot loop was just disconnecting the phone... But yes, put it in the bin. My P9 is going to accompany yours since Huawei doesn't give the OEM codes that we require to proceed further and a way around is pretty hard (if possible?)
I am facing the problem FAILED (remote: 'unknown command'). Please help me. I followed the same commands given here
Lenovo Tab 7 Essential
I'm not sure these commands would unlock bootloader on this model. If you're trying to root then flash a magisk patched boot.img using sp flash tool
Hello in my case failed ( remote : unknown command)
What is the device model?
Is there any chances of hard brick with this method????????
Please reply...........
I'm using Xiaomi redmi note 4
There's always a chance that something goes wrong when modifying your phone's OS
is there any chance that if I do it all like this I won't lose my data? There is a valuable bank app that I'm afraid of losing 😢
You're very likely to lose data when unlocking bootloader because a factory reset is often required
@@HovatekTV The first thing is that command that you used didn't work. And the second one - oh nvm i made a backup
Qualcomm work?
Yes
This is working on hmd Nokia bro?
Only one way to find out
Bro please give me Tecno ke5 KE5-H6123ABC-QGo-GL-201117V195 firmware I searched alot but it's not free please reply.
Go to forum.hovatek.com and click Ask Question at the top. Request this and post.
Can this work for SPD CPU itel
Try this www.hovatek.com/forum/thread-32287.html
My XIAOMI phone is bootlooping.. I can't go to settings. I tried hard resetting it but won't work. Now I have flash software and firmware but I can't flash it because it's in locked state and I can't change it because my phone is bootlooping. The video doesn't help you because you need your phone working and can go to settings. Dont waste your time
If your phone is bricked then unbricking should be your priority, not unlocking the bootloader (which is already too late)... So yes, this isn't the guide to be checking
can i activate usb debug without knowing my phone pin pattern?
very unlikely
@@HovatekTV thx for the reply
what if i'm bricked and can't enable oem unlocking? is there any command to enable it?
In such a case, you should focus on unbricking not unlocking the bootloader
@@HovatekTV is there any method?
@@pao1367 We'll be happy to help. Go to www.hovatek.com/forum and click Ask Question at the top. Explain this and post.
Hi,
I want to Factory Reset my "Klipad MID-4Go DMX-Q88".
Problems:
1.)I have no access to the device because I forgot my PIN-code.
2.)USB-debugging is turned off.
3.)Power-button + sound-buttons combinations do not boot into recovery mode, only in safe-mode which still requires a PIN-code to get access to the device.
Any ideas on how to bypass the screen-lock or factory reset the device?
Thanks in advance.
Go to forum.hovatek.com and click Ask Question at the top. Explain this and post.