yashsingh1/xdaforums huggingface dataset:
[One (M9) General] vipimg:
I need to go back to stock but my S-on

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei: 3**************

(bootloader) version-main: 1.32.401.6

(bootloader) boot-mode: download

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: HTC__J15

on the back cover its written 0PJA100

which is the correct RUU for this
[One (M9) General] stewalker:
Hi everyone. I'm not great with the whole adb thing so I've tried to flash to stock using the volume up method. I'm getting the following message and any help would be appreciated [emoji106] .
[One (M9) General] stewalker:
Can anyone help please?
[One (M9) General] Roobwz:
Are you flashing the correct RUU? You can't downgrade if you're a s on.

ICE M9
[One (M9) General] stewalker:
Thanks for the reply. That's probably it then. I'm s-on and trying to flash the ruu from op. I'm on 3.35.401.12 so take it I need another ruu. Is there one available for me?
[One (M9) General] Roobwz:
No worries, the most common used RUU is for your version. Check out flippys thread in the general forums. There you'll find his spreadsheet with detailed instructions and with the RUU you need. Just make sure it matches your firmware [emoji1]

ICE M9
[One (M9) General] stewalker:
Basically I'm trying to return to stock for warranty issues. I have no problem paying for s-off if it will help me but will it flag up as modified if I try to return the phone?

It's to return to carphone warehouse in UK and they will plug it in usb to scan for modifications.
[One (M9) General] Roobwz:
Yeah s off will help you relock the bootloader without it indicating "relocked". If you don't care about the bootloader status, then everything else would be stock including the firmware etc.

ICE M9
[One (M9) General] doomscooter:
http://xdaforums.com/one-m9/general/how-to-disable-remaining-write-t3171735
[One (M9) General] Flippy498:
Or you simply flash a RUU via SD card after you got S-OFF. This way the status gets reset to "Original", too.
[One (M9) General] Kye7:
Thanks for the post!
[One (M9) General] rpadu2010:
I Want to convert my HTC ONE M9 Developer Edition to WWE International

If I converted and flash RUU WWE with my HTC One M9 Developer Edition (mid: 0PJA11000 - cid BS_US002) to WWE international will I'm getting all this GSM Band as mentioned on HTC Website (2G/2.5G - GSM/GPRS/EDGE: 850/900/1800/1900 MHz, 3G UMTS: 850/900/1900/2100 MHz, 4G LTE: FDD: Bands 1,3,5,7,8,20,28 TDD: Bands 38, 40, 41) or not.

Because mine is not support to the UMTS Band-VIII 900MHz and some of the LTE Band like 800MHz & etc.

Please help and confirm that this will solve my problem.
[One (M9) General] anggilram:
cant update firmware

Hello XDA society.

i just bought my new HTC one M9 used.

anything seems fine until im trying to update my firmware to latest update which is marshmellow (2.10.401.180 MB), all files downloaded and this phone rebooted. but suddenly the update failed (pls check the image)

right now my phone running in lolipop 5.1 (2.10.401.1), RELOCKED and S-ON.

[IMG="failed to update"]http://i1314.photobucket.com/albums/t571/Angga_Gilang_Ramadhan/IMG-20160901-WA0006_zpszwiybbhx.jpg[/IMG]

[IMG="Relocked and S-ON"]http://i1314.photobucket.com/albums/t571/Angga_Gilang_Ramadhan/IMG-20160901-WA0002_zpso3arftjy.jpg[/IMG]

ive already tried many ways but i only get bricked.

or maybe there is another way to update manually ?

ill appreciate any helps. thank you
[One (M9) General] fergalc:
Hi guys,

noobie looking for the help getting back to Vodafone UK Branded

I had no problem rooting and upgrading my firmware, but I'm anxious about returning to Vodafone Stock

Here's what I've got:

C:\Android\com>htc_fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei: **********

(bootloader) version-main: 3.35.401.12

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U11440

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: 11111111

all:

finished. total time: 0.008s

htc_fastboot finished. total time: 0.176s

Looks like I'm on the International edition and I want to return to Vodafone, can anyone confirm what RRU I can use?

Thanks in advance, f
[One (M9) General] bsilvino:
:confused: Perhaps someone more guru can help me on getting my M9 (from Rogers/Canada) back to stock and able to get HTC OTA updates. See below the steps that I have done and what did I get:

1) it was unlocked / s-off / rooted and TWRP recovery

2) I downloaded all the versions for Rogers from this post link

3) tried it following the steps as advised, all ROMs did work, except version 3.38.631.2 can't get it installed. With the other ones I got OTA update, downloaded it, but it detects software was modified not allowing me to install, basically it discard the update. I got this on all other versions: 1.32.631.31 / 2.11.631.2 / 2.11.631.180

4) then I tried a way that was not explained in any post, I had installed the version 2.11.631.180

5) then I disable write protections as guided on this post link

6) and then I restore software status original as shown here

7) software status was now back to ORIGINAL

8) I flashed back stock recovery (everything now was from stock ROM: recovery / system and boot)

9) I then via adb locked the bootloader as shown here

10) and returned the device back to S-ON also as shown here

11) so the bootloader status was:

***Software status: Original ***​

*** LOCKED ***​

*** S-ON ***​

11) boot to download mode and did factory reset.

12) reboot the phone

13) came again HTC OTA update 3.38.631.2 (1.26GB), I downloaded it.

14) it now allowed me to install it, it did not detected any software modified as before

15) it shut down the phone and started installation

16) on 25% it got stuck and then showed the triangle as soft-bricked

This is what I got so far, I don't know what else I could try, any help will be very welcomed

Thanks in advance!!!
[One (M9) General] KOLIOSIS:
Go to this thread:

http://xdaforums.com/one-m9/general/guide-return-to-stock-canadian-htc-one-t3108236

The 1st post has a link for Rogers.

Click on it & you'll find a folder with the Rogers HTC One M9 RUU.zip(s)

Not sure if you can flash these on a stock Official/Locked/S-On device,perhaps the OP can answer any questions you have.

If this can indeed be flashed (in download mode) I'm pretty sure it'll need to be on an external SD Card & renamed to 0PJAIMG.zip (again,ask around in the thread).
[One (M9) General] :
should i write supercid to my device is there any different between HTC__032 and 11111111
[One (M9) General] :
HELP !!! i changed my cid to HTC__032 and mid to 0PJA10000 and flashed this its loads system images and boot images succesfully says press power key to continue when i press the button its power off and nothing happened now i have just fastboot mode please help sorry for bad english

---------- Post added at 07:50 AM ---------- Previous post was at 07:43 AM ----------

can i flash this ==> http://dl3.htc.com/application/RUU_...7.16.exe?_ga=1.155576376.208624817.1475157342
[One (M9) General] :
can anyone share a new link for RUU.zip
[One (M9) General] Flippy498:
Can anyone read the sticky threads before a new post gets written in a thread that hasn't been updated for over a year? :p
[One (M9) General] :
i know but i think someone give us a new link or upload or i dont know something else
[One (M9) General] Flippy498:
Are you kidding me? There is a sticky thread where you can find all RUUs that have been linked here. If you had read the sticky threads before posting you would have known that.
[One (M9) General] Francesco0301:
I have unlocked bootloader, twrp installed, root and cm13 as rom. Can I only flash ruu file putting it on microsd and flashing in download mode? My cid and mid are supported.
[One (M9) General] Aramai:
Hello Guys,

Is the above still the case?

I am looking to go back to stock to get Nougat OTA update I have S-On

Desperately trying to find out how to go S-Off and do the rest

thanks
[One (M9) General] Flippy498:
Yes, you still need S-OFF for being able to use this guide and yes, Sunshine is still the only way (if you don't own a java card or an xtc clip which both cost much more).

However, you don't need this guide for being able to install OTAs, again. Read the ReadMe thread. There you'll find all needed information.
[One (M9) General] Aramai:
Hi

used sunshine to S-Off ($25.00)

my CID is H3G__001

OS-3.35.771.12

I was using the latest Ice rom and wanted to go back to a stock rom and then go Nougat OTA

I tried to flash the ruu and then the phone rebooted and now it will n ot boot up, i read on a few posts to try and flash again, however, the sd card shows as not mounted.

Any pointers please?
[One (M9) General] Aramai:
ok i was using a 64gb card now using a 4gb card with the stock rom and it is mounted but i cannot get to flash it as it fails and says it has invalid header information
[One (M9) General] doomscooter:
When u already s-off, unlock bootloader

Go to http://androidruu.com/?developer=M9

Donlot RUU x.xx.771.x

Flash RUU, after that relock bootloader and get OTA until Nougat. Cmiiw
[One (M9) General] Flippy498:
No, just no. As already written several times on xda: Don't relock this phone's bootloader unless you know what you're doing. OTAs don't check whether the bootloader is unlocked or not. Therefore, you can install them with an unlocked bootloader, as well. More infos about the risks of relocking the bootloader of the m9 are located in the ReadMe thread.

Aside from that, there are newer RUUs for SKU 771 in the ReadMe thread.
[One (M9) General] zalech:
I just have question before I use this method to relock my bootloader and do the s-on.

What about the recovery? Does this RUU file comes with recovery file?? and don't need to flash any recovery file?? Because if I'm right I can't flash any recovery files while bootloader is loked again.

Any one tried this method with success?? I'm just concerned, I realy like my M9 and don't want to brick it :)

So is there any one who did all this and didn't bricked his phone??

I onces did this kind of stuff on my old M7 but then I used revone to make bootloader locked.

Cheers Greg
[One (M9) General] orenfl:
While trying to get an OTA after going back to stock, I've got into error #7 in the recovery with issue in block.map.

Any suggestions how to fix it so I can install it fluently?
[One (M9) General] confused1-22:
Help with HTC M9 s-off to s-on?

I have read through this whole thread and didn't find my answer yet:

So, if I have *** Software Status : Official ***

Bootloader Locked

and S-OFF

can I just use the last command to gain S-ON?

fastboot oem writesecureflag 3

I am trying to get the latest update from ATT for nougat but it will not work with s-off.

Any help would be great.
[One (M9) General] Flippy498:
S-OFF has nothing to do with your phone not being able to receive the latest update.

As long as your system partition is unmodified and you're using the correct stock recovery you should be able to install OTAs (in general). However, AT&T updates are a bit tricky since AT&T checks whether you're using one of their sim cards. If you aren't then you won't be able to receive their OTAs.
[One (M9) General] confused1-22:
I dont know how to check those things. I recently purchased this phone thinking it was new and it came modified. I would just like to get it back to recieving OTA updates. but I keep getting my software is update to date messages. And when I try to manually install it from HTC's description and RUU it gets to the point of starting then just stops and says the RUU can not update this android phone. I have not done anything to the partition or recovery on this phone and am not sure how to verify they are in tact.
[One (M9) General] Flippy498:
Please read the ReadMe thread (especially the RUU section).

The latest firmware for the M9 (4.x) uses new encryption keys. That's why you can't use 4.x RUUs on a phone with firmware 3.x. This means that the latest RUU that you can use is the latest 3.x RUU. However, if your software status is official then your phone should be unmodified. Nevertheless, you can run a RUU if you want to be on the safe side.

The message "your software is up to date" that pops up although you aren't using the latest firmware is shown because you aren't using an AT&T sim card. As written in my last post, you can't receive AT&T's OTAs if you don't own one of their sim cards. (American carriers are weird. Verizon blocks the bootloader unlock and AT&T blocks OTAs for non-AT&T customers.)

Since your phone is S-OFF and you're not using an AT&T sim card I'd suggest you to convert the phone. There's guide in the ReadMe thread. This way you get rid of AT&T's ridiculous update politic. Either use one of the unbranded SKUs (617 - US; 401 - Europe; 708 or 709 - Asia; 710 - Australia) or the one that corresponds to your current carrier if you prefer a branded firmware. Be aware that flashing CDMA RUUs (e.g. Sprint or Verizon) on a GSM device can damage the phone unrecoverably.

Sidenote: Firmware 3.x on the M9 equals android 6 and firmware 4.x equals android 7.
[One (M9) General] confused1-22:
I will have a look at the read me regarding RUU's however..

I have, and have always had, an AT&T sim card. So i guess I do not understand how it can not be recognized. And also how I would not be able to get the update from 3.xx to 4.xx if the SIM is AT&T?

Thanks for the replys by the way...
[One (M9) General] Flippy498:
Okay, that's strange. :eek: The only reports of AT&T branded M9s that weren't able to receive OTAs stated that the users haven't been using an AT&T sim card. (That's why I assumed you wouldn't be using one, either.) You might want to contact your carrier support hotline/chat if you still aren't able to receive the update after flashing the latest 3.x RUU.
[One (M9) General] confused1-22:
What if its not an AT&T specific M9? I never looked at the phone when I got it but I do not see a logo on the back of it? Would this have an impact? And if so how would I go about updating it then? I could try to see what AT&T has to say, do you think that would help?

---------- Post added at 09:01 PM ---------- Previous post was at 08:58 PM ----------

I also have CID: CWS__001 and MID i believe is OPJA11000. What does this tell me as for branding?
[One (M9) General] Flippy498:
Since the discussion became completely unrelated to the guide in this thread we should continue the discussion in the ReadMe thread. This way we don't clutter up this thread more than we already did.
[One (M9) General] Lisandro F:
hi guys, i need some help if this phone:

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) version-main: 3.35.401.32

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U11440792_97.00.51203G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: HTC__001

i try flash with this roms:

0PJAIMG_HIMA_UHL_M60_SENSE70_MR_HTC_Europe_3.35.401.12_Radio_01.01_U11440792_97.00.51203G_F_release_464236_signed_2_4

0PJAIMG_HIMA_UHL_N70_SENSE80_MR_HTC_Europe_4.14.401.7_Radio_01.01_U114401011_117.00.61117G_2_F_release_490768_signed_2_4

0PJAIMG_HIMA_UHL_M60_SENSE70_HTC_Europe_3.35.401.12_Radio_01.01_U11440792_97.00.51203G_F_release_signed

OTA_HIMA_UHL_M60_SENSE70_MR_HTC_Europe_3.35.401.32-3.35.401.12_release_487250

nathing this ones work

i have done with this rom and works fine "4.14.401.7 CL836547 release=keys Baseband version 01.01_U11440792_97.00.51203G_F"

i'd like put the phone back stock like remove root like i did, and lock the bootloader removing twrp and put the stock firmware

Thank you
[One (M9) General] bc050400:
hi

i just bought m9 sprint but its rom tempered. i want back to stop need help.

1. S-off

2. dont have mid and cid (my region is asia *(pakistan)

3. i just want ota updates and install official thats it

4. boott loader info in the below image

:\adb> fastboot getvar mid id: inished. total time: 0.011s

:\adb>fastboot getvar all bootloader) version:0.5 bootloader) variant:MTP eMMC bootloader) secure:yes bootloader) version-baseband: bootloader) version-bootloader: bootloader) max-download-size: 0x20000000 bootloader) partition-type:cache:ext4 bootloader) partition-size:cache: 0x14000000 bootloader) partition-type:userdata:ext4 bootloader) partition-size:userdata: Ox5e0000000 bootloader) partition-type:system:ext4 bootloader) partition-size:system: Ox118000000

really appreait your help

thanks
[One (M9) General] ketulharini:
D:\HTC M9\L51>fastboot getvar all

(bootloader) version:0.5

(bootloader) variant:MTP eMMC

(bootloader) secure:yes

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:cache:ext4

(bootloader) partition-size:cache: 0x14000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0x5e0000000

(bootloader) partition-type:system:ext4

(bootloader) partition-size:system: 0x118000000

(bootloader) serialno:HT55CYJ00237

all:

finished. total time: 0.125s

i am stuck on bootloader mod doesn't go on download mod nor to recovery mod.

can't boot to Android as well,

All the other values for CID, MID and other stuff is blank when I do indivdual fastboot getvar command.

can I bring my M9 to life with any RUU image flashing with Fastboot command.

If yes please let me know which RUU image I use and how to flash?

Thanks
[One (M9) General] DeadPotato:
Sorry for the bunch of noob questions here, I'm new with flashing RUU :(

- Is there no way to go back to stock being S-ON, or is the S-OFF requirement just to change it from relocked to locked?

- I have a factory unlocked M9, no carrier branding or logos, I thought that would be an international model, however after browsing http://www.androidruu.com/?developer=M9, the only RUU to match my base band was one labeled as AT&T Cincular US, how do I know if my phone is an AT&T variant, can I be sure that's the right one just by matching the base band?
[One (M9) General] clsA:
boot the phone into download mode and use fastboot getvar all

it will display like this in the command window

C:\adb>fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_himaulatt

(bootloader) version: 1.0

(bootloader) imei: hidden

(bootloader) version-main: 1.32.617.6 The 617 tells you its a developer edition

(bootloader) boot-mode: download

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA11000

(bootloader) cid: BS_US002 This CID also tells you it's developer edition

all:

finished. total time: 0.013s

C:\adb>adb devices

The items in red must match your phone to use that RUU

0PJAIMG_HIMA_UL_L50_SENSE70_ATT_NA_Gen_Unlock_1.32.617.6_R2_Radio_01.01_U11440221_59.04.50303G_2_F_release_426167_signed
[One (M9) General] DeadPotato:
Thanks for the useful info mate! :) my fastboot getvar all gave me almost identical information to yours:

(bootloader) kernel: lk

(bootloader) product: htc_himaulatt

(bootloader) version: 1.0

(bootloader) imei: hidden

(bootloader) version-main: 1.32.617.30

(bootloader) boot-mode: download

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA11000

(bootloader) cid: BS_US001

all:

finished. total time: 0.025s

Despite the fact I don't think it's a developer edition because the bootloader it's locked and the CID is slightly different, can I use that same RUU right?

So just main version has to match? Is there no problem if the radio doesn't match at all?

Thanks for your help!
[One (M9) General] clsA:
You have the Unlocked M9 you can use this RUU with s-on

https://www.androidfilehost.com/?fid=95916177934551186
[One (M9) General] gzhn:
hi, my phone was a taiwan made which has 1.32.709.6 firmware then i converted it to developer edition by both firmware, cid and mid change.

now i'll send it to warranty so i want to go back to completely stock.

i'll flash 1.32.709.6 ruu but i don't know what was my cid and mid. can anyone tell me the cid and mid of taiwan version 1.32.709.6?

thanks a a lot
[One (M9) General] ahrion:
Is T-Mobile M9 WWE? I want to lock/restore original firmware, and make it 100℅ stock (s-on).

I'm currently running TWRP, SOFF, unlocked with a custom rom.
[One (M9) General] Mutasek24:
No, T-mobile isn't WWE,you have to use Rom.zip ( or RUU.exe) for T-mobile +compatibile CID/MID instead of WWE.

EDIT:

Paste your result with : fastboot getvar all (delete IMEI) in Download mode
[One (M9) General] diegodbm:
Perhaps silly question

Hi,

I have J15 and opja100 model.

I prefer have the wwe RUU, does this method works with my M9?
[One (M9) General] Mutasek24:
Yes, you can
[One (M9) General] diegodbm:
Thanks... i'll try!!
[One (M9) General] adnan.makarevic:
hi

there is no way to go back without a simcard? the phone is ulocked, rooted and s-off.

shouldn't it be possible to flash the ruu zip by fastboot oem rebootRUU --> fastboot flash zip ZIPFileName and after modify the p8 partition?

thanks

---------- Post added at 06:39 PM ---------- Previous post was at 06:22 PM ----------

i want only to report, it works for me! :D :D im ulocked, rooted and s-off but my software status is official.. niceee! :D :D :D
[One (M9) General] ntflc:
Thanks for this guide!
[One (M9) General] svmpatel:
Just a quick question that I hope the brain boffins here can answer... Can this same guide be used to effectively convert a Taiwan M9 which I've S-Off'd into a WWE model and get OTA updates based on WWE?
[One (M9) General] Mutasek24:
Yes
[One (M9) General] svmpatel:
Thanks :)
[One (M9) General] Mutasek24:
If you just want convert to version WWE, step 2 (LOCKED) of the guide is not mandatory
[One (M9) General] iElvis:
n/m
[One (M9) General] brockyneo:
hi guys im on the latsest viper rom 1.40.401.5 can i follow op to go back to stock rom i have super cid and soff

thanks
[One (M9) General] Mutasek24:
Yes you can
[One (M9) General] brockyneo:
thanks can i leave bootloader ect all as they are and just flash the stock rom also will this give me OTA or do i have to relock bootloader for that

thanks again
[One (M9) General] Mutasek24:
You can leave bootloader if you want (bootloader isn't pertinent for OTA)
[One (M9) General] Simpody:
I dunno what I'm doing wrong. I've soff and changed cid to 001.. I have trwp installed. Trying to flash RUU but fastboot method states cannot open and sd card states same.

What's this ish?
[One (M9) General] Mutasek24:
What error do you have (both fastboot and SD card)?
[One (M9) General] Simpody:
Fastboot just states cannot open (then name of file). SD states pretty much the same. Its like it sees the file but can't access it. You don't unzip these do you?
[One (M9) General] Mutasek24:
Can't access this is correct , tried to use htc.fastboot.exe instead of fastboot.exe? SD card which you use? was formatted? Did you check the name of the file (note if you do not have the double ".zip")?
[One (M9) General] Simpody:
Sorry to sound newb.. do I just type this into command prompt? I'm not sure what htc.fastboot is

SD card is formatted to fat32. File is named with just .zip at end
[One (M9) General] Mutasek24:
SD card:

even check the name 0PJAIMG.zip (the first is 0-zero). Rom must be "loosely" on the SD card (none folder)

Fastboot:

No, you must use fastboot.exe htc file, https://docs.google.com/file/d/0BxUEBSB4XdsRdm5fYVRWMUU2Mjg/edit?usp=docslist_api

copy the folder with ADB, reboot to download mode and:

fastboot oem rebootRUUhtc_fastboot flash zip XX.zip
[One (M9) General] Simpody:
I'll give it a try later. Where do I copy folder too? Fastboot?

Does it matter that twrp is installed?
[One (M9) General] m4jkee:
[MENTION=1335001]Mutasek24[/MENTION] will it flash stock recovery?
[One (M9) General] Mutasek24:
No, htc_fastboot file must be in the same folder in which you open CMD. TWRP doesn't matter
[One (M9) General] Mutasek24:
You mean if RUU restores the stock recovery?