yashsingh1/xdaforums huggingface dataset:
[One (M9) General] Flippy498:
Everything important is stated in the instructions. ;)

To be honest I'm not sure if I would relock the bootloader, either, if I were you. Since you bootloader will still state that it's "Modified" I don't think that it really matters if it's "Unlocked" or "Relocked".

Besides many users already bricked their device because they relocked the bootloader on firmware 2.XX.XXX.X without verifying whether their system is able to boot and without activating the "OEM Unlock" option. I only explained how to relock because if I understood you correct you want your phone as close to 100 % Stock as possible with S-ON.
[One (M9) General] KikChD:
Well, i just supposed that it was better to put everything like stock, or at least as close as i could because we don´t have Uh-Oh in Spain, but if it doesn´t matter if i relocked it or not i don´t know what i´m gonna do. First i will flash the backup and see what happens and then i´ll decide.
[One (M9) General] nkk71:
you cannot put if 100% "out-of-the-box" without being S-OFF

that being said, as [MENTION=5872674]Flippy498[/MENTION] mentioned, if you do relock (especially on an S-ON device), and by some "strange" reason you can't get the OS to boot... you

will

loose the ability to unlock bootloader

...in other words... say bye bye

"close to stock" and "full stock" aren't the same anymore (they never were), but, just my 2cents, be careful with an S-ON and RELOCKED bootloader
[One (M9) General] KikChD:
Well, i have a problem, after doing the backup in twrp, i erased the backup and put your backup but when it is copying it says that system_image.emmc.win exceeds the limit of the device. I have a sd with 16gb and i formated it in exFat, any idea of why it doesn´t allow me to copy the all backup?

Update: If i take out the sd card of the phone and then conect it to the computer and copy the files it allows me, this changes something? Can i continue with the process?
[One (M9) General] Flippy498:
Did you read my instructions? ;) Your SD card needs to be formatted to exfat. Otherwise you will face the problem you're experiencing right now.

Edit: The google sheet now contains all "new" Backups. I will delete the old ones tomorrow. Everyone who reads this should be aware that the linked Backups in the first posts are my "old" ones so you need to follow the "old" instructions if you download those files and that the links may not work from tomorrow on until [MENTION=4366077]exocetdj[/MENTION] updates those posts.
[One (M9) General] KikChD:
Of course that I read your instructions, that's why I don't understand why it fails when I try to copy it when I have the SD in the m9, but it copy the backup when I take the SD from the phone and connect it alone on the PC. I'll format it again and see what happens.

Enviado desde mi HTC One M9 mediante Tapatalk
[One (M9) General] Flippy498:
Ah, my bad I somehow missed the fact that you already formatted it to exfat. I guess I wasn't fully awake when I wrote my last post. Sorry for that.

If you are able to copy the file while your SD card is directly connected to your PC everything should be fine. I will add that Information to my instructions.
[One (M9) General] KikChD:
Well then I will continue the process without formatting it again, thanks.

Will update when I finish with it.

Update: Done it and everything is right, i even checked if i´m root or not and i´m not so everything perfect, thanks again for your help. Also i´m not going to relocked bootloader because like you explain it doesn´t make sense, therefore i´m gonna leave like this and see what happens when i send it to repair.

Enviado desde mi HTC One M9 mediante Tapatalk
[One (M9) General] xunus:
[MENTION=4366077]exocetdj[/MENTION]

Here's the OTA file for CID: HTC__044 (1.40.708.9 to 2.11.708.27)
[One (M9) General] exocetdj:
Anyone up for helping me maintain this thread? As you can tell I haven't had much time for xda lately so could do with someone to help maintain the first posts whilst I'm away if I can't be here
[One (M9) General] nkk71:
I nominate [MENTION=5872674]Flippy498[/MENTION] :angel: :D
[One (M9) General] xunus:
TWRP BACKUP (2.11.708.27) CID: HTC__044

Compressed via 7z on LZMA2.
[One (M9) General] abbas_392003:
i want too please
[One (M9) General] noky76:
I unzipped the file, put it in backups twrp folder but when I try to restore it twrp does not find the backup. helpp
[One (M9) General] Vesten:
TWRP > Wipe

TWRP > Install > Find & select downloaded stock ZIP > Flash.

Done.

EDIT: You don't unzip the file.
[One (M9) General] noky76:
so I have to flash the file zip like any rom.. I thought it was a restore twrp

Do I have to format sd card in exfat before?
[One (M9) General] Vesten:
That's what I did anyway. I'm on LeeDroid at the moment, and if I wanted to go back to stock for the OTA updates, this is my process;

1. Reboot into TWRP and make a backup of LeeDroid (this may consume a lot of memory. Make sure you've got enough memory internally or on an SD card).

2. Reboot. Download a stock recovery ZIP and place on the root of either your internal memory or SD card for easy finding.

3. Reboot again into recovery (TWRP) and tap; Wipe > Advanced Wipe > tick-box: Dalvik Cache, Cache, System, Data > Swipe to Wipe.

4. Hit the back arrow twice in TWRP, select Install; navigate to the root of either internal memory or SD card, where you saved the stock ZIP.

5. Select that ZIP > Swipe to Flash.

6. Reboot.

You should be hit with the setup page of stock Android.

Remember you won't be able to actually do the OTA updates using TWRP. You'll need to flash a stock recovery, which is in an IMG format, which can be done using ADB/fastboot.

Possibly some inaccuracies in this way because I'm doing it off the top of my head. So don't blame me if your phone suddenly starts a nuclear war.
[One (M9) General] noky76:
Can you link stock recovery zip please?
[One (M9) General] abbas_392003:
please how to install this ota(2.11.708.27 cid044) to cid 622
[One (M9) General] abbas_392003:
please help me
[One (M9) General] noky76:
I tried to flash the file zip but it gave me this error
[One (M9) General] Vesten:
Are you sure it's the correct one for your phone and carrier? What are your details?

Also stock recovery is listed on page 1 of this thread.
[One (M9) General] noky76:
my cid is HTC__031

It is not listed , I see htc__032..help
[One (M9) General] noky76:
Nobody can help me?
[One (M9) General] Wet999:
This NANDROID backup, not zip full rom.
[One (M9) General] Nima78600:
What's ur problem and what you are going to do?
[One (M9) General] Vesten:
What country are you in?

---------- Post added at 01:31 AM ---------- Previous post was at 01:30 AM ----------

He's trying to flash a stock Nandroid backup for his HTC One M9 (assuming it's an M9) but his CID is HTC__031.
[One (M9) General] Nima78600:
I live in Australia but I always use European version. For flashing stock Nandroid backup he just needs to find the correct version and follow the instructions according to the this link.

http://xdaforums.com/showpost.php?p=59745198&postcount=3

Read question 8
[One (M9) General] noky76:
I finally managed to restore stock 1.40.401.8 and stock recovery..if I wanted to remove "software status modified" to warranty status do i need s-off?

edit, after installing ota 2.10 recovery gave error in cache/recovery/block.map
[One (M9) General] abbas_392003:
It is very strange that someone can help me?
[One (M9) General] Nima78600:
Your question doesn't make sense. But you can't apply a particular OTA to a different cid. It means any OTA update can be applied to dedicated CIDs.
[One (M9) General] schteeben:
The 621 links are broken... Anyone has those files?
[One (M9) General] Flippy498:
Take a look at my google sheet. ;)
[One (M9) General] schteeben:
OH MY GOD THANK YOU THANK YOU THANK YOU I LOVE YOU I WANT TO HAVE YOUR BABIES.

Okay maybe this is a bit over the top...
[One (M9) General] Vesten:
Why is there no clear guide about flashing the RUU and that you need to use htc_fastboot to successfully flash it because the standard way can't handle files > 2gb or whatever it is?
[One (M9) General] LLegion:
i do not know if it may help, but try flashin the 2.11 Dev Edition by Clsa RuuZip and you will have he most updated Original Stock ready to OTA phone!
[One (M9) General] jamespitt2k16:
htc m9

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei: 357226061

(bootloader) version-main: 2.10.206.2

(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: O2___001

bootloader relocked s on and no os installed can some one plz help
[One (M9) General] xunus:
Maybe you want this? 1.40.206.8 RUU by Flippy498
[One (M9) General] Flippy498:
Just to clarify: As mentioned in the download description it's not "my" RUU. :p I got it from the Handy-FAQ Team.

Using that RUU won't work since his phone is S-ON and downgrades on a S-ON One M9 are only possible if the numbers that have to be put at the places of the Xs in the Firmware versions (X.XX.SKU.Y) before and after the downgrade are the same and if the SKUs match.

As already posted in the other thread: Some 2.XX.SKU.Y RUUs are now available on ir-file. But there are two problems:

ir-file downloads are not for free so that he either has to pay for the RUU or to wait if someone else here on xda who already has an account gets the RUU for him.

I just noticed that the RUU that he needs is only available as a "combined" one. In many cases (if not all) those "combined" RUUs can only be used with S-OFF. So even if he gets that RUU from ir-file he might not be able to use it.
[One (M9) General] xunus:
Now that i understand how a S-ON device has its limitation. Thanks for the clarification:)
[One (M9) General] migascalp:
modelid: 0PJA10000

cidnum: ORANG309

Backup

(Stock recovery included):

Backup_M9_1.32.75.15.7z

Backup_M9_2.10.75.2.7z

OTA

OTA_HIMA_UHL_L50_SENSE70_Orange_ES_1.40.75.8-1.32.75.15_release_435843tu24lp4o2z281xrx.zip

OTA_HIMA_UHL_L51_SENSE70_MR_Orange_ES_2.10.75.2-1.40.75.8_release_444238y98a2d777h8g00hb.zip
[One (M9) General] Sameh mohamed:
What is difference between restoring stock backup vs RUU?

---------- Post added at 12:15 PM ---------- Previous post was at 12:08 PM ----------

By untouched system image you mean the one in the backup?
[One (M9) General] nkk71:
RUU is full firmware+software, and typically also wipes your phone, but restores all partitions back to the RUU version.

Stock Backup, only contains the system, kernel (boot.img), and recovery partitions; it would

not

contain radio, aboot, hosd, sensor, etc partitions.

EDIT: by "untouched", I mean the fully original system partition; as mentioned here once the system partition is mounted read/write, it becomes "touched", and will no longer be considered fully stock, even if you never changed a single thing there.
[One (M9) General] Sameh mohamed:
So if i am on latest firmware using OTA then flashed custom Rom stock backup is enough to return stock?
[One (M9) General] nkk71:
yes, if your "version-main" or "OS line" in download mode (usually referred to as your firmware), then restoring stock untouched system, stock kernel (boot.img), and stock recovery will put you very close stock... enough to be able to take OTA.

if you want it completely "out of the box", then you'd need to be S-OFF

also, if you really want to go back to full stock, then RUU is best.... really depends on your intentions.
[One (M9) General] Sameh mohamed:
Problem is RUU not up yet and S-OFF needs 25$ :( anyway thanks a lot
[One (M9) General] nkk71:
sure, no problem

it's always hard having $600+ phone, and then wanting to mod/change/etc it, but find the 25$ too much

just a word for the wise, (since you "may" have missed it), make sure you stay bootloader unlocked
[One (M9) General] Sameh mohamed:
No it's am going to sell it
[One (M9) General] YTayyar:
how to know which stock recovery in post 4 should I use?
[One (M9) General] MegaGalan:
Telcel México Stock

https://drive.google.com/file/d/0B4k9Ayi2QaVaNk5VeF9kMGVmWWM/view?usp=sharing
[One (M9) General] Evengard:
Hello!

The fact is, I somehow hard-bricked my M9 (international version, MID: 0PJA10000, CID: originally HTC__A07, but probably any will be OK) - when flashing one of the firmwares it (I don't know why) flashed the 64 GB partition table instead of a 32 GB one and went into reboot, now I'm in 9008 BULK mode). My only hope now is to find an SDCard - on some of Qualcomm SoCs it is a safeguard - and try to boot from it - but for that I need an image of the working system.

Can somebody help me getting this - anyone with rooted 32 Gb version and S-OFF (S-ON dump didn't helped)? The command is very easy:

dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1048576 count=768

Then just give me pls that 768 Mb backup.bin file (it shouldn't have any personal information).

Help me please! This is my last hope.
[One (M9) General] ebautista:
Anyone know Singapore CID and link for the RUU? Thank you in advance.
[One (M9) General] Flippy498:
I hate myself because I neglected my academic studies at a time I shouldn't have done so. The result is that my Collection of Back-to-Stock Files now contains files for the SKUs 771 and 708, too. Some uploads are still in progress but should be finished not later than next weekend. (The uploads for 708 should be finished today around 21 pm CET.)
[One (M9) General] ebautista:
Thanks [MENTION=5872674]Flippy498[/MENTION]. But do you have link for Singapore variant?
[One (M9) General] Flippy498:
Isn't the Singapore variant the same as the Hongkong one? I used the RUUs from the sheet to change my firmware and then I updated my phone with the OTA function in Settings>About. If the singapore variant only shares a SKU with the Hongkong one but not the firmware versions then I guess I can't help since I don't have any other RUU for 708 than the one I used...
[One (M9) General] brockyneo:
hi guys i have the latest venom rom and super CID and SOFF i want to go back to stock rom and recovery so i can get ota whats the best way to do it and what rom to flash im after the latest unbranded UK rom

thanks

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

do i just flash this from OP in TWRP then thats it i have stock rom and stock recovery? also is this a unbranded uk version thanks

Backups provided by nkk71 (thanks buddy)

(system, kernel and recovery, don't restore recovery if you want to keep TWRP)

1.40.401.8 untouched clean backup READ THIS POST IF HAVING ISSUES FLASHING 2.10.401.1 OTA MANUALLY

2.10.401.1 untouched clean backup
[One (M9) General] mohsinraza:
OTA landed just now...

HTC One M9

CID: HTC_621 (Taiwan)

Build: 2.10.709.6

Sent from my HTC One M9
[One (M9) General] rythos42:
I'm having a hell of a time figuring out how to get back to stock recovery on my Rogers M9, OS version 1.32.631. I've never had such problems before with my other phones -- I can't find a recovery that matches what I have!

I found a link that supposedly went to an RUU for it on ir-files. After many weeks of looking, I finally broke down and paid the money to get the download and I've tried to download the file a few times from different computers but every time the ZIP is corrupted and only contains a few dzdata files and a boot image!

Is anyone able to help me? I have no idea where to go from here!
[One (M9) General] Flippy498:
It's not corrupted. That's what you see if you try to open it without using the latest 7-Zip and the following option: right click on the file > 7-Zip > Open (the second option from above) > #. It may take some time to open the RUU but then you will find what you need if you open the archive 2.zip.
[One (M9) General] rythos42:
Thanks so much, Flippy! After I unzipped that thing, I found what many others before me have found -- that this isn't your standard HTC device. >.< After a ton of reading, I gathered my courage, flashed the 1.32.631 system image from IR-files and then applied the OTA to 2.11.631.

Man that was a hassle!

Now with 6.0 announced for this device, I have to not screw it up again!
[One (M9) General] exocetdj:
Flippy's taking over the thread for a bit as I'm still in and out of hospital. Please make his job easier by including cid/build numbers with any files you post here and keep them coming!

Cheers all ?
[One (M9) General] Flippy498:
Thanks for trusting in me. I'll do my best to keep this thread up to date and (as already written in the PM) I hope that you get well soon.
[One (M9) General] exocetdj:
Cheers bud. ;)
[One (M9) General] Flippy498:
[MENTION=333497]migascalp[/MENTION], [MENTION=2605798]nkk71[/MENTION], [MENTION=4428363]stifilz[/MENTION], [MENTION=2380439]xunus[/MENTION] & [MENTION=4269024]MegaGalan[/MENTION]: I've found your posts while I was browsing trough the thread. Thanks for providing all those files. I will add them later.

Edit: The thread should be up to date now.
[One (M9) General] exocetdj:
Nicely done mate ?

M9 has been quiet as hell for updates but IL be keeping an eye on the threads for that marshmallow update. Should keep me occupied til I decide what to upgrade to next year . Let's hope they hurry their backsides up with it lol.

Thanks for keeping this going really appreciate it. ?

Ps can get a lil busy in here when update season starts lol. ?
[One (M9) General] Flippy498:
If I compare it with my old One S I would prefer saying the M9 is busy as hell with updates. The M9 received more updates in a half year than my One S in three years. It simply depends on your perspective. :p

No problem. I'm glad I can help. And unless people don't start asking for ETAs for missing files in the opening posts or my google sheet I don't care whether it's a bit busy here. ;)
[One (M9) General] catchyb:
thanks :)
[One (M9) General] itachy11:
thank you very much for the post, can somebody please upload the twrp backup for marshmallow?
[One (M9) General] clsA:
Links for converting and Android M update are in my signature :)
[One (M9) General] Flippy498:
I've added the OTAs to the third post. Thanks for sharing. :)
[One (M9) General] Flippy498:
3.35.617.12 stock recovery and TWRP backup added.
[One (M9) General] exocetdj:
Dev edition Android m?
[One (M9) General] Flippy498:
Yes, dev and unlocked edition. For WWE you need to take a look at the Viper and Sneakyghost's firmware thread (S-OFF needed since it's not the official update).
[One (M9) General] exocetdj:
Awesome man.

---------- Post added at 12:39 PM ---------- Previous post was at 12:34 PM ----------

TBH think a simple dev conversion suits my painkiller addled mind haha! Take it the only wwe marshmallow is viper? Just wanted to try it stock first! (Great work on the thread again bud, I made the right choice lol)
[One (M9) General] savylop:
Hello, I have a Unlocked M9 can I restore a MM TWRP backup? or How can I to apply the update

I'm S On

thakn for help
[One (M9) General] Flippy498:
Yeah, Viper is the only WWE MM rom at the moment. As far as I read it's meant to be a little christmas present. ;)

No, you need the corresponding firmware, too. Either look for a RUU for your currently installed firmware version (stated in Download Mode in the line with "OS" at the beginning) or restore a corresponding TWRP backup. Then you can use the update function in settings > about.
[One (M9) General] exocetdj:
Cool IL give it a shot, should save the hassle of changing mid etc lol
[One (M9) General] savylop:
OK, but should I re-lock my bootloader before or after restore my TWRP back up?

or I haven´t to do it?

my M9 is MID OPJA11000 and CID BS_US001

Thankf for all
[One (M9) General] Nima78600:
If he can find the proper nand back up or 0PJAIMG.zip, then he doesn't need to be s-off. But he needs to flash the similar or higher version while is s-on

---------- Post added at 05:42 PM ---------- Previous post was at 05:37 PM ----------

For example if his current firmware is 1.32.401.15, then he can flash any ruu or 0PJAIMG.zip of .15 or. 17
[One (M9) General] exocetdj:
It would have been fine with root on m8 as the ota would have overwritten root but there's indication this is not the case on m9.

I will try this later and will update the first post with info.

For s off u can install twrp, make a backup of your current rom (keeping your data) flash Lee droid 1.32.401.15 then run sunshine for s off, then restore ur backed up stock rom, install stock recovery and flash ota
[One (M9) General] snowfree52:
Honestly guys I'm a bit lost here.

is this the rigth file :

https://www.androidfilehost.com/?w=...e9ac3116024420a9a111ed6680080d2257299268efb32
[One (M9) General] Nima78600:
As long as you can find stock rom for your current firmware you don't need to be s-off

---------- Post added at 05:52 PM ---------- Previous post was at 05:51 PM ----------

What is your current firmware?

---------- Post added at 05:59 PM ---------- Previous post was at 05:52 PM ----------

You can try it but If you don't care about your data the best way is to use ruu or 0PJAIMG.zip of 1.32.401.15
[One (M9) General] exocetdj:
But to manually flash ota from stock recovery u do need to be s off that's always been the case unfortunately, that was what I thought he was trying to do.......

[MENTION=5888345]snowfree52[/MENTION] if your cid is the same as in this post, this may be an easier way to get to 1.40.401.8, u shouldn't need s off for this as this should get u the automatic ota

http://xdaforums.com/showpost.php?p=61299564&postcount=771
[One (M9) General] exocetdj:
To save too many cooks spoiling the broth I will try and test some things and post tutorials later
[One (M9) General] Nima78600:
I think no, if OTA matches the cid, mid and software version then we can manually flash it without need to be s-off

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

S-off is needed only when we want to flash different or lower firmware version(downgrading)
[One (M9) General] jamieunit:
VODAP001

OTA_HIMA_UHL_L50_SENSE70_Vodafone_UK_1.40.161.8-1.32.161.15_release_435867.zip

https://docs.google.com/file/d/0Bxzs1Rvw2vwhZjBWMG5BQ3Q4cXM/edit?usp=docslist_api
[One (M9) General] snowfree52:
Mine is 1.32.401.15

Envoyé de mon HTC One M9 en utilisant Tapatalk
[One (M9) General] exocetdj:
OK u are correct only if the file is signed. ;) cannot flash unsigned otas via recovery manually.
[One (M9) General] Nima78600:
As I already told you don't need to be s-off, either flash untouched nand back up of your current rom and stock recovery.

Or easier way is to flash stock rom again using ruu.exe or 0PJAIMG.zip
[One (M9) General] exocetdj:
What's your cid mate. France has not received the ota yet but changing cid has helped some people (s off is needed for this). As the other guy says and apologies for any confusion. U do not need to be s off to flash the ota but the ota must be signed. I'm not sure if the one u are trying to flash is signed or not so that may be the issue.
[One (M9) General] exocetdj:
Awesome stuff mate I'll get this added.
[One (M9) General] exocetdj:
[MENTION=5888345]snowfree52[/MENTION] I will say this though, s off does allow for much greater flashing freedom though so is definitely worth the 20 or so euros it costs
[One (M9) General] snowfree52:
how do I flash stock rom without loosing my data ? Do you have a link of the right file as I don't have a back up ?

My CID is : 031

The OTA is coming from my phone, I haven't downloaded it from the net

Thanks !

[MENTION=4366077]exocetdj[/MENTION] I understand but since I use root only to make titanium backup and some other apps work and that's all, I prefer not to struggle with S-OFF if possible. maybe I'll change my mind later but if there is a simplier way I'd prefer. thanks anyway
[One (M9) General] exocetdj:
Does it give you the option to apply it when booted normally? Go to check for updates and start again. There's no need to do it manually if you are getting the update notification. It will download the update, verify it and then prompt u to install it lol
[One (M9) General] Nima78600:
No, I already had the same issue. Even when system is modified we can get ota update BUT installation will fail.