[Sprint HTC One (M8)] CodingEthos:
Hi everyone!

So, I have spent the last couple of days trying to get my Sprint HK One M8 back to stock and it was absolutely horrid. So that I may save others some time here is how I accomplished this including a workaround for S-OFF using Sunshine IF YOU HAVE TAKEN THE 4.4.3 OTA and SunShine failed! (firewater is completely incompatible now.)

So that we can do this the right way you will first need to root your device and install a custom recovery if you haven't done so already. I assume that if you're looking at this thread you already did this but can't seem to get back to stock anything. Never fear there is always a way.

BEFORE FOLLOWING ANY OF THESE STEPS YOU MUST BE HTCDEV UNLOCKED, HAVE WORKING ADB/FASTBOOT & $25 FOR SUNSHINE!!!!!!​

I recommend using Philz because that's what I used. If you don't have Philz you can grab it from here. Please give credit to Phil3759 and thank him for all his hard work.

THIS SHOULD ALSO WORK WITH TWRP BUT I DIDN'T USE SO CAN'T SAY.​

For convenience here is a link to Chainfire's SuperSU - be sure to thank him for all of his hard work as well. You can flash this in Philz like you would a ROM.

So if you made it here you have successfully rooted and installed Philz or you already had these requirements before - good job.

Now you will need to install a ROM that has all of the vulnerabilities via Philz - InsertCoin 2.3.0 is perfect for this - you wouldn't believe how many others I tried. Grab it here. Thanks baadnewz!!!

Place your phone into fastboot usb - To do so power off device and hold power + volume down or adb reboot bootloader

Next we will install a custom kernel that has been modified to remove the pesky /system write crap.

Grab the badseed kernel from here.

BAD SEED CREW

fernando sor

jeffsanace

slayer69

eg1122

steelH

mcluvn

chogardjr

thicklizard

cbrown245

andy bones

stoney666

silverxbv2

dased14

steal25

You should know how to flash a kernel via adb/fastboot​

- do it now.

If you don't here's how:

adb/fastboot method (preferred, quickest method)

adb reboot bootloader

fastboot devices

fastboot flash boot <file>.img - this file will be inside the zipped kernel folder!!!

fastboot reboot

Recovery method

adb reboot recovery or power + volume down

once in recovery flash like a ROM <<< MUST FLASH ENTIRE ZIP!

reboot now

Now we are ready to download and install sunshine.apk

You can download sunshine from here. Props to jcase. Thank him by using SunShine.

Install this via adb by this command

adb install SunShine-latest.apk

Go through all of the prompts. If you are asked to pay $25 dollars (which if you followed and installed everything before this) it will work.

Congratulations you are now S-OFF!!

IF ALL YOU WANTED WAS S-OFF YOU CAN STOP HERE. FLASHING OTHER CUSTOM ROMS WILL NOT RESET YOU BACK TO S-ON. IF YOU WANT BACK TO STOCK, CONTINUE.

Now we can flash the Sprint M8 RUUs - but because of the OTA you will have to install it via the FUU application.

Please grab two files from this thread here - You will need either the Harman Kardon RUU or the regular RUU as well as the FUU utility - PLEASE KEEP IN MIND THAT YOU MUST BE S-OFF FOR THIS TO WORK PROPERLY, IF YOU HAVE DONE SUPERCID YOU CAN FLASH EITHER!!

1. Download the FUU file and extract the folder USING 7ZIP to a convenient location on your computer. THIS IS IMPORTANT: DELETE THE CURRENT rom.zip FILE THAT IS IN THIS FOLDER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! <<<<<<<<<<<<<<<

2. Download the RUU file that matches your phone. (Unless you did SuperCID)

3. Extract the RUU folder USING 7ZIP to the folder that you extracted the FUU to.

4. Rename OP6BIMG to rom.zip and place it in the FUU folder if you didn't extract to it - IF YOU DON'T RENAME, THE UTILITY WILL NOT RUN!

5. Launch the utility and follow the prompts. Do not unplug your device until all 7 steps are completed or risk a brick.

6. Your phone will reboot automatically and you will be back to stock with the ability to take future OTAs - but I think you learned your lesson didn't you?

A BIG BIG THANKS TO ALL DEVELOPERS INVOLVED IN THIS THREAD. IF I DIDN'T GET YOUR NAME OR PROPER CREDIT PLEASE LET ME KNOW BECAUSE I'M NOT A **** AND APPRECIATE ALL OF YOUR HARD WORK.