yashsingh1/xdaforums huggingface dataset:
[One (M9) General] Nima78600:
If you have got nand back up, yes you can flash that through twrp and then stock recovery.

Otherwise just follow the sdcard method.

---------- Post added at 12:30 AM ---------- Previous post was at 12:27 AM ----------

I'm not sure but I think someone already mentioned with cid HTC__001 that the ota update came through from .15 to . 8

---------- Post added at 12:36 AM ---------- Previous post was at 12:30 AM ----------

No as your cid is different and your situation might be different too.

Furthermore, if you're going to come back to stock you should do like this.
[One (M9) General] mattlovell90:
Splendid thanks will try that.

I have 36gb of it free. Can I just partition say 10GB to fat 32 without wiping the rest?
[One (M9) General] Flippy498:
[MENTION=6245801]Zocker1012[/MENTION]: First, that question might better be asked in this thread since you won't find any information about OTA distribution dates in this thread. And second, why do you think you need to repeat your question after a time frame of approximately 13 hours? Others won't answer faster just because you do so. This is a forum and not a chat so it may take some time until someone has the time to type an answer.

[MENTION=4952447]abbas_392003[/MENTION]: Have you read the first post? :p It clearly states where to look if you don't know what to do with a RUU. All you may need to know is stated in my google sheet. (And no, RUU.zip files are not meant to get extracted just because they're archives. ;))
[One (M9) General] Zocker1012:
Sorry I thought that it is the right thread, Thanks ;)

Gesendet von meinem Toaster/M9
[One (M9) General] joe-khalil:
And if i unrooted my phone than reuturned to stovk recovery should that be enough to return all stock files to there prior place?

And if not than i need to flash a full stock rom for my device right?
[One (M9) General] Nima78600:
As my experience even if you do unroot your phone, you can't apply OTA updates unless you go back to the stock rom again. You can do that either using RUU. zip or stock twrp backup. The instructions od how to do it can be found on the first page of this thread (on Flippy498's Google sheet )
[One (M9) General] joe-khalil:
Ok thanks bro. I'll see to it today in the night
[One (M9) General] 5m4r7ph0n36uru:
What [MENTION=6616978]Nima78600[/MENTION] states is absolutely correct as HTC switched to a block based OTA. To understand what this means and the restrictions caused by it you could just google it ;)

Send by the swarm intelligence of my coffee machine (AKA HTC One M9).
[One (M9) General] Tyler DeLarge:
hi! do you know why when I reboot into Bootloader I don't have Fastboot Option?

and in Options>Battery I don't find Fastboot option!

thank you
[One (M9) General] Flippy498:
The M9 never had this option in Settings>Battery. The Fastboot Mode got replaced with the Download Mode on the M9.
[One (M9) General] Tyler DeLarge:
So I downloaded and I installed android-sdk-platform-tools (with adb and fastboot)!

I restart into Download Mode and Can I do

fastboot getvar all

?

if I do the command temrinal tells me don't find fastboot command :(
[One (M9) General] alemarort:
Try fastboot devices,

If don't show nothing then something it's wrong, remember that the command line, wrote when cmd is executed in the folder where are fastboot.

Enviado desde mi HTC One M9 mediante Tapatalk
[One (M9) General] Flippy498:
Please dwonload and install the latest HTC Sync Manager. Uninstall it afterwards. You only need the USB Driver Installer which gets installed during the Sync Manager Installation, too, and which won't get affected if you uninstall the Sync Manager. Next, create the following directory: "C:\Android". Download this archive and extract its content into the newly created folder. Press and hold the shift button on your keyboard and right click somewhere into the folder. Choose open command window here. Boot your phone to Download Mode and connect it to your PC via USB. Then retry the fastboot getvar all command. Don't forget deleting the IMEI and the serialnumber before you submit your post.
[One (M9) General] Tyler DeLarge:
hey thank you! i didnt't think that for linux I needed adb and fastboot .exe!

thank you very much! you are very kind :) :

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

:victory:
[One (M9) General] SheitSheit:
!!!!For all who's getting the same bootloop problem with V 3.36.709.3 :

- download : HTC_M9_TW_3.36.709.3_Images_OTA.rar (http://sync.hamicloud.net/_oops/nenebear59/zgu)

- Unrar It

- CMD (windows + R then type cmd)

- cd to the directory of your unzipped recovery.img boot.img system.img

adb reboot download

fastboot flash system system.img

fastboot flash boot boot.img

fastboot flash recovery recovery.img

Reboot & all is OK
[One (M9) General] Flippy498:
Actually I wasn't aware that you're using linux neither did I know that you could use the *.exe files with a linux-based OS. :silly:

I assume your phone is S-OFF since otherwise you wouldn't be able to have this CID. Please use the command

fastboot oem writecid HTC__001

and afterwards reboot to Download Mode. Then use the 2.10.401.1 RUU to get back to stock. If you don't know how to flash it take a look at my google sheet. You could use the RUU without changing the CID beforehand but you need to change it before you try to install the OTA. Otherwise the update will fail.

All links you may need can be found on the first page in post #5.
[One (M9) General] Tyler DeLarge:
Thank you but my phone is S-ON. If my phone was S-OFF I could flash a Rom MM-based without return stock right?

I want to fget back stock because is the only method to install MM-based ROM. (I don't want to pay for SOFF the third time also because in two weeks I will receive HTC A9).

My phone was that cid when I received it
[One (M9) General] Flippy498:
Well, without S-OFF there is no way for you to update since the SuperCID prevents OTAs from installing and with S-ON you can't use the writecid command. All you could do is get back to stock with the mentioned RUU but the OTA will always fail. You could only hope that the previous owner used Sunshine and not a java card because then you could re-S-OFF with the Sunshine app without having to pay, again.

Btw: If your phone was S-OFF you still needed to flash the latest firmware but you could use Sneakyghost's firmware pack instead of the official OTAs. So yes, in that case there would be no need to return to stock. Since some people prefer using the OTAs instead of the firmware packs and you were only talking about getting back to stock I didn't mention this alternative before.
[One (M9) General] Tyler DeLarge:
ok! then I will pay another time for S-OFF! :(

after I get S-OFF Can I flash another Rom MM-based(for example ViperOne last version) on my M9 with Leedroid Lollipop-based in normal way (rom on zip-recovery-flash-done) ?
[One (M9) General] Flippy498:
No, as said in my last post you still need to update your firmware. The difference is that you can use Sneakyghost's unsigned firmware packs. Only if you're using a Android M based firmware you can use Android M based roms.
[One (M9) General] joe-khalil:
hey

1 problem:

i unzipped the twrp stock backup in the phone got to recovery and did restore.. it said success rebooted the system and all my stuff is still there!! the apps the contacts everything.

tried to download and install the ota update didn't worked..

what did i do wrong??

oh and i can't access the recovery any more. always the red triangle appearing

so reflashed twrp and now i can access the recovery... what next?
[One (M9) General] Flippy498:
You didn't read enough. :p The backups marked with a * in post #2 and all backups in my google sheet override TWRP with the stock recovery (or "red triangle" as you called it) during the restoration process. You can find that information at the beginning of post #2 or in the first lines of the TWRP Backups tab in my google sheet. And if you don't delete all data on your phone before you restore a backup it's no miracle that "all your stuff" is still there. Besides the OTA failed because your system is probably still mounted as read/write. Reflash TWRP, read the instructions in my google sheet and try again.
[One (M9) General] Tyler DeLarge:
ok now I am definitely confused!

If I get S-OFF Can I not flash a MM-based ROM?

beacuse in Leedroid and ViperOne threads tell me that I have to get S-Off before flashing their MM-Roms! :(:(:(
[One (M9) General] joe-khalil:
oh sry :silly:

read the hole posts :P

but now i found your google sheet :laugh:

sry again bro.

and 10x for the fast reply.:good:
[One (M9) General] Flippy498:
The difference between Rom and Firmware <- contains some basic information

You don't need S-OFF to flash those roms. As said before, you need the correct firmware. I can only assume that those information were written when the only method to get the needed firmware requested S-OFF since the firmware was not officially distributed by HTC. Since HTC distributed the Android M OTA last week another method which doesn't request S-OFF would be returning to stock and installing the OTA. Since your phone was S-OFF, the CID got changed to SuperCID and the phone's state got reverted to S-ON you cannot use OTAs. The SuperCID prevents OTAs from installing and you can't change your CID with S-ON. That's why you need S-OFF. Either for changing your CID to the one I mentioned in one of my previous posts and being able to use OTAs or for flashing Sneakyghost's unsigned firmware pack. Nevertheless S-OFF alone won't let you install Android M roms.

Edit: I just searched for your posts in the mentioned rom threads. No one said that you need to S-OFF to flash the roms. They said the same as I did: Either you need to return to stock and flash an OTA or you need S-OFF to flash Sneakyghost's firmware pack. Nevertheless you need the correct firmware. [Source #1], [Source #2], [Source #3]
[One (M9) General] mohaaraby:
I appreciate your help

I rooted my m9 and i am s-on and i want to unroot the phone to recieve ota updates...

my software number is showing as 2.10.401.1 in settings so i downloaded this twrp backup

I have twrp version 2.8.7.0

is this version of twrp is ok? it doesn't mention "beta"

Can the same process be done without external sd? with internal storage only? [MENTION=5872674]Flippy498[/MENTION]
[One (M9) General] Tyler DeLarge:
only now i am begining to understand something,

So, I can'T flash ViperOne with Lollipop(for ex) beacause i have an old and not compatible firmware right? or I can flash it anywway? this is the only thing I didn't undrstand. thank you

anyhow, I i want to flash that rom I have to pay for S-OFF then I have to change CID, then I have to get stock and at last I have to update with official OTA and after flash a MM-base Rom?

thank you!
[One (M9) General] Flippy498:
Correct. You can't flash Android M roms because your firmware is too old. That's what I was saying the whole time during our discussion yesterday and what the people in the maximus hd and the viper thread told you. I won't repeat what you need to do to update your phone since I already explained it several times yesterday.

Edit [MENTION=7256020]mohaaraby[/MENTION]: I didn't test them with any other version. Either flash the beta or try and see if your version is fine, too. I somewhere read that a user was able to restore one of the backups without an external SD card. But I don't know which of the threads in the Q&A section it was. If I remember correctly it was not that trivial.
[One (M9) General] mohaaraby:
[MENTION=5872674]Flippy498[/MENTION] i did the restore via your supplied version of twrp and an external sd...the phone restarted..it is not rooted but in download mode it is still unlocked and "software modified"

is this normal?

can i install official ota updates now?
[One (M9) General] Flippy498:
If you followed the instructions in my google sheet you should be able to install OTAs, again. If you want to get rid of the "modified" you need to flash a RUU via SD card. Since there is no Android M RUU until now you should decide whether you want to use the 2.10.401.1 RUU before you update your phone. The bootloader stays unlocked as long as you don't re-lock or lock it manually. The latter is only possible with S-OFF.
[One (M9) General] mohaaraby:
thank you very much..i am now able to install official ota updates..i downloaded part 1 of android M update and it installed without problems..

Thank you so much for your help and fast responses.:good::good:
[One (M9) General] MGTF:
Hi, Just some guidance please as i'm trying to get my phone back to a state that will allow the OTA update for MM.

My phone is

Rooted

S-off

TWRP recovery

C:\adb>fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei: -------------

(bootloader) version-main: 2.10.161.7

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U11440601_86.09.50723G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: VODAP001

all:

finished. total time: 0.018s

I've read all 81 pages but must admit am concerned about damaging my device.

thanks in advance.
[One (M9) General] 5m4r7ph0n36uru:
As you are S-Off you could downgrade using an RUU. In case of the Vodafone branding present on your device the last RUU that can be found in the links of the OP in this thread would be the 1.40.161.8 RUU and then OTA step by step to MM
[One (M9) General] Gijsjuhh123:
i currently have no os installed and everything i tried so far faild on me... can someone help me step by step to go back to full stock... i currently am stuck on 1.32.401.8 and don't know how to update...:crying:

as far of now, i succeeded in restoring an stock back up, but i stays on black screen right after the white htc logo with powerd by android...

i tried restoring again and do an factory reset. but it won't help
[One (M9) General] gregsarg:
Flash your stock RUU...

Plenty of guides posted all over the web giving instructions...

Make sure the RUU matches your CID/MID....and flash using fastboot commands...

Pretty easy once you are set up on the PC...g
[One (M9) General] MGTF:
Hi Just wanted to thank all contributors to this and other threads.

Handset has now updated OTA to MM having read the threads and posts i thought it was going to be more involved than it turned out to be.

Flippy498 guides were invaluable once I was pointed in the right direction.

Thanks again...
[One (M9) General] Madara76:
Could someone tell me the adb command to push the 0jpaimg file to the root directory of the ext sdcard ? Searched the thread with no success... Thanks !
[One (M9) General] Flippy498:
I always use an MicroSD-USB-Adapter if I want to copy files to the external SD card of my M9 so I can't help, sorry.
[One (M9) General] Khulalata:
Can someone provides a link for an android MM backup with cid htc__044 based??

Thanks for help and sorry for my bad english
[One (M9) General] Madara76:
Thanks for trying to help ! I solved it, this is the adb command "adb push 0PJAIMG.zip /storage/ext_sd/0PJAIMG.zip"
[One (M9) General] Mutasek24:
Or "adb push 0PJAIMG.zip /sdcard2/" :)
[One (M9) General] Gijsjuhh123:
Thanks i happen to fix all problems like half a day ago by accident haha
[One (M9) General] Madara76:
Actually this command didn't work.

Inviato dal mio HTC One M9 utilizzando Tapatalk
[One (M9) General] obrien1982:
Please can somebody help me out - I need a stock recovery for a HTC One M9 on marshmallow. My cid is 02___001 and my mid is 0PJA10000
[One (M9) General] Mutasek24:
Hm...for my it work
[One (M9) General] exocetdj:
Amazing thread! Absolutely how I hoped it would turn out!

Remember to check first posts people and flippys links as if what you are is not there, we don't have it

Oh and buy the bloke a beer if ur feeling flush and if flippy provides a PayPal address (ha!) Can take a lot of work in this thread especially around update time and we are lucky a guy of his calibre has taken it on so this shouldn't be taken for granted.

Quite rightly, the devs get the limelight as that stuff is hard work but remember who's helped ya when you need stock files etc

:good:
[One (M9) General] mazhole:
I have looked everywhere. Maybe I'm missing it, but I really can't find clear inductions on how to return to stock. I'm on 2.11.502.18. No I didn't back up before root. I would like to keep s-on if there's a way.

Thank you for any help.
[One (M9) General] Flippy498:
Instructions how to flash RUUs or how to restore a TWRP backup can be found in my google sheet (as stated in post #1 or directly under the link to my google sheet in post #5 :p). Nevertheless those instructions alone won't help you much since no one has contributed any AT&T files until now. But if I remember correctly you can download AT&T RUUs directly from HTC's website.
[One (M9) General] mazhole:
Thank you so much for your reply. I have read so many posts in the past few days they seemed to mesh together. 1) So to flash RUU's I need s-off?

2) if so then I just need to wait for someone to upload a stock backup.
[One (M9) General] Flippy498:
As long as the RUU has the same firmware version as your phone (or if the RUU has a newer version) you can flash it with S-ON. Only downgrades require S-OFF.
[One (M9) General] mazhole:
Thank you so much!

I just needed a push in the right direction. I'm downloading the RUU.exe from HTC now. Thank you again.
[One (M9) General] Adam182:
Im currently on ViperRom 4.2.1, 3.35.401.12 with S-OFF, to return back to stock rom and take stock OTAs can i just fastboot flash the 3.35.401.12 stock recovery image? thanks - Adam
[One (M9) General] 5m4r7ph0n36uru:
This question has been answered in multiple threads all over this forum for many a time.

To return to full stock - as you are S-OFF - would be done the easiest way by flashing 2.10.401.8 RUU and then take the OTA.

Just flashing stock recovery is not enough as you're running a custom ROM. I won't explain all detailed steps and why they have to be taken, as they can easily be found by using the search function.

I would advise a little bit of reading prior to customizing your handset to obtain the basic knowledge of what your doing and how to return to stock in case of need being.

Send by the swarm intelligence of my coffee machine ?.
[One (M9) General] drmoeed:
Hello ...

Is 3.35.401.12 RUU available yet ?

Thanks ...
[One (M9) General] Flippy498:
Looks like you're lucky since it seems like [MENTION=4860093]SoLdieR9312[/MENTION] uploaded one today. Download Link
[One (M9) General] drmoeed:
Yup ... :)

(y)
[One (M9) General] nordicole:
NOOB question here. Can I just install this thru TWRP? Being s-off, will be able to just insert my sim card and my phone number will work etc?
[One (M9) General] 5m4r7ph0n36uru:
RUUs are flashed using the command "fastboot flash zip nameofzip.zip" in download or RUU mode. Another possibility is to rename it to 0PJAIMG.zip and copy it to the root directory of your phone, then reboot to bootloader, as your phone will then automatically check for RUU files and start flashing.

In general it is important that the RUU matches your MID and CID. In case of the MM RUU 3.35.401.12 this hast to be WWE MID and CID. CID would be e.g. HTC__001, or HTC__102, as since MM HTC started checking for the CID as well and thus the RUU wouldn't be applied using another CID or SuperCID.

For further instructions check [MENTION=5872674]Flippy498[/MENTION]'s google sheet as well as his OP and following posts.

Cheers
[One (M9) General] abbas_392003:
I download this ruu ( 0PJAIMG_HIMA_UHL_M60_SENSE70_HTC_Europe_3.35.401.12_Radio_01.01_U11440792_97.00.51203G_F_release_signed.zip ).

but not install,not extract,not work...nothing nothing

And inside this files:

android-info.txt

dzdata_16g.hdr

dzdata_32g.hdr

dzdata_64g.hdr

dzdata_16g.img

dzdata_32g.img

dzdata_64g.img

boot_signed.img

help
[One (M9) General] 5m4r7ph0n36uru:
Read the google sheet and all instructions on how to flash those files carefully.

Those RUUs are not to be extracted, but flashed as written in my post above.

They have to match your device. Could you provide the output of the "fastboot getvar all" command if device is in download mode and connected to your PC. Are you S-ON or S-OFF?

Edit: erase your IMEI prior to posting the above asked information.

Send by the swarm intelligence of my coffee machine ?.
[One (M9) General] abbas_392003:
thank you . It worked
[One (M9) General] sourabhsrinivas:
This might be a stupid question but, say I download the OTA file. How do I update?

The stock updater is not downloading properly so I was wondering if this would solve it..
[One (M9) General] 5m4r7ph0n36uru:
What exactly do you mean by "the stock updater is not downloading properly". Some further information would be great to help, e.g. are you full stock, rooted, or anything like this? And what's the exact error appearing?

Send by the swarm intelligence of my coffee machine ?.
[One (M9) General] sourabhsrinivas:
It's horrendously slow is what I mean.

It's been at this for over an hour (no my connection is not slow)

[IMG="progress screen"]https://drive.google.com/file/d/0B3Pd0Jb7wb3qLVVTMGRyZU0yQTA/view?usp=docslist_api[/IMG]

I am full stock. There's no error, just painstakingly slow.

And I tried the adb side load method, and gets an error saying device not detected or something, and when I try updating from recovery, it says can't map file.

Thanks :D
[One (M9) General] 5m4r7ph0n36uru:
Maybe you could try downloading the RUU from HTCDev and try installing via RUUing your device to MM. As far as I know there should be one for this version.

Send by the swarm intelligence of my coffee machine ?.
[One (M9) General] drmoeed:
I downloaded the 3.35.xxx RUU from AFH link provided by SoldiEr ...

When i tried to copy it on my SD Card , it gave error and failed to get copied ....

I downloaded another time but faced the same issue ...

Anyone with a help notion please ... ???
[One (M9) General] Flippy498:
Use a MicroSD-USB adapter and connect your SD card directly with your PC. That's what I do most of the times I flash a RUU.
[One (M9) General] MGTF:
I believe SD card should not be above 32gb for flashing ROMs..
[One (M9) General] Flippy498:
The problem is not the size but the format (fat32 needed). SD cards which are bigger than 32gb can not get formatted to fat32. Nevertheless this limitation is obsolete if you run firmware 3.x and above since the download mode of those can read exfat, too.
[One (M9) General] exocetdj:
There are methods to make a 64gb card fat32. Unfortunately I have forgotten where the guide is. My SD is fat32 SanDisk ultra 64gb

---------- Post added at 03:59 PM ---------- Previous post was at 03:54 PM ----------

[YOUTUBE]DuTlm17lvmw[/YOUTUBE]

---------- Post added at 04:04 PM ---------- Previous post was at 03:59 PM ----------

I like flashing firmware from SD ?

The m10 looks stunning from what I have seen BTW (not that white monstrosity BTW);)
[One (M9) General] Flippy498:
Well, being no native English speaker I might have chosen the wrong words. I do know that it is possible but from what I've read in Sneakyghosts thread (please don't ask me for a direct link - it's been a while since I read that info and can't find the post) it's not recommended to do if you want to flash RUUs because those SD cards are not meant to be formatted to fat32 and bricks might occur.
[One (M9) General] exocetdj:
Can I have the link please mate?;):laugh: just kidding mate :)

That's fair enough I wasn't aware of any risk and it's been OK for me (It has done the first flash then reboots to normal system then finishes the flash when rebooted to download which is weird but it's all working good, maybe it's due to that issue you mentioned)