[One (M7) Q&A, Help & Troubleshooting] Exxorzist:
Hey guys

I want to flash my Firmeware after i unlocked my Bootloader and rooted my phone. What are the steps to do so on MAC computers?

I unlocked my bootloader and rooted my phone few days ago by the following steps on my Mac sucessfully:

http://htconeroot.com/htc-one-root/how-to-root-htc-one-windowsmaclinux/

Step 1. First, go to Settings->Developer options and make sure USB debugging is checked ON.

Step 2. Connect a micro-USB cable from your HTC One to your computer.

Step 3. Download HTCOneRoot.zip and unzip to HTCOneRoot directory. This zip file contains everything you need to root your HTC One!

Step 4. Open a command prompt/terminal on your computer and type:

cd Downloads

cd HTCOneRoot

chmod 755 *

./adb-mac backup -apk -all -f backup.ab

Step 5. Go to your phone and choose “Backup up my data”. This will back up all of your app and app data.

Step 6. Once app backup is done, go to Settings->Power and make sure Fast boot is checked OFF.

Step 7. Turn off your HTC One. Then hold down Volume Down and Power buttons together for about 3-5 seconds until you see bootloader menu.

-Hit the Power button to enter Fastboot mode

-Connect micro-USB cable from your HTC One to your computer.

Step 8. Type the following in your command prompt/terminal:

./fastboot-mac oem get_identifier_token

Step 9. Copy the identifier token you get exactly as shown below (or see video tutorial).

Step 10. Go to HTCDev.com and log-in. If you don’t have an account, register then log-in.

Click on “Unlock Bootloader” then “Get Started”.

Step 11. Choose “All Other Supported Models” then click on “Begin Unlock Bootloader”.

Step 12. Choose “Yes”.

Step 13. Make sure check boxes are checked ON and click on “Proceed to Unlock Instructions”.

Step 14. Scroll all the way to the bottom and click on “Proceed to Step 5″.

Step 15. Scroll all the way to the bottom and click on “Proceed to Step 8″.

Step 16. Scroll all the way to the bottom and paste your token you copied over earlier. Make sure there’s no white spaces or INFO (if using MAC/Linux).

Step 17. Hit “Submit” and if you copied and pasted the token correctly, you should get a success message.

Step 18. Check your e-mail and you should have received Unlock_code.bin file from HTC.com.

Step 19. Download and copy the Unlock_code.bin file to the HTCOneRoot folder.

Step 20. Next type in command prompt/terminal:

./fastboot-mac flash unlocktoken Unlock_code.bin

Step 21. Go to your phone and choose “Yes” using Volume Up button then hit the Power button. Your HTC One will reboot in about 5 seconds.

Step 22. Once rebooted, your HTC One should be completely wiped and you should get Welcome message just like the day you got your phone. Sign in through the setup process then copy the CWM-SuperSU-v1.30.zip file in HTCOneRoot folder to anywhere on your HTC One’s internal storage.

Step 23. Power off your phone then re-boot into bootloader menu to fastboot mode like you did in Step 7.

Step 24. Type the following to install recovery:

For HTC One M7 (AT&T/T-Mobile/International/Unlocked/Developer)

fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img

Then Type:

./fastboot-mac erase cache

Step 25. Choose “Bootloader” and hit the Power button.

Step 26. Choose “Recovery” and hit the Power button.

Step 27. Once in TWRP recovery, choose “Install”.

Step 28. Choose the file CWM-SuperSU-v1.30.zip.

Step 29. Swipe to flash this file. This will root your HTC One by installing SuperSU superuser app and SU binaries.

Step 30. Choose “Reboot System” to reboot.

Step 31. Once rebooted, you will find “SuperSU” app in your app drawer. Congratulations! You’ve successfully rooted your HTC One! You can verify full root by installing a rooted app like Titanium Backup app.

My question:

How do I now flash a new Firmware on it? I know I have to relock my bootloader and then i can flash the firmware.

But what are the concrete steps in terminal and on the phone to relock and flash firmeware and for expample Revoultion HD on it?

Here I found the firmware http://xdaforums.com/showthread.php?t=2182823

I would be grateful for any help

Filip