yashsingh1/xdaforums huggingface dataset:
[One (M9) General] 5m4r7ph0n36uru:
Honestly my only idea would be to extract it from ota as well, as I don't know where to find an RUU.

Send by the swarm intelligence of my coffee machine ?.

---------- Post added at 07:34 PM ---------- Previous post was at 07:33 PM ----------

Best would be to flash the RUU and change CID back to T-MOB010. If it is Android M you could again unlock bootloader, flash TWRP and flash ViperOneM9.

Send by the swarm intelligence of my coffee machine ?.
[One (M9) General] Black_Eyes:
First change CID and then flash RUU?
[One (M9) General] Flippy498:
[MENTION=5216879]Black_Eyes[/MENTION]: You can change the MID and use the 401 RUU. The T-Mobile Version and the international one are more or less the same. Some LTE bands might not be supported but there is a guide which explains how to enable all LTE bands (S-OFF needed).

Edit: But if you want to keep your current MID then you need to first change the CID and then to flash the RUU [MENTION=5832952]HTCNerdYoda[/MENTION] linked earlier.

Edit2 [MENTION=6157184]dragonsacred[/MENTION]: Download this OTA. Get latest 7-zip. Open the OTA and extract the firmware.zip. Right click on the firmware.zip and choose 7-zip, then open (the second one from above not the first) and then #. The process may take a while. Then open the archive 2.zip and extract the file recovery.img. That's the stock recovery you need. Nevertheless you still lack an untouched system image for your firmware version (1.40.75.8). (Maybe [MENTION=333497]migascalp[/MENTION] can help out? ;))
[One (M9) General] dragonsacred:
thank you very much, really!!!!!!!!

i have stock rom (yes. i still have orange apps :D:D:D:D ), i need to flash a new system img?

i'll try flashing recovery stock, then installing ota, i hope i can update this way :)
[One (M9) General] Flippy498:
You won't be able to install the update. As soon as you flash anything via twrp you break the OTA function. (If there only was a link with basic information about block-based OTAs on the first page so people would know this... ;)) That's why you need an untouched system image or a RUU (which actually contains an untouched system image, too).
[One (M9) General] dragonsacred:
can't i flash stock recovery from pc through adb?i tried windroid and i can't use it, it breaks everytime i tried to open
[One (M9) General] Flippy498:
No, you need to flash it via fastboot not adb. ;) Those are two different things. And as said before only flashing that recovery won't recover the ability to install OTAs. Too many people didn't know what they were doing and bricked their devices. That's why file-based OTAs (like you might know them from your previous phone) aren't used on "newer" devices like the M9 anymore.
[One (M9) General] Black_Eyes:
[MENTION=5872674]Flippy498[/MENTION] thanks, it worked with changing MID.

Now i want to install TWRp, So unlock the bootloader and flash it through fastboot?
[One (M9) General] Flippy498:
So you're on 3.35.401.12 (or any other 3.x firmware) now? If yes, then unlock, flash twrp 3.0.0.2 via fastboot and the rom you would like to use via twrp. If you want to stay on stock rom and only gain root you should look for supersu 2.65. From what I've heard every newer version bootloops on the M9.

Edit: Since I don't know whether you know the new oem unlock security feature HTC introduced: You need to enable the developer options and to enable the oem unlock function. Otherwise you won't be able the get an unlock token.
[One (M9) General] dragonsacred:
i have found ruu, to obtain system img untouched, but for earlier version. 1.32 instead of 1.40, i can't use this file, right?
[One (M9) General] Flippy498:
No, you can't. As said before it needs to be the same as your firmware (or in case of a RUU it can be a newer one, too).

Edit: But if you're willing to invest a little bit you could get S-OFF with the sunshine app and downgrade by using the RUU you found. Or you use the RUU service on llabtoofer's website. Links can be found in my google sheet.
[One (M9) General] dragonsacred:
actually i don't think about invest in "upgrading" my phone at android 6, but anyway thanks for information :):):)

if i find a newer ruu i can install it and upgrade my phone???????????well, i'm looking for it :)
[One (M9) General] Flippy498:
You can use any RUU as long as the SKU (the three numbers behind the second dot in the firmware version) matches and it's version is at least as high as your current firmware version and as long as it's not a combined (=custom made) RUU.
[One (M9) General] migascalp:
Hello,

With a little delay ...

modelid: 0PJA10000

cidnum: HTC__247

firmware_3.35.1020.12.zip

OTA_HIMA_UHL_M60_SENSE70_MR_Bouygues_FR_3.35.1020.12-2.10.1020.180_release_464292.zip

Backup_M9_3.35.1020.12.7z with stock recovery

modelid: 0PJA10000

cidnum: ORANG202

firmware_3.35.73.14.zip

OTA_HIMA_UHL_M60_SENSE70_MR_Orange_FR-B2B_3.35.73.14-2.10.73.180_release_467425.zip

Backup_M9_3.35.73.14.7z with stock recovery

modelid: 0PJA10000

cidnum: ORANG309

firmware_3.35.75.14.zip

OTA_HIMA_UHL_M60_SENSE70_MR_Orange_ES_3.35.75.14-2.10.75.180_release_467424.zip

Backup_M9_3.35.75.14.7z with stock recovery
[One (M9) General] samuspr1me:
Hello, any backup for OPJA110 Telus CID TELUS0001 , looking for 3.35, i'm on 1.32.661.31.

(bootloader) kernel: lk

(bootloader) product: htc_himaulatt

(bootloader) version: 1.0

(bootloader) imei: helloworld

(bootloader) version-main: 1.32.661.31

(bootloader) boot-mode: download

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA11000

(bootloader) cid: TELUS001

thanks in advance.
[One (M9) General] aestivalisakito:
Edit: silly me copied the wrong link....big fingers.....
[One (M9) General] samuspr1me:
Hello, thanks for answer.

I looking for a clean twrp backup, I´m confused, i already read all the first post, and i don't understand which recovery its compatible with my phone, i can't find the original telus recovery.

I already used this backup, 2015-07-27--21-18-11_LRX22G_release-keys.zip but i got blank screen, with twrp 2.8.7.0.

sorry for my english.
[One (M9) General] paolocorpo:
I have a small but important gap of knowledge regarding the usage of nandroid backup

I downloaded one of this (of course related to my CID that is VODAP405 and to my firmware version)

I have TWRP recovery but i have not understood where i have to locate the .zip file downloaded or if I have to unzip it into such special folder

The problem is the dimension of file inside: one of these is bigger tha 4 GB and as you know very well we have not chance to mange this files into internal memeory or external microSD

SO finally:

- How to manage the downloaded zip file

- How to manage the big file

Tks a lot

Paolo
[One (M9) General] Flippy498:
If you had read the OP you would've known where to find the answers. A little hint: The two words that form the name of the place you have to look at end on "~oogle" and "~eet". ;)

[MENTION=459676]aestivalisakito[/MENTION]: You linked the wrong file. The international RUU is useless for a Telus User if he is S-ON.

[MENTION=5015707]samuspr1me[/MENTION]: Only the 1.32.661.31 recovery is compatible with your phone but no one contributed it (yet). According to the problem with restoring the backup you maybe want to re-read the first post to find out that you can find your answers at the same place as paolocorpo. ;) Since it's not my backup I can't tell you whether it contains a stock recovery or not. [MENTION=3525160]SaHiLzZ[/MENTION] might be able to answer that question.

[MENTION=333497]migascalp[/MENTION] : Many thanks for the backups. :D
[One (M9) General] paolocorpo:
You are right !

I founded and read your instruction on your Google Sheet :)

Unfortunately yesterday morning I was not so driven

And so to fix a issue with a bootloop I installed a custom Rom vs a Nandroid Backup

Ok ... it will be good for the next time

CIao

Many thanks

Paolo
[One (M9) General] aestivalisakito:
LMAO I have big fingers and I somehow copied that one instead of the Google sheet addy.....teach me to proof read
[One (M9) General] SaHiLzZ:
Unfortuantely no one has shared a Telus stock recovery file (usually available from OTA).

So [MENTION=5015707]samuspr1me[/MENTION] you will have to restore using TWRP. However, what is your HBOOT version? Its possible you maybe running newer hboot version, but trying to restore older firmware.
[One (M9) General] jamieunit:
Bit of a delay but this worked fine on my UK voda, thank you very much [MENTION=5075569]Asselalf[/MENTION]
[One (M9) General] samuspr1me:
Hello, thanks for answer, how i can see my HBOOT version? maybe this image help...

[IMG="download mode"]https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-xlp1/t31.0-8/fr/cp0/e15/q65/12719568_1096386997070673_8925272494763517922_o.jpg?efg=eyJpIjoidCJ9[/IMG]
[One (M9) General] aestivalisakito:
In the screen you just took a picture of hit the power button on system info it will shot hboot version
[One (M9) General] samuspr1me:
Umm, in that option show only SN and IMEI, Hboot not appear :confused:
[One (M9) General] Flippy498:
Posts #2, #3 and #4 got updated with the files I extracted and the backups I created during the last week.
[One (M9) General] Nima78600:
Hi everyone,

Today after a while I tried to root my phone running marshmallow... So I flashed the latest twrp recovery (3.x.x.x.) available for my phone. As I wanted to take a system image backup before rooting, I kept recovery as Read-Only state and went through taking a backup first.

But as my entire backup(boot, system image, data) is around 14GB and I don't have enough space on phone storage, I needed to choose either sdcard or usb otg... But both failed due to FAT32 format. So I reformat my usb to both exFAT to be able to take backup... But in both situations it failed...

Could someone please tell me what's wrong?
[One (M9) General] Flippy498:
If I understand you correctly you tried to create a backup via USB-OTG, right? Then that question might better be asked in Captain Throwbacks TWRP thread since I've never used an USB-OTG device with the M9. Nevertheless here is what I can tell you:

You only need either the system or the system image. They both backup the same files but in a different format (but only the system image is useful for restoring the ability to install OTAs). Unchecking "system" should decrease the size of your backup. Besides of the system image you only need the boot image and the stock recovery if you want to return to stock to be able to install OTAs. As you might know the stock recovery gets deleted when you flash TWRP so you need to extract it from the OTA for your current firmware or hope that people like me have already uploaded it somewhere. (TWRP is said to be bootable via fastboot on firmware 3.x to circumvent this problem but I didn't have the time to test that.) If you want to save your settings and your apps you can back up "data", too.

Using a 32 GB SD card formatted to exfat (by a PC) I haven't faced any problems during the creation of my backups so far.
[One (M9) General] Nima78600:
Thanks for replying...

Yes I have done many times before... But this time due to lack of enough space on phone storage I had to use usb otg... First attempt was failed but fortunately second time was successful...

Now I have another question... Why my data is near 10 GB while I have less than 1.5 GB app installed and less than 500 MB for all videos, mp3, images..etc.

When I check phone storage into the settings it shows near 15 GB is taken by system.
[One (M9) General] Rogi1997:
Have you tried deleting the Android folder? In my phone, that takes a lot of space

I am deleting this folder every time I flash a new rom

Gesendet von meinem HTC One M9 mit Tapatalk
[One (M9) General] Nima78600:
Android folder is just 150 MB for me... Even when I choose all folders it just shows less than 600 MB.
[One (M9) General] shivadow:
Most of the used space is in /data/data.

You don't need to backup data, you just need the 4gb system backup.
[One (M9) General] Flippy498:
I assume you might get more/better answers if you ask those questions in the TWRP thread. ;)
[One (M9) General] Dabaicaicai:
Hello, I have bricked my m9 because I wipe the internal storage by mistake, I tried to use 3.35.206.13 TWRP backup the restore the system, but unfortunately it will be stuck at the first screen; and I also tried to use 3.35.206.13 O2 UK RUU to bring my phone back, the problem is it seems the zip is broken, the phone gives an error ''99 RU_UNKNOWN_FAIL'', so at the moment I don't know what to do, please help, many many thanks!
[One (M9) General] Flippy498:
If it was bricked you wouldn't be able to recover it. Wiping the system or the internal storage with TWRP is not bricking your device. ;)

So you followed the instructions in my google sheet?

Can't confirm that. I've tested the RUU before it got uploaded. Did you check the MD5 checksum after you downloaded it? Did you follow the instructions in my google sheet? If not, did you use htc_fastboot to flash it instead of fastboot? Are you S-ON? If you are S-ON and you've already been using htc_fastboot, did you re-lock the bootloader? Only the SD card method can be used with S-ON and an unlocked bootloader.
[One (M9) General] shivadow:
As stated previously, check the md5 hash and filesize, they can be a dead giveaway to a dead/corrupt file.

If you consistently get corrupt files then error check the drive you saved it to and reboot your router to rule out NAT issues, then retry to download it.
[One (M9) General] Dabaicaicai:
Yes I followed the instructions in your sheet for the TWRP recoveries part.

Well I downloaded the 3.35.206.13 RUU and checked the MD5 which is correct but windows can't open the zip file it showed: The Compressed(zipped) Folder...\0PJAIMG_HIMA_UHL_M60_SENSE70_MR_O2_UK_3.35.206.13_Radio_01.01_U11440792_93.0... is invalid. Btw I tried to download other RUUs and they were all fine can be opened.

Yes I am S-ON and it is relocked.

Many thanks for replying!
[One (M9) General] Flippy498:
In that case I don't know what went wrong. The backup got tested, too, before I uploaded it. Are you using the wrong TWRP version? Since I started my backup collection I only received a handful of reports that one or another user wasn't able to restore his/her system. In most cases the problem got solved by re-downloading the backup, checking the MD5 sum and repeating the whole restoration procedure.

RUUs are encrypted so you can't open them the way you would normally open zip files. Even if you are able to open them you won't see their real content. But that doesn't matter at all since they're not meant to get unzipped but flashed via SD card or via htc_fastboot. Btw, you still didn't tell me which method you used for flashing it...

If you were relocked while trying to restore the TWRP backup I wouldn't be surprised that the TWRP method failed.
[One (M9) General] LLegion:
outsatnding job, awesome, impressive!!!!
[One (M9) General] Flippy498:
I've added a new tab to my google sheet with new instructions. Be aware that booting TWRP via fastboot is not possible with older firmware versions.
[One (M9) General] Miguel st:
hi all, desperately seeking the current ruu of mexico telcel .
[One (M9) General] Flippy498:
There is absolutely no reason for asking me for help via PM and via this thread. I won't answer faster just because you want me to do so. All you're going to achieve this way is that I get annoyed by you.

I don't have the RUU you're looking for and since no one contributed it yet you won't find it in this thread, either.
[One (M9) General] Surfer3907:
S-On user here, CID 044. Why does my phone keep rebooting into bootloader mode when I flash 3.42.708.3?
[One (M9) General] Flippy498:
The backups are not meant to be flashed but restored with TWRP. As mentioned in the OP, my google sheet explains all the steps that are needed to restore them. Besides you can't use a backup that has a different version than the currently installed firmware on your phone. The google sheet explains how to find the correct backup, too.
[One (M9) General] Surfer3907:
Oops, I meant restore the backup, but I restored 2.11.708.27 on top of 1.40 and it worked.

If I were to put the 1.40 backup on my phone and the 1.40 recovery, I can't take an update because my phone claims that system has been remounted r/w.
[One (M9) General] Flippy498:
Never restore a backup that doesn't match your firmware and try to update it. You can brick your phone since OTAs are incremental. A backup of a higher version than your current firmware doesn't contain the firmware files that are needed for an update to that version so your phone might lack some files afterwards.

You obviously haven't read the google sheet since you wouldn't see that error if you did. ;)
[One (M9) General] Sensacjon:
Did you mention the ONE M9e (HIMAR) or is it a M9 (HIMA) with CID HTC__034?

I really stuck on the HIMAR now... after flashing the TWRP phone is in bootloop.
[One (M9) General] Flippy498:
All of the files in this thread are for the HIMA and not the HIMAR. At the time the post you quoted got written the HIMAR did not even exist. :p
[One (M9) General] nickademus1691:
:victory:
[One (M9) General] Katsok9:
aNOOB in HTC - tried to upgrade to marshmallow now have only bootloader

Hi, I tried to upgrade my m9 to marshmallow.

Current:

V - 2.10.709.6

CID: 621

MID:0PJA10000

S-ON

Unlocked + rooted (super sub) + twrp 2870 then tried to restore from Stock_Backup_3.36.709.3. (From collection of this thread)

Now only boot to bootloader. Didn't do backup.

How should I go to stock version do I restore Stock_Backup_2.10.709.6 with twrp?

---- Restore Stock_Backup_2.10.709.6 with twrp worked!! Now only second Q.

How should I upgrade to marshmallow? OTA not available via system update.

Thanks.
[One (M9) General] Flippy498:
If you read my google sheet you would have known that you should always restore the backup that corresponds to your current firmware version. Backups only contain the system and they don't contain the firmware. That's why you can't use them for updating your phone since newer system versions require a newer firmware. All you can do is restoring a backup If a stock system for being able to receive OTAs, again.

If the OTA is not available then you aren't able to update. There is no RUU you could use so you need to wait until you're able to receive the OTA. Since you wouldn't be the first: are you sure that your MID and your CID are correct? Did you verify them with fastboot getvar? We already had users who bought an imported phone (most of the time the phone came from the US) which wasn't correctly converted to a phone of their home country and therefore could not receive OTAs at all.

Btw, I'm pretty sure your CID is not "621" since those aren't enough symbols. CID always contains 8 symbols like "HTC__621".
[One (M9) General] Katsok9:
Yep,I've red your sheet a little - but not too - late... ,and CID is HTC__621.

The OTA is not available but I've noticed in your OTA file collection you've got two new firmwares:

2.10.709.6 -> 2.10.709.180

2.10.709.180 -> 3.35.709.3

And also in the backups and the recovery..

Maybe it just because I'm in different region?

Can I install it manually? and how? I've tried to put it in internal storage but couldnt find it with the stock recovery

Errors:

E:missing bitmap oem_unlock_bg/_yes/_no (code -1)

handel_cota_install: install cwpkg to /cota/cwpkg.zip

handel_cota_install: install cwprop to /cota/cw.prop

E:Fail to open file: /sys/devices/platform/android_usb/hostmode

write host_mode error

handel_cota_install: No CW files skip cw installation.

When pressing "apply from phone storage" getting errors:

E: Find no match PARTITION: for package path /data/media/0/pt.zip

E: unknown volume for path []

E: can't mount

E: faild to open last_install: No such file or directory

Finding update package...

Opening update package...

E: failed to map file

Here is my getvar all res:

(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei: ******************
(bootloader) version-main: 2.10.709.6
(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__621
[One (M9) General] Flippy498:
I created two new backups yesterday and tried to flash an OTA manually with the stock recovery because I already had it on my PC and didn't want to download it again with my phone (it was the 1.3 gb Marshmallow Update for Australia). It ended in a bootloop. On the other hand after I downloaded it again using the "normal" way I didn't have any problems. I don't know what went wrong during my first try. Therefore I would recommend installing OTAs via the "Software Update" function in settings instead of manually applying them.

The firmware packs in my sheet aren't meant to be flashed. I only uploaded everything I used during the creation of my backups. The only important tabs are the backup ones and the RUU one.
[One (M9) General] Katsok9:
After first time turning on the phone (Friday), I've got an OTA to the current version, then there were no other update... so I unlocked rooted and here I'm now..

Just few minutes ago I received a mail from HTCDev:

"For the HTC One M9 software version has been released with Android 6.0 version 3.36.709.3 in 7th January 2016"

So I don't know why there are no OTAs available..

Maybe I'll get a new RUU?? But they could still say that I'm unblocked..

So if they won't help my only option is to S-OFF?
[One (M9) General] Flippy498:
That's strange. I have no clue why you didn't receive the latest updates although you got the older ones.

As far as I know there are no other (freely available) RUUs for the SKU 709 than the ones in my sheet. HTC only provides RUUs for their US customers. All other RUUs are leaked. Therefore I doubt that they will send you a newer one. You could use Llabtoofer's RUU Service which is linked in my sheet if you don't want to get S-OFF but it's not for free, either.
[One (M9) General] Katsok9:
So as expected HTC said you're unblocked go to hell..

Than I S-OFFed ,changd cid ,mid ,RUU Dev edition (twice had a -90 error ) and removed the red warning msg..

Yay I'm on marshmallow .. thanks you all for sharing..
[One (M9) General] Flippy498:
Download links for the OTAs, Stock Recoveries and Backups for 2.10.710.200 and 3.38.710.7 have been added to my sheet and page #1 of this thread.

Important Note: I don't have as much free time as I had when I started my backup collection. That's the reason why I probably won't add any further files to my AFH account or the google sheet. Nevertheless I'm still going to update page #1 of this thread with any files you're posting here. (In other words it's now your turn to prevent this project from wasting away. ;) Every contribution is highly appreciated. :))

With the help of my sheet all users with the SKUs 401 (HTC WWE), 111 (T-Mobile), 161 (Vodafone), 206 (O2), 771 (H3G), 708 (HTC Hongkong), 709 (HTC Taiwan) and 710 (HTC Australia) should be able to update their phones the corresponding 3.x firmware. From there on you should be able to make your own backups if you follow the instructions located in the tab "Make your own Backup" of my sheet. Instructions for extracting OTAs are linked in post #6 of this thread.