yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] G1_enthusiast:
that i was....

anyway I did it via adb shell, it was easy,

1. go into your adb folder, shift+right click, open command window here

2. ADB Shell

3.su

4. copy and paaste " dd if=/sdcard/hboot.img of=/dev/block/platform/msm_sdcc.1/by-name/hboot "

5. press enter, done!
[One (M8) Android Development] zenneoiv:
Hi all, i have a question. Can i flash 2.22.401.4 or above firmware on HTC M8 VRW ? If doing so can cause problems on the phone ?? :confused::confused:
[One (M8) Android Development] skulldreamz:
I don't have a Verizon so I don't want to answer something that I haven't fully tested myself. Sorry, maybe someone with a Verizon can chime in.
[One (M8) Android Development] GermanGuy:
Any chance you can make the 2.22.1540.3 firmware with modded hboot available for flashing. That's the official firmware for the 4.4.3 AT&T version with rcdata that should match the att radio better.

Sent from my HTC One_M8
[One (M8) Android Development] skulldreamz:
Just add the link of the firmware you want modded and I'll do it as soon as I get a chance...
[One (M8) Android Development] GermanGuy:
Here you go

http://xda7.androidrevolution.org/db_mirror/Firmware/index.php?dir=HTC/HTC_One_M8/1540/
[One (M8) Android Development] x017in:
Is this stock Dev edition firmware??
[One (M8) Android Development] skulldreamz:
Well ATT and Dev edition have the same mid so yes its stock firmware
[One (M8) Android Development] johnvicencio:
What can you or can you not flash in S-On?
[One (M8) Android Development] skulldreamz:
Only if the package is unmodified and your mid and cid are in the android-info.text, as well as you are upgrading and not downgrading. Otherwise, no you can't.
[One (M8) Android Development] flashmp3:
It's weird,

Nothing happens on my S-OFF HTC M8 with ARHD10.2 ROM stock 1.54.**** european firmware, when i put 0P6BIMG.zip renamed file on the sdcard
[One (M8) Android Development] GermanGuy:
Boot into fastboot, then boot into HBOOT.
[One (M8) Android Development] flashmp3:
Doesn't change anything nothing happens
[One (M8) Android Development] Luismauriz:
Put in External sdcard

Enviado de meu HTC One_M8 usando Tapatalk
[One (M8) Android Development] flashmp3:
Actually i hadn't bought external microSD yet :p sorry guys.......it launches well on External microSD
[One (M8) Android Development] goldalex98:
Any luck with getting this setup? I want to flash, but I don't want to have to go through redoing my bootloader etc. I know I can strip it and recreate it but it would be easier if you were to create it for me (Would take me far longer than it would you I'm sure).

Thanks!
[One (M8) Android Development] treIII:
In order to do this via SD card does the phone have to be charged a certain percent? Soff T-Mobile. Thanks

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2
[One (M8) Android Development] rijohann:
over 50% was there one that reported some pages back! maybe more..i was 100%..
[One (M8) Android Development] JamesR913:
How do I know of if this was successful? When I go back into bootloader it is blank where it says os.
[One (M8) Android Development] manup456:
You need to do the OS version fix in the first post in order to see the OS version.
[One (M8) Android Development] mathrania:
I have cid HTC_J15, flashing this FW would be ok?

---------- Post added at 06:50 PM ---------- Previous post was at 06:47 PM ----------

The FW downloaded from this thread is about 22~MB and in another thread, i saw FW for cid HTC_J15 the size of 44MB...... Any difference in that?
[One (M8) Android Development] skulldreamz:
This is a method of flashing firmware that I have posted. All the instructions on how to do it are in the first post. I have included some of the more popular firmware packages for convenience but as far as what's in other packages I can not verify that it would be %100 safe to flash. If I were you I would read up some more so you can open the packages yourself and look inside and see if the partitions that are in the packages are the ones you want flashed. But if you are s-off and your cid is in the android-info.text then yes, it will flash properly
[One (M8) Android Development] mathrania:
Flashed it... Worked flawlessly.....

But just for info, any idea what could be the difference between the file size difference?
[One (M8) Android Development] skulldreamz:
Some packages are modified where people take out some partitions ( ex: recovery.img ) so that is where the size difference changes
[One (M8) Android Development] gator9422:
Ok so I'm new to flashing firmware this way lol and idk if I did it right..I'm AT&T with s-on ..what is the correct way
[One (M8) Android Development] skulldreamz:
its thoroughly explained in the op what you can and cant do if your s-on. BTW you'll know if you did it right
[One (M8) Android Development] flashmp3:
Could someone living in France and who has its phone updated with the latest OTA and latest firmware could upload the firmware here? As the baseband is included in firmware, I would like to make sure the firmware contains information for French phones. That cause since i updated my firmware to the latest found on this forum my phone often bootloop when I unlock the sim and now that i have got back to stock 1.54.X.X.X firmware it's working like a charm but i would like to benefit from the latest improvements included in 2.24.X.X firmwares
[One (M8) Android Development] smeejaytee:
Hi could someone help me please I have recently brought an m8 it's a UK model on o2 branded and locked to that network I want to root but I've been informed that to flash 4.4.3 roms I would need to update my firmware as atm my phone hasn't revived the update to 4.4.3 so I'm wondering which firmware it is that I would need to flash any advise would be truly appreciated thank you in advance
[One (M8) Android Development] simes6600:
i just flashed the 2.22 firmware in my o2 M8 phone a couple of minutes ago using the excellent guides on this site. first, i got s-off via the sunshine app, search for it on xda. after s-off, i changed the o2 CID on my phone (02___001) to superCID using a guide from a previous post. the 2.22 firmware file won't flash on an o2 branded phone without changing to superCID or editing the android.txt file in the firmware.
[One (M8) Android Development] ILoveYouAll:
I did everything stated on the OP and nothing happens. I do have an SD card. I'm s-off and supercid. Also when I go to Hboot it says no 0P6BDIAG.zip instead of 0P6BIMG.zip. My phone is T-mobile branded btw.

Edit: Ugh I just had to remove the "zip" part and just name it 0P6BIMG. I've had this issue in the past with the Evita so I figured it was that..

Thanks for the guide.
[One (M8) Android Development] iii2:
I get Model ID incorrect error, I'm with verizon m8 and have super cid. what can I do?
[One (M8) Android Development] smeejaytee:
Could you tell me which 2.22 firmware you used as there are two different versions in the op thanks for your help
[One (M8) Android Development] simes6600:
i used this one cos i don't like the red boot text .....

https://www.dropbox.com/s/5unpkc2bk77s90u/2.22.401.4-Firmware-noredtext.zip
[One (M8) Android Development] jeffeil:
I got Incorrect Model error also; I'm T-Mobile010.
[One (M8) Android Development] RespectTheTech:
I don't have an External SD. Would I be able to flash the RUU through fastboot if I put it in my ADB folder on my computer?
[One (M8) Android Development] skulldreamz:
Yes, adb reboot bootloader > fastboot oem rebootRUU > fastboot flash zip name_of_firmware_zip_here.zip > fastboot reboot-bootloader

Flash the firmware zip twice to make sure everything gets written. It's good practice. Once you get a successful message at bottom of terminal/cmd prompt issue the fastboot-reboot bootloader to see firmware was updated and to get out of ruu mode. Profit!
[One (M8) Android Development] RespectTheTech:
Thanks! Worked flawlessly!!
[One (M8) Android Development] bruce7373:
Question: I have an unbranded M8 that's unlocked, s-off, super CID on the 2.22.401.4 firmware (modded, no red text), and running ARHD 10.2. Will I run into any problems if I flash the 1540 firmware? I ask because my LTE speed with AT&T is atrocious (5MB down), and am wondering if the radio with the US Dev firmware would get me better speeds. Or are they the same, and it would be a waste of time?

Sent from my Nexus 10
[One (M8) Android Development] skulldreamz:
Nope, I have done exactly what you are asking to do too many times to keep track. Your good. As far as the radio aspect, sorry but that's not my goal when I flash firmware for testing. It's too make sure the process is safe for the end user
[One (M8) Android Development] laraiza:
I am S-on tmobile US branded, unlocked bootloader running twrp recovery. I downloaded the zip on the OP and renamed it properly first with the .zip extension then without. placed on ext sd card but still no profit. I am frustrated and know its probably something simple im forgetting. please help.
[One (M8) Android Development] skulldreamz:
I'm guessing it's because your s-on. If you mid and cid aren't already in the android-info.text then it's not going to work. You have to be s-off. The only time a s-on user can update firmware is if it is a signed package (unmodified) from the oem (HTC). Go s-off (sunshine) and problem solved. Please read up on these things because all of these questions are already answered in the thread. Not trying to sound like a **** but that's the whole reason I spent all the time making the op. [emoji6]
[One (M8) Android Development] laraiza:
I tried firewater and no go so I tried sunshine and it said for me to flash a rom close to stock or it wont work. I tried to download an old version 4.2.2 of insertcoin rom but also no go. Do you know of a rooted stock rom i can flash to go thru sunshine?
[One (M8) Android Development] skulldreamz:
You can try Maximus, I've heard many people are having success with that.
[One (M8) Android Development] laraiza:
Thanks, I'll try that.
[One (M8) Android Development] omf05:
well im S-off with a T-mobile HTC One M8 and I cannot start the flashing process. It will just ask me to reboot.

This is what I have on the edit file, I have a feeling my cidnum is not meant to be put in that way.

modelid: 0P6B13000

cidnum: T-MOB010

cidnum: HTC__E11

cidnum: HTC__102

cidnum: HTC__203

cidnum: HTC__405

cidnum: HTC__Y13

cidnum: HTC__304

cidnum: HTC__A07

cidnum: HTC__002

cidnum: HTC__016

cidnum: HTC__032

cidnum: HTC__J15

cidnum: HTC__M27

cidnum: HTC__A48

cidnum: HTC__K18

mainver: 2.22.401.4

btype:1

aareport:1

hbootpreupdate:12

DelCache:1
[One (M8) Android Development] skulldreamz:
Taking my lunch break ;)
[One (M8) Android Development] skulldreamz:
If your s-off then go supercid, flash firmware. Or your not adding your cid to the android-info.txt or not putting the renamed zip (0P6BIMG.zip) on your external_sd
[One (M8) Android Development] bruce7373:
I'm just at a loss why my LTE speed has dropped so dramatically since moving from the Nexus. I got used to flashing different radios with the N4, to gain LTE first of all, then to see if different versions helped or hindered either the mobile connection or Wi-Fi (many claimed to see differences, I didn't). So I was just wondering if the 1540 radio was tweaked more for the US market than the 401.

How was lunch? :)
[One (M8) Android Development] LQQKS:
sorry n00b question: Just updated firmware to 2.22

Now trying to get rid of the red text.

So i downladed the one to flash in ADB shell, but that is version 2.12

Will that be a problem? On HTC M8 & Viper
[One (M8) Android Development] omf05:
Thanks!!! it work with supercid
[One (M8) Android Development] Roque13:
I know it was asked a couple of pages back and I also searched, but didn't really see anything. I am s-off, super cid, and I followed the directions to a tee and I still get model id incorrect press power to reboot. Any help would be greatly appreciated. Thanks!
[One (M8) Android Development] GermanGuy:
The radio is the same but rcdata.img in 1540 is better for AT&T I believe.

Sent from my HTC One_M8
[One (M8) Android Development] manup456:
The OP already has a version that gets rid of that.
[One (M8) Android Development] buiducphuc:
While this flash! then on as root HBOOT how

---------- Post added at 04:20 AM ---------- Previous post was at 04:19 AM ----------

your phone's HBOOT Vietnam VIETNAM want to go back to how so?
[One (M8) Android Development] modiko:
I unfortunately can't get s-off via firewater and i wanna update my firmware to be able to update my phone to the next version . How can i do it ?
[One (M8) Android Development] goosefraba91:
How would I go about changing the CID and MID in the android-info.txt file without unzipping the whole firmware zip? If I unzip the file, edit and re-zip it, will it still be flashable in HBOOT?
[One (M8) Android Development] rijohann:
Sunshine for s-off:good:......you find it here : http://xdaforums.com/showthread.php?t=2792487
[One (M8) Android Development] xuldigiorgio:
my device is MID : 0P6B11000, CID : HTC__621, followed step by step and unable to flash 2.22 firmware. is it because my device is not there in the android-info.txt?
[One (M8) Android Development] ekksman:
Super CID
[One (M8) Android Development] xuldigiorgio:
u mean ihave to s-off and supercid? unable to s-off usingfirewater and i'm kinda broke so sunshine s-off is not an option atm :crying:
[One (M8) Android Development] ekksman:
Yah, there is a method on the front page for s-on, or you can wait for sunshine, I had to use sunshine also
[One (M8) Android Development] chrisnz1947:
Flashinf this with S-on

Di I understand rightly that if I mod the info .txt file in the zip this will flask ok? You appear to contradict yourelf by sayng s-on users cann ot do this and then say that you tried it and it worked ok.

I also have an HTC one developer addition with an unlocked bootloader, do you see this presenting any problems?
[One (M8) Android Development] xuldigiorgio:
i followed those steps but i'm unsuccessful :eek:
[One (M8) Android Development] tmorterlaing:
This is probably a stupid question, or maybe redundant, but is there a changelog for firmware updates somewhere? I'm intrigued to know which bits HTC fixed and what the fixes/ improvements were (better signal etc?)
[One (M8) Android Development] manup456:
Use 7zip open the .zip pull the file edit it and put back in you will still be able to flash the file 7zip won't break it.
[One (M8) Android Development] vixs:
S-OFF or ON ?
[One (M8) Android Development] swiftfury:
Need help guys, i get "loading image 0P6BIMG, no image 0P6BIMG" or something along the lines and then it says update failed, model ID incorrect. I am S-off and SuperCID.
[One (M8) Android Development] gator9422:
I'm s on..went to stock recovery and stock Rom tried flashing firmware and it didn't work
[One (M8) Android Development] dawexxl:
The same problem cid -032 stock rom stock recovery rooted. any ideas? thx
[One (M8) Android Development] rusty-ragster:
thank you so much worked perfectly :)
[One (M8) Android Development] c5satellite2:
Link to the radio you speak of, I can't find it.
[One (M8) Android Development] GermanGuy:
I am talking about the 2.22.1540 firmware with its included radio and rcdata. I already linked to it in my previous posts in this thread.

Sent from my HTC One_M8
[One (M8) Android Development] c5satellite2:
Skulldreamz said he would make it boot loader flashable with no red text a while back, any chance of that happening?

Thanks in advance.
[One (M8) Android Development] GermanGuy:
Here you go. Firmware 2.22.1540.3. I removed boot.img and recovery.img and replaced HBOOT with NoRedHboot. Rename firmware to 0P6BIMG.zip. You wil need s-off and SuperCID.

https://mega.co.nz/#!PFcTGZZY!N0EjtfJ03BikWDUVTNrHp0ckufOfclaIoJSsmagz3Fo
[One (M8) Android Development] euphgirl:
Changed my CID, changed my file name after downloaded and moved to ext_sd. Go into Hboot and it fails to load. Says "model ID failed..."

hTc m8

Viper 4G
[One (M8) Android Development] JoshuaFCB:
i got the same results on my tmobile m8 soff as well
[One (M8) Android Development] euphgirl:
Looks like we are all getting the same issue...

hTc m8

Viper 4G
[One (M8) Android Development] marcviado:
I've been reading lots of post on this thread and lots of people are making this harder than what it's supposed to be..to make this as easy as possible you must be..

1.unlocked boot loader

2.s-off

3.super cid

Next..

1.download the firmware in op that you want

2.rename the image file to 0P6BIMG.zip or whatever image file your phone supports. Ex:I have an at&t m8 and I had to rename my image file to 0P6BDIAG.zip

3.place the file onto the external sd card

4.reboot into your fastboot boot loader

5.at this point it should be already automatically flashing the firmware so let it sit until it's finished

6.reboot/enjoy.

I'm speaking for GSM users I read that Verizon users are unable to do this because 1 it's cdma not GSM so your most likely gonna brick your phone and 2 Verizon hasn't released any 4.4.3 firmware. But don't quote me on that I may be wrong just saying what I read in other posts/thread.

Hopefully this will help lots of people who are having issues with this.

-enjoy and have a nice day :)
[One (M8) Android Development] JoshuaFCB:
i have the first 2, but what is super cid?

Edit: i looked it up on YouTube. im guessing this something that can only be done from a pc? ;( i dont hev access to any computers at the moment ;;;(
[One (M8) Android Development] marcviado:
Super cid.changes your carrier I'd to 11111111 making it easier to flash firmwares.

Side Notes... CID & SUPERCID

Changing your cid to supercid (11111111) will let you flash firmware without ever having to worry about changing your cid 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) You need to have both of these values correct in the android-info.txt if you are s-on. If s-off and supercid, firmware will flash so make sure whatever you are flashing is correct. If s-on and you don't have the correct values in the android-info.txt you will just get a error and it will not flash so you have nothing to worry about.

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"

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

10. Once in bootloader you will see that your cid says 11111111

11. Profit! You are now supercid
[One (M8) Android Development] JoshuaFCB:
i really apreciate your effort in trying to help us noobs out but unfortunately i dont have and wont have acess to a pc for a while ;(( therefore i cant do this. there is no way to do this without a pc?

i found this thread. http://xdaforums.com/showthread.php?t=2708567

but im not exactly sure if its what im looking for.
[One (M8) Android Development] marcviado:
No that thread is just for SIM unlocking your device that has nothing to do with this.I'm sorry I don't know what else to tell you.the safest and easiest way is to super cid first. I believe you can also do it without doing super cid but you have to make sure your cid number matches the one in the firmware you want to flash.
[One (M8) Android Development] swiftfury:
I am s-off, super cid, gsm international, tried all of the steps above and I still get

"Update failed

Model id incorrect"

This firmware flashing is proving to be the biggest pain ever, have tried everything and nothing works.
[One (M8) Android Development] Demonaire:
Successfully updated my firmware. Thanks so much for the great guide! Simple, clear, and easy.
[One (M8) Android Development] jsbowling42:
Any word on the 2.22.1540.3 firmware? Any progress?
[One (M8) Android Development] xuldigiorgio:
youtube not working

edit - wrong thread
[One (M8) Android Development] GermanGuy:
I just posted it. Look back a couple of pages.

Sent from my HTC One_M8
[One (M8) Android Development] jsbowling42:
The zip file? If so follow the same procedure as op?
[One (M8) Android Development] GermanGuy:
Yes. You need to be s-off and super Cid.

Sent from my HTC One_M8
[One (M8) Android Development] jsbowling42:
Thanks, sorry I thought it was a link for the op that's why I overlooked it.
[One (M8) Android Development] Clark Joseph Kent:
Gents, looking thru the thread, noticed this for the ATT FW, is this listed in the OP?

And by having the zip to flash, one would not need to worry about the Changing your cid to supercid? Thanks in advance.
[One (M8) Android Development] skulldreamz:
Thanks and sorry for the confusion. The link is in the op with (ATT) in its name and the mid and cid are in the android-info.txt as well. Good job with the eyes of a hawk! [emoji6]
[One (M8) Android Development] BR7fan:
Super cid ,which firmware should I use ? I have att
[One (M8) Android Development] Clark Joseph Kent:
Thanks and no worries. PM sent.
[One (M8) Android Development] Clark Joseph Kent:
Thanks for the guidance on the Linux commands, for the CID & SUPERCID, worked great. And Thanks on the ATT file for FW for flashing, worked great after doing the supercid.... ;)
[One (M8) Android Development] karatche:
So if I am on ATT coming from 4.4.2 version, I would use this zip (7au5df1pugxu2ss/2.22.1540.3_ATT_no_red_text.zip) ? Will th e4.4.2 rom I have currently still work with the new firmware, long enopugh to get a new 4.4.3 rom?
[One (M8) Android Development] pedro6669:
Yes. I flashed the 2.22 fw a few nights ago while still on viper 1.8, which is 4.4.2 and had no problems. I went ahead and got super cid, with help from skulldreamz, and it worked perfectly.
[One (M8) Android Development] b0gd4n:
Hey there.

I have an M8 with CID HTC_32 and modelid 0P6B10000.

I have copied the file to ext_sd and renamed it 0P6BIMG.zip.

When I boot to the bootloader, it says checking and the in a red font Press <POWER> to reboot.

Anyone? :(

EDIT:

nevermind. I found this guide http://xdaforums.com/showthread.php?t=2735235 and following step 6 with the zip file provided there I managed to upgrade my firmware.
[One (M8) Android Development] JamesR913:
Is there a way to flash stock recovery without a PC?

---------- Post added at 05:49 PM ---------- Previous post was at 05:46 PM ----------

What exactly did you do to fix it.
[One (M8) Android Development] skulldreamz:
Are you root? If yes there is a app called "flashify" on Google play that will flash recoveries and boot.imgs...
[One (M8) Android Development] JamesR913:
I got stock recovery flashed using flashify but now don't see how I can wipe cache. I am getting the phone with red triangle and holding power and volume up just reboots.
[One (M8) Android Development] Billchen0014:
my bootloader looks like this, what do i need to do to update the firmware? i am completely lost though i am planning to flash maximusHD 5.0.0 and then S-off using SunShine. after i reboot from S-Off, what do i have to do to get the latest firmware? btw heres the getvar:

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B11000

(bootloader) cidnum: VODAP021

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 0a41237a

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

and what is CID exactly? is it a superficial code given by HTC to the SAME hardware but DIFFERENT region/carrier/software, therefore making CID changes don't matter other then when going to bone stock carrier ROMs right? geez, my old nexus is sooo much simpler.