yashsingh1/xdaforums huggingface dataset:
[One (M9) General] Flippy498:
Yes. Flashing instructions can be found in my google sheet. It's linked in my signature.
[One (M9) General] tron13:
thanks my friend, this im reading right now.

hope not something else needed.

its not problem that i have flash the last firmware and now i install this RUU?
[One (M9) General] Flippy498:
It would only be a problem if your phone was S-ON. In that case you wouldn't be able to flash that RUU. But with S-OFF firmware downgrades via RUU are possible.

Edit: I totally missed the fact that your MID doesn't match your SKU. Either you change your MID or you flash a dev edition RUU like the one from clsA's converting instructions. Besides you need to change your CID because the M9 doesn't accept OTAs when the CID is the SCID (11111111).
[One (M9) General] blocka:
Hi all

Just received the OTA for the next version of Android v6 Marshmallow and wanted to ask if anyone else had applied the update, if there were any hiccups with reverting to stock, applying the OTA, and re-rooting.

Cheers all.
[One (M9) General] Miguel_Lancaster:
*edited* can delete, sorry
[One (M9) General] tron13:
REALLY thanks to [MENTION=5872674]Flippy498[/MENTION] without him my HTC M9 will be dead because of my mistakes.
[One (M9) General] Flippy498:
If you know what to do then there are no hiccups. If you don't you can take a look at the instructions in my google sheet. The OTA should be installable without any problems if you do what the instructions tell you.
[One (M9) General] blocka:
Cool thanks for the reply. I haven't done a flash since the last update so my memory's a little vague. Have you a link to your instructions?
[One (M9) General] Flippy498:
Have you read the OP & Post #5 or my signature? :p
[One (M9) General] blocka:
:rolleyes:;)

Thanks
[One (M9) General] Tyler DeLarge:
Hi guys, I am sorry for this question.

I have LeeDroid with Android Lollipop.

I want to upgrade my phone to MM(custom rom) .

I don't want to buy for s-off because I will change my M8 with A9 in less than a month and I paid for M8 and an other M9 yet.

I don't understand if I have to flash official RUU and updrage with official OTA and after flash a rom with MM(what is the last ruu?) or if I have to do a nandroid backup(beacuse I see a lot of nandorid, but I don't understand what is the right)

I have HTC__405 with Android 5.1 and Sense 7
[One (M9) General] Flippy498:
What's your current firmware version? The "latest RUU" version depends on your SKU. Use fastboot getvar all and post the output (without IMEI and Serialnumber) here in this thread.

S-ON users can't downgrade or use RUUs for different SKUs than the one their phone got shipped with. That's why they need to use one of the backups to revert back to stock if there is no RUU for their current firmware version or a newer one.
[One (M9) General] Lilia.7:
I need recovery stock 3.35.401.12 HTC_001

Is there any link?

Thank you. :)
[One (M9) General] gregsarg:
Here ya go...folks...

From soldiers collection...g

https://www.androidfilehost.com/?fid=24352994023702875
[One (M9) General] blocka:
Hi ya,

Trying to get back to stock so I can take the OTA, when I boot into download mode, there's a message "SD CARD NOT MOUNTED" beneath a Security Warning message about flashing the phone with any ROM that was not officially released by HTC and taking the risk of a security breach yada yada yada and so I can't revert to stock via the 0PJAIMG.zip.

Any ideas?

Thanks all.....
[One (M9) General] Flippy498:
Yes, I have. Follow the instructions. :p All jokes aside, I assume your SD card is not formatted to fat32. Be aware that cards that are bigger than 32 gb normally cannot be formatted to fat32.

The good news: After you updated your phone to firmware 3.x the M9's Download Mode is able to mount exfat-formatted SD cards, too, so that the 32 gb limit gets obsolet and you'll never face this problem, again.
[One (M9) General] blocka:
I'm pretty sure I'm extFat. I'm in the process of backing up my SD card so I can mount it in Winbloze and re-format as FAT32.
[One (M9) General] itais:
Noob question applying OTA files

Hi,

I have an HTC M9 running 2.10.401.1 not rooted and S-ON,

I downloaded both OTA update files for Android 6.0 ,

How do I apply the updates ?

Is there a guide ?

Thank you in advance,

Itai.
[One (M9) General] Flippy498:
Why don't you use the update function in settings > about if your system is fully stock and not-rooted? Seems easier to me than downloading the files from here and flashing them via fastboot.
[One (M9) General] itais:
Because I get a message "No update available for your phone" ?
[One (M9) General] Flippy498:
Are you sure your phone is fully stock and that 2.10.401.1 is your real firmware version? Please use the fastboot command fastboot getvar all and post the output here in this thread. Delete the IMEI and the serial number before you submit the post.
[One (M9) General] itais:
Hi Flippy498,

This is what i get when running fastboot getvar all,

when in bootloader mode:

(bootloader) version: 0.5

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:cache: ext4

(bootloader) partition-size:cache: 0x14000000

(bootloader) partition-type:userdata: ext4

(bootloader) partition-size:userdata: 0x5e0000000

(bootloader) partition-type:system: ext4

(bootloader) partition-size:system: 0x118000000

(bootloader) serialno:

and When in Download mode:

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei:

(bootloader) version-main: 2.10.401.180 -> this is weird ... In About->Software Info->Software number shows 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: HTC__016

If there are still things that are missing i can probably get them gith CID Getter app ...

Thank you for you're assistance,

Itai.

p.s.

I tried to update via adb in the recovery ..... could that be the difference in software version ?
[One (M9) General] blocka:
Hi yeah I'm looking for the stock recovery for the firmware version 3.35.401.12 as well. I forgot to backup my OTA before I flashed.

Cheers.
[One (M9) General] Flippy498:
[MENTION=1348254]itais[/MENTION]: It's normal that you only get the correct output when your phone is booted to Download Mode.

The Problem is that it seems like parts of the OTA already got flashed whereas the rom didn't get updated. I'd recommend using a RUU in that case since we don't know which partitions got updated and which not. (Btw.: That's why I don't think flashing an OTA via cmd is a good idea if the phone can't receive the same update via the update function in settings > about.) Unfortunately there is no freely accessible RUU you could use as S-ON user. If no one else has a better solution there are only two ways to fix the situation:

Using this RUU Service.

Getting S-OFF and flashing the 2.10.401.1 RUU afterwards.

Unfortunately both solutions aren't free.
[One (M9) General] itais:
Hi Flippy498,

what option do you recommend ? In both cases my phone will be blank like after a factory reset right ?

i'll probably need to try and install the OTA files manually again :(

Do i only need to flash the firmware.zip file ? my be if i try to reflash it will fix the problem ?

in which mode dose the phone need to be for the command fastboot flash to work ?

Thanks,

Itai.
[One (M9) General] Flippy498:
I would get S-OFF. And yes your phone will get wiped.

As said before I do not recommend flashing the OTA manually. Only flashing the firmware is an even worse idea because the rom won't get updated this way. Rom and firmware need to match if you want to be able to use the build in update function. Besides roms can get buggy and glitchy if firmware and rom version don't match. (Nevertheless if you want to try again then your phone needs to be in Download Mode.)
[One (M9) General] blocka:
HI all,

Updated my device to Marshmallow no worries, unlocked the boot loader, installed TWRP, and rooted with http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133. Now on reboot it's stuck on the boot screen.
[One (M9) General] Flippy498:
Android M can only get rooted with SuperSU 2.64 or 2.65 (keyword: system-less root). Since no one contributed a backup yet and there is no Android M RUU you will need to flash a custom rom.
[One (M9) General] blocka:
Ah cool thanks!

Ok so now I'm in a bootloop post SuperSU installation.

Edit

Had to install TWRP twrp-2.8.7.1_CPTB-B1-hima and BETA-SuperSU-v2.65-20151226141550. then finally booted in to the OS.
[One (M9) General] itais:
Hi Flippy498,

Sorry for blasting you with all these questions but I'm in uncharted territory .....

Do i need to change the zip file name from OTA_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.180-2.10.401.1_release_464143.zip to something else ? and where is the recommended place to put it ? will the update start by it self ?

Thanks for the assist ,

Itai
[One (M9) General] Flippy498:
THIS IS NOT RECOMMENDED. IT'S YOUR OWN FAULT IF THE FLASH FAILS AND YOU NEED TO PAY FOR THE RUU SERVICE OR S-OFF AFTERWARDS TO BE ABLE TO FIX YOUR PHONE.

Those who are immune to warnings can click on the hide button.

No renaming needed. Simply put the file into your fastboot folder and use "fastboot flash zip OTA_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.180-2.10.401.1_release_464143.zip".

Edit: If you want a more detailed error output you should boot to RUU mode beforehand using "fastboot oem rebootRUU". You can exit that mode with "fastboot reboot" or "fastboot reboot-bootloader".
[One (M9) General] blocka:
I don't know what I've done. I was going to restore my NAND and I wiped the system etc prior to restoring. But now in TWRP I can't mount my ext SD Card which has my NAND image so I can't restore. When I select the sdcard TWRP just wont accept it.

Correction when I try to do the restore I can select MicroSD Card but when selected there are no images that aer selectable to restore. From the file manager I can browse and see the backup. Help, Help, Help.....

I've also reformatted the SD Card with exFAT and copied everything back on.

I don't suppose the RUU is available for 3.35.401.12???

Help :crying:

EDIT

hmmmm

I moved the TWRP folder to the root of the SD Card and hey presto there it was. I'm confused to say the least.
[One (M9) General] aryan_rulz_1983:
Unable to Update MM OTA

i am s-on relocked 401 europe installed the pre MM update installed success, after tht tried all the above mentioned steps unable to flash main MM OTA manually, zip header error when tryin to flash under oem rebootRUU, when installing frm stock recovery it finishes a few processes & then reboots with htc startup tone but nothing after tht please help me

---------- Post added at 11:14 AM ---------- Previous post was at 10:48 AM ----------

Guys plz help need TWRP system.img untouched for MM europe 401 plz upload & help currently with no system to boot to & firmware updated to MM, unable to flash 5.1 RUU rom.zip some space low error
[One (M9) General] itais:
Good morning Flippy498,

I went into RUU mode,

Then I did the fastboot flash and this is what I got :

(bootloader) HOSD CL#

(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP header

(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22

(bootloader) ERR Update zip file failed.

(bootloader) ERR ZIP ERROR, exit read zip loop

(bootloader) ERR ZIP signature checking failed...

(bootloader) ERR ZIP ERROR CODE, 22

(bootloader) end@Done

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

This is after I switched my 64GB microsd card with an 8GB card that i formatted with my pc to fat32 and checked the MD5 sign,

Whats the prognosis :(

Thank you in advance,

Itai

p.s.

Do you think i can try and install the 2nd update ?

OTA_HIMA_UHL_M60_SENSE70_MR_HTC_Europe_3.35.401.12-2.10.401.180_release_464237.zip

The firmware is 401.180 ..... so could this work ?
[One (M9) General] truongsygiang:
Hi Flippy!

Can you help me? My telephone M9 international but htc_059 Os 2.11 and i cant search stock recovery for my phone. please help me.
[One (M9) General] Flippy498:
[MENTION=1093213]aryan_rulz_1983[/MENTION]:

That's why I said it's not recommended to manually flash OTAs. Congratulations for ignoring everything I wrote during my discussion with itais. You can't use RUUs with S-ON which have a lower firmware version than your phone and until now there is no Android M RUU. Look for the post with the RUU service link or flash a custom rom, get S-OFF and flash the 2.10.401.1 RUU afterwards. I wouldn't recommend restoring a backup since we don't know which partitions got flashed and which not.

[MENTION=1348254]itais[/MENTION]:

As said before: We don't know which partitions already got updated and which not. You should flash a RUU to be on the safe side. Either use the RUU service or get S-OFF and flash the 2.10.401.1 RUU.

[MENTION=6972427]truongsygiang[/MENTION]:

I need to know your full firmware version. What's the rest of 2.11.xxx.xx?

[MENTION=5031986]blocka[/MENTION]:

Have you tried to restore one of my backups or was it one you created or where did you get it? And did you face those problems because you tried to restore it on your own or did you skip one of the steps in my instructions in the google sheet or is one step not clear enough?
[One (M9) General] blocka:
Hi, no it was a backup I took after taking the OTA update to Marshmallow. What caused it, I'm not sure but like I mentioned using the file manager in TWRP I moved my backup to the root of the SD card and I was able to restore.

I've installed my Apps, Rooted et al and want to take another NAND before I go ahead and install Xposed but when I try the backup I'm getting ERROR=255 when backing up system, I'm using twrp-2.8.7.1_CPTB-B1-hima.img. Any thoughts?

BTW do you have a TWRP NAND for 3.35.401.12?
[One (M9) General] Flippy498:
Sorry, I don't know error 255 since I've never seen it before.
[One (M9) General] truongsygiang:
My full firmware 2.11.425.7 Thanks U so much
[One (M9) General] Lilia.7:
Hii.

This link, download it :)

https://www.androidfilehost.com/?fid=24352994023702875
[One (M9) General] Flippy498:
[MENTION=6972427]truongsygiang[/MENTION]:

Unfortunately no one has contributed the recovery for that version yet and at the moment I don't have the time to flash the corresponding firmware for extracting OTAs and the files they contain (recoveries, boot images, firmware packs).

[MENTION=7232556]Lilia.7[/MENTION] & [MENTION=5031986]blocka[/MENTION]:

That link can be found on the first page, too, since gregsarg posted it here in this thread some days ago. ;)
[One (M9) General] SoLdieR9312:
My TWRP Backup 3.35.401.12 Read Only (still able to get OTA Updates):

HIMA_UHL_TWRP_Nandroid_3.35.401.12_Read_Only
[One (M9) General] aryan_rulz_1983:
[MENTION=5872674]Flippy498[/MENTION] thanx a lot for replying, & my bad missed tht discussion about not flashing OTA's manually, i installed ARHD 20.0 to check if the firmware ws flashed properly it booted, later flashed lollipop twrp system img as read only, booted again & voila it did boot as well as it showedd 401.180 pre update again, updated if fine this time auto update via system. working fine now, thanx again every one & welcome to marshmallow
[One (M9) General] Flippy498:
I'm glad to hear that you could fix the problem this way. :)
[One (M9) General] aryan_rulz_1983:
[MENTION=5872674]Flippy498[/MENTION] a quick question wht if someone has s-off can they install OTA manually by recovery or fastboot, or it it better to lower down the firmware version & then download & install the OTA on phone itself
[One (M9) General] Flippy498:
The safest solution is to use the update function in settings>about. The difference between S-ON and S-OFF is that S-OFF users can stay unlocked if they want to flash OTAs via fastboot. This way S-OFF users are always able to recover TWRP backups whereas S-ON users might not be able to re-unlock in some cases. (Using the build in OTA function doesn't require a locked/relocked bootloader, btw.) Besides if the flash fails S-OFF users can always flash a RUU (even if it has a lower firmware version than their phone) to repair the partitions whereas S-ON users might not find a RUU that corresponds to their current firmware (which is often the version of the update). Another alternative to flashing RUUs or OTAs (for S-OFF users only) would be flashing Sneakyghost's firmware packs. They can be described as RUUs which lack a rom and HTC's signature.
[One (M9) General] joe-khalil:
i have htc m9 europe(uhl), i was rooted and i have twr recovery. i got an ota update for 6.0 so i searched and i found that i need to unroot so i unrooted the phone and everything worked fine but should go back to stock recovery?? or can i update normaly?
[One (M9) General] Flippy498:
Unrooting is not enough. You need to restore a stock TWRP backup that corresponds to your current firmware version or to flash a RUU for that version (if there is one). Otherwise security checks will abort the update.
[One (M9) General] blocka:
Thanks.
[One (M9) General] itais:
Good morning Flippy498,

I just wanted to say thank you :good::good:

I eventually went with the RUU Service.

Best $27.5 i spent ;)

He (or She) has a full RUU of Android 6.0 in his Google drive so the download went smooth.

I didn't go with the S-OFF because i was unable to download the Android 5.1 RUU without errors :eek:

And i was afraid i'll brick my phone, So the RUU Service was my best option :good:

Thank you again for all you're help, assistance and patience :angel::angel:

Best Regards,

Itai.
[One (M9) General] Zocker1012:
Any news about TMOB101 Ota?

Gesendet von meinem Toaster/M9
[One (M9) General] joe-khalil:
Hey,

I am getting ota updates that i can donwload and install but i have custom recovery, can i do the updates normaly? Or should i return to stock recovery?
[One (M9) General] 5m4r7ph0n36uru:
For the OTA to be installed successfully stock recovery is needed as well as an untouched system partition.

Meaning that if you rooted your phone after flashing the TWRP the OTA will not succeed even if the corresponding stock recovery will be flashed. In this case you got to restore the system partition using an untouched system.img prior to flashing stock recovery.

Send by the swarm intelligence of my coffee machine (AKA HTC One M9).
[One (M9) General] abbas_392003:
Hello, I've downloaded this zip

(0PJAIMG_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.1_Radio_01.04_U11440601_71.02.50709G_F_release_signe

d.zip) and this site(www.androidfilehost.com). And 8 to files inside it.

1-android-info.txt

2-boot_signed.img

3-dzdata_16g.hdr

4-dzdata_16g.img

5-dzdata_32g.hdr

6-dzdata_32g.img

7-dzdata_64g.hdr

8-dzdata_64g.img

Why is it that way? Not installed. What should I do?
[One (M9) General] SheitSheit:
Did you resolve your problem ??? If Yeah How did you do ? :)
[One (M9) General] Abaddon:
since no one shared the files I need. I decided to s-off the M9 then flashed a full RUU. specifically the dev ed. then sold it a day after[emoji14]
[One (M9) General] Zocker1012:
Any news?

Gesendet von meinem Toaster/M9
[One (M9) General] exocetdj:
That can be done. Make a data only backup in twrp and restore when the update is sorted. Good thinking. :good:

Stick around mate. I have learned a few m9 things lol :good:
[One (M9) General] exocetdj:
[MENTION=5888345]snowfree52[/MENTION] read above mate. Ask this guy for help if u get stuck. I have become rusty since my leg break. I will post some tutorials later with what I have learned. Got physio now. Back later
[One (M9) General] snowfree52:
Thank you very much to both of you !

I am backing up system, cache and data using TWRP righ now.

will report later

---------- Post added at 11:24 AM ---------- Previous post was at 11:05 AM ----------

So, is this file the file I need to flash system : https://www.androidfilehost.com/?fid=95916177934553346

If I flash it, will I loose my data ?

I remember there was a way to flash only system, without touching the data partition, do you guys know ?
[One (M9) General] Nima78600:
I think that is right to use this link to restore to stock back up without losing your data.

For more information go ahead to the link below and go to post 3 and read question 8

http://xdaforums.com/one-m9/orig-development/recovery-twrp-touch-recovery-t3066720

---------- Post added at 07:51 PM ---------- Previous post was at 07:46 PM ----------

When you downloaded the back up file you should see "system.emmc.win" file that you need to flash via twrp.

I think the command is" fastboot flash system system.emmc.win "
[One (M9) General] Sameh mohamed:
My CID is HTC__J15

I am on 1.32.401.17 , Viper One rom and S-ON what should i do to update to the latest firmware?
[One (M9) General] Nima78600:
You can either use new custom roms that are already upgraded to 1.40.401.8 and flash the firmware manually, or flash stock rom and get ota automatically.
[One (M9) General] mattlovell90:
Hi guys,

Sorry to keep banging the same drum.

Trying to return to stock to get OTA. on 1.32.401.17, S-On. Flashed RUU, then stock recovery. Bootloader reports modified system and Unlocked still.

Is this normal and is it going to stop me getting OTA?
[One (M9) General] Nima78600:
Not sure, but you can try to get ota, if installation of ota failed then flash stock rom using sdcard method as in this method system status will be official. Don't worry about unlocked bootloader.
[One (M9) General] mattlovell90:
Thanks, can I do this as S-On though?
[One (M9) General] Nima78600:
Yeah as my experience even if ota installation fail, nothing happens and you can reboot your device.
[One (M9) General] mattlovell90:
Ok, I'm not getting any OTA notification. I'm on Three UK and CID HTC__001, I am right in thinking I should have it by now?

If I try want to flash stock rom through sd card method do I need the OTA from the first post in this thread or do you mean TWRP backup?

Sorry - having a brainfart
[One (M9) General] Nima78600:
Firstly ensure that the ota update for your region and cid is available,

Because even if your system is not official still you should be able to receive ota update but it can't be installed.

Secondly, if you want to use sdcard method you need 0PJAIMG.zip that can be found in the link below.

http://androidruu.com/?developer=M9

After downloading your rom rename it to "0PJAIMG.zip" and put it in your sdcard and put your phone on download mode, confirm to flash the rom and you will be on completely stock rom.

Note that your sdcard should be 32 GB or less.
[One (M9) General] mattlovell90:
Ta muchly. Perhaps its just not available in my region yet. Either way it looks like my 64GB sd card has just ended my fun :P

Might be time to just S-Off I think!
[One (M9) General] Nima78600:
Of course getting s-off is better.

I also had the same cid and .17 rom but didn't receive ota update and I changed my cid to HTC__J15 to get the update.
[One (M9) General] mattlovell90:
Odd, seen somebody in another thread reporting that they got the update in London.

Only other way for me to remove modified status is flash TWRP, nandroid backup then back to stock recovery?
[One (M9) General] exocetdj:
you can partition your sd to fat32 using a third party pc program like easeus partition master and a card reader. i have a sandisk 64gb card and managed to flash a ruu from it the other day. windows cant and won't format anything to fat32 above 32gb for whatever reason

only downside is waiting hours to copy and restore files if you have shag loads of crap on it like me lolol
[One (M9) General] snowfree52:
Does that mean it's useless for me to try what I wanted ?

(flash system from TWRP save , then flash stock recovery, then install the OTA)