yashsingh1/xdaforums huggingface dataset:
[One (M9) General] bsilvino:
Hi [MENTION=1566190]efrant[/MENTION] you're right, you did help me before. But this is another device (other story), so I don't know the background of this device, but I know it is from Rogers (if this is true, assumed it is). So, but again you went strait and clarified some aspects of the process.. thanks a lot. Basically one thing that I have modified and I forgot to mention was the CID from CWS__001 to ROGER001 , but just after trying with CWS__001 then changed to ROGER001 and tested. The reason I mentioned about the other versions are because I had no idea which would be the right one. So I tried them all and test to see if the OTA updates would work. I guess I will try to follow the step 1 again.

UPDATE: original CID ROGER001 , so it had been changed to CWS__001 prior coming to my hands
[One (M9) General] efrant:
If it was flashed with CWS firmware (I'm assuming CWS is AT&T?) then there is no way for you to get the Rogers OTA update without flashing Rogers firmware, and to do that, you need S-OFF.
[One (M9) General] Stan Hobbes:
Can someone help me out? I need to get back to stock and I deleted my system partition.

My device info...

** UNLOCKED **

htc_himaulatt PVT S-ON

OS: 2.11.661.5

CID: telus001

TWRP 2.8.7.0

I've got CM13 loaded. It starts, but hardly functions.

What can I do? Am I SOL?

Thanks, in advance.
[One (M9) General] efrant:
You have a few options:

1) Flash a custom ROM in recovery

2) Restore a stock back up in recovery which corresponds to your firmware

3) Find an RUU which is the same version as your firmware or newer

4) Get S-OFF and use any RUU you want
[One (M9) General] Stan Hobbes:
Thank you very much for your advice. I did not have to get far down your list for a working solution. I flashed an unofficial CM12.1 ROM, currently being maintained by user adlx.xda. It works great. Thanks again! :good::laugh:
[One (M9) General] bladehelix:
Hi all,

I'm trying to make sense of things before I screw up, so would appreciate some insight. I have an m9 from Bell, unlocked, rooted and S-ON - CID changed to the international one and running Leedroid rom. I'm giving it away to a friend but I want it to be stock so she can get OTA updates in the future.

So can I just install the international/developer RUU exe and hand it to her, would the phone become unrooted and receive OTA? Or do I need to DL and flash the Bell zip file from the first post (Stock_Bell_LP_5.0.1_1.32.666.30_TWRP.zip) after reverting the CID back to BM___001 ? Is that just a matter of flashing it via TWRP like a rom and doing something to lock the boot loader? Or should I just htc_fastboot flash zip 0PJAIMG_HIMA_UL_L50_SENSE70_ATT_BM_1.32.666.30_Radio_01.01_U11440221_62.05.50320G_F_release_427045_signed.zip ? So confused.

Please help, thank you.
[One (M9) General] SaHiLzZ:
What is your current software version?
[One (M9) General] bladehelix:
I'm running rooted Android 6.0 at the moment with the following specs:

HTC__001

401

0PJA10000

HIMA_UHL_M60_SENSE70_MR

Firmware: 3.35.401.12

TWRP 3.0.2-0

S-OFF

Does that help?
[One (M9) General] SaHiLzZ:
as your phone is S-OFF - you can match your MID and CID to a Dev edition RUU, and flash away.
[One (M9) General] bladehelix:
So would that remove root and reset to stock recovery and allow OTAs? Would I need to change my CID/MID to anything else? Currently its HTC__001 and

0PJA10000. And should I just then download the ruu exe from http://www.htc.com/us/support/rom-downloads.html under unlocked/developer (3.35.617.21) and run it? Thanks for your patience.
[One (M9) General] SaHiLzZ:
Developer Edition:

modelid: 0PJA11000 (You may need to run a script in TWRP or ADB commands to convert)

cidnum: BS_US001 OR cidnum: BS_US002

Download the developer edition ROM for *M9* from the link, you are set. HTC One M9	3.35.617.21 http://dl3.htc.com/application/RUU_....21.exe?_ga=1.161684732.1979295170.1480969736

DO NOT EVER GO S-ON.
[One (M9) General] Flippy498:
I'm sure it's just a little typo but if he successfully flashes a M8 RUU he will probably get a fancy new paperweight.
[One (M9) General] SaHiLzZ:
Indeed. Fixed. Thanks for pointing it out.
[One (M9) General] bladehelix:
Thanks a lot SaHiLzZ, followed your instructions and everything seems to be working great. Got an OTA right after I installed the rom so now I feel comfortable passing my phone on to my friend. I suppose S-OFF really does make things easier, and no Canadian RUUs is a let down but for some reason I still might get the htc 10!
[One (M9) General] twcove:
Any luck with the 3.38.666.2 RUU for Bell Mobility? I have been going nuts trying to find it. Figured since it has been a while, one of you fine gents could either post or point me in the right direction. That would be greatly appreciated.
[One (M9) General] fubar121:
Quote:

Originally Posted by SaHiLzZ

Developer Edition:

modelid: 0PJA11000 (You may need to run a script in TWRP or ADB commands to convert)

cidnum: BS_US001 OR cidnum: BS_US002

Download the developer edition ROM for *M9* from the link, you are set. HTC One M9	3.35.617.21 http://dl3.htc.com/application/RUU_H...170.1480969736

DO NOT EVER GO S-ON.

Just as a side note I got an update right away also and just got another on to 4.14.617.6 which is downlading right now.
[One (M9) General] spfleck:
Hi All,

I am looking for the correct RUU file to fix my M9 which is looping after an attempted SuperSU install.

The phone is bootloader unlocked, S-ON with the latest TWRP installed.

(bootloader) kernel: lk

(bootloader) product: htc_himaulatt

(bootloader) version: 1.0

(bootloader) version-main: 3.38.631.2

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U11440801_96.01.51207G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA11000

(bootloader) cid: ROGER001

Thanks!
[One (M9) General] spfleck:
I did create a backup with TWRP, deleted all the files in the backup folder, copied over the 3 files from Page1 of the thread and attempted the restore. The option for "read only" is selected.

During restore i get an error:

E:\unknown restore method for '/system_image'

The card is formatted as exFat

TWRP 3.0.2-0

Can't figure out what i am doing wrong.

---------- Post added at 09:55 PM ---------- Previous post was at 09:09 PM ----------

I bought my wife the exact same phone when I got mine. Hers is stock everything.

Bootloader locked and s-on

what would be the safest way to backup her M9 and restore it to mine? Is that even an option?
[One (M9) General] spfleck:
Forget everything I said and everything you read ... i'm an idiot ... sort of

As it turns out, for some unknown reason while downloading the 3 files (using chrome) the download looked like it would be combined as all 3 files in a single ZIP. I've seen chrome download do this before and didn't think anything of it. However, when the download completed there was a ZIP with the 2 small files in it and the third file (the system file) was renamed to system_image.emmc.win-2 and sitting in the downloads folder not within the ZIP

I didn't notice the rename.

I knew it was me though. So I deleted everything I had downloaded and started again. This time 1 file at a time. That's when I noticed the naming difference. It's always the little things that get you, isn't it?

I'm back in business. I read this entire thread 3 or 4 times and want to thank everyone that has contributed.

Special thanks to SaHiLzZ and efrant !!

I think i will just wait for the Nougat OTA :)
[One (M9) General] spfleck:
I was wondering how you are achieving Root though to get to S-Off ... I'm afraid to try and install SuperSU again and Sunshine cannot install because it needs Root and can't do it alone or get even tempRoot
[One (M9) General] efrant:
Flash TWRP, then flash SuperSU v2.65, not any other version.
[One (M9) General] chaossora101:
Return all to stock Telus

I messed up returning my Telus HTC One M9, so I need help getting it back to stock for a OTA upgrade. It's S-On, unlocked and non-root just having a hard time finding the ruu or something that will work for restoring it to stock.

(bootloader) kernel: lk

(bootloader) product: htc_himaulatt

(bootloader) version: 1.0

(bootloader) imei: 358235060158094

(bootloader) version-main: 3.40.661.2

(bootloader) boot-mode: RUU

(bootloader) version-baseband: 01.01_U11440801_98.04.60115G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA11000

(bootloader) cid: TELUS001
[One (M9) General] efrant:
I haven't seen any RUUs for Telus besides this one (which won't help you anyway):

0PJAIMG_HIMA_UL_L50_SENSE70_ATT_TELUS_WWE_1.32.661.6_R2_Radio_01.01_U11440221_59.04.50303G_2_F_release_426163_signed.zip

Unless you can found someone with a 3.40.661.2 backup, your only option is to get S-OFF.
[One (M9) General] RAdXXL:
Bell Mobility Nougat 7.0 4.19.666.1 Stock TWRP Backup.

If anyone needs this , PM me or reply to the post. I have a Stock TWRP backup.

htc_himaulatt

LK 1.0.0.0000

RADIO 01.01_U11440971_103.00.61018G_F

Bell Mobility

Nougat 7.0

4.19.666.1

CID BM___001

MID 0PJA11000
[One (M9) General] Sir Spamalot:
Would I need this?

Here's my problem:

1. I purchased a Bell locked phone. I upgraded using the OTA update to Nougat.

2. Then, I unlocked the carrier to use with my Public Mobile SIM.

3. I then installed an unlocked/developer version firmware.

4. I'm getting a new OTA update but when it tries to install, it says I have a modified phone and that it won't continue with the installation.

Am I SOL when it comes to any further OTA updates unless I revert back to Bell Mobility firmware? I did NOT make any backups.

Is there a way to completely unlock the phone so that the latest OTAs can be installed?
[One (M9) General] RAdXXL:
Hmm..I'm not the best with this stuff...I know basic flashing of roms etc...but I think if you are S-OFF you can do pretty much what you want in regards to alternate carrier roms and receiving updates. I would ask that question to a senior member on the site. There is an app called "Sunshine" that can get you S-OFF for $25 USD. I'm assuming since it's a Bell phone...it will only do Bell OTA's..not positive though. Worst case, I have the stock Nougat TWRP backup if you need it. xda won't let me post the link since I'm new and haven't helped 10 people. punch122@hotmail.com is my e-mail..I will send you the link to the file if you end up needing it.
[One (M9) General] shane119:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

hello, i ve exactly the same problem with the same model from videotron canada, im looking for solutions untill now

i 've tried couple of firmware but in vain.

im still digging online to find it, and i will share my results with you.

don't loose hope

shane
[One (M9) General] efrant:
Options 2,3 and 4 from the post here are applicable to both of you: https://xdaforums.com/one-m9/general/guide-return-to-stock-canadian-htc-one-t3108236/post69352068
[One (M9) General] eviliser:
HTC one m9 Wind Mobile

Guy's can you please help me on how to flash the stock recovery for my phone with cid GLOBA001 and mid OPJA11000. Can't find any information for flashing back the stock recovery. Thank you!
[One (M9) General] Ib31415:
For the record I went with options 2 and 3.

I did eventually get through to someone in HTC although an RUU was never forthcoming.

This is the reply I got,

Given that, does this mean If I use [MENTION=8020494]RAdXXL[/MENTION] 's backup of Nougat 7.0 I can finally restore the phone back to stock recovery? I'll admit that it's been almost a year since I was playing around with this and have forgotten a lot of what I learned then, however I'm certainly willing to repick it all up if it means getting the phone back to where it can receive* and install OTA updates.

*I actually have one in my notifications, but not sure what trying to use it would do.
[One (M9) General] tooclose104:
Hello, I've searched all day for steps on getting my HTC One M9 back to stock and can't seem to get it to work. I know the original post says no hand holding and must follow instructions, but all I got out of it were the files I believe I needed without instructions on how to use them.

I tried a few different things I found elsewhere but none of worked, likely because the device is S-ON even though the sources didn't mention it needing to be S-OFF.

Essentially what I'm looking for is a set of instructions on how to use the files obtained from the corresponding version in the original post to bring my device back to stock. I don't want to mess around with ROMs anymore and would like to process the OTA updates.

Thanks in advance for any help!

Device details:

S-ON

(bootloader) kernel: lk

(bootloader) product: htc_himaulatt

(bootloader) version: 1.0

(bootloader) imei: **

(bootloader) version-main: 3.38.631.2

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U11440801_96.01.51207G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA11000

(bootloader) cid: ROGER001
[One (M9) General] efrant:
I've posted hand-holding steps a few times already. See posts 256 and 297. That said, I would recommend reading the

whole

thread though to see what mistakes users were making in going back to stock, so that you won't make the same mistakes.
[One (M9) General] tooclose104:
Thanks, it worked that time around with the only difference being the folder name. Device is back to stock and now running with OTA updates installed.
[One (M9) General] onesin:
Is anyone able to provide link or zip file to Canadian Rogers radio files. Also was wondering how to dump or extract current radio file being used with rom.
[One (M9) General] citats:
Via a contact I got a Bell HTC M9 RUU Zip... when I try to install it, it appears my device doesn't have the decryption keys...

0PJAIMG_HIMA_UL_N70_SENSE80_ATT_MR_BM_4.19.666.1_Radio_01.01_U11440971_103.00.61018G_F_release_491925_signed_2

Does it need to be decrypted before I run the RUU process?
[One (M9) General] RikuXander:
Sasktel OTA 3.38.669.2 --> 4.19.669.1 Unfortunately, I'm not sure the CID.
[One (M9) General] theastroboy:
I bought a used HTC M9 on ViperOne 3.5.0 with no backup. I want to return it back to stock. I have gone through this thread and my understanding is I need to follow the instructions repeated at the bottom. However, I still have some questions. Thanks!

PHONE INFO

----------

*** UNLOCKED ***

htc_himaulatt PVT S-ON

LK-1.0.0.0000

RADIO-01.01_U11440221_62.05.50320G_F

OpenDSP-v20.2.6-00452-M8994_0216

OS-1.32.631.31

Apr 1 2015,20:35:48(506785)

TWRP 2.8.7.0

QUESTIONS

---------

I) Do I need to do step #2 to update TWRP 2.8.7.0 to 2.8.7.1? I read that TWRP versions do not work with Lollipop firmware.

II) Is 1.32.631.31 the correct firmware for step #5 or should I go with a 2.x.x.x firmware?

III) Is Marshmallow/Nougat better than Lollipop? I want to minimize overheating and battery drain. With S-On, I know I cannot downgrade, so I want to make sure it will work before upgrading the firmware.

INSTRUCTIONS

------------

1) Have an exFAT formated sdcard in your device.

2) Download TWRP and flash it to your device. Since you are on a firmware version that starts with 2, you need a TWRP recovery that starts with 2, so the one you flashed before (twrp-2.8.7.1_CPTB-B1-hima.img) is fine.

3) Boot into TWRP and make sure that the setting to keep "system" as read-only is enabled. (Look under the mounts menu.)

3) Do a backup of the boot partition in TWRP to your sdcard.

4) Go to the folder where TWRP saved the file and delete ALL the files in there. (We just need the proper folder structure.)

5) Download the 1.32.631.31 system_image, boot and recovery images from my link in the first post (or here) to the folder that you just emptied.

6) Restore the backup in TWRP. (They should work fine the exact way they are named.)

7) Done. You should now be fully stock. Reboot into Android, and you should get (and be able to install) the OTA update.
[One (M9) General] efrant:
I) Not sure. I would try it with twrp-2.8.7.1_CPTB-B1-hima.img.

II) Yes, your firmware is 1.32.631.31, so you need to use the 1.32.631.31 backup. You can't use any other one, including newer ones. Keep in mind that the instructions are only for returning to stock using a TWRP backup. You could also return to stock using a Rogers RUU (either 1.32.631.31 or newer if you can find one).

III) Yes, better than Lollipop.
[One (M9) General] theastroboy:
Thank you, efrant. Always prompt and helpful.
[One (M9) General] theastroboy:
efrant,

I following your procedure and used the 3 files from "Rogers - 1.32.631.31 - TWRP: https://docs.google.com/uc?id=0B4r3i...xport=download" in TWRP to return to stock. It worked, but not fully. While the ROM is returned to stock, the recovery becomes TWRP 2.8.6.x, so the OTA update failed obviously. There were scary moments when it was stuck in the HTC boot screen for 30 minutes+. I had to hold volume up+power to turn it off and get into TWRP 2.8.6.x.

Can I use one of the RUU to return to stock even though my phone is s-on and unlocked? The forum readme seems to indicate it is ok because the RUU is the same or higher than my firmware version and is NOT combined signed. However, I am not sure. There are two Rogers 1.32.631.6 RUU in your GDrive. What is the difference?

Thanks again.
[One (M9) General] efrant:
Why did the stock recovery not flash? Is it not included in the backup? (The 1.32.631.31 TWRP backup is first post is not mine, and I've never used it, so I can't vouch for what's in it.) If there is a stock recovery in there, you should be able to just re-flash the stock recovery from the backup using TWRP. If not, maybe you can find a 1.32.631.31 recovery somewhere. If not, see below.

Yes, you should be able to use any RUU that is the same or higher than your firmware version and that is not a "combined" RUU. I'm not sure what the difference is between the two that I have in my GDrive. I got them both from here: http://androidruu.com/?developer=M9 and I've never used either.

If all else fails, you need to get S-OFF. You can use Sunshine, or, depending on where you're from, there are users that have java cards that can do it for you for free. (I'm in Montreal and can help you out if you are in the area.)
[One (M9) General] theastroboy:
Since I installed TWRP 2.8.7.1 from OP before restore and it became TWRP 2.8.6.x after restore, I suspect the TWRP backup 1.32.631.31 in the OP has the TWRP 2.8.6.x and NOT stock recovery.

I will flash the RUU file in download mode and report back. I assume the RUU file won't flash if it is incompatible?

I really appreciate your offer to s-off my phone, but I am in the Toronto area.

Thank you for all the help.
[One (M9) General] efrant:
Correct.
[One (M9) General] theastroboy:
I just want to report that using the first rogers 1.32.631.31 ruu in efrant's gdrive was a success. I am now doing my first stock firmware update. It seems to be just a system performance update with no change in the firmware number.

Now my next decision is to stay on Marshmallow or update to Nougat.
[One (M9) General] ku81na:
hey is there a reason why it says "no sim" when I restore this? how can I fix it?
[One (M9) General] Hai Karate:
Are there any files available that would get a Telus M9 back to stock Nougat? It had 4.19.661.1 installed but is now running a third-party ROM and TWRP and I have no way to get it back to the stock firmware. It's S-ON, by the way.
[One (M9) General] LebucheronQc:
The videotron link is'nt working. I need to backup stock before magisk, If someone would help me :) thx
[One (M9) General] g.tricomi:
Htc himaul return to stock s-on

Hello everybody,

I'm sorry for being noob guys, i'm trying to restore my European HTC ONE M9 to FULL STOCK and i don't know why, but i've tried the guides on XDA but i can't restore it with RUU. :(

I've tried through the RUU.exe on windows but it returns me the error 170 (USB ERROR, it's weird, i've already installed drivers and so on) and i've tried too with the OPJAIMG.zip on the sd in Download Mode (when i'm on it, i've got an error...).

So, someone could help me with a guide for noob? Is it exist a simple guide for it?

Thank you so much guys, i'm pending for your news,
[One (M9) General] AndroidMarc:
Htc himaul return to stock - Need Telus recovery 2.11.661.2

Do anyone have the Telus recovery to match OS 2.11.661.2??

I need it to reverse TWRP and allow OTA update.

Thanks

Marc
[One (M9) General] besworks:
Here's the file you wanted in case you still need it.

Be sure to extract the recovery .img file from the zip before flashing.

I also have the signed 2.11.661.2 RUU zip if you need it.
[One (M9) General] ahmadmg:
Anyone here with cid Rogers001 nougat 4.20.631.1 stock backup or RUU please, I'm s-on and I'm trying to revert to stock.
[One (M9) General] phantomhouse:
Does anyone can kindly upload Bell 4.19.666.1 TWRP backup, boot, recovery, system, etc. I'm stuck on this version and can't downgrade with s-on, or if you have a free link for this 0PJAIMG_HIMA_UL_N70_SENSE80_ATT_MR_BM_4.19.666.1_Radio_01.01_U11440971_103.00.61018G_F_release_495604_combined_signed_2_4.zip, all I can find is from some website you have to pay for downloading.

Thank you very much in advance.
[One (M9) General] Snookers:
Just a little update, I've tried the TWRP version in this thread and the latest and neither wants to flash/fastboot boot at all. It'll get stuck on 'booting...' and I have to hard reset the phone. It says something about security IO and I've researched but haven't found a solution that works. It scared me a little when I tried to fastboot boot for the second time and it was temporarily stuck in a boot loop. Still have the 1.32 base, phone is working fine at the moment. Bootloader unlocked and s-on.

1. Should I just update via the OTA and attempt to get a system image from there?

2. Why does it refuse to flash/boot into TWRP?

Nothing important on my phone, but afraid it ends up bricking and I'd have to pay for a replacement.
[One (M9) General] b.wilz:
New Telus M9

Hey,

I just got my new M9 from Telus, still need a backup for it? I haven't done the first OTA yet fresh out of the box, but I have let HTC Backup in with my settings and apps already.

Let me know how I can help! I am fairly new to this, so detailed/foolproof instructions would be best just so i don't mess it up for you.

I have some experience with the HTC One M7 and fastboot, adb commands... Put a Maximus HD rom on and then s-off'ed and brought it back to stock a month later to sell it. So I'm not a complete noob, but there was a lot of trial and error involved, and there may be with this, so bear with me!

I just want to help because without this site I couldn't have done any of that without it.

Cheers
[One (M9) General] BriniaSona:
I just need the RUU for stock bell. Nothing else, no backup no using twrp just stock RUU.
[One (M9) General] SaHiLzZ:
Sure, what is the build version ? I have 1.32.661.31 as listed now
[One (M9) General] SaHiLzZ:
Closest thing available to RUU is a stock zip for OS level 1.32.666.6. If your existing version is higher than 1.32.666.6, this zip is no good for restoring the phone.

Link: http://androidruu.com/getdownload.p...21_59.04.50303G_2_F_release_426170_signed.zip