yashsingh1/xdaforums huggingface dataset:
[One (M9) General] jeem1908:
Flashed via SD card myself, now software official unlocked bootloader and s-off

---------- Post added at 04:52 PM ---------- Previous post was at 04:09 PM ----------

Did this now all official, unlocked bootloader and s-off, bring on the next OTA's

Cheers
[One (M9) General] Nima78600:
Yes, that's enough to get and install OTA updates (unlocked bootloader and s-off won't break the OTA updates).
[One (M9) General] jeem1908:
Great bunch of guys here on xda, keep up the the great stuff you all do
[One (M9) General] HTID1983:
Is it possible to install the M firmware update and latest Viper ROM without having S-OFF ??? In the thread it says that S-OFF is required, is there any other way to install it with S-ON? Can someone tell me why S-OFF is needed, and lastly is there really no other way to gain S-OFF besides paying 25$ for sunshine???
[One (M9) General] melonn96:
Stock rom needed...

Hi all, im in need of help from someone who can understand which exact files i need to download. i've tried several and recieved numerous errors. if you can point me in the right direction i would really appreciate it.

C:\miniadb_v1031>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.006s

---------- Post added at 11:53 AM ---------- Previous post was at 11:35 AM ----------

believe that is the only way, its not as simple as the HTC M7 where you download revone and s-off your device, currently the only way is sunshine and they've sacrificed a lot of bricked devices to get the correct method.
[One (M9) General] Flippy498:
Wait for the official OTA if you don't want to pay. It's needed because at the moment only the Dev/Unlocked SKU 617 and the Asian SKU 709 received an official updated.

Did you try to install RUUs? As long as your phone isn't S-OFF you can't use any of the ones that are linked here or in my google sheet. But you can restore a TWRP Backup. I highlighted the version you need to look for. Instructions how restore a backup correctly can be found in my google sheet.

Edit [MENTION=7200885]HTID1983[/MENTION]: Please stop cross-posting. It's considered as rude behaviour on xda and asking the same question several times won't make others answer faster.
[One (M9) General] melonn96:
hi there, yes i did, i dont have s-off, i have unlocked bootloader and modified system status, im in a bad situation, i cannot install supersu as it bootloops and that means i cannot do anything which requires root access, id love some help if possible to return to stock,

thank you,

Michael.
[One (M9) General] Flippy498:
As said in my last post. There is no RUU you can use. Get the backup that corresponds to the highlighted firmware version and restore it with the instructions in my google sheet. At the moment there is no way to get rid of the modified status without S-OFF.
[One (M9) General] melonn96:
hi there, i got the backup that responds to the correct number from Vodafone but i couldnt flash it as the file is too big, im now on a relocked bootloader in the download menu trying to get back to stock. could you link me to the best link to install a RUU or a twrp file? i cant seem to get it right

thanks.

michael.
[One (M9) General] joecool666:
http://androidruu.com/?developer=M9 here you go regard's http://xdaforums.com/one-m9/general/guide-return-m9-to-100-stock-s-off-t3091730
[One (M9) General] Flippy498:
Why did you relock? It's not needed. It's even written in the OP that you don't need to relock. Re-unlock via HTCdev, please. Besides the file is only too big if you don't follow my instructions. There is a reason why I wrote that people should use an external SD card that is formatted to exfat. And as already said before you can't use any RUU with S-ON since there is none for your current firmware version and you can't downgrade with S-ON.

With S-ON he's not able to use those.
[One (M9) General] joecool666:
s-off=25

s-off=25 sorry thought he had it unlocked. regards.
[One (M9) General] Flippy498:
I actually doubt that there will ever be a free method. It's too much hassle and too expensive to develop S-OFF methods nowadays as if anyone would provide it for free afterwards. And as written before, relocking is not needed. I guess you're referring to the Back to 100% Stock Instructions. As the title says you're phone is 100% Stock if you use them which means it's as if you bought it some minutes ago. That's why you don't need to relock if you just want to get back the stock system.

However a 8gb SD card would be totally fine and doesn't even cost 5 euros.
[One (M9) General] melonn96:
I understand. Even if I don't have 35 cents in the bank I'll get an SD card when I do.

Thanks for your help

Regards.
[One (M9) General] Flippy498:
[MENTION=7215221]Ninec[/MENTION]: What do you mean with few ones? There should be one line with CID at the beginning (above the line with LK at the beginning and under the line with htc_hima...) and the 8 letters/symbols/numbers behind the - are your CID.
[One (M9) General] Ninec:
I send you screenshot.
[One (M9) General] Flippy498:
It shows what I've already expected. Did you buy the phone second hand? It's modified. But you're lucky the previous owner set it S-OFF (which costs 25 USD). So it's easier for you to recover the abiltiy to receive and install OTAs. Do you know how to use fastboot commands? If not I can give you step-by-step instructions.
[One (M9) General] Ninec:
Looool It was brand new. No I don't know sorry :(
[One (M9) General] Flippy498:
No problem. ;)

First you need to install the HTC Sync Manager since it installs the needed USB drivers. (I linked the US version since I don't speak chinese and so I don't know which is the correct option in the language selection in your case.) After the installation is completed you can uninstall it immediately. If you don't uninstall the Sync Manager the following steps may fail. You only need to keep the HTC Driver Installer which is a seperate programm.

Next you need this archive. Create the directory "C:\Android" and unzip the downloaded archive into that directory.

Then you need to boot to Download Mode and connect the M9 via USB with your PC.

Hold the shift button on you keyboard and click with the right mouse button into the folder with the unzipped files. Choose Open command window here.

Type fastboot oem writecid HTC__622 and press enter. Use the reboot to download mode option on your phone. The line with CID at the beginning should now show the original Hongkong CID HTC__622.

In best case you should be able to receive and install OTAs if you reboot to Android now. In worst case you may need to flash a RUU beforehand. The needed RUU and flashing instructions can be found in my google sheet which is linked in my signature and in post #5. Be aware that flashing a RUU will wipe everything on your phone so you should save everything that is important for you before you start flashing.
[One (M9) General] Ninec:
Now software 1.40.708.9 is available, but still cant update I send you one more screenshot.
[One (M9) General] Flippy498:
That's the worst case I was talking about. You need to flash the 1.32.708.15 RUU from my google sheet if you want to update your phone.
[One (M9) General] Ninec:
Ok, I'll try now But i don't know which instructions to follow. Can you please tell me ?
[One (M9) General] Flippy498:
The ones in the RUU tab. RUUs are either *.exe or *.zip files. The 1.32.708.15 RUU is a *.zip file so you need to follow How to use RUU.zip. ;)
[One (M9) General] Ninec:
Ok, than you. Can you check your private messages.
[One (M9) General] Flippy498:
I did. And you got an answer. ;)

For everyone else who might be interested: The question was what to do if you don't own a sd card.

The answer: Flash the RUU via fastboot. Sneakyghost's instructions for flashing firmware can be used for RUUs, too. The only difference is that you don't flash a firmware pack but a RUU.
[One (M9) General] Ninec:
Thank you Flippy so much for that helped me to solve the problem !
[One (M9) General] Abaddon:
Hi, what stock recovery can I use on my end?I've got the ff;

mid: 0PJA10000

cid: HTC__621

version-main: 3.36.709.3

will the 2.10.709.6 one work for it?
[One (M9) General] Flippy498:
That wouldn't work since your firmware is a Android M one and the 2.10.709.6 recovery is a Android L one. Unfortunately no one has contributed a 3.36.709.3 recovery and at the moment I don't have the time to flash the 2.10.709.6 firmware and extract it from the 3.36.709.3 OTA.
[One (M9) General] Abaddon:
I understand, it's alright mate. just planning to return it to stock soon. I've got a twrp backup of my unmodified system except for the stock recovery. and I'm still thinking whether to s off or not. plus the red text annoys me lol thanks for replying have a good day ?
[One (M9) General] calikevin:
Okay I'm sorry, I know this has probably been asked a hundred times but I am going nuts.. Tried reverting back to stock to take OTA to MM, restored fully stock backup to 2.10.709.1 and then flashed 2.10.709.1 recovery, oem lock and when I go to install the OTA it reboots 6 times like its installing but then I get a red triangle with no error text. I've tried restoring stock TWRP backups from 2.10.709.1 to 2.10.709.6 and I get the same results. Am I missing a step somewhere? Do I need to use an older stock TWRP backup? Your help is greatly appreciated as I've been trying to revert back to stock for weeks now with nothing but a headache.

S-on HIMA_UHL_Asia_TW

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(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

When I try running the RUU for Unlocked editions found here- http://dl3.htc.com/application/RUU_HIMA_UL_M60_SENSE70_ATT_MR_NA_Gen_Unlock_3.35.617.12.exe I get Error[131]:Customer ID Error.. Is that not that right RUU for my phone?
[One (M9) General] Flippy498:
Re-unlock if possible and take a look at the google sheet in my signature. There you will find backups and instructions which should solve your problems.
[One (M9) General] calikevin:
I have done all of that (I used the TWRP backups from your sheet previously) with the exception of formatting the SD to exfat, would that really make all the different? I'm not even sure what the file system is on it but I know it works for everything else..

Would I benefit from doing this? The only RUU.zips for Asia_TW is 1.40.709.4 and 1.40.709.8, can I still flash those being S-on?
[One (M9) General] Flippy498:
Yes, it makes a huge difference since many formats cannot handle files which are as big as the backups. (The internal storage can't do that, either.)

With S-ON you can only use RUUs which have at least the same version as your phone or a higher one.
[One (M9) General] calikevin:
Thank you, I will try exfat and all the steps again.

EDIT: Just plugged my SD into my computer to move files and reformat but it's already exfat. Any other reasons it might not be working? Would flashing an older TWRP backup maybe help? I've flashed other TWRP backups and tried to get the OTAs to no avail
[One (M9) General] elmasry82:
Help

I can’t fine the official rom 2.11.1405.16. It’s for China. Can you help me?

For my HTC ONE M9
[One (M9) General] Flippy498:
Why did you quote the whole 4th post? Since I get notified whenever there's a new post in this thread that quote was not needed at all. Please be so kind and delete the unneeded quote from your post. Thank you.

If the recovery your looking for isn't listed in the 4th post then no one has contributed it yet. At the moment I don't have the time to flash firmware versions of a different SKU, grab all OTAs, extract the recoveries and create backups for the firmware versions that belong to that SKU. Maybe someone else with either S-OFF or someone who has a phone with the same firmware version as you can help you out.
[One (M9) General] calikevin:
Sorry flippy but do you have any other ideas as to what I can do? Whenever I use a stock backup and try to get the ota it givegives me the red triangle screen.
[One (M9) General] Flippy498:
Well, I guess it's me who has to say sorry. :p I didn't notice that you edited your post.

Did you wipe everything except your external SD card? Did you mount your system as read-only? Did you use TWRP 2.8.7.1-CPTB-Beta-1? If your answer is always yes, then I don't know what's might be the problem.

When I created that backup I couldn't test whether it's able to receive OTAs since at that time it was the latest version. Nevertheless I created it the way I always use and I know that the older backups for your SKU do work the way they should. Unfortunately I don't have the time to test the backup, again, since I need to learn for a big exam. I can only promise to take a closer look when I passed that exam.
[One (M9) General] vasilis rossi:
i flashed an eu htc m9 with s_on how to turn on stock or chane to another rom

---------- Post added at 08:06 PM ---------- Previous post was at 07:57 PM ----------

edit]i tryed to flash a custom rom on eu m9 unlocked rooted with s on. my phone is stuck in booting mode loop how can i turn to stock? thank you
[One (M9) General] ChaseRxx:
Flippy498

Im having some issues when i download a ruu from AndroidnFile Host

This one: M9 Europe 2.10.401.1.zip im getting error 22 when i flash the zip .

File corrupted. Tried all alternative host when download finishes i can t extract the zip (file corrupted)

Weird
[One (M9) General] 5m4r7ph0n36uru:
You don't extract a RUU zip-file. It hast to be flashed per fastboot or renamed accordingly to be flashed from M9 storage. But they aren't extracted!

The exact steps can be found in [MENTION=5872674]Flippy498[/MENTION]'s google sheet ;)

Send by the swarm intelligence of my coffee machine (AKA HTC One M9).
[One (M9) General] Flippy498:
[MENTION=4452043]ChaseRxx[/MENTION]: Did you check the MD5 sum? I've already used that RUU several times and it's been working every time. Besides I couldn't find any similiar problems to yours in SoLdieR9312's thread (he provided me that RUU) so the problem must be on your side. Maybe it's just a bad download.

[MENTION=7225964]vasilis rossi[/MENTION]: Press and hold the power button and both volume buttons until your phone reboots to Download Mode. Instructions how to get back to stock (either by restoring a backup or by flashing a RUU) and the needed files for several SKUs can be found in my google sheet which is linked in my signature and in the 5th post. Some more backups (which aren't created by me) for different SKUs can be found in Post #2. (Btw: Please delete the unneeded quotes from you post. Thanks.)
[One (M9) General] calikevin:
I'm thinking yes to everything but the mount as read only, that seems to be the error that I run into most is that the system is mounted r/w and to reflash. How do I make sure it's read only during the process, can you give a step by step please? I feel like the read only part isn't mentioned in any of the reverting back to stock guides, I would greatly appreciate it
[One (M9) General] Flippy498:
It's all explained in my google sheet.

Edit: It's actually the 8th step in my backup instructions. :p
[One (M9) General] anto12:
Thank you [MENTION=5872674]Flippy498[/MENTION]

Using your google sheet, twrp backup..

And now i get an update..htc_621
[One (M9) General] petermulders:
Maybe a stupid question, not very into Android software. My M9 is an European unlocked version (no simlock) but it has some Vodafone apps pre-installed. Can I get rid of them by using a different RUU and if possible, which one should I take? Phone is completely stock and up to date (no 6.0 yet though..)
[One (M9) General] Flippy498:
What's your firmware version? It's stated in the line with "OS" at the beginning when you boot to Download Mode. I assume that your phone is S-ON so you can't flash RUUs for differents SKUs (the three numbers behind the second dot in the firmware version) than the one your phone got shipped with.

If you own a Vodafone-branded phone (SKU 161) then you can't get rid of the branding without getting S-OFF. On the other hand you could flash a custom rom or root the stock rom and uninstall the unneeded Vodafone apps (both methods don't require S-OFF). Be aware that rooting/flashing a custom rom breaks the ability to receive and install official updates. To recover that feature you need to flash a RUU or restore one of the backups which are linked in this thread. Instructions can be found in my google sheet (linked in post #5).
[One (M9) General] mrstabs:
I had an M9 this morning and upon setting it up I had a customization update which then added a Vodafone app to the phone. Does this mean that my firmware is now carrier branded?
[One (M9) General] Flippy498:
[MENTION=6150689]mrstabs[/MENTION]: The post you quoted explains how to find out your firmware version and how to find out whether the firmware is vodafone branded. So asking that question was completely unnecessary. :p (Btw: I don't know the answer since I never faced such an "customization update". Nevertheless I doubt that this "update" changes the SKU of your M9.)

Besides it's not very polite to cross-post the same question in more than one thread. People won't answer faster because you ask your questions multiple times. You only clutter up this forum by doing so.
[One (M9) General] calikevin:
That was it, thank you! I don't know how I missed that step like 8 other times.
[One (M9) General] Adamusss:
Repost of PM discussion with Flippy498:

I guess you know how to use fastboot, don't you? Please use "fastboot getvar all" and add the output to the post your going to write in my thread. (Delete the IMEI and the serialnumber or dubious persons may use them to commit fraud.) I can't help without knowing that output.

Fastboot can only be used in Download Mode (and ADB only while booted to TWRP or system).

- Mobile is in Download mode but it doesnt work neither. Before I had relocked the bootloader it has worked well. I have tried to reinstall ADB using 15sec ADB installer but without change.
[One (M9) General] Flippy498:
Can you download this archive, create the directory "C:\Android" and extract the content of the archive into that diretory? Press and hold the shift key while that folder is opened and click with the right mouse button somewhere into the folder. Choose open command window here and try fastboot getvar all, again. (I don't trust those installer toolkits. :p)

Nevertheless you can still get one important information from your phone even if fastboot doesn't work: While booted to Download Mode your current firmware is stated in the line with "OS" at the beginning. To point you to the right direction I need that version number.
[One (M9) General] Adamusss:
Still waiting for device.

OS-2.10.206.2
[One (M9) General] Flippy498:
Ok. That's strange. And a problem...

If your phone is S-ON (stated in Download Mode, too) then there is no RUU you could use. S-ON prevents firmware downgrades or firmware changes to different SKUs (yours is 206 for O2, btw) and there is no freely accessible RUU for your current version.

The problem is that the only free solution would be restoring the 2.10.206.2 backup from my collection. Unfortunately you need TWRP and an unlocked bootloader to be able to restore that backup. And without fastboot it's hard (or even impossible) to re-unlock the bootloader.

What kind of system are you using? Windows 7/8/8.1/10, Mac or Linux? From my experiences (Windows user) you face the least connectivity issues with Win 7. Win 8/8.1/10 can be a bit "*****y" when you try to use fastboot and/or adb. Besides using USB 2.0 ports seems to increase the success rate in comparison to USB 3.0 ports. In addition you might want to check whether the latest usb drivers are installed. Installing the HTC Sync Manager will install/update the HTC USB Driver Installer on your pc. Uninstall the Sync Manager immediately since it can interfere with adb and fastboot. The driver installer won't be affected by the uninstallation process.

If all that doesn't help an alternative approach would be using this RUU service (not free).
[One (M9) General] Adamusss:
I have WIN 10. Tried both usb 3.0 and 2.0 with no change. I think that HTC sync screwed it up. Tried to uninstall it but still does not work.
[One (M9) General] Flippy498:
I would try to get a Win 7 pc if I were you. Maybe a friend or someone from your family still has one. You wouldn't be the first user whose fastboot conectivity issues disappeared as soon as Win 7 is used.
[One (M9) General] Adamusss:
YES! had to uninstall HTC sync and after reboot of win 10 it reinstalled drivers and started working. Here is the result of getall:
[One (M9) General] Flippy498:
Great. :D Next you need to re-unlock your bootloader and then you should be able to restore the 2.10.206.2 backup with the instructions in my google sheet.
[One (M9) General] Adamusss:
Reunlock in download mode with command "fastboot oem reunlock"? Stupid question but everything that I did screwed up so Im asking before doing anything :D
[One (M9) General] Flippy498:
That command doesn't exist. :p You need to reflash the unlock token from HTCdev or if you deleted it you need to request a new one.
[One (M9) General] Adamusss:
I have reflashed it but it is still RELOCKED
[One (M9) General] Flippy498:
And there was no error in the cmd output? Can you try to request and flash a new token?
[One (M9) General] Adamusss:
Everything finished normally. Ill try
[One (M9) General] Adamusss:
//Update - tried to generate unlock code with new token but results are the same - relocked bootloader.

(CMD output -

)
[One (M9) General] Flippy498:
Well, then I'm at my wits' end. Sorry. I guess you need to use the RUU service unless someone else has a better idea...
[One (M9) General] Adamusss:
After 3rd try bootloader is unlocked, again. Thank you so much for help. Now I only have to download the TWRP backup from your google sheet and restore it in TWRP, right?
[One (M9) General] Flippy498:
Yes. :good: Be sure you read the whole instructions. ;)
[One (M9) General] tron13:
Hello,

im just buy from an auction the HTC M9, come with S-OFF.

im update the Firmware and flash TWRP... then try to install Revolution HD Rom but device freeze to boot image (htc) and dont turn on

this is the GETVAR ALL from my device:

and a screenshot of my devices download mode.

What roms can i install on this device, what is my device version? (asia? developer edition? International?)

thanks for your help
[One (M9) General] Flippy498:
It's the international version. Unlock your bootloader and your custom rom should boot. The m9 prevents itself from booting if the bootloader is locked or relocked and the system is not 100% stock.
[One (M9) General] tron13:
thanks for your help my friend

im trying to unlock with the HTCDEV.COM guide but i cant unlock my bootloaderi get this error message:

Is it locked from any carrier or somthing?

(PS, what RUU.zip i have to use on this device if i cant unlock it? because now i have a soft bricked device)
[One (M9) General] Flippy498:
The problem is that you need to enable an option in the developer options which is impossible if the phone doesn't boot. That's why you can't unlock. (Sorry, I forgot that when I wrote my last post.)

Since your phone is S-OFF you can use every RUU you would like. There is none for Android M and the international SKU (401) yet so I would recommend using the 2.10.401.1 one. After you flashed the RUU and your phone booted you need to reinstall the Android M OTA and to enable OEM Unlock in developer options if you want to unlock. (Installing an OTA is possible although the bootloader is unlocked, btw.)
[One (M9) General] tron13:
this is for me? 0PJAIMG_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.1_Radio_01.04_U11440601_71.02.50709G_F_release_signed.zip