How to Unlock HTC One Bootloader using a Mac [Step-by-step Guide]

by Mayur on July 3, 2013

in Android, How To's

Like many other smartphones, HTC One also ships with an unlocked bootloader which interested users can unlock easily as HTC allows their bootloader to be unlocked. However, the process to unlock bootloader on HTC One requires one to go through various steps, and unfortunately it isn’t a single command task unlike on Nexus devices. But overall the entire unlocking process is quite easy as you proceed step by step. We’re covering this tutorial for Mac users as such guides aren’t widely available and most people believe that doing such task is very difficult on MAC. Surprisingly, the unlocking task is rather easier on Mac OS X than Windows system, because on Mac you don’t need to install and configure ADB or Fastboot drivers which itself is a crucial step on Windows. Also, you don’t need to install Android SDK or anything else on Mac.

IMG_20130701_225215

Why Unlock Bootloader? Unlocking the bootloader offers the ability to customize the software on your device. It removes the restriction to modify device software, and opens the possibility to install a custom ROM, Root device, use custom kernel, etc.

NOTE: Unlocking the bootloader will Wipe/ factory reset your device, and will delete all personal data from your device such as apps, photos, messages, and settings.

Disclaimer: Unlocking may also void your device warranty. Be sure before proceeding!

Tutorial – Unlocking HTC One (M7) Bootloader on Mac OS X

1. Make sure you’ve taken a backup of your entire device data.

2. Download the file ‘htcone-fastboot.zip’ and extract it to a folder.

3. Copy the ‘htcone-fastboot’ folder to your Home directory in Finder.

Screen Shot 2013-07-03 at 12.42.40 AM

4. ‘Enable USB Debugging’ on your phone. (Settings > Developer options)

5. Proceed with below steps in stated order –

  • Register on htcdev.com if you haven’t and login.
  • Visit htcdev.com/bootloader, select your device (choose ‘All Other Supported Models’ if HTC One is not listed. Then click on Begin Unlock Bootloader.
  • A confirmation message will appear, click Yes to continue.
  • Accept the legal terms and click on Proceed to Unlock Instructions.
  • Ignore all the stated information on the page, scroll down and click on ‘Proceed to Step 5’. Again skip all the information on the page and click on ‘Proceed to Step 8’.

6. Now “Power off” the device. Then press the Volume Down + Power button simultaneously to start the device into Bootloader mode (HBOOT).

IMG_20130701_202014

7. Use the Volume buttons to navigate up or down. Highlight Fastboot and press the Power button to enter into Fastboot mode.

8. Connect the device to the computer via a USB cable.

9. Open Terminal on Mac (Applications > Utilities). In terminal, type the following lines of code after the $, hit return (enter) after each line. In second line, type your user name as seen in Finder, and without the brackets. Refer below image:

cd /Users/
cd [your username]
cd htcone-fastboot
./fastboot-mac oem get_identifier_token

gn

10. You will now see a long block of text in terminal. Copy the Identifier Token by highlighting the text exactly as shown above. (Right-click and copy)

11. Now move back to HTC webpage and scroll down to Step 10. Then paste the copied string of text into the token field (Delete the INFO text if it also gets paste).

Screen Shot 2013-07-01 at 10.40.54 PM

12. Hit ‘Submit’ and if the device token is correctly entered, you should see a ‘Token submitted successfully’ message. Now check your email and you should have received an unlock code binary file (Unlock_code.bin) as an attachment from HTC.

Screen Shot 2013-07-01 at 10.41.17 PM

13. Download the Unlock_code.bin file and paste it into the htcone-fastboot folder.

14. Now in the terminal, type:

./fastboot-mac flash unlocktoken Unlock_code.bin

 

15. A screen titled ‘Unlock Bootloader’ will appear on your phone. Select ‘Yes’ to unlock (use volume keys to navigate and power key to make your selection).

IMG_20130701_2254602

After a few seconds, your device will reboot automatically with an unlocked bootloader. You can confirm that by rebooting into bootloader and check the lock status at top.

To re-lock HTC One bootloader, in the terminal, type: ./fastboot-mac oem lock

Note: This will not restore the factory default lock, but will simply re-lock the bootloader so no further changes can be made. Perhaps, if you wish to unlock your bootloader again, simply follow the above steps and use your original unlock key file to unlock your phone again.

Hope you found this guide useful. :)

Related Posts:

Liked this article? Then SUBSCRIBE to RSS Feed or get Free updates via E-MAIL



{ 5 comments… read them below or add one }

Joshua Gonzalez August 5, 2013 at 1:54 am

Thank you so much!

Reply

joe joe jeo October 11, 2013 at 3:08 am

thanks … got unloket my one !!! ;) yeah

Reply

Fritz November 11, 2013 at 11:06 pm

good job. Easy to follow and it works quickly.
Thanks.

Couple adds here. If your phone doesn’t show Developer options under Settings, they may be hidden.

Settings/About/Software/More.
Repeatedly tap on “Build number” Until “you are now a Developer” appears.
About 10 fast taps.

To Copy only the Token, put your cursor in between INFO and <. Hold down the option/alt key and pull down the cursor to select just the Token without the unwanted bits (INFO …. etc). Cmd C as usual and Cmd V into Terminal.

Reply

JuanCa_Hdz November 26, 2013 at 2:06 pm

Thanks, you saved me. Btw, have you made any tutorial like this one for changing the ROM? I want to put the international ROM, I got a branded one with lots of bloatware and stuck on 4.1.2, so I can update to 4.3 and with OTA’s enabled.

Reply

Pascal December 1, 2013 at 4:17 pm

Hi
After the command
pbo-mbp:htc pbo$ ./fastboot-mac oem get_identifier_token
-bash: ./fastboot-mac: Permission denied

What I’m doing wrong?
Thanks

Reply

Leave a Comment

{ 1 trackback }

Previous post:

Next post:

   Copyright © 2008-2014 WebTrickz | Google+ | Sitemap | Privacy Policy | Advertise | Back To Top