Related
I've followed all the guides to a T. and my SDK is able to run nicely. However, once I've made contact w/ my device in 'usb debugging mode', tested the connection w/ "adb devices" in command prompt, and set the device to bootloader w/ the "adb reboot bootloader" command, and finally I give it the command to "fastboot oem unlock", I get an unknown error!! Please help. I have all the path variables set, and my SDK is running good, and has all the newest updates.
This is a link to a video I made of the problem. Please watch. It'll help if you can see the problem! just copy and paste - youtube.com/watch?v=2bROUZh7GRI
Thanks for your responses. I hope they come quickly!
V0nice said:
I've followed all the guides to a T. and my SDK is able to run nicely. However, once I've made contact w/ my device in 'usb debugging mode', tested the connection w/ "adb devices" in command prompt, and set the device to bootloader w/ the "adb reboot bootloader" command, and finally I give it the command to "fastboot oem unlock", I get an unknown error!! Please help. I have all the path variables set, and my SDK is running good, and has all the newest updates.
This is a link to a video I made of the problem. Please watch. It'll help if you can see the problem! just copy and paste - youtube.com/watch?v=2bROUZh7GRI
Thanks for your responses. I hope they come quickly!
Click to expand...
Click to collapse
Ok. I'm unlocked now. New problem... >.< There's always something!! now when I try to flash the recovery image, I get an unknown error.
"C:\AndroidSDK\tools>fastboot flash recovery recovery-Tiamat-R4c-100611-1150-cwm.
img
sending 'recovery' (3998 KB)...
FAILED (command write failed (Unknown error))
finished. total time: 0.636s
C:\AndroidSDK\tools>"
Anyone recognize why it would do this?
V0nice said:
Ok. I'm unlocked now. New problem... >.< There's always something!! now when I try to flash the recovery image, I get an unknown error.
"C:\AndroidSDK\tools>fastboot flash recovery recovery-Tiamat-R4c-100611-1150-cwm.
img
sending 'recovery' (3998 KB)...
FAILED (command write failed (Unknown error))
finished. total time: 0.636s
C:\AndroidSDK\tools>"
Anyone recognize why it would do this?
Click to expand...
Click to collapse
just copy and paste the command from the OP's instructions. I used the new Clockwork in the thread and just renamed it... which method are you using. I just did mine last Thursday with no issues. I used this method http://forum.xda-developers.com/showthread.php?t=1078019
HTML:
adb reboot bootloader
fastboot flash recovery recovery-Tiamat-R4c-100611-1150-cwm.img
fastboot reboot
Make sure you have the latest fastboot.exe and if all else fails start from the beginning again. Now you are sure your fastboot is unlocked....
playya said:
just copy and paste the command from the OP's instructions. I used the new Clockwork in the thread and just renamed it... which method are you using. I just did mine last Thursday with no issues. I used this method http://forum.xda-developers.com/showthread.php?t=1078019
HTML:
adb reboot bootloader
fastboot flash recovery recovery-Tiamat-R4c-100611-1150-cwm.img
fastboot reboot
Make sure you have the latest fastboot.exe and if all else fails start from the beginning again. Now you are sure your fastboot is unlocked....
Click to expand...
Click to collapse
I did just copy and paste it, and i got that error message.
V0nice said:
I did just copy and paste it, and i got that error message.
Click to expand...
Click to collapse
Did you try to do the fastboot unlock again
How did you manage to get unlock to work? Perhaps if you gave us more info on what you did?
I've been looking around at different forums to see how to get my phone back to normal and there many ways to do it and I'm stuck.I'm able to use clockwork recovery,able to use fastboot but SD card is mounted and has an error everytime I try unmount , been trying to use the command propmt not that experienced I need some guidance to how to get another rom on phone
Try to flash the stock recovery, relock the bootloader with "fastboot oem lock" and flash a RUU.
Then try again from the beginning
Do I use the command propmt or Fastboot or clockwork
dannyzat said:
Do I use the command propmt or Fastboot or clockwork
Click to expand...
Click to collapse
Open cmd prompt. Navigate to folder where your fastboot program is (i.e. c:\android is where I put mine).
Plug in phone, boot into bootloader and click power to access fastboot.
Type in the "fastboot OEM lock" command in command prompt as suggested by torxx and that will relock the bootloader. Then flash ruu in bootloader
Sent from my HTC VLE_U using Tapatalk 2
I did all of that except for the last sentence how do I flash on command prompt
dannyzat said:
I did all of that except for the last sentence how do I flash on command prompt
Click to expand...
Click to collapse
Once u relock bootloader, you are done with command prompt... I think. I havemt done it on this phone, but usually you put ruu on root of sdcard (internal in this case) and reboot into bootloader and the ruu should begin flashing from there. Make sure its named properly. I'm sure there are threads regarding this
Sent from my HTC VLE_U using Tapatalk 2
still learning how to develope android phone's
Ok I'm on bootloader but idk. How to put the ruu on my sdcard if its mounted
dannyzat said:
Ok I'm on bootloader but idk. How to put the ruu on my sdcard if its mounted
Click to expand...
Click to collapse
try the adb command just go to this link http://forum.xda-developers.com/showthread.php?t=1667929 everything is there
ok i looked at the link and try to push the rom but the adb is not even detecting my device
this is what i get:C:\Documents and Settings\Jamal\Android>adb push rom.zip/sdcard
Android Debug Bridge version 1.0.29 and then all the information about adb about the options and commands
Im on fastboot right now and using the command prompt still, the bootloader is unlocked, and i dont think adb has dected my device beacause it does this for every command: C:\Documents and Settings\Jamal\Android>adb shell
error: device not found
C:\Documents and Settings\Jamal\Android>adb remount
error: device not found
C:\Documents and Settings\Jamal\Android>adb root
error: device not found
ps. my device is connected to the computer fastboot commands work but not adb
try installing the htc drivers for the One S then retry adb
ok so i just did this recently:C:\Documents and Settings\Jamal\Android>fastboot boot rom.zip
creating boot image...
creating boot image - 468381696 bytes
downloading 'boot.img'...
OKAY [946.172s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 946.656s
Is this a good sign?
Plus how do you install drivers
dannyzat said:
ok so i just did this recently:C:\Documents and Settings\Jamal\Android>fastboot boot rom.zip
creating boot image...
creating boot image - 468381696 bytes
downloading 'boot.img'...
OKAY [946.172s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 946.656s
Is this a good sign?
Plus how do you install drivers
Click to expand...
Click to collapse
download HTC sync make sure you read the steps right on that link and make you flash the recovery and download the Rom and push it
thank you all for helping me out
How do I get access to unmounting my sdcard cause it keeps having errors when I try to mount it in clockwork mod recoverybut still having errors
PS. Ek07 how do I use the HTC sync manager on my phone do I go to fastboot or clockwork
Hi Guys,
Hope to get some help here.
So i unlocked the bootloader of my one plus one and installed supersu + Twrp recovery. All worked fine until i decided to relock the bootloader.
I've put the device into fastboot mode and executed "fastboot oem lock" with twrp recovery still in there.
Now i am trying to unlock the bootloader again using "fastboot oem unlock" to be able to flash the stock recovery and having issues.
output of commands:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem unlock
...
OKAY [ 0.004s]
finished. total time: 0.005s
C:\Program Files (x86)\Minimal ADB and Fastboot>
After this it boots straight to twrp recovery. I then hit reboot system and go back to fastboot mode and run the below:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
target reported max download size of 536870912 bytes
sending 'recovery' (12260 KB)...
OKAY [ 0.389s]
writing 'recovery'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.404s
Anyone has an idea how i can unlock the bootloader again ?
Thanks
Vik
Would it let you reflash the stock factory image thru fastboot? Maybe if you could do that it would let you unlock again. And it would give you stock recovery.
Or else what about the option in developer settings to update the stock cm recovery when installing an update. Maybe you could install an official update thru TWRP and get stock recovery back?
Just throwing out ideas, hope you figure it out
I've documented ths same issue describe here: http://forum.xda-developers.com/oneplus-one/help/locked-bootloader-twr-rooted-t2820341
The solution: http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
Download and flash that script.
lemonspeakers said:
I've documented ths same issue describe here: http://forum.xda-developers.com/oneplus-one/help/locked-bootloader-twr-rooted-t2820341
The solution: http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
Download and flash that script.
Click to expand...
Click to collapse
Thanks i'll give that a try as soon as am home..
YrrchSebor said:
Would it let you reflash the stock factory image thru fastboot? Maybe if you could do that it would let you unlock again. And it would give you stock recovery.
Or else what about the option in developer settings to update the stock cm recovery when installing an update. Maybe you could install an official update thru TWRP and get stock recovery back?
Just throwing out ideas, hope you figure it out
Click to expand...
Click to collapse
Hi YrrchSebor,
Thanks for the reply.. I already tried all that, even using adb sideload and keep getting same error as mentioned above. I'll try the solution lemonspeakers suggested later today and post the outcome.
Thanks
Vikmeister said:
Hi YrrchSebor,
Thanks for the reply.. I already tried all that, even using adb sideload and keep getting same error as mentioned above. I'll try the solution lemonspeakers suggested later today and post the outcome.
Thanks
Click to expand...
Click to collapse
Be careful if you updated your phone to XNPH30O OTA,
!!! Warning !!!
In the NEW OTA CM11S XNPH30O, the bootloader (aboot) img size changed....
We request all not to apply the unlocker scripts on the new bootloader , until we confirm/find the new bit position.
It might brick your phone and corrupt bootloader...
Click to expand...
Click to collapse
It won't work.. do not try it if you updated to XNPH30O using the OTA.
zephiK said:
Be careful if you updated your phone to XNPH30O OTA,
It won't work.. do not try it if you updated to XNPH30O using the OTA.
Click to expand...
Click to collapse
Thanks for letting me know ZephiK i haven't updated to that version yet. I still have XNPH25R. I should all good.
Fantastic.. Thanks a lot guys.. That worked like a treat.. Bootloader is now unlocked.
:laugh::good:
lemonspeakers said:
I've documented ths same issue describe here: http://forum.xda-developers.com/oneplus-one/help/locked-bootloader-twr-rooted-t2820341
The solution: http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
Download and flash that script.
Click to expand...
Click to collapse
I ran this command:
Code:
fastboot.exe boot TWRP-2.7.1.0.img
But the next step does not work:
Code:
It will boot your phone into recovery once from the recovery image
stored in your PC temporarily
then you can flash the zip either by sideload or from sdcard...
I got:
downloading 'boot.img'...
OKAY [ 0.484s]
booting...
FAILED (remote: Device not unlocked cannot boot)
finished. total time: 0.487s
That's because you can't boot a recovery with the recent bootloader unless you're unlocked.
Transmitted via Bacon
Hello,
so how to unlock the bootloader when:
- i can only access to fastboot and i have connectivity to pc;
- command 'fastboot oem unlock' doesn't work( FAILED (remote: oem unlock is disabled) )
- command 'fastboot flash recovery firmware.zip' doesn't work (FAILED (remote: Device not unlocked cannot flash or erase))
- all adb commands say: "error: device not found"
- i can't access recovery for use adb sideload (phone freezes with 1+ icon in screen)
- i can't access Android (phone freezes with 1+ icon in screen)
What can i do?
Thanks in advance!
Gustavo
Im have the same issue but I have no recovery installed..Anyway to do this
i have same issue plz give me any solution if you found any???plz let me know plzzzzz
piriri007 said:
Hello,
so how to unlock the bootloader when:
- i can only access to fastboot and i have connectivity to pc;
- command 'fastboot oem unlock' doesn't work( FAILED (remote: oem unlock is disabled) )
- command 'fastboot flash recovery firmware.zip' doesn't work (FAILED (remote: Device not unlocked cannot flash or erase))
- all adb commands say: "error: device not found"
- i can't access recovery for use adb sideload (phone freezes with 1+ icon in screen)
- i can't access Android (phone freezes with 1+ icon in screen)
What can i do?
Thanks in advance!
Gustavo
Click to expand...
Click to collapse
plz help same issue
Hi to XDA comunity
... and happy festive season
I tried to install a new ROM. So, I followed tutorials and I have a huge problem
I passed to unlock the tablet
But, when I tried to install the new Recovery, the installation failed and now, the tablet doesn't want to boot
When I boot normaly, in recovery mode or Fastboot mode, I get this message :
Code:
Bootloader Version JB-653b3d3 (Unlock Mode)
Entering boot menu mode
Booting failed
Bootloader VJB-653b3d3(UnlockMode): Starting Fastboot USB download protocol
When I send "Fastboot device", the device is shown
When I send "Fastboot flash recovery twrp-2.6.3.0_a700.img"
Code:
sending 'recovert' <5736 KB>...
But still indefinitely
So I stop and retry and I obtain
downloading 'boot.img'...
FAILED <commande write failed <Unknow error>>
finished. total time: 0.???s
i tried to erase recovery and retry.
Tried with several USB cables.
I don't know what to do...
I guess it's a fastboot problem ? How can I found a fastboot file ?
Thanks for any help !
grimnnir said:
Hi to XDA comunity
... and happy festive season
I tried to install a new ROM. So, I followed tutorials and I have a huge problem
I passed to unlock the tablet
But, when I tried to install the new Recovery, the installation failed and now, the tablet doesn't want to boot
When I boot normaly, in recovery mode or Fastboot mode, I get this message :
Code:
Bootloader Version JB-653b3d3 (Unlock Mode)
Entering boot menu mode
Booting failed
Bootloader VJB-653b3d3(UnlockMode): Starting Fastboot USB download protocol
When I send "Fastboot device", the device is shown
When I send "Fastboot flash recovery twrp-2.6.3.0_a700.img"
Code:
sending 'recovert' <5736 KB>...
But still indefinitely
So I stop and retry and I obtain
downloading 'boot.img'...
FAILED <commande write failed <Unknow error>>
finished. total time: 0.???s
i tried to erase recovery and retry.
Tried with several USB cables.
I don't know what to do...
I guess it's a fastboot problem ? How can I found a fastboot file ?
Thanks for any help !
Click to expand...
Click to collapse
make sure you have the a700 and not the a701 or a510 etc etc....
also, you could try booting directly into fastboot:
1. power off
2. hold power and volume down, while you're doing that, constantly change the rotation switch from lock unlock lock unlock.... keep doing it for about 5 seconds
try flashing from here... it might give you the same result but worth a try.
other possible problems:
1. the recovery you downloaded is corrupt
2. the recovery you downloaded was not a working version
3. you might not have the right usb drivers installed
4. you might have used the wrong recovery commands
5. command (sometimes) needs to be Run as Administrator on Windows (right click)
6. you might have waited too long to reboot to recovery, or used the wrong method to do it
it might make it easier for you if you just rename recovery on computer to recovery.img (so you can just type fastboot flash recovery recovery.img)
also, I have uploaded a copy of the recovery I'm using (it's newer)
you can also try (while in fastboot)
Code:
fastboot boot twrp.img
(or any custom recovery)
It should boot without flashing, and from there you're will be able to flash firmware, ROM, etc...
Shreps said:
you can also try (while in fastboot)
Code:
fastboot boot twrp.img
(or any custom recovery)
It should boot without flashing, and from there you're will be able to flash firmware, ROM, etc...
Click to expand...
Click to collapse
it might be fine but personally I would not try that... recovery and boot are not to be confused and bootloaders are not to be messed with
I cant seem to find the unlock OEM option at all in the developer options. I tried to add images to show my problems but was not allowed to....sigh. Either way I cannot see the OEM option in my phone.
Model: MHA-AL00
Build: MHA-AL00C00B156
This is what I get after flashing TWRP with no issues and trying to reboot into recovery.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot TWRP.img
downloading 'boot.img'...
OKAY [ 0.464s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.471s
Any help would be greatly appreciated.
Chinese firmware doesn't have oem unlock option.
Did you unlock bootloader?
gm007 said:
Chinese firmware doesn't have oem unlock option.
Did you unlock bootloader?
Click to expand...
Click to collapse
Yes I did. I can't seem to figure out what to do next. It shows to me that the twrp recovery has been installed but when i go to it it comes up with the recovery from the huawei. So i can't flash anything.
So if it doesn't have the OEM option to unlock can I not install recovery or root the handset?
Without the phone plugged,hold volume up and power till u see the logo, release power while keeping volume up pressed.
try this
shut down phone
press vol up + power
when saw the huawei logo
release all buttons
wait
done
u r in twrp
GH04ST said:
I cant seem to find the unlock OEM option at all in the developer options. I tried to add images to show my problems but was not allowed to....sigh. Either way I cannot see the OEM option in my phone.
Model: MHA-AL00
Build: MHA-AL00C00B156
This is what I get after flashing TWRP with no issues and trying to reboot into recovery.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot TWRP.img
downloading 'boot.img'...
OKAY [ 0.464s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.471s
Any help would be greatly appreciated.
Click to expand...
Click to collapse
fastboot boot is not supported. try the keys combination
Fastboot boot twrp.img would not flash twrp, what it tries is downloading twrp.img then boot it without flashing.
I'm not sure how it is for the Chinese Mate 9s, but you'd want 'fastboot flash recovery twrp.img', that flashes twrp (if your twrp is named twrp.img).
If it says it flashed twrp, try 'adb reboot recovery'.
Never flash recovery to boot partition.
For recovery : "fastboot flash recovery twrp.img"
gm007 said:
Never flash recovery to boot partition.
For recovery : "fastboot flash recovery twrp.img"
Click to expand...
Click to collapse
Yikes, thanks for noticing. I'm tired. Edited
Thank you so much. It greatly helped.
hello
GH04ST said:
Yes I did. I can't seem to figure out what to do next. It shows to me that the twrp recovery has been installed but when i go to it it comes up with the recovery from the huawei. So i can't flash anything.
Click to expand...
Click to collapse
Are you unlocked it without click that oem unlock??
I also have mate 9china version I can not assign root if you succeeded without oem un
ante0 said:
Yikes, thanks for noticing. I'm tired. Edited
Click to expand...
Click to collapse
OEM Unlock
GH04ST said:
Yes I did. I can't seem to figure out what to do next. It shows to me that the twrp recovery has been installed but when i go to it it comes up with the recovery from the huawei. So i can't flash anything.
Click to expand...
Click to collapse
Were you able to unlock the bootloader of your Mate 9, MHA-AL00?
In my Developer Options there is no "OEM Unlocking"
Model: MHA-AL00
Build: MHA-AL00C00B213
I've been trying for days and I can not because the error always appears:
...
FAILED (remote: command not allowed)
Finished. Total time: 0.031s.
Do you or anyone that else got were can help me out?
Thanks
tigrelouco said:
Were you able to unlock the bootloader of your Mate 9, MHA-AL00?
In my Developer Options there is no "OEM Unlocking"
Model: MHA-AL00
Build: MHA-AL00C00B213
I've been trying for days and I can not because the error always appears:
...
FAILED (remote: command not allowed)
Finished. Total time: 0.031s.
Do you or anyone that else got were can help me out?
Thanks
Click to expand...
Click to collapse
Are you using "fastboot flash recovery twrp.img" or "fastboot boot twrp.img"? The boot command is not allowed.
ante0 said:
Are you using "fastboot flash recovery twrp.img" or "fastboot boot twrp.img"? The boot command is not allowed.
Click to expand...
Click to collapse
I'm still trying to unlock the bootloader using the command prompt and ADB and Fastboot, after I got the Huawei code:
Step-1: Open the command prompt and enter the following command.
Adb reboot bootloader
Step-2: Your phone will reboot and enter into bootloader mode.
Step-3: Now enter the following command to finally unlock the bootloader.
Fastboot oem unlock xxxxxxxxxxxxxxxxxxxx
And it always fails.
I do not know how to use "fastboot flash recovery twrp.img" or "fastboot boot twrp.img".
Do you have a guide how should I do it?
tigrelouco said:
I'm still trying to unlock the bootloader using the command prompt and ADB and Fastboot, after I got the Huawei code:
Step-1: Open the command prompt and enter the following command.
Adb reboot bootloader
Step-2: Your phone will reboot and enter into bootloader mode.
Step-3: Now enter the following command to finally unlock the bootloader.
Fastboot oem unlock xxxxxxxxxxxxxxxxxxxx
And it always fails.
I do not know how to use "fastboot flash recovery twrp.img" or "fastboot boot twrp.img".
Do you have a guide how should I do it?
Click to expand...
Click to collapse
You can done follow this link.
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
---------- Post added at 07:31 AM ---------- Previous post was at 07:30 AM ----------
tigrelouco said:
I'm still trying to unlock the bootloader using the command prompt and ADB and Fastboot, after I got the Huawei code:
Step-1: Open the command prompt and enter the following command.
Adb reboot bootloader
Step-2: Your phone will reboot and enter into bootloader mode.
Step-3: Now enter the following command to finally unlock the bootloader.
Fastboot oem unlock xxxxxxxxxxxxxxxxxxxx
And it always fails.
I do not know how to use "fastboot flash recovery twrp.img" or "fastboot boot twrp.img".
Do you have a guide how should I do it?
Click to expand...
Click to collapse
command for unlock via cmd
fastboot oem unlock xxxxxxxxxxxxxxxx
You can done follow this link.
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
newyesor said:
You can done follow this link.
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
---------- Post added at 07:31 AM ---------- Previous post was at 07:30 AM ----------
command for unlock via cmd
fastboot oem unlock xxxxxxxxxxxxxxxx
You can done follow this link.
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
Click to expand...
Click to collapse
But he says it fails every time.
@tigrelouco
Open a terminal or adb shell and enter these commands:
getprop sys.oem_unlock_allowed
getprop ro.oem_unlock_supported
And post results.
Found this in another thread:
tohc1 said:
To answer my own problem/ for anyone else having problems it is necessary to remove the factory reset protection (frp) to do this you need to remove all pin/password/fingerprint locks, then remove all google accounts and finally do a factory reset.
Then the usual adb/fastboot commands work fine.
As linux33it says the bootloader can be unlocked without the option in the developer options.
Click to expand...
Click to collapse
Might be of help.
ante0 said:
But he says it fails every time.
@tigrelouco
Open a terminal or adb shell and enter these commands:
getprop sys.oem_unlock_allowed
getprop ro.oem_unlock_supported
And post results.
Found this in another thread:
Might be of help.
Click to expand...
Click to collapse
And how do I open a Shell command?
tigrelouco said:
And how do I open a Shell command?
Click to expand...
Click to collapse
Download Terminal emulator from the playstore or use adb from command prompt.
By the way, you dont happen to use Linux?