htc 10 really deep in mess - HTC 10 Questions & Answers

I'm HAVING major problems with my HTC.
HTC Download mode
*** RELOCKED ***
htc_pmewl PVT S-ON
LK-1.0.0.0000
[email protected]
openDSP-v18.2.8996.00524_0321
OS-1.53.666.5
May 11 2016, 10:23:54(748430)
Click to expand...
Click to collapse
I was able to root my phone with HTC Dev. After I flashed custom Recovery (newest). I started disabling apps in the stock room but however I deleted one that was for UI.
Error Home sense stopped
Reset the phone in the menu... same error. I have no backup the OS so I figured that RUU exe would help but the damn setup extracts than closes......
I tried fastboot oem lock because it was recommended to when using Stock rom RUU but that didn't change anything.
Now when I try to unlock my device again I get:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 800000000 bytes
sending 'recovery' (21992 KB)...
OKAY [ 1.867s]
writing 'recovery'...
(bootloader) HOSD CL#748430
FAILED (remote: 9 RU_SECURITY_FAIL recovery and bootloader isn't BL_UNLOCKE)
finished. total time: 2.895s
Click to expand...
Click to collapse
Now my device does not have ANY bootable ROM and Recovery doesn't load up. I'm LOST and this device doesn't work, what can I do?
When I redo the process on htc dev I get this error
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.000s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 1.031s
Click to expand...
Click to collapse

Really, this should be in the Questions and Answers section.
Try changing the name of this file from to 2PS6IMG.zip, not 2PS6IMG.zip.zip, and placing it on the root of an Sdcard. Then boot into download mode. I'm not guaranteeing the file will work.
https://www.androidfilehost.com/?fid=385026487222272729

shortydoggg said:
Really, this should be in the Questions and Answers section.
Try changing the name of this file from to 2PS6IMG.zip, not 2PS6IMG.zip.zip, and placing it on the root of an Sdcard. Then boot into download mode. I'm not guaranteeing the file will work.
https://www.androidfilehost.com/?fid=385026487222272729
Click to expand...
Click to collapse
sprry about that
The link doesn't work

matthewacbroad said:
sprry about that
The link doesn't work
Click to expand...
Click to collapse
Try this one.
https://www.androidfilehost.com/?fid=457095661767098560

shortydoggg said:
Try this one.
https://www.androidfilehost.com/?fid=457095661767098560
Click to expand...
Click to collapse
Thanks
however I'm getting this error
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 1064224853 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 264226901 is not a multiple of the block size 4096
sending sparse 'zip' 1/3 (781248 KB)...
error: write_sparse_skip_chunk: don't care size 1064224853 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1064224853 is not a multiple of the block size 4096
OKAY [ 32.125s]
writing 'zip' 1/3...
(bootloader) HOSD CL#748430
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_R
(bootloader) J9pW7
(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) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 43.803s

matthewacbroad said:
Thanks
however I'm getting this error
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 1064224853 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 264226901 is not a multiple of the block size 4096
sending sparse 'zip' 1/3 (781248 KB)...
error: write_sparse_skip_chunk: don't care size 1064224853 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1064224853 is not a multiple of the block size 4096
OKAY [ 32.125s]
writing 'zip' 1/3...
(bootloader) HOSD CL#748430
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_R
(bootloader) J9pW7
(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) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 43.803s
Click to expand...
Click to collapse
What rom.zip file did you use? That's not the correct way to flash that anyway.

shortydoggg said:
What rom.zip file did you use? That's not the correct way to flash that anyway.
Click to expand...
Click to collapse
Sorry I'm very new with this. I placed the zip folder in my SD Card and booted up the phone in download mode. It says
File /mnt/media_rw/ext_sd/2ps6img.zip
file NOT FOUND
nvm I had hide file extensions enabled. I renamed it to filename.zip

matthewacbroad said:
I'm HAVING major problems with my HTC.
I was able to root my phone with HTC Dev. After I flashed custom Recovery (newest). I started disabling apps in the stock room but however I deleted one that was for UI.
Error Home sense stopped
Reset the phone in the menu... same error. I have no backup the OS so I figured that RUU exe would help but the damn setup extracts than closes......
I tried fastboot oem lock because it was recommended to when using Stock rom RUU but that didn't change anything.
Now when I try to unlock my device again I get:
Now my device does not have ANY bootable ROM and Recovery doesn't load up. I'm LOST and this device doesn't work, what can I do?
When I redo the process on htc dev I get this error
Click to expand...
Click to collapse
where is a rec. to run fastboot oem lock?
honest question, haven't looked, just curious.

matthewacbroad said:
Sorry I'm very new with this. I placed the zip folder in my SD Card and booted up the phone in download mode. It says
File /mnt/media_rw/ext_sd/2ps6img.zip
file NOT FOUND
nvm I had hide file extensions enabled. I renamed it to filename.zip
Click to expand...
Click to collapse
This fastboot will work with the 10. That minimal version you have doesn't know how to handle the method HTC uses to pack their ruu. Unzip to a new folder. Copy ruu there. Open command prompt there. Use hfastboot as your fastboot syntax.
www.androidfilehost.com/?fid=24545065934258327
Sent from my HTC6545LVW using Tapatalk

Thanks guys! You really saved my phone
I placed the zip in the SD card (after installing one) and download mode asked me "flash file.zip". First 2 flashes failed, it detected all img files but bypassed most of them... Finally the third flash worked and I restored /recovery and my OS. Now I'm back with S-OFF and rooted...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I know that OTA updates won't work with custom recovery and a major update came up for my stock rom which does improve camera and such. What would be the best way of installing it?
Some websites tell me I have to re-flash recovery partition but I have no idea how to do this. Is it simply finding the recovery.img and flashing it in download mode? than repeating the same command in CMD to re-flash custom recovery?

matthewacbroad said:
Thanks guys! You really saved my phone
I placed the zip in the SD card (after installing one) and download mode asked me "flash file.zip". First 2 flashes failed, it detected all img files but bypassed most of them... Finally the third flash worked and I restored /recovery and my OS. Now I'm back with S-OFF and rooted...
I know that OTA updates won't work with custom recovery and a major update came up for my stock rom which does improve camera and such. What would be the best way of installing it?
Some websites tell me I have to re-flash recovery partition but I have no idea how to do this. Is it simply finding the recovery.img and flashing it in download mode? than repeating the same command in CMD to re-flash custom recovery?
Click to expand...
Click to collapse
(htc_)fastboot flash recovery recovery.img. be sure to get the right recovery for your device/CID.
if you already flashed a RUU and didn't use twrp, for example allow system modification, don't do it and just flash stock recovery, boot up and if you get the update it should install

DeeZZ_NuuZZ said:
(htc_)fastboot flash recovery recovery.img. be sure to get the right recovery for your device/CID.
if you already flashed a RUU and didn't use twrp, for example allow system modification, don't do it and just flash stock recovery, boot up and if you get the update it should install
Click to expand...
Click to collapse
Not sure where to find the recovery.img
The ZIP file I flashed to my phone is working fine. Inside it has 1 to 24 zip files, the first one has recovery_signed.img but everytime I try to extract it I get a error both from winrar and 7-zip.

matthewacbroad said:
Not sure where to find the recovery.img
The ZIP file I flashed to my phone is working fine. Inside it has 1 to 24 zip files, the first one has recovery_signed.img but everytime I try to extract it I get a error both from winrar and 7-zip.
Click to expand...
Click to collapse
yea you can't extract it without proper tools, but i don't need which tool exactly to use to extract it. and afaik winrar and 7zip are not capable of, because it is encrypted.
there are other locations where you can find it. either from a twrp backup in this forum or so

matthewacbroad said:
Thanks guys! You really saved my phone
I placed the zip in the SD card (after installing one) and download mode asked me "flash file.zip". First 2 flashes failed, it detected all img files but bypassed most of them... Finally the third flash worked and I restored /recovery and my OS. Now I'm back with S-OFF and rooted...
I know that OTA updates won't work with custom recovery and a major update came up for my stock rom which does improve camera and such. What would be the best way of installing it?
Some websites tell me I have to re-flash recovery partition but I have no idea how to do this. Is it simply finding the recovery.img and flashing it in download mode? than repeating the same command in CMD to re-flash custom recovery?
Click to expand...
Click to collapse
twrp custom recovery can take ota, if on stock system.img i believe.
google will be more help than I.
or someone who has taken ota on the 10.
different than previous htc devices so toss those "guides".
I believe it used to be as easy as being on stock recovery.

matthewacbroad said:
Not sure where to find the recovery.img
The ZIP file I flashed to my phone is working fine. Inside it has 1 to 24 zip files, the first one has recovery_signed.img but everytime I try to extract it I get a error both from winrar and 7-zip.
Click to expand...
Click to collapse
DeeZZ_NuuZZ said:
yea you can't extract it without proper tools, but i don't need which tool exactly to use to extract it. and afaik winrar and 7zip are not capable of, because it is encrypted.
there are other locations where you can find it. either from a twrp backup in this forum or so
Click to expand...
Click to collapse
enjoy
http://forum.xda-developers.com/chef-central/android/tool-universal-htc-ruu-rom-decryption-t3382928

Verifying current system...
system partition has unexpected contents
E:Error in @/cache/recovery/block.map
(Status 7)
Installation aborted.
OTA failed! Please power off the device to keep it in this state and file a bug report!
I flashed stock recovery.img and OTA failed.

Seems like flashing to stock rom zip file than keep updating until it's done THAN re-flashing trwp.img and rooting works best
I have updated to 1.90.666.4
However if another update comes out and it fails I'll have to re-flash to stock and repeat the process

matthewacbroad said:
Seems like flashing to stock rom zip file than keep updating until it's done THAN re-flashing trwp.img and rooting works best
I have updated to 1.90.666.4
However if another update comes out and it fails I'll have to re-flash to stock and repeat the process
Click to expand...
Click to collapse
Since you're using fastboot and rooting and you've unlocked bootloader, is it possible to just run a stock rooted type custom rom, along with TWRP and not have to worry about the OTA? I know it can be done now with custom recovery after devices have been rooted, but it seems like a big pain in the rear.
I understand if you need or want to keep the stock rom, and I think some users can help with the OTA stuff. I just thought I'd mention now that you're this far into it.

It's been interesting using the stock rom. Did some mods to the rom
AcoustiX_Audio_ZeroInfinity_v30
ElementalX-HTC10-0.25-Sense (Plus $3.00 EX Kernal Manager Paypal)
Tweaked_pnp_thermal_ivicask_v19

Related

Help: Bricked Htc one M8 GPe

Hello everyone, I started to play around with all the diff things you can do with a rooted phone had plans for getting a custom ROM for my phone. Let me stat by saying that I am very new to all this.
I day ago i was getting ready to install the custom ROM for viper (ViperOneM8_1.7.1) reason being is coming from a htc one m7 with sense i wanted to get back to sense from my stock GPe m8.
I was able to unlock my bootloader and get my phone rooted I fallowed this video (How to Root your HTC One M8 - Full Guide) From Sakitech... or least I think im rooted still... I'll come back to you as to why I say "I think I'm rooted".
I thought it would be very simple just fire up the custom recovery and flash the ROM and sit back while it flashed, well everything went down hill from this point. Let me tell you what i did.
First i got to the custom recovery and I did a wipe I did advanced wipe and checked the boxes this is where I think I deleted the OS(after this I could not get back on the phone to do anything only will boot to recovery and it say no OS installed then asks if I want to get SuperSU installed this is where I already thought I was rooted but maybe on not??? I'm very confused about that
Then I used the sideload method to push the rom zip and try to flash the rom at this point I cant get it to flash. First I was getting the MD5 error I checked that off now it will just fail either saying error executing the binary from the zip or that zip is corrupted. (I tried re-downloading the ROM even from mirror link)
At this point I am very frustrated and feel helpless. I tried my best to keep from posting this and try to research to see if i can find the solution myself but I'm having no luck I have my days off from work to get my phone up and running or ill just have to go but another phone. At this point I really need some help. All I want is a working phone if i can get back to GPe stock that would be fine or make the ViperOne work.
Attempts to solve my problem: I tried flashing GPE4.4.3_m8.zip and other stock GPe ROMs nothing works
Thanks for reading and all your help I will sit nest to my comp and answer anything to try make everything as clear as possible. Thank you again
So I tried ViperOne again and it was starting to install but then fails. I searched around and I found that i need to have s-off to be able to install the ROM.
Can I get s-off from the recovery or bootloader/fastboot?
Demonwarrior said:
So I tried ViperOne again and it was starting to install but then fails. I searched around and I found that i need to have s-off to be able to install the ROM.
Can I get s-off from the recovery or bootloader/fastboot?
Click to expand...
Click to collapse
no offense, buy you need to read before you continue anything else.
rbouza1 said:
no offense, buy you need to read before you continue anything else.
Click to expand...
Click to collapse
None taken, I appreciate the reply and I will continue to do more research. Do you have any info I could use?
Demonwarrior said:
None taken, I appreciate the reply and I will continue to do more research. Do you have any info I could use?
Click to expand...
Click to collapse
Try this :
Do a full wipe in the recovery, install viper rom but do not choose to do a full wipe in the aroma installer. Once finished you flash the boot.img via fastboot and then reboot the phone.
You do not need s-off to flash custom roms. But the GPE thingy can be the problem....
Mr Hofs said:
Try this :
Do a full wipe in the recovery, install viper rom but do not choose to do a full wipe in the aroma installer. Once finished you flash the boot.img via fastboot and then reboot the phone.
You do not need s-off to flash custom roms. But the GPE thingy can be the problem....
Click to expand...
Click to collapse
I got the boot img from the ViperOne zip and ran the rom through sideload. what command do i run to flash the boot.img?
Code:
fastboot flash boot.img
?
also the ViperOne install failed said status 7 and some synlinks failed
Demonwarrior said:
I got the boot img from the ViperOne zip and ran the rom through sideload. what command do i run to flash the boot.img?
Code:
fastboot flash boot.img
?
also the ViperOne install failed said status 7 and some synlinks failed
Click to expand...
Click to collapse
fastboot flash img boot.img
---------- Post added at 06:28 PM ---------- Previous post was at 06:25 PM ----------
try that command, and what model did you have originally and did you convert to gpe or flash a gpe ROM.
gave me an error
Code:
FAILED (remote: signature verify fail)
Its a stock Google play edition I bought from the Google paly store, I didnt flash any other rom the ViperOne rom was going to be the first flash on the phone
Do you have an SD reader on your laptop? You can buy a big SD that you can put a small SD card inside it, then put the ROM zip file inside the SD card, after that plug it in your M8 and flash it via twrp.
Let me know if you couldn't understand any point cuz my English is not that good.
iHagbani said:
Do you have an SD reader on your laptop? You can buy a big SD that you can put a small SD card inside it, then put the ROM zip file inside the SD card, after that plug it in your M8 and flash it via twrp.
Let me know if you couldn't understand any point cuz my English is not that good.
Click to expand...
Click to collapse
I know how to push the rom trough adb to flash it thats not the problem the problem is that i cant get it to install properly. Thanks for the reply though i appreciate it.
Demonwarrior said:
I got the boot img from the ViperOne zip and ran the rom through sideload. what command do i run to flash the boot.img?
Code:
fastboot flash boot.img
?
also the ViperOne install failed said status 7 and some synlinks failed
Click to expand...
Click to collapse
Correct command is fastboot flash boot boot.img
status 7 means you don't have right recovery for that ROM
Also search about Stock GPE partition layout, is it same as normal non-GPE. I doubt it as I seen somewhere about people do full conversion to GPE, they need to reflash firmware to correct the partition for Sense ROM. This is what I understand from this thread : http://forum.xda-developers.com/showthread.php?t=2708589
ckpv5 said:
Correct command is fastboot flash boot boot.img
status 7 means you don't have right recovery for that ROM
Also search about Stock GPE partition layout, is it same as normal non-GPE. I doubt it as I seen somewhere about people do full conversion to GPE, they need to reflash firmware to correct the partition for Sense ROM. This is what I understand from this thread : http://forum.xda-developers.com/showthread.php?t=2708589
Click to expand...
Click to collapse
I have researched about the partition layout and I think you are right. How do i get the right partition layout? this is all a learning experience for me lol. I just hope i can get my phone working again.
In thats case then i might be worse off then i though my phone is s-on an there is no way for me to get it s-off in its current bricked state... to the the Ruu to install
correct me if im wrong but then what i have to do is just flash the stock rom for gpe beacuse since my phone was already stock GPe the the frieware(partition layout) will apcct it... right?
I want to thank everyone at the this point it looks like i have a lot of learning to do. Thank you
Demonwarrior said:
I know how to push the rom trough adb to flash it thats not the problem the problem is that i cant get it to install properly. Thanks for the reply though i appreciate it.
Click to expand...
Click to collapse
I know, but I told you this way in case that the adb didn't flash the whole zip file!
Demonwarrior said:
I have researched about the partition layout and I think you are right. How do i get the right partition layout? this is all a learning experience for me lol. I just hope i can get my phone working again.
In thats case then i might be worse off then i though my phone is s-on an there is no way for me to get it s-off in its current bricked state... to the the Ruu to install
correct me if im wrong but then what i have to do is just flash the stock rom for gpe beacuse since my phone was already stock GPe the the frieware(partition layout) will apcct it... right?
I want to thank everyone at the this point it looks like i have a lot of learning to do. Thank you
Click to expand...
Click to collapse
Follow the link in the post you quoted:
http://forum.xda-developers.com/showthread.php?t=2708589
You should really read carefully before doing stuff with your phone, especially when you are unexperienced.
If you are unsure about anything, ask before you try messing with something and hope that it will work.
You didnt, and now you have the mess.
But now even now you are not able to follow the instructions people are giving you.
In the post you just quoted there are instructions how to go from GPE to Sense and also back (#1 and #2 post)
j to the 4n said:
Follow the link in the post you quoted:
http://forum.xda-developers.com/showthread.php?t=2708589
You should really read carefully before doing stuff with your phone, especially when you are unexperienced.
If you are unsure about anything, ask before you try messing with something and hope that it will work.
You didnt, and now you have the mess.
But now even now you are not able to follow the instructions people are giving you.
In the post you just quoted there are instructions how to go from GPE to Sense and also back (#1 and #2 post)
Click to expand...
Click to collapse
I tried the instruction on the thread it didnt work... I think its because i have s-on
Code:
C:\Users\owner\Desktop\htc one\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.058s]
finished. total time: 0.061s
C:\Users\owner\Desktop\htc one\platform-tools>fastboot flash zip RUU-HTC_One_M8_
GPE_4.4.4-2.12.1700.1_rooted.zip
target reported max download size of 1830617088 bytes
sending 'zip' (569179 KB)...
OKAY [ 19.483s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 19.846s
C:\Users\owner\Desktop\htc one\platform-tools>fastboot flash zip RUU-HTC_One_M8_
GPE_4.4.4-2.12.1700.1_rooted.zip
target reported max download size of 1830617088 bytes
sending 'zip' (569179 KB)...
OKAY [ 19.484s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 19.665s
C:\Users\owner\Desktop\htc one\platform-tools>fastboot flash zip RUU-HTC_One_M8_
GPE_4.4.4-2.12.1700.1_rooted.zip
target reported max download size of 1830617088 bytes
sending 'zip' (569179 KB)...
OKAY [ 19.479s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 19.662s
C:\Users\owner\Desktop\htc one\platform-tools>fastboot flash zip RUU-HTC_One_M8_
GPE_4.4.4-2.12.1700.1_rooted.zip
target reported max download size of 1830617088 bytes
sending 'zip' (569179 KB)...
OKAY [ 19.478s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 19.661s
C:\Users\owner\Desktop\htc one\platform-tools>fastboot flash zip RUU-HTC_One_M8_
GPE_4.4.4-2.12.1700.1_rooted.zip
target reported max download size of 1830617088 bytes
sending 'zip' (569179 KB)...
OKAY [ 19.458s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 19.641s
C:\Users\owner\Desktop\htc one\platform-tools>
C:\Users\owner\Desktop\htc one\platform-tools>fastboot flash zip RUU-HTC_One_M8_
GPE_4.4.4-2.12.1700.1_rooted.zip
target reported max download size of 1830617088 bytes
sending 'zip' (569179 KB)...
OKAY [ 19.470s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 19.650s
C:\Users\owner\Desktop\htc one\platform-tools>
The post says to try it a few times but still giving me the say error

failed to update marsgmallow OTA

hi
i am asking for your help guys as always
i have htc one m9 original stock rom, , s-on, rooted , CUSTOM TWRP RECOVERY. UNLOCKED BOOT LOADER
and my phone info is as this :
kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei: 3572260xxxxxxxx
(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__J15
My problem is: i can't update my m9 to the latest OTA marshmallow
recently, i received an OTA update marshmallow 6 ( part 1/2 )
version of OTA received is 2.10.401.108
to flash a stock recovery, i extracted the OTA zip file, and extracted its content firmware.zip to get the stock recovery, i fount 2 recoveies, 1) recovery.img 2 ) recovery_signed.img.
is this the right way to have the correct stock recovery ?
anyway, i flashed these 2 recoveries in order to update the new OTA, but no one succeeded, and i got this message on download mode ( attached pic )
is the problem because of incorrect stock recovery ?
how do i get a proper one ?
i tried also this
https://docs.google.com/spreadsheets/d/1ZaiJ3F_f76sVa4daU5H62OYi5Bj23LEBBv4xDTQ8y-M/pubhtml
but didn't know which one to take exactly.
also, i tried to give it another shot, i renamed the OTA fzip file to 0PJAIMG.ZIP
and copied this file on both ext_sd & internal sd
but no luck.
please help
The problem is that your system partition is modified because you add su and related files for rooting. You must have an untouched system partition and restored in read only mode to prevent any modifications.
So you need to flash twrp again, restore an original untouched system partition, flash stock recovery and apply OTA.
Yea what he said.. System must be as stock and completely untouched. All evidence of root must be undone to get OTA.
Sent from my HTC One M9 using Tapatalk
i see
so i have to unroot first ?
how do i restore an original untouched system partition, if i didn't backup my system !!
hello
Check flippys Google sheet in his thread.
A donated clean image may be there for your SKU and device version...
If not....you may need to RUU back to complete stock and take the OTA that way...g
+1, The only way if you haven't a clean system image ( take a time to read the post2 of Twrp thread) is to flash a Ruu.
It's a "new" Google limitation...
To flash the stock recovery you just need to get the stock recovery for 2.10.401.1 , flash like any other recovery, so with the command fastboot flash recovery *name of recovery*.img in download mode. It should work fine, but do that after you got complete stock system back up which is untouched. Just wipe system and restore the untouched, flash in download mode the stock recovery and you should be good to go
Gesendet von meinem HTC One M9 mit Tapatalk
i found this
http://www.htc.com/us/support/htc-one-m9/news/
if i downloaded this RUU, will it work on my device ? or it is only for USA ?
instead of downloading old RUU, then update to android 6, this will do the thing right ?
can anyone help me pls ?
also found this
http://androidruu.com/?developer=M9
i dont know which one to download, as there is 4 files for Europe
my OTA file name was:
OTA_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.180-2.10.401.1_release_464143
can any one help me of any of these links work on my phone ?
or at least, suggest me old ORIGINAL RUU to install, then i will take OTA
also, found this
http://forum.xda-developers.com/one...-1-40-401-5-android-5-0-t3122946/post61540143
i don't know which one to install !
as there is 3 MD5 files.
please help i am getting too much confused.
osamaxosama said:
also found this
http://androidruu.com/?developer=M9
i dont know which one to download, as there is 4 files for Europe
my OTA file name was:
OTA_HIMA_UHL_L51_SENSE70_MR_HTC_Europe_2.10.401.180-2.10.401.1_release_464143
can any one help me of any of these links work on my phone ?
or at least, suggest me old ORIGINAL RUU to install, then i will take OTA
Click to expand...
Click to collapse
there is no latest RUU for 2.10.401.1
DeeZZ_NuuZZ said:
there is no latest RUU for 2.10.401.1
Click to expand...
Click to collapse
Actually there is one. But there are no Android M RUUs, yet.
Flippy498 said:
Actually there is one. But there are no Android M RUUs, yet.
Click to expand...
Click to collapse
totally forgot that there are new zips not .exe ;D
Flippy498 said:
Actually there is one. But there are no Android M RUUs, yet.
Click to expand...
Click to collapse
thanks
i will download that zip file
and try to flash it
hima ul ruu to hima uhl
is there anyway i can make the hima ul ruu to run on a hima uhl? thanks in advance
Flippy498 said:
Actually there is one. But there are no Android M RUUs, yet.
Click to expand...
Click to collapse
i tried
fastboot oem rebootRUU
fastboot flash zip rom.zip
and that what i got
fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (83765 KB)...
OKAY [ 5.870s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_m
(bootloader) Tsw4s
(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) ERR ZIP signature checking failed...
(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: 10.342s
osamaxosama said:
i tried
fastboot oem rebootRUU
fastboot flash zip rom.zip
and that what i got
fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
sending sparse 'zip' (83765 KB)...
OKAY [ 5.870s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_m
(bootloader) Tsw4s
(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) ERR ZIP signature checking failed...
(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: 10.342s
Click to expand...
Click to collapse
at first be on complete stock rom, i mean stock recovery and system img is restored to stock one from twrp with backup.
then you need to use the exact naming of the zip...like i said everything else have to be on stock settings... no custom recovery, no custom kernel yea everything else stock
I find myself in the same situation and followed all the steps described here...
The results are either Status 7 or Remote 14 or Remote 9
I had a original backup of the system img, restored via twrp, then flashed a signed stock recovery (S-ON), ensured i'm not rooted or modified. The result is always the same...
Maybe i am doing something wrong ?
LE: Managed to get a non corrupted archive (that was causing remote 14 or 9), now i get remote 99 all the time, no matter what i try

Phone won't get pass boot screen will go to boot loaderrevv

I tried rooting my phone now it will not get pass the loading screen. I tried to flash the stock ruu but I get errors
I have pictures but not aloud to post yet. But on my phone it says
Software status modified
Unlocked
S-on
.
When I try to flash the ruu zip I get
C:\Users\KJ\Desktop\platform-tools>fastboot flash zip rom.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2330284468 is not a multiple of
the block size 4096
sending sparse 'zip' 1/1 (0 KB)...
error: write_sparse_skip_chunk: don't care size 2330284468 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 2330284468 is not a multiple of
the block size 4096
OKAY [ 1.065s]
writing 'zip' 1/1...
(bootloader) HOSD CL#695981
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_q
(bootloader) LrXHZ
FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap )
finished. total time: 2.142s
Hi,
you could try using the htc_fastboot from here:
https://www.androidfilehost.com/?fid=24421527759880682
----------
(from thread http://forum.xda-developers.com/ver...arshmallow-t3316279/post65365561#post65365561 )
If your current fastboot isn't working/throws errors, please use the HTC fastboot in the zip below:
https://www.androidfilehost.com/?fid=24421527759880682 (htc_fastboot.zip)
Replace existing commands with the HTC_fastboot prefix.
So for example, instead of:
Code:
fastboot flash zip firmware.zip
You would do this instead:
Code:
HTC_fastboot flash zip firmware.zip
You are amazing I just tried and it worked !!!!! You are heavensent.
Now one last question do I have to redo the recovery and everything to get a custom Rom?
I just went through the process of installing the custom Rom again and now my phone constantly boot loops with the message " this build is for development purposes only..." it was the newest version of supersu
Kj_gotem said:
I just went through the process of installing the custom Rom again and now my phone constantly boot loops with the message " this build is for development purposes only..." it was the newest version of supersu
Click to expand...
Click to collapse
I'm glad it worked
You need to look for an older version of SuperSU.... 2.64 or 2.65
edit: I'm pretty sure this one works

Bricked M9, Impossible to flash any firmware? Any suggestion?

This is my device situation so far:
Bottloader: LOCKED
Oem Unlocked: NO (Can't flash any recovery)
Security: S-ON
Main version: 3.36.709.9
CID: HTC__621
Recovery: STOCK
Impossible to boot into OS even after wiping data through recovery.
When trying to flash OTA zip corresponding to the same main version or higher I always get Error 22. I've tried SDCard method, adb sideload and flashing zip through fastboot (rebootRUU, flash zip, etc).
Is there any other way to flash an official firmware for this device? It'd be great to have an official RUU for my version or higher. Or maybe some software from HTC to "restore upgrade errors"?
Thanks in advance!
Check the md5 hash of the file you downloaded and cross reference it on Google. You need to make sure the file you have is complete.
Beamed in by telepathy.
Monrad said:
This is my device situation so far:
Bottloader: LOCKED
Oem Unlocked: NO (Can't flash any recovery)
Security: S-ON
Main version: 3.36.709.9
CID: HTC__621
Recovery: STOCK
Impossible to boot into OS even after wiping data through recovery.
When trying to flash OTA zip corresponding to the same main version or higher I always get Error 22. I've tried SDCard method, adb sideload and flashing zip through fastboot (rebootRUU, flash zip, etc).
Is there any other way to flash an official firmware for this device? It'd be great to have an official RUU for my version or higher. Or maybe some software from HTC to "restore upgrade errors"?
Thanks in advance!
Click to expand...
Click to collapse
What firmware are you attempting to flash? Recall that the final number in the RUU (xx.xx.xx.yy) does not have to match your phone's OS version.
The 709 SKU has a compatible RUU available in the readme thread (3.36.709.3). Since the file is hosted on Android File Host, the MD5 is posted there (look under download information). On your computer, you can install a MD5 checker (I use File Hasher) to verify that they match.
computerslayer said:
What firmware are you attempting to flash? Recall that the final number in the RUU (xx.xx.xx.yy) does not have to match your phone's OS version.
The 709 SKU has a compatible RUU available in the readme thread (3.36.709.3). Since the file is hosted on Android File Host, the MD5 is posted there (look under download information). On your computer, you can install a MD5 checker (I use File Hasher) to verify that they match.
Click to expand...
Click to collapse
I've tried that file, hash is ok but file will not get flashed. This is the log:
Code:
fastboot flash zip 0PJAIMG_HIMA_UHL_L50_SENSE70_hTC_Asia_TW_1.40.709.4_Radio_01.02_U11440261_60.03.50505G_F_release_431851_signed.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2322433715 is not a multiple of the block size 4096
sending sparse 'zip' 1/1 (0 KB)...
error: write_sparse_skip_chunk: don't care size 2322433715 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2322433715 is not a multiple of the block size 4096
OKAY [ 1.031s]
writing 'zip' 1/1...
(bootloader) HOSD CL#676746
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_m
(bootloader) ar4HL
FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap )
finished. total time: 2.083s
I downloaded the file more than 4 times and it's always the same result.
I'm downloading another fastboot version because maybe the one I'm using is not compatible.
Same problem with htc fastboot...
Code:
htc_fastboot.exe flash zip 0PJAIMG_HIMA_UHL_L50_SENSE70_hTC_Asia_TW_1.40.709.4_Radio_01.02_U11440261_60.03.50505G_F_release_431851_signed.zip
htc_fastboot v3.0.9.2 (2015-05-29)
found large-zip header, file count: 7
processing file 1/7...
sending 'zip' (261353 KB)...
OKAY [ 15.207s]
writing 'zip'...
(bootloader) HOSD CL#676746
(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 RU_MAIN_VER_FAIL os-version in android-info missing or i)
finished. total time: 23.551s
htc_fastboot finished. total time: 43.310s
EDIT: I've beenf lashing the wrong image, I'll try with the right one, sorry!
EDIT: it worked, problem was fastboot version!!! Use HTC FASTBOOT and everyithing is fine Thanks! You've inspired me into the solution

htc m9

Hallo good people. I am very new here. Irecently obtained an m9u from a friend. Apps keep stopping unexpectedly and accessing google servers seems to be a problem too. I took it to a technician but he couldnt help as the Australian software he installed is even worse. I decided ti flash on my own but i am getting an error 'invalid sparse file format at header magi'
Followed by something like 'couldnt read header len' Anyone who can help? Thanks
Have you gone through the readme thread?
I have only searched for related threads but wasn't lucky to find a solution to my problem
Boot in download and do "fastboot getvar all" and post here the result(remove your imei,sn...)
lucyr03 said:
Boot in download and do "fastboot getvar all" and post here the result(remove your imei,sn...)
Click to expand...
Click to collapse
D:\fastboot-win>fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 3.38.841.6
(bootloader) boot-mode: download
(bootloader) version-baseband: 01.01_U11440801_96.01.51207G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: 11111111
all:
finished. total time: 0.011s
Because of SuperCID I assume you have S-OFF too.
I recommend you to install the international ruu, but first change supercid(11111111) to a normal cid(HTC__032 for international).
Then you need to flash a nougat(4.xx.xxx.xx) firmware because you can't flash nougat ruu on marshmallow firmware(3.xx.xxx.xx).
After that you can flash the nougat ruu.
Links:
Nougat firmware: https://androidfilehost.com/?fid=817550096634760161
Nougat RUU: https://androidfilehost.com/?fid=961840155545567615
lucyr03 said:
Because of SuperCID I assume you have S-OFF too.
I recommend you to install the international ruu, but first change supercid(11111111) to a normal cid(HTC__032 for international).
Then you need to flash a nougat(4.xx.xxx.xx) firmware because you can't flash nougat ruu on marshmallow firmware(3.xx.xxx.xx).
After that you can flash the nougat ruu.
Links:
Nougat firmware: https://androidfilehost.com/?fid=817550096634760161
Nougat RUU: https://androidfilehost.com/?fid=961840155545567615
Click to expand...
Click to collapse
Thanks alot for the assistance. My phone is S-OFF but i will have to follow the procedures a step at a time because i am not good at tech. I hope things will work out fine.
mikkei said:
Thanks alot for the assistance. My phone is S-OFF but i will have to follow the procedures a step at a time because i am not good at tech. I hope things will work out fine.
Click to expand...
Click to collapse
You could find all informations you need in ReadMe thread.
lucyr03 said:
You could find all informations you need in ReadMe thread.
Click to expand...
Click to collapse
Thanks again. I will go through the thread, your guidance is highly appreciated
still unable to flash the RUU. Did relock the bootloader not sure whether it could be the cause
D:\adb>fastboot flash zip software.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2164446778 is not a multiple of
the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2164446778 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 2164446778 is not a multiple of
the block size 4096
OKAY [ 1.058s]
writing 'zip'...
(bootloader) HOSD CL#869604
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_D
(bootloader) R2MQ3
(bootloader) ERR preload central directory info failed (EOCD).
FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap with original ret: 0)
finished. total time: 2.110s
mikkei said:
still unable to flash the RUU. Did relock the bootloader not sure whether it could be the cause
D:\adb>fastboot flash zip software.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2164446778 is not a multiple of
the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2164446778 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 2164446778 is not a multiple of
the block size 4096
OKAY [ 1.058s]
writing 'zip'...
(bootloader) HOSD CL#869604
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_D
(bootloader) R2MQ3
(bootloader) ERR preload central directory info failed (EOCD).
FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap with original ret: 0)
finished. total time: 2.110s
Click to expand...
Click to collapse
You don't need to relock your bootloader when S-OFF.
With the fastboot method you need do do this command frist: fastboot oem rebootRUU
I recommend sdcard method anyway, the fastboot can fail if you don't have the correct htc_fastboot.exe
lucyr03 said:
You don't need to relock your bootloader when S-OFF.
With the fastboot method you need do do this command frist: fastboot oem rebootRUU
I recommend sdcard method anyway, the fastboot can fail if you don't have the correct htc_fastboot.exe
Click to expand...
Click to collapse
Thanks for your quick reply. I had done that command already. Guess the problem is that I don't have correct htc_fastboot. Have to try sd method now
lucyr03 said:
You don't need to relock your bootloader when S-OFF.
With the fastboot method you need do do this command frist: fastboot oem rebootRUU
Click to expand...
Click to collapse
That only applies to HTC devices that are older than the M9. On the M9 you don't need to relock at all for RUUs. And the download mode accepts RUUs via htc_fastboot, as well. It even gives you a more detailed output about the flashing process of the single files inside the RUU than the RUU mode.
Flippy498 said:
That only applies to HTC devices that are older than the M9. On the M9 you don't need to relock at all for RUUs. And the download mode accepts RUUs via htc_fastboot, as well. It even gives you a more detailed output about the flashing process of the single files inside the RUU than the RUU mode.
Click to expand...
Click to collapse
I encountered errors with custom RUUs(not signed) in download mode, that's the cause I told him to flash from RUU mode.
EDIT: Off-topic: I saw in your signature that you are using ViperOneM9 rom, what kernel are you using and how's battery life, if you have some time could you PM me please? I have few questions
Flippy498 said:
That only applies to HTC devices that are older than the M9. On the M9 you don't need to relock at all for RUUs. And the download mode accepts RUUs via htc_fastboot, as well. It even gives you a more detailed output about the flashing process of the single files inside the RUU than the RUU mode.
Click to expand...
Click to collapse
Thanks for the clarification. If you can please give me a link to the correct htc_fastboot.
They're linked in one of the first posts of the ReadMe thread.
Flippy498 said:
They're linked in one of the first posts of the ReadMe thread.
Click to expand...
Click to collapse
Okay. Thanks
Thanks all for your help I was finally able to flash my phone, unfortunately apps are still stopping unexpectedly so i suspect it could be a hardware issue. Right now the digitizer doesn't work, volume buttons don't work too neither can i use a mouse so I have to wait for the device to run out of power. I think its time to buy a new phone I can't keep bothering people here. All the best team developers!
mikkei said:
Thanks all for your help I was finally able to flash my phone, unfortunately apps are still stopping unexpectedly so i suspect it could be a hardware issue. Right now the digitizer doesn't work, volume buttons don't work too neither can i use a mouse so I have to wait for the device to run out of power. I think its time to buy a new phone I can't keep bothering people here. All the best team developers!
Click to expand...
Click to collapse
Hmm, that's strange, can you flash a twrp and see if the digitizer is working?
Sent from my HTC One M9 using Tapatalk
lucyr03 said:
Hmm, that's strange, can you flash a twrp and see if the digitizer is working?
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
It actually worked for some time after flashing the RUU but later everything started misbehahing just like before. The problem is that i can not power off so no way to boot download mode. ADB does not recognise my device since i cannot unlock it.

Categories

Resources