Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to S-Off HTC One M9: Full Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To S-Off your HTC One M9 means to completely unlock the bootloader security flag, allowing you to write to system partitions, remove carrier bloatware, and flash custom firmware without restrictions. This is different from simply unlocking the bootloader (which is S-On). Before starting, back up all important data, ensure your phone has at least 70% battery, and use a Windows PC (the process is easiest on Windows). You will also need to enable USB debugging and have the HTC USB drivers installed.

What You'll Need

  • HTC One M9 (unlocked bootloader is recommended but not strictly required for Sunshine)
  • Windows PC (or a Linux/OS X machine if you are comfortable with command line)
  • USB cable (preferably the original)
  • HTC Sync Manager or HTC USB drivers installed
  • Sunshine APK (the only reliable S-Off tool for the M9) – download from the official Sunshine website (theroot.ninja)
  • ADB and Fastboot tools installed on your PC (download from the Android developer site or a trusted source like XDA)
  • Unlocked bootloader (via HTCDev or a third-party method) – this is a prerequisite for Sunshine to work reliably

Step-by-Step

  1. Back up your phone. S-Off wipes your device in most cases, so copy photos, contacts, and any other important files to your PC or cloud storage.
  2. Enable Developer Options. Go to Settings > About > Software Information > More, and tap “Build number” seven times until you see “You are now a developer.”
  3. Enable USB debugging. Go to Settings > Developer options and turn on “USB debugging.” Also enable “OEM unlocking” if you see it (this is usually required for bootloader unlocking).
  4. Install HTC drivers. Download and install HTC Sync Manager from HTC’s official site, which installs the necessary USB drivers. After installation, you can uninstall HTC Sync Manager but keep the drivers.
  5. Unlock your bootloader. If you haven’t already, go to htcdev.com/bootloader, follow the instructions to unlock the bootloader. This will wipe your phone again, so do it before you set up your phone fully.
  6. Boot into Download Mode. Power off the phone. Press and hold Volume Down + Power for about 10 seconds to enter the bootloader. Use Volume keys to select “DOWNLOAD” mode and press Power to confirm.
  7. Connect the phone to your PC. Plug in the USB cable. On your PC, open a command prompt (Windows) or terminal (Mac/Linux) in the folder where you have ADB and Fastboot tools.
  8. Verify Fastboot connection. Type fastboot devices and press Enter. You should see your device serial number. If not, reinstall drivers or try a different USB port (use a USB 2.0 port if possible).
  9. Reboot to Android. Type fastboot reboot and press Enter. The phone will restart into Android.
  10. Install Sunshine APK. Transfer the Sunshine APK to your phone’s internal storage (or download directly from the browser). Open the APK file and allow installation from unknown sources if prompted.
  11. Run Sunshine. Open the Sunshine app. It will check your device compatibility. If your bootloader is unlocked, it will proceed. Follow the on-screen instructions. The app will run a series of tests and then ask you to purchase a license (usually $25). After payment, it will perform the S-Off process.
  12. Wait for S-Off. The app will reboot your phone a few times. Do not disconnect the USB cable or touch the phone during this time. The whole process takes about 5-10 minutes.
  13. Verify S-Off. After the process completes, reboot to bootloader (Volume Down + Power) and check the top of the screen. It should say “S-OFF” instead of “S-ON”. Alternatively, you can use a terminal app on the phone and type getprop ro.boot.verity – but the bootloader screen is the easiest.

Common Mistakes

  • Not unlocking the bootloader first. Sunshine often fails on a locked bootloader. Always unlock via HTCDev before running Sunshine.
  • Using an unstable USB connection. A flaky cable or a USB 3.0 port can cause errors. Use a short, high-quality USB cable and a direct USB 2.0 port on your PC.
  • Running an outdated Sunshine version. Always download the latest version from the official site. Older versions may not support the M9 or may have bugs.
  • Interrupting the process. Do not unplug the phone or press buttons while Sunshine is working. Any interruption can brick your device.
  • Ignoring the “Unknown Sources” prompt. If you don’t allow installation from unknown sources, the APK won’t install. Go to Settings > Security and enable “Unknown sources” (or “Install unknown apps” on newer Android).

Tips

  • Use a Windows PC if possible – the process is most reliable on Windows.
  • Make sure your phone is running a stock or near-stock ROM. Sunshine works best on unmodified systems.
  • After S-Off, you can flash a custom recovery like TWRP and then a custom ROM if you wish. S-Off also allows you to remove carrier bloatware permanently.
  • If you are not comfortable with command line, you can use a tool like “HTC One M9 All-in-One Toolkit” from XDA, but manual steps are more reliable.
  • Keep a copy of your stock ROM backup before making any changes – you can use TWRP to create a Nandroid backup.

Troubleshooting

Sunshine says “Device not supported” or “Unable to S-Off”. Make sure your bootloader is unlocked, you have the latest Sunshine version, and you are on a compatible firmware (Android 5.0 to 7.0). If you are on a newer firmware, you may need to downgrade first.

Fastboot does not recognize the device. Reinstall HTC drivers, try a different USB port, and ensure USB debugging is enabled. Also, try running the command as administrator (Windows).

The phone gets stuck in a boot loop after S-Off. This is rare but can happen. Boot into recovery (Volume Down + Power, then select RECOVERY) and wipe cache/dalvik. If that fails, restore your backup.

Sunshine crashes or freezes. Force close the app, restart the phone, and try again. Make sure you have a stable internet connection for the license verification.

After S-Off, the phone shows S-ON again. This can happen if you relock the bootloader or flash a stock RUU that re-locks the bootloader. Re-run Sunshine to re-apply S-Off.

If nothing works, seek help on XDA forums. Search for “HTC One M9 S-Off” in the XDA Developers forum – you will find many users who have successfully done it and can offer specific advice.

Frequently Asked Questions

Is S-Off the same as rooting?

No. Rooting gives you superuser access within Android, while S-Off removes the bootloader’s security flag, allowing you to modify system partitions and flash unsigned firmware. You can have S-Off without root, and vice versa.

Will S-Off void my warranty?

Yes, S-Off typically voids your warranty. HTC will likely refuse service if they detect S-Off. You can usually restore S-On by flashing a stock RUU, but it’s not always guaranteed.

Can I get S-Off for free?

No reliable free method exists for the HTC One M9. Sunshine is the only working tool and costs around $25. Free tools like “rumrunner” are outdated and do not support the M9.

Will S-Off improve performance?

Not directly. S-Off itself doesn’t increase speed or battery life. It simply allows you to flash custom ROMs, kernels, and mods that can improve performance if you choose to use them.

Can I update the phone normally after S-Off?

You can still receive OTA updates, but they may fail if you have modified the system or installed a custom recovery. It’s recommended to flash a stock ROM and relock the bootloader before taking an OTA.

What happens if I don’t unlock the bootloader first?

Sunshine may still work on some devices, but it is much more likely to fail. Unlocking the bootloader is a prerequisite for most S-Off methods. If you skip it, you risk a bricked device.