Don't know where to place Unlock_code.bin - One (M9) Q&A, Help & Troubleshooting

I downloaded the 15 Second ADB/Fastboot installer, and i got my bootloader token, but when i try "fastboot flash unlocktoken Unlock_code.bin" in cmd it wont let me pull anything up. I'm using Vista btw

Put the unlock_code.bin file in the same folder as the fastboot.exe you are executing.
Beamed in by telepathy.

Related

[Q]getting error 152 on RUU?

Hey guys!
while running the RUU instalation I get an error 152, some update error thing.
phone wont boot to recovery, all I have is the blakc screen with silver HTC logo and I have no idea what to do
any ideas?
Okay, run the RUU again but this time don't click next, instead:
Go to C:/Users/(Yournamehere)/AppData/Local/Temp
- search for "rom.zip" file
Copy it to your fastboot folder
Remember to relock your device before running an RUU! To do this from the HTC screen, type: "fastboot reboot-bootloader" and then
type 'fastboot oem lock'. To go back to the HTC logo, type: 'fastboot oem rebootRUU'
Then, on the HTC screen, use fastboot to flash the rom.zip file: "fastboot flash zip rom.zip"
This might take awhile and might fail once, but be patient and try again if it fails
After installation it most likely won't appear to do anything and in that case, type: "fastboot reboot"
But for now, the phon doesnt count as bricked?
And btw, fastboot commands will work whn im on the black slove htc screen? My recovery isnt openning...
ChuckTesta said:
But for now, the phon doesnt count as bricked?
Click to expand...
Click to collapse
Nope, as the screen is on. A brick is when you get no response from any of the buttons, even in combination
Sent from my Galaxy Nexus using XDA Premium HD app
tomascus said:
Okay, run the RUU again but this time don't click next, instead:
Go to C:/Users/(Yournamehere)/AppData/Local/Temp
- search for "rom.zip" file
Copy it to your fastboot folder
Remember to relock your device before running an RUU! To do this from the HTC screen, type: "fastboot reboot-bootloader" and then
type 'fastboot oem lock'. To go back to the HTC logo, type: 'fastboot oem rebootRUU'
Then, on the HTC screen, use fastboot to flash the rom.zip file: "fastboot flash zip rom.zip"
This might take awhile and might fail once, but be patient and try again if it fails
After installation it most likely won't appear to do anything and in that case, type: "fastboot reboot"
Click to expand...
Click to collapse
Quinny899 said:
Nope, as the screen is on. A brick is when you get no response from any of the buttons, even in combination
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
So cmd command will work in this state?
tomascus said:
Okay, run the RUU again but this time don't click next, instead:
Go to C:/Users/(Yournamehere)/AppData/Local/Temp
- search for "rom.zip" file
Copy it to your fastboot folder
Remember to relock your device before running an RUU! To do this from the HTC screen, type: "fastboot reboot-bootloader" and then
type 'fastboot oem lock'. To go back to the HTC logo, type: 'fastboot oem rebootRUU'
Then, on the HTC screen, use fastboot to flash the rom.zip file: "fastboot flash zip rom.zip"
This might take awhile and might fail once, but be patient and try again if it fails
After installation it most likely won't appear to do anything and in that case, type: "fastboot reboot"
Click to expand...
Click to collapse
I dont have a rom.zip in the local older, even after i run RUU...what could it be? Btw thebootloader was already locked.

[Q] bootloader unlocking problem

i followed the instructions on htc dev to unlock bootloader...I downloaded fastboot binary and placed it in c:\Android but as i type in the cmd C:\Android>fastboot oem get_identifier_token I get this"'fastboot' is not recognized as an internal or external command, operableprogram or batch file." please help!
aryan_wfs said:
i followed the instructions on htc dev to unlock bootloader...I downloaded fastboot binary and placed it in c:\Android but as i type in the cmd C:\Android>fastboot oem get_identifier_token I get this"'fastboot' is not recognized as an internal or external command, operableprogram or batch file." please help!
Click to expand...
Click to collapse
Try THIS or This one

[Q] RUU failed. Now stuck on htc logo. Dead?

Tried to install latest RUU file and failed. Now phone is stuck on htc logo with black screen only when plugged in pc. Also when unplugged, goes to bootload with no options and only shows RUU.
Phone is unlocked and s-off. Had Bootloader installed and now wont show
Need help ASAP
Thanks
gmdiesel05 said:
Tried to install latest RUU file and failed. Now phone is stuck on htc logo with black screen only when plugged in pc. Also when unplugged, goes to bootload with no options and only shows RUU.
Phone is unlocked and s-off. Had Bootloader installed and now wont show
Need help ASAP
Thanks
Click to expand...
Click to collapse
did you flash the ruu.zip 2 times .. the first flash only updates the hboot
clsA said:
did you flash the ruu.zip 2 times .. the first flash only updates the hboot
Click to expand...
Click to collapse
yes the second time it said device not found! In cmd window, i type adb devices and none there
This is what happens, and hangs there
C:\Users\Desktop\platform-tools>fastboot oem rebootRUU
< waiting for device >
...
(bootloader) Start Verify: 0
OKAY [ 0.072s]
finished. total time: 0.073s
C:\Users\Cedrik\Desktop\platform-tools>fastboot flash zip RUU-HTC_One_M8_GPE_5.0
.1-3.11.1700.5.zip
gmdiesel05 said:
yes the second time it said device not found! In cmd window, i type adb devices and none there
Click to expand...
Click to collapse
it has nothing to do with adb you phone is in fastboot RUU mode
fastboot oem rebootRUU
fastboot flash zip ruu.zip
fastboot flash zip ruu.zip
fastboot reboot
what file are you trying to flash ?
clsA said:
it has nothing to do with adb you phone is in fastboot RUU mode
fastboot oem rebootRUU
fastboot flash zip ruu.zip
fastboot flash zip ruu.zip
fastboot reboot
what file are you trying to flash ?
Click to expand...
Click to collapse
Im trying to flash RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip
latest non rooted GPE
Seems to hang. wont let me type in cmd
gmdiesel05 said:
Im trying to flash RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip
latest non rooted GPE
Seems to hang. now i cant flash a 2nd time
Click to expand...
Click to collapse
are you s-off ? is your phone a GSM M8 ?
Did you try the other method, just renaming the RUU to 0p6bimg.zip (<a 0 (Zero) not a capital o (O), naturally...)
What error do you get when the flashing of the RUU fails?
Like mentioned by clsA said, adb devices won't work in fastboot mode, it should be "fastboot devices" to check if it's connected
---------- Post added at 06:20 AM ---------- Previous post was at 06:18 AM ----------
gmdiesel05 said:
Im trying to flash RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip
latest non rooted GPE
Seems to hang. wont let me type in cmd
Click to expand...
Click to collapse
You changed CID and MID I take it?
CID - GOOGL001
MID - 0P6B17000
Would have helped a bit if we had an idea what the error was.
clsA said:
are you s-off ? is your phone a GSM M8 ?
Click to expand...
Click to collapse
sure is in s-off. and it is a GSM. Also its in GOOGL001 CID
I made sure I followed instruction properly so I dont screw up.
clsA said:
are you s-off ? is your phone a GSM M8 ?
Click to expand...
Click to collapse
Yeah he said his phone is S-OFF in OP
Phone is unlocked and s-off. Had Bootloader installed and now wont show
Click to expand...
Click to collapse
gmdiesel05 said:
sure is in s-off. and it is a GSM. Also its in GOOGL001 CID
I made sure I followed instruction properly so I dont screw up.
Click to expand...
Click to collapse
just use the fastboot flash zip ruu.zip command again
clsA said:
just use the fastboot flash zip ruu.zip command again
Click to expand...
Click to collapse
I just closed cmd window and restared. redid fastboot flash zip ruu.zip and seems to hang still
hope i didnt screw this up....
gmdiesel05 said:
I just closed cmd window and restared. redid fastboot flash zip ruu.zip and seems to hang still
hope i didnt screw this up....
Click to expand...
Click to collapse
try and unplug the phone from the pc and hold volume up + power for 10 seconds
when the phone reboots try the ruu again .. if the bootloader says RUU in red don't do the fastboot oem rebootRUU command just go straight to flashing
The RUU flashes very slow are you waiting long enough ?
clsA said:
try and unplug the phone from the pc and hold volume up + power for 10 seconds
when the phone reboots try the ruu again .. if the bootloader says RUU in red don't do the fastboot oem rebootRUU command just go straight to flashing
The RUU flashes very slow are you waiting long enough ?
Click to expand...
Click to collapse
OK so i started from scratch. closed cmd window, unplugged phone, replugged and opened cmd window.
fastboot devices. shows device
fastboot oem rebootRUU. it reboots and goes to htc screen
fastboot flash zip 0p6bimg.zip. sorry renamed file. after i pressed enter, it opened another window and sent zip file. then it closed and now seems to not do anything.
maybe im not waiting long enough?
ok heres the latest
FAILED <command write failed <No such device or address>>
gmdiesel05 said:
OK so i started from scratch. closed cmd window, unplugged phone, replugged and opened cmd window.
fastboot devices. shows device
fastboot oem rebootRUU. it reboots and goes to htc screen
fastboot flash zip 0p6bimg.zip. sorry renamed file. after i pressed enter, it opened another window and sent zip file. then it closed and now seems to not do anything. Sorry you lost me here
maybe im not waiting long enough?
Click to expand...
Click to collapse
you have the file renamed just copy it to your Ext - sdcard and let the bootloader flash it
don't forget to delete or rename it on the sdcard before you reboot again or it will flash it again
ok heres the latest
FAILED <command write failed <No such device or address>>
gmdiesel05 said:
OK so i started from scratch. closed cmd window, unplugged phone, replugged and opened cmd window.
fastboot devices. shows device
fastboot oem rebootRUU. it reboots and goes to htc screen
fastboot flash zip 0p6bimg.zip. sorry renamed file. after i pressed enter, it opened another window and sent zip file. then it closed and now seems to not do anything.
maybe im not waiting long enough?
Click to expand...
Click to collapse
Yeah this pretty much tells me you didn't properly read the guide to converting your device to GPE. When I mentioned "the 0p6bimg.zip" method I kind of figured you'd know to place it on SD Card and reboot into bootloader so that the bootloader can pick up the .zip file and flash it from there. Flashing in from RUU sort of gave it away there
Method 1
No computer required. Everything else still required. s-off, super CID/gpe CID etc..
1. Rename the RUU zip file 0p6bimg.zip (if your hboot is looking for a different name then rename it to whatever it's looking for)
2. Place the zip on your external SD card
3. Power off your phone
4. Boot into Hboot (hold down vol down as you power on the device)
5. it will load the zip and ask you if you want to proceed
6. Say yes
7. Wait
8. Profit
Click to expand...
Click to collapse
Didn't say anything about flashing it in RUU mode.
BerndM14 said:
Yeah this pretty much tells me you didn't properly read the guide to converting your device to GPE. When I mentioned "the 0p6bimg.zip" method I kind of figured you'd know to place it on SD Card and reboot into bootloader so that the bootloader can pick up the .zip file and flash it from there. Flashing in from RUU sort of gave it away there
Didn't say anything about flashing it in RUU mode.
Click to expand...
Click to collapse
i used
Method 2
ADB/FastBoot Method
Code:
adb reboot bootloader
Code:
fastboot oem rebootRUU
Code:
fastboot flash zip RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip
you will the following message:
Code:
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
Just run the same command again:
Code:
fastboot flash zip RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip
Code:
fastboot reboot

Fastboot.exe has stopped working.

Im trying to root my HTC One M8 and am in the process of unlocking bootloader via the HTCDEV website (http://www.htcdev.com/bootloader/unlock-instructions). I Have.....
booted the phone into fastboot
downloaded the fastboot binary
save it fastboot.exe to c:\fastboot
opened cmd and navigated to c:\fastboot and typed 'fastboot oem get_identifier_token'
as soon as i press return windows gives me an error message that fastboot.exe has stopped working.
Any ideas how to fix this issue??
BlockABoots said:
Im trying to root my HTC One M8 and am in the process of unlocking bootloader via the HTCDEV website (http://www.htcdev.com/bootloader/unlock-instructions). I Have.....
booted the phone into fastboot
downloaded the fastboot binary
save it fastboot.exe to c:\fastboot
opened cmd and navigated to c:\fastboot and typed 'fastboot oem get_identifier_token'
as soon as i press return windows gives me an error message that fastboot.exe has stopped working.
Any ideas how to fix this issue??
Click to expand...
Click to collapse
Try this.

Cannot load Unlock_code.bin

I'm trying to unlock the bootloader on my htc Desire 816 on my Windows 10 PC. I go through the whole process on HTCdev and get the unlock token but the cmd prompt isn't loading it for some reason idk why. I put the Unlock_code.bin file in the same folder as my fastboot app. and this is what I type into cmd prompt - C:\Users\Jennifer\AppData\Local\Android\sdk\platform-tools\fastboot flash unlocktoken Unlock_code.bin
this is what it gives me
error: cannot load 'Unlock_code.bin'
Am I missing something here?
disturbed1117 said:
I'm trying to unlock the bootloader on my htc Desire 816 on my Windows 10 PC. I go through the whole process on HTCdev and get the unlock token but the cmd prompt isn't loading it for some reason idk why. I put the Unlock_code.bin file in the same folder as my fastboot app. and this is what I type into cmd prompt - C:\Users\Jennifer\AppData\Local\Android\sdk\platform-tools\fastboot flash unlocktoken Unlock_code.bin
this is what it gives me
error: cannot load 'Unlock_code.bin'
Am I missing something here?
Click to expand...
Click to collapse
its platform-tools idk why it made the space there

Categories

Resources