yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] keithspg:
Same here. My flash was:

grider:~/Downloads/HTC$ sudo ./fastboot flash zip M9_4.14.401.7_NoWipe_TWRP3030.zip
< waiting for device >
sending 'zip' (67316 KB)... OKAY
writing 'zip'... INFOHOSD CL#836547
INFOGPT (gpt_main_32g.img) is up-to-dated. [17408]
INFOWARN Skip bootlocker.img due to unmatched partition name
INFOWARN Skip cir.img due to unmatched partition name
INFOWARN Skip cmnlib32.img due to unmatched partition name
INFOWARN Skip cmnlib64.img due to unmatched partition name
INFOWARN Skip keymaster.img due to unmatched partition name
INFOget 20 images from zip(zip_type=3)
INFOstart@20
INFOaboot_signed.img@100%
INFOadsp.img@100%
INFOcota.img@100%
INFOcpe.img@100%
INFOhosd_signed.img@100%
INFOhyp-8994-1.img@100%
INFOmodem_st1.img@100%
INFOmodem_st2.img@100%
INFOpg2fs_ship_signkey.img@100%
INFOpmic-8994-1.img@100%
INFOrcdata.img@100%
INFOrecovery.img@100%
INFOrpm-8994-1.img@100%
INFOsbl1-8994-1.img@100%
INFOsdi.img@100%
INFOtz-8994-1.img@100%
INFOradio.img@100%
INFOsensor_hub.img@BYPASS
INFOtp_MXM11876.img@BYPASS
INFOtp_SYN3351.img@BYPASS
INFOUpdate zip file OK
INFOend@Done
OKAY

When I rebooted (with the viper one 4.3.0 rom still installed) I get no IMEI and no service. I have an ATT sim. I did not want to flash a different rom, yet until I can verify that I can update this and get the phone to work correctly. Is this the correct instinct?

After I tried this firmware and could not connect, I flashed 3.35.401.32 (to get the latest MM firmware). When I flashed this firmware and rebooted, it appears that I am running the *.12 firmware ( I can get the ATT network again, so 'whew!'). It is advertised as 3.35.401.12 CL671758 when I go to the About > SW Info > More on the phone. I checked the md5 sum and it matches. What did I do wrong? Am I running *.12 or *.32? (I'm running linux so the command prompt looks a bit odd). Also I cannot seem to change the MID anymore is there a problem with my phone?

grider:~/Downloads/HTC$ sudo ./fastboot getvar mid
mid: 0PJA10000
grider:~/Downloads/HTC$ sudo ./fastboot oem writemid 0PJA11000
... OKAY
grider:~/Downloads/HTC$ sudo ./fastboot getvar mid
mid: 0PJA10000

This is the flash of the *.32 firmware:

grider:~/Downloads/HTC$ sudo ./fastboot flash zip M9_3.35.401.32_NoWipe_TWRP3030.zip
< waiting for device >
sending 'zip' (65636 KB)... OKAY
writing 'zip'... INFOHOSD CL#671758
INFOGPT is up-to-dated. [17408]
INFOstart@20
INFOaboot_signed.img@100%
INFOadsp.img@100%
INFOcota.img@100%
INFOcpe.img@100%
INFOhosd_signed.img@100%
INFOhyp-8994-1.img@100%
INFOmodem_st1.img@100%
INFOmodem_st2.img@100%
INFOpg2fs_ship_signkey.img@100%
INFOpmic-8994-1.img@100%
INFOrcdata.img@100%
INFOrecovery.img@100%
INFOrpm-8994-1.img@100%
INFOsbl1-8994-1.img@100%
INFOsdi.img@100%
INFOtz-8994-1.img@100%
INFOradio.img@100%
INFOsensor_hub.img@BYPASS
INFOtp_MXM11876.img@BYPASS
INFOtp_SYN3351.img@BYPASS
INFOUpdate zip file OK
INFOend@Done
OKAY
[One (M9) Android Development] Sneakyghost:
Dunno why you're not having your radio work. I'd think you probably need a nougat ROM for the nougat firmware though.

And yeah, old story. Settings/about/software will not be telling you your firmware version. That's the ROM base.

There's a reason to it and a way to get your proper firmware version. It's explained somewhere in the first five posts of this thread
[One (M9) Android Development] keithspg:
Sneaky,

Thanks for the reply. When I had the nougat firmware installed, there was no IMEI number on the settings page. Is that because I am still running a MM rom? I'll try again with a nougat rom.

Thanks!
[One (M9) Android Development] sblonci65:
Can i upgrade my German Telekom cid ??
[One (M9) Android Development] Mysterion1:
Yes, the best is to change your CID to super CID (s-off needed):

- connect your M9 to your PC in download mode

- open cmd in sdk/adb folder

- enter: "fastboot oem writecid 11111111" (8x1)

- select "reboot to dowload mode" to check if it worked

-> now you can flash 7.0 nougat WWE firmware

---

Grüße aus dem Saarland :)
[One (M9) Android Development] sblonci65:
Daaaaankeeee!!!!!!;)
[One (M9) Android Development] arcbitrary:
If I'm running 4.19.617.1, is there any reason for me to flash 4.14.401.7?
[One (M9) Android Development] xunholyx:
No
[One (M9) Android Development] Minnesinger:
@Sneakyghost - FYI, the Developer Edition has had yet another update - 4.23.617.1

4.23.617.1 0PJAIMG

4.23.617.1 RUU
[One (M9) Android Development] gramateas:
No signal with latest firmware

Στάλθηκε από το HTC One M9 μου χρησιμοποιώντας Tapatalk
[One (M9) Android Development] Sneakyghost:
Flash log and fastboot getvar all output before/after?
[One (M9) Android Development] gramateas:
Can you explain that I didn't understand

Στάλθηκε από το HTC One M9 μου χρησιμοποιώντας Tapatalk

---------- Post added at 03:09 PM ---------- Previous post was at 02:59 PM ----------

I am supercid

Στάλθηκε από το HTC One M9 μου χρησιμοποιώντας Tapatalk
[One (M9) Android Development] Sneakyghost:
Please provide a log from your flash, and run the command "fastboot getvar all" in download mode, so I can see what device you have and what your current firmware version is.
[One (M9) Android Development] gramateas:
OK

Στάλθηκε από το HTC One M9 μου χρησιμοποιώντας Tapatalk
[One (M9) Android Development] Sneakyghost:
Recent additions: 4.23.617.1 & 4.14.401.7

Recent Additions

WARNINGS:

Not tested!

NOTES:

The Nougat (Android 7) releases for the HTC One M9 all contain several images that seem to serve no purpose and do not get flashed. Instead, these files throw an error ("WARN") or warning. The flashes end with status "OK" and the phone will work fine. These errors even turn up with the official RUU's. The only reasonable explanation is, that HTC is using a generic build tree for their Qualcomm devices which just contains all partitions, even those, which don' get used. So, please just ignore those warnings.

I have heard of some people not having IMEI show or radio work after Nougat update. I am rather sure this is just an incompatibility. Please make sure to run a matching Nougat ROM before reporting this.. Theoretically, if ROM and Firmware match, everything should work as expected.

CREDITS:

HTC Fota DL servers for US Unlocked ;)

@mikalovtch from the M9 Viper ROM for sharing the links to the WWE release.

Other stuff

...yawn...
[One (M9) Android Development] Black-FR:
You use a Android N based ROM?

If no, then it's no surprise, that you lost mobile data.

If you use the Android N firmware, you should also use a Android N based ROM.
[One (M9) Android Development] gramateas:
No I am not using a N based tom

Στάλθηκε από το HTC One M9 μου χρησιμοποιώντας Tapatalk
[One (M9) Android Development] 4bettilt2:
Sneaky

Used your batch tool to flash 4.23.617.1 went without a hitch other than the expected having to give the fastboot flash command a second time, using the firmware with Ice Rom and so far working great THANKS!
[One (M9) Android Development] mirketos:
OTA_HIMA_UL_N70_SENSE80_ATT_MR_NA_Gen_Unlock_4.14.617.6_R-3.35.617.31_release_490897lkj8xif5v3eoiykd.zip

Can I this install on my europen m9 I have s-off *LOCKED*
[One (M9) Android Development] mirketos:
Can I that flash with stock recovery?
[One (M9) Android Development] grv00711:
trying to update M9_4.23.617.1_NoWipe_TWRP3030.zip currently have 3.35.111.14 tmobile firmware .i changed the mid in the zip to opj to 12000 to match the getvar on the m9 ..when flashing i am getting > 22 ru_header _error.. sorted it out .all good
[One (M9) Android Development] guiltyundertaker:
Hi

I'm trying to flash the M9_4.23.617.1_NoWipe_TWRP3030 file, but getting error "10 RU_MODELID_FAIL modelid in android-info mismatched"

I'm on CID-HTC___001

OS-3.35.401.10

currently

I'm not sure what's wrong. Could someone please explain?
[One (M9) Android Development] Black-FR:
On page one, it's explained within the first 5 postings.

You did read them already?
[One (M9) Android Development] guiltyundertaker:
So sorry! I did read through, but must've skimmed past that part. Will follow the instructions when I get back home. Cheers.
[One (M9) Android Development] pinktheater:
Guys, i'm going to be Captain Obvious for a minute :D

Checking my phone this morning in Download mode, this is my information:

***UNLOCKED***

htc_himauhl PVT- S-OFF

CID-11111111

LK-1.0.0.0000

I don't remember S-OFFing my phone previously but it seems that I am S-OFF after all, right? Mine is the International Version, am I safe in assuming I could install any of the ZIP provided here (like M9_4.23.617.1_Unlocked_TWRP3030_NoWipe).

I'm currently running MM firmware.

Edit: Nevermind, in reading the spread sheet, i noticed the file 4.14.401.7 for the International version with N firmware. :)
[One (M9) Android Development] serdarhan_45:
please my phone stock rom.

(bootloader) kernel: lk

(bootloader) product: htc_himawhl

(bootloader) version: 1.0

(bootloader) imei: ************

(bootloader) version-main: 3.41.651.41

(bootloader) boot-mode: download

(bootloader) version-baseband: 3.00.C1144084@60114

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA20000

(bootloader) cid: 11111111

---------- Post added at 08:25 PM ---------- Previous post was at 08:19 PM ----------

***UNLOCKED***

htc_himauhl PVT- S-OFF

CID-11111111

(bootloader) kernel: lk

(bootloader) product: htc_himawhl

(bootloader) version: 1.0

(bootloader) imei: **************

(bootloader) version-main: 3.41.651.41

(bootloader) boot-mode: download

(bootloader) version-baseband: 3.00.C1144084@60114

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA20000

(bootloader) cid: 11111111

---------- Post added at 08:36 PM ---------- Previous post was at 08:25 PM ----------

***UNLOCKED***

htc_himauhl PVT- S-OFF

CID-11111111

(bootloader) kernel: lk

(bootloader) product: htc_himawhl

(bootloader) version: 1.0

(bootloader) imei: **************

(bootloader) version-main: 3.41.651.41

(bootloader) boot-mode: download

(bootloader) version-baseband: 3.00.C1144084@60114

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA20000

(bootloader) cid: 11111111
[One (M9) Android Development] Sneakyghost:
651 is Sprint. Should say "no CDMA support" or something like that on page one. ;)
[One (M9) Android Development] xunholyx:
Sneakyghost doesn't do CDMA (in your case Sprint) firmware packages. And it wouldn't matter anyway, because Sprint hasn't put out an update yet to Nougat. You have the latest firmware from them already.

The thing with CDMA devices (Sprint and Verizon) is that you can only use firmware from that carrier. If you had a GSM device (T-MoUS or AT&T) you could flash any GSM firmware when you are S-Off, such as WWE/International or DevEd/Us Unlocked.

Sorry, but there's nothing you can do at this point except wait for Sprint to release Nougat.
[One (M9) Android Development] serdarhan_45:
THANKYOU.PLEASE HELP ME WHİCH program flashin for gsm band for turkey.
[One (M9) Android Development] Sneakyghost:
Wrong thread.
[One (M9) Android Development] zalazdev:
Error: '' Failed to mound '/ preload' (Invalid argument) ''

Sorry, I have an error opening the recovery:

'' Failed to mound '/ preload' (Invalid argument) ''

I want to know if I am because something is missing after installing the Firmware.

I must say that I told myself very well that all the files were flashed correctly.

Can you help me, please?
[One (M9) Android Development] Sneakyghost:
That's a generic TWRP issue and can be ignored.

Nothing wrong.
[One (M9) Android Development] zalazdev:
Cool

Ohhh man, thanks. U are awesome.
[One (M9) Android Development] sgtslaughter64:
Can I use this method for the HTC 10
[One (M9) Android Development] zalazdev:
I already loaded my ROM and others, but I do not identify the SIM CARD.

What I can do?
[One (M9) Android Development] xunholyx:
Pull out your SIM and turn on airplane mode.

Power off your phone.

Put your SIM back in, power on your phone, and turn off airplane mode.
[One (M9) Android Development] zalazdev:
Okay, I did as it was, but it did not work.

Thank you anyway...
[One (M9) Android Development] Sneakyghost:
I have the same thread with identical instructions (adjusted for the HTC10) in the HTC10 forum.

Just go look for my name there (or click my name here, go to all threads started by member, find the HTC10 thread.
[One (M9) Android Development] Sneakyghost:
First time I'm hearing this.

Not sure it's related to firmware. To find out if something went wrong when flashing firmware, we'll need a log from the flash (The entire log from start to finish while using fastboot to flash the firmware).

We'll also need your exact device type, you can run fastboot getvar all to find out, and what firmware you were on before and what firmware you flashed.

[Edit]

Please do read the first five posts to learn your options and methods.

I'm currently at work and can't support this right now.
[One (M9) Android Development] zalazdev:
These are the getvar data:

Other information I can manage are:

It's Verizon, and it has S-OFF thanks to Sunshine.

As you can see, the CID modified it because, when it flashed the firmware, it gave me the error ''90 pre-update FAIL' ', but I did as they were in the instructions, and everything went well.

Now, I have another question regarding firmware updates:

I noticed that there is an updated version of the M9 firmware.

Currently, as my signature indicates, I have the M9_4.14.401.7_NoWipe_TWRP3030.zip, but I noticed that there is the M9_4.23.617.1_NoWipe_TWRP3030.zip.

Do you recommend updating me? : 3 Thanks in advance.
[One (M9) Android Development] Black-FR:
Why did you flash a GSM firmware, on a Verizon device?

You are lucky, that it's not bricked.

Verizon are CDMA devices.

You need to flash a Verizon RUU, to get back a working device.

All firmware files, provided by [MENTION=1102297]Sneakyghost[/MENTION] are for GSM devices.

You can't use any of them and that's also clearly stated on page one of the thread.
[One (M9) Android Development] zalazdev:
Yes, now I read carefully, and surprise, you're right.

Yes, now I read carefully, and surprise, you're right.

I forgot it at the beginning because Verizon, despite being CDMA, has GSM support, since the SIM CARD I currently use is GSM (Orange), and that this smartphone allows me to use it, I thought I would have no problems ...

So, what do I do to put a VERIZON firmware? There is nothing?
[One (M9) Android Development] Sneakyghost:
Gsm support does not equal GSM firmware.

The radio partition is set up completely different. It will need the Verizon radio in any case. That Verizon radio includes GSM frequencies.

Flashing the GSM radio on the other hand will lead to the kind of problems you're experiencing.

To make matters worse, on the M9 the partition layout also differs between GSM and CDMA types. You're very lucky that those differences do not cause an instant brick when cross flashing.

There have been HTC devices in the past where that was the case.

Consider this a lesson to next time do good research before flashing anything.

Remember: being S-OFF means NO protection for such mistakes! S-OFF means you can flash anything and the phone won't warn you. The only protection you have is your good research and understanding of the matter.
[One (M9) Android Development] zalazdev:
Oh God ... I thought I read more, but I see that it was not so.

I have been reading this thread for a long time, and I am downloading the file name:

''0PJAIMG_HIMA_WL_M60_SENSE70_VZW_MR_VERIZON_WWE_3.37.605.19_HSM_Radio_2.15.C1144077@60105_CNV_1.26_002_release_492355_signed_1 ''

From what I read, this will put me back on the map. If something of the above interferes with what you already know, I ask you to let me know.

Thanks for all your help so far, I could have avoided all this by researching even more ...
[One (M9) Android Development] Sneakyghost:
That one should suffice, but take that with a grain of salt. You had better discuss these matters over at the Verizon forums.

I have absolutely zero time, currently preparing material for a long medical conference on a patient I'm working with.

You can certainly imagine that I'm unable to do support or even research for your case right now.

Thanks for understanding.
[One (M9) Android Development] zalazdev:
Yes, no problem, you helped me a lot! I hope you do well at work, Have a good day!
[One (M9) Android Development] cimbom:
(bootloader) ERR do_firmware_update_thread: child exited with non-zero s

(bootloader) tatus: 255

(bootloader) ERR Flashing [sensor_hub.img] failed with status [255]

(bootloader) ERR Faild to update firmware [sensor_hub.img]

(bootloader) sensor_hub.img@FAIL

(bootloader) tp_MXM11876.img@BYPASS

(bootloader) tp_SYN3351.img@BYPASS

(bootloader) Update zip file OK

(bootloader) ERR WRITE ERROR, 33

(bootloader) end@Done

FAIL33 RU_UPDATE_FIRMWARE_FAIL

FAILED (remote: 33 RU_UPDATE_FIRMWARE_FAIL )

Execution time is 61(s)

Why am i getting such an error a,My camera is broken,,Could it be because of this	(4.23.617.1 firmware)

I m super cid and s_off and unlocked
[One (M9) Android Development] Sneakyghost:
Can you please read back? I've recently had an error 33 with broken sensor hub here on this thread.

Please check if your situation is identical.

Please let me know if you worked with the same firmware file or a different one.

Please check if it's the same phone model.

Please check if you were having the same previous firmware version installed.

When you've researched that, come back and report please.

I am asking this, because I think there might be something seriously wrong, since this is the second occurrence in a small time frame.

We need to somehow figure out if the M9 has weak hardware and begins to break now, or if something is wrong with HTC's firmware, or if (God beware) I messed something up.

So, please help us find out.
[One (M9) Android Development] mcnaget:
Flashing without adb.

Hello is it possible to flash firmware without adb , i have the nougat 7.0 , 401.7 i use old firmware 3.35.401.12 i cant connect my one m9 to use adb not on xp windows or win 7 .Thx.

regards
[One (M9) Android Development] Sneakyghost:
Sure. Sdcard method. Documented in more detail in my HTC10 firmware thread but it's also well documented in the M9 forum.

Basically you just rename the firmware.zip to the phone's respective name - (I don't have the M9 technical name at hand right now, sorry), must be something like 0PJAIMG.zip. Maybe someone else can confirm/correct me here - and then reboot the phone to download mode.

In download mode, the phone scans the sdcard for such a file every time you boot into it.

Once it finds that file present, it'll ask you to confirm or abort flashing by using your volume and power buttons.

Pretty simple.
[One (M9) Android Development] Flippy498:
That's the correct name. ;)
[One (M9) Android Development] mcnaget:
opjaimg.

Thanks but i got this in the end of the download mode:

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

i have opjaimg in both card sd and ext xd card.

Regards
[One (M9) Android Development] Sneakyghost:
The "O" is a zero (0). A number, not a letter.

0PJAIMG.zip. Also try to make it all capital letters (not sure that is relevant, but better try).
[One (M9) Android Development] Boskoel03:
While u are here,soooo noob do not laugh at me,but,here is the case,i am s-on,on mm fm int,i NEVER flashed firmare only,always did it with update,now no comp availabile,and can i flash N fm for my cid,with metod u mentioned guy above? Have in mind that all N roms are working for me now,but think will work better with new N fm. Thanks

Have no ota and original backup lost... :(
[One (M9) Android Development] Sneakyghost:
I'm always here and I've said before, this isn't a support thread. I want this to stay short and concise and every question for help goes against that. Please use the Q&A forums in future.

I discuss new error reports only. Things not covered in my initial posts, such as that error 33 turning up as of late, for instance.

Please understand this.

Regarding your question, with S-ON, which I don't cover at all here by the way, your only option is official RUU and/or OTA file matching your current stock, untouched ROM. No way flashing firmware-only if you've messed with your system already.
[One (M9) Android Development] Boskoel03:
Clear,understood and thanks...
[One (M9) Android Development] mcnaget:
opjaimg.

Thx again i finaly see what was wrong , renaming file to opjaimg.zip somehow there were two zip at the end of file name like opjaimg.zip.zip after delelting the last one flashing was simple. Thanks again Sneaky....

regards
[One (M9) Android Development] blocka:
Hi how's it going?

I'm looking to downgrade from 4.14.401.7 to 3.35.401.12 because I'm having no end of google sync problems. I need to get the process clear in my head BEFORE I attempt this. (I don't want to brick!)

I'l like to clarify a couple of points if I could.

After reading a through page 1 post 1 a couple of times, it sounds like I need Full Stock WIPE ZIP. In the second paragraph you say "Be sure to put a ROM onto your EXTERNAL SD before proceeding with a Full WIPE ZIP" I'd like to clarify that I need the official 3.35.401.12 RUU (0PJAIMG.zip) here, and flash with M9_3.35.401.12_FullStock_wipe.zip?

I'm being overly cautious.

Thanks for your help.
[One (M9) Android Development] xunholyx:
You could just use the no-wipe to downgrade your firmware.
[One (M9) Android Development] blocka:
Cheers, how about the process, I'm I understanding it correctly? i.e. I need the official 3.35.401.12 RUU (0PJAIMG.zip) on my SDCard?

I assumed I'd need to do a Full Wipe?
[One (M9) Android Development] xunholyx:
Apparently you missed that part in the first post where it says [MENTION=1102297]Sneakyghost[/MENTION] doesn't want this to be a help thread. :D

I'll send you a PM
[One (M9) Android Development] Sneakyghost:
Recent additions 3.35.617.31 + 4.27.617.2 + 4.27.531.6

Recent Additions

WARNINGS:

Not tested!

NOTES:

The Nougat (Android 7) releases for the HTC One M9 all contain several images that seem to serve no purpose and do not get flashed. Instead, these files throw an error ("WARN") or warning. The flashes end with status "OK" and the phone will work fine. These errors even turn up with the official RUU's. The only reasonable explanation is, that HTC is using a generic build tree for their Qualcomm devices which just contains all partitions, even those, which don' get used. So, please just ignore those warnings.

I have heard of some people not having IMEI show or radio work after Nougat update. I am rather sure this is just an incompatibility. Please make sure to run a matching Nougat ROM before reporting this.. Theoretically, if ROM and Firmware match, everything should work as expected.

CREDITS:

HTC Fota DL servers for US Unlocked ;)

Other stuff

...yawn...
[One (M9) Android Development] Sneakyghost:
3.35.617.31 is an older marshmallow version. I only had time yesterday to upload the past few releases.

It's more like for archiving purposes now. You'll probably rather want the 4.xx Nougat version by now.
[One (M9) Android Development] m_abbas25:
i tried to flash nougat for Tmobile US (531.6) but it didn't work. got 90 error tried to run it one more time and the it was successful so i rebooted but mobile was stuck in HTC logo for about 5 min so i restarted using power and volume up but no luck tried to run Official RUU it didn't work hardly manage to recover by flashing previous zip file in spreadsheet and then RUU of Marshmallow. can you tell me what i did wrong. Mobile is s-offed and supercid.
[One (M9) Android Development] Sneakyghost:
Weil I guess you didn't quite follow instructions then.

Pretty much known that Android N firmware won't boot an old ROM. After flashing that firmware, you'll need to flash some Android N ROM.

Gesendet von meinem HTC 10 mit Tapatalk
[One (M9) Android Development] Black-FR:
You where still on a marshmallow based ROM?

If you flash nougat firmware, you have to use a nougat based ROM.

And 90 hboot pre-update, is a expected output, during flashing, as you could read in details, on the first page.

And that the M RUU didn't work, is also expected, as HTC changed the decrypt keys again, so that the newer hboot / aboot can't decrypt the older RUU and vice versa.