yashsingh1/xdaforums huggingface dataset:
[One (M9) General] exocetdj:
OK I was under the impression his system was completely stock.

Best bet is to backup his data with titanium which requires root and return to stock, sort update then restore data once rerooted.

I'm going to set up a q&a thread for this I think
[One (M9) General] exocetdj:
U will have to backup ur data with titanium backup then return to stock and sort your ota out then reroot and restore data via titanium in that case
[One (M9) General] Nima78600:
Actually his system is not completely stock due to htc has changed something on m9.

As It's device is already rooted it's easy to back up using titanium or even using twrp.

Now he just needs to find proper rom and flash it.

I'm not sure but I think it's possible to after flashing new rom and installind ota update, he can root his device again and flash his data through twrp.

What do you think?
[One (M9) General] Flippy498:
There is no need to lock or relock if you want to install OTAs. If the backups contains a stock, not-rooted and read-only system image and the stock recovery then you can use the instructions in my google sheet and all should be fine.
[One (M9) General] clsA:
Good to see you posting, I hope all is well for you

Happy updating and happy holidays to you :D
[One (M9) General] exocetdj:
Cheers dude. Healing up slowly but surely this time hopefully. Yeah saw mm sense and thought I'd finally make some xda time lol!
[One (M9) General] Flippy498:
So, the rest of my family has just arrived which means I will be kept busy with christmas stuff for the next couple of days. ;)

New uploads won't be added to the first posts before the 27th December.

Happy holidays to everyone. :)
[One (M9) General] exocetdj:
Happy Christmas mate, still better than my progress here haha! Enjoy!
[One (M9) General] gregsarg:
Awesome resource here...many thanks !!....g
[One (M9) General] WalterCool:
There is a RUU for the Dev edition?
[One (M9) General] Golv:
Here: http://xdaforums.com/showpost.php?p=64451344&postcount=123
[One (M9) General] Flippy498:
I had some unexpected free time yesterday morning (25th December) and decided to enlarge my file collection before I flashed Viper 4. When all uploads are finished the SKU 710 (HTC Australia) will be supported, too. I can't guarantee that I have enough time to continue the uploads before the 27th December so I guess this announcement can only be seen as a "late" christmas present. :p

Cheers.
[One (M9) General] Siempre26:
is there an easy way to get back to stock recovery from custom rom and twrp? i am so upset for using a custom rom instead of the original one.
[One (M9) General] Flippy498:
Do you only want to flash the Stock Recovery or do you want to use the whole Stock system? And what is your current firmware*? Depending on your answer there are different files you need to use...

*Boot to Download Mode and look at the line with "OS" at the beginning
[One (M9) General] Siempre26:
Hello, thank you for the reply, i am using arhd 14 custom rom and want to back to the stock system as a whole...

May i use the backups which are mentioned on forum?
[One (M9) General] Flippy498:
That depends on your firmware version. I've already explained how to find it if you don't know it. ;)

Edit: Oh and please do not cross post the same question in several threads, again. That's considered as rude behaviour in the community.
[One (M9) General] Siempre26:
Thanks for the point i did not aware. Sorry.

My OS is 2.11.708.27.
[One (M9) General] Flippy498:
Well, then you should use the 2.11.708.27 Backup from the second post. But I'm not sure whether it contains the Stock Recovery or the Stock System Image since it's not one of mine backups. If it doesn't you won't be able to install OTAs after you restored it. In that case you either have to wait for someone else providing the backup you need or you get S-OFF and flash one of the RUUs I linked in my google sheet.
[One (M9) General] Siempre26:
well, thank you for the reply, my phone is s-off and locked now. How can i do it now?
[One (M9) General] Flippy498:
Well, if I knew before that your phone is S-OFF I would have suggested to use a RUU from the beginning. Instructions how to flash a RUU can be found in the google sheet. But why did you lock your phone? It's not needed at all.
[One (M9) General] Siempre26:
everyone is writing different things and my mind is confusing because of that. so, i will unlock it again.

---------- Post added at 07:56 PM ---------- Previous post was at 07:30 PM ----------

thank you very much for supporting me. My phone is s-off, unlocked and developer edition. By flashing RUU, will i turn back to stock?
[One (M9) General] Flippy498:
Unlocking wasn't necessary either. :p With S-OFF the state of your bootloader simply doesn't matter at all.

Are you sure you have a developer edition? Some posts ago you said your firmware is 2.10.708.27 which is one of the Asian firmware versions. The developer edition has the SKU 617 and not 708. Or did you follow clsA's instructions for the developer convertion? If you did so your phone should already be back to stock.

Otherwise you should just follow the instructions in my google sheet (as I've already mentioned before). I know that HTC phones can be a bit confusing if you start flashing and try getting back to stock. But nevertheless the least thing you can do is read if I already give you to the links to the needed instructions. ;)
[One (M9) General] Siempre26:
You helped me a lot. In the period waiting for your reply, i unlocked the bootloader again :) I have the red caution sentence at boot screen and because of that i am sure that i have developer edition.

I do not interest about the edition now, just want to turn back to stock :) I am following the instructions you wrote in google sheet. I've downloaded the RUU with 2gb sized. I will flash it by download mode and i hope that i will turn back to stock rom...

Am I wrong?
[One (M9) General] Flippy498:
The red warning does not mean that you have a developer edition. It's an indication that your phone isn't stock anymore. As said before the developer edition has its own firmware with the SKU 617.

Yes, that's correct. Flash any of the RUUs for the SKU 708 and your phone will be stock, again.

Edit: Please be aware that this will downgrade your phone and you will have to install some OTAs via settings > about > software updates afterwards.
[One (M9) General] Siempre26:
thank you very much for your perfect support and patient. Now, i am on stock rom, 5.0.2. With update it will be 5.1 i think.

Thanks again! :)
[One (M9) General] Flippy498:
You're welcome. :p
[One (M9) General] Siempre26:
flippy, i have a problem :) because of having variant system version, my update is failed!

do you have a solution for this issue?
[One (M9) General] Flippy498:
Which of the RUUs did you use?
[One (M9) General] Siempre26:
1.40.401.8.zip is the RUU i used.
[One (M9) General] Flippy498:
If you didn't change your CID then it's no miracle that you can't install the update. :p I said you should use a RUU with the SKU 708. SKU 401 RUUs are made for the following CIDs: HTC__001, HTC__J15, HTC__102, HTC__Y13, HTC__A07, HTC__032, HTC__016, HTC__M27, HTC__002, HTC__031. Your phone probably has the CID HTC__044 which isn't supported. Either use a SKU 708 RUU or use the fastboot command fastboot oem writecid HTC__001 while your phone is in Download Mode and then reflash the RUU you used before.
[One (M9) General] Siempre26:
Is there a need to reflash to upgrade my m9 to MM 6? Because the download i see will upgrade my phone to 5.1.
[One (M9) General] Flippy498:
Once you're able to install OTAs, again, there is no need to flash any RUUs if you want to upgrade to Android M (as long as you don't root your phone or flash a custom rom). Nevertheless there is no Android M update for other versions of the M9 than the developer and the unlocked US versions at the moment.
[One (M9) General] Siempre26:
i got it. I see that my phone is dev. edition. Which RUU i should download? May you help me once again? :)
[One (M9) General] Flippy498:
No, your phone is not a dev edition! :p The dev edition has the SKU 617. Yours has the Asian SKU 708. That red warning is not an indication for a dev edition it's an indication that its software is modified (e.g. S-OFF, or a custom rom is installed, etc.).

You should either use a RUU with the SKU 708 so that it corresponds to your CID which is as already explained HTC__044 or you change your CID with the command I posted here so that you can use the 1.40.401.8 RUU.
[One (M9) General] Siempre26:
thank you very much! i am reflashing it now. let's see what we will have :)
[One (M9) General] ImpulseGX:
May sound like a daft question but what is the CID for the EE variant of the One M9? I have an unbranded M9 but would like to convert it to the EE variant to be able to use WiFi calling as it will only work on their flavour of Android... I'm hoping the Orange version is the same & will work but my device is unrooted on stock so don't want to mess with it if it's not going to work :)
[One (M9) General] mohsinraza:
Use CID GETTER app from the playstore. Open the app and the text at the top of the screen in RED COLOR is your CID.

Sent from my HTC One M9
[One (M9) General] ImpulseGX:
OK thank you. Just need someone with an EE branded M9 to check their CID so I know if it's the same as Orange :) or if they still have display models I'll install this in the store model ?
[One (M9) General] Flippy498:
All files should be uploaded and added to my sheet and the opening posts now. For the rest of the day I won't post that much anymore so I wish everyone a "Guten Rutsch in's neue Jahr!". (I couldn't find a corresponding wish in English that is only used before the new year has started. :p)

P.S. [MENTION=5709287]ImpulseGX[/MENTION]: Sorry, I can't answer that question.
[One (M9) General] Rdpom:
Hey all,

I'm trying to update my M9 to marshmallow, it's currently 2.10.709.6 I have been trying for a while now but every update I try using doesn't work. Can anyone point me towards the right file I should be downloading?
[One (M9) General] clsA:
Use the Guide in my signature below
[One (M9) General] sssssbarn:
Crap...... Getting htc.mms errors (tried removing the stock message app)

Could someone send me the apk?
[One (M9) General] clsA:
here you go >> https://www.dropbox.com/s/4u59onhxbdge92y/Messages_7.10.664513.apk.zip?dl=0
[One (M9) General] sssssbarn:
A million thank yous!
[One (M9) General] jeem1908:
can anybody advise how to install this 2015-12-23--17-39-57_MRA58K_TWRP_System.img.rar (3.35.617.12*) from the BS_US001, BS_US002 section on page 1 please, provided I have correct CID written, will I need to relock, I am S-off just now also, any advise greatly appreciated, did some searching but didn't find anything, I am currently using lollipop rom

thanks
[One (M9) General] clsA:
don't use the system.img use the RUU and OTA updates or just RUU to Android 6

the system.img is to return to stock after your already on 3.x.617.x firmware
[One (M9) General] jeem1908:
hi thanks for the reply, have just finished converting to deved, but I had to relock to flash the rom.zip

I was wondering if it was possible to put back to system official and be locked rather than relocked

thanks for your help, if possible could you have fastboot commands for any actions required

oh almost forgot, had to use htc_fastboot rather than the regular fastboot to flash rom.zip :D:D

cheers in advance
[One (M9) General] milos78:
new phone with edited software

Hello to all people, I am a new here, I would like to learn something as I am very good with computers and software but very bad with phones, so I would like to change that.

Me and my friend both 2 phones from the same people. (htc m9) I guess they made some changes with the software at least on my phone. I have an S-OFF and he has an S-ON. We both got Android 5.0 which he updated from phone menu to version 5.1, and I can not do that as when I check for new version, it says there are no updates for my phone. Also I have the red letters somewhere saying that my phone is an test device.

So what is the best way for me. I have read this instructions, and I see that I have to read a lot more to understand all this. But if someone can help me I have some basic questions.

1.	Since my S is off, can I do a as you called it here full ruu installation with official update?

2.	I have read here that files from htc.com/us/support/rom-downloads.html#additional for Unlocked/Developer are not international? What does that mean? Language for phone system is only English, or it is not possible to install on phone from Europe as example?

3.	And the files here: androidruu.com/?developer=M9 - are those the same official RUUs from other sources or they are something else? Since I am from Europe, wil the Europe update be good for my phone?

4.	And can I use official RUUs if my S is off?

5.	Since I don’t know what exactly was done with my phone, and what is changed, is there any way to delete all data and put all new, no matter is that an official or not official version.
[One (M9) General] Flippy498:
1) RUUs can always be used. The difference is that with S-OFF it's possible to downgrade whereas S-ON Users need to find a RUU that has at least the same version as their phone's currently installed firmware or a newer one.

2) & 3) HTC only releases RUUs for US models of its phones. Most of the other RUUs are leaked by HTC insiders. Flashing a RUU always means (re-)flashing the whole firmware and the stock rom. If you use different RUUs than the ones that correspond to your SKU (which is only possible with S-OFF, btw) then you may (doesn't mean you have to) experience worse cell signal since the different firmwares are optimised for different carriers/locations. For example US carrier use different LTE bands than european do so you may lose LTE in certain areas. If you want to know which firmware your phone is currently running then boot to Download Mode and look for the line with OS at the beginning. Search for a RUU with the same version or at least the same SKU (= the three numbers behind the second dot). The RUUs on AndroidRUU aren't different to the ones you may find elsewhere.

4) You can only get back S-ON by using specific fastboot commands. But you should only re-S-ON if you're sure that your phone is 100 % stock. (Honestly, if I were you I wouldn't set the phone S-ON, again. It costs 25 USD to get S-OFF and it makes life much easier if you want to recover your phone. :p)

5) Simply use a RUU. Step-by-step instructions can be found in my google sheet. I've tested every RUU that is linked in the sheet before it got uploaded. If you need to downgrade by flashing a RUU you can re-update your phone with settings>about>software updates.
[One (M9) General] milos78:
Thank you very much, I read your docs on google, instructions are clear how to do so. :)

But I am currios to know what are the differences in

RUUs

OTAsFirmware Packs

Stock Recoveries

Boot Images

TWRP Backups

I am not familiar with this basic terms.

I understood that the RUUs will update all partitions (I guess about 50) and that custom ROMs only update 3 partition.

But what do the TWRP backups, or boot images, or Stock Recoveries.

Will my phone be different if I use the same verson, but different methods, for example RUUs or Stock Recoveries.

P.S. My version is OS-1.32 401.17 and on friends phone it is OS-2.10.401.1

---------- Post added at 06:34 PM ---------- Previous post was at 06:19 PM ----------

P.S..

Every ZIP I download, I can not unpack, it says error in archive.

I have a good connection - 100mbps.

Is there some special method to unpack?
[One (M9) General] Flippy498:
First let me answer your last question: I assume you downloaded a RUU. They're not meant to be unzipped. It's stated in the sheet how to use them.

Now to answer your other question:

Only RUUs and special TWRP Backups can be used to restore a stock System that is able to receive and install official updates. A definition for the term RUU can be found in the google sheet. TWRP backups are nothing else than a system dump.

It's not possible to extract the stock recovery from a M9 (at least as far as I know) and some people may have created their own backups but are still missing the stock recovery. Since the recovery is needed if you want to install official updates and it would be wasted time to download my whole backups for those people I uploaded the recoveries, too.

OTAs are the update files your phone downloads if you use settings>about>software updates. They're incremental and it's not recommended to flash them in any other order than the official one.

The firmware packs only contain the firmware updates from the OTAs and no rom. It's not recommended to flash those files if you don't know what you're doing.

I uploaded the boot images because with my old phone (HTC One S) it wasn't possible to flash them via TWRP for S-ON users. Since they're an essential part of the kernel a rom can't boot without them. When I created the first versions of my backups I didn't know that all HTC phone which are younger than the M7 are able to flash boot images via TWRP. That's why those backups didn't contain them and people had to download and flash them seperately. The current backup versions do contain a boot image, btw. I'm just too lazy to delete them and maybe they're useful for somebody.

TL;DR:

You should download the 2.10.401.1 RUU and flash it. Then you have a stock system which is able to receive and install the Android M update for the SKU 401 once it gets distributed by HTC.
[One (M9) General] milos78:
Thanks for your time!

I just realized about how stupid I was with ZIP.

But just to make sure that there is no corrupted download, I thought they are packed for that reason, as if they are corrupted, unpacker will report an error.

I downloaded 2 times and compared that they are the same, so I am sure I have the good download. :eek:)

I just want to ask somethiing more.

Why is my phone not able to download official updates now? I thought it is because of S-OFF.

My S will remain OFF with RUU update, but I will be able to download official updates? Where is the change?

Do I need to create a full backup of system files - twrp, to make sure I can restore if something goes wrong?

The data on SD card is not an issue for me.
[One (M9) General] Flippy498:
If you want to check whether your downloads are fine you can use the firefox addon DowThemAll! or the free programm WinMD5 to check the MD5 sum of the downloaded file(s). AFH states the correct value on the download site.

If you install TWRP and root your phone or flash a custom rom your system partition gets mounted as read/write. HTC introduced a new security check with the M9 which lets you only install OTAs if the system is mounted as read-only. You can only recover that state correctly by flashing a RUU or following my TWRP instructions.

If you only want a backup for being able to restore the stock system you can always use mine or flash a RUU. You're phone is S-OFF so it doesn't matter if a RUU would downgrade your phone. I would only recommend you to create own backups if there are certain data on your phone which you don't want to lose if something bad happens to your phone and you need to wipe your system. (The backup has to be copied to your PC, of course. Otherwise it would be lost in such a case, too.)

Edit: I forgot something very important. Internal storage and external SD card are not inlcuded in TWRP backups. So you need to save them seperately (= copy the cotent to your pc).
[One (M9) General] milos78:
I just flashed phone and all is OK.

Thanks again!

OH and I didn't need to go to download option, when I powered off phone, and put a SD card in, on power on it automatically asked me do I want to flash.
[One (M9) General] milos78:
There is an HTC M9 USA system update to Android 6.0 Marshmallow. I mean on HTC site.

RUU_HIMA_UL_L51_SENSE70_ATT_MR_NA_Gen_Unlock_2.11.617.15_Radio_01.01_U11440601_76.03.50611G_F_release_445910_signed_2.exe

From it, I have extracted ROM.zip.

If I try to flash with it, since I have S-OFF, I can always go back to version 5.1?

Do you think this will work in Europe?
[One (M9) General] Flippy498:
I know that some european users did the so called developer convertion. clsA posted some instructions with all you may need to know. I personally don't think it's worth the hassle since the Asian variant with the SKU 709 got the update today so it won't take too long until the OTA for the international SKU 401 gets distributed. It's always the same order: developer/unlocked edition first (both SKU 617), then the Asian versions, then the international version and the last variants that get updates are the carrier branded ones.

But it's your phone and you can do whatever you want... :p

Edit: Or if you want to flash Marshmallow and don't want to change your CID/MID you can use Sneakyghost's firmware pack for 3.35.401.12 (the full stock wipe one) and flash a custom rom which is already based on Marshmallow (like ViperOneM9). There is no stock Marshmallow rom for the SKU 401, though.
[One (M9) General] clsA:
First off "2.11. 617.15" is not the MM update, the name of it is RUU_HIMA_UL_M60_SENSE70_ATT_MR_NA_Gen_Unlock_3.35.617.12.exe

Also, yes the Developer Edition software works just fine in EU.

you can also update manually with the 3.35.401.12 firmware + MaximusHD Rom released yesterday
[One (M9) General] Flippy498:
Thanks to the correction. I somehow forgot looking at the naming of the RUU he mentioned... :silly:
[One (M9) General] milos78:
Yes, seems it is a link error on their site:

http://www.htc.com/us/support/rom-downloads.html

When I click download I get the wrong file, but when I click view I can download the real one.
[One (M9) General] M4nuk4s:
thanks
[One (M9) General] jeem1908:
Will the process of restoring twrp system image also put the software modified back to software official

Thanks for your help
[One (M9) General] Asselalf:
No. You need S-Off for that

Gesendet von meinem Nexus 7 mit Tapatalk
[One (M9) General] jeem1908:
Yes I am s-off running latest dev edition rom
[One (M9) General] Asselalf:
Than follow this guide: http://xdaforums.com/one-m9/general/how-to-disable-remaining-write-t3171735
[One (M9) General] jeem1908:
Thanks but have tried re-rooting, but un successfully, am I right in saying after I root using twrp do I need to factory reset or something

Cheers and sorry for what I feel is silly questioning
[One (M9) General] Asselalf:
That isn't the thread for questions like this. But i'll help you.

Flash this first: http://xdaforums.com/showpost.php?p=63615067

then SuperSU 2.66 from here: http://xdaforums.com/showpost.php?p=64161125

After flashing TWRP will ask you if you will flash SuperSU. Don't do that. You're already rooted if you follow my steps (works only on Marshmallow)
[One (M9) General] jeem1908:
Thanks, will have a look at this tomorrow morning, I will let you know how I get on, and thanks again for your time and answers, very appreciated

---------- Post added at 11:43 PM ---------- Previous post was at 11:32 PM ----------

And I guess both are flashed via twrp
[One (M9) General] Asselalf:
Yes, both are flashable zip's
[One (M9) General] Flippy498:
Wouldn't it be easier to flash a RUU via SD card method since it resets the modified flag, too? :p (And as long as there is a RUU for the currently installed firmware version S-OFF wouldn't be needed, either.)
[One (M9) General] Asselalf:
This method is only for *****'s :p
[One (M9) General] Flippy498:
Ah, c'mon. You're only envious because you couldn't remember that brilliant solution, old man. ;)
[One (M9) General] jeem1908:
Ok I have the rom.zip which I flashed via htc_fastboot but that didn't change anything, what do I need to rename rom.zip too and the put onto the root of sd card

Thanks, you guys have gave me loads of options

Cheers
[One (M9) General] Flippy498:
Instructions for flashing RUUs via SD card can be found in my google sheet. It's linked in my signature and on page 1.