Unable to unlock bootloader. Command write failed! - OnePlus 2 Q&A, Help & Troubleshooting

Today i've flashed new Os 3.0.0 and after flashing i got struck at OnePlus logo with no recovery. Anyhow i managed to boot up into Os but now i'm unable to unlock boot loader. when i tried code "fastboot oem unlock"
...
FAILED (command write failed (Unknown error))
finished. total time: 5.013s
trying these with 'android adb interference" Please someone help me what should i do?

Did you enable oem unlock under development settings before booting into fastboot mode?
Skickat från min ONE A2003 via Tapatalk

pitrus- said:
Did you enable oem unlock under development settings before booting into fastboot mode?
Skickat från min ONE A2003 via Tapatalk
Click to expand...
Click to collapse
i did! i even tried while keeping it off still same!

chetan_1215 said:
i did! i even tried while keeping it off still same!
Click to expand...
Click to collapse
I wonder if we have to use the new MM fastboot command like on the 5X/6P.
Kicks and giggles, try fastboot flashing unlock in fastboot

unremarked said:
I wonder if we have to use the new MM fastboot command like on the 5X/6P.
Kicks and giggles, try fastboot flashing unlock in fastboot
Click to expand...
Click to collapse
The problem is solved. some qualcomm drivers weren't working properly! i just install them and then use flashtool and boom! i got into Chinese recovery and i just selected 1st option it rebooted and again i gone into fastboot type the same code and flashed TWRP

Related

[Q] Trouble flashing TWRP!

I've unlocked the bootloader on my N4 with the following two commands:
adb reboot bootloader
fastboot oem unlock
Click to expand...
Click to collapse
Now I want to flash a custom recovery. After
adb reboot bootloader
Click to expand...
Click to collapse
I do see an opened bootloader, but when I execute
fastboot flash recovery openrecovery-twrp-2.5.0.0-mako.img
Click to expand...
Click to collapse
it gives me the following error message:
sending 'recovery' (4 KB)...
OKAY [ 0.004s]
writing 'recovery'...
FAILED (remote: image is not a boot image)
finished. total time: 0.006s
Click to expand...
Click to collapse
what am I missing?
When I boot the phone, I don't see the unlocked padlock beneath the Google logo. Does it mean that my unlocking didn't really work?
Thanks!
When you did fastboot OEM unlock did you confirm it by pressing yes on the phone? Then do fastboot reboot-bootloader
Also download the recovery.IMG again could have been a bad download
Sent from my Nexus 4
spaceman860 said:
When you did fastboot OEM unlock did you confirm it by pressing yes on the phone?
Click to expand...
Click to collapse
Yes I did that.
Then do fastboot reboot-bootloader
Click to expand...
Click to collapse
You mean right after "fastboot OEM unlock"? If so, no I didn't run that, and I simply rebooted the phone. Should I have gone through this step? The guide I was following does not mention this step. After I booted the phone, I ran 'fastboot reboot bootloader' before the recovery flash.
Also download the recovery.IMG again could have been a bad download
Click to expand...
Click to collapse
OK, I'll try another download later.
Thanks!
Are you using this guide
http://forum.xda-developers.com/showthread.php?t=2266654
Nexus 4 Guide-Unlock Bootloader, Root, Install Custom Recoveries & Custom ROMs/Kernel
Sent from my Nexus 4
spaceman860 said:
Are you using this guide
http://forum.xda-developers.com/showthread.php?t=2266654
Nexus 4 Guide-Unlock Bootloader, Root, Install Custom Recoveries & Custom ROMs/Kernel
Click to expand...
Click to collapse
Yes, that's the guide I followed!
Now I realized this might be the problem? Right after the boatloader was unlocked, maybe I should have continued to the recovery flash step? I didn't do that, and instead I simply rebooted the phone, and then started the recovery flash after I logged into the phone.
If this is the problem, how can I correct the misstep?
Thanks!
This isn't the problem.
Once you have unlocked the boot loader you should be able to flash the recovery at any point afterwards.
But not having the padlock would suggest that you are not unlocked.
Do fastboot reboot bootloader again.
Near the bottom it should tell you if your locked or unlocked
Sent from my Nexus 4 using xda app-developers app
Just go back to bootloader mode do
Fastboot OEM unlock
Select yes on phone then
Fastboot reboot-bootloader
It should say unlocked on the phone screen
Then flash the recovery.IMG again
Sent from my Nexus 4
Alex240188 said:
This isn't the problem.
Once you have unlocked the boot loader you should be able to flash the recovery at any point afterwards.
But not having the padlock would suggest that you are not unlocked.
Do fastboot reboot bootloader again.
Near the bottom it should tell you if your locked or unlocked
Click to expand...
Click to collapse
Well, I just booted into the bootloader mode now:
adb reboot bootloader
Click to expand...
Click to collapse
and I see the last line (same as the first time I ran the unlock command):
LOCK STATE - unlocked
Click to expand...
Click to collapse
So this means the bootloader is unlocked, right? On the other hand, when I boot the phone, I don't see the unlocked padlock beneath the Google logo. This is puzzling!
Just go back to bootloader mode do
Fastboot OEM unlock
Select yes on phone then
Fastboot reboot-bootloader
It should say unlocked on the phone screen
Then flash the recovery.IMG again
Click to expand...
Click to collapse
Again I just tried booting into the bootloader mode now again. When I unlocked again, it complained:
fastboot oem unlock
Click to expand...
Click to collapse
...
FAILED (remote: Already Unlocked)
finished. total time: 0.001s
After that, I did
adb reboot bootloader
Click to expand...
Click to collapse
error: device not found
And then
fastboot flash recovery openrecovery-twrp-2.5.0.0-mako.img
Click to expand...
Click to collapse
sending 'recovery' (4 KB)...
OKAY [ 0.002s]
writing 'recovery'...
FAILED (remote: image is not a boot image)
finished. total time: 0.004s
I'm lost...
Did you download it from here
http://goo.im/devs/OpenRecovery/mako/openrecovery-twrp-2.5.0.0-mako.img
Also try a different USP port on your computer
Sent from my Nexus 4
spaceman860 said:
Did you download it from here
http://goo.im/devs/OpenRecovery/mako/openrecovery-twrp-2.5.0.0-mako.img
Also try a different USP port on your computer
Sent from my Nexus 4
Click to expand...
Click to collapse
No, from here:
http://techerrata.com/file/twrp2/mako/openrecovery-twrp-2.5.0.0-mako.img
Any difference between the two?
Also when I boot up the phone, I don't see the opened bootpad. Does it mean it's not really unlocked?
Problem fixe!
spaceman860 said:
Also download the recovery.IMG again could have been a bad download
Click to expand...
Click to collapse
It was indeed a bad download. Once I downloaded another copy, everything went smoothly.
Thanks everybody for the kind help and suggestions!
mj56gt said:
Problem fixe!
It was indeed a bad download. Once I downloaded another copy, everything went smoothly.
Thanks everybody for the kind help and suggestions!
Click to expand...
Click to collapse
i am having a same problem,but on different device,huawei y336-u02,in my country it called "Y3 Batik Edition" (Indonesian Thing),But In This Case I Want To Flash boot.img that has been patched using magisk manager,help me please

Motorola XT1563 bricked

Motorola XT1563 Bricked
Hi guys, a Motorola XT1563 ( moto x play) was bricked. I try flash a original rom via rsd lite software and fastboot console cmd. No sucess because a bootloader is locked. I have make this steps in the support site oficial of Motorola for get the unike key and done. But... I try send comand fastboot oem unlock (code) when said:
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.004s
Well, this phone was bricked and don't boot... Why i check this setting if device didn't power on????
A biggest error of development i think.
Someone help me to find a solution?
Jhornands said:
Motorola XT1563 Bricked
Hi guys, a Motorola XT1563 ( moto x play) was bricked. I try flash a original rom via rsd lite software and fastboot console cmd. No sucess because a bootloader is locked. I have make this steps in the support site oficial of Motorola for get the unike key and done. But... I try send comand fastboot oem unlock (code) when said:
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.004s
Well, this phone was bricked and don't boot... Why i check this setting if device didn't power on????
A biggest error of development i think.
Someone help me to find a solution?
Click to expand...
Click to collapse
Can you boot into fastboot mode?
If yes...then boot into fastboot mode and reflash stock firmware using fadtboot commands
droider007 said:
Can you boot into fastboot mode?
If yes...then boot into fastboot mode and reflash stock firmware using fadtboot commands
Click to expand...
Click to collapse
For this i need unlock bootloader.
Example:
Device in fastboot mode
Conected in pc
Command in console cmd:
fastboot flash recovery recovery.img
Then
(Bootloader) preloader
FAILED (remote failure)
Errors..
I need help to unlock bootloader of device whitout check allow oem unlock in device because it no power on!!!
Check how to boot (not flash) to TWRP from fastboot. When you get into TWRP do a Factory Reset and reboot.
mausv said:
Check how to boot (not flash) to TWRP from fastboot. When you get into TWRP do a Factory Reset and reboot.
Click to expand...
Click to collapse
fastboot boot recovery.img
Jhornands said:
Motorola XT1563 Bricked
Hi guys, a Motorola XT1563 ( moto x play) was bricked. I try flash a original rom via rsd lite software and fastboot console cmd. No sucess because a bootloader is locked. I have make this steps in the support site oficial of Motorola for get the unike key and done. But... I try send comand fastboot oem unlock (code) when said:
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.004s
Well, this phone was bricked and don't boot... Why i check this setting if device didn't power on????
A biggest error of development i think.
Someone help me to find a solution?
Click to expand...
Click to collapse
same issue with me any solution for this.?
m not able to flash stock firmware it says
E:footer
E:signature failure
and when m unlocking boot loder it says oem unlock error
anujanuj said:
same issue with me any solution for this.?
m not able to flash stock firmware it says
E:footer
E:signature failure
and when m unlocking boot loder it says oem unlock error
Click to expand...
Click to collapse
someone found the solution:?
What error in bootloader log?
Enviado desde mi XT1563 mediante Tapatalk
Can you, at least, boot in stock recovery mode? If you can already boot in fastboot mode, you can use volume up and down keys to toggle between all the options, toggle it until you see "Recovery mode" and then push power button. Your phone will reboot in recovery mode and an option to do factory reset should be there. Stock recovery is less powerful than TWRP recovery but, it if you have a hard time installing TWRP, it could be another solution.
OTA possibly flashing, pushing the sd fastboot
Enviado desde mi XT1563 mediante Tapatalk
check this for enable
http://android.stackexchange.com/qu...ndroid-if-forgotten-pattern-for-screen-unlock
flopezm said:
check this for enable
http://android.stackexchange.com/qu...ndroid-if-forgotten-pattern-for-screen-unlock
Click to expand...
Click to collapse
what if phone shows internal and external memory not mounted
fix of hardbikd ....
here u go ...1st go fastboot mode n flash the stock file on fastboot mode the ...press power bottom 20 time fastly then u see warning bootloder logo the wait 5min after completing go 2 developsr allow oem ........
anujanuj said:
what if phone shows internal and external memory not mounted
Click to expand...
Click to collapse
Can you explain?
Sent from my XT1562 using Tapatalk
K.khiladi said:
Can you explain?
Sent from my XT1562 using Tapatalk
Click to expand...
Click to collapse
nothing this is too old post now my issue is solved
anujanuj said:
nothing this is too old post now my issue is solved
Click to expand...
Click to collapse
Mate your posts are everywhere on the forum.. ??
Sent from my XT1562 using Tapatalk
K.khiladi said:
Mate your posts are everywhere on the forum..
Sent from my XT1562 using Tapatalk
Click to expand...
Click to collapse
yes because my phone was dead and i had fade up
Jhornands said:
Motorola XT1563 Bricked
Hi guys, a Motorola XT1563 ( moto x play) was bricked. I try flash a original rom via rsd lite software and fastboot console cmd. No sucess because a bootloader is locked. I have make this steps in the support site oficial of Motorola for get the unike key and done. But... I try send comand fastboot oem unlock (code) when said:
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.004s
Well, this phone was bricked and don't boot... Why i check this setting if device didn't power on????
A biggest error of development i think.
Someone help me to find a solution?
Click to expand...
Click to collapse
Just get flash stock android 5.1.1 rom from fastboot if that doesn't work try getting into recovery mode and flashing the stock rom via adb sideload.
motorola x play ...stuck in boot
I am using a Motorola X Play 32 Gb Dual Sim phone with a Marshmallow 6.0.1
I'm now stuck at bootup with Start Up Failed.
Startup failed Error
your device didn't start up successfully
use the software repair assistant on computer
to repair ur device.
connect ur device to your computer to get
the software repair assistant
AP fastboot flash mode (Secure)
hab check failed for boot
Failed to verify hab image boot
failed to validate boot image
Error: failed to pass validation. backup to fastboot
Fastboot Reason: Fall-through from normal boot mode
pls Help by step by step methods I am Stuck.....Please
scorpionking3010 said:
I am using a Motorola X Play 32 Gb Dual Sim phone with a Marshmallow 6.0.1
I'm now stuck at bootup with Start Up Failed.
Startup failed Error
your device didn't start up successfully
use the software repair assistant on computer
to repair ur device.
connect ur device to your computer to get
the software repair assistant
AP fastboot flash mode (Secure)
hab check failed for boot
Failed to verify hab image boot
failed to validate boot image
Error: failed to pass validation. backup to fastboot
Fastboot Reason: Fall-through from normal boot mode
pls Help by step by step methods I am Stuck.....Please
Click to expand...
Click to collapse
same thing for me, been weeks cant find any solution

Zuk Z1: FAILED (remote: oem unlock is not allowed)

Hello everyone, I locked my smartphone and now I want it back. The only way by which I can operate it from the Fastboot mode presents the recovery of stock Cyanogen. From platform-tools, I would like to unlock the bootloader to install a TWRP recovery, but I can not because I get this message FAILED (remote: oem unlock is not allowed) when I enter this command fastboot oem unlock -i 0x2b4c. Could someone help me? Pretty much in advance.
alessio93 said:
Hello everyone, I locked my smartphone and now I want it back. The only way by which I can operate it from the Fastboot mode presents the recovery of stock Cyanogen. From platform-tools, I would like to unlock the bootloader to install a TWRP recovery, but I can not because I get this message FAILED (remote: oem unlock is not allowed) when I enter this command fastboot oem unlock -i 0x2b4c. Could someone help me? Pretty much in advance.
Click to expand...
Click to collapse
Bro How did you solved this ?
Could you please help me.
I am stuck at the same point.
A solution would be to flash a new factory rom through the QFIL tool.
any link for QFIL ROM ?
aamszia said:
any link for QFIL ROM ?
Click to expand...
Click to collapse
I'll give you next week if needed

How to unlock bootloader and install TWRP recovery on Yu Yureka?

My friend who owns a Yu Yureka has been hounding me for a couple of days to install a custom ROM on his device because he has seen me using custom ROMs on my devices.
Problem is I'm only familiar with Motorola and Xiaomi devices and to some extent, OnePlus devices because I've used/owned these devices in the past/now.
So can anyone guide me on how exactly should I unlock the bootloader and install TWRP recovery on this device?
laneofmagic said:
My friend who owns a Yu Yureka has been hounding me for a couple of days to install a custom ROM on his device because he has seen me using custom ROMs on my devices.
Problem is I'm only familiar with Motorola and Xiaomi devices and to some extent, OnePlus devices because I've used/owned these devices in the past/now.
So can anyone guide me on how exactly should I unlock the bootloader and install TWRP recovery on this device?
Click to expand...
Click to collapse
Power off your device
Hold volume up and connect usb cable
You will be in bootloader
Type this command
fastboot -i 0x1ebf oem unlock
Then flash recovery
fastboot -i 0x1ebf flash recovery twrp3.1.x.x.x.img
Done [emoji106]
Sent from my AO5510 using Tapatalk
This helped ...
Rajendran Rasa said:
Power off your device
Hold volume up and connect usb cable
You will be in bootloader
Type this command
fastboot -i 0x1ebf oem unlock
Then flash recovery
fastboot -i 0x1ebf flash recovery twrp3.1.x.x.x.img
Done [emoji106]
Sent from my AO5510 using Tapatalk
Click to expand...
Click to collapse
I got en error failed (remote unknown command) while connecting on fastboot mode
How can I solve this error?
Go to settings...
Go to settings and then about phone and tap build no. 7 times until u see you are a developer now...then go back and u will see the developer option..go to the developer option nd scroll down and enable usb debugging and oem unlock...then reboot your phone into fastboot mode and then try those command to unlock your bootloader...this method may help u !!

Unlocked OnePlus 6T stuck in bootloader

Hello, my OnePlus 6T is stuck in fastboot mode, I'd like to install Oxygen OS (which I have the zip file on my PC) or install twrp on it in order to flash the OOS but here is the problem:
If I type the command fastboot devices, the phone is detected:
PS C:\Users\Geoffrey\Desktop\OP6T\twrp> fastboot devices
4872f361 fastboot
BUT, if I type fastboot boot twrp.img (with a command prompt in the folder of the file), I get this error:
PS C:\Users\Geoffrey\Desktop\OP6T\twrp> fastboot boot twrp1.img
downloading 'boot.img'...
OKAY [ 0.628s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 0.644s
The phone is unlocked, when I use the OnePlus 6T all in one tool and click Bootloader Status it says Unlocked
Please help me I really Don't know what to do
Why exactly are you trying to get into recovery?
Dark Nightmare said:
Why exactly are you trying to get into recovery?
Click to expand...
Click to collapse
Well I don't really need to get in to recovery I just thought i could help install the stock rom, what I want to do however is flash oxygen os on the phone, and I don't know how to do it through fastboot
Are you a t-mobile user? You're supposed to use the flash-all-partitions.bat file in order to flash the rom... What exactly have you done up to this point and what files are you using?
Dark Nightmare said:
Are you a t-mobile user? You're supposed to use the flash-all-partitions.bat file in order to flash the rom... What exactly have you done up to this point and what files are you using?
Click to expand...
Click to collapse
No I'm not a T mobile user, where can I get the flash-all-partitions.bat and what do i need to do with it ?
What have I done to get stuck in bootloader:
I unlocked my OP6T with the ALL IN ONE TOOL by mauronofrio
Flashed the TWRP from mauronofrio
But when I wanted to reboot the phone I figured out I was stuck in fastboot mode: if I try to boot in the os it boots in fastboot mode and same thing when I try to boot in the recovery
I don't know what happened..
GeoffreyLH said:
No I'm not a T mobile user, where can I get the flash-all-partitions.bat and what do i need to do with it ?
What have I done to get stuck in bootloader:
I unlocked my OP6T with the ALL IN ONE TOOL by mauronofrio
Flashed the TWRP from mauronofrio
But when I wanted to reboot the phone I figured out I was stuck in fastboot mode: if I try to boot in the os it boots in fastboot mode and same thing when I try to boot in the recovery
I don't know what happened..
Click to expand...
Click to collapse
https://forum.xda-developers.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953
Dark Nightmare said:
https://forum.xda-developers.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953
Click to expand...
Click to collapse
I'm sorry but I'm completely lost, I have downloaded the ROM but I can not flash it because I Don't have access to TWRP and I can't install it because of the error FAILED (remote: Failed to load/authenticate boot image: Load Error)
So what do I have to do ??
EDIT: I've found this https://forum.xda-developers.com/oneplus-6t/how-to/rom-stock-fastboot-roms-oneplus-6t-t3862516
I'll try to follow this guide, thank you a lot for your help, If this still doesn't work I'll tell you
1. Download the full rom
2. Put your device into fastboot
3. extract the contents of the full rom zip file
4. extract the images and the other flash zip file as well
5. run flash-all.bat, if that doesn't get you to boot, run flash-all-partitions.bat.
Id post your issues in the thread he linked. Specific to your device , most guys here in this thread are on tmo and it's a bit diff for us.
Sent from my ONEPLUS A6013 using Tapatalk
Dark Nightmare said:
1. Download the full rom
2. Put your device into fastboot
3. extract the contents of the full rom zip file
4. extract the images and the other flash zip file as well
5. run flash-all.bat, if that doesn't get you to boot, run flash-all-partitions.bat.
Click to expand...
Click to collapse
You're the man ! I successfully installed OOS thank you very much!
GeoffreyLH said:
You're the man ! I successfully installed OOS thank you very much!
Click to expand...
Click to collapse
Glad you're up and running man.
GeoffreyLH said:
You're the man ! I successfully installed OOS thank you very much!
Click to expand...
Click to collapse
Did you use flash-all or flash-all-partitions?
ram4ufriends said:
Did you use flash-all or flash-all-partitions?
Click to expand...
Click to collapse
Hey sorry for the late answer, I used flash-all.bat and waited 5 minutes then my phone rebooted
I can't find flash-all. Is it gone?
me too!
GeoffreyLH said:
Hello, my OnePlus 6T is stuck in fastboot mode, I'd like to install Oxygen OS (which I have the zip file on my PC) or install twrp on it in order to flash the OOS but here is the problem:
If I type the command fastboot devices, the phone is detected:
PS C:\Users\Geoffrey\Desktop\OP6T\twrp> fastboot devices
4872f361 fastboot
BUT, if I type fastboot boot twrp.img (with a command prompt in the folder of the file), I get this error:
PS C:\Users\Geoffrey\Desktop\OP6T\twrp> fastboot boot twrp1.img
downloading 'boot.img'...
OKAY [ 0.628s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 0.644s
The phone is unlocked, when I use the OnePlus 6T all in one tool and click Bootloader Status it says Unlocked
Please help me I really Don't know what to do
Click to expand...
Click to collapse
I have the exact same problem! exactly!
---------- Post added at 08:33 PM ---------- Previous post was at 08:29 PM ----------
GeoffreyLH said:
You're the man ! I successfully installed OOS thank you very much!
Click to expand...
Click to collapse
I see this worked for you and Id like to try it but im a bit confused about what exactly to do. Could it be possible to have a more detailed explanation of the step by step things you did to fix this? I tried eveything you tried at first and got the exact same error message. I suspect if it worked for you it will work for me but I need a little more direction I guess.
Stuck on Fastboot, No recovery mode
Hey Guys...everytime i boot my oneplus 6t it remains stuck on fastboot mode , when i click on recovery mode it just gets back to the fastboot mode and also i am not able to start my phone. All i had done was format and factory reset using twrp and when i rebooted into system this all started hapening.It is also not recognised by PC..PLEASE HELP....
[email protected] said:
Hey Guys...everytime i boot my oneplus 6t it remains stuck on fastboot mode , when i click on recovery mode it just gets back to the fastboot mode and also i am not able to start my phone. All i had done was format and factory reset using twrp and when i rebooted into system this all started hapening.It is also not recognised by PC..PLEASE HELP....
Click to expand...
Click to collapse
Not recognized by the PC how? Are you trying to use the fastboot command? "fastboot devices" does anything come up?
You will need the fastboot ROM here, most likely to fix this.
Your last resort should be the MSMTool. (Remember it will relock your bootloader)
My Oneplus 6T is stuck on bootloop from 6 hours+ I've tried to hard reset the device, i have tried Volume Up + Power button, Recovery mode, deleting cache, none of it is working.
I had updated using the Oxygen Updater, 10.0 update, and it is now stuck forever in bootloop.
Please help

Categories

Resources