Can't update phone - One (M9) Q&A, Help & Troubleshooting

It doesn't let me update my phone OTA or manually - it says 'we have determined that your phone may be running a modified version of its system software. please revert your phone to the official HTC system software to update.' Phone is locked S-ON, software version 3.35.617.12. What should I do to enable update access to the current version of my phone? Can you send me a link with the appropriate software? If you need any more information, I can send.
P.S. I have bought two identical phones - one for which I was able to update via OTA without no problem, but not the other. They both have S-ON and both are locked.

If you already tried flashing a RUU and that didn't fix the issue then I'd say chances are very high that the phone had been S-OFF in the past and that it's currently using the SuperCID/SCID (11111111) instead of the CID that actually belongs to your current firmware. Unlike on older HTC devices, the SCID breaks the ability to receive official OTAs on the M9. There have been many similar threads to yours in the past. People bought phones that got converted by the sellers before the sale. However, the conversion didn't get completed (in other words: the phones still had the SCID) although the sellers reverted the S-OFF status back to S-ON.
Boot your phone to download mode* and see what CID your phone is using, at the moment. BS_US001 or BS_US002 are both fine. Everything else isn't.
You'll need to re-S-OFF the phone if want to change your phone's CID. The needed instructions can be found in the ReadMe thread (Root & S-OFF, Change the CID).
* Power off the device, wait some seconds and turn it on again while you keep volume down pressed until you see a black screen with red, blue and yellow text. If you see a white screen with multicoloured text then you're facing the Bootloader mode. In that case you can navigate to "Boot to Download Mode" with the volume keys and select the option with the power button.

Unlock bootloader,
flash twrp,
flash root,
s-off for $25
Change cid via "htc_fastboot" to BS_001 or BS_002.
Download the stock FIRMWARE "ZIP" that is the same as your current version*,
rename to 0PJAIMG.zip**,
copy to external sdcard,
put card in the phone and boot the phone to download mode
Press vol+ to flash.
Sit back for 5 mins while it flashes and you'll have an updatable phone at the end. No data lost.
*, the first and third octets must match eg 3.xx.617.xx (xx can be anything). Version and region are important.
** double check the filename as different regions have different filenames. It could be 0PJA10000..

Hello,
I have the same situation but my phone is already S-OFF (locked, scid 11111111).
Do I need Unlock bootloader, flash twrp, flash root or can I go straight to cid change and stock flash?

Related

Best method to prepare for warranty exchange

I've got the fuzzy lens problem and I want to get the phone replaced (preferably via T-Mobile but I'll go directly to HTC if I have to). I know you can scratch off the coating on the lens and get some camera improvement but I'm not interested in that solution.
My goal: Return the phone to completely stock condition. No root, locked bootloader and preferably S-ON. I've read a few stories where HTC insisted on replacing the motherboard (with an additional full price fee) because the device was S-OFF and I don't want to go there.
Background: I used firewater to S-off the phone as soon as I got it (it was running 1.12 at the time). I have flashed the Harmon Kardon audio stuff (http://forum.xda-developers.com/showthread.php?t=2737498). I have turned off the tamper flag (http://forum.xda-developers.com/showthread.php?t=2708565). I am running the Stock+ rom which is based on 1.57 (http://forum.xda-developers.com/showthread.php?t=2716843).
My plan:
1) Reset my bootloader to locked (http://forum.xda-developers.com/showthread.php?t=2708571)
2) Wipe the phone and restore my very first nandroid backup I made with TWRP. That will get me back to unrooted 1.12 firmware but without the stock bootloader and still S-OFF. Staying with 1.12 will allow me to S-OFF again with firewater if it comes to that. If some kind of emergency came up, I'd hate to spend $25 on sunshine for a one time use on a phone that is going back to HTC forever.
3) Install the stock bootloader that matches 1.12 firmware. Not sure how to do this yet. I'm afraid I won't be able to achieve this with a locked bootloader and no root.
4) Verify everything is back to stock.
5) Set the phone back to S-ON (http://forum.xda-developers.com/showthread.php?t=2758818)
6) Run the 1.57 RUU (http://forum.xda-developers.com/showthread.php?t=2714456)
7) Proceed with the warranty exchange.
I'm not sure running the RUU is 100% necessary, but I figure it's the best bet I have to make the phone completely stock.
Questions: Is this a sane plan? Am I doing anything in the wrong order? Are there any steps that won't work because I've lost root or unlocked bootloader? Am I setting myself up for a brick anywhere?
There is a thread about doing this on a EU M8 (http://forum.xda-developers.com/showthread.php?t=2735235) but I can't tell what, if any, modifications need to be done for the USA T-Mobile version of the M8. There is talk about having to flash a firmware file twice or risk a hard brick when setting S-ON. Do I need to be worried about any of that?
UPDATE: T-Mobile gave me a warranty replacement to fix the camera lens problem. I did get the old phone back to completely stock with locked bootloader and S-on before sending it back.
I found it was easiest to use the sunshine installer to gain temp root. You don't need to pay anything since you stop before it goes through the whole S-Off process. Just run the APK and select temp root. When sunshine shows you the next screen, you can exit out and still have root. (http://theroot.ninja/)
In the end I didn't bother with the old nandroid and keeping the exploitable version. I also had the order messed up in my initial post. Here is what worked for me:
1) factory reset the phone (in TWRP I did advanced wipe and also wiped internal storage). This step kills root. Rebooted the phone and verified it was back to factory defaults. Go through the setup wizard and skip all the steps. I couldn't find a way to bail out without going through every step in the wizard.
2) flashed stock recovery (the bootloader was unlocked and the phone was S-Off). Root is not necessary for this since it is done in fastboot. (http://forum.xda-developers.com/tmo...l/ota-recovery-ruus-firmware-dumps-t-t2852107). Rebooted the phone.
3) achieved temp root using sunshine APK
4) locked the bootloader (required before running the RUU). You must have root since you need a SU # prompt in the shell. (http://forum.xda-developers.com/showthread.php?t=2708571). I rebooted again for good measure but it's probably not necessary.
5) reset the phone back to completely stock using the latest 2.22.531.5 RUU. This step does not require root. I found it was easiest to put the phone into fastboot mode before running the RUU. (http://www.htcdev.com/devcenter/downloads)
6) Once the phone booted back up, I looked over everything and made sure it is all completely stock. Checked HBOOT said locked (not relocked) and dis not say tampered.
7) OPTIONAL - set S-On. Again root is not required since this is a fastboot command. (http://forum.xda-developers.com/showpost.php?p=52823014&postcount=2)
My actual process wasn't this streamlined. I ended up doing the RUU a couple of times because I didn't flash the stock recovery first and I didn't think the RUU installed the stock recovery right. Turned out I just didn't know what the stock recovery looked like (it was very confusing since I had never actually used a HTC stock recovery).
Thanks to the authors of the various threads I pulled info from. They are the real MVP's.
I flashed the stock HTC RUU via the .EXE and wasn't able to get the "RELOCKED" off the phone. Tried some steps here:
http://www.droidviews.com/restore-att-htc-one-m8-stock-firmware/
however I wasn't able to get "SU" to properly run in terminal.
No w the phone says *** RELOCKED ***
and im S-On
anything I can do?

Phone stock in bootloop after flashing custom rom

So I installed ViperOne M9, the latest version, everything went fine, the download didn't fail, but after rebooting the phone just boots to the bootloader. I can access recovery mode, and download mode but I can't do anything else. I'm not sure what went wrong, though I suspect it might have been that my phone wasn't updated to the latest firmware, I thought it was but I think it wasn't. I made a TWRP backup and placed it on my SD Card but it doesn't seem to be reading it since nothing shows up in there.
In summary I switched to ViperOne M9 from stock, my bootloader is unlocked and my phone is rooted. Its S-On, and it seems to be rebooting every so often. Can anyone help me, this is my first time flashing a custom ROM and everything seemed to be going well until this step.
ArgusPMC said:
[...]
ViperOne M9, the latest version
[...]
S-On
[...]
Click to expand...
Click to collapse
You need the Android M firmware for the latest Viper version. Not every SKU got that update already. What's your current firmware version (stated in Download Mode in the line with "OS" at the beginning)?
Edit: Pressing and holding the power button and both volume buttons at the same time (for a certain amount of seconds I always forget - was it something around 30?) should end the bootloop and make your phone return to Bootloader Mode.
My current firmware is 2.10.709.180. I looked into the Backup and RUU collection too, though I wasn't sure about what to do with that. I did see a TWRP backup for version 2.10.709.1, but I'm not sure if that's the same as the firmware version I have, give those two digits at the end with my phone. Otherwise I guess I could use an RUU if I understood correctly, but I got that I should look for a specific one for my phone.
My CID is also HTC__621 if that helps anything. I'm also not sure about S-ON, should I go S-OFF, I know there's an app that does it for $25, and if it is better for custom ROMs then I have no issue paying that.
If I'm not mistaking your firmware version belongs to the first of the two updates that install Android M on the Taiwanese version (SKU 709) of the M9. So you probably only installed the preparing one and not the Android M one itself. Unfortunately no one contributed a backup for that version and I don't have enough time at the moment to create one. Since you're S-ON you can't use any of the RUUs either because S-ON prevents you from downgrading or changing to a different SKU. And there is no RUU for your firmware version which is accessible for free.
I would recommend installing one of the Android L custom roms (e.g. Viper One M9 3.5). After that you have four options:
Wait and hope that someone creates and uploads a backup you could use. (Can be combined with option 2)
Wait for an Android M RUU for your SKU. (There's no guarantee that there ever will be one.)
Get S-OFF via Sunshine so that you could use one of the older RUUs for the SKU 709. (They can be found in my google sheet.)
Use this RUU service.
If I were you I would choose option three since S-OFF makes getting back to stock so much easier and you're independent from others uploading a backup that corresponds to your current firmware since you can use any RUU you want with S-OFF. But don't feel pushed by me to choose option 3 (since that's not my intention). It's completely your choice.
I'll just go S-OFF, seems like the easiest solution. I was going to do it anyway, so I might as well do it now.
EDIT: Thanks, your solution worked out for me, now I've just got to use the RUU I downloaded and with that I can go ahead and get the Android M firmware I need.

Red Triangle trying to update firmware

hello guys i was trying to update the firmware of my htc one m8 and i think i updated the wrong firmware because i got the red triangle and i dont know what to do, i can enter the stock recovery but i don't know what to do next please help
i have an at&t and i think i put the wrong firmware, I was supposed to flash the european and i flash the asian version but i got the red triangle what do i do now?
Let's state the obvious, first: you were originally trying to flash your device with firmware that's intended for another region, but without doing the actual work required to convert your device. Obviously, JUST flashing another region's firmware doesn't work
So, in order to help you forth, tell us what you actually want to do? Convert to European firmware? Asian? Or, stay with AT&T?
First off, we need to know your phone's metadata to figure out the required firmware for your device. You get this info by going into fastboot and typing:
fastboot getvar all
Copy the output and post it here (note: don't post your imei# and serial#).
IF your device is S-ON, you cannot actually flash any firmware other than what your phone is locked to. So, you're gonna have to flash AT&T firmware, and then:
A. If your recovery is unlocked: either flash a custom ROM, or restore a nand backup of a stock ROM.
B. Flash a stock RUU to fully restore your phone to stock HTC state.
IF your device is S-OFF, you can easily convert to firmware from other regions. Continue reading below:
The general process to convert your device is as follows:
1. Changing your CID (and maybe MID) to your intended region.
2. Downloading and flashing a full RUU corresponding to your intended region.
3. Enjoying your success.
Cheers
shirreer said:
Let's state the obvious, first: you were originally trying to flash your device with firmware that's intended for another region, but without doing the actual work required to convert your device. Obviously, JUST flashing another region's firmware doesn't work
So, in order to help you forth, tell us what you actually want to do? Convert to European firmware? Asian? Or, stay with AT&T?
First off, we need to know your phone's metadata to figure out the required firmware for your device. You get this info by going into fastboot and typing:
fastboot getvar all
Copy the output and post it here (note: don't post your imei# and serial#).
IF your device is S-ON, you cannot actually flash any firmware other than what your phone is locked to. So, you're gonna have to flash AT&T firmware, and then:
A. If your recovery is unlocked: either flash a custom ROM, or restore a nand backup of a stock ROM.
B. Flash a stock RUU to fully restore your phone to stock HTC state.
IF your device is S-OFF, you can easily convert to firmware from other regions. Continue reading below:
The general process to convert your device is as follows:
1. Changing your CID (and maybe MID) to your intended region.
2. Downloading and flashing a full RUU corresponding to your intended region.
3. Enjoying your success.
Cheers
Click to expand...
Click to collapse
yes i was trying to get some bands working and i was trying to flash the europe firmware, i ended downloading the wrong version and when i reboot the fastoob just after flashing the wrong firmware i got the red triangle, i can only acces the stock recovery i dont know how to access the bootloader when the red triangle appears
my device is s-off
To get out of the red triangle screen, you hold volume-UP button then press the power button. You should be presented with the stock recover menu. Navigate using Vol+ and Vol-, make choices with the power button.
Try rebooting your device to bootloader using the menu choices.

Please help advise/confirm how/if to return phone to stock for warranty replace?

Hi all -
The info I've found here on out on web is a little scattered, I was hoping someone might be able to help me confirm the steps to return this phone to stock OEM so I can ship it back warranty replacement....I already have a new phone in my possession from Verizon. Old phone works fine, just doesn't connect to Verizon's 4G LTE Rage Extender I got, so they decided to replace phone.
What I have:
Obv an HTC One M9 that I got nearly 1 1/2 to 2 years ago.
"The clip" which I used to S-Off.
Unlocked bootloader (which I don't remember how I did that).
Firmware 3.37.605.15.
A ROM, which I'm oddly not seeing in the XDA developer section for this phone anymore, but I still have the zip file if that matters - 3/37.605.15_HIMA_WL_M60_SENSE70_VZW_MRDEODEX_DEBLOATED.zip. This ROM is (obviously) rooted. Perhaps it was retired.
TWRP 3.0.2-0.
When powered off, and I hold Vol Up and Power, I get to hTC FTM mode, which offers me menu items of:
reboot
reboot bootloader
simlock tool
device info tool
If I select reboot bootloader, it goes to another screen where up top is says Software Status Official, UNLOCKED, and S-OFF with the following menu:
REBOOT
REBOOT TO BOOTLOADER
BOOT TO DOWNLOAD MODE
BOOT TO RECOVERY MODE
DDR TEST
POWER DOWN
I found a couple links with guides on loading phone back to stock:
https://boycracked.com/2016/10/31/official-htc-one-m9-usa-verizon-stock-rom/
and......
http://www.droidviews.com/how-to-restore-verizon-htc-one-m9-to-stock-using-ruu/
With the understanding that I'm unclear about all the needed steps, I attempted to list what I think *may* be the steps to return this puppy to full stock/OEM:
Install HTC Sync or HTC USB Drivers
Ensure USB Debugging is enabled
Connect device to PC via USB
Get to command prompt with adb and run 'ADB devices' to make sure the device is seen
Reboot phone to bootloader. The article above says Vol Down + Power, but I thought I got to it via Vol Up + Power???? Vol Down + Power seems to get me to Download mode (which I think is OK as well from what I recall)
....or alternatively run adb reboot bootloader
One article above says go to fastboot, but I see no menus that offer me fastboot? Can I just do this part in download mode?
Run 'fastboot devices' from cmd prompt to ensure everything is working
Run 'fastboot flash zip 0PJAIMG.zip' (the RUU file is linked in the article
Now as far as I can gather, that just gets me stock, non rooted stock ROM, right?
Don't I still need to kill off TWRP?
This link shows a stock recovery, would I then flash this to get rid of TWRP?:
https://forum.xda-developers.com/verizon-one-m9/development/stock-5-1-resources-2-6-605-15-t3183752
*EDIT#3"* - In the boycracked link I posted above, is just has me downloading adb and HTC fast boot, the loading a zip file, which it doesn't specify, but I'm guessing would be the ODEX 3.37.605.15 firmware linked further below. This contains firmware AND stock ROM I assume since it's like 2.5 GB? Can I assume I still need to worry about flashing stock recovery? Do I need to do anything with the Boot Img? These are the parts I'm getting confused on.
After handling recovery, the only thing I'm missing is locking getting the bootloader from unlocked to locked (how do I do this??), and then I need to use the "clip" to S-ON the device?
*EDIT*: It looks like sunshine app supports Vzn M9 now, so guess I don't have to use my clip anymore?
*EDIT#2*: Didn't realize the Sunshine app cost $25....may as well try and use the clip I guess.
Am I even in the ballpark?? ANY advice or help is so very much appreciated.....
I don't want to brick my mostly working phone and then hafta consider options for buying a now.
Thank you a ton in advance....
Crackface
It's been a while since I did it, and my M9 doesn't boot anymore (I'm assuming it's a hardware defect) otherwise I'd double check. There's a guide here that goes over putting your phone back into s-on (don't remember which one off the top of my head, just do a Google search for htc one m9 s-on. Actually I remember there being a guide on this site that walks through going back to stock. So you do s-on, and re-lock the bootloader (you need to be root to do that the way I saw, since it's done manually by writing blocks with dd). After that you can reflash the stock firmware, recovery partition and the rom (all of which were available in a single RUU in the guide I mentioned earlier). If I remembered everything off the top of my head I'd give more clear instructions, but this should at least set you in the right direction.
I was finally successful at returning to stock last night. If it helps anyone else, I'd like to confirm what I did. I apologize in advance for some of the spotty and generic information my intent with this post is to just confirm the sequence of events, not list every single command (in case I don't have them right and misinformation), as there's plenty of articles you gather for the specifics.
Install HTC drivers on PC (Mine were already installed).
Download a copy of htc_boot and adb onto PC (I found both on this link https://boycracked.com/2016/10/31/official-htc-one-m9-usa-verizon-stock-rom/).
Grab Stock Boot-Img and Stock Recovery from above link.
Use HTC_Fastboot to flast Boot-Img while phone is in download mode.
Use HTC_Fastboot to flash Stock Recovery while phone is in download mode.
Use XTC 2 Clip to lock bootloader (see XTC 2 Clip instructions pdf).
Use XTC 2 Clip to s-on.
At this point if you boot phone with Vol Down + Power and no sdcard in it you should boot to Download mode, which should show in red text at top that you're locked and s-on.
I got 3.37.605.13 Official Signed RUU (https://forum.xda-developers.com/showpost.php?p=65358513&postcount=4), put on sdcard, renamed to 0PJAIMG.zip, went to stock recovery, and flashed that.
I booted ok, but not done yet because I still had stuff left on internal SD card plus SU app was still there.
Used ES File Explorer to remove stuff off internal sd card (be sure to remove from recycle bin too).
Did factory reset on phone.
Done
That finally got me a 100% stock ROM (no SU), locked, s-on, stock recovery, and I'll be honest I'm not sure what the Boot-Img was for. But I compared everything side by side to new phone and they match 100%.
I welcome any corrections to anything I may have stated wrong, simply trying to save the next person 15-20 hours or so I spent trial and erroring my way through the process.
Best of luck!

Unrooting, System: Official / Locked / S-ON / - how to?

Hi, it's been three hours already and I'm desperate. I'm sure that thousands of people asked this, but I always found fragmentary posts or not a step-by-step guide (and proper succession is mandatory I suppose?)
So the question is - how to unroot the phone for warranty?
1. It was rooted with Magisk, Unlocked, S-On, Modified.
2. I used my ROM that I backed up through TWRP to get it back on my phone and installed the original recovery. Then, to be sure, I installed RUU (for HTC__034, my CID)
3. The phone is now only Re-locked and everything is wiped
What can I not figure out:
How to LOCK it (not relock)
How to get it back to OFFICIAL (not modified)
If I root it again now and use Sunshine to LOCK it, it will be S-OFF - is it possible to get it back to its original state even if it's locked? What about S-OFF, can I get it back to S-ON afterwards?
Restoring the backup made when I rooted the phone also doesn't work, even the one from the local thread. It says "extractTarFork() process ended with ERROR: 255". When I put the RUU on the SD card and name it 2PS6IMG.zip and in download mode press up, it says "FAIL19 RU_MAIN_VER_FAIL"
Thank you all for anything that can help.
Matt.Murdock said:
Hi, it's been three hours already and I'm desperate. I'm sure that thousands of people asked this, but I always found fragmentary posts or not a step-by-step guide (and proper succession is mandatory I suppose?)
So the question is - how to unroot the phone for warranty?
1. It was rooted with Magisk, Unlocked, S-On, Modified.
2. I used my ROM that I backed up through TWRP to get it back on my phone and installed the original recovery. Then, to be sure, I installed RUU (for HTC__034, my CID)
3. The phone is now only Re-locked and everything is wiped
What can I not figure out:
How to LOCK it (not relock)
How to get it back to OFFICIAL (not modified)
If I root it again now and use Sunshine to LOCK it, it will be S-OFF - is it possible to get it back to its original state even if it's locked? What about S-OFF, can I get it back to S-ON afterwards?
Restoring the backup made when I rooted the phone also doesn't work, even the one from the local thread. It says "extractTarFork() process ended with ERROR: 255". When I put the RUU on the SD card and name it 2PS6IMG.zip and in download mode press up, it says "FAIL19 RU_MAIN_VER_FAIL"
Thank you all for anything that can help.
Click to expand...
Click to collapse
To get from Unlocked (or Relocked) & Modified to S-ON/Locked/Official:
1) Use Sunshine and choose S-OFF/Locked - this will give you Locked status instead of Relocked
2) Run the correct RUU for your CID/MID - this will give you Official status instead of Modified
3) From Download Mode use "fastboot oem writesecureflag 3" - this will give you S-ON
Sent from my Sprint HTC 10 using Tapatalk
The Fer-Shiz-Nizzle said:
2) Run the correct RUU for your CID/MID - this will give you Official status instead of Modified
Click to expand...
Click to collapse
Thank you for your answer. I did exactly this. Many, many times. Yet I'm getting the error mentioned in the previous post - I'm simply not able to install the official RUU...
Matt.Murdock said:
Thank you for your answer. I did exactly this. Many, many times. Yet I'm getting the error mentioned in the previous post - I'm simply not able to install the official RUU...
Click to expand...
Click to collapse
You are not mentioning your current firmware version and what ruu exactly you are trying to flash ? Main version error means the numbers ain't matching.

Categories

Resources