[One (M8) Android Development] xunholyx:
~/PLEASE READ CAREFULLY!!!

To anyone that is S-OFF and wanting to flash firmware I have a safe and quick way that I have tested many times on my device that works flawlessly. Works on all GSM M8's. People have reported it works on Verizon as well.

I take no responsibility for anything going sideways on you but it should not if you have read up on the information in this thread and have read the instructions.

*You can flash any modded firmware zip through the instructions below the same exact way as you would the unmodified firmware way. I have tested this numerous times and all went well. Hope you guys enjoy!

NOTE: If you are on a 2.xx firmware and downgrade to a 1.5xx the phone will shut off half way through the process for about 1-3 seconds to flash the hboot. Then will turn right back on to the new downgraded hboot screen and continue where it left off. Don't worry when this happens as HTC developed this way for a reason. This has been tested many times and works flawlessly.

Here are some pictures of the process. As you can see if you look at the date on the first 2 pictures of the hboot, that is where i begin the process and where I am talking about the screen turning off and on (below) because the new hboot is getting flashed. The rest of the pictures have the new hboot that is flashed and has a newer date and is right when the screen turns back on and the flashing process continues. The pictures are in order during the process. Pictures link below...

SLIDESHOW OF FLASHING PROCESS BELOW

https://www.dropbox.com/sc/71yuprgtunmpx0q/AADYh53UzyVhoYxK0D9-WdkBa

#SuperSu#

https://www.dropbox.com/s/y3mamtoq0m4wjmk/UPDATE-SuperSU-v2.46.zip?dl=0

MD5 : 332de336aee7337954202475eeaea453

https://www.dropbox.com/s/2rdhltt6fsjf72s/UPDATE-SuperSU-v2.45.zip?dl=0

MD5 : 9dbd5253b8f10a8064273dbec3bc78c8

https://www.dropbox.com/s/wdp62a2mcteu9qx/BETA-SuperSU-v2.44.zip?dl=0

MD5 : 8959d8948981232bba1fa14d6040130f

https://www.dropbox.com/s/bx0hfmsmrv29oyw/BETA-SuperSU-v2.43.zip?dl=0

MD5 : fcd4d71f0be4a0bc52344c6cab029fee

https://www.dropbox.com/s/g8guqcmnt22kvso/BETA-SuperSU-v2.42.zip?dl=0

MD5 : cb35e43838d89a29a61d88f3496ee5da

https://www.dropbox.com/s/umh842ib2djhqki/BETA-SuperSU-v2.41.zip?dl=0

MD5 : b110dae1fd13386be216ff77f7fd7937

https://www.dropbox.com/s/niq845lvtv2qmjx/UPDATE-SuperSU-v2.40.zip?dl=0

MD5 : 20d95246299cb7446d025d4df1bd2fa5

https://www.dropbox.com/s/2avk9gxp1wlhciv/UPDATE-SuperSU-v2.37.zip?dl=0

MD5 : 50fafbd60c51eb4bac1e8a6dc47e7360

https://www.dropbox.com/s/dyk20asq161ytzr/UPDATE-SuperSU-v2.36.zip?dl=0

MD5 : 71c9944b6bebb619f63de7691964e8bd

https://www.dropbox.com/s/7rpo41xalcjdg7p/UPDATE-SuperSU-v2.35.zip?dl=0

MD5 : 032245a3b3d745b6ed5a09953fe1ceb3

https://www.dropbox.com/s/8a4q37cebsenc51/BETA-SuperSU-v2.30.zip?dl=0

MD5 : dc9c388757b57a5eaca55b05f741acc2

https://www.dropbox.com/s/hx4pd88aatriebc/BETA-SuperSU-v2.27.zip?dl=0

MD5 : 3da330bcd493b1f7f82256f13f18e09c

https://www.dropbox.com/s/j8os5v3uug0t0os/BETA-SuperSU-v2.25.zip?dl=0

MD5 : ae27849d83deb502c3144b5cc890aaa5

https://www.dropbox.com/s/vnfubef7zg008ie/BETA-SuperSU-v2.23.zip?dl=0

MD5 : 7094e75b0a811846c88e7d9e569d71fc

Firmware Links Below...

https://www.dropbox.com/s/ygn5tjcx533ox1k/firmware_4.16.401.9.zip?dl=0

MD5 : af072d7a6d6bc18ddadae52006ad1ac0

https://www.dropbox.com/s/gxaqttv13fvnpqb/4.16.1540.8_firmware_NoRedText.zip?dl=0

MD5 : 53030b67425af805c478341b7f69cb70

https://www.dropbox.com/s/aiyowtagd3nxuee/RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip?dl=0

MD5 : 42dd6298fa70721494a0b8644696bae1

https://www.dropbox.com/s/6bs9z9xtehvdjzf/RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5_rooted.zip?dl=0

MD5 : c6b9feaab8099285c87ef5b9180ffeb4

https://www.dropbox.com/s/7cw41g4zmtrfu1m/3.11.1700.5.firmware.zip?dl=0

MD5 : 6ac5701060b4e15adb0cef7f13eddccd

https://www.dropbox.com/s/5z93i021jngs01c/M8-L-firmware.zip?dl=0

MD5 : 5eeb795e346ed48293f7e45258738c36

BEFORE FLASHING the above ^ L firmware, please convert to the GPE for best compatibility, below. Follow same instructions below for flashing firmware zips to flash the GPE ruu.zip. If you want to flash back to a sense rom, make sure to flash the sense firmware.zip below before flashing a sense rom, because of the different system partition sizes in GPE and sense roms. This firmware zip directly below this sentence is all you need to flash before flashing a sense rom.

https://www.dropbox.com/s/psbckxlwagpbkch/1.54.401.5-W_Splash.zip?dl=0

MD5 : 8830fcbbbec577118f2188742add79bd

^^^^ BACK TO SENSE FIRMWARE.ZIP ABOVE ^^^^

https://www.dropbox.com/s/tomazhso0avo0gs/RUU-HTC_One_M8_GPE_4.4.4-2.12.1700.1_rooted.zip?dl=0

MD5 : c34a19d76ca60655d9a95140574ac143

https://www.dropbox.com/s/y46q9eajive7ruu/3.28.401.9-Firmware-noredtext.zip?dl=0

MD5 : 03744e5c01867471f7de4204f4ab2dcc

https://www.dropbox.com/s/tg0ug894q31tg71/3.28.605.4-vzw-4.4.4-firmware.zip?dl=0

MD5 : efcc21831ec9e60aceb7e01ace62bfd3

https://www.dropbox.com/s/8v27l9kvexz4a6g/3.32.531.2_Firmware_TMUS.zip?dl=0

MD5 : fdc1699a3ec2846ee289e04e725686c4

https://www.dropbox.com/s/k4iv4abweirp7m0/3.28.401.7-Firmware-noredtext.zip?dl=0

MD5 : 6739525b46b1fdbf81261f76d84ac77c

https://www.dropbox.com/s/uhyo2d3ilw3hkei/3.28.401.6-Firmware-noredtext.zip?dl=0

MD5 : 2376ff41caedd5d51163bbe793a00e7c

https://www.dropbox.com/s/zkh3bwpo25nshmi/unsigned_firmware_3.28.401.3.zip?dl=0

MD5 : 33a5479e5d9e75810b62238274fd60ef

https://www.dropbox.com/s/8npujxrp24di56e/m8_vzw_443_firmware.zip?dl=0

MD5 : 76efa8fa88972f8b7fa7d95fa1735a20

https://www.dropbox.com/s/2nfda6aev1mixsn/fw_2.22.401.5_no_red_text.zip?dl=0

MD5 : 6ebdf156a2b387bb48d0544b8d7eb703

https://www.dropbox.com/s/vo2pwqlxo6z8wi5/2.22.401.4-Firmware.zip

MD5 : e775ad81006fdc560673e9c03b5aba21

https://www.dropbox.com/s/5unpkc2bk77s90u/2.22.401.4-Firmware-noredtext.zip

MD5 : 5c742201c984139174646dea790de936

https://www.dropbox.com/s/no9bwr72lkab8ty/fw_2.22.531.5_T-MO_w_TWRP_2710.zip?dl=0

MD5 : 3a5b1005cb51a2b7a3337562f656c6b2

https://www.dropbox.com/s/7au5df1pugxu2ss/2.22.1540.3_ATT_no_red_text.zip

MD5 : 4d83ed7ec9cb896ec554a9b172f22d50

https://www.dropbox.com/s/t6y8o9l67zcy1vp/firmware_2.12.401.3.zip

MD5 : e5a1258599751de15498fea148547736

https://www.dropbox.com/s/28o9cout0e9k80k/1.54.401.10-Firmware.zip

MD5 : 2977845d58457f7ec4c6edbf3f9e7307

https://www.dropbox.com/s/49t74ldxnwpej6j/1.54.401.10-Firmware-noredtext.zip

MD5 : d7871da0581c2de125d1a60b757f7084

Instructions:

1. Download firmware of choice in above links

2. Rename firmware to 0P6BIMG.zip (the first character is a zero, NOT A LETTER O)

3. Put renamed firmware.zip on your external_SD

4. Boot into your bootloader and make sure your in hboot and let it update its firmware.

5. No PC, no adb, no fastboot, no terminal is needed, just a root explorer to rename and transfer the renamed firmware file to external_sd

6. After you have updated your firmware, make sure to remove the 0P6BIMG.zip from your external_sd because it will ask to update your firmware everytime your reboot to your bootloader which it is technically supposed to do but its unnecessary after you have done it once (unless you are planning on flashing firmware again).

7.Profit!

SUPERCID

Changing your cid to supercid (11111111) will let you flash firmware without ever having to worry about changing your cid (ex: CWS__001) in the android-info.txt. When the bootloader goes to flash firmware it checks for 2 values that are device specific. 1. Is your mid (model id) 2. Is your cid (carrier id) This process completely eliminates the need for your stock cid when flashing packages in "RUU" mode. So basically supercid just makes flashing firmware packages 1 step easier.

S-OFF ONLY! How to get supercid

1. Have adb and fastboot set up. There are guides all over xda and google

2. Connect phone to PC and open terminal

3. Type "adb devices" to make sure phone is connected to PC

4. Type "adb reboot bootloader"

5. Once in fastboot type "fastboot devices" to make sure fastboot sees your device

6. Type "fastboot oem rebootRUU"

7. Once in black screen that says HTC you are in ruu mode

8. Type "fastboot oem writecid 11111111" (has to be 8 one's)

9. After a successful cid overwrite type "fastboot reboot-bootloader"

10. Profit! You are now supercid!!

Additional Information...

I have also been testing different formats of the external_sd and vfat, fat, and fat32 work for updating the firmware. I formatted numerous different sdcards to ext4 and the hboot just bypasses the image as if there was no firmware.zip on the card.

Thanks to [MENTION=4542027]skulldreamz[/MENTION], the original author of this thread for introducing me to an easy and safe method for flashing firmware without a PC

Thanks to [MENTION=1102297]Sneakyghost[/MENTION] for all the knowledge about firmware and firmware flashing, and for always being willing to answer any questions I may have.

Thanks to [MENTION=3537886]graffixnyc[/MENTION] for providing the GPE ruu and the GPE back to sense firmware.zip

Thanks to [MENTION=4860093]SoLdieR9312[/MENTION] for firmware links

Thanks to [MENTION=494185]LlabTooFeR[/MENTION] for always being first on the scene with HTC firmware updates

Thanks to [MENTION=456666]starbase64[/MENTION] for the modded hboot.

Thanks to [MENTION=333497]migascalp[/MENTION] for fixed os version twrp recovery

I plan on adding other variants and info as I get time. Thanks