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

So today I had issues flashing LeeDroid which I want for some super battery saving where apparently it was good for that. Anyway in the end the sim card wasn't being recognized and it was really buggy and I went and reread the thread on LeeDroid and it said something about updating firmware. So then I stumble upon RUUs and that looked like the way to go to update all firmware and all that lovely jazz so I downloaded the international/developer one (as I got mine in Australia with code himauhl) but it gave me error 132 and said signature error, so I double checked the numbers, my phone has OS-3.38.841.6 where I think I need to match the RUU with the three digit number in that thing so the 841, however, HTC doesn't provide an RUU for the One M9 with 841. I did some research but nothing came up so I was hoping you guys could help me out.
By the way I have S-On but I am not prepared to pay $25 for S-Off, which is why I'm trying to use this method.
Phone is currently running latest version of Lineage OS 14.1
(Quick stat reminder: HTC One M9, himauhl, OS-3.38.841.6)
THANKS IN ADVANCE!
Edit:
So after further research I found: www.androidruu.com
I managed to find an ruu for my phone but a little problem. I'm on version 3.38.841..... and this ruu is on 1.32.841...... that means that I probably need S-Off to do it? I know you can't downgrade firmwares without S-Off so I think now the answer is to try harder to find a later ruu? Just needing some confirmation and hoping someone might know a better way. Thanks!
Edit 2:
My adventure continues. I managed to get S-Off, eventually gave up and paid for Sunshine, oh well. Anyway! I then used the htc_fastboot commands to change my cid to BS_US001 and then my mid to OPJA11000 and I thought all was well and good HOWEVER the RUU.exe for the developer version still returns error 132 and even using the htc_fastboot so flash the 4.30.612.12 zip file returned a ERR Model ID not matched and Model ID Not allowed. I have no idea what I'm doing at this stage, any ideas are truly most welcome. Thanks!
Edit 3:
At this stage I'm still not sure of the problem. My actual device model is the OPJA100 and I changed it to OPJA11000 and tried to flash an RUU with the same MID (11000) but to no success. Then I changed my CID to the super 11111111 but still with no success. I'm going to try to get a ruu.zip and then change the info.txt modlid to OPJA100 to see how that goes.
Edit 4:
I AM A COMPLETE IDIOT!!!!
I am sorry if I have wasted anyone's time, but it was all due to one little typo, turns out the RUU I had was for 0PJA11000 (ALL ZEROS) where I had OPJA11000 (First O was the letter O) hence causing the stuff up.
Hope this helps someone out there too! CHECK YOUR OOOOSSSSSS

So, just to further define the issue a bit more here is an error dump:
D:\Android Platform-Tools>htc_fastboot flash zip 0PJAIMG.zip
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 7
processing file 1/7...
sending 'zip' (92974 KB)...
OKAY [ 5.352s]
writing 'zip'...
(bootloader) HOSD CL#683910
(bootloader) ERR Model ID not matched
(bootloader) ERR [SD_UPDATE_ERR] MODEL ID NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 10
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 10
(bootloader) [email protected]
FAILED (remote: 10 RU_MODELID_FAIL modelid in android-info mismatched )
finished. total time: 7.473s
htc_fastboot finished. total time: 8.548s

Related

Revert from Demo to Stock?

Hi guys,
I have a HTC One M8, CID HTC__002 and I am trying to remove the demo content. The device was previously a retail unit, and so the demo content came pre-installed. I downloaded the RUU found in this thread here and successfully flashed the .exe version of it, however on rebooting despite the phone being factory data reset, the Demo video still plays!
A few months ago I successfully converted one of our other display M8 models to a Google Play Edition, however this was a very lengthy process, and I had to pay to get S-Off. Though I have no issue paying for S-Off, I don't really want to be paying the fee twice, and so I don't want to go down the route of converting this to a Google Play Edition. Converting to Google Play, did however, successfully remove the demo content.
I want the phone to be 100% stock on Sense, with no demo content what-so-ever. Please can somebody point me in the right direction?
Thanks, Mike!
Once S-OFF, always S-OFF. I change from GPe to Sense weekly and it's never been an issue
EddyOS said:
Once S-OFF, always S-OFF. I change from GPe to Sense weekly and it's never been an issue
Click to expand...
Click to collapse
Hi Eddy,
Good to see you on the HTC section still, you helped me a few times back when I first joined! In regards to S-Off, I'm talking about two different handsets here. To date I have had two demo units of the HTC One M8. I paid for S-Off on one, but I don't really want to pay S-Off for two. Can you use the S-Off tool more than once if you have paid for it?
Ah right, sorry mis-read that bit. Unfortunately you'll need to pay for each device - I don't think Sunshine offer a bulk order as yet
EddyOS said:
Ah right, sorry mis-read that bit. Unfortunately you'll need to pay for each device - I don't think Sunshine offer a bulk order as yet
Click to expand...
Click to collapse
Damn, do you know of any other way I could remove the demo content?
Have you try remove demo.apk in system/etc then do factory reset ?
ckpv5 said:
Have you try remove demo.apk in system/etc then do factory reset ?
Click to expand...
Click to collapse
How would I do this, what is the process?
Root the phone and then use a root file manager to remove it. TBH, I'd just stump up the money for Sunshine, run the 4.16.401.10 RUU and be done with it!
If there is an RUU available, and it otherwise fits the criteria (new or same version), then it should have completely cleaned the phone out completely. That is what RUUs do.
However, the $25 for S-off is easily worth it. All of the crap people put up with to do anything on their phone disappears. You can upgrade/downgrade firmware at will. You can alter your CID/MID all day. You can lock/unlock your bootloader without triggering a factory reset. Tired of lollipop? Downgrade completely (firmware and all) to KitKat. It's almost like having a Nexus device.
Hi Jay
I get demo devices through my employer, every single HTC ROM out there inclues demoflow, the device it's self is essentialy a generic unit with an alternate CID, the demo installation and launch is triggered by CID HTC_002, the most effective way to get rid of demoflo and make the device 100% generic, is to S-Off and supercid! (11111111)
Once you are supercid you can flash any ruu and you will still have a 100% generic device, OTA updates and all... Demo won't even install.
The alternative method would be to simply remove /system/etc/.demoflo and /system/priv-app/DemoFlowInstaller
This will break ota and carrying the 002 cid will bring demoflo back when you flash any HTC ruu.
My M9 came as a demo unit, I modified the supersu installer to do the work for me as S-off isn't yet available... Htc dev unlock - twrp & flash the modified supersu zip.. once again breaking ota but I have an ruu on standby..
Feel free to shout if you need assistance.
Thanks
Lee
LeeDroid said:
Hi Jay
I get demo devices through my employer, every single HTC ROM out there inclues demoflow, the device it's self is essentialy a generic unit with an alternate CID, the demo installation and launch is triggered by CID HTC_002, the most effective way to get rid of demoflo and make the device 100% generic, is to S-Off and supercid! (11111111)
Once you are supercid you can flash any ruu and you will still have a 100% generic device, OTA updates and all... Demo won't even install.
The alternative method would be to simply remove /system/etc/.demoflo and /system/priv-app/DemoFlowInstaller
This will break ota and carrying the 002 cid will bring demoflo back when you flash any HTC ruu.
My M9 came as a demo unit, I modified the supersu installer to do the work for me as S-off isn't yet available... Htc dev unlock - twrp & flash the modified supersu zip.. once again breaking ota but I have an ruu on standby..
Feel free to shout if you need assistance.
Thanks
Lee
Click to expand...
Click to collapse
Hi Lee,
Sorry it's taken me a few days to thank you for this post - but thank you! I have an M9 that is stuffed with demo content on the _002 CID. Could you help me in removing this software? I would really appreciate it.
jaaystott said:
Hi Lee,
Sorry it's taken me a few days to thank you for this post - but thank you! I have an M9 that is stuffed with demo content on the _002 CID. Could you help me in removing this software? I would really appreciate it.
Click to expand...
Click to collapse
I am in the same position mate, I released my first M9 custom ROM last night (demo free), that would definitely solve your issue ?
Happy to assist if yku want to stay stock
plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help
hi i have htc m9 with demo flow rom. by following htcdev instructions i managed to unlock bootloader
i flashed twrp-recovery-2.8.6.0-hima-cptb and rooted the devise with UPDATE-SuperSU-v2.48
with help of sunshine managed to s-off then i done super cid all good till now
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 1.32.401.15
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: 11111111
i tried alot to flash it with lots of stock rom but i failed
one of the roms i tried 0PJAIMG_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.1 5_R1_Radio_01.01_U11440261_56.02.50306G_2_F_releas e_426891_signed
always getting this :
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip 0PJAIMG.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (74921 KB)...
OKAY [ 5.427s]
writing 'zip'...
(bootloader) HOSD CL#493992
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 7.565s
i want to flash it to stock rom. demo flow make my m9 useless phone.
plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help
kimozizo said:
hi i have htc m9 with demo flow rom. by following htcdev instructions i managed to unlock bootloader
i flashed twrp-recovery-2.8.6.0-hima-cptb and rooted the devise with UPDATE-SuperSU-v2.48
with help of sunshine managed to s-off then i done super cid all good till now
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 1.32.401.15
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: 11111111
i tried alot to flash it with lots of stock rom but i failed
one of the roms i tried 0PJAIMG_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.1 5_R1_Radio_01.01_U11440261_56.02.50306G_2_F_releas e_426891_signed
always getting this :
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip 0PJAIMG.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (74921 KB)...
OKAY [ 5.427s]
writing 'zip'...
(bootloader) HOSD CL#493992
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22: fail to flash via downloadzip)
finished. total time: 7.565s
i want to flash it to stock rom. demo flow make my m9 useless phone.
plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help
Click to expand...
Click to collapse
This is an M8 thread. Post your issue in the M9 Q&A.
Demoflo on HTC M8
ckpv5 said:
Have you try remove demo.apk in system/etc then do factory reset ?
Click to expand...
Click to collapse
I removed the demoflo package installer using the root file manager, factory reset and still waiting what will happen..???

wracking my brain , bricked to hell

So iv manged to delete my os and recovery , the only progress I can make is flashing twrp 2.8.5.0 and that's all.
I looked through so many threads its not even funny , tried so many different files older and newer version of firmware just to see if i get an error to point me in the right direction.
this is my: getvar all
INFOkernel: lk
INFOproduct: htc_himauhl
INFOversion: 1.0
INFOversion-main: 2.9.710.4
INFOboot-mode: download
INFOversion-baseband: 01.04_U11440601_71.02.50709G_F
INFOversion-bootloader: 1.0.0.0000
INFOmid: 0PJA10000
INFOcid: OPTUS001
all:
finished. total time: 0.020s
I've been using this thread to get my stock files http://forum.xda-developers.com/one-m9/general/stock-nand-backup-ota-update-collection-t3132698
No one else seems to be having problems like this
errors iv come across are.
remote 19
remote -2 ,19: failed to flash via download zip
iv tried using the sd card way and fastboot way
the sd card way has become a problem now since my pc wont let my copy files to it ""This device has either stopped responding or has been disconnected."
fastboot method seems to be the only way to get a response from the device or anything to work.
any help what so ever will be greatly appreciated since iv been trying to fix this for the past 5 days to no avail .
May I suggest you edit your original post to delete your IMEI? We don't need it to troubleshoot and it could be abused.
From the information you've given, it looks like your phone is a Europe WWE-based phone on the Optus Australia carrier network. Your OS version indicates that you're on the Lollipop firmware (2.9.710.4).
Windows driver issues are best solved by installed HTC's Sync Manager (link below). Alternatively, you could pull the sd card from the phone and copy files directly onto it - this may be the simplest way to avoid driver issues.
Since you can install (and access?) TWRP, probably the easiest thing to do will be to flash a compatible ROM. As you are on the Lollipop firmware, you can't flash any of the Marshmallow ROMs. Doing so will result in an endless boot or bootloop.
If you want to upgrade to the latest firmware, you could use the sd card method to install the latest RUU. Flippy498's Google Sheet (link below) has a guide & the files necessary to do this.
peace,
Computerslayer
------------------------------
Useful references:
Flippy498's Google Sheet
SKU-, CID- and MID-List by Sneakyghost and Behold_this
HTC Sync Manager
I keep trying to flash from what i can tell is the right RUU and i keep getting this error
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 7
processing file 1/7...
sending 'zip' (130194 KB)...
OKAY [ 8.045s]
writing 'zip'...
(bootloader) HOSD CL#573756
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
FAILED (remote: 19: fail to flash via downloadzip)
finished. total time: 13.803s
htc_fastboot finished. total time: 18.949s
Mechanicalz said:
I keep trying to flash from what i can tell is the right RUU and i keep getting this error
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 7
processing file 1/7...
sending 'zip' (130194 KB)...
OKAY [ 8.045s]
writing 'zip'...
(bootloader) HOSD CL#573756
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
FAILED (remote: 19: fail to flash via downloadzip)
finished. total time: 13.803s
htc_fastboot finished. total time: 18.949s
Click to expand...
Click to collapse
I can't help you with flashing via fastboot - perhaps others can.
On the flip side, you could use the sd card method outlined in Flippy498's Google Sheet. That should get you set.
Mechanicalz said:
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
Click to expand...
Click to collapse
Are you trying to downgrade with S-ON? That's not possible. S-ON phones can only use RUUs which have the same firmware version or a higher one. Besides you could flash the TWRP 2.x version I linked in my sheet and restore the 2.9.710.4 backup with my instructions to solve your "no system" problem. The TWRP version you mentioned in your first post is outdated and with the currently installed firmware you can't use TWRP 3.x since it requests the marshmallow firmware.
Sent from my HTC One S using XDA Labs
SO i managed to get candy5 installed , now im trying to flash back to stock
bootloader is relocked
tried flashing 2.9.710.5 and started getting
FAILED (status read failed (Unknown error))
after trying a couple times i got this
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.9.710.5
found large-zip header, file count: 7
processing file 1/7...
Traceback (most recent call last):
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 160, in main
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 320, in do_update
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 241, in _do_update_internal
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 278, in do_fastboot_command
File "E:\largezip\htc_fastboot\fastboot.py", line 133, in get_device_host
ValueError: invalid literal for int() with base 16: '2.9.710.4'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "htc_fastboot.py", line 187, in main
File "E:\largezip\htc_fastboot\htc_flashzip.py", line 172, in main
AttributeError: 'ValueError' object has no attribute 'message'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "htc_fastboot.py", line 215, in <module>
File "htc_fastboot.py", line 196, in main
AttributeError: 'AttributeError' object has no attribute 'message'
after that i tried once more and got this error
FAILED (data transfer failure (Unknown error))
Try the SD card method outlined in Flippy498's Google sheet.

Proper Pickle with M9

Hi hoping someone can help me - I've just wasted two days trying to get my phone to work again, but right now, it only goes to the bootloader.
I have HTC One M9, with S-ON, rooted, with TWRP bootloader installed. I can not get any ROMs to install at all - actually, they do install, just don't boot. I believe this is because I don't have the correct firmware version installed. I can't get any firmware to install. When trying to update firmware, I get;-
Code:
fastboot flash zip firmware_M9.ziptarget reported max download size of 800000000 bytes
sending 'zip' (61607 KB)...
OKAY [ 5.419s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
I think this is because of the S-ON.
Can someone please help me, otherwise I'm going to have to throw this thing in the bin, and buy a new phone?
Thanks, Seth
Ok - so I've progressed, in as much as I've managed to put an old unofficial copy of CM12 on it. This has at least got me up and running.
Now need to get it back to Stock so I can patch firmware, and then install latest version of CM13.
Only, all the guides I read, say to flash Stock you need S-OFF - which I can only achieve by running Sunshine unlock - but I can't run Sunshine Unlock on this unofficial version of CM12.
Does anyone have any ideas they can throw my way? Thanks
SethHelstrip said:
Hi hoping someone can help me - I've just wasted two days trying to get my phone to work again, but right now, it only goes to the bootloader.
I have HTC One M9, with S-ON, rooted, with TWRP bootloader installed. I can not get any ROMs to install at all - actually, they do install, just don't boot. I believe this is because I don't have the correct firmware version installed. I can't get any firmware to install. When trying to update firmware, I get;-
Code:
fastboot flash zip firmware_M9.ziptarget reported max download size of 800000000 bytes
sending 'zip' (61607 KB)...
OKAY [ 5.419s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
I think this is because of the S-ON.
Can someone please help me, otherwise I'm going to have to throw this thing in the bin, and buy a new phone?
Thanks, Seth
Click to expand...
Click to collapse
Buddy once u install the rom, take the boot.img frm the rom zip file & flash it via adb in bootloader mode it will flash evn if ur s-on, custom roms need their respective boot.img files to be flashed when s-on in case of s-off its done by twrp or cwm recovery hope it helps
Hi Seth,
So the great news is that you do not need to be S-OFF to upgrade your firmware, which is what it sounds like you need to do.
Unfortunately, you can't take an OTA update, so you need to flash an RUU. While this will reset your phone (wiping everything but your SD card), it will also get your phone up to date.
Do you know which variant of the M9 you have? Once you get that information, you can use download the appropriate RUU and flash it to your phone. I've included some links below that are helpful - I especially recommend Flippy498's Google sheet, which has almost everything you need (with instructions!) to update your firmware.
Peace,
Computerslayer
Useful links for modding your HTC M9
Flippy498's Google Sheet
- the end-all, be-all resource for HTC M9 restoration
SKU-, CID- and MID-List by Sneakyghost and Behold_this
- a spreadsheet for using your CID & MID to identify your phone
HTC Sync Manager
- installs the necessary drivers & ADB tools for the HTC M9
Instructions for obtaining your CID, MID & software version on Windows:
a. Install HTC Sync Manager (this will install the necessary drivers & ADB tools)
b. Boot your phone into download mode (from a powered off state, turn on by holding the POWER+DOWNVOL)
c. Connect your phone to your PC
d. Open a command prompt window
e. Navigate to the ADB tools folder, typically C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync
- assuming the path is correct, you can cut & paste this command into your terminal: cd C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync
f. Execute the following command in a terminal (command prompt): fastboot getvar all
g. Copy the lines that mention product, version-main, mid, and cid.
still sinking....
Thanks for the info guys. So I decided the best path was to RUU back to Stock then upgrade firmware OTA.
So, I tried to connect phone to HTC Sync Manager, but get the dreaded USB can't connect 170 error - even though the OS can see the phone, and its memory card fine.
So I decided to try Ubuntu to extract the RUU, so I can just patch it on SD card. However, I can't get the unruu program to compile properly, because its got some error with the required version of unshield.
So I'm at a dead-end, and resisting putting a hammer through the screen of this phone, which has now cost me about 4 days worth of effort - and still doesn't work.
The only thing I've managed to get working on it so far, is a crappy unofficial copy of CM12 - that crashes about 15-20 times a day.
Can anyone please offer me some advice, or a stock rom.zip for an unlocked m9?
SethHelstrip said:
Thanks for the info guys. So I decided the best path was to RUU back to Stock then upgrade firmware OTA.
So, I tried to connect phone to HTC Sync Manager, but get the dreaded USB can't connect 170 error - even though the OS can see the phone, and its memory card fine.
So I decided to try Ubuntu to extract the RUU, so I can just patch it on SD card. However, I can't get the unruu program to compile properly, because its got some error with the required version of unshield.
So I'm at a dead-end, and resisting putting a hammer through the screen of this phone, which has now cost me about 4 days worth of effort - and still doesn't work.
The only thing I've managed to get working on it so far, is a crappy unofficial copy of CM12 - that crashes about 15-20 times a day.
Can anyone please offer me some advice, or a stock rom.zip for an unlocked m9?
Click to expand...
Click to collapse
If you can pull you CID & MID, it'll be easy to identify which RUU you need. Most are easily found online.
So more progress. Having relocked my bootloader, I am now able to get the HTC RUU exe to connect to the phone from Windows. Only problem now is that I'm getting the
ERROR [155]: UNKNOWN ERROR
this makes me think I've got the wrong RUU. I'm pretty sure I've got the correct SKU, but not sure about the rest of it. From running fastboot getvar all I get;-
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) version-main: 2.10.401.1
(bootloader) boot-mode: download
(bootloader) version-baseband: 01.04_U11440601_71.02.50709G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: HTC__001
all:
And I'm using the
RUU_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.17_Radio_01.01_U11440261_56.02.50306G_2_F_release_429340_signed_2_4.exe
Can someone please help me - I now have a phone that won't go beyond the bootloader. Thanks
Ok, so I think the problem here, is the RUU I have is a downgrade from the existing version. With that in mind, can someone please help me out massively by pointing me in the direction of the correct RUU?
Thanks again.
https://www.google.com/url?q=https:...835000&usg=AFQjCNH9n1vZCmPvw5wWJ10C1wFJqx6YYA
Use this. Rename it to 0PJAIMG.zip copy it to your externel sd card. Reboot to download mode and press vol up than wait. Your phone will have latest firmware with 6.0
awesome - thanks for your help

Loading Stock RUU Failed and now stuck on install screen

Hi,
I had tried rooting my At&T HTC One M9 using the NOOB friendly guide written by KingInTheNorth. After completing, my phone wouldn't boot up. It got into a bootloop. I then found a guide (from another website) on how to reload the stock RUU. I followed the direction but it looks as if the file was bad. The following is copied from the command prompt.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip C:/Use
Downloads/M9fullstock.zip
target reported max download size of 800000000 bytes
sending 'zip' (79642 KB)...
OKAY [ 5.185s]
writing 'zip'...
(bootloader) HOSD CL#682052
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] Not allow flash image except boot/recov
(bootloader) ery/system
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 14
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 14
(bootloader) [email protected]
FAILED (remote: 14 RU_ZIP_INFO_ERROR android-info missing or malformed )
finished. total time: 8.400s
Now my phone is stuck on the screen that shows a phone with a green arrow in a green circle pointing down. I've tried rebooting but it doesn't respond to any button presses. Did I ruin my phone? Can anyone help?
Try to type fastboot reboot in your command prompt. It should reboot your phone. If you're lucky it will reboot your phone normally and it's fully functional. If not, your phone will boot into bootloader which will mean your rom is wiped.
That's not a RUU that you were trying to flash and the guide written by KingInTheNorth is outdated since different firmware versions of the M9 can only get rooted with different versions of SuperSU. Check the ReadMe thread for the guides and files you may need.
@Suurbier91: Never recommend people to reboot if a flash failed unless they know exactly what's going on. There are some flashing errors that can only get fixed if the phone gets flashed immediately, again. A reboot makes those bricks permanent and unrecoverable.
Thanks for the direct to the Read Me. I've found a lot of good information there. After my battery died, I charged the phone and it's coming back on. It still has a boot loop that lasts for between five to ten minutes before booting up. I am going to try following one of the threads I found on here to get back to stock. Hopefully that will take care of the boot loop issue. I was wanted to root it so I could upgrade to Nougat. The phone was originally AT&T but I paid to unlock it and I'm now on Cricket but I don't receive any OTA updates.
That's probably so because the phone is only sim unlocked but still using the AT&T firmware. Don't ask me why they're allowed to do so (it wouldn't be possible in the EU) but AT&T won't let you download OTAs if there isn't an AT&T sim card inserted into your phone.
If you don't need the AT&T branded firmware then I'd get S-OFF and convert my phone to the dev edition if I were you. If you choose to stay on the AT&T firmware then you can update your phone via a RUU. Be aware that it's not possible to update from firmware 3.x or lower to firmware 4.x via RUUs due to new encryption keys.
Sent from my HTC One M9 using XDA Labs

I need your help

Hey, guys,
my 10 is s-on and locked and starts only in bootloader or download mode, token query does not work, says oem locked.
I think the only option is a ruu.exe or ruu.zip.
here's the problem.
cid is htc__102 and I can't find an appropriate one anywhere, does someone have a link for me or another solution?
I hope you can help me.
wolfi05 said:
Hey, guys,
my 10 is s-on and locked and starts only in bootloader or download mode, token query does not work, says oem locked.
I think the only option is a ruu.exe or ruu.zip.
here's the problem.
cid is htc__102 and I can't find an appropriate one anywhere, does someone have a link for me or another solution?
I hope you can help me.
Click to expand...
Click to collapse
You start with looking at your OS/Firmware line in the download mode, then search here for the corresponding RUU. I bet if you use the search box you will definitely find it. I can so you can too.......
Verstuurd vanaf mijn HTC 10 met Tapatalk
Mr Hofs said:
You start with looking at your OS/Firmware line in the download mode, then search here for the corresponding RUU. I bet if you use the search box you will definitely find it. I can so you can too.....
Click to expand...
Click to collapse
If it were that simple .......
the cid is htc__102 .......
the firmware is 1.30.401.1........
the only thing I could find would be a cid o2__102, does this fit...... .
So if you had a match, I'd be very grateful.
wolfi05 said:
If it were that simple .......
the cid is htc__102 .......
the firmware is 1.30.401.1........
the only thing I could find would be a cid o2__102, does this fit...... .
So if you had a match, I'd be very grateful.
Click to expand...
Click to collapse
https://www.androidfilehost.com/?fid=818070582850508041
Mr Hofs said:
[ww.androidfilehost.com/?fid=818070582850508041[/url]
Click to expand...
Click to collapse
mmmmmm.........
actually, that's a htc__034 , do you think this is gonna work?
i have slow internet and i have to think very carefully about what i download
wolfi05 said:
mmmmmm.........
actually, that's a htc__034 , do you think this is gonna work?
i have slow internet and i have to think very carefully about what i download
Click to expand...
Click to collapse
Don't look at cid, this version is just like yours the WWE version. Look at your firmware region number the. 401 part. I would not have linked this if it would be the wrong one
Mr Hofs said:
Don't look at cid, this version is just like yours the WWE version. Look at your firmware region number the. 401 part. I would not have linked this if it would be the wrong one
Click to expand...
Click to collapse
first of all thank you for your support.................
fastboot says about the file:
\fastboot-win> .\htc_fastboot flash zip 2PS6IMG.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.41.401.41
found large-zip header, file count: 25
processing file 1/25...
sending 'zip' (108173 KB)...
OKAY [ 5.272s]
writing 'zip'...
(bootloader) HOSD CL#738269
(bootloader) ERR CID not matched
(bootloader) ERR [SD_UPDATE_ERR] CID NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 7
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 7
(bootloader) [email protected]
FAILED (remote: 7 RU_CID_FAIL cid in android-info mismatched )
finished. total time: 8.942s
htc_fastboot finished. total time: 10.833s
I tried another ruu.exe with the same version number, with the same result.
I think I need a htc_102 otherwise it won't work.
I'm missing something?
wolfi05 said:
first of all thank you for your support.................
fastboot says about the file:
\fastboot-win> .\htc_fastboot flash zip 2PS6IMG.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.41.401.41
found large-zip header, file count: 25
processing file 1/25...
sending 'zip' (108173 KB)...
OKAY [ 5.272s]
writing 'zip'...
(bootloader) HOSD CL#738269
(bootloader) ERR CID not matched
(bootloader) ERR [SD_UPDATE_ERR] CID NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 7
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 7
(bootloader) [email protected]
FAILED (remote: 7 RU_CID_FAIL cid in android-info mismatched )
finished. total time: 8.942s
htc_fastboot finished. total time: 10.833s
I tried another ruu.exe with the same version number, with the same result.
I think I need a htc_102 otherwise it won't work.
I'm missing something?
Click to expand...
Click to collapse
I told you it's the correct one, HTC 102 is the same firmware as HTC 34 or any other WWE firmware, it stands for the European firmware. You can't flash any other. Of you look at the O2 102 cid you will also see that it's a completely different firmware number and that there is NO .401 in it because it's a carrier locked firmware.
The only thing that is possible is that the jump from 1.30.401 to 2.41.401 is to big, you might need a 1.90.401 or 1.30.401 ruu first as the 1.30.401 is VERY old !
Do this :
Put the 2.41 RUU on your sdcard and boot into the download mode (file named as 2PS6IMG.ZIP) and flash the file. See if that works.
Believe me i know what i am talking about......
Edit 1 :
Please post the outcome of :
Fastboot getvar all
Paste the whole outcome EXCEPT the imei and serial number.
Edit 2 :
https://www.androidfilehost.com/?fid=24533103863140111
https://www.androidfilehost.com/?fid=24671318762849319
2 other RUU zips you can try.
fastboot getvar all :
(bootloader) kernel: lk
(bootloader) product: htc_pmeuhl
(bootloader) version: 1.0
(bootloader) imei: 0000000000000000
(bootloader) version-main: 1.30.401.1
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS620000
(bootloader) cid: HTC__102
all:
finished. total time: 0.006s
htc_fastboot finished. total time: 0.342s
When I start in download mode the 2PS6img should be found, or?
It says "file not found" on the display of the htc.
so far I have tried this without success:
2PS6IMG......1.30.401.
2PS6IMG......1.80.401.
..............................2.41.401.
RUU.....2.41.401
flash with the 2PS6img on my pc:
.\htc_fastboot flash zip 2PS6IMG.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.41.401.41
found large-zip header, file count: 25
processing file 1/25...
sending 'zip' (108173 KB)...
OKAY [ 5.250s]
writing 'zip'...
(bootloader) HOSD CL#738269
FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 6.296s
htc_fastboot finished. total time: 8.139s
wolfi05 said:
fastboot getvar all :
(bootloader) kernel: lk
(bootloader) product: htc_pmeuhl
(bootloader) version: 1.0
(bootloader) imei: 0000000000000000
(bootloader) version-main: 1.30.401.1
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS620000
(bootloader) cid: HTC__102
all:
finished. total time: 0.006s
htc_fastboot finished. total time: 0.342s
When I start in download mode the 2PS6img should be found, or?
It says "file not found" on the display of the htc.
so far I have tried this without success:
2PS6IMG......1.30.401.
2PS6IMG......1.80.401.
..............................2.41.401.
RUU.....2.41.401
Click to expand...
Click to collapse
Be careful you didn't name the file .zip.zip as windows automatically hides extensions.
And yes download mode should autodetect them
And these are absolutely the correct files.
Mr Hofs said:
Be careful you didn't name the file .zip.zip as windows automatically hides extensions.
And yes download mode should autodetect them
And these are absolutely the correct files.
Click to expand...
Click to collapse
so stay try and error..................
wolfi05 said:
so stay try and error..................
Click to expand...
Click to collapse
Try them all with the sdcard method, 1 by 1. I can't offer anything else as this what you need. If the download mode doesn't detect the file you named it wrong.
Mr Hofs said:
Try them all with the sdcard method, 1 by 1. I can't offer anything else as this what you need. If the download mode doesn't detect the file you named it wrong.
Click to expand...
Click to collapse
I have formatted the sd card at the pc and only the zip on it, zip.zip in no case
FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode) <<---- which means?
Which fastboot version would you recommend?
The problem with the sd card has been solved. There was a hidden partition of samsung on it. After reformatting the htc recognizes the file.
Okay, I tried them 1 by 1
Always with the same result :
"Fail 7 RU_CID_FAIL cid in androidinfo mismatched"
.........
Then the last method to update is to flash the 2.41.401 standalone firmware (not the RUU), locate it, download it, OPEN the firmware.zip with 7zip and drag out android info.txt, edit the file and add your CID (HTC__102) save the text and flash the firmware via fastboot. Be aware that your device has to be in RUU mode. After you flashed the firmware you should be able to flash the full 2.41.401 RUU.
That's all i can think of. You should have updated your phone long way back then you would not have this problem. Your current OS is like the stoneage is in time ! For all i know it has something to do with the problem why it only starts to bootloader and/or download mode, maybe the problem is bigger than just to flash a RUU.
wolfi05 said:
The problem with the sd card has been solved. There was a hidden partition of samsung on it. After reformatting the htc recognizes the file.
Okay, I tried them 1 by 1
Always with the same result :
"Fail 7 RU_CID_FAIL cid in androidinfo mismatched"
.........
Click to expand...
Click to collapse
Ok, as last way I will try. . . . . . but just to understand it, the new firmware doesn't change the cid, then the ruu doesn't care the cid?
I have entered the cid htc__102 in the ruu and it has aborted.
I will report...thanks
wolfi05 said:
Ok, as last way I will try. . . . . . but just to understand it, the new firmware doesn't change the cid, then the ruu doesn't care the cid?
I have entered the cid htc__102 in the ruu and it has aborted.
I will report...thanks
Click to expand...
Click to collapse
You can't change a cid in the RUU, unless you decrypt it ? A firmware can't change your cid because your device is S-ON. Only with s-off you can change the cid.
I told you to change the Android info.txt file which is inside the firmware (not the RUU) so that the firmware knows your cid is supported.
Mr Hofs said:
You can't change a cid in the RUU, unless you decrypt it ? A firmware can't change your cid because your device is S-ON. Only with s-off you can change the cid.
I told you to change the Android info.txt file which is inside the firmware (not the RUU) so that the firmware knows your cid is supported.
Click to expand...
Click to collapse
You may have to flash hosd_signed.img at bootloader (not download) before you flash the firmware. Extract the hosd_signed.img from the firmware zip and do 'fastboot flash hosd hosd_signed.img' in the bootloader mode; followed by flashing the firmware in the download mode.
rln_xda said:
You may have to flash hosd_signed.img at bootloader (not download) before you flash the firmware. Extract the hosd_signed.img from the firmware zip and do 'fastboot flash hosd hosd_signed.img' in the bootloader mode; followed by flashing the firmware in the download mode.
Click to expand...
Click to collapse
No that's not needed because this is not about downgrading the bootloader/firmware. That's only needed when you want to downgrade the firmware on an S-ON device.
Edit :
To Wolf
Here is the 130.401 to 180.401 firmware.
https://androidfilehost.com/?fid=24591020540821778
Open the firmware (NOT EXTRACT) and drag out the Android info txt file and edit in your exact CID. Save it and drag it back in the firmware.zip. then flash the zip as intended. Please check how to properly flash the firmware for a S-ON device.
i believe you have to enter RUU mode first before you can flash it so please check that out !!!
//You can't change a cid in the RUU, unless you decrypt it ? //
I started the ruu, then I went to the temp folder and changed the android-info, then I started the htc and started the flash process (it was worth a try)
//A firmware can't change your cid because your device is S-ON. Only with s-off you can change the cid. //
That's probably it....that's why I wonder why the ruu should work with another firmware(because the cid error always comes) and if the flashing of the firmware works, but the ruu doesn't, then the htc is an organ donor (more than now)?
now I'm confused:
firmware 1.8 ---> firmware 2.41 -----> Ruu 2.41 or
firmware 1.8 ----> Ruu 2.41 or
firmware 2.41 ---> Ruu 2.41 how would you do that?

Categories

Resources