How to Root HTC One & Install Custom Recovery using Mac

Looking forward to root HTC One on Mac OS and make it more awesome by enabling access to root applications or custom ROM? Well, you can easily root all variants of HTC One (AT&T, Sprint, T-mobile, International, Unlocked) if you’ve an unlocked bootloader and have a custom recovery (CWM or TWRP) installed. The process of rooting HTC One involves unlocking the device bootloader and then booting into custom recovery to flash the root files. Follow the procedure below to root HTC One (M7) on Mac!

Tutorial – Rooting & Installing CWM Custom Recovery on HTC One using Mac

Step 1Unlock HTC One Bootloader (using a Mac). Note: This will WIPE entire data on your device. So, take a backup of all your personal and important data.

Step 2 – Download the required files:

Step 3 – Copy the ‘htcone-fastboot’ folder to Home directory in Finder. Also, copy the downloaded custom recovery .img file for your model to htcone-fastboot folder.

Screen Shot 2013-07-03 at 12.42.40 AM

Step 4 – Transfer the ‘’ file to your phone’s root storage.

  • ‘Enable USB Debugging’ on your phone. (Settings > Developer options)
  • Now “Power off” the device. Then press the Volume Down + Power button simultaneously to start the device into Bootloader mode (HBOOT).
  • Highlight Fastboot using the volume buttons and press the Power button to enter into Fastboot mode.
  • Connect the device to the computer via a USB cable.

Step 5 – 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 flash recovery [name of recovery .img file]
./fastboot-mac erase cache

Screen Shot 2013-07-04 at 1.13.22 AM

Note: If you don’t want to flash custom recovery, then use the below command instead (in 4th line). This will rather temporarily boot the device into custom recovery, letting you root the phone without installing CWM recovery.

./fastboot-mac boot [name of recovery .img file]

Rooting: While you’re in fastboot, highlight the “Bootloader” option and press power button. Now select and open ‘Recovery’ from bootloader mode. In CWM, choose ‘install zip from sdcard’ (use volume keys to navigate and power key to select on non-touch recovery), select ‘choose zip from sdcard’, then select the file ‘’ to flash. Upon completion, select ‘Go Back’ and ‘Reboot system now’.

Voila! After the device reboots, you should see the SuperSU app installed and root privileges on your HTC One. :)


Mayur Agarwal is the founder and editor of WebTrickz. He is a Tech enthusiast and an Internet freak who loves to try out new gadgets and smartphones. You will usually find him sharing useful How To’s and Tips & Tricks. Follow him @mayurjango on Twitter where he is extremely active.

2 Responses

  1. cansu says:

    thank you!! even in February 2015 your info is highly appreciated 🙂

  1. July 16, 2013

    […] HTC One (M7U, M7UL, M7WLS) – Root (Refer: How to Root HTC One & Install Custom Recovery using Mac) – Stock HTC kernel on Sense or GE […]

Leave a Reply

Your email address will not be published. Required fields are marked *