yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] Sneakyghost:
Hmm I don't really know.

I can try to upload a fixed version of my Batch Tool with the very latest htc_fasbtoot.exe and the API24 ADB and WinApi - I had massive issues with the connection on my ****e laptop I took with me on vacation - I am really stuck here with totally useless tech and a horrible internet connection.

All I know for sure is: I needed new drivers from Google, I needed to force them onto my USB because windows kept complaining they weren't for my device. I needed to last-minute order a new cable to stabilize the connection, I needed the very latest fastboot version from HTC, not Google and the whole thing took me almost a week to figure out. It was a total nightmare.

So, all I can recommend is, get latest Google USB driver, get latest ADB and get latest HTC RUU to pick htc_fastboot.exe from.

To get the first two, download the SDK Tools from Google and update to API Level 24. To get the newest HTC Fastboot, either download the M8 or M9 Marshmallow RUU from HTC's ROM Download page, launch it, go to your TEMP folder while it is launched and waiting for input, then copy the entire structure to a backup location, then delete the ROM.zip from it and Voila! You got your FUU with latest parts. Now just put the ADB from SDK tools into that folder and flash from there.

[EDIT]

If Christmas Eve doesn't get in the way (it tends to do that) I will go to someplace else tomorrow with better internet and a proper computer and zip up my working folder for you guys to have it a bit easier. My batch tool that is.
[One (M9) Android Development] Sneakyghost:
OK you guys need to make sure ya'll use htc_fastboot.exe on the M9 - I thought that was a known fact since the early days but I just realised by the edit of the previous poster (@DroidShift79) that that might not have gotten through to everyone.

Please use htc_fastboot.exe! and NOT the generic Google version! And make sure you grab it from XDA somewhere new, as the one on htcdev.com is outdated. Pretty much so even.

[EDIT]

I have updated the Batch Tool here: http://xdaforums.com/showpost.php?p=59783535&postcount=4

There is a new ARUWizard in there including the newest htc_fastboot.exe 3.0.9.2 which flashes the latest Marshmallow stuff from HTC.

Please update to this tool or use it to extract htc_fastboot.exe for your own use.
[One (M9) Android Development] lyericwang:
I flashed the fullwipe package of the latest firmware, then flashed TWRP, when I flashed the ROM in TWRP, the device reboot itself, am I doing something wrong?

EDIT: I ran wipe data/factory reset and wipe cache in stock recovery and then flash TWRP, it works now and the phone is booting now.
[One (M9) Android Development] BLEK0TA:
Can i flash new m firmware without PC? Cuz I have few years only Android tablet but no PC. I buy my m9 with root an twrp. But I want marshmallow. So how can i do that without PC?
[One (M9) Android Development] Sneakyghost:
I never use the SDCard method. You can search in forum please, there are people advocating that method. I am not sure sdcard method flashes anything other but RUU.zips, haven't ever tried. But well possible.

Just not the right thread here.
[One (M9) Android Development] LLegion:
thaks just what i was expecting!!! =D
[One (M9) Android Development] ioni2ioni:
please, help me, i installed full wipe firmware, using htc fastboot. i installed twrp, i fastboot erase cache, entertwrp, mount cache and wipe. But phone keep rebooting while install viperrom. any advice? thank you

Edit: solved like #742. Thank you lyericwang!
[One (M9) Android Development] stargaterules:
i tried to flash the newest firmware using the batch tool, but it says adb not recognized.....help please. thanks.
[One (M9) Android Development] johnandbodhi:
does anyone have or know where i can get the new htc_fastboot for mac? thanks and happy holidays
[One (M9) Android Development] Rix70:
Guys please, anyone can help me to install the driver on windows 10.....I get the same error always (driver class error or driver not present)

Please, sorrry for OT but on xda I dont find a serious thread for the driver..anyone can help me please.

Much thanks in advanced..and sorry again.
[One (M9) Android Development] Sneakyghost:
I doubt that exists. Can you not run windows in that virtualization environment from apple?

Other than that you could hop on the sunshine support IRC and talk to Beaups and Jcase. I know they're doing their work mostly on a mac. They certainly know a working fastboot for Mac.
[One (M9) Android Development] Sneakyghost:
Yeah. I didn't find much help by using Google search either. There's no clear path. I spent half the night after our Christmas dinner trying to get one of our beta testers through this driver mess. It was hours. And when I went to bed it still didn't work. So, please don't expect me or anyone to have a multi-page long driver support session on this thread.

The only thing I can tell you is what I already wrote on the previous page where I linked to the Google SDK tools. Try getting the solo Google USB driver (just a folder with an inf file and the driver binaries) and force that onto your USB chip manually. No better idea. That's what worked for me.
[One (M9) Android Development] migascalp:
Windows 10

N Edition

?

I never managed to properly install HTC drivers on this version.
[One (M9) Android Development] Sneakyghost:
It's windows 10 in general. It won't detect the device properly and you need to manually force the driver. That's why it is complicated. The "finding the right driver" part.

Not just on the N Edition.
[One (M9) Android Development] migascalp:
I have not had the problem on other versions.

This should perhaps be dependent on the hardware configuration.
[One (M9) Android Development] Sneakyghost:
It clearly depends on the chipset. My home desktop never had any trouble either. I run Windows 10pro on both my laptop and my pc.

The laptop has a super old AMD platform with C-60 APU, which simply isn't properly supported anymore.
[One (M9) Android Development] migascalp:
After trying several edition I chose "10 Enterprise ltsb" (this version is ultra light). Only on my laptop and on my usb hard drive. I tried it on 5/6 different computers and , for the moment, no problems with the HTC drivers.

Sorry for the off-topic :)
[One (M9) Android Development] Sneakyghost:
Well the problem seems to be by far more widespread than anticipated. So we gotta deal with it somehow. It's really a lot of people complaining. I'm not at home sadly, with proper tech and resources. I'll try to work out a quick and easy step-by-step this afternoon, but first I'll see what the XDA universal driver thread has to say about this. Maybe if you've got time you could find that driver thread and link it here for people. I'm a bit busy with Christmas and family right now.
[One (M9) Android Development] Rix70:
yeah...N version...this version is without multimedia tools...

I'm also ...searched on google some days in my free time but nothing...

Now I try sdk tool...only this thing I don't to try...

thanks to all !! :) ..and Merry christmas :good
[One (M9) Android Development] piterdemon:
Sorry for being "noob" but I really dont know how to back to stock with s-on and with cm13 on board, can someone explain me step by step how to back ? There or on pw no matter, but I will be very thankful.

Wysłane z mojego HTC One M9 przy użyciu Tapatalka
[One (M9) Android Development] migascalp:
Not in my home and Christmas too.

A good alternative is to use a live CD/USB Linux.

Personally, I use Xubuntu and LinuxLive USB Creator

Once on Linux open a terminal and enter the following command:

sudo apt-get install android-tools-adb android-tools-fastboot

You are ready to use fastboot and adb from Linux.
[One (M9) Android Development] Sneakyghost:
I have finally managed to update my Post #5 with basic educational information.

I have also updated the Batch Tool in Post #4 with latest ARUWizard including htc_fastboot 3.0.9.2 - please use this newer environment for HTC Marshmallow stuff.

One thing you guys could try regarding the driver situation - I remember it now from my own driver mess - is to completely remove all USB related drivers from your system.

Open Device Manager

Select your phone while it's connected and booted to android.

Remove all drivers and if asked, delete driver store.

Select your phone whie it's connected and in fastboot/download mode

Remove all drivers and if asked, delete the driver store

Select your USB Host Controller (the USB Chipset)

Remove all drivers and if asked, delete driver store

Repeat this for all USB related devices in your Device manager.

!Please know you will not be able to access USB until you reboot and windows installs drivers again!

Reboot now and then connect your phone in Fastboot mode first.

Now let it install itself - in my case, it ended with "Unknown Android Device" and a yellow triangle.

Now select "Update Driver" and then do not do the automatic stuff. Pick the manual way, then go via Device List, Have Disk, and point the pop-up to the Google USB driver (get it here). Let it open the INF. It will now show you 3 different types of devices. For Fastboot Mode, pick the "Android Bootloader Interface".

This has worked for my machine where apparently no proper driver was available for Fastboot mode. All available fastboot drivers were rejected by Windows 10. This is why I had to clear all driver remains, then force the Google USB driver despite windows complaining "Are you sure you want to do this because its not the right driver and yes, you are an idiot".

Another thing you can try is working with [MENTION=391935]1wayjonny[/MENTION]'s "Universal Naked Driver" package.

I have contacted him asking for input. For the time being, you can grab his pack here: http://xdaforums.com/google-nexus-5/development/adb-fb-apx-driver-universal-naked-t2513339 but I am not sure he wants M9 related talks in the Nexus 5 forum. Better wait till he gets back to me with how or if he wants to help out.
[One (M9) Android Development] xunholyx:
This is the thread that you are looking for.
[One (M9) Android Development] climhz:
After all the reading, if i'm using sprint one s-off, unlock and everything, I'm still screwed, right?
[One (M9) Android Development] minhlc1956:
After my HTC One M9 firmware flash is 3.35.401.10

Htc m9, still in running rom normal use, enter the bootloader, to be recovery. But do not get into Download mode.

Phones have s-off

Expect all the help
[One (M9) Android Development] diamos:
First thanks [MENTION=1102297]Sneakyghost[/MENTION] for your great effort you are putting for all of us here.

I just wanted to share my experience with the latest firmware 3.35.401.10, I have a M9 with modelID 0PJA11000 and I never had to change the mid in the android-info.txt before even though in all the previous firmwares I flashed it had 0PJA10000 in the android-info.txt.

so if anyone getting:

Just go to android-info.txt and change the the modelid. I use "notepad++" and i recommend it.

I'm booting into ViperOneM9 4.0.0 BETA while posting this :)

Regards all & happy flashing :)
[One (M9) Android Development] Shuya88:
Hi guys, sorry for the noob question. Do I need to change my cid/mid before flashing this? My cid is 044 and already s-off
[One (M9) Android Development] Sneakyghost:
Sprint will be getting firmware for marshmallow too soon and we're hoping to have Sprint support ready for ViperOne as well rather soon. You'll not get Sprint firmware here though. I like to keep international/GSM separated from CDMA due to the high risk when people don't understand that and cross-flash CDMA/GSM.

Sprint firmware is usually available from [MENTION=506238]OMJ[/MENTION] in the Sprint forum and Verizon firmware from [MENTION=3472611]dottat[/MENTION] in the Verizon forum.
[One (M9) Android Development] Sneakyghost:
Yeah maybe you killed your phone. No idea. Try flashing again in fastboot mode or RUUmode.
[One (M9) Android Development] Sneakyghost:
I briefly mention this in my updated post #5. Seems HTC has changed the behavior of SuperCID- it used to ignore both CID and MID mismatches. Now MID mismatches aren't ignored anymore. Means you guys will have to edit android-info.txt. PLEASE follow my instructions in post 5 when doing so.
[One (M9) Android Development] Sneakyghost:
Try to flash without changing it and if it fails with error 10 or a similar error (see my post 2 on error handling), edit your android-info text and/or make your phone SuperCID.
[One (M9) Android Development] minhlc1956:
Hi thank you. My phone can not access the dowload mode, so can not flash
[One (M9) Android Development] Sneakyghost:
What about fastboot mode or RUUMode?
[One (M9) Android Development] ghosttown242:
Anything yet for dev edition marshmallow with twrp inside the firmware
[One (M9) Android Development] Sneakyghost:
M9 Developer Edition / Unlocked Firmware 3.35.617.12

Android Marshmallow firmware (not ROM) for HTC One M9 Developer Edition - Version 3.35.617.12 uploaded.

Please make sure you update to this or an international (WWE) firmware version before flashing ViperOneM9 4 ROM's (or any other Marshmallow Sense ROM's coming out now). The current beta as well as the following stable ROM versions will need a 3.xx based firmware at a minimum. Carrier Firmware can/might be added once becoming available. For now, only DevEd and WWE available.

Since HTC released a 3.35.xxx.12, we can consider that the stable base to be expected on other phones, WWE for example, too.

Plus I need to say this:

UNDERLINED, BIG, BOLD AND RED

: It is a very good idea to go full clean flash - Marshmallow repartitions the device and does a lot of serious changing around on firmware level. A clean start-over is by far the best way to do it. No matter how many people disagree. Particularly this new DevEd firmware - I left the original RUU android-info.txt in there and if you flash this with ARUWizard, there's a big erase job going on. Look inside the file. You'll see. A lot of partitions getting a proper cleaning before the flash is happening.

Links to the downloads as usual in post #2.

Enjoy the holiday season, happy playtime.

Credits

HTC ROM Downloads, this time. Thanks guys! You been really fast!
[One (M9) Android Development] MC_Ohr:
Hello Sneakyghost, what's about the 3.35.401.12 firmware you have listed but not linked in your spreadsheet? Is that save to flash?
[One (M9) Android Development] Sneakyghost:
Not available yet.
[One (M9) Android Development] MC_Ohr:
And what is it I can find on AFH?
[One (M9) Android Development] stargaterules:
what do you do with fastboot.exe? there's no info on what to do with that in the guide. also i tried flashing in download mode, but it said adb not recognized. i used the batch tool provided in the first post.
[One (M9) Android Development] Sneakyghost:
Lol yeah. What do you do with fastboot.exe? Certainly using adb.exe in fastboot mode...

And no instructions? Really? I am pretty sure post #1 has a step-by-step for fastboot...

The batch tool has an info.doc accessible in the /com folder or through one of the last options in the batch tool.

I'm certainly not going to explain fastboot to you when there's like a million guides out there on top of my instructions.

Thanks for reading.
[One (M9) Android Development] stargaterules:
maybe you can answer the question instead of being nasty and a smartass. save it for whoever wants it. i don't.
[One (M9) Android Development] Sneakyghost:
I shall forgive you that bit of OT :laugh:

Thanks bud, very much appreciated. Let me say this: the best part is your trust in my firmware packs is what motivates me most. The bunch of people returning to my threads, my little "fan base" is what keeps me sharing and extending my stuff.

The donation is, well, going into my M10 stash now...
[One (M9) Android Development] user602:
I think your "fan base" may be larger than you think. Being open about things you don't know, and then researching those things, learning them, then applying them to your work are the reasons for the trust I (or, we) have in you. You don't make careless moves -- you understand the responsibility that your (mostly-thankless) XDA hobby carries for the community.

#spiritofXDA

#sneakyfans

/OT :D
[One (M9) Android Development] Warjcowski:
mac w/o custom firmware

[MENTION=1102297]Sneakyghost[/MENTION] First, thank you for this service and tutorial!

I have an AT&T M9 with root, TWRP and s-off. I would like to update from .9 to .31, but i have a mac so the ruu.exe won't work and the ota doesn't work with root.

In your instructions, you note that after flashing the device needs to be flashed with a custom rom in order to boot. However, I am also not at a point where i want to install a custom rom even though i have s-off.

Is there anyway for a rooted, mac user to update w/o a custom ROM?

Much appreciated!
[One (M9) Android Development] Behold_this:
Yes there is another way for you to flash, however, it will require you getting the rom.zip unpacked from inside the RUU, which you can't do on Mac because you can't launch it on Mac. So, you will have to track it down from another user.

Once you have secured the ROM zip make sure it is named 0PJAIMG.zip, place it on the root of a fat32 formatted SDcard, place the SDcard in your m9, boot into bl and follow the directions to flash.
[One (M9) Android Development] Sneakyghost:
ATT_Cingular_US_1.32.502.31

I have it here. I'll upload that for ya. Gimme an hour.

[EDIT]

Sorry forgot to post.... here's the ZIP: https://www.androidfilehost.com/?fid=96042739161892386
[One (M9) Android Development] vtotheinay:
so im on a sprint M9 unlocked bootloader and rooted so far. S-off has not been done yet as i have had no time. my firmware is currently 1.32.651.30 for sprint. is that the current newest version out right now? sorry if its a really rookie question. I have never really messed around with getting S-off and updating my firmware before. im just a bit confused
[One (M9) Android Development] Sneakyghost:
I was actually writing in post 1 that I am not doing any CDMA. No Sprint, no VZW.

But yea, I think what you have there should be the latest.

Please check on HTC ROM download page. They have RUU's for Sprint.
[One (M9) Android Development] vtotheinay:
my apologies! thank you for the tip though, sending a thanks your way
[One (M9) Android Development] caanda45:
Sneaky as part of "your fan base" I say thanks, your`s is the only firmware I will flash...the M9 OP is better than the M8`s (more to the point you are trying to steer people to do), I agree with your premise that one must know ABD and fastboot commands to get out of silly predicaments!!! I for one was sort of self taught by you and others in the community!!! Thanks, successfully update my s-off Canadian variant last night with your AT&T software and flashed LeeDroid....Thanks Sir!!
[One (M9) Android Development] Adam182:
Did i miss something, or are there No Nowipe zips yet - Adam
[One (M9) Android Development] Sneakyghost:
Correct. Still experimenting. [MENTION=4782292]mick_soul[/MENTION] did some experiments of his own already and it all looks pretty safe already, so I'm gonna upload the zips tomorrow I reckon. Just not been able to yet since I have been at work all day all week and currently winding down. European timezones. Guess by saturday you'll have the most common NoWipe zips. But of course, as usual with my threads, I very much appreciate if people do their own experiments and report back, so I can actually be lazy, get drunk and watch you work. :laugh:

Thing is, there were some questionsmarks on some images and the most pressing question was can we remove hosd. I talked to SunShine team about it because I had the impression the HOSD looked like something Kernel or Recovery like and it just didn't make any sense to me because I have no f*** clue about Linux and code and whatnot. However, SunShine let me know the "noob" version of the story is: HOSD (Hybrid Operating System Discovery) is some sort of a third kernel that is being booted when Download Mode is booted. So, NEVER touch, NEVER remove that. Its essential. Should your M9 ever be in a position of having lost its HOSD (very unlikely, very theoretical), it won't be able to flash anything anymore. It will boot though if a functioning recovery or ROM exist. So with some expert knowledge, you can of course restore from it but its not a good idea to remove HOSD from fastboot flashable zips. Flashing it alongside other images ensures there always is a hosd for download mode.

Or at least that's what I understood.

All other images in the RUU are either self explanatory or same as on M8. So, by now I feel fairly comfortable moving forward. Also my poll about the preload image is coming to an end and its results are clear. Its gonna be removed.

My Team Venom buddies are laughing at me every day because I'm over cautious but I'm gonna be honest with you readers: I am just a noob like everyone else and the only thing that separates me from some of you is the fact that I am willing to blindly test stuff and that I am networked with a good crowd by now. So, if some zip passes my device, its safe, but I still won't always be able to explain stuff.

Hope that more than answers your question, [MENTION=1920378]Adam182[/MENTION]
[One (M9) Android Development] Adam182:
That was the greatest reply ever to any of my questions - Adam
[One (M9) Android Development] caanda45:
Sneakyghost is it possible for you to provide support to one of the Canadian Variants of the M9. Personally I would like Bell or Telus as I am s-off and do not care who`s firmware I run, and the two listed share the same LTE network for the most part in Canada. If Rogers was chosen as the largest provider , I could live with that.

I have posted in the Canadian thread over in the General section...to see if anybody has the files. I honestly have no idea where to look to get these such files, but I will try!!

If possible that would be great and thanks for considering it!!
[One (M9) Android Development] Sneakyghost:
http://androidruu.com/?developer=M9
[One (M9) Android Development] clsA:
checking your link i see the 2 Developer Editions RUU's are still missing

As well as the 2 AT&T RUU's All of which can be found here >> http://xdaforums.com/att-one-m9/general/att-developer-edition-ruu-how-to-t3086948
[One (M9) Android Development] danlat1415:
in the OP, you refer to:

fastboot oem rebootRUU

to be able to flash firmware, recoveries and roms.

Did you know that there is no need to on the M9?

HTC's Download Mode works just the same and is actually a lot quicker.

Just boot the phone into download mode (press power button + volume down).

Then you can just jump straight into the using the fastboot commands.

There is no need to go into the bootloader menu or into rebootRUU mode.

HTC Download mode is faster, and even displays on the phone screen exactly what's happening:

falsh radio - pass/fail

flash recovery - pass/fail

flash aboot - pass/fail

etc

so you can see what, if any, issues you may have.

you also don't have the problem of 'fastboot oem rebootRUU' restarting the phone after the first unsucessful flash, and having to manually go back into that mode to flash again.

in HTC Download Mode, the phone simply restarts and goes back into that mode itself and carries on.
[One (M9) Android Development] mick_soul:
I can confirm the successfull flashing in downloadmode and the direct feedback you will see on the screen.

But my M9 restarted to system though, if I am not wrong.