I create mousemade pixel perfection stuffs for the interwebs.

How To Re-Lock HTC One X Bootloader

Advertisement

Re-Lock HTC One X Bootloader

Oh! So, you wanna re-lock your One X’s bootloader? Really? Well, that’s definitely tad sad because you are going to miss the fun, and also because we really thought you were really liking the One X stuff we kept sharing with you.

Or probably, you already had too much fun too many times with unlocked bootloader (and thus custom roms, recovery, hacks, etc.) and are now planning to dispose (read sell) it off real nice. Right? Is it the Galaxy S3 that is making you do that, btw?

Anyway, here’s a handy step by step guide with all the files required to help you re-lock your One X’s bootloader. It’s actually very easy and more importantly, very quick to do. Unlike the time you unlocked it and had plenty of software requirement to go by — HTC drivers, fastboot drivers, etc. — you probably have already ready here this time thanks to labor work you did at the time you unlocked it.

It’s just one command from the cmd prompt now — fastboot oem lock — and when you enter this command in fastboot window on PC, with your One X in fastboot mode, your device gets locked again, as it was when you first unboxed it. That’s it, dead simple. But for those who are very new to this and need a detailed guide, and a video, well lookie what we got below.

How To Re-Lock HTC One X Bootloader [Detailed Guide]

Advertisement

VIDEO

Step by Step Instructions:

  1. Download the following two files:
    1. HTC Sync software → download link
      You’ll need it for installing proper drivers  for your phone
    2. Fastboot files → download link
      These are the files required to run fastboot commands on your Windows PC
  2. Now install the HTC Sync software you downloaded in Step 1.1 on your PC
  3. Extract the “fastboot.zip” file you downloaded in Step 1.2 on your PC, you’ll see a folder named “fastboot” with the following four files inside it:
    • adb.exe
    • AdbWinApi.dll
    • AdbWinUsbApi.dll
    • fastboot.exe
  4. Now put your phone in bootloader mode:
    1. Switch OFF your phone.
    2. Press and hold “Volume down + Power button” together until your phone boots into bootloader mode.
  5. Select Fastboot using the Power button.
    Use the Volume buttons to go up & down and Power button to select the highlighted option in the bootloader mode.
  6. Connect your phone to the PC with a USB Cable.
  7. Open the fastboot folder that you extracted in Step 3.
  8. Then open a Command prompt window inside the fastboot folder.
    To do this → “Shift + Right Click” on any empty white space inside the folder and select the ‘Open command window here’. See image below:
    Open Command Prompt Window Inside Fastboot Folder
  9. Type the following in the command prompt window:
    fastboot devices
    This is to ensure that your device is detected, if nothing appears on screen with this command, then it means you don’t have the proper drivers installed on your PC. And if that’s the case you should download and install/re-install the HTC Sync software given in Step 1.1
  10. Now type the following command to re-lock your HTC One X bootloader
    fastboot oem lock
  11. That’s all. Your phone’s bootloader is now re-locked and it’ll reboot automatically
    To confirm, boot into bootloader mode (follow Step 4.1 & 4.2) and you’ll see “RELOCKED” written with a pink highlight at the top of the screen

Let us know how it goes for you in the comments below. And, if possible, do share your reason for re-locking the bootloader ;)

Published: 
  • Matevz

    Hey, I have a question. So yes, i am selling my HOX and i want my warranty back so i am cleaning all the mess… :)
    I flashed stock recovery, locked bootloader and installed official RUU for my device. The only thing that worries me is that bootloader says ” RELOCKED”… When i bought phone i bet it said “LOCKED”…
    Do the warranty guys see that? i mean will i keep warranty?

  • Bluedevil678

    The links are both dead ???

  • Zed

    I re-locked my bootloader cause I have no success in finding any rooting source for my 4.1.1 one x…I really would like to install viper rom on my phone. :-(

    • tan

      rooting source? lol. all you gotta do is unlock the bootloader, install custom recovery. for example CWM or TWRP and flash the viper Rom via recovery. you dont have to root the stock rom if you wanna flash a custom rom. cuz custom roms usually come pre rooted.

  • http://www.facebook.com/momomixi HY Momo

    HOX international
    hboot 1.36.0000
    mainver 3.14.707.24
    cwm 5.8.4.0
    s-on
    ” android logo” stock

    idid try many flash wipe mount sd file so i can flash but when reset open again android logo stock

    can you help me ?

  • http://www.facebook.com/momomixi HY Momo

    i cant relock my bootloader when i try to fastboot oem lock success but when reset go to android logo stock and when i go hboot still unlock idid if flash to cm10.1 idid use stock recovery always SD checking open master mode failed ? can you answer it so you can help me

  • alper

    OEM lock, but the phone does not turn on I wrote was Relocked help says security warning

  • Alex

    I cannot update my phone to 4.0.4 before I relock it it shown quick red massage.

  • Christopher Sanabria Hernandez

    Hi thnks for the information, now i have a question: if i relock the bootloader do i lose my root access as well as my SU app and all that stuff?

  • DebellicA

    i have re-locked now can i unlock again.. seems as though it fails when it gets to the write stage of the Unlock_Code.bin and stays on re-locked

  • http://www.facebook.com/jasti.dinesh Dinesh Jasti

    Is there any update regarding locking the boot loader
    instead of re-locking…??

  • Alojo

    In the bootloader it says it is “RELOCKED” :s
    And in the cmd it says “Failed”:

  • zincsnow

    thanks for the guide, it worked, but relocking the bootloader will not allow you to claim warranty, i’ve read in XDA forums that a guy tried to claim warranty but he didn’t get to do so because the bootloader is ‘relocked’.

    is there anyway to ‘lock’ it instead of ‘relocking’ it?

    • http://www.theandroidsoul.com/ Kapil

      Nah :(

      And that’s said. So, by relocked status they exactly know what we’ve already done to this buddy :/

  • http://www.facebook.com/21javi21 Javier Coello

    Hi,

    I have done the steps and looks to be re-locked.

    But when I try to upgrade to Android 4, after reboot it goes to fastboot again…

    What shall I do to get it rebooting properly?

    Thanks,

    Regards.

    Javier Coello

    • http://www.theandroidsoul.com/ Kapil

      If you are using One X, you already have the Android 4.0 Ice Cream Sandwich. Is there any small update you are trying to upgrade to? Please explain a little bit more.

  • me

    thank you very much… this helped a lot. I’m still learning my way around android after coming from iPhone. Hopefully one day in time I will feel more comfortable in the whole reboot/root process.

    • http://www.theandroidsoul.com/ Kapil

      Sure you will :D
      Good luck! (And enjoy all of this, it’s awesome.)

      • TIN MAN

        kAppi need help man i had unlocked my bootloader the thing is that after installing a custom rom i wanted to go back to the old rom factory so i had saved my recovery i did recover it but when htc last night had OTA update the thing was tht i downloaded the update but the phone wouldnt install it so i tryed ur thread and relock the boot but even after doing tht the phone wouldnt install it !!! i want my phone to be completely stock tht it installs its updates automatically kindly help me out

  • Jithin

    Hi, Can you share how to do this on a Mac OSX

    • http://twitter.com/OMFCody Cody6er

      I guess we’re on our own with mac..

    • http://twitter.com/OMFCody Cody6er

      I guess we’re on our own with mac..

Some HTML is OK
We're hiring! We are looking for Android enthusiasts from India to join our team → Click here for details!
Join us on Facebook!schliessen
oeffnen