yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] lateral18:
[MENTION=1102297]Sneakyghost[/MENTION]

Thanks for the firmware .

Question , do you know of a way, how to enable VVM and the caller ID att offers on a international firmware. Is it possible ??
[One (M9) Android Development] Sneakyghost:
VVM is part of the ROM, not firmware. Large caller ID as well. I think we might have a recovery flashable mod on our hub for large caller ID although I'm not sure it's still available for the latest ROM version.

VVM is something we have never dealt with.

Since team venom is currently more or less having a break, we also won't be working on anything new much.

I guess we'll be more active again once the M10 will be available, if HTC makes it through the coming months, that is.

In future, please refer to the ROM thread or our ticket system for ROM related questions and keep this thread for firmware related stuff.

Thanks.
[One (M9) Android Development] YrrchSebor:
Hi, I have a T-Mobile M9 with HTCdev unlock, and then Sunshine S-OFF and superCID. When i try to fastboot flash a firmware, I am getting this:

target reported max download size of 800000000 bytes

error: cannot load 'ROM.zip': No error

Been Googling but am still stumped. Thx in advance!

Edit: the firmware zip i am trying to flash is just under 49 MB
[One (M9) Android Development] nkk71:
cannot load == MyFileNameIsJustSoWrong.zip.zip

(or in the wrong folder/directory)

in other words, "cannot load", is not an error, just wrong [path/filename]
[One (M9) Android Development] YrrchSebor:
Ok got it finally! Yeah, I was deleting the second .zip. Been a while since I done this. Thx
[One (M9) Android Development] lyericwang:
Got a problem here. I got the supercid in download mode, but when I enter the android system and type "adb shell getprop ro.cid" on my computer, I got the original cid. How can I change this to supercid? On my HTC M7, I got both supercid. I want to this because HTC will detect the cid for some service and I want the international service instead of native service.

BTW, when I flash a ROM with full wipe, some buttons in setup wizard are grey and I have to flash the firmware every time before flash the ROM, maybe this is because the cid problem here?

PS: does HTC play some tricks in a certain partition where the cid is stored and I cannot touch it when I write supercid in bootloader?

EDIT: problem solved. I found that if I set cid as supercid in download mode, when I reboot to system I got the original cid of my device. Instead if I set the cid as HTC__001, HTC__032, ... I got the right cidnum with "adb shell getprop ro.cid" on my PC . So it seems that the supercid doesn't work properly on M9.
[One (M9) Android Development] duanes:
Anybody has the sam e problem or maybe a solution to the following error messages???

target reported max download size of 800000000 bytes

sending 'zip' (148487 KB)...

OKAY [ 10.120s]

writing 'zip'...

(bootloader) HOSD CL#584440

(bootloader) ERR zip file count(49718) is inavlid

(bootloader) ERR zip header or handle is invalid

(bootloader) ERR zip header or handle is invalid

(bootloader) ERR can not seek to 1th image offset -1

(bootloader) end@Done

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

finished. total time: 11.966s

S-off

Supercid

I haven't done this in a long tim,e, must be overlooking somethiong.

Help would be appreciated.

Thanks in advance!
[One (M9) Android Development] starbase64:
[MENTION=279189]duanes[/MENTION]

reinstall htc driver on pc
[One (M9) Android Development] j to the 4n:
He could grab his nose and run 3 times in a circle. would have the same effect.

[MENTION=279189]duanes[/MENTION]. what are you trying to flash? 150MB sounds pretty big. latest int fw is just around 60MB
[One (M9) Android Development] nkk71:
nvm, ninjad
[One (M9) Android Development] starbase64:
[MENTION=4905624]j to the 4n[/MENTION]

i had the same problem today, when i tried to flash the new firmware 3.32.

driver reinstalling has solved my problem.
[One (M9) Android Development] j to the 4n:
Clever that you share that info here.
[One (M9) Android Development] duanes:
wanted to flash firmware

will install the drivers again and see what happens

---------- Post added at 05:41 PM ---------- Previous post was at 05:04 PM ----------

Still the same error after updating HTC-Mobile-Driver-v4.17.0.001

Can flash recovery and rom whitout any problem... (Windows 10)
[One (M9) Android Development] nkk71:
well what firmware? (links to the thread in question, the name of file, and the file would be useful)
[One (M9) Android Development] duanes:
Maybe you have a suggestion which one i could try?

I tried M9_2.8.617.4_NoWipe_TWRP_2871b1_rename_to_ROM
[One (M9) Android Development] nkk71:
I guess you're flashing the wrong file then, cause

M9_2.8.617.4_NoWipe_TWRP_2871b1_rename_to_ROM.zip

https://www.androidfilehost.com/?fid=24052804347768769

MD5: 166616bda6bc383b09163b9a7ecad77e

is about 65MB, not about 150MB as per your previous output.... better check what file you are trying to flash
[One (M9) Android Development] duanes:
This one installed smooth, thanks! (did hit the thanks button)

Thankx to all yall
[One (M9) Android Development] nkk71:
anytime, i'm sure both Sneakyghost and j to the 4n are very relieved

yay, a thanks button :laugh:
[One (M9) Android Development] Leebert225:
Firmware Update

Hello everyone,

I need to update my firmware, I'm currently on OS-1.32.669.6 with the M9 (himaulatt) variant and I'am S-Off. I would like to do the "NoWipe" method but I'm not 100% sure which zip to download from the spreadsheet https://docs.google.com/spreadsheets/d/1ZaiJ3F_f76sVa4daU5H62OYi5Bj23LEBBv4xDTQ8y-M/pubhtml.

Can anyone point me in the right direction?

Thanks.
[One (M9) Android Development] jollywhitefoot:
669 but you're AT&T? How did that happen?

The latest sneaky ghost AT&T firmware is 2.6.502.16. No wipe is the top set on the webpage.

But that's not the latest AT&T package. The latest is 2.11.502.18. But I haven't seen it posted as a flashable zip anywhere.
[One (M9) Android Development] Leebert225:
I'm in Canada and with the carrier being Sasktel the CID in download mode is SASKT001 if that makes a difference? I know there is a RUU for Sasktel (0PJAIMG_HIMA_UL_L50_SENSE70_ATT_Sasktel_Canada_WWE_1.32.669.6_R2_Radio_01.01_U11440221_59.04.50303G_2_F_release_426165_signed.zip) but I assume using the AT&T 2.6.502.16 would work though from what I read I need to be on at least 2.10 to flash CM12.1 as I am still running CM12.1 Beta 2. See post# 491, I get the same error but that user is with Verizon.

Thanks for your response as well.
[One (M9) Android Development] nkk71:
you mean 2.6.502.18? https://www.androidfilehost.com/?w=files&flid=38059

EDIT, my bad didnt see that 2.11.502.18 is out, sorry
[One (M9) Android Development] Leebert225:
This is for AT&T? Can it be flashed with TWRP 2.8.7.0 or do we need to update recovery to TWRP 2.8.7.1 B1 ?
[One (M9) Android Development] Sneakyghost:
Mate, even though I just got home and am about getting drunk, haven't been here since a month or so, I wonder, how can you not see this is a firmware thread?

Since when do we flash firmware in recovery?

Samsung does that sorta stuff but HTC usually doesn't, except some smart dude packages images in a way that recovery can write them, which is totally possible but, like you may have guessed from my previous words, not recommended.

Firmware should be flashed (like outlined in my initial posts) by either using fastboot or employing the famous SDcard method.

Alternatively, you can harness HTC's ARUWizard to do that, but then again, that's just fastboot with a proper UI...
[One (M9) Android Development] Leebert225:
Duh, I apologize I wasn't thinking. I got confused by the file name "M9_2.11.617.15_NoWipe_TWRP_2871b1_rename_to_ROM.zip". I saw TWRP and just assumed, I'm rather new at firmware flashing and I do appreciate all of your responses.

Enjoy your drinks!
[One (M9) Android Development] Sneakyghost:
TWRP as in: TWRP included. Sorry for the newbie confusion.
[One (M9) Android Development] nkk71:
well if you wanna wait for a while, i'm downloading 2.11.502.18 RUU, then decrypt, fix and upload firmware parts

up to you,

but it's still going to be a fastboot flash, not a TWRP flash.... waaaay too many things can go wrong with that; it is feasible (theoretically), but the amount of work (in particular checks), are not worth it imho

It's like asking for an automated brick
[One (M9) Android Development] Leebert225:
That would be very much appreciated and very kind of you to offer! I'm okay with using fastboot my biggest concern was just trying to locate the proper firmware to flash.

Thanks again so much and I will await you response.
[One (M9) Android Development] nkk71:
well make sure you have a decent "fallback", I'm netiher familiar with US AT&T nor Canadian, only thing i can do, is decrypt that (hopefully), and post the firmware that comes from/with the US AT&T RUU mentioned on their download page.... another 30mins or so to finish download...
[One (M9) Android Development] Leebert225:
You bet, thank you very much. If I brick the device it's my own fault and it wouldn't be the first time.. haha

Again thanks for your assistance!
[One (M9) Android Development] nkk71:
2.11.502.18 firmwares uploaded

M9_2.11.502.18_NoWipe_TWRP_2871b1_rename_to_ROM.zip

M9_2.11.502.18_FullStock_rename_to_ROM.zip

android-info.txt:

[B]modelid: 0PJA11000
cidnum: CWS__001
mainver: 2.11.502.18[/B]
btype:1
aareport:1
hbootpreupdate: 3
nohardreset: 1
resparseoption: -S800M
erasepartition: cache
eraseonflash: system
eraseonflash: userdata
eraseonflash: aboot
eraseonflash: adsp
eraseonflash: boot
eraseonflash: cpe
eraseonflash: hosd
eraseonflash: hyp
eraseonflash: radio
eraseonflash: recovery
eraseonflash: rpm
eraseonflash: pmic
eraseonflash: sbl1
eraseonflash: sdi
eraseonflash: tz
eraseonflash: rfg_1
eraseonflash: sp1
eraseonflash: cota
eraseonsoff: frp
eraseonsoff: absolute
erasepartition: ddr
erasepartition: carrier

FullStock Details:

07/09/2015 22:27 742,640 aboot_signed.img
07/09/2015 22:05 10,195,968 adsp.img
07/09/2015 21:55 585 android-info.txt
07/09/2015 22:27 76 android-info2.txt
07/09/2015 22:17 304,087,040 apppreload.img
07/09/2015 22:32 585 backup_android-info.txt
07/09/2015 22:09 899,016 bootloader
07/09/2015 22:27 36,438,016 boot_signed.img
07/09/2015 22:05 9,544 cir.img
07/09/2015 22:17 62,914,560 cota.img
07/09/2015 22:05 1,055,744 cpe.img
07/09/2015 22:09 9,011,200 dt.img
07/09/2015 22:16 11,056 dzdata_16g.hdr
07/09/2015 22:16 598,320 dzdata_16g.img
07/09/2015 22:16 20,160 dzdata_32g.hdr
07/09/2015 22:16 944,320 dzdata_32g.img
07/09/2015 22:17 23,952 dzdata_64g.hdr
07/09/2015 22:17 1,180,560 dzdata_64g.img
07/09/2015 22:09 742,640 emmc_appsboot.mbn
07/09/2015 21:54 17,408 gpt_main_32g.img
07/09/2015 21:54 17,408 gpt_main_64g.img
07/09/2015 22:27 39,006,208 hosd_signed.img
07/09/2015 22:05 66,578 hyp-8994-1.img
07/09/2015 22:05 1,572,864 modem_st1.img
07/09/2015 22:05 1,572,864 modem_st2.img
07/09/2015 22:09 4,341,932 persist.img
07/09/2015 22:05 5,484 pg2fs_ship_signkey.img
07/09/2015 22:05 39,286 pmic-8994-1.img
07/09/2015 22:05 52,954,112 radio.img
07/09/2015 22:12 2,134,654 ramdisk.img
03/09/2015 17:11 296 rcdata.img
07/09/2015 22:27 38,682,624 recovery_signed.img
07/09/2015 22:05 196,012 rpm-8994-1.img
07/09/2015 22:05 706,914 sbl1-8994-1.img
07/09/2015 22:05 35,168 sdi.img
07/09/2015 22:05 467,372 sensor_hub.img
03/09/2015 17:11 4,194,304 splash1.nb0
07/09/2015 22:05 49,189 tp_MXM11876.img
07/09/2015 22:05 63,004 tp_SYN3351.img
07/09/2015 22:05 531,858 tz-8994-1.img

NoWipe Details:

removed kernel (boot_signed.img, dt.img, ramdisk.img)

removed bloatware (apppreload.img)

removed wipe files (dzdata_xx.img and .hdr)

removed bootsplash (splash1.nb0)

replaced stock recovery with TWRP 2.8.7.1-B1

Note

: I have not personally tested the files, but they were put together in the usual manner

[MENTION=1102297]Sneakyghost[/MENTION] the entire collection is in this folder:

https://www.androidfilehost.com/?w=files&flid=38059
[One (M9) Android Development] Sneakyghost:
Thanks [MENTION=2605798]nkk71[/MENTION] for having my back while I get drunk and waste my precious time with doing nothing ;) (that is just half the truth. The other half is, I am once again pretty much run-over by the work-truck, can hardly breathe, need time to just recover, XDA is not a top priority currently).

I am seriously fed up with the M9's performance these days, not interested in putting any effort into it whatsoever. The performance has been so severely degraded the past version of system/firmware that its not even competing with my M7 or M8 I have here sitting side-by-side.

I will be doing the updating and packaging again once Android 6 gets rolled out to the public, also very much hoping to get my performance back eventually, when we get the big M. This device just sucks all day long currently.
[One (M9) Android Development] Chezbel:
What ROM are you using? I've been using leeDroid and my m9 is great, but maybe we use our phones differently. Enjoy doing nothing, I'm doing the same :)
[One (M9) Android Development] nkk71:
LOL that's a good one :p

Considering he's teamVenom's Beta Admin, there's a good chance :eek::eek::eek::eek: he's running ViperOneM9 :cyclops:

---------- Post added at 17:48 ---------- Previous post was at 17:45 ----------

no worries :o

just dont try to flash weird ruu's or firmwares in that state, did that a couple of days ago, and had a beautiful screen with lots of weird looking triangles on it :D:p:p
[One (M9) Android Development] Sneakyghost:
I am running stock. Viper would never lag. :p
[One (M9) Android Development] Chezbel:
LOL, I should have known that except I was "doing nothing". The only thing I like better about my M7 is the red color, my M9 is much better.

Edit: consider my silly comments as a "long time no see" comment :)
[One (M9) Android Development] jbfountain:
I don't think HTC did a good job with quality control on the M9. I've had 3 now. The first one ran good, but the screen cracked, and I had to replace it with my Uh Oh protection. The replacement was a dog. Lagged terribly, and I traded in on a S6 Edge Plus. I missed the ability to customize that I had with an HTC phone, so I bought another M9 but kept my Edge Plus. The new M9 I got is a beast. Every bit as fast as my Edge Plus, and so much faster than the other 2 M9s I had, and night and day over the M8 and M7 I had. I'm currently running stock T-Mobile rom with 2.11.531.19 firmware and ElementalX 3.08 kernel. It even runs cooler. I hope that HTC gets it together for the M9's replacement.

Using XDA to unleash the power of Android
[One (M9) Android Development] Sneakyghost:
Well how do you explain those differences between your 3 units? Sounds like my one HTC One M9 - first, when I got it, it was a beast. Then it turned average but the cam got better, then the performance bettered again and now, lately, it lagged terribly.

So, what did I do? Yesterday I carefully rebuild the phone's software installation from scratch. Firmware and ROM.

The lag is gone for now.

Your 3 units weren't different. Just software messed up.

That's the thing I never liked about Android - the longer you have a ROM running, the slower it gets. Frequent clean installs/flashes are needed to keep its performance up.

Usually it's neither firmware nor any specific ROM file causing misbehavior, just building up of old app data, cache and what not.
[One (M9) Android Development] jbfountain:
I would agree with you completely except for the second one which was a dog from the start, and there is a difference between the first and last one. I have noticed with custom roms you do have to clean install every so often to keep the performance up. I think it's from deodexing, because I don't have that issue with the stock rom if I only root and don't deodex, but where's the fun in that.

Cheers
[One (M9) Android Development] Sneakyghost:
Yeah whatever it is. By now I think I've identified the cause of my device acting up. It seems to be the sdcard which can't handle multiple threads accessing it. Cheap Toshiba card. I just ordered a (now cheaper) SanDisk extreme pro UHS-I card. Hope that solves it.

And with that I'm gonna return to firmware-only. Sorry for derailing my own thread :D
[One (M9) Android Development] nkk71:
OT, please keep this thread clean -_-

:p:silly::p:silly::p:silly:

;):angel:
[One (M9) Android Development] H89P:
Hey boys, I need little assistance here. Somehow I managed to mess up my aboot / bootloader.

I'm currently S-OFF, bootloader is locked.

The problem is when I try to boot into oem rebootRUU it shortly shows the HTC logo (grey on black) and then instantly boots back into the bootloader. Thus I got no chance to flash the firmware again.

Any ideas how I can fix this?

(I already tried the things you'd normally do in a situation like that, like wipe everything,...)

Gesendet von meinem HTC One M9 mit Tapatalk
[One (M9) Android Development] jbfountain:
Was that a typo or is your bootloader locked? If it is locked you need to unlock it.

Using XDA to unleash the power of Android on my S6 Edge Plus
[One (M9) Android Development] j to the 4n:
No need to rebootRUU.

just flash in download mode.
[One (M9) Android Development] H89P:
Hey Jan,

I'd do so but download mode is broken,...

Says it's can't boot into download mode,...

Gesendet von meinem HTC One M9 mit Tapatalk
[One (M9) Android Development] j to the 4n:
what about the sdcard method to update firmware.
[One (M9) Android Development] brockyneo:
hi guys i have SOFF and super CID and on the latest viper rom i wanted to go back to stock but leave SOFF And Bootloader unlocked ect i just want stock rom stock recovery and able to get OTAs

do i just follow the OP and all is done also am i best wiping everything in TWRP before flashing

thanks

---------- Post added at 07:22 PM ---------- Previous post was at 06:59 PM ----------

also reading the OP i was going to use full wipe stock but i need a rom to flash afterwards or something:confused:

does anyone know which one i need

thanks
[One (M9) Android Development] razorj7:
Hey everyone!

So I am having an issue with the htc_fastboot commands. I'm on Windows 10 trying to upgrade my Tmobile HTC One M9 from 2.10.401 to 2.11.531.19. I have installed the Batch Tool, and placed the firmware.zip file into C:/Android/com.

All the adb commands work. However, any htc_fastboot commands tell me that I am missing MSVCR100.dll and stops. I Googled what I could and found the file and placed it into Android/com. Then I got a new error that the program just can't start, something about 0000x0.

Help please!

Thanks!
[One (M9) Android Development] j to the 4n:
You need the "Microsoft Visual C++ 2010 Redistributable Package"

For 32 bit Windows: http://www.microsoft.com/en-us/download/details.aspx?id=5555

For 64 bit: http://www.microsoft.com/en-us/download/details.aspx?id=14632
[One (M9) Android Development] razorj7:
Hello!

Thanks for the reply!

I attempted to install the 64-bit version (I know my Windows 10 is 64-bit) but I'm getting an error. It tells me a newer version is already detected on my machine. When checking the "uninstall a program" area, I see I have quite a few "Microsoft redistribute" packages including 2010.

Damn... Anything else I should try?

Thanks!
[One (M9) Android Development] Sneakyghost:
In my batch tool is also the Microsoft Redist 2008 32 bits, which is required for the ARUWizard.exe but NOT for fastboot. This makes me think, you might need to install the 32 bit version (remember, this is a runtime and just picking the 64bit version because your OS is 64 might be short sited. The App which needs it might well be 32bit and thus require the 32bit runtime). It is a bit of a mess finding the correct package. It took me ages to figure that out for the ARUWizard.

I suggest you install HTCSyncManager (and then remove it again) - it should actually install everything you need to run ARUWizard and Fastboot. If it still doesn't work after that, you very likely have a different issue that only looks like a missing Redist package but might well be something else, in which case we cannot assist you here. Please do not use this thread for support with that issue then.
[One (M9) Android Development] razorj7:
So I fixed the issue with htc_fastboot by getting the 32 bit version, awesome!

However, no when I execute any "htc_fastboot.exe" command from the command prompt (using the batch tool), it just hangs there, and nothing happens. I didn't see this scenario in the forum so far searching through it. for example, I'll be in download mode (where it mentions not having the OPJAIMG.zip file) and I'll try to use "htc_fastboot.exe flash zip [filename.zip]" and it just hangs for days.

Help?

Thanks!
[One (M9) Android Development] Sneakyghost:
Like I said. Usually fixed by running the HTC sync manager installer to get the proper drivers and components like the Redist package. Have you run that installer yet? Because it might also just be a driver issue now.

And again like I said, if HTC sync manager installer doesn't fix it, it's beyond what I can support here.

Please also remember that Windows has changed the USB stack completely since Windows 8 and some older chipsets have issues with that, also older fastboot and htc_fastboot versions weren't able to deal with that. It might be a good idea to clean up your windows (remove everything HTC, update all chipset/USB drivers) and then run the HTCSyncManager Installer again (get the latest from HTC please) to have a fresh start.

If all that doesn't help, try on a different computer maybe.
[One (M9) Android Development] Sneakyghost:
Android 6 Marshmallow Firmware 3.35.401.10

Android Marshmallow firmware (not ROM) for HTC One M9 - Version 3.35.401.10 uploaded.

Please make sure you update to this or a newer 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.

You should also know that even though the base we worked off of is a "shipped" one, we expect the final shipping international base to be a newer firmware/rom version. That is how it was almost everytime. It won't be different this time. So, the patient people might want to hold back on this firmware and Viper ROM because there will almost certainly be a newer, more stable release from HTC in the coming weeks or months.

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.

Links to the downloads as usual in post #2.

Merry Christmas to everyone who celebrates that and the ROW: enjoy the holiday season, happy playtime.

Credits

Not sure but I think my working base originally came from [MENTION=494185]LlabTooFeR[/MENTION], so all credits to him. Thanks mate!
[One (M9) Android Development] DroidShift79:
I always get an error when trying to flash your full wipe firmware

C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>fastboot flash zip M9_3.35.401.10_FullStock_wipe.zip

sending 'zip'... (134612 KB) [isLargeZip: 0 fileCount: 1 / 1]

Sending... 10240 KB / 134612 KB

Sending... 20480 KB / 134612 KB

Sending... 30720 KB / 134612 KB

Sending... 40960 KB / 134612 KB

Sending... 51200 KB / 134612 KB

Sending... 61440 KB / 134612 KB

Sending... 71680 KB / 134612 KB

Sending... 81920 KB / 134612 KB

Sending... 92160 KB / 134612 KB

Sending... 102400 KB / 134612 KB

Sending... 112640 KB / 134612 KB

Sending... 122880 KB / 134612 KB

Sending... 133120 KB / 134612 KB

Sending... 134612 KB / 134612 KB

FAILED (status read failed (Unknown error))

C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>

cmd window is admin and i downloaded the file twice. any help ?

Nevermind, the htc_fastboot from your batch tool did the trick.

Thank you