yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] danlat1415:
Just checked again, and you're right.

It does boot back into full system rather than Download Mode - but easy way to help this is simply hold the volumn down button. It will then catch it in time and go straight back into Download Mode to carry on - rather than mess around with going back to bootloader manually, then rebooting into RUU again, then manually forcing it to flash all over again.

So to clarify, no need for 'fastboot oem rebootRUU' mode on the HTC M9.

HTC Download Mode does the same job but better.

if you are flashing something and it reboots the phone itself, just hold the volumn down button as soon as you notice it reboot or vibrate (indicating it's restarted).

It then goes straight back into download mode after the restart and carries on automatically where it left off.
[One (M9) Android Development] caanda45:
Thanks, lead me to water...so I basically I see that all North American models have almost the same firmware, same radio etc just the carrier bloat is different. So I should just keep mine as a AT&T variant and I won`t be much different to any of the NA carriers? Is that assumption correct?
[One (M9) Android Development] user602:
My carrier is AT&T but I use .401 firmware to match the ViperOne ROM base. Matching to your ROM is usually best.
[One (M9) Android Development] ghosttown242:
You need drivers for it to detect
[One (M9) Android Development] stargaterules:
maybe someone other than op can answer this. i don't want his help. why do i get adb not recognized even though i installed the batch tool?

---------- Post added at 12:06 PM ---------- Previous post was at 12:05 PM ----------

i do have drivers, or at least i was led to believe that batch tool would install them for me. guess not. what should i do if they're not detected?
[One (M9) Android Development] ghosttown242:
Easiest way to flash a zip is to put it on the root of ext sd card and rename it to 0PJAIMG.zip then go into download mode and follow the instructions. Make sure you have a fat32 ext sd
[One (M9) Android Development] stargaterules:
ok thanks. i'll try that

---------- Post added at 12:37 PM ---------- Previous post was at 12:19 PM ----------

thanks a lot. it worked like a charm. don't know why anyone would go through adb method which always gave me problems. sd card method took 5 seconds.
[One (M9) Android Development] ghosttown242:
Lol I don't use PC to flash it's dangerous. Might have power outage on a flash? then your bricked?
[One (M9) Android Development] stargaterules:
actually that happened to a friend of mine. had a faulty cable and it disconnected mid flash. phone was fckd.
[One (M9) Android Development] ghosttown242:
It's best to use zips for ruu or firmware
[One (M9) Android Development] Sneakyghost:
You see, this isn't a support or chit-chat thread. I have said this 3 years long on each One variant's thread and everytime someone new comes in, I have to repeat myself: these firmware threads serve to deliver instructions and files. Support not happening in this section.

What you wanted to know is this:

In fastboot mode, you use fastboot, in Android and Recovery, you use adb. Simple as that.

Commands you'll need are either in post 1 or integrated in the Batch Tool.

Further Instructions are also in the first post.

There's literally everything you need in the first 5 posts actually. A lot to read. But it saves us exactly the annoying clutter you are creating here now.

Guess I will really, seriously have to make a rules post. Number #6 it shall be.

Remember, whenever you feel the urge to ask stuff like "why do I not see my device when I run adb in bootloader" make sure you hold back, return to Google or Bing or whatever you like, and do a search on "ADB basics" or "ADB how-to" or anything that gets you a fair understanding of how these things work, because this is NOT a thread for these basics.

In this thread there can be:

- Files dropped for me to work with

- Files I upload for people

- Requests for certain firmware

- Reports of stuff I obviously broke

- Reports of new and unknown errors (meaning what's not in the list in Post #2), discussion on resolve.

- Occasionally discussion on solving new obstacles that haven't been there before.

- New bits of Info which would be handy in the first 5 posts.

In this thread here can not be:

- Individual firmware flashing guides (its all there already)

- Solving of problems covered in the error handling post

- Solving of problems not related to these firmware packages

- Opinion posts

- Battery discussions

- General chit-chat.
[One (M9) Android Development] ghosttown242:
I didn't know sorry bro
[One (M9) Android Development] law16:
i have a t-mobile m9 im not sure what firmware to flash for MM...im trying to use aosp i just didnt know if i can flash the latest firmware with out having radio issues
[One (M9) Android Development] Sneakyghost:
You can use developer edition or wwe and loose only Wi-Fi calling and mms over Wi-Fi. And maybe access to one of the LTE bands, not sure. It's harmless to flash though. Not damaging the device. We have beta people running WWE on TMUS until they release their own firmware.
[One (M9) Android Development] Beast Power:
I cannot seem to get a link for 3.35.401.12 international version, can somebody please help with the link ?
[One (M9) Android Development] Sneakyghost:
Asia Firmware packages added on request

Added Firmware packs for SKU's 708 (Asia-TW), 709 (Asia-HK) and 710 (Asia-AUS) on request from [MENTION=5872674]Flippy498[/MENTION] - nothing new, no marshmallow, just the previous software stages from HTC.

-=Recent Additions=-​
[One (M9) Android Development] dida1:
I'm trying to use this tool but unfortunately it is not working with me

what step by step should I follow to flash the latest firmware

thanks in advance
[One (M9) Android Development] Sneakyghost:
What is not working? Precise description or it didn't happen.
[One (M9) Android Development] 4bettilt2:
Just flashed no wipe no red warning 3.35.617.12 via the Batch Tool phone seems to be working fine but when I run fastboot getvar all the baseband and bootloader versions are blank? is this a problems, came from ARHD 14.0 2.10.410.1
[One (M9) Android Development] Sneakyghost:
.617.? What was your phone's original version?
[One (M9) Android Development] fajo:
Good evening, try to flash the latest firmware with super Cid and htc__001, always fail, what is the problem, I htc exe in fastboot

Sent from HTC One M9
[One (M9) Android Development] 4bettilt2:
2.10.401.1 have s-off CID 11111111 was an AT&T phone rooted gotsunshine S-off changed CID tried to put dev edition on I can get and receive calls connect to wifi my apps all working, when I go into download mode just using the phone and not the Batch tool it shows the OS as 3.35.617.12 guess all good

Thanks Sneaky
[One (M9) Android Development] klloyd:
wrong modelid

Ive looked through here a bit, including the error handling part. How do I determine what my modelid is to put into the txt file? I got the 10 RU_MODELID_FAIL (MID in android-info.txt does not match phone’s MID) error. I see the file to change, but what to? Mine is att m9.
[One (M9) Android Development] Sneakyghost:
fastboot getvar all
[One (M9) Android Development] fajo:
Hello, same problem how you manage to flash the firmware?

I have no problem flashing the 3.35.401.10 but this one makes me same error code, sorry for my english !

edit/

my mistake =>>> - 10 RU_MODELID_FAIL (MID in android-info.txt does not match phone’s MID)

my mid and cid =>>>0PJA10000 /cidnum: HTC__001

This firmware 3.35.617.12 is for mid and cid only ? ? ? ? ==>> modelid: 0PJA11000/cidnum: BS_US001/cidnum: BS_US002 mainver: 3.35.617.12 hbootpreupdate: 3

Sent from HTC One M9
[One (M9) Android Development] klloyd:
One more. The info reported is not in the same format at the things in the android txt file in the firmware. what do I actually put in the file, mid? product id? My cid is 1111111111. My mid is a 10 digit code too.
[One (M9) Android Development] 4bettilt2:
Are you using the batch tool?
[One (M9) Android Development] klloyd:
windows cmd. I replaced the mid in the file, errored out 14, missing malformed android-info
[One (M9) Android Development] Sneakyghost:
Then you didn't follow instructions in post 5 on how to edit android-info.txt.

Make sure you use Notepad++ in order not to f*ck up the line breaks in the file.
[One (M9) Android Development] klloyd:
I never said Ididnt use the right notepad. i just dont know what to put in the file. I said i changed the mid. but its actually the same. I have read and re read post 5, and I cant see what Im supose to put in there. Change second or third line to the 1's? I honestly dont know...
[One (M9) Android Development] Sneakyghost:
Run fastboot getvar all, read your MID, take that exactly as it is from the output, make a new line below the existing model ID in android-info and insert your own model ID there just as the other, original MID is placed.

One line per MID.

Use an untouched android-info.txt from the zip, only edited with NP++.

PS: MID is case sensitive. Respect the capitalisation and use NP++ and it should work.
[One (M9) Android Development] klloyd:
I copied and pasted it as shown.. worked that time. I must of taken the first or last space before... i dont know. Thank you very VERY much
[One (M9) Android Development] xunholyx:
Your MID is 0PJA11000 if you have an AT&T M9.
[One (M9) Android Development] 5m4r7ph0n36uru:
Why did you set the CID to 1111111111 using 10 digits? CID always has 8 digit, thus hast to be 11111111 for SuperCID.

Send from my coffee machines swarm intelligence.
[One (M9) Android Development] 4bettilt2:
One thing I found going from lollipop firmware to marshmallow is my photos did get wiped not a big deal to restore from HTC Sync
[One (M9) Android Development] Sneakyghost:
With my NoWipe zip?
[One (M9) Android Development] 4bettilt2:
Sorry Sneaky used your batch tool but the no wipe no red warning zip from matanlevanon

http://xdaforums.com/one-m9/development/firmware-red-t3097678

should have clarified the source and posted on appropriate forum damn, do love The Batch Tool
[One (M9) Android Development] Sneakyghost:
Then you're in the wrong thread.
[One (M9) Android Development] 4bettilt2:
yep as noted, if my insomnia gets to me again tonight may restore the nandroid backup then redo the process use your zip and report back, in the meanwhile accept my apologies
[One (M9) Android Development] Black-FR:
I could tell you, the no-wipe Firmware from [MENTION=1102297]Sneakyghost[/MENTION] will delete nothing.

You won't lose any file.

It just does, what it's supposed to do, your firmware will be updated and TWRP installed.

Gesendet von meinem HTC One M9
[One (M9) Android Development] sdamark:
So, [MENTION=1102297]Sneakyghost[/MENTION], was the latest VZW Firmware 3.10.605.7 to get the M9 ready for the MM release? Or was that something else? Or do we even know? (Patiently sitting on the sidelines, watching International users playing with Viper 4.0.1)
[One (M9) Android Development] Sneakyghost:
That VZW release was a break in tradition for HTC. They usually increase the base counter only on an Android major update like from L to M. In this special VZW case, they increased the first digit of the software number already before the next major upgrade.

So, the current VZW 3.xx isn't gonna get M running on your phone. You'll have to wait for specific VZW firmware announced in the VZW forum, probably announced by [MENTION=3472611]dottat[/MENTION].
[One (M9) Android Development] sdamark:
Thanks for the response. Kinda what I thought. Got dottat on my friends list, haha. Will be watching patiently. I see Jan posted "soon" for "VZW". So, hopefully not too much longer. Happy New Year, brother. Hope it's a great one.
[One (M9) Android Development] hgoldner:
FWIW, "latest" pre-release test version of VZW ROM for M9 is 3.36.906.9. It's Marshmallow. No idea whether it's final or when or if it will be pushed out.
[One (M9) Android Development] Sneakyghost:
3.35.401.12 FullStock and NoWipe

I've made the 3.35.401.12 Firmware accessible now cuz zee Viper crew will need it to go along an update soon... .;)

This is also going to be my last addition from the holidays. I am back at work from today on. Gonna be silent here again. No clutter please. Just relevant infos. Important to me. I have no time to skim through many pages of "pleeez halp my phone breaked" crap. Thanks for understanding.

-=Recent Additions=-​
[One (M9) Android Development] qriozum:
[MENTION=1102297]Sneakyghost[/MENTION]

in the sheet have "changed" links.

No Wipe leads to full firmware, a full firmware leads to NoWipe;)

regards

q.
[One (M9) Android Development] Sneakyghost:
Thanks. Fixed.

A little Info update for people using ARUWizard a.k.a "The FUU"​

I noticed several times now that my FUU with latest htc_fastboot.exe 3.0.9.2 aborts with Error 171 USB connection lost. Today, I took a minute to observe what is actually going on and it looks like htc_fastboot.exe is crashing when beginning to send my zip ("sending" in ARUWizard UI) - not sure but somehow, everything works when I do it manually. Just when using ARUWizard, things go south.

So you might want to consider using the manual method outlined in Post #1 - ARUWizard isn't properly working and I need to figure out why. Since I am back to work now, that can be a while.
[One (M9) Android Development] fajo:
hello, if I recovered from the android.txt 3.35.401.10 and changes in 3.35.617.12 good ,MM Skydragon to test?

My M9 mid is 0PJA10000 and Cid HTC__001 (s-off)

Thank you
[One (M9) Android Development] Leebert225:
Just wanted to say thanks again. I finally had some time to flash this and it worked out smoothly!
[One (M9) Android Development] Sneakyghost:
Forgot to add these from nkk71 to the download sheet. Sorry folks. Been online since late November and now already almost obsolete. Shame on me.

-=Recent Additions=-​

Thanks again [MENTION=2605798]nkk71[/MENTION]!
[One (M9) Android Development] azure1181:
Sprint firmwares, please :((
[One (M9) Android Development] Sneakyghost:
You didn't read the first post by chance, did you?
[One (M9) Android Development] dturtill:
i have tried to folllow the process to update the firmware and have recived the below message , the phone did reboot ok when using the old Fastboot command so i dont know if it is this one that was the cause

i did search for the error message but not seen it on the forums

here is a shot of the cmds and log

c:\Android\com>htc_fastboot flash zip M9_3.35.617.12_FullStock.zip

htc_fastboot v3.0.9.2 (2015-05-29)

target reported max download size of 800000000 bytes

sending 'zip' (126062 KB)...

OKAY [ 8.537s]

writing 'zip'...

(bootloader) HOSD CL#583142

(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: 10.678s

htc_fastboot finished. total time: 10.925s
[One (M9) Android Development] Black-FR:
[MENTION=1595110]dturtill[/MENTION]

You need to change your CID, according to the cmd output, which you posted.

Easiest would be, setting superCID.

Instruction, how you could set SuperCID should be on the first page of the thread and the batch tool might have it included as function too.

Gesendet von meinem HTC One M9
[One (M9) Android Development] ziaulh.ch:
Hey guys!!

I only see 03.01.2016	3.35.401.12 on download spreadsheet. Wheres M9_3.35.617.12_DevEd_NoWipe_TWRP_2871b1 ???
[One (M9) Android Development] Black-FR:
The files are there...

Seems as you need to look a bit closer at the sheet.

Gesendet von meinem HTC One_M8
[One (M9) Android Development] Sneakyghost:
Please run the update again in download mode. You tried to run it in boatloader mode.
[One (M9) Android Development] petru.tomsa:
C:\adb>fastboot getvar all

INFOversion: 0.5

INFOmax-download-size: 0x20000000

INFOpartition-type:cache: ext4

INFOpartition-size:cache: 0x14000000

INFOpartition-type:userdata: ext4

INFOpartition-size:userdata: 0x5e0000000

INFOpartition-type:system: ext4

INFOpartition-size:system: 0x118000000

INFOserialno: HT54NYJ04388

all:

finished. total time: 0.100s

why i cant see information? i am s-off
[One (M9) Android Development] Sneakyghost:
Wrong mode. Run in fastboot mode, not download mode.
[One (M9) Android Development] petru.tomsa:
C:\adb>fastboot getvar all

INFOkernel: lk

INFOproduct: htc_himauhl

INFOversion: 1.0

INFOimei: 357226066572413

INFOversion-main: 2.10.401.1

INFOboot-mode: download

INFOversion-baseband: 01.04_U11440601_71.02.50709G_F

INFOversion-bootloader: 1.0.0.0000

INFOmid: 0PJA10000

INFOcid: HTC__032

all:

finished. total time: 0.000s

thank you much...
[One (M9) Android Development] Sneakyghost:
Yes? And now? What was it you wanted?
[One (M9) Android Development] iateshaggy:
sneaky, i flashed M9_3.35.401.12_NoWipe_TWRP2871b1 on my att unlocked s-off cid-11111111 phone. now it reboots on twpr splash screen. any idea of how to maybe fix it or what i'm doing wrong?
[One (M9) Android Development] xunholyx:
[MENTION=1102297]Sneakyghost[/MENTION]. You need to set up a Q&A thread for this like you did with M8, or you are going to continue to get support help questions here. Just sayin...........
[One (M9) Android Development] iateshaggy:
http://pastebin.com/n9cvQkes
[One (M9) Android Development] m0j0j0j0:
Had nothing but issues yesterday. Then with a bit of research learned a bit about the cid from what I understand it's fine to change it to 111111 after trying to flash I still had errors. Model id issue, with a bit more research I see you can simply modify the text file in the firmware.zip . For any one in the future I will tell them my process to update the text file in the zip. I use winrar to open the archive then open the text file simply edit it then saved and update file when winrar prompted me. PS I recommend installing notepad++ or something similar and setting it as default app for txt files, this app reads the format and saves it properly when reading from an archive. If I'm not mistaken I read you should have issues using simple notepad in windows.

Your model Id can be found in the opening post of this thread.

Hopefully I didn't clutter up your thread, had a few issues and thought my insight/experience may be useful.

Thank you for supplying these firmware, now I'm ready for marshmallow!
[One (M9) Android Development] Sneakyghost:
Thanks but WinRar is not recommended and I clearly wrote that up too in post 5. I suggest you rather use 7zip unless you know exactly what you're doing.

WinRar has a habit of breaking fastboot zips and also recovery zips.

And thanks I'm aware WinRar can be used, but 7zip is the more failsafe program.
[One (M9) Android Development] m0j0j0j0:
My apologies, I've just been using winrar for so many moons, and I must have missed that part! But there you have it people, 7zip is the preferred tool to use. The whole thing was a bit confusing last night but I went to sleep and messed with it again today with a clear head and it worked out great. And really all the info is on the main thread, took me a few times reading to get it so please don't get discouraged people...!
[One (M9) Android Development] dturtill:
Sorry

i had followed the ADB instructions on page 1 will try again
[One (M9) Android Development] Sneakyghost:
W00t? Are my instructions leading to that? I'm pretty sure it says flash in download mode.

I'll check my guide later today.
[One (M9) Android Development] :
Been away from the rooting /rom flash community. My fiance HTC M9 was over due for an upgrade so I decided to attempt to upgrade her rom to the latest Viper rom which requires the the new firmware . Already S-off, cid changed(111), mid changed inside the zip package changed , multiple successful and unsuccessful firmware zip flashed wipe or no wipe zips my firmware refuse to change. Not sure what I'm doing wrong? Spent hours trying to figure it out to no avail. Thankfully I had a few nandroid back to revert back too or it would been very problematic.
[One (M9) Android Development] gregsarg:
What flash errors are you getting ??
[One (M9) Android Development] :
Everytime I resolve one error another one would happen. Tried multiple firmware zip some even flashed successfully but never update.

Here's some of the errors I encountered.

12 signature fail, 10 Ru_modelid,

24 android fail

Cid fail

Mid fail

90 pre update

I'm at the point of giving up.
[One (M9) Android Development] Sneakyghost:
Some of them are explained in the error handling post, some have been discussed on the past few pages, so, the main error probably is user_no_read try harder [emoji23]

Seriously, I don't have time to walk everyone through these errors, hence my detailed post on error handling. I'll try to update it with the newer marshmallow related errors soon enough but for now, searching XDA M9 forum with the exact error line will be of big help, simply because the smarter people post their errors, so search can find them and answers to those.

A frustrated "nothing works" post is understandable but by any means the most useless post type of all, since It doesn't help tracking down anything and just leads to answers like this one.

==================================================

From my Post #3

Error 10: please make sure CID is SuperCID and the ModelID in the android-info.txt in my zip is the one of your phone (you may add yours to the txt file, follow instructions in Post #5). Find out your ModelID by running "fastboot getvar all" in fastboot mode (or use my Batch Tool)

Error 12: would have me think your phone is still S-ON / Fix it by visiting the nice SunShine people. And if that's the case, I have to say #MajorFail. The very first thing in this thread is: S-OFF required...

Error 24: would usually indicate issues with the zip or image files inside or android-info.txt inside. Usually turns up when someone changed the zip and didn't do it properly.

"CID Fail" see Error 10

MID Fail" see Error 10

Error 90 hboot pre-update error: common man, seriously? Probably the most discussed error on the entire HTC firmware forum. Since at least 3 years, if not even before, hboots and aboots tend to need a pre-flash or pre-update of only this hboot or aboot before the rest of the firmware gets flashed. When you see error 90, just execute the flash again right away without another reboot. Well explained at the beginning of the thread.
[One (M9) Android Development] iateshaggy:
i'm still having problems getting my phone to boot twpr, or anything past download/bootloader. i've switched to 7-zip and tried using adb from your batch tool but i'm still getting the same results. flashing the firmware goes fine, i get a fail90, flash again and no more errors. when i boot twrp i get the teamwin splash screen then the phone reboots. any ideas? any help is much appreciated.
[One (M9) Android Development] h4mmer4:
Hi,

I reboot in to download mode ok with Tasker_1.2.9

I choose option 3 for fastboot prompt, takes me to c:\android\com

fastboot oem rebootRUU says command not recognized

htc_fastboot oem rebootRUU gives no output at all.

I close the batch tool and reopen, I do option 3 again for fastboot prompt.

fastboot flash zip Firmware_xx.zip says command not recognized

htc_fastboot flash zip Firmware_xx.zip - if I run this it returns "htc_fastboot v3.0.9.2 (2015-05-29) and nothing else, just a blinking cursor.

Any help appreciated, thanks!
[One (M9) Android Development] gregsarg:
Sounds much like PC driver or ADB connect issues.

Ensure that your flash environment is correct....and use only the factory cable on a main connection...

MY .02....g
[One (M9) Android Development] Mostafa Wael:
This Batch Tool is pure AWESOMENESS!! :good: :good: :good:
[One (M9) Android Development] Sneakyghost:
It's just a batch script. Each and every command is known and this type of scripting is so easy anyone who can read can do it... So we don't want to exaggerate, do we? :)