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?
Related
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
Finally got the Android P update and I hate it. I'm wanting to revert back to Android 8. I'm a complete noob and have never attempted to root or anything like this before. Can anyone help?
Also, I'm aware ill have to do a factory reset or something like that at some point. Can someone recommend a complete back up tool for android? I've obviously made back ups before but they've only ever been certain apps or call logs etc. Is there a (preferably free) tool that literally allows to me back up, reset, and restore and end up with my phone contents as if I never reset?
wiliestseven51 said:
Finally got the Android P update and I hate it. I'm wanting to revert back to Android 8. I'm a complete noob and have never attempted to root or anything like this before. Can anyone help?
Also, I'm aware ill have to do a factory reset or something like that at some point. Can someone recommend a complete back up tool for android? I've obviously made back ups before but they've only ever been certain apps or call logs etc. Is there a (preferably free) tool that literally allows to me back up, reset, and restore and end up with my phone contents as if I never reset?
Click to expand...
Click to collapse
Edit: Downgrading is not an easy task. My understanding is you will first need to downgrade your firmware, then flash a compatible RUU. I believe this requires you to be s-off.
As far as the backup you mentioned, well that's what TWRP is for. First you'll need to unlock your bootloader which you can do by following the instructions from the htcdev website (understand this will factory reset your phone). Then find the TWRP thread which will have instructions on how to temporarily boot TWRP or permanently install TWRP to your phone's boot partition. Within TWRP you can perform the backup you desire. There is a learning curve to all of this. Good luck.
RUU download here --> https://docs.google.com/spreadsheets/d/1wIRrVQawd5rD-t9VKPQ-SdRK20RcJVZhwD7lhmPIK8w/edit#gid=0
About backup,if you are rooted, use twrp recovery o titanium backup app,otherwise google drive backup
I'm having trouble unlocking the bootloader and using fastboot. Im following the instruction son the htcdev page and the code it wants me to enter just fails every single time. When I use the 'fastboot devices' I get the verification code that everything is working. I've attached an image of what the error code. Im thinking its a windows driver issue, I download the google usb driver direct and it makes me choose one of 3 modes? I've tried all 3 and get the same error code on all 3. I've tried other commands but pretty much anything than the 'fastboot devices' causes the error code. Any ideas?
Thanks for your help.
Couldn't attach the image links so ill just type the error:
FAILED (write to device failed (unknown error))
fastboot: error : command failed
and the 3 driver choices were :
Android ADB interface
Android Bootloader interface
Android Composite ADB interface
Maybe this could help though
https://forum.xda-developers.com/u12-plus/how-to/downgrade-s-t3930103
wiliestseven51 said:
I'm having trouble unlocking the bootloader and using fastboot. Im following the instruction son the htcdev page and the code it wants me to enter just fails every single time. When I use the 'fastboot devices' I get the verification code that everything is working. I've attached an image of what the error code. Im thinking its a windows driver issue, I download the google usb driver direct and it makes me choose one of 3 modes? I've tried all 3 and get the same error code on all 3. I've tried other commands but pretty much anything than the 'fastboot devices' causes the error code. Any ideas?
Thanks for your help.
Couldn't attach the image links so ill just type the error:
FAILED (write to device failed (unknown error))
fastboot: error : command failed
and the 3 driver choices were :
Android ADB interface
Android Bootloader interface
Android Composite ADB interface
Click to expand...
Click to collapse
I use HTC windows driver version 4.10 and the fastboot binaries from step 4 of the unlock bootloader process. I've never had to make the choice you are describing.
Sounds like you are basically on the last step of the procedure, no?
Hi guys, sorry for reply after such a long time I was busy with work.
So I downloaded those drivers and have managed to get futher through the HTC unlock process. I'm now stuck on the final step. I've got the unlock code bin from htc and the dev site is telling to me to enter the code: fastboot flash unlocktoken Unlock_code.bin
I copied and paste this into the command prompt and I get this:
PS C:\Users\Wilie\Downloads\platform-tools_r29.0.2-windows\platform-tools> .\fastboot flash unlocktoken Unlock_code.bin
Sending 'unlocktoken' (0 KB) OKAY [ 1.002s]
Writing 'unlocktoken' (bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: 'UnlockToken Verify Fail!!')
fastboot: error: Command failed
From what i can tell the command works for the first part and then fails near the end. I'm completely stumped here, any ideas?
wiliestseven51 said:
Hi guys, sorry for reply after such a long time I was busy with work.
So I downloaded those drivers and have managed to get futher through the HTC unlock process. I'm now stuck on the final step. I've got the unlock code bin from htc and the dev site is telling to me to enter the code: fastboot flash unlocktoken Unlock_code.bin
I copied and paste this into the command prompt and I get this:
PS C:\Users\Wilie\Downloads\platform-tools_r29.0.2-windows\platform-tools> .\fastboot flash unlocktoken Unlock_code.bin
Sending 'unlocktoken' (0 KB) OKAY [ 1.002s]
Writing 'unlocktoken' (bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: 'UnlockToken Verify Fail!!')
fastboot: error: Command failed
From what i can tell the command works for the first part and then fails near the end. I'm completely stumped here, any ideas?
Click to expand...
Click to collapse
You have got oem unlock & adb debugging set in developers option sliders on? Try "adb reboot" command, see if your adb has been authorised on yr PC. I had a dodgy lead, using usb3 port, using shell instead of cmd cause similar problems
So i am having a problem while trying to install TWRP via ADB. When i am typing command "fastboot flash recovery recovery.img" i get this "Failed:<remote> Command not allowed" code.
I tried using cmd and Powershell with Administrator's right but the same thing happening again and again. I even tried to root the phone using in-phone programmes (Kingroot, Kingoroot, iRoot)in order to use Flashify and flash recovery through there and still nothing. OEM is unlocked and i can't really relock the phone since i dont have the unlock code anymore and Huawei doesn't support Unlocking devices anymore from her website to get a new one.
Things i did up to this point:
Enabled USB Debugging
Installed Huawei USB Drivers
Opened Powershell/Minimal ADB and Fastboot with Administrator
Typed command "fastboot flash recovery recovery.img"
Got this :
target reported max download size of 471859200 bytes
sending 'recovery' (23942 KB)...
OKAY [ 0.568s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.584s
Is there any way of installing TWRP on this phone ?
Is there any method i can root this phone in order to flash TWRP from Flashify?
xWonderizZ said:
So i am having a problem while trying to install TWRP via ADB. When i am typing command "fastboot flash recovery recovery.img" i get this "Failed:<remote> Command not allowed" code.
I tried using cmd and Powershell with Administrator's right but the same thing happening again and again. I even tried to root the phone using in-phone programmes (Kingroot, Kingoroot, iRoot)in order to use Flashify and flash recovery through there and still nothing. OEM is unlocked and i can't really relock the phone since i dont have the unlock code anymore and Huawei doesn't support Unlocking devices anymore from her website to get a new one.
Things i did up to this point:
Enabled USB Debugging
Installed Huawei USB Drivers
Opened Powershell/Minimal ADB and Fastboot with Administrator
Typed command "fastboot flash recovery recovery.img"
Got this :
target reported max download size of 471859200 bytes
sending 'recovery' (23942 KB)...
OKAY [ 0.568s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.584s
Is there any way of installing TWRP on this phone ?
Is there any method i can root this phone in order to flash TWRP from Flashify?
Click to expand...
Click to collapse
In huawei devices recovery named recovery_ramdisk, so fastboot command is different.
I suggest use huawei multi tool for flashing recovery or system gsi .
hamedsolo said:
In huawei devices recovery named recovery_ramdisk, so fastboot command is different.
I suggest use huawei multi tool for flashing recovery or system gsi .
Click to expand...
Click to collapse
Do you know the fastboot command ? Also do i have to name my recovery as recovery_ramdisk?
xWonderizZ said:
Do you know the fastboot command ? Also do i have to name my recovery as recovery_ramdisk?
Click to expand...
Click to collapse
look at this
tobyffm said:
OK, I managed it by myself, haha.
For anyone else with same issue.
Since Oreo: Partition names have changed.
Use this command: fastboot flash recovery_ramdisk RECOVERY.img
"recovery" changed to "recovery_ramdisk" now.
Mod can close this thread.
Click to expand...
Click to collapse
as I said before, use this tool and don't bother yourself with typing commands
https://forum.xda-developers.com/t/tool-huawei-multi-tool-v8-by-team-mt.3523923/
do more search my friend
hamedsolo said:
look at this
as I said before, use this tool and don't bother yourself with typing commands
https://forum.xda-developers.com/t/tool-huawei-multi-tool-v8-by-team-mt.3523923/
do more search my friend
Click to expand...
Click to collapse
I will give it a try. Thanks a lot
hamedsolo said:
look at this
as I said before, use this tool and don't bother yourself with typing commands
https://forum.xda-developers.com/t/tool-huawei-multi-tool-v8-by-team-mt.3523923/
do more search my friend
Click to expand...
Click to collapse
404 Not FoundAlso the site https://pro-teammt.ru/huawei-multi-tool is not working.
alex27riva said:
404 Not FoundAlso the site https://pro-teammt.ru/huawei-multi-tool is not working.
Click to expand...
Click to collapse
I uploaded my files to this link. Rar pass is [email protected] . I hope you find it useful.
4.49 MB file on MEGA
mega.nz
Hey,
I have a Blackview A60 phone.
I watched some Tutorials how to get a custom rom on a Blackview A60.
I did everything like they explain.
I turned OEM and USB Debugging on.
Connected the phone to my PC.
Accepted the popup for USB Debugging and checked "Always".
Than went into "platform-tools" (fastboot) and opend a powershell to that folder.
Runned "./adb devices" with this result:
List of devices attached
DKA60FEEA00008730 device
Click to expand...
Click to collapse
Then I turned off my phone and turning it back on while holding "Volume up" until the "Select boot" menu pops out.
Selected "Fastboot mode" and vent back to my PC.
I Checked with fastboot if its connected with "./fastboot devices" with this result:
DKA60FEEA00008730 fastboot
Click to expand...
Click to collapse
Then I tried "./fastboot oem unlock-go" and got this error:
./fastboot oem unlock-go
fastboot: error: Command failed
FAILED (remote: 'unknown command')
Click to expand...
Click to collapse
I asked on the xda Discord Server for help and got a good answer from the user Poäng LinOX / Poäng LinOX#1178 (ID: 591953093982289943):
./fastboot flashing unlock
Click to expand...
Click to collapse
And it worked!
Now that I unlocked it and can go ahead.
Downloaded TWRP from different sources and renamed then to recovery.img and dropped it into the "platform-tools" folder.
Opened Powershell again and used "./fastboot flash recovery recovery.img" and got this message:
Sending 'recovery' (11820 KB) OKAY [ 0.386s]
Writing 'recovery' OKAY [ 1.180s]
Finished. Total time: 1.582s
Click to expand...
Click to collapse
From that message, it should work now.
Reboot my phone and tried to go into Recovery mode and its the old one as before (NOT TWRP).
Then I tried the other TWRP from a other source and did the same with no changes.
This is how my Android Recovery looks like:
Android RecoveryBlackview/A60_2G_EEA/A60_2G10/QP1A.190711.020/1606286474user/release-keysUse volume up/down and power.--------------------------------------Reboot system nowReboot to bootloaderEnter fastbootApply update from ABDApply update from SD cardWipe data/factory resetWipe cache partitionMount /systemView recovery logsRun graphics testRun locale testEnter rescuePower offSupported API: 3I have no clue whats wrong there :x
I hope to get a answer here :x