yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] Sneakyghost:
There is a sheet I made, readily available on the first few posts somewhere, with data I and [MENTION=4174733]Behold_this[/MENTION] gathered on the M9 which can tell you what models those ID's are: https://docs.google.com/spreadsheet...ShfYNFAfSe-imhhqtVfeMPVDA/edit#gid=1606643937

However, I suggest you just turn your device to S-OFF and SuperCID and then you won't need to mess with the android-info.txt.

Oh and by the way, there are 5 useful posts on Page 1. I suggest you read those before asking stuff I answered there, again. Thanks. That is the kinda crap that gets me angry. Sorry. Especially late after work when I want to do other things than answering stuff I answered a million times before.
[One (M9) Android Development] Alan-B:
Re:

Sorry but my M9 is Europe and the zip such as do not pass! I am S-Off since the beginning.

Such as pass only on the US versions, thus I have to modify to pass and everything works very well.

I in the whole read by the post 1, but my Englishman is not top! And not all inclusive.

@+
[One (M9) Android Development] Sneakyghost:
Get SuperCID:

fastboot oem writecid 11111111

Then all zip's flash.
[One (M9) Android Development] Alan-B:
Hi,

Thank you, I used my method and everything goes well without changing the CID.

Good to know May
[One (M9) Android Development] Sneakyghost:
NoWipe 2.10.401.1 added

Added 2.10.401.1 NoWipe fastboot zip.

Please be aware that this will trigger a cache-erase when flashed with ARUWizard (discovered that yesterday), but will be a true no-wipe when flashed in Download-Mode with htc_fastboot.exe (seems like only ARUWizard is parsing the android-info.txt, which holds the line "eraseonflash: cache").

Other than that, I have to say, ARUWizard still doesn't properly flash my repacked zips. I am getting an idea why though. Have to verify and think about a way to work around the problem. What I found by looking at the RUU.log after it aborted again with error 171 USB connection, is a debug output line that says "looking for fastboot_windows.exe in ....\Username\appdata\<cryptic name>" - I have to say, I have never come across a "fastboot_windows.exe" which in itself is already weird. [EDIT] [MENTION=4174733]Behold_this[/MENTION] notified me that the solo fastboot downloadable on HTCDev.com is or was called fastboot_windows.exe.[/EDIT] But the more troublesome part is, that ARUWizard is not looking for a dynamic place but for a hard-coded path which does not exist.

Furthermore, the log reveals that it is trying to count the partial images in a normal ROM.zip from a RUU, which of course it cannot find in a repacked firmware zip. That also seems to cause malfunction in some way.

However, I have to dig deeper. Yet I feel like neither me nor anyone really wants to use the FUU, so I don't really see the point in wasting time on that.

If there's anyone out there who personally really wants to use the FUU, let me know, then I will go search for a solution. Else, I'll drop it for this year and see what HTC comes up with next year, if they make it until the M10, that is.

Download in post #1​
[One (M9) Android Development] jdub1983:
Curious if anyone would weigh in on which hardware set is more beneficial, the 2.x.x WWE or the 2.x.x Dev hardware?
[One (M9) Android Development] Sneakyghost:
I'd use this firmware on an M9.
[One (M9) Android Development] lilhaiti:
Is there a place where I can read the changelogs for the firmwares?
[One (M9) Android Development] Sneakyghost:
HTC very rarely gives us real change logs. Best bet: follow their social media appearances and check their website, but usually there's nothing but the usual stupid meaningless stuff.
[One (M9) Android Development] peca_slo:
[MENTION=1102297]Sneakyghost[/MENTION]

Can be your zip still flashable direct from download mode by: fastbood flash zip Firmware.zip or do we need to go fastboot oem rebootRUU and so on?
[One (M9) Android Development] Sneakyghost:
My zips work in download mode and RUUmode.
[One (M9) Android Development] peca_slo:
Tenx, one more thing do i have to flash twice firmware in download mode like ruu or only once :)
[One (M9) Android Development] yellowsn0w:
can anyone help me? I followed the precedure twice and flashed the 2.10.401.1 zip successfully but my software number is still 1.32.1500.31
[One (M9) Android Development] DroidShift79:
Check os entry in download mode
[One (M9) Android Development] yellowsn0w:
oh so it worked it just doesnt show the proper version in the actual OS?
[One (M9) Android Development] DroidShift79:
The version number in about screen is the version of the ROM, not the firmware version
[One (M9) Android Development] darkenedpath:
Os versions in settings under software version is the rom version. In download mode, run getvar all and that will tell the firmware version you are on.
[One (M9) Android Development] yellowsn0w:
got it. thanks guys, sorry new to htc development stuff. just switched from the s6!
[One (M9) Android Development] simonbigwave:
you have no problem (any random reboots) with 2.10.401.1 firmware on your 1.32.1500.31 rom?
[One (M9) Android Development] yellowsn0w:
not on that rom anymore, was stock. im on viper 3.5 now :)
[One (M9) Android Development] skruff77:
can you use the International on a T mobile phone?
[One (M9) Android Development] lilhaiti:
Thanks for the reply...kinda figured that, was hoping you knew where the magic bullet was...thanks though
[One (M9) Android Development] wangateur:
hey all trying to install the new firmware and im getting the following message when going into download mode:

file /mnt/media_rw/ext_sd/opjaimg.zip file not found

my phone is a m9 s-off by sunshine running newest version of viper rom 3.5

anyone have any ideas all i've done is install viper rom on this phone since new havent done any new firmware installs?

thanks for any advice you can give

cheers

j
[One (M9) Android Development] iElvis:
Is your sdcard SDHC, formatted fat32 and 32GB or less? That method will work not otherwise.
[One (M9) Android Development] Flippy498:
Not to forget that the zip must be renamed to 0PJAIMG.zip not OPJAIMG.zip.
[One (M9) Android Development] wangateur:
yessir:) it's a 32 gig sd and the same one i've had installed the whole time. really odd. download mode just disapeared. i was attempting to flash the firmware through fastboot but from what i read it wont work unless you can get into download mode. i see that you can flash from the sdcard by putting the opjaimg.zip on the root but that also needs download mode from what i understand. little stuck on this one.

i wonder if i can reinstall the download mode? totally lost thanks for the advice ielvis:)

---------- Post added at 10:51 AM ---------- Previous post was at 10:49 AM ----------

not sure if it's sdhc or not lemme take it out gotta find something small enough to pop the little door open
[One (M9) Android Development] iElvis:
Are you saying selecting download mode in bootloader doesn't work? Or you don't even have the option anymore?

The "fastboot oem rebootRUU" method still works as well.
[One (M9) Android Development] wangateur:
it's a 32 gig sdhc class 10.
[One (M9) Android Development] Flippy498:
Did you try the following command while your system is booted?

adb reboot download
[One (M9) Android Development] wangateur:
the option for download mode is there but when i choose it either from the power menu once the rom is booted or doing the hold vol up and pwr and then moving down to vol down to get there all do the same thing :(

fastboot ruu option? i didnt know that was another possibility and this will work without access to download mode? sweet how do i do that? and thank you all again for the assist. i came from an og htc 3vo so im still getting used to doing things on my new rocket :)

---------- Post added at 10:59 AM ---------- Previous post was at 10:58 AM ----------

I'll give this a shot thanks all:)
[One (M9) Android Development] iElvis:
Just enter this at the bootloader screen:

fastboot oem rebootRUU

From there, the process is the same as for flashing in download mode though you will see different things on the screen.
[One (M9) Android Development] Flippy498:
You actually didn't state the format of your sd card and whether you renamed the file correctly. My guess is that's where your problem lies.

Edit: I thought the option to boot into download mode was missing on your phone. The command I stated earlier actually does the same as the option in the fastboot mode or the APM of ViperOne.
[One (M9) Android Development] wangateur:
adb reboot download works to try and take me to download mode but once it reboots it just goes to the bootloader menu with the file /mnt/media_rw/ext_sd/opjaimg.zip file not found error

---------- Post added at 11:04 AM ---------- Previous post was at 11:03 AM ----------

my apologies 32 gig class 10 sdhc fat 32
[One (M9) Android Development] iElvis:
Also, as noted, that filename is incorrect.
[One (M9) Android Development] wangateur:
excellent thanks so much everyone gonna give the rebootruu a try and report back you guys are great thanks so much for the support
[One (M9) Android Development] Sneakyghost:
Nevermind. Stupid tapatalk.
[One (M9) Android Development] wangateur:
ko i was able to get into fastboot mode

ran the flash command and got the following output

C:\Android\platform-tools>fastboot flash zip M9_2.10.401.1_NoWipe_NoRed.zip

target reported max download size of 800000000 bytes

sending 'zip' (47940 KB)...

OKAY [ 3.476s]

writing 'zip'...

(bootloader) HOSD CL#506785

(bootloader) ERR Model ID not matched

(bootloader) ERR [SD_UPDATE_ERR] MODEL ID NOT ALLOWED

(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 10

(bootloader) ERR Update zip file failed.

(bootloader) Update zip file OK

(bootloader) ERR ZIP ERROR CODE, 10

(bootloader) end@Done

FAILED (remote: 10: fail to flash via downloadzip)

finished. total time: 5.630s

wondering if i've grabbed the wrong firmware file?

almost there thanks gang:)
[One (M9) Android Development] Flippy498:
Obviously your MID doesn't match. That firmware is for the international version of the M9 (MID: 0PJA10000). It won't flash on a Dev/unlocked/AT&T or Sprint/Verizon device until you change the MID. But be careful flashing GSM firmware on a CDMA phone (Sprint/Verizon) is not recommendet because it could brick your phone so I'm putting a hiding tag around the needed fastboot command in hope that this warning will be read before anyone starts using it.

fastboot oem writemid 0PJA10000
[One (M9) Android Development] wangateur:
looks like it didnt like my model number so i ran a fastboot getvar all and i got the following:

C:\Android\platform-tools>fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_himawhl

(bootloader) version: 1.0

(bootloader) imei: 990005026371378

(bootloader) version-main: 1.32.651.17

(bootloader) boot-mode: RUU

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA20000

(bootloader) cid: SPCS_001

went into the android-info.txt and updated the mid as the one in the firmware showed opja1000.

after doing that i know get this message when trying to run the firmware update:

C:\Android\platform-tools>fastboot flash zip M9_2.10.401.1_NoWipe_TWRP_2871b1_rename_to_ROM.zip

target reported max download size of 800000000 bytes

sending 'zip' (64024 KB)...

OKAY [ 4.803s]

writing 'zip'...

(bootloader) HOSD CL#506785

(bootloader) ERR CID not matched

(bootloader) ERR [SD_UPDATE_ERR] CID NOT ALLOWED

(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 7

(bootloader) ERR Update zip file failed.

(bootloader) ERR ZIP ERROR, exit read zip loop

(bootloader) Update zip file OK

(bootloader) ERR ZIP ERROR CODE, 7

(bootloader) end@Done

FAILED (remote: 7: fail to flash via downloadzip)

finished. total time: 6.980s

acorrding to the directions i need to enter the correct cid however when looking in the file android-info.txt file i see the following for cid:

cidnum: HTC__001

cidnum: HTC__J15

cidnum: HTC__102

cidnum: HTC__Y13

cidnum: HTC__A07

cidnum: HTC__M27

cidnum: HTC__002

cidnum: HTC__032

cidnum: HTC__016

cidnum: HTC__031

i wasnt sure if i was supposed to just change one of these to what my phone shows for cid which is (cid: SPCS_001)

didnt wanna change anything i was unsure about am i on the right track?
[One (M9) Android Development] iElvis:
Are you on on Verizon or Sprint? Or using an M9+?
[One (M9) Android Development] wangateur:
oh crap thanks for that so im guessing i should flash the 2.8 developers version instead?

---------- Post added at 12:08 PM ---------- Previous post was at 12:07 PM ----------

sprint regular m9
[One (M9) Android Development] iElvis:
This is the wrong firmware, sorry. You need Sprint firmware.

http://xdaforums.com/sprint-one-m9/development/ruu-sprint-htc-one-m9-1-32-651-17-t3073355
[One (M9) Android Development] jollywhitefoot:
No. Developer version is GSM too...same as the WWE version. You need to sprint firmware.
[One (M9) Android Development] wangateur:
ah it all makes sense now. from what i'm seeing sprint hasnt released a new firmware yet? thank you all for the crash course in flashing firmwares:) much appreciated

edit just saw the link to the new firmware that was left by ielvis installing now thanks again everyone you took it easy on this noob and i will not forget that:)
[One (M9) Android Development] jollywhitefoot:
I could be wrong, but I thought Sprint was the first US carrier to update to the 2.x firmware. I just don't know where you could go about obtaining it unless you return to stock and get the OTA that was released.

But regardless, this conversation has probably become OT for this thread. Maybe check in the sprint forum.

http://xdaforums.com/sprint-one-m9/development
[One (M9) Android Development] wangateur:
ielvis actually posted a link to the newest sprint firmware and it flashed perfectly. thanks for the crash course in fastboot and firmware flashing.

take care and thanks again:)
[One (M9) Android Development] iElvis:
For future reference, you should be careful venturing outside the Sprint forums. Most things at xda assume you're using a gsm phone, since this is an international site and cdma is mostly US only. Generic forums like this one (that don't list the carrier in the title) are almost always for gsm models (unless none exist). Flashing gsm stuff on cdma phones can result in bricks because the partition layouts often differ and safeguards like you ran into (the MID failure) don't always work. You got lucky this time, but that may not be the case next time.
[One (M9) Android Development] Sneakyghost:
So, two pages of crap because someone forgot to state he's on a CDMA device which are clearly excluded in page 1?

God I love it. Makes me so sad. People read what you do before you do. Really.

So you actually broke your download mode? Can't boot into Download mode anymore? I suggest you head over to Sprint forum and flash the latest available RUU from there to put your device back to a good starting point and may I suggest you never return here unless you decide to buy a GSM phone?

Thanks for the OT guys. And thanks everyone for looking out while I am away.
[One (M9) Android Development] tiho5:
64 gb sdcard will also work. I use one and don't have a problem. Provided the rest of the conditions are met, it will be OK
[One (M9) Android Development] Sneakyghost:
Well then kindly share how you make that card work on Android because whenever I tried to format an SDXC with FAT32 non-standard, my Android refused to recognize it, and so does Windows...

I'm aware that works for flashing RUU zips but imho that ain't working for Android.
[One (M9) Android Development] tiho5:
Used EaseUS Partition Master ver 10.5.

Formatted the sdcard to Fat32 and it worked.

Edit :

Works both with Android and Windows
[One (M9) Android Development] Sneakyghost:
Used EASUS 10.5 and didn't work. You recall exact settings you chose?

[EDIT]

Works in both download mode and Android for you?
[One (M9) Android Development] tiho5:
OK:

Right click on the drive in the list, which is your 64 gb sdcard and click “format partition"

Then select Fat32 for the File System, and 32kb for Cluster Size.

EaseUS doesn’t apply the changes right there. So you have to press the Apply button. But I'm sure you know that. Just posting it for anybody else, who might read this some time they might need it.

---------- Post added at 00:32 ---------- Previous post was at 00:29 ----------

Yep. Everywhere
[One (M9) Android Development] jbfountain:
I shared the way I got it to work. Did you ever try it exactly the way I did it? Windows will not work for formating the card unless you use a program like the one I mentioned. Also I used a micro SD card to USB adapter to get the Hp USB formatting tool to work. It does work. I used that method to flash your firmware successfully using a 128gb sdxc micro SD card. And 128gb cards do not come sdhc. This is the last time I am going to discuss this as I don't want to start an argument on this topic.

Cheers! :)

I Truly Enjoy XDA-Developers with this Fabulous HTC One M9
[One (M9) Android Development] Sneakyghost:
I'll have to retry that.

last time was with my really nasty Toshiba card. Got a new SanDisk now. I'll do both again.

Next week though.

Anyhow. Non-standard formatting won't be anything less advanced users will want to mess with I believe. Too many variables in that.
[One (M9) Android Development] iElvis:
FFS, I just noticed he edited the android-info.txt to include his MID. He was one CID away from a brick. :rolleyes:
[One (M9) Android Development] wangateur:
indeed lol thanks for the help and education:)
[One (M9) Android Development] iElvis:
Next time be more careful about reading OPs. :D The ones in this thread are excellent and they do state clearly that this firmware is not for cdma phones. Good luck. :cool:
[One (M9) Android Development] wangateur:
will do:) thanks all
[One (M9) Android Development] Chezbel:
Don't feel too bad, the good side is that the people in this thread showed real noob-friendliness, which many threads don't have.
[One (M9) Android Development] eminembdg:
Thanks for making these firmware available. My phone had the slow charge and the issue where overnight the charge wouldn't keep at 100. After this firmware flash, my phone is usable again.

Thanks so much
[One (M9) Android Development] simonbigwave:
delete: (solved my previous question by remove usb cable and reconnect and then reflash again with another htcfastboot... since my previous htc_fastboot crashed. Installed NoWipe 2.10.401 firmware all fine now. )
[One (M9) Android Development] ThePhoneGeek:
DELETE
[One (M9) Android Development] Sneakyghost:
TMUS 2.7.531.6 NoWipe and FullStock added

Added 2.7.531.6 NoWipe and FullStock fastboot zip for T-Mobile US / a.k.a TMUS

Please be aware that this will trigger a cache-erase when flashed with ARUWizard, but will be a true no-wipe when flashed in Download-Mode with htc_fastboot.exe (seems like only ARUWizard is parsing the android-info.txt, which holds the line "eraseonflash: cache").

Download in post #1​
[One (M9) Android Development] Sneakyghost:
I can be fast when I'm on holidays, yeah.

You wanted to ask for TmoUS? Find them above, test, report, I'll thank you. ;)
[One (M9) Android Development] jollywhitefoot:
I extracted the AT&T firmware packages from the OTA and full RUU. Do you want me to send them to you to include in your collection?

Edit: BTW-I've tested the extraction from the OTA (no wipe) but not from the RUU.
[One (M9) Android Development] ThePhoneGeek:
Seems good so far. I took the aboot and removed the red text issue for my own liking because I don't like the red text. All's well so I am off to load Viper...

Thx

PG
[One (M9) Android Development] Sneakyghost:
Ran both zips tho? I'm gonna assume both are fine. Not much reason for them not to work.
[One (M9) Android Development] Sneakyghost:
From the full RUU? Worked out RUUveal or are the AT&T RUU's still unencrypted? The other RUU's are now all encrypted again...

Yea send them over I'll package them up no problem. Cheers mate.
[One (M9) Android Development] ThePhoneGeek:
Sorry no I only ran the no wipe zip.
[One (M9) Android Development] 123421342:
Anyone know what the changes are for 2.7 to 2.10? Not sure if I should stick with tmo 2.7 or the latest 2.10
[One (M9) Android Development] Sneakyghost:
[MENTION=4174733]Behold_this[/MENTION] and [MENTION=3344848]JohnCorleone[/MENTION] have determined that the OTA from TMUS fixes some connectivity crap but breaks something too: with the OTA (full OTA on stock, that is), if you have Wi-Fi calling enabled and then switch back to Mobile Data, that won't activate by itself.

Other than that, TMUS users should use this firmware in order to have full WiFi calling and LTE support.
[One (M9) Android Development] Behold_this:
Actually the issue is slightly more complicated than that. As T-Mobile users know there are several "preferences" options within the wifi calling settings. If you have your preferences set to always use wifi and NEVER cellular, upon losing wifi connection your mobile data network will NOT automatically re-enable. This is not the proper way for wifi calling to operate and is a new bug introduced in the new stock base from t-mobile. To avoid loss of data connection while using wifi calling make sure that you choose wifi "preferred" NOT wifi only. This will allow data connection to restore properly. If you want to set to wifi only you will have to toggle airplane mode, or data mode, or reboot to get data back up upon turning off wifi.

Now I'll try to clarify the issue a bit. This is a firmware issue, but may only be partly due to firmware, in my opinion. I'll explain:

So, the issue lies in switching data connection between mobile and Wi-Fi networks while Wi-Fi calling is enabled AND only when Wi-Fi calling preferences are set to use Wi-Fi connection only. With that configuration, the connection is not being handed over to mobile network properly, so though technically this is an issue with the radio firmware, its an issue I think could be corrected with a software fix, but no matter. I merely mention that because the overall performance of the new radio is improved, at least on my end, in both speeds and signal strength. This small bug can be worked around and if you work around it, Wi-Fi calling works well as well.

As I mentioned, for me, data connection and speeds are improved over all. So in this case I'll take one with the other, and wait for a MR update. Hopefully T-Mobile will address the issue shortly.
[One (M9) Android Development] jollywhitefoot:
Sorry for the delay. I got really busy with work.

HaHa. Um, My bad. I had mislabeled my files. I thought it was a little too easy to extract from the RUU. I had been working with the 1.32 Dev Edition.

So...as you suspected, I do not have the full stock package from the RUU. But I do have the package from the OTA; however, it's only got 17 files in the package. I assume that's because the other files didn't change from 1.32 to 2.6. I'm inclined to copy the missing 1.32 files to the 2.6 zip so it is a more complete package. Is my assumption correct? What do you normally do? Do you still want me to send you the files?
[One (M9) Android Development] Sneakyghost:
You need to look at the file name of the OTA, it'll tell you for which version it was meant. Grab my full stock zip of that version, then copy and replace the images from the OTA firmware to that folder. That'll effectively create a full stock version of the new OTA.

It's crucial you have a fully stock base zip/folder of the exact version that's named in the OTA file name in order to create a proper full stock zip.

I'm out of XDA for a bit, cooking dinner. If you want you can send me the OTA firmware and I'll see to it in a bit, making sure everything is neat and tidy.