I've noticed on a handful of threads here, people are wondering about locking your bootloader again to upgrade to the 1.85 RUU so I figured I'd post a little guide on how I did it.
If you're reading this I'm going to assume you are already on 1.82 with your bootloader unlocked. I will tell you how to relock it, upgrade, and unlock it again.
Just to make things simple, open the folder where you downloaded the tools to unlock your bootloader, and copy the adb.exe AdbWinApi.dll fastboot.exe and your Unlock_code.bin to C:\Android
First to Relock your device, you will want to boot into your bootloader and select fastboot. After you've selected fastboot plug your device into your pc and open a command prompt. You'll want to type 'cd C:\Android' and then 'fastboot oem lock' and your phone will restart with a locked bootloader. Now you can upgrade to the 1.85 RUU without any issues. Download 1.85 here: http://d-h.st/bS4 (thanks to kennethpenn)
Once you've finished upgrading to 1.85 you will want to boot into your bootloader again, with your device unplugged, and select fastboot. THEN plug your device in and run your command prompt again on your PC. Again, cd to C:\Android and type in the following command to unlock your bootloader again: 'fastboot flash unlocktoken Unlock_code.bin' (I've heard reports of some people having to type this command two or three times for it to work but it went the first time for me)
Now once you've finished unlocking your bootloader again you can install CWM Recovery the same way you did before.
I hope this helps! (And don't forget to hit thanks if it does)
And root will remain threw this process??? That's the only thing keeping me from updating...
Sent from my HTC One X using XDA
freshleysnipes said:
(I've heard reports of some people having to type this command two or three times for it to work but it went the first time for me)
Click to expand...
Click to collapse
I'm on my 5th try using that command, my 10th try in total.
Now on my 15th...
For those of you having trouble, try getting into recovery mode by sending the adb command:
adb reboot bootloader
Then unplug the cord as the phone is black
It should become filled with the bootloader, and then send the unlock command.
Its worked every time on the first time for me and I've done it 3 times.
rohan32 said:
For those of you having trouble, try getting into recovery mode by sending the adb command:
adb reboot bootloader
Then unplug the cord as the phone is black
It should become filled with the bootloader, and then send the unlock command.
Its worked every time on the first time for me and I've done it 3 times.
Click to expand...
Click to collapse
I just tried this twice. I'm going to just wait for jcase's root and try it again from scratch.
rpomponio said:
And root will remain threw this process??? That's the only thing keeping me from updating...
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
Root will not remain. Once you upgrade to 1.85 and unlock bootloader and get cwm recovery, you will need to put this file (https://www.dropbox.com/s/z5un4z0kqye5dg0/CWM-SuperSU-v0.89.zip) anywhere in your sdcard/. Then use CWM to install it. This will give you root.
jmattp said:
I'm on my 5th try using that command, my 10th try in total.
Now on my 15th...
Click to expand...
Click to collapse
Try this: Before you type in that command use this one "fastboot devices" hit enter, then use "fastboot flash unlocktoken Unlock_code.bin".
jmattp said:
I just tried this twice. I'm going to just wait for jcase's root and try it again from scratch.
Click to expand...
Click to collapse
I believe some guy went up to 50 times before it worked. I'd try it out for a couple more mins.
Just type the command the first time, and then after that if it fails just hit the up arrow and hit enter again. and keep repeating that.
It's not just like it's failing though. I have to boot the phone up, skip through the setup screens, enable USB debugging, then start all over.
I'll give it a few more tries but I just don't see the logic in doing this so many times.
I bet this phone is pretty cool once you get to use it.
works for me on 2nd attempt. thank you. now to install su and dl custom rom
Holy crap it finally worked. I apologize for my nay-saying.
What I did different:
I actually turned it off instead of rebooting it with adb. I used the button combo to boot into fastboot. The first time it asked if I wanted to unlock or not. The second time it just changed to "unlocked" when I pushed the unlock code.
That was probably one of the worst ways I could have ever spent four hours.
Thanks for all of your suggestions.
see this seem like everything when ok....even get unlock lock with yes or no with all bla...bla it might void ur warranty....but when i hold vol down before rebooting and take me back to bootloader....still say relocked....? am i missing something here.....
C:\Android>cd android-sdk
C:\Android\android-sdk>cd platform-tools
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
< waiting for device >
sending 'unlocktoken' (0 KB)...
OKAY [ 0.143s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.018s]
finished. total time: 0.162s
C:\Android\android-sdk\platform-tools>
C:\Android\android-sdk\platform-tools>flash unlocktoken Unlock_code.bin
'flash' is not recognized as an internal or external command,
operable program or batch file.
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.143s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.006s]
finished. total time: 0.150s
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.144s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.006s]
finished. total time: 0.152s
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.148s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.006s]
finished. total time: 0.156s
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.143s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.007s]
finished. total time: 0.151s
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
< waiting for device >
sending 'unlocktoken' (0 KB)...
OKAY [ 0.144s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.009s]
finished. total time: 0.158s
C:\Android\android-sdk\platform-tools>
ted77usa said:
see this seem like everything when ok....even get unlock lock with yes or no with all bla...bla it might void ur warranty....but when i hold vol down before rebooting and take me back to bootloader....still say relocked....? am i missing something here.....
C:\Android>cd android-sdk
C:\Android\android-sdk>cd platform-tools
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
< waiting for device >
sending 'unlocktoken' (0 KB)...
OKAY [ 0.143s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.018s]
finished. total time: 0.162s
C:\Android\android-sdk\platform-tools>
C:\Android\android-sdk\platform-tools>flash unlocktoken Unlock_code.bin
'flash' is not recognized as an internal or external command,
operable program or batch file.
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.143s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.006s]
finished. total time: 0.150s
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.144s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.006s]
finished. total time: 0.152s
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.148s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.006s]
finished. total time: 0.156s
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.143s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.007s]
finished. total time: 0.151s
C:\Android\android-sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
< waiting for device >
sending 'unlocktoken' (0 KB)...
OKAY [ 0.144s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.009s]
finished. total time: 0.158s
C:\Android\android-sdk\platform-tools>
Click to expand...
Click to collapse
Try what I did. Turn it off first. Completely shut it off. Unplug the phone.
Power on while holding volume down to get into bootloader. Press power again to enter fastboot.
Plug in the phone, flash unlocktoken, choose "yes". When it reboots, power off again. Unplug the phone.
Power on while holding volume down to get into bootloader. Press power again to enter fastboot
Plug in the phone, flash unlocktoken.
When I did this, "relocked" changed to "unlocked". There was no prompt... it just changed. Maybe you'll have the same experience.
what do you do if you didnt save the original files?
The_Zodiac said:
what do you do if you didnt save the original files?
Click to expand...
Click to collapse
If you still have the email you got from HTCDev, either in your inbox or trash can, just redownload the attachment they gave you to unlock
freshleysnipes said:
If you still have the email you got from HTCDev, either in your inbox or trash can, just redownload the attachment they gave you to unlock
Click to expand...
Click to collapse
i just seen this post, and yes it works. i did it after upgrading, but i relocked it for now because i cant root, or install recovery. so, unlocked isnt really doing anything for me right now.
rob219 said:
i just seen this post, and yes it works. i did it after upgrading, but i relocked it for now because i cant root, or install recovery. so, unlocked isnt really doing anything for me right now.
Click to expand...
Click to collapse
You can install CWM Recovery without root, and still flash custom roms.
I have a little bit different of an issue with the unlocked bl upgrading to RUU 1.85. I keep getting an error when doing so that says "Signature verification failed". Looking at the the ruu logs, I see that is the case from the adb commands.
Here is what I have done. I am finally to the point of asking for some advice on this.
1. Stock 1.73, obtained root, unlocked bootloader through one-click method, obtaining superCID (verified it was such through fastboot)
2. Installed CWM
3. relocked phone via fastboot command (verified hboot said "relocked")
4. Tried to update via RUU, no dice
5. Went ahead and reunlocked, pulled the recovery image out of the 1.73 package, pushed that to phone, relocked, tried again, nothing
6. Tried to upgrade to 1.73 just in case, same error
7. Set CID back to CWS__01 just in case that was causing me some problems.
Same issues all around. I have been told by Scott that all my version numbers on an untouched device match mine.
I am trying to push the RUU from Windows XP running inside vmware fusion on my mac.
-jason
If I unlocked and changed to SuperCID, do I have to relock or can I just flash the new RUU, install CWM through the script and then use it to push SU?
Sent from my HTC One X using XDA
mzimmer88 said:
If I unlocked and changed to SuperCID, do I have to relock or can I just flash the new RUU, install CWM through the script and then use it to push SU?
Click to expand...
Click to collapse
You will have to relock before flashing the new RUU or else you will get an error
----
@jtalley I've never seen that error myself, but surely someone else around here has
freshleysnipes said:
You will have to relock before flashing the new RUU or else you will get an error
----
@jtalley I've never seen that error myself, but surely someone else around here has
Click to expand...
Click to collapse
So this is how it is until S-OFF is achieved, eh?
Sent from my HTC One X using XDA
Related
A friend brought a HTC One Mini in a very unusual situation to me. The phone bootloader is "Locked" and "S-ON". It only boots to fastboot usb mode only. The battery is still ok because I checked with a script that is used to charge in that mode when the battery is low; at least it still has about 3870mV, and the minimum is around 3680mV. The problem is that:
1. When I try to unlock so I can flash a custom TWRP recovery the unlock spalsh screen does not appear, although the unlock command says sucessful.
C:\fastboot-win>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.154s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.006s]
finished. total time: 0.161s
Click to expand...
Click to collapse
2. I downloaded this stock file OTA_M4_UL_K44_SENSE55_MR_hTC_Asia_HK_3.10.708.4-2.12.708.3_release_351634.zip because it matches the OS version showing on the fastboot screen on the phone. When I try to flash it from fastboot I get this error:
C:\fastboot-win>fastboot flash zip OTA_M4_UL_K44_SENSE55_MR_hTC_Asia_HK_3.10.708.4-2.12.708.3_release_351634.zip
sending 'zip' (346477 KB)...
OKAY [ 16.826s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 49.466s
Click to expand...
Click to collapse
Can anyone please render any help? I can follow any instructions to the letter, just that I have never come across this kind of issue before.
Thanks in advance.
My HTC One Mini has developed a problem where it will not turn on, it just keeps loading up the Fastboot screen. If I power down or restart the device many times, I can get lucky and it will boot the OS. Right now, that seems to not be working.
If I select the Bootloader option and go to Recovery, it just flashes up the 3 Android guys on skateboards and goes back to Fastboot. Reboot and Reboot Bootloader both reboot the phone, but I end up at the Fastboot menu again. Also, if I power down, it doesn't show the charge animation, it just jumps back into the Fastboot menu, unless I have removed power/USB from the device and then it will power off.
I've read quite a few forum posts, too many I think, and I'm not stuck on what to do/try. Any help would be great, I currently have no phone!
ScottHelme said:
My HTC One Mini has developed a problem where it will not turn on, it just keeps loading up the Fastboot screen. If I power down or restart the device many times, I can get lucky and it will boot the OS. Right now, that seems to not be working.
If I select the Bootloader option and go to Recovery, it just flashes up the 3 Android guys on skateboards and goes back to Fastboot. Reboot and Reboot Bootloader both reboot the phone, but I end up at the Fastboot menu again. Also, if I power down, it doesn't show the charge animation, it just jumps back into the Fastboot menu, unless I have removed power/USB from the device and then it will power off.
I've read quite a few forum posts, too many I think, and I'm not stuck on what to do/try. Any help would be great, I currently have no phone!
Click to expand...
Click to collapse
While at fastboot, connect the USB to pc and flash a new recovery again using the command ( fastboot flash recovery recoveryfile.img )
htc_one_mini_m4 said:
While at fastboot, connect the USB to pc and flash a new recovery again using the command ( fastboot flash recovery recoveryfile.img )
Click to expand...
Click to collapse
I get this:
C:\Users\Scott\Downloads\Android\Android>fastboot flash recovery TWRP-2.6.3.0.img
target reported max download size of 800227328 bytes
sending 'recovery' (8572 KB)...
OKAY [ 1.267s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.161s
ScottHelme said:
I get this:
C:\Users\Scott\Downloads\Android\Android>fastboot flash recovery TWRP-2.6.3.0.img
target reported max download size of 800227328 bytes
sending 'recovery' (8572 KB)...
OKAY [ 1.267s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.161s
Click to expand...
Click to collapse
Are you bootloader unlocked & s-off ?
htc_one_mini_m4 said:
Are you bootloader unlocked & s-off ?
Click to expand...
Click to collapse
I followed a guide to unlock the bootloader and got the following:
C:\Users\Scott\Downloads\unlock>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800227328 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.155s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.013s]
finished. total time: 0.171s
I don't get a prompt on the device and when I reboot, it still says ***LOCKED *** at the top.
ScottHelme said:
I followed a guide to unlock the bootloader and got the following:
C:\Users\Scott\Downloads\unlock>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800227328 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.155s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.013s]
finished. total time: 0.171s
I don't get a prompt on the device and when I reboot, it still says ***LOCKED *** at the top.
Click to expand...
Click to collapse
You followed the steps from the HTCdev.com site ?
http://www.htcdev.com/bootloader/
I did all the set and get my unlock code from HTCdev. Tried all but never UNLOCKED the bootloader !
D:\--- MOBILE\Android\android\platform-tools>fastboot flash unlocktoken Unlock_c
ode.bin
target reported max download size of 1526722560 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.144s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.006s]
finished. total time: 0.152s
Click to expand...
Click to collapse
The phone has a problem it start with Logo HTC then Logo Of operator then it OFF screen.
You still need to run fastboot oem unlock. That just flashes the key.
shinji257 said:
You still need to run fastboot oem unlock. That just flashes the key.
Click to expand...
Click to collapse
I tried but STIll not wotrking
D:\--- MOBILE\Android\android\platform-tools>fastboot oem unlock
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.003s]
finished. total time: 0.004s
Click to expand...
Click to collapse
Hello, i have a htc one mini and i need to unlock the lock screen.
I already try factory reset booting with volume - and power but dont work.
So i try to flash recovery but bootloader is locked.
I try to unlock bootloader i write the comand
-fastboot flash unlocktoken Unlock_code.bin-
i get this result
C:\>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800227328 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.157s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.012s]
finished. total time: 0.171s
But dont pop up anything on the phone.
any help? tanks
I am not able to fix my dad's HTC One Mini M4. It just starts into bootloader screen and can only be switched to HBOOT and vice versa. Screen on the phone is attached.
>> Interestingly I have also damaged the volume buttons and they just don't work. While replacing the battery the volume flex was unintentionally pulled out of the board and now it has no connection to the board whatsoever.
Only power button can switch the modes from bootloader to HBOOT or HBOOT to bootloader.
>> I am not sure if any firmware is still there on it. I am not sure what RUU I need to use in that case.
here's what I have tried so far.
I tried to flash recovery but it fails at (bootloader) signature checking.
-- log
D:\Mobile>fastboot flash recovery twrp.img
target reported max download size of 800227328 bytes
sending 'recovery' (11460 KB)...
OKAY [ 1.549s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.472s
Click to expand...
Click to collapse
I tried unlocking the bootloader in a normal fashion (via htcdev), following log is presented on the command prompt and no prompt on the phone's screen appeared.
D:\Mobile>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800227328 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.163s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.016s]
finished. total time: 0.178s
Click to expand...
Click to collapse
Is there anything could be done with this phone as the screen on the phone is attached with this thread?
Any help will be appreciated.
Thank you