yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] Sneakyghost:
My zips are always full updates of every partition. The "NoWipe" version is meant to not erase data and not touch kernel and give you a current TWRP but apart from those, still give you a full update.

In that logic, do you see any reason NOT to use the NoWipe? Like explained before, when switching carriers or having the need for properly reformatting your data partition, its good to use the fullwipe. Other than that, there's really no need to wipe.
[One (M9) Android Development] Adam182:
It seems very strange your the only hero offering this option, i presumed people would be crying out for this nowipe method - Adam
[One (M9) Android Development] Adam182:
Im going to try this on my 1.32.401.17 based ViperOne 1.3.0 Rom'd M9 today - Adam
[One (M9) Android Development] Black-FR:
[MENTION=1102297]Sneakyghost[/MENTION]

Thanks for the great work here.

Your noWipe-Firmware 1.32.401.17 worked flawless.

Today i tried to get back the "Software status official", in the bootloader.

Normally it did work, if you flashed a RUU.

On the M9 it´s slightly different.

The software status won´t change, if you flash the ruu manually in the download mode or in the bootloader.

It works only, while you flash the RUU-ROM.zip, via sdcard method.

(rename ruu zip to 0PJAIMG.zip and place it on your external SD then boot into download mode and start flashing)

Edit:

If i remember correctly, then [MENTION=4174733]Behold_this[/MENTION] was able to get back the offical status, via a official RUU.exe, but as there aren´t any RUU.exe available for WWE, i wasn´t able to test that.
[One (M9) Android Development] Chezbel:
Well, there is another way to change that text back to Official, but Sneaky might prefer not to have such discussions in this thread.
[One (M9) Android Development] caanda45:
Sneakyghost on the Androidhost`s site where you sent me for the RUU`s....http://androidruu.com/?developer=M9 do those files include the return to full stock with stock recovery? That is my assumption, and s-off stays as s-off and the bootloader stays unlocked? Would I have to change my cid back to the original Bell one if I flashed it? This is a full return to stock? And I would flash in download mode?

Thanks...just need some clarification.....

One last question or assumption...so it looks like all the Canadian variants are basically the same firmware or a derivation off the AT&T one? Looks like that to me, all have the same radio in the signature and the changes must be just the bloat they package with their rom??

Lots of questions...thanks in advance.....well off to work I go....somebody has to work on a Sunday!

---------- Post added at 11:28 AM ---------- Previous post was at 10:57 AM ----------

So if the software status is not official they going back to stock won`t allow any ota`s? That is my assumption, any thoughts on this?
[One (M9) Android Development] Black-FR:
The 1.32.401.15 ota, was installed without issues.

But the 1.32.401.17 ota worked only, after I flashed the RUU.zip, via SDcard method.

So i´m not sure, if it´s related to the tampered flag or the way, how to go back to stock.

Overall we could say, the M9 is very different, from the previous HTC devices :D .
[One (M9) Android Development] mick_soul:
Starting from fastboot flashing the RUU 1.32.401.8 with CID HTC__J15 the OTA 1.32.401.15 and afterwards the OTA 1.32.401.17 installed successfully on my S-OFFed M9 with unlocked bootloader and "software status: Modified".

Since S-OFF is available you only need to flash the NoWipe Firmwares from Sneakyghost :D

The NoWipe Firmare is easy to handle and does not wipe your M9 at all.
[One (M9) Android Development] caanda45:
Thanks, that is interesting, so I went back to stock using my TWRP first back-up (using CaptainThrowbacks TWRP Method to get back to stock to do a ota) It flashed successfully downloaded the ota and it would not flash as the message was that my system was modified...now I was going back to my Canadian variant stock to get the camera/heat ota update. In the end I threw my hands up and flashed the AT&T wipe back to stock from sneaky`s list. I got the camera/heat update that way, from what I can tell it is the same radio in all the North American GSM/LTE providers. I am on Leedroid and have not had any issues on firmware rom mismatch at this time.

Yes I agree very similar in some circumstances and then very different in others!!!!
[One (M9) Android Development] Sneakyghost:
I just went over to [MENTION=3437245]scotty1223[/MENTION]'s thread because that man is a genius and hard worker and a nosy dude. I prefer not to discuss his method here but it's something everyone can benefit from and the stuff he found out is well worth an entry in my info posts. Its very good background knowledge to anything firmware related.

I have learned a TON of stuff today and am currently sorting all that into a new idea about the M9 firmware. I think I am beginning to slowly understand the M9 and how its set up and stuff. I'll write everything up once its clearer.

In the meanwhile, visit Scott1223's thread and see what he found out. If you haven't yet, that is (directed at everyone, not Chezbel).
[One (M9) Android Development] Sneakyghost:
You cannot restore a Stock Backup with TWRP and take OTA's, that should have been clear reading the TWRP thread. You need to extract the system.emmc.win from the Backup and fastboot flash that.

Restoring that with TWRP would break system integrity the moment TWRP finalizes the Restore, because it mounts System R/W at the end of the restore. This is what breaks the integrity / checksum of system on the M9. This is whats new on this device. On previous devices, simply mounting system in R/W mode was not altering its checksum. Now it does. So, TWRP restore is useless for getting HTC OTA's.

I suggest you move over to the TWRP thread and read up on that there.

[EDIT]

Notice to those interested: Apparently, after some testing, the Splash Screen partition (mmcblk0p15) behaves similar like the pg2fs partition [MENTION=3437245]scotty1223[/MENTION] is working with. It is impossible to write a splash screen using the DD method in Android or in TWRP. Neither by means of directly addressing the block nor by using the "By-Name" method. It is also not working in Download Mode flashing it directly (the command "fastboot flash sp1 nameofsplashimage.nb0") - it can be flashed in Download Mode by zipping it into a firmware.zip though.

This means [MENTION=1293920]touch of jobo[/MENTION]'s nice online Splash Screen Generator is not gonna work (He gave me a test-version already which failed) because there won't be a way to change your Splash in recovery anymore.

Everyone will need to flash Splash Screens in Download Mode/RUUMode as a ZIP or in Bootloader as a direct partition flash now.

I am fixing my Batch tool to take that into account.
[One (M9) Android Development] Sneakyghost:
Are you up to some troll wrestling? :D
[One (M9) Android Development] Scabes24:
lol well that would be somewhat of a conundrum for me, as if I were to win (which I would, by a landslide, you just can't beat my informative sarcasm that slowly and silently goes off topic... followed by useful advice out of no where to make up for it - troll science) it would make you look good for not trolling too hard in your own thread, if you won (lol) it would make me rethink my entire strategy here at XDA... ??
[One (M9) Android Development] ogevilmike69:
eh? I said in the above part that I can't flash again because it won't go to bootloader or download mode or anything. even if I push the appropriate vol button combinations, it just shows the different color of boot logo for about one second then restarts. I can only get to the white screen. But thank you bro for trying to help me... I just wish it would work..
[One (M9) Android Development] jbfountain:
Have you tried holding the volume up and power continuously to see if it will boot into htc FTM mode? If it will there is a option for reboot bootloader. If that won't work I believe that you screwed up the ABOOT.

Using XDA to unleash the power of Android on my S6 Edge Plus & HTC One M9
[One (M9) Android Development] ogevilmike69:
sad day.. I tried the FTM mode a few times, and I dont know of anyway to fix the ABOOT :( thanks for the advise bro.
[One (M9) Android Development] Sneakyghost:
Ha. You won already. I had to research the endless list of meanings for "conundrum" and yea, it has honored its name. It remained a riddle to me and so did your post. I guess I bow before thee, troll king, and last but not least, bid you farewell. ;)
[One (M9) Android Development] ThePhoneGeek:
[MENTION=1102297]Sneakyghost[/MENTION] With updates coming this week for TMOUS and Verizon M9s can you advise what steps someone should take to pull the OTA file and submit to you or knowing that you may be busy is there a process we could learn to create our own no wipe firmware?

If you've articulated this in the past my apologies as I am not finding it in my search of the this thread.

PG
[One (M9) Android Development] blueberry60:
[MENTION=1102297]Sneakyghost[/MENTION]

Can I flash 3.35.401.12 combined firmware.zip that includes TWRP.img to bypass HTC-Dev Unlock process if my device is on the 2.10.401.1 firmware base as being S-ON and LOCKED position?
[One (M9) Android Development] donmarkoni:
If I may...

What part of: "This thread is meant for S-OFF phones" didn't you understand?

If you are S-ON, your only option is to restore stock, then take official OTA updates. After that you can unlock via HTC-Dev, flash TWRP and ViperOne ROM afterwards.
[One (M9) Android Development] blueberry60:
My device is already S-OFF and I know the process that you told about, but I only want to learn could it be possible to gain root after flashing combined firmware,so S-OFF with Sunshine and unlock bootloader with [MENTION=221956]Scotty[/MENTION]1223 method without needed HTC Dev Unlock?
[One (M9) Android Development] donmarkoni:
Well, now, if you are S-OFF, you can flash [MENTION=1102297]Sneakyghost[/MENTION]'s FW and unlock via [MENTION=3437245]scotty1223[/MENTION]'s method.
[One (M9) Android Development] ThePhoneGeek:
For anyone that would like to extract firmware and such I've pulled the two OTA zips for the latest TMOUS update.

First one is 2.11.531.19 to 2.11.531.180 update and is located here:

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

md5 cdbe58747f08ccfdcd87baa46af182a9

The second one is 2.11.531.180 to 3.39.531.7 update and is located here:

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

md5 818a725a53d057f63c3c2b66e266289b
[One (M9) Android Development] Tyler DeLarge:
i am trying fo flash rUU but when i do:

fastboot flash zip Firmware.zip

PS: Firmware.zip is the firmware that i want fo flash

it gives me this output:

fastboot flash zip Firmware.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2435445626 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2435445626 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2435445626 is not a multiple of the block size 4096
OKAY [ 1.005s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_t
(bootloader) sJI9G
[One (M9) Android Development] donmarkoni:
You have proven yourself to be incapable of following even simpler tasks, not to mention more advanced.

No one wants to help you any more. Go away. You have been told numerous times that you are not welcome.
[One (M9) Android Development] Rogi1997:
a ruu is not a firmware

ruu: full system including rom, firmware, ... etc. . You can flash these zip files in fastboot mode (google for 0PAIMG)

firmware: is only one part of a ruu, when you are s-off you can flash firmwares via cmd ( look OP)
[One (M9) Android Development] blueberry60:
Ruu and firmware names are not important but you must use a different fastboot below that:

HTC_ADB_Fastboot

type command as:

htc_fastboot flash zip ruu.zip
[One (M9) Android Development] Tyler DeLarge:
i have some doubts!

I have to flash new firmware beacuse I want to install MM-based Roms such as new Viper.

i am trying to flash this: https://www.androidfilehost.com/?fid=24345424848486508 according some memebrs said me. but now, if I am understanding what you say, I don't need to flash that right?

can you link me what i have to flash? beacuse i am confused.

fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei: ***************
(bootloader) version-main: 2.10.401.1
(bootloader) boot-mode: download
(bootloader) version-baseband: 01.04_U11440601_71.02.50709G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: 11111111
all:
finished. total time: 0.004s

now, I am on Linux and i have no possibilities to execute .exe files. I found adb and fastboot but i don't find htc_fastboot for linux
[One (M9) Android Development] xunholyx:
Take that download, and rename it to 0PJAIMG.zip (if you do it on PC, the .zip file extension may hidden, so rename it to 0PJAIMG only). Put it onto your SDcard (formatted to fat32) and boot into bootloader. The process will/should happen automatically.
[One (M9) Android Development] blueberry60:
Do you want to flash RUU or firmware ? If it is RUU you have to flash 3.35.401.12 RUU:

3.35.401.12 0PJAIMG

You can flash both firmware and 0PJAIMG zip files via 0PJAIMG method.

Rename zip file as 0PJAIMG.zip and copy it to microsd card as formatted FAT32,flash it from download mode with Volume UP.
[One (M9) Android Development] donmarkoni:
Congratulation [MENTION=1102297]Sneakyghost[/MENTION] on 1000th post! Much of it is useless crap, but you are a really good chap! :)
[One (M9) Android Development] blueberry60:
Yes, you're definitely right,but he is in a ​bit of a hole.
[One (M9) Android Development] Tyler DeLarge:
sorry but:

I downloaded linked file zip.

I put it on my external micro SD formatted in fat32 .

i go into folder which contains adb-fastboot-etc and 0PJAIMG.zip file.

I do:

sudo fastboot flash zip 0PJAIMG.zip

and terminal gives me this output:

fastboot flash zip 0PJAIMG.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2435445626 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2435445626 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2435445626 is not a multiple of the block size 4096
OKAY [ 1.005s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_M
(bootloader) ZEMu4

and it don't go on. it is stopped at this point...

i am searching but I don't find solution
[One (M9) Android Development] blueberry60:
Why are you showing ear from the wrong side ? You shouldn't have done in this way.You must boot your device to download mode and it will see your 0PJAIMG zip file and press Volume UP to flash.

If you want to flash with fastboot method you have to use different fastboot folder that I've shared above and if you renamed it as 0PJAIMG and copied it to fastboot folder please type as below that :

htc_fastboot flash zip 0PJAIMG.zip

and re-type same command after first process.

It's a bit diffucult to flash RUU from Ubuntu or Linux, you need a different htc fastboot file that [MENTION=1102297]Sneakyghost[/MENTION] have shared it before,but I couldn't find it now.
[One (M9) Android Development] Tyler DeLarge:
I am sorry but I am tring this.

I copyed 0PJAIMG.zip into external micro SD and also into internal SD.

After: POWER-REBOOT-REBOOT INTO DOWNLOAD MODE

but now I don't know what I do, beacuse nothing happens automatically

thank you for patience
[One (M9) Android Development] blueberry60:
Please check zip file extension it could be 0PJAIMG.zip.zip by mistake.
[One (M9) Android Development] Tyler DeLarge:
No, i am sure that there is only one .zip

I don'tunderstand why I have this problem.

Thank you
[One (M9) Android Development] Aldo101t:
you need an sd card smaller than 32gb.(I should say 32gb or smaller)

It doesn't start automatically, at the bottom of the screen(in download mode)it tells you if it detects the 0PJAIMG file if it did it will ask you to press volume up to continue.
[One (M9) Android Development] Tyler DeLarge:
I have a 64Gb SDcard. I don't have possibility to get smaller sdcard..

So the only method is that from PC?
[One (M9) Android Development] 3ll!o7:
Hi, I am a new member :)

I have similar problem because I don't have an external micro SD and I am using Linux. I didn't find htc_fastboot , I tried to use the version for Mac but it seems not working.

Has anyone a solution for Linux users?

Thank you
[One (M9) Android Development] donmarkoni:
Guys offered you not one, but two solutions, hoping that you will be done and gone, but no, you don't have prerequisites for either... So, now you expect someone to invent a solution for YOUR PROBLEM. Guess what, it's YOUR PROBLEM, if you don't engage in solving it, don't expect everybody to endlessly spoon-feed you.

Same goes for you, just with a little softer tone, because you're new. ;)
[One (M9) Android Development] blueberry60:
This fastboot Linux that [MENTION=1102297]Sneakyghost[/MENTION] used might be useful :

fastboot_Linux_2.0.0.7z
[One (M9) Android Development] ThePhoneGeek:
[MENTION=1102297]Sneakyghost[/MENTION] I am using both Windows 7 and Linux and would like to understand what is necessary to create the no wipe firmware zips. I have both the latest updates for TMOUS and would like to learn.

Thanks for the help.
[One (M9) Android Development] davm7488:
For the life of me I couldnt get through the the instructions in the OP because of the dreaded error 32. After changing the MID and rezipping it bombed every time no matter my settings.That's until I stumbled on the ability to edit the Android-info.txt from inside the archive..

I used the following:

7zip 15.14

Notepad++ 6.8.8

M9_3.35.401.10_WWE_NoWipe_TWRP_2871b1

YMMV, but I was able to edit file inside the archive and then flash as the tutorial suggested.
[One (M9) Android Development] guyverzero:
Once/if you do, please share. Looking forward to getting 4.3 running with the new tmous firmware, but don't wanna do an RUU unless it's really necessary
[One (M9) Android Development] ThePhoneGeek:
Will do... I have the firmware zips themselves but not sure how/what to do with them to make them no-wipe. That and I am having one hell of a time with one of my M9s getting it updated w/o problems but that's a subject for a different thread.
[One (M9) Android Development] nishu_nisarg:
Hello.. I am having this firmware might be useful for someone. As i buy this unlock second hand phone. So don't have idea. Can anyone tell me. If my reply is at wrong place then i m saying sorry in advance. Will remove if it's not proper to subject.
[One (M9) Android Development] donmarkoni:
You have been said in the thread you opened (it was you, right?) that it is nothing special.

So, it is nothing special, but thanks for offer, sharing knowledge and resources is in XDA spirit.
[One (M9) Android Development] nishu_nisarg:
No this is my first post in this group i was using galaxy s6 and nexus 5. So i was active in that forms now i will active here now
[One (M9) Android Development] Minnesinger:
Are you getting the '22 RU_Header' error? I'm trying to update the FW on my Dev Ed to TMoUS and no luck. I've written the mid/cid to TMo, s-off, and I can't get any of the flashable zips with the latest MM TMo FW ('22 RU_Header Error') or the full RUU to take ('155 Unknown Error'.) I don't see 22 listed in Sneaky's error code index, either. Kind of at a loss as to how to remedy.

Oh well, at least the new Viper 4.3 works on my phone... but it sure would be nice to have VoLTE and WiFi Calling...
[One (M9) Android Development] ThePhoneGeek:
You can flash the full firmware and then flash Viper 4.3 and should be fine. My problem was I have one device where WiFi is cutting in and out.
[One (M9) Android Development] Minnesinger:
Actually, I can't.

If I try and flash the full M9 MM TMoUS RUU, I get a '155 Unknown Error' just as this person here has.

If I try and flash just the firmware -- either fastboot or OPJAIMG -- I get '22 RU_Header Error'.

As mentioned, though I'm on a Dev Ed, I've written the mid/cid (thanks) to TMo: 0PJ12000/T-MOB010
[One (M9) Android Development] jbfountain:
Your MID should be 0PJA12000.

Using XDA to unleash the power of Android on my HTC One M9 and S6 Edge Plus
[One (M9) Android Development] Minnesinger:
Okay, this is hilarious.

In the post you're responding to, I simply mistyped and omitted the 'A' in the mid. However, that got me thinking: what if I mistyped when I actually wrote the mid in fastboot? I did.

Instead of 0(zero)PJA12000, I typed O(oh)PJA12000. The full RUU is flashing as I write...

I've exhausted my bonehead quota for the day. Thanks to you & PhoneGeek for your responses.
[One (M9) Android Development] jbfountain:
When I saw what your errors were I knew you did something wrong with the MID or CID so when I saw the A missing I figured that was it. I'm glad it got you thinking though and you were able to resolve the problem.

Cheers:thumbup:

Using XDA to unleash the power of Android on my HTC One M9 and S6 Edge Plus
[One (M9) Android Development] Miguel_Lancaster:
Did the same thing last month and it drove me crazy. Felt like a knucklehead two hours later when I finally noticed the stupid mistake.
[One (M9) Android Development] ThePhoneGeek:
Sorry fell asleep and didn't see your earlier response. Glad you got it sorted but I think we've all mixed Os and 0s at least once.
[One (M9) Android Development] techking123:
Hey there,

I have a Micromax AQ4501, during flashing Custom ROM I think I made some mistake or selected improper ROM so my phone is not getting ON, it just shows the logo and that's it.

No recovery menu or any other option is available now, only fastboot mode is working...

Can u help me to solve this issue and recover my phone...?
[One (M9) Android Development] Black-FR:
Whatever a Micromax AQ4501 is... it's definitely no HTC One M9, and this means, that you are here in the wrong thread and in the wrong sub forum...

Gesendet von meinem HTC One M9
[One (M9) Android Development] Leebert225:
Good day all,

Just wondering if the 3.xx firmware for the AT&T is available yet? I checked the spreadsheet and HTCs download site and I don't see it so I assume no, but I figured I ask just in case I'm missing something.

Thanks.
[One (M9) Android Development] Sneakyghost:
He is indeed.