• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Firmware Flashing without the panic attacks... ;)

Search This thread

xunholyx

Recognized Contributor
Dec 3, 2012
7,669
5,226
Vancouver
Google Pixel 2 XL
Google Pixel 5
~/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 @skulldreamz, the original author of this thread for introducing me to an easy and safe method for flashing firmware without a PC
Thanks to @Sneakyghost for all the knowledge about firmware and firmware flashing, and for always being willing to answer any questions I may have.
Thanks to @graffixnyc for providing the GPE ruu and the GPE back to sense firmware.zip
Thanks to @SoLdieR9312 for firmware links
Thanks to @LlabTooFeR for always being first on the scene with HTC firmware updates
Thanks to @starbase64 for the modded hboot.
Thanks to @migascalp for fixed os version twrp recovery

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

exocetdj

Senior Member
Dec 2, 2011
6,645
4,187
Jah's making me crazy
This reminds me of the HTC desire days when I didnt have a clue about fastboot commands lol!!! great find mate!!!:good:

I can't remember so far back exactly but so u need to be s off to achieve this?

This was how I used to flash different types of HBOOT on the HTC desire when it was s off
 
  • Like
Reactions: skulldreamz

skulldreamz

Senior Member
Mar 13, 2012
1,402
1,175
Baltimore, MD
This reminds me of the HTC desire days when I didnt have a clue about fastboot commands lol!!! great find mate!!!:good:

I can't remember so far back exactly but so u need to be s off to achieve this?

This was how I used to flash different types of HBOOT on the HTC desire when it was s off

Actually no you don't need to be s-off to use this method to upgrade your firmware and or hboot. Its basically a forgotten secret on the safest way in my honest opinion to upgrade firmware because you don't have to worry about your computer shutting off or a USB cable coming out accidentally and bricking your device. Now to downgrade hboots you would need to be s-off but this is just the easiest and safest way to take a ota update without any worrying involved. If I'm incorrect on anything, anyone please feel free to jump in and correct me as I'm still somewhat new to this. Only thing I can think of is if your s-on and try to downgrade hboot, then you would just get a wrong image error but that's it. It won't flash with any unexpected consequences.

Sent from my LG-D800 using XDA Premium 4 mobile app
 

EddyOS

Senior Member
Jan 2, 2010
15,282
4,028
London
You will need S-OFF if you're trying to flash a FW package and your CID doesn't match those that the FW package is originally intended for
 

exocetdj

Senior Member
Dec 2, 2011
6,645
4,187
Jah's making me crazy
does it also work with any other firmweware.zip for the M8?
did we just rename the firmeware.zip to 0P6BIMG.zip?

that sounds very easy...to easy in my opinion :confused:

for GSM it should, I was renaming the zips i used to flash this way on the HTC desire to the same thing each time i flashed and it worked. The phone needs it named the same to recognise what to flash when in HBOOT
 
  • Like
Reactions: Benski_84

skulldreamz

Senior Member
Mar 13, 2012
1,402
1,175
Baltimore, MD
does it also work with any other firmweware.zip for the M8?
did we just rename the firmeware.zip to 0P6BIMG.zip?

that sounds very easy...to easy in my opinion :confused:

Yes it will work for any other firmware zip that has been made for our m8. Again I only have a gsm, so can only speak on that %100. It does sound easy, too easy and that's why I would recommend this procedure over any other that yeilds the same outcome. One other piece of knowledge I need to add to op is that I would use supercid as it has never failed me...

Sent from my LG-D800 using XDA Premium 4 mobile app
 

Benski_84

Senior Member
Dec 22, 2012
252
105
Berlin
Yes it will work for any other firmware zip that has been made for our m8. Again I only have a gsm, so can only speak on that %100. It does sound easy, too easy and that's why I would recommend this procedure over any other that yeilds the same outcome. One other piece of knowledge I need to add to op is that I would use supercid as it has never failed me...

Sent from my LG-D800 using XDA Premium 4 mobile app

thanks mate. got a GSM Device, too. sure, and i got also S-Off and SuperCID ;)
will give it a try, asap
 
  • Like
Reactions: skulldreamz

Behold_this

Senior Member
Jul 15, 2011
2,975
4,506
Las Vegas
Actually no you don't need to be s-off to use this method to upgrade your firmware and or hboot.

Only correction I would make to this statement is that firmware zips must be signed if you are not s-off. Customs zips cannot be flashed on s-on devices regardless of how you flash them. If the zip is signed then it can be freely flashed as mentioned above. Just keep in mind that there will be no downgrading firmware without s-off.

On a side note, it's good to see you here in the m8 forums, bro! [emoji106]
 

francki

Senior Member
Jan 8, 2011
185
67
Thank you for that, very useful because my pc is dead now... One question though, the recovery file is missing inside the zip, have you put it out already? Or there wasn't one in this firmware package?

Envoyé de mon HTC One_M8 en utilisant Tapatalk
 

skulldreamz

Senior Member
Mar 13, 2012
1,402
1,175
Baltimore, MD
Thank you for that, very useful because my pc is dead now... One question though, the recovery file is missing inside the zip, have you put it out already? Or there wasn't one in this firmware package?

Envoyé de mon HTC One_M8 en utilisant Tapatalk

Your welcome.. No i did not remove a recovery.img or alter the firmware package at all. If you unzip the package which I provided you will see exactly what was meant to be in the 2.12.401.3 firmware 4.4.3 update.

Sent from my One M8 using XDA Premium 4 mobile app
 

old.splatterhand

Recognized Contributor
I'm a bit surprised, that this way seems to be unknown for the most people.
I always flash my firmware that way, since i have HTC phones.
For other devices than GSM, take a look at the bootloader. Right after you are in, it is scanning for the (firmware-)files and you can see, what filename it is scanning for. So you can rename the firmware with the correct name.

Here is a picture, i made with my previous HTC One SV, that you see what i mean:

CX6BLbZo


As stated, this pic is not from M8 and the name in the picture don't work for M8!
 
  • Like
Reactions: Benski_84

@rbiter

Senior Member
Dec 4, 2011
5,141
1,240
If you have one lying around not being used and it's at least 4gb I would venture it would work. If the file is less than 2gb you could probably try a 2gb card.

sent from my HTC One M8 using hofo mobile app
 

DeathmonkeyGTX

Senior Member
Oct 15, 2007
2,083
609
Little Rock, AR
It's nice to see this still works, this is how we flashed stuff to HTC Windows mobile phones back before Android. Idk if it will work for exfat cards though, I haven't used this since fat32 mini sd cards instead of micro.

Sent from my HTC One_M8 using XDA Premium 4 mobile app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Sorry everyone for the bad upload. I have never in my life uploaded a file and not tested it and I can't apologize enough for my unacceptable behavior. On Wednesday I go for open heart surgery and I've been extremely anxious but that is NO EXCUSE. I saw that the first upload was the same exact size ( well off by 3 KB) so I uploaded it to try to get a last couple people happy before I go into the hospital. Anyway it was a learning experience and I promise it will never happen again. I'm glad it's all sorted out now -skulldreamz
    14
    Reserved...

    Sent from my LG-D800 using XDA Premium 4 mobile app
    13
    OP updated with 3.28.401.9 firmware with no red text hboot

    Sent from my HTC One_M8 using Tapatalk
    12
    At&t 4.4.3 ota is out, any chance we could get the FW from it?
    Thanks in advance.

    Sent from my HTC One_M8 using XDA Free mobile app
    I'll see if I have time to dump it from my phone tonight. Has some great WiFi n Bluetooth fixes as well as the security, etc..

    Sent from my One M8 using Tapatalk