yashsingh1/xdaforums huggingface dataset:
[One (M9) General] Freedoxx:
Error

Heya,

Followed your steps in updating HTC M9 (my phone had US Sprint version in it and 4G didn't work either Google Maps) so trying to flash into a Europian one. Followed all the steps but when it comes to importing image files it's failing (p.s. using SD card method).

Getting:

system.img_01@FAIL

system.img_02@FAIL

system.img_03@FAIL

Then i have tried: fastboot flash zip 0PJAIMG.zip so I get more details on error and this error came up:

FAILED (remote: 11 RU_CHECKSUM_FAIL invalid rom-pack )

This is what I have currently have on getvar

C:\HTC Sync>fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) serialno: ************

(bootloader) current-slot:

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

(bootloader) version-main: 4.14.401.7

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U114401011_117.00.61117G_2_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: HTC__031

Trying to upload this rom:

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

I have s-off

Totally lost here... anyone can hep with this?
[One (M9) General] Flippy498:
[MENTION=8291341]Freedoxx[/MENTION]

Please don't tell me that you ignored all the warnings and linked explanations/articles on page 1 and tried to convert a Sprint CDMA One M9 to a European GSM version. :eek:

If you're lucky (most users that do this mistake aren't) then you can recover your phone by restoring its original CID, MID and SKU by flashing a Sprint RUU after you changed the CID and the MID. But if I were you I wouldn't put my hopes too high.
[One (M9) General] Freedoxx:
I have googled that CDMA is the phone without SIM and my one does have a SIM... So I assume that I read it incorrectly... :(
[One (M9) General] Freedoxx:
[MENTION=5872674]Flippy498[/MENTION] do you think it's possible to convert Sprint to international if the phone is GSM? (I'm sure mine is GSM...)?
[One (M9) General] Crackfreak:
my device info :

OS: 3.35.401.32

CID: HTC_J15

MID:0PJA10000

rom : viper 6.0 ( nougat)

so I wanna get back to stock , found my RUU thanks to your links. , read all the instructions , faq etc...

I'm confused a little bit tho:

1. do I have to Restore a stock backup for my firmware version BEFORE flashing RUU?

if yes , I found 3.35.401.12 backup on the backup section. but the last number , doesn't mach my firmware version which is 3.35.401.32

is it gonna work if I flash it?

2. Should I flash Stock Recovery after flashing RUU ? Or does the RUU flash it automatically?

( sorry for bad english and thanks for this nice thread )
[One (M9) General] Flippy498:
[MENTION=2854637]freedox[/MENTION]

No, it's a CDMA device. It's mentioned in the opening post and the FAQ. The sim card is needed for LTE since LTE is a GSM technology and therefore even CDMA devices need a sim card if they want to support LTE.

You can't convert a CDMA device to a GSM device. All you can achieve by trying are unrecoverable damages due to the different partition layouts.

[MENTION=6525473]Crackfreak[/MENTION]

Just follow the instructions. There's no need to do anything else than what got posted there. That means you don't need to restore a backup and you don't need to manually flash the stock recovery.
[One (M9) General] Freedoxx:
Thanks... Managed to get Sprint back on devices... :laugh:
[One (M9) General] SunEater:
Today i flash ruu using sd card method it start flashing and give error in image 04 at 15% i think it was normal error as u said error occur first time but i try 3 time it give same error but then i reboot it dont for about 1hr so i go to recovery it booted but it convert to stock so i flash custom recovery it worked after all then i reboot download mode its show updated base so i am confused is my base is really updated
[One (M9) General] XsaucerX:
Flashing the nougat Ruu(4.27.502.7) i get the error 132, my software version right now its marshmellow 3.38.502.41(at&t m9) s-on. What can i do... Supposedly you cant update from 3.**.***.** To a 4.**.***.** Ruu, but im using the official ruu and the at&t page says i can update if im in 3.38.502.41:crying:
[One (M9) General] Flippy498:
[MENTION=8032529]faizk123485[/MENTION]

Where did I say that? That error is not normal. Did you check the MD5 sum of the RUU after you downloaded it and before you tried to flash it? Are you sure the SD card is working properly and that it's not damaged?

A RUU always removes TWRP and replaces it with the Stock Recovery. That's one of the purposes of a RUU.

And as written on the first page, your current firmware version is stated in Download Mode. A RUU flashes the firmware first and the system second. Since the error occured during the system flash your phone's firmware already got upgraded. Only the system didn't get updated properly.

[MENTION=8047754]XsaucerX[/MENTION]

As already explained on the first page, you can't flash a 4.x RUU if you're running a 3.x firmware. And HTC's official website doesn't say that it's possible to flash a 4.x RUU on firmware 3.x, either. Since you're S-ON you need to use the software update function that is located in the phone's settings.
[One (M9) General] XsaucerX:
time to get a sim card from AT&T...(im not a resident of the U.S.) thanks for the reply.
[One (M9) General] Flippy498:
Why that? You only need to use the software update function. It has nothing to do with using a sim that corresponds to the carrier the phone got branded by.
[One (M9) General] XsaucerX:
good news for me, i thought that u needed to connect to the carrier network to get OTA updates(using the software update option)
[One (M9) General] Flippy498:
Not as far as I know. I could get all updates without owning a corresponding sim card when I created the backups that can be found on my AFH account.
[One (M9) General] SunEater:
Sir firstly i update 4* firmware to newest 4* so sir plz tell me is my base is updated or not i don't know dffrnce between firmware and system i m going google it bt sir plzz tell me is my base is updated or not because i wnt to install venom 6.1.0 and sir ruu removes twrp and i reistall it after process
[One (M9) General] Flippy498:
[MENTION=8032529]faizk123485[/MENTION]

I already answered that question.

There's an article linked in the further reading section that explains the difference.
[One (M9) General] SunEater:
Thnku and i think that i m eligible for venom 6.1.0??
[One (M9) General] tiger1999:
Relock Mistake Screwed?

So I appear to have made the mistake of re-locking my bootloader when attempting to update my phone from 3.38.502.12 (Marshmallow) to Nougat using the rom.zip from the latest RUU for my phone from the HTC website which just released the AT&T version. I'm S-On. So now I'm stuck with only bootloader and download mode available, I can't get to recovery and trying to flash a few various versions with the sdcard method fails with what appears to be security errors. Am I screwed or do I have any options?

I guess I made the mistake of not finding this great thread until after I did the re-lock, I was following directions I had written down from last time I did the procedure. Clearly I'm an idiot for getting too comfortable from the last go at it.
[One (M9) General] Flippy498:
HTC is lazy in regard to updating their website/all links on that site. If you're lucky you can get the latest 3.x RUU for AT&T from them. That one should be flashable in your situation.

The RUUs you tried probably failed due to being older than your current firmware or (in case of the nougat RUU) due to the new encryption key.
[One (M9) General] tiger1999:
Thanks for the tip! Indeed their website is a mess with a link to the 3.38.502.41 RUU.

Appreciate your note, and the amazing job on this thread. I'm not sure how I missed it first go around a year or so back.
[One (M9) General] Flippy498:
The thread didn't contain any of the guides and infos that it contains now until late December 2016/early January 2017. :p

Before that it's "only" been the "Back-to-Stock File Collection". I noticed that people asked the same questions and made the same mistakes (e.g. following outdated guides) over and over again. Therefore, I decided to overhaul the opening posts. ;)
[One (M9) General] Kisakuku:
The above statement is confirmed to be inaccurate.
[One (M9) General] Flippy498:
Well, it looks like I have to overhaul the RUU section at the weekend. However, that statement isn't completely wrong. It still applies to all combined_signed RUUs for firmware 1.x and 2.x that got posted here in the M9 section during 2015. They're the reason because of which I wrote that warning.
[One (M9) General] mikexavier:
Flippy498, do you have a 4.27.502.7 zip file?
[One (M9) General] Flippy498:
No, but the *.exe of that version is available on HTC's website. Instructions for extracting the *.zip out of the *.exe can be found in the RUU section.
[One (M9) General] wakas_razaq:
I have a Verizon's M9. Want to unlock its bootloader but don't know what a java card or an XTC clip is. Can someone please tell me about it or direct me to a useful thread? Thanks.
[One (M9) General] Flippy498:
Did you do what the opening post says and take a look at the Verizon-specific One M9 forum? ;)

The majority of the users here in the international forum won't be able to help since the international M9 can get unlocked/S-OFFed without java cards/xtc clips.
[One (M9) General] wakas_razaq:
https://xdaforums.com/verizon-one-m9: You mean this one?
[One (M9) General] Flippy498:
[MENTION=7232812]wakas_razaq[/MENTION]: Yes, although you need to remove the : or the link won't work.

[MENTION=8345979]confused1-22[/MENTION]: Your CID and your MID belong to the AT&T-branded model. I'm not sure whether the support hotline/chat can actually help. At least the European ones aren't very reliable. However, I don't have a better idea at the moment. (Sidenote: This is the continuation of this discussion.)
[One (M9) General] confused1-22:
OK, so what does that tell me as far as getting OTA's with an AT&T sim?
[One (M9) General] Flippy498:
In theory, you should be able to receive and install them. Run the latest 3.x RUU for your SKU (this will erase all data on the device) and retry updating your phone. If it still states that it's up to date then it's probably a problem on AT&T's or HTC's side.

There were some HTC server problems some weeks ago so that T-mobile US M9s haven't been able to get updated. [MENTION=2918354]SynisterWolf[/MENTION] molested HTC via Twitter till the issue got fixed. Maybe this problem is similiar...
[One (M9) General] confused1-22:
OK, so how do I find my SKU? and I would just download that RUU and run it from windows while my phones is connected..Correct? Then once thats complete try to update to 4.x RUU from HTC website or OTA?

I currently have 3.38.502.12 installed. The latest ROM is 3.38.502.41.

I apologize for all of the questions. I just havent ever done anything other than OTA updates to a phone. Don't want to ruin it as I can replace it. Thanks again.
[One (M9) General] Flippy498:
All you need to know about RUUs, including an explanation of the SKU term and flashing instructions can be found in the RUU section on page 1 of this thread. ;) I think rephrasing what already got written doesn't make too much sense. If something is still unclear you can feel free to ask follow-up questions.

You still won't be able to flash a 4.x RUU after you flashed the 3.x RUU due to the different encryption keys. All you can do is hope that your phone finds the OTA then or you start molesting HTC via Twitter like SynisterWolf did. :p (The twitter account is called HTCdev.)

Edit: The "latest" version HTC states on their website isn't correct. They already provide the 4.x RUU and forgot to update that overview page. That happens quite often.
[One (M9) General] confused1-22:
OK so i found the 3.x ruu for the 502 SKU. Now thats the same one that was listed on HTC'S page that said the update to Android 7 and did not work to flash using windows and phone connected.... I wasn't trying to update with a 4.x RUU. Does that not matter since the phone would have been going to Android 7?
[One (M9) General] Flippy498:
Yes, it's the same but without the *.exe installer. The one for android 7 is the 4.x one and that one can't get flashed due to the new encryption keys.

If you couldn't use the 3.38.502.41.exe then you should try to flash the 3.38.502.41.zip via an SD card. The *.exe installer is known to be *****y sometimes. This will update your phone to the latest android 6 version for the AT&T M9 (since you said that you're using 3.38.502.12 at the moment). Maybe you're lucky and only the OTA from 3.38.502.12 to 3.38.502.41 is broken and you can get the 3.38.502.41 to 4.27.502.7 update afterwards.
[One (M9) General] confused1-22:
I will try that then, are those instructions in this thread? Also another question...I spoke with HTC support about this over the past week and they indicated the S-off was what was not allowing me to update, and doing while S-off could ruin the phone. Frankly they have not been helpful in fixing this so this is why I turn to you guys. Is there any reason why S-off may be a problem for updating?
[One (M9) General] Flippy498:
Of course they tell you that it's your fault if you're using a modified phone. Nevertheless, S-OFF has nothing to do with your issue. Thousands of M9 owners are using S-OFF since several years on this phone and all can receive and install OTAs as long as the system partition is unmodified.

Did you read the first pages as I told you earlier? :p As said before, all you need to know (=the instructions you need) is explained there. ;)

Edit: You can actually check whether it's an HTC Server error. You only need to record a logcat while you try to update the phone. There should be plenty of guides how to do so via adb if you search via google. If it is indeed a server error than you should be able to find something like this inside the logcat:

The naming of the OTA file will be different, of course, but the beginning of the url is the same.

Edit2: Some OTAs lack the -az part in the URL so you should be searching for

http://fotadl-az.htc.com/secure/OTA_HIMA

and

http://fotadl.htc.com/secure/OTA_HIMA

inside the logcat.
[One (M9) General] confused1-22:
Is there a way to check the partition is unmodified? I believe the phone was unlocked for using other Sims. I will try the zip process tonight, just hope it doesn't break my phone. Thanks.
[One (M9) General] Flippy498:
The sim unlock has nothing to do with the system partition being modified or not. And even if it is modified you're still able to receive updates only the installation will fail.

One indicator is the software status flag that is shown in the bootloader. Aside from that you could verify the system partition by trying to install an OTA (yeah I see the irony). If it's modified then the update will abort with an error that explains that the partition isn't unmodified.
[One (M9) General] confused1-22:
When the update failed when I tried manually the failure just said the "ruu could not update this Android phone." No mention of a partition I believe.

Error (132) Signarure error...could not update phone...

Please use the correct rom update utility and try again
[One (M9) General] Flippy498:
A RUU is not an update (c.f. the first pages of this thread). A RUU doesn't care whether the system got modified or not. It overwrites that partition anyway.
[One (M9) General] confused1-22:
I understand that now. I just got an error (132) SIGNARURE ERROR and to find the correct RUU and try again. I will try the zip method.
[One (M9) General] confused1-22:
I am starting the zip method. What risk is there to brick my phone this way? Its a simple as copy the file to sd (fat32), rename the file, put in phone, boot in download, and choose flash option? along with a few reboots and maybe a reboot back to download mode. Just want to make sure I understand this first. Again I apologize for the questions and thank you for your patience with helping me.
[One (M9) General] confused1-22:
Flippy498, SO the phone is now updated to 3.38.502.41 but still does not see an update available via OTA... Not sure what to do next. Do you have any suggestions to getting this updated properly to Android 7?

Also would simply running the "write secureflag3..." command work to turn back to S-ON?
[One (M9) General] Flippy498:
As suggested before, you could check whether it's a server error via a logcat. If it is a server problem then you would need to get on HTC's and AT&T's nerves via their hotline, twitter, facebook, etc. till they fix their servers.

Yes, that command sets your phone back to S-ON but I can guarantee you that you won't be able to update the phone, either, with S-ON. That status has nothing to do with your issue.

Alternative, you could ask Sneakyghost whether he creates a firmware pack for you. You only need to send him the download link of the 4.x RUU. Since his firmware packs aren't encrypted they can be used on a 3.x phone, as well. This way you get the new encryption keys onto you phone. However, you need S-OFF for being able to flash his packs. Oh, and don't forget to flash the RUU, afterwards, since his packs don't contain a rom. Otherwise, your phone won't boot.

Edit: Forget that. He already provides a 4.x pack for AT&T. Flash this file like you flashed the 3.x RUU and after that flash the 4.x RUU, immediately. You need S-OFF for being able to flash Sneakyghost's file.
[One (M9) General] golddiggin:
Complete new comer to rooting

How to root a HTC ONE M9

I've never used or seen a rooted device and I'm not computer savvy at all.

So I'm wondering what would be the best way to go about rooting my device?

I would love to learn about this process but don't want to ruin my device, also I'm hoping to

speed up my device and just get it running better in general and have fun customizing it with a

few great apps.

I'd really appreciate any useful advice

Thanks for your time and help
[One (M9) General] Flippy498:
Can you please explain to me why you didn't read the first two pages?
[One (M9) General] Tjotsie:
Htc M9 stuck on Logo

Hi All ,

I Registred just to Say Thanks to Flippy, and all that have contribuded , to this Thread and upload.

So here goes my story, Thursday/Friday my dad's Htc M9 decided he give the gas and hang on The HTC Logo (My Dad is not Tech savy). Anyway , i have been searching Google for answers came across alot of Answers that, would seems my Dad's Htc have an dead Nand , he Had S-On , Locked and Original statuses , and debugger was off(Developers menu was Hidden). So i Read through most post i can find on the problem , so i tried Ota through Adb and that Failed at around 47% than i tried Stock Rom the Same Version that the Phone Version was and That work for the Phone.

So thanks all for your time and Input.
[One (M9) General] confused1-22:
doesnt seem like a server problem and have been in contact with AT&T waiting for some changes on their end to see if it would help...no luck. odd.

so would you put both ruu files on the sd card and choose one? or do you put one file on sd at a time?
[One (M9) General] Roobwz:
I have a problem with a locked m9 (not modified) that bootlooped after an OTA update. I know that a ruu can save me quite easily, but I'd rather not erase everything on my device. Could I manually apply the OTA from mm-nougat and hope that it'll work ?
[One (M9) General] Flippy498:
The first file isn't a RUU. It's a custom made firmware pack. And yes, only one file at a time.

Well, if it's bootlooping then something went wrong and you definetely should use a RUU for making sure that everything gets (re-)flashed correctly.
[One (M9) General] confused1-22:
So ATT is telling me the IMEI comes back as a non-att branded phone. So what kind of phone do I have is what I am trying to understand at the moment. HTC told me to talk to ATT, and then ATT says not branded and tells me to talk to HTC. Swell. Do I still try the firmware pack and the RUU as the only option? How do non att branded phones running, what was and is ATT software, get updates?

A different issue, but now for some reason, suddenly after having ATT lookinto my situation, I cannot send or recieve mms messages.
[One (M9) General] Flippy498:
Well, I can't tell you your phone's original CID but the original MID is engraved on its back side (c.f. the FAQ of this thread). The RUU sections is sorted by the MIDs so that you can see which other CIDs might belong to the phone that you own. On the other hand, even if it isn't an original AT&T phone you should still be able to get updates (at least in theory since this his how it works for every normal/non-US carrier - as already said before american carriers are weird). As far as I can tell, using that firmware pack and the RUU afterwards is still your only option if you want to keep the AT&T firmware.

On the other hand you need to see it from this perspective: The M9 is EOL since it's older than two years, now. Therefore, there won't be any further updates. That means after you updated your phone, updates will never bother you on this phone, again.

I can't help you with the MMS issue. I've never sent or received any in my entire life. Either they were too expensive in my eyes (during my pre-smartphone-era) or there were better alternatives (whatsapp, threema, etc.). However, the problem might be APN related so you should check them.
[One (M9) General] confused1-22:
mid is OPJA110 I believe. Thats all i can find on the back the resembles the mid.

I am not bent on keeping AT&T's firmware, I am just not really sure what options I have for reliability, security, etc. I cant exactly afford a new one so doing what I can with this one, safely, is my only option. Any major risk to flashing the pack and then the ruu as discussed before?? or basically just a simple as the flashing the ruu.zip update to 3.38.502.41 as I did before?

Thanks for all your help, much appreciated!!!
[One (M9) General] Flippy498:
Correct.

In regard to your options: the firmware versions for the different SKUs are all on the same level in regard to their reliability. The same applies to the security. There won't be any updates for any SKU so they all will stay on the same security patch.
[One (M9) General] confused1-22:
So now I have another question...sicne ATT tried to send me the update manually supposedly it changed some settings that are now locked out on there end and my phone comes up as a gsm phone and no longer can use data, no mms, data anything. Will this pack and ruu fix that too? About to lose my mind here with ATT and HTC. They have been no help and now unless this pack and ruu fix this I am stuck with a data less phone. unreal.

The only thing I need is s-off then correct to flash sneakyghosts file??

Do I still change the name of the filenames of both to OPJAIMG.zip each time?
[One (M9) General] buttie:
If you are not bent on branded ROM you can try to convert the phone into Dev Edition. There are two upsides of this operation, you'll have the least bloated and most up-to-date soft for today (correction: most probably bloat will install itself anyway after you insert AT&T card) Use method from post #4, and now:

- if you are still on 3.x.x.x firmware use this RUU: http://dl3.htc.com/application/RUU_HIMA_UL_M60_SENSE70_ATT_MR_NA_Gen_Unlock_3.35.617.31.exe and see if device update itself afterwards

- if you've already flashed 4.x.x.x FW then use the latest RUU: http://dl3.htc.com/application/RUU_HIMA_UL_N70_SENSE80_ATT_MR_NA_Gen_Unlock_4.23.617.1.exe

(those are verified RUUs directly from HTC's servers)

One remark: from my experience, to successfully use RUU.exe you need to have original drivers from HTC Sync installed on your PC.