How to Gain S-OFF on the HTC One M8

Gaining S-OFF on your HTC device is one thing you must do if you really want total control of your device.  Once you are S-OFF, it will be much more easier to flash custom ROMs, custom bootscreens, recoveries, etc.  For the HTC One M8 (AT&T version), gaining S-OFF is now possible and this is what the guide below helps you to achieve.

I.  Before You Begin

1.  Make sure you have the proper drivers installed on your PC before starting.  Installing HTC Sync will usually take care of this (but be sure that HTC Sync is not running during the procedure; if it is, open up the Task Manager on your PC and end anything related to HTC or adb).

2.  Charge your device to 75% or more before you being to prevent unwanted shutdowns.

3.  Back up everything you feel is important before you begin.

4.  You need to be rooted for this procedure to work.  Use our guide here, if you are not already rooted.

II.  Necessary Downloads

1.  firewater (link available on this page under the Instructions section)


III.  Gaining S-OFF on the One M8

1.  Extract to a folder on your desktop.

2.  Copy firewater to this extracted folder.

3.  Hold Shift and right-click on any empty space in the extracted adb-fastboot folder and click on Open command prompt window here to open up a CMD prompt window.

4.  Enable USB debugging on your device by going to Settings > Development options and ticking the USB debugging checkbox.

5.  Connect your device to your PC.  If there are drivers being installed at this point, let them do so before proceeding.  Also, if HTC Sync is running, terminate the program via Task Manager.

6.  Run the following commands in the CMD window:

adb reboot
adb wait-for-device push firewater /data/local/tmp
adb shell
chmod 755 /data/local/tmp/firewater

7.  Type in Yes when prompted.

All set!  You have now gained S-OFF on your AT&T One M8!

6 responses to “How to Gain S-OFF on the HTC One M8”

  1. Robbie Stevenback says:

    I get a whelp error message why

  2. Mehdi Kiya says:

    i cant do this

    C:adb>adb wait-for-device push firewater /data/local/tmp

    5160 KB/s (4522136 bytes in 0.855s)

    C:adb>adb shell
    shell@htc_m8:/ $ su
    root@htc_m8:/ # chmod 755 /data/local/tmp/firewater
    chmod 755 /data/local/tmp/firewater
    root@htc_m8:/ # /data/local/tmp/firewater
    root@htc_m8:/ #

    what is it ?

  3. Matthew Rutherford says:

    worked flawlessly for me. thanks for the tutorial

  4. Joe says:

    my device is not compatible. . . what did i do wrong?

  5. b reed says:

    is there anything other than firewater and sunshine for htc one m8

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.