[Q] how to relock bootloader - HTC Vivid, Raider, Velocity

im using hasoons all in one tool kit and my htc wont get past the "HTC" screen but i can get into hboot mode or w/e its called. just wanna know how to relock bootloader...

jmiah1 said:
im using hasoons all in one tool kit and my htc wont get past the "HTC" screen but i can get into hboot mode or w/e its called. just wanna know how to relock bootloader...
Click to expand...
Click to collapse
Boot to hboot, select fastboot and plug in your phone to your computer, open a cmd prompt window and navigate to the fastboot directory, and issue:
fastboot oem lock

Related

Updated Firmware, how to re unlock bootloader after locking it?

Have manually updated my HTC ONE M7 to FW 4.19.401.11 following these steps from the thread here, http://forum.xda-developers.com/showthread.php?t=2182823...
1. Re-lock your bootloader (this will most probably wipe content of your device)
2. Copy downloaded .zip to fastboot.exe location (e.g. c:/SDK/platform-tools/fastboot.exe)
3. Re-name .zip file to firmware.zip
4. Open command prompt
5. Boot your device in fastboot mode (vol down + power ===> fastboot)
6. Connect device to the PC
7. In command prompt cd to fastboot.exe location
8. Make sure you have correct modeid and cidnum (type: fastboot getvar all)
9. Type: fastboot oem lock (if your device is not relocked yet)
10. Type: fastboot oem rebootRUU and wait for device to reboot
11. Type: fastboot flash zip firmware.zip and wait for process to complete
12. Sometimes flashing for the first time doesn't work, so flash firmware.zip again just to make sure.
13. Type: fastboot flash zip firmware.zip and wait for process to complete
14. Type: fastboot reboot
15. Unlock your bootloader and flash custom recovery if you are going to use custom ROM.
But now the phone doesnt appear to boot im able to get into bootloader by holding down the volume button, any ideas why i cant boot into the HTC ONE do i need to re unlock the boot loader? If so how do you re unlock the boot loader after relocking it please?
EDIT: Im guess the phone doesnt boot as i need to flash a custom ROM??....if so do i have to re unlock the bootloader first?
BlockABoots said:
Have manually updated my HTC ONE M7 to FW 4.19.401.11 following these steps from the thread here, http://forum.xda-developers.com/showthread.php?t=2182823...
1. Re-lock your bootloader (this will most probably wipe content of your device)
2. Copy downloaded .zip to fastboot.exe location (e.g. c:/SDK/platform-tools/fastboot.exe)
3. Re-name .zip file to firmware.zip
4. Open command prompt
5. Boot your device in fastboot mode (vol down + power ===> fastboot)
6. Connect device to the PC
7. In command prompt cd to fastboot.exe location
8. Make sure you have correct modeid and cidnum (type: fastboot getvar all)
9. Type: fastboot oem lock (if your device is not relocked yet)
10. Type: fastboot oem rebootRUU and wait for device to reboot
11. Type: fastboot flash zip firmware.zip and wait for process to complete
12. Sometimes flashing for the first time doesn't work, so flash firmware.zip again just to make sure.
13. Type: fastboot flash zip firmware.zip and wait for process to complete
14. Type: fastboot reboot
15. Unlock your bootloader and flash custom recovery if you are going to use custom ROM.
But now the phone doesnt appear to boot im able to get into bootloader by holding down the volume button, any ideas why i cant boot into the HTC ONE do i need to re unlock the boot loader? If so how do you re unlock the boot loader after relocking it please?
EDIT: Im guess the phone doesnt boot as i need to flash a custom ROM??....if so do i have to re unlock the bootloader first?
Click to expand...
Click to collapse
try holding the power buttons until the home and back buttons flash, wait til they stop then press volume down, release the power button then release the volume down
grantymc said:
try holding the power buttons until the home and back buttons flash, wait til they stop then press volume down, release the power button then release the volume down
Click to expand...
Click to collapse
Ah that worked thanks!
Uproblem for unlock the relock HTC One
hi
I relocked my HTC One M7 by HTC Bootloader Unlock Application In Windows 8 & Then my phone not start and gone to fastboot mode!
I can not install any ROm or Unlock Again,PLZ help me ASAP...:crying:
Saeiddvc said:
hi
I relocked my HTC One M7 by HTC Bootloader Unlock Application In Windows 8 & Then my phone not start and gone to fastboot mode!
I can not install any ROm or Unlock Again,PLZ help me ASAP...:crying:
Click to expand...
Click to collapse
1- Why did you relocked your bootloader?
2- ''HTC Bootloader Unlock Application'' doesn't say much. I guess you are referring to a toolkit which is not recommended to use
3- Why can't you unlock again? Get your identifier token from fastboot en send it to htcdev. Then flash your unlock code bin file to unlock your phone again. Then youll be able to flash a recovery and a rom...
I CAN`T flash unlock code because my phone not connected to my pc until I relock this!!!!!
Saeiddvc said:
I CAN`T flash unlock code because my phone not connected to my pc until I relock this!!!!!
Click to expand...
Click to collapse
not sure what you are trying to say here mate.
your phone doesn't need to be unlocked to be able to ''connect it'' to your pc. You should be able to use fastboot from bootloader to
1- get your identifier token
2- flash the unlock_code.bin to unlock it again
if you can't 'communicate with the phone using fastboot in bootloader, your drivers are not installed correctly on your computer.
in windows device manager, it should be listed as ''My HTC'' if your drivers are ok.
alray said:
not sure what you are trying to say here mate.
your phone doesn't need to be unlocked to be able to ''connect it'' to your pc. You should be able to use fastboot from bootloader to
1- get your identifier token
2- flash the unlock_code.bin to unlock it again
if you can't 'communicate with the phone using fastboot in bootloader, your drivers are not installed correctly on your computer.
in windows device manager, it should be listed as ''My HTC'' if your drivers are ok.
Click to expand...
Click to collapse
thanks
I uninstalled HTC driver & restarted My PC the install it again so connect HTC ONE to my PC & unluck again

HTC One china unicom 802w stuck in bootloader

Hi I think i messed up my phone and I defiantly seem to be needing some serious help
I was trying to s-off my phone with this guide.
I have the same exact phone as the one he is using in the guide. I download the zip file.
Then proceeded to do
a. Lock the device - [fastboot oem lock]
Click to expand...
Click to collapse
After I oem locked my phone "fastboot usb" changed to "fastboot" and my pc doesnt recognize the phone anymore.
Now when I turn on the phone It says "Tampered" "Security warning" "Relocked".
I can't boot into rom nor connect my phone to pc via fastboot.
I tried with Macintosh, Windows 8 and Ubuntu none of which seem to be working.
Any help would be appreciated.
Regards

PLEASE HELP! Soft-bricked

So I bought this HTC One M7, the guy claims its soft bricked and hes not able to fix it because hes technically challenged. So I take it home boot it up, its stuck in a boot loop so I boot it into fastboot the bootloader is locked so I try to connect it to adb, no luck, there is no driver on this internet that I have found that will connect to adb. So I resort to fastboot, I "fastboot devices" and sure enough it connects (wicked), first I try to flash recovery, I try to boot recovery, I tried to update zip, no luck in flashing anything because I either get a signature fail or a "remote: not allowed" then I realize my bootloader is locked, I try to unlock it "fastboot oem unlock" and of course I get a "INFO [ERR] command error". I also tried to change my cid to 11111111 and no luck. I have actually tried everything I can think of I cant get s-off to work my recovery is stock as well so theres no possibility of OTG cable plus a usb. My fastboot will not flash anything in fastboot, I cant push any files to the phone, I cant connect to adb, I cant use my recovery. So what in the actual can I do? I think i'm f**ked.
Thank you in advance for anything you can help me with.
jonrogers61 said:
So I bought this HTC One M7, the guy claims its soft bricked and hes not able to fix it because hes technically challenged. So I take it home boot it up, its stuck in a boot loop so I boot it into fastboot the bootloader is locked so I try to connect it to adb, no luck, there is no driver on this internet that I have found that will connect to adb. So I resort to fastboot, I "fastboot devices" and sure enough it connects (wicked), first I try to flash recovery, I try to boot recovery, I tried to update zip, no luck in flashing anything because I either get a signature fail or a "remote: not allowed" then I realize my bootloader is locked, I try to unlock it "fastboot oem unlock" and of course I get a "INFO [ERR] command error". I also tried to change my cid to 11111111 and no luck. I have actually tried everything I can think of I cant get s-off to work my recovery is stock as well so theres no possibility of OTG cable plus a usb. My fastboot will not flash anything in fastboot, I cant push any files to the phone, I cant connect to adb, I cant use my recovery. So what in the actual can I do? I think i'm f**ked.
Thank you in advance for anything you can help me with.
Click to expand...
Click to collapse
You can't use adb unless you're booted to OS or custom recovery. Also you can't unlock bootloader with "fastboot oem unlock" unless your phone is GPE version. For Sense you need unlock token from htcdev. In order to flash anything, you need custom recovery, and you can flash it only if your bootloader is unlocked
donkeykong1 said:
You can't use adb unless you're booted to OS or custom recovery. Also you can't unlock bootloader with "fastboot oem unlock" unless your phone is GPE version. For Sense you need unlock token from htcdev. In order to flash anything, you need custom recovery, and you can flash it only if your bootloader is unlocked
Click to expand...
Click to collapse
I unlocked my htc with the unlocktoken from htc dev but it still says locked in bootloader. I can flash the unlock_code.bin but it does not restart nor does it come up with a message that says I would like to unlock bootloader etc.
jonrogers61 said:
I unlocked my htc with the unlocktoken from htc dev but it still says locked in bootloader. I can flash the unlock_code.bin but it does not restart nor does it come up with a message that says I would like to unlock bootloader etc.
Click to expand...
Click to collapse
can you post the output of "fastboot getvar all" (remove your imei and serialno). Sometimes, reflashing the stock firmware can solve some bootloader unlock problem but I need to know you getvar all before I can tell you which one you should flash.

M7 Cant get into RUU mode

I have a verizon htc one m7 that will boot to the verizon logo then restart. i can access the bootload/fastboot and recovery. when i issue the fastboot command of fastboot oem rebootRUU the command completes and phone goes black then the green htc logo appears and continues to try and boot normally. does anybody have any suggestions on how to get to the RUU mode? bootloader is locked and s-on is active. this is a completly stock phone.
I think you need unlocked bootloader (but I'm not sure). So try unlocking it (keep in mind that you'll loose the guarantee)
suchauser said:
I think you need unlocked bootloader (but I'm not sure). So try unlocking it (keep in mind that you'll loose the guarantee)
Click to expand...
Click to collapse
1- no need for an unlocked bootloader
2- he's on Verizon so he can't use HTCdev to unlock, and sunshine won't work without a booted phone
idragoncell said:
I have a verizon htc one m7 that will boot to the verizon logo then restart. i can access the bootload/fastboot and recovery. when i issue the fastboot command of fastboot oem rebootRUU the command completes and phone goes black then the green htc logo appears and continues to try and boot normally. does anybody have any suggestions on how to get to the RUU mode? bootloader is locked and s-on is active. this is a completly stock phone.
Click to expand...
Click to collapse
how about some background info, how you ended in this situation... if it's a complete stock phone (so you weren't messing around with flashing things), then it could very well be a hardware problem... but the above info isnt enough, you need to provide more details of how this came to be
it's also good practice to copy/paste the entire command prompt output, so we can take a look of what was typed and what the output generated
Customer bought the phone too me in a boot loop state.. he claims he was using it and it just went black then came back on but never fully booted kept restarting at the verizon logo. htc told him to try and factory reset the phone but that was a no go as well. i have tried a RUU utility and when the program says rebooting to bootloader it doesnt go into bootloader just trys to boot up normally. the same thing happens when i attempt to put it in RUU mode it just reboots and trys to boot normally.
idragoncell said:
Customer bought the phone too me in a boot loop state.. he claims he was using it and it just went black then came back on but never fully booted kept restarting at the verizon logo. htc told him to try and factory reset the phone but that was a no go as well. i have tried a RUU utility and when the program says rebooting to bootloader it doesnt go into bootloader just trys to boot up normally. the same thing happens when i attempt to put it in RUU mode it just reboots and trys to boot normally.
Click to expand...
Click to collapse
sorry, dont get me wrong, but since i've been back (for a few hours), people are ... let's just say, not very forthcoming
what would help:
a screenshot of bootloader
a "fastboot getvar all" (excluding the last 6 digits of IMEI, MEID, and serial number... those need not be shared)
possibly a fastboot oem last_dmesg
though if the phone is completely stock, never been tampered with, then you have a high chance it's a hardware problem
http://imgur.com/73JGfka
https://goo.gl/photos/hkdxnmNtB7ctd2XA9
http://imgur.com/El0SNkj
idragoncell said:
http://imgur.com/73JGfka
https://goo.gl/photos/hkdxnmNtB7ctd2XA9
http://imgur.com/El0SNkj
Click to expand...
Click to collapse
thanks for the details, nothing "looks" wrong from those, but the "fastboot oem last_dmesg" has to be done after attempting to flash something, after a (non flashing reboot) it will just be empty.
couldn't find much, but have you tried this RUU:
http://forum.xda-developers.com/verizon-htc-one/help/exe-ruu-vzw-m7-4-4-3-s-users-t2919442
EDIT:
1- RUU.EXE will leave a log (before you close the .exe), in c:\ruu_log\.......txt
2- command prompt copy/paste is preferred to a screenshot, since it's much easier to read
good luck

Bad Encryption Gone Wrong

Hi Guys/Girls,
So today a friend gave me a HTC m7 to try and fix........From what i can gather something went wrong when they tried to encrypt the phone. Now when turn it on it asks for a password, when you get it wrong it wants to reset the phone, but this achieves nothing and you end up back at the encryption page. Neither Recovery Or Factory Reset work it comes up with: E:failed to mount /data. Also says some stuff before that about E:missing bitmap oem_unlock_bg, which im guessing is why i cant unlock the bootloader? i can get fastboot to work but as soon as i ask for the token it just sits and does nothing. adb does not seem to work.
As a side note i have 2 other htc m7's with broken screens, so if this is something that needs a hardware change that may be possible id assume?. I'm just unsure where to go from here, if i cant unlock the bootloader then what can you do???
I've rooted a few phones but your talking to abit of a beginner here guys.
Anyway TIA!
RUU (Rom update utility)
Sent from my SM-N930F using Tapatalk
clsA said:
RUU (Rom update utility)
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
Sorry if this seems nooby, but can you use a RUU with a locked boot loader and s-on? i cant even get the phone to respond to "fastboot oem get_identifier_token". I've been all over htc1guru but its abit beyond me, does fastboot flash work on a locked bootloader?
This seems to be a pretty bad catch 22, i cant fix the issue, because the issue stops me from doing anything. Any alternate ways around this guys???
Happyhog11 said:
Sorry if this seems nooby, but can you use a RUU with a locked boot loader and s-on? i cant even get the phone to respond to "fastboot oem get_identifier_token". I've been all over htc1guru but its abit beyond me, does fastboot flash work on a locked bootloader?
Click to expand...
Click to collapse
When S-ON, a ruu must be flashed with a locked bootloader, thats the only way Only S-OFF phones can flash a ruu with an unlocked bootloader.
Happyhog11 said:
This seems to be a pretty bad catch 22, i cant fix the issue, because the issue stops me from doing anything. Any alternate ways around this guys???
Click to expand...
Click to collapse
Can your phone at least reboot in RUU mode (Black screen with silver HTC logo)?
Code:
fastboot oem rebootRUU
Can you post the outputs of
Code:
fastboot oem last_dmesg
and
Code:
fastboot oem dmesg
alray said:
When S-ON, a ruu must be flashed with a locked bootloader, thats the only way Only S-OFF phones can flash a ruu with an unlocked bootloader.
Can your phone at least reboot in RUU mode (Black screen with silver HTC logo)?
Code:
fastboot oem rebootRUU
Can you post the outputs of
Code:
fastboot oem last_dmesg
and
Code:
fastboot oem dmesg
Click to expand...
Click to collapse
None of those commands work all i get is "< waiting for devices >". It is connecting to my pc i hear the noise of a device connecting plus "fastboot version" comes up with "htc_fastboot version 2.0.1", seems to be any oem commands wont work???
Also i was just playing around with the encryption page and can get access to the phones settings so i turned on usb debugging, some of the stuff in settings does not seem to work correctly and it crashes occasional but i thought this info might be useful....?
Happyhog11 said:
None of those commands work all i get is "< waiting for devices >"
Click to expand...
Click to collapse
Is your phone booted in bootloader mode with "fastboot usb" highlighted in red?
alray said:
Is your phone booted in bootloader mode with "fastboot usb" highlighted in red?
Click to expand...
Click to collapse
yep, some commands it just seems to hang on, comes up with ***Locked*** in purple, then a heap of info in green then below that FASTBOOT USB in red............

Categories

Resources