[HELP] AUS/Optus Model - Deleted OS - One (M9) Q&A, Help & Troubleshooting

This is probably the dumbest thing I have to date :C
At the start of last year I rooted my device and unlocked it, fast forward to the start of this week I tried updating my device but it kept on launching TWRP, so I decided to factory reset it.
However I was a big spud and used advanced wipe - and now the phone will boot straight to the bootloader.
Before I post anything else here is the getvar from download mode.
Code:
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) version-main: 2.9.710.2
(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: OPTUS001
The device is currently in s-on, and I can't remember if it was ever in s-off because it was a long time ago when I rooted it.
I have tried flashing a custom rom with no success, and just recently I have downloaded and tried to flash "0PJAIMG_HIMA_UHL_L50_SENSE70_hTC_Asia_AUS_1.32.710.16_Radio_01.01_U11440261_56.02.50306G_2_F_release_427214_signed.zip"
This is the error I receive while trying to flash the device in fastboot.
Code:
C:\adb>fastboot oem rebootRUU
...
OKAY [ 0.017s]
finished. total time: 0.018s
C:\adb>fastboot flash zip 0PJAIMG.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 2128996130 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2128996130 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2128996130 is not a multiple of the block size 4096
OKAY [ 1.013s]
writing 'zip'...
(bootloader) HOSD CL#573756
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_n
(bootloader) A2AxZ
FAILED (remote: 99: SD_UNKNOWN_FAIL to flash via downloadzip)
finished. total time: 2.048s
I don't have any backups of any sort - basically I just want to be able to get this phone running back on stock and leave it at that.
Does anyone have any ideas of how I can fix this? My phone has been broken for 3 days and I've wasted a lot of time downloading roms that won't flash (takes a while to download on my crappy ADSL connection).
I should also note I do not have an external SD card, hoping to do it without buying one.
Thanks heaps.

Please read the ReadMe thread. Its RUU section explains why you can't flash the RUU that you mentioned in your OP and why flashing M9 RUUs in general fails if you use fastboot.
After you downloaded the correct files you can try to flash a RUU with the modified fastboot instead of using an SD card. Troubleshooting tips can be found in the FAQ of the same thread. Be aware, that using an SD card is the recommended method since many users aren't able to set up a fastboot environment correctly and using an SD card is less time-consuming than trying to find the user error that prevents fastboot from working correctly.

Related

Can't Flash TWRP "Signature Verify Fail"

This is an ATT version phone I rooted this phone a couple of days ago with TWRP. However, I had to use adb to enter fastboot as it would not go to fastboot using power/volume keys. Actually, it never shows a fastboot screen, even in adb, so it may have been going into fastboot all along and I just could not see it.
So, instead of leaving well enough alone, I RUU'ed (newest ATT version from HTC site) it to try to get fastboot to work normally (it still works, I just can't see it on screen). Now, I can't get rooted again. FWIW, I did make a backup with TWRP before RUU'ed. Regardless, there is nothing on this phone I need to keep, I just want to root it before I start using it.
Any help is greatly appreciated...
Here is my unlock sequence. Note what happens if I try to flash TWRP immediately after unlock. I have to CTRL C and Reboot phone.
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash unlockt
oken unlock_code.bin
target reported max download size of 1826414592 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.110s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.012s]
finished. total time: 0.125s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash recover
twrp30m8.img
^C
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb reboot bootloader
Now when I try to flash TWRP, I get :
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash recover
twrp30m8.img
target reported max download size of 1826414592 bytes
sending 'recover' (20022 KB)...
OKAY [ 1.884s]
writing 'recover'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.611s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: [email protected]
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.28.502.2
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul_ca
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B12000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 7f8e91a3
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.089s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot devices
HT445####### fastboot
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot reboot
rebooting...
finished. total time: 0.013s
Fastboot flash recover is wrong, it should be :
Fastboot flash recovery < see the Y there.
Mr Hofs said:
Fastboot flash recover is wrong, it should be :
Fastboot flash recovery < see the Y there.
Click to expand...
Click to collapse
Same Results:
C:\s>fastboot flash recovery twrpm8.img
target reported max download size of 1826414592 bytes
sending 'recovery' (14818 KB)...
OKAY [ 1.438s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 1.976s
C:\s>
C:\s>fastboot flash recovery twrp30m8
error: cannot load 'twrp30m8'
C:\s>fastboot flash recovery twrp30m8.img
target reported max download size of 1826414592 bytes
sending 'recovery' (20022 KB)...
OKAY [ 1.889s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.616s
C:\s>
Bad download then, see how the sizes of the file are different when you flash it again. At least the command is correct now. Re-download the recovery file and try again.
Mr Hofs said:
Bad download then, see how the sizes of the file are different when you flash it again. At least the command is correct now. Re-download the recovery file and try again.
Click to expand...
Click to collapse
Already tried that, but tried again. First below is my result before I downloaded new twrp and the second one is my result after I re-downloaded image
C:\s>fastboot flash recovery twrp.img
target reported max download size of 1826414592 bytes
sending 'recovery' (20022 KB)...
OKAY [ 1.896s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.625s
C:\s>fastboot flash recovery twrp.img
target reported max download size of 1826414592 bytes
sending 'recovery' (20022 KB)...
OKAY [ 1.899s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.625s
C:\s>
Try the HTC_fastboot adb package. It's posted several times here on xda.
Mr Hofs said:
Try the HTC_fastboot adb package. It's posted several times here on xda.
Click to expand...
Click to collapse
Still no luck, same error (see below). This worked flawless before I flashed the latest ATT RUU.
Is it possible phone is still not unlocked or would I be getting that far if it was still locked?
Question. This phone is AT&T (more details in getvar above) but at the end of the contract, AT&T sent me code to unlock the SIM. Now, the SIM I am using is on a T-Mobile MVNO (TING). Since they SIM unlocked the phone, would I be able to and would there be any advantage/risk to trying to flash the Stock RUU for HTC unlocked/developer. It is a higher software version than the ATT version I flashed (twice).
C:\FB>htc_fastboot flash recovery twrp.img
sending 'recovery' (20022 KB)... OKAY
writing 'recovery'... (bootloader) signature checking...
FAILsignature verify fail
FAILED (remote: signature verify fail)
Execution time is 3(s)
Any other ideas? I can't see bootloader screen, but it appears I can access and do all bootloader functions in adb.
I would really like to be able to eliminate locked bootloader as the issue, is there anything else I can flash or try that might let me know if bootloader is still locked. I can get results from getvar and fastboot devices.
I also have an image of the phone saved from TWRP before I flashed the RUU, but seems no way to get that image back. I am not opposed to purchasing S-off if that will for sure help me.
Try to flash a lower version of TWRP and see if that helps: https://dl.twrp.me/m8/twrp-2.8.7.0-m8.img.html
joikep said:
Try to flash a lower version of TWRP and see if that helps: https://dl.twrp.me/m8/twrp-2.8.7.0-m8.img.html
Click to expand...
Click to collapse
Already tried two previous versions
rockfordpi said:
Already tried two previous versions
Click to expand...
Click to collapse
OK, lets try this a different way. IF one were to try to flash TWRP to M8 AND the bootloader was NOT UNLOCKED, what error message would one get?
Would there still be a response from adb getvar and fastboot devices IF the bootloader were locked?
Trying to eliminate potential issues one at a time
Is there a more appropriate forum for me to post the question?
rockfordpi said:
OK, lets try this a different way. IF one were to try to flash TWRP to M8 AND the bootloader was NOT UNLOCKED, what error message would one get?
Would there still be a response from adb getvar and fastboot devices IF the bootloader were locked?
Trying to eliminate potential issues one at a time
Is there a more appropriate forum for me to post the question?
Click to expand...
Click to collapse
OK, we can close this one out. I did want to post my solution, just in case anyone else had a similar error.
Long Story a little bit shorter, on my HTC one M8, the error:
sending 'recovery' (11976 KB)... OKAY
writing 'recovery'... (bootloader) signature checking...
FAILsignature verify fail
FAILED (remote: signature verify fail)
Was due to a locked bootloader. Because, for some reason I can't see the bootloader on my phone, I could not see the lock status, so I was having to do EVERYTHING via ADB. The problem was, when unlocking the bootloader there is screen on the phone that asks you to confirm yes or no if you want to unlock it. I could not see that screen and the instructions I was reading left that out (It was a good assumption that if one was trying to unlock one would know to say YES. LOL). So, I was missing that step. When I found that step, even though I could not see it on screen, I just blindly pushed volume down and then power to select. At that point it unlocked and allowed me to flash twrp 3.0.
Still do not know WHY I can't see the bootloader screen. I wonder if for some reason the colors are off in my bootloader screen and all the words are the same color as the background or it is trying to redirect that output somewhere else.
but at this point I am going to live with it as trying to fix it is what got me in here in the first place.
Hi,
I have the same problem phne always reboot in fastboot menu.
The status is also RELOCKED after fashing stock ROM RUU_M8_UL_M60_SENSE70_ATT_MR_Cingular_US_6.20.502.5_combined.exe
But I'm not able to user adb : device not found.
Fastboot seems working but not adb
Someone have an idea to help me ?
Many thanks
foosee said:
Hi,
I have the same problem phne always reboot in fastboot menu.
Click to expand...
Click to collapse
The top post is in regards to getting signature verify fail message when flashing custom recovery. So I don't see how it's the "same problem".
Be careful about saying "same problem" without giving any specific information about your actual problem, or device details. From my experience, I've seen many dozens of times where folks say they have the "same problem" and when prompted for more info, we find there are many many differences.
foosee said:
Hi,
I have the same problem phne always reboot in fastboot menu.
The status is also RELOCKED after fashing stock ROM
RUU_M8_UL_M60_SENSE70_ATT_MR_Cingular_US_6.20.502.5_combined.exe
Click to expand...
Click to collapse
Did the RUU flash successfully, or were there any error messages?
Also, please do fastboot getvar all, and post the results (delete IMEI and serial number before posting) so we can see more info about the phone.
foosee said:
But I'm not able to user adb : device not found.
Fastboot seems working but not adb
Click to expand...
Click to collapse
This is normal and expected. You can't use adb when in bootloader. And you can't use fastboot and adb simultaneously. Meaning, when one works, the other will not work, by definition.
Fastboot = only works in bootloader fastboot mode
adb = only works within OS, or alternately will work in custom recovery TWRP
If you issue the command fastboot devices, you should find that it works.
It is also not clear what you are trying to use adb to do (what commands?).

Htc one m9 help!!!

Iv been running ViperOne M9 for awhile but now i want to go back to stock, however i cannot find the correct rom for my device.
im quite a noob at this but if you can help please do so.
My "fastboot getvar all" Information:
C:\adb>fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) version-main: 2.10.206.2
(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: O2___001
all:
finished. total time: 0.019s
please help its urgant!
CurseGraphics said:
please help its urgant!
Click to expand...
Click to collapse
https://www.androidfilehost.com/?fid=24421527759889318
Download this and rename it 0PJAIMG.zip. Copy to and SDcard. Put the SDcard in your M9 and reboot to download mode.
Download mode should automatically detect the ruu and prompt you to install it.
When it's done you should be back to stock and also will be updated. :good:
Sent from my SM-T230 using Tapatalk
am i able to copy it to the M9 internal storage as i dont have an SDcard?
CurseGraphics said:
am i able to copy it to the M9 internal storage as i dont have an SDcard?
Click to expand...
Click to collapse
Sadly, no.
RUUs wipe internal storage, so they must be put on the SD card.
ok ill buy an SDcard and report back if i have any issues thanks for the help.
CurseGraphics said:
ok ill buy an SDcard and report back if i have any issues thanks for the help.
Click to expand...
Click to collapse
You could flash it with fastboot if you know what your doing, but much easier to do it with an SD-card
Sent from my HTC One M9 using Tapatalk
Danny201281 said:
You could flash it with fastboot if you know what your doing, but much easier to do it with an SD-card
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
iv tried flashing with fastboot but i get errors , i think thats because i have "S-ON" but im not sure , could you tell me how to do it properly or show me a thread that will?
CurseGraphics said:
iv tried flashing with fastboot but i get errors , i think thats because i have "S-ON" but im not sure , could you tell me how to do it properly or show me a thread that will?
Click to expand...
Click to collapse
What are the errors? Copy and paste your cmd window here. That would help a lot :good:
Sent from my HTC One M9 using Tapatalk
Danny201281 said:
What are the errors? Copy and paste your cmd window here. That would help a lot :good:
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
ill try flash it now , should i use TWRP or stock recovery?
CurseGraphics said:
ill try flash it now , should i use TWRP or stock recovery?
Click to expand...
Click to collapse
OK this could be your problem. What recovery you have makes no difference to flashing an ruu, the ruu will overwrite any recovery you have with the stock recovery contained in the ruu.
Flashing with fastboot should be done in download mode
Sent from my HTC One M9 using Tapatalk
CurseGraphics said:
ill try flash it now , should i use TWRP or stock recovery?
Click to expand...
Click to collapse
i used stock recovery and then got this :
C:\adb>fastboot flash zip 0PJAIMG.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 2368113101 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2368113101 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2368113101 is not a multiple of the block size 4096
OKAY [ 1.022s]
writing 'zip'...
(bootloader) HOSD CL#576832
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_H
(bootloader) W2ne4
FAILED (remote: 99: SD_UNKNOWN_FAIL to flash via downloadzip)
finished. total time: 2.073s
CurseGraphics said:
i used stock recovery and then got this :
C:\adb>fastboot flash zip 0PJAIMG.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 2368113101 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2368113101 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2368113101 is not a multiple of the block size 4096
OKAY [ 1.022s]
writing 'zip'...
(bootloader) HOSD CL#576832
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_H
(bootloader) W2ne4
FAILED (remote: 99: SD_UNKNOWN_FAIL to flash via downloadzip)
finished. total time: 2.073s
Click to expand...
Click to collapse
Your device should be o this screen to flash with fastboot
{
"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"
}
Sent from my HTC One M9 using Tapatalk
Danny201281 said:
Your device should be o this screen to flash with fastboot
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
ok and then the command i enter is "fastboot flash zip 0PJAIMG.zip" correct?
CurseGraphics said:
ok and then the command i enter is "fastboot flash zip 0PJAIMG.zip" correct?
Click to expand...
Click to collapse
Correct :good:
Sent from my HTC One M9 using Tapatalk
Danny201281 said:
Correct :good:
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
ok i did it in that order and i got this:
C:\adb>fastboot flash zip 0PJAIMG.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 2368113101 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2368113101 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2368113101 is not a multiple of the block size 4096
OKAY [ 1.023s]
writing 'zip'...
(bootloader) HOSD CL#576832
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 2.040s
CurseGraphics said:
ok i did it in that order and i got this:
C:\adb>fastboot flash zip 0PJAIMG.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 2368113101 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2368113101 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2368113101 is not a multiple of the block size 4096
OKAY [ 1.023s]
writing 'zip'...
(bootloader) HOSD CL#576832
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 2.040s
Click to expand...
Click to collapse
Mmmm! OK download this fastboot. https://www.androidfilehost.com/?fid=95916177934550031
Drop it in your fastboot folder on your PC then try again. Only now the command will become
Code:
htc_fastboot flash zip OPJAIMG.zip
Sent from my HTC One M9 using Tapatalk
Danny201281 said:
Mmmm! OK download this fastboot. https://www.androidfilehost.com/?fid=95916177934550031
Drop it in your fastboot folder on your PC then try again. Only now the command will become
Code:
htc_fastboot flash zip OPJAIMG.zip
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
did that and got this :
C:\adb>htc_fastboot flash zip 0PJAIMG.zip
sending 'zip'... (159355 KB) OKAY
sending time = 9.871 secs
writing 'zip'... (bootloader) HOSD CL#576832
FAIL9: SD_SECURITY_FAIL zip from usb command in download mode
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
Execution time is 11(s)
CurseGraphics said:
did that and got this :
C:\adb>htc_fastboot flash zip 0PJAIMG.zip
sending 'zip'... (159355 KB) OKAY
sending time = 9.871 secs
writing 'zip'... (bootloader) HOSD CL#576832
FAIL9: SD_SECURITY_FAIL zip from usb command in download mode
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
Execution time is 11(s)
Click to expand...
Click to collapse
OK can you run
Code:
fastboot getvar all
and post the output please
Sent from my HTC One M9 using Tapatalk
Danny201281 said:
OK can you run
Code:
fastboot getvar all
and post the output please
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
im almost 100% i did this wrong. booted to bootloader then did "htc_fastboot getvar all" and got this :
C:\adb>htc_fastboot getvar all
(bootloader) version: 0.5
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:cache: 0x14000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:userdata: 0x5e0000000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:system: 0x118000000
(bootloader) serialno: FA565YJ00784
all:
Execution time is 101(ms)
but last time i did it i got this :
C:\adb>fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) version-main: 2.10.206.2
(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: O2___001
all:
finished. total time: 0.019s

HTC M8 - Unlocked Bootloader/S-On/Rooted - Soft Or Hard Bricked??

Ok Hello Everyone
my Htc m8 was rooted around 2015 After Firewater Died so its still S-on
after a while my phone rebooted n started bugging
my htc turns on but stays on for only 5 secs before rebooting n repeating the process till the battery dies
my recovery is TWRP v2.7.0.2 (think is super outdated) I try to wipe, factory reset Format data even advance wipe.. but nothing goes through after reboot phone stays on in the same state it was in after it started bugging...also i cannot delete nor uninstall any files off the phone even if quickly done with the 5 secs it stays on for..
i've searched High n low but maybe im not doing something right so i decided to make this post
MY GETVAR IS....
version: 0.5
version-bootloader: 3.19.0.0000
version-baseband: 1.26.21331147A1.16G
version-cpld: None
version-microp: None
version-main:
version-misc: PVT SHIP S-ON
meid: 00000000000000
product: m8_ul
platform: hTCBmsm8974
modelid: 0P6B11000
cidnum: HTC__621
battery-status: good
battery-voltage: 0mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: 59ee16dd
hbootpreupdate: 11
gencheckpt: 0
Ty for your time -
Ave..
Hey,your phone is only hard bricked when you can't get access to any file system.
Your rom might be conflicting with the kernel,have you tried updating to the lastest twrp img from the twrp website and install another kernel/rom (can be found on here) ?
Remember to take a backup so you don't lose your data.
xXBoyInRedXx said:
Hey,your phone is only hard bricked when you can't get access to any file system.
Your rom might be conflicting with the kernel,have you tried updating to the lastest twrp img from the twrp website and install another kernel/rom (can be found on here) ?
Remember to take a backup so you don't lose your data.
Click to expand...
Click to collapse
E:\adb>fastboot flash recovery twrp.img
target reported max download size of 1826414592 bytes
sending 'recovery' (20046 KB)...
OKAY [ 2.152s]
writing 'recovery'...
OKAY [ 0.644s]
finished. total time: 2.802s
After doing this I open Recovery it stays at 2.7.0.2
avnu said:
I try to wipe, factory reset Format data even advance wipe..
Click to expand...
Click to collapse
What options exactly did you wipe in "Advanced"?
---------- Post added at 09:47 AM ---------- Previous post was at 09:43 AM ----------
avnu said:
E:\adb>fastboot flash recovery twrp.img
target reported max download size of 1826414592 bytes
sending 'recovery' (20046 KB)...
OKAY [ 2.152s]
writing 'recovery'...
OKAY [ 0.644s]
finished. total time: 2.802s
After doing this I open Recovery it stays at 2.7.0.2
Click to expand...
Click to collapse
What version TWRP are you trying to install? I would suggest 2.8.7 for your current firmware.
Also try fastboot erase cache, and try to flash TWRP 2.8.7
Are you saying the phone stays in OS for only 5 seconds, then reboots? Does it say in TWRP or fastboot without rebooting?
redpoint73 said:
What options exactly did you wipe in "Advanced"?
wiping anything in the advance part Will show that its done but after reboot it goes back to same state
E.G
Are you saying the phone stays in OS for only 5 seconds, then reboots? ............yeah Its like it boots normally but when all the app load prolly The GUI freezes n reboots. I also tried Safe Mode Same problem...
Does it say in TWRP or fastboot without rebooting? ..........Yeah it stay in TWRP & FastBoot - I can execute ADB commands...
Click to expand...
Click to collapse
E:\adb>fastboot flash twrp2870.img
unknown partition 'twrp2870.img'
error: cannot determine image filename for 'twrp2870.img'
E:\adb>fastboot flash recovery twrp2870.img
target reported max download size of 1826414592 bytes
sending 'recovery' (17020 KB)...
OKAY [ 1.847s]
writing 'recovery'...
OKAY [ 0.592s]
finished. total time: 2.441s
E:\adb>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.005s]
finished. total time: 0.006s
still shows 2.7.0.2 BUT.. If i type
E:\adb>fastboot boot twrp2870.img
downloading 'boot.img' ...
OKAY [ 1.851s]
booting
OKAY [ 0.003s]
finished. total time: 1.858s
it boots me straight to the 2870recovery does this help anything..
I directed to erase cache, then try to flash TWRP (not erase cache after flashing TWRP).
I also asked a variety of questions, which you didn't answer. Making it harder for me to help, if you don't provide the info requested.
ok im back for a 2nd try
redpoint73 said:
I directed to erase cache, then try to flash TWRP (not erase cache after flashing TWRP).
I also asked a variety of questions, which you didn't answer. Making it harder for me to help, if you don't provide the info requested.
Click to expand...
Click to collapse
Lets start this over ill dive back into this are you send a reply? ty
avnu said:
Lets start this over ill dive back into this are you send a reply? ty
Click to expand...
Click to collapse
As long as you are willing to provide the proper information requested of you; and follow instructions you are provided; I will be happy to try and help.
Post an updated getvar output (delete IMEI and serial number before posting), and if any other details have changed (TWRP version, etc.).
E:\htcabd>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.26.21331147A1.16G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B11000
(bootloader) cidnum: HTC__621
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 59ee16dd
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.109s
TWRP: 2.7.0.2 .. still wont flash newer version ..
avnu said:
TWRP: 2.7.0.2 .. still wont flash newer version ..
Click to expand...
Click to collapse
Fastboot erase cache, then try fastboot flash recovery again. I already said it before, but your response from Dec. 14 (Post #5) makes it sound like you wiped cache after trying to flash TWRP 2.8.7, which isn't going to do much.
Try TWRP 2.8.7 or versions after that. Try a few different versions (or download 2.8.7 again), maybe the img you have is damaged, or not correct (not for M8).
Try TWRP 2.8.7 or versions after that. Try a few different versions (or download 2.8.7 again), maybe the img you have is damaged, or not correct (not for M8).[/QUOTE]
so i downloaded every version from 2.8.7 to 3.1.1.0 m8.img
E:\htcabd>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.006s]
finished. total time: 0.006s
E:\htcabd>fastboot flash recovery E:\htcabd\twrp-2.8.7.0-m8.img
target reported max download size of 1826418688 bytes
sending 'recovery' (17020 KB)...
OKAY [ 1.850s]
writing 'recovery'...
OKAY [ 0.590s]
finished. total time: 2.445s
Everything goes according but when i reboot to recovery it stays the same
also adding to:: My phone memory is stuck at 325 MB- it wont delete add or edit nothing from the phone in addition to making any changes the setting revert back n the memory goes back to 325 mb.
avnu said:
E:\htcabd>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.006s]
finished. total time: 0.006s
Click to expand...
Click to collapse
Fastboot erase cache is what I stated, and what I mean (the command you executed). I don't know if there is much difference here between erase/wipe cache vs. formatting the partition.
Wiping cache has cleared up TWRP install problems in a lot of cases. But apparently not, in your case.
avnu said:
also adding to:: My phone memory is stuck at 325 MB- it wont delete add or edit nothing from the phone in addition to making any changes the setting revert back n the memory goes back to 325 mb.
Click to expand...
Click to collapse
That is actually some really critical info. It indicates that your internal storage is probably corrupt. Boot into TWRP, go to the Wipe section, and tap the button Format Data. This should fix the internal storage problem, and will also hopefully fix your problems updating TWRP (try to flash TWRP with fastboot again).
Somewhat obvious that Format Data will wipe any user data you have stored on the phone. But that may be moot anyway, since the storage is corrupt.
avnu said:
E:\htcabd>fastboot flash recovery E:\htcabd\twrp-2.8.7.0-m8.img
Click to expand...
Click to collapse
Just FYI, since the TWRP img is already located in your fastboot/adb folder, you only need to type:
fastboot flash recovery twrp-2.8.7.0-m8.img
You would only need to insert the path, if the file was located in a different folder from fastboot.exe. Although, that would also be needlessly complicating matters.
The way you typed it doesn't hurt anything, just redundant. But if you are just cutting and pasting the path, and file name, what I've suggested doesn't make much a difference either. Just saves you a little typing (and also potential for typos), if you are typing it out manually.
taking your advice i did FOrmat cache instead of wipe n i got this
E:\adb>fastboot format cache
Creating filesystem with parameters:
Size: 402653184
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1536
Label:
Blocks: 98304
Block groups: 3
Reserved block group size: 23
Created filesystem with 11/24576 inodes and 3131/98304 blocks
target reported max download size of 1826414592 bytes
erasing 'cache'...
OKAY [ 0.000s]
sending 'cache' (8336 KB)...
OKAY [ 1.009s]
writing 'cache'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 1.361s
the device being moot same problem applies i attemp format data - it appears to work with the system showing 5000mb free but after i reboot/reboottobootloader/reboot to recovery it goes back to 325..MB.. i saw a post saying that a ADB sideload of a custom rom might work .. so i download LineageOS14.. attempted the sideload n it kept gaving me error 7 .. after editing teh updater script says successful but the OS still isn't Install on the phone after reboot to system it loads my normal 5.0.2 corrupted rom

no os no recovery can fastboot

cant flash a custom recovery or stock recovery keep getting this message:
OKAY [ 1.911s]
writing 'recovery' 1/2...
FAILED (remote: image error! (BootMagic check fail))
finished. total time: 1.943s
i have found two that install but if i try booting into them i either get kicked right back to bootloader or it hangs then tries to boot into OS (which doesnt exist)
any help would be appreciated!
p.s ive read the majority of m8s threads
also get this error when i try to update ruu
C:\Users\Daniel\Desktop\platform-tools-latest-windows\platform-tools>fastboot flash flashall 0PKVIMG.zip
target reported max download size of 16777216 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2259689442 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2242916322 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2226143202 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2209370082 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2192596962 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2175823842 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2158964706 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2142191586 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2267365346 is not a multiple of the block size 4096
sending sparse 'flashall' 1/9 (16380 KB)...
error: write_sparse_skip_chunk: don't care size 2259689442 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2259689442 is not a multiple of the block size 4096
OKAY [ 1.625s]
writing 'flashall' 1/9...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.708s
Try using htc_fastboot.exe
Thijs_Rallye said:
Try using htc_fastboot.exe
Click to expand...
Click to collapse
I will try and get back with results!
Thanks!!
OKAY!!! back to stock recovery but im not sure how to get stock OS back? should i send to sd card then try in bootloader or RUU? which file do i need? firmware, kernal or RUU?
Thanks again!
Sorry, can't help you any further since I don't have any experience with this. You can RUU the phone, that is about as far as my knowledge reaches.
Edit: try reading the whole root topic by El-Conkistador. I know it's a lot, but it is a good start finding all the common "pitfalls". (like not using htc_fastboot.exe )
Thijs_Rallye said:
Sorry, can't help you any further since I don't have any experience with this. You can RUU the phone, that is about as far as my knowledge reaches.
Edit: try reading the whole root topic by El-Conkistador. I know it's a lot, but it is a good start finding all the common "pitfalls". (like not using htc_fastboot.exe )
Click to expand...
Click to collapse
im making progress now but really would be nowhere with out that bit of information!
https://forum.xda-developers.com/ht...lp-thread-htc-one-m8s-to-stock-howto-t3190238
thanks again ive been scratching my head for weeks just needed some clarity!
P.S if you think there is any point of posting my results then i will! :good::good::good:
Small update custom recovery and stock recovery working! able to install custom rom... but exhausted every stock firmware available found one that almost worked but wrong CID!!! tried changing .txt file to include mine but corrupt the archive :/ if any one has a dump of there's would be great! looking for CID ORANG001 [email protected]
Any additional information is always welcome on a forum imho. There are already way to many dead ends at XDA. (I.e. people found a solutions for themselves and never bothered to post it.)
Changing the txt will change the checksum, so that trick won't work. Have you already looked at the RUU's?
https://ruu.lalleman.net/HTC_M8S(QL_UL)/RUU/
Can you post a getvar -all (remove the IMEI and serial)
Thijs_Rallye said:
Any additional information is always welcome on a forum imho. There are already way to many dead ends at XDA. (I.e. people found a solutions for themselves and never bothered to post it.)
Changing the txt will change the checksum, so that trick won't work. Have you already looked at the RUU's?
https://ruu.lalleman.net/HTC_M8S(QL_UL)/RUU/
Can you post a getvar -all (remove the IMEI and serial)
Click to expand...
Click to collapse
I didnt think it would work as it changes the size of the archive drastically.
as you will see from the getvar none of the RUU's match my radio and the one that matches my CID makes progress but eventually fails...
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: [email protected]
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8ql_ul
(bootloader) platform: hTCBmsm8939
(bootloader) modelid: 0PKV10000
(bootloader) cidnum: ORANG001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 0b9a12e3
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) mfg-name: 0001
all: Done!
Execution time is 661(ms)
sorry if im being really stupid and missing something obvious and again thanks for caring! :good:
Checksum isn't solely about size .
Maybe this RUU works:
https://ruu.lalleman.net/HTC_M8S(QL...10.1G50408_15.00_016_F_release_431629_signed/
You can try searching here: http://ir-file.com/ , but the service for downloading isn't free. (not ridiculously expensive either considering buying a working phone otherwise )
Use the search terms: M8_QL_UL_L50_
You can only reinstall (RUU) the same version or a newer one. If you upgrade to Marsmallow you will be stuck with Marshmallow since there is no way to downgrade. (because there is no S-off, and also not likely there will come one)
Good luck
Thijs_Rallye said:
Checksum isn't solely about size .
Maybe this RUU works:
https://ruu.lalleman.net/HTC_M8S(QL...10.1G50408_15.00_016_F_release_431629_signed/
You can try searching here: http://ir-file.com/ , but the service for downloading isn't free. (not ridiculously expensive either considering buying a working phone otherwise )
Use the search terms: M8_QL_UL_L50_
You can only reinstall (RUU) the same version or a newer one. If you upgrade to Marsmallow you will be stuck with Marshmallow since there is no way to downgrade. (because there is no S-off, and also not likely there will come one)
Good luck
Click to expand...
Click to collapse
i will download and try and of course post my results, and if not will look at your other link! :good:
Slugnut25 said:
i will download and try and of course post my results, and if not will look at your other link! :good:
Click to expand...
Click to collapse
\[email protected]50408_15.00_016_F_release_431629_signed>htc_fastboot flash zip rom.zip
sending 'zip'... (163869 KB) OKAY
sending time = 8.050 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (status read failed (Too many links))
Execution time is 20(s)
Slugnut25 said:
\[email protected]50408_15.00_016_F_release_431629_signed>htc_fastboot flash zip rom.zip
sending 'zip'... (163869 KB) OKAY
sending time = 8.050 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (status read failed (Too many links))
Execution time is 20(s)
Click to expand...
Click to collapse
You can't use HTC_fastboot for flashing a RUU. (as far as I know) There should be an executable included in the zip file. And don't forget to check the MD5 before you start .
Edit: if you extract the ROM.zip from the RUU, you can rename it to 0PKV.zip (verify!) and put in on a SD card. The exact method (google it here in XDA) is described step by step.
I had a no os problem eventually fixed it by side loading the Android Revolution rom to the phone, look on youtube for instructions on how to do this
You can flash same or latest RUU.zip with fastboot with following commands.
htc_fastboot oem lock
htc_fastboot oem rebootRUU
htc fastboot flash zip RUUZIPNAME.zip
Click to expand...
Click to collapse
Note: you cant flash stock rom until you relock your bootloader, and reboot into RUU mode with command will startup with black screen and green logo.
Post the Progress
provide getvar log so I can help you

Recovery/System Bootloop - Fastboot Doesn't Flash

I am suffering from a bootloop in my phone, lineage suddenly decided to crash trebuchet, and phone turned off. Bootloader works, download mode works, recovery absolutely DOES NOT, It gives me the black HTC logo and turns off and on when I put the "fastboot oem lock" option, and just redirects back to the bootloop when I don't. I can use fastboot to flash files to it, I flashed TWRP old and new, but nonetheless, it bootloops when picking recovery once more. I have S-ON, with the bootloader unlocked. I'd love to buy the sunny license and turn S-OFF, but have no way of accessing my OS anymore.
Here are my details.
(bootloader) kernel: lk
(bootloader) product: htc_himawhl
(bootloader) version: 1.0
(bootloader) version-main: 3.41.651.4
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA20000
(bootloader) cid: SPCS_001
Here is my recovery flashing log
target reported max download size of 800000000 bytes
sending 'recovery' (20084 KB)...
OKAY [ 2.097s]
writing 'recovery'...
(bootloader) HOSD CL#695981
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) Update partition OK
(bootloader) [email protected]
OKAY [ 1.838s]
finished. total time: 3.939s
I've tried flashing a signed stock ROM, but I know I need to re-lock the bootloader, the "fastboot oem lock" option doesn't work too well either, it just resets without actually locking anything. It can't hold a flash it seems.
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp (bootloader) [KillSwitch] Last Byte is 0X01, enable unlock (bootloader) RELOCK device
I've tried the "0PJAIMG.zip" method in download mode, but it just gives me these errors as well.
22 RU_HEADER_ERROR
22 RU_HEADER_ERROR
FAIL22 RU_HEADER_ERROR
If my phone gets a file that matches up, it freezes for a bit, THEN goes back to another bootloop. It's frustrating.
9 RU_SECURITY_FAIL is also another error I get when trying to flash the .zip by fastboot, they're so annoying.
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2136250206 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 2136250206 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2136250206 is not a multiple of the block size 4096
OKAY [ 1.028s]
writing 'zip' 1/1...
(bootloader) HOSD CL#695981
FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 2.053s
Then after that, I tried flashing "0PJAIMG_HIMA_WHL_L50_SENSE70_SPCS_Sprint_WWE_1.32.651.17_Radio_1.10.C1144022_50312.5_NV_SPCS_0.23_003_release_425355_signed_RYDAH805.zip" via download mode with the SD card, and it gave me a FAIL19 RU_MAIN_VER_FAIL error that I don't understand that well, but I did find a reddit thread on it. I may have messed up my partitions.
https://www.reddit.com/r/AndroidQuestions/comments/69i53h/help_with_htc_m9_fail19_ru_main_ver_fail/
HOSD is also yet another method that ends up in failure
sending 'hosd' (38148 KB)... OKAY
writing 'hosd'... (bootloader) HOSD CL#695981
FAIL35 RU_PARTITION_NOT_SUPPORT hosd
FAILED (remote: 35 RU_PARTITION_NOT_SUPPORT hosd)
Execution time is 4(s)
Here are a list of things that DIDN'T work
-Firmware Flashing
-Boot/TWRP Flashing
-fastboot oem unlock
-the "Power then Volume up" trick, it just redirects me to a white HTC splash screeen
-Recovery from bootloader option
-signed .img files
https://androidforums.com/threads/htc-one-m8-brick-stuck-on-boot.927336/
After finding the thread above, I'm starting to think it might be a hardware error, it now gives me a "Failed to boot to recovery mode" error,. The eMMc may be messed up, ughhhhhhhh
Any way to recover my files, at least? If anyone here has any clues on getting my phone to working condition, I'd appreciate it a ton, hell, I might even pay you for helping me, better than losing all my data!
Will add as much info as possible and update my current status if asked.
Stop before you break it.
Find the official stock signed firmware ruu in .zip format that matches your current firmware. Ie 3.41.651.x (x can be any number but the other 3 octets MUST MATCH). Rename it to 0PJAIMG.ZIP and copy to the external sdcard.
DO NOT relock/lock the bootloader and DO NOT s-on.
Boot to download mode (Black screen red writing) and at the bottom, in yellow text, you should see "press vol up to flash"..
shivadow said:
Stop before you break it.
DO NOT relock/lock the bootloader and DO NOT s-on.
Boot to download mode (Black screen red writing) and at the bottom, in yellow text, you should see "press vol up to flash"..
Click to expand...
Click to collapse
That's unfortunately the issue, I AM S-On, never turned it off, which has pretty much sealed this poor phones fate I assume. If not, I'm betting I would have already flashed a no wipe .zip successfully. It's a shame, since this could have been prevented if I knew this phone was prevalent to system corruption, now the only thing I can depend on is obtaining a compatible recovery, since mine isn't working, download/fastboot is the only thing I have now.
It also seems I cannot find the "RUU_HIMA_WHL_M60_SENSE70_SPCS_MR_Sprint_WWE_3.41.651.4.zip" over the web, would an .exe work if I rename the extension as .zip?
S-on or s-off doesn't matter. What i meant is if you go s-off there is no need to ever s-on again. Same for bootloader. If it's unlocked then you don't ever need to lock/relock it.
Exe or zip but sometimes exe fails. Exe must be run on a pc and have the phone connected via USB. Zip must be run from external sdcard. It MUST be that version regardless.
Your only way without buggering it further is to flash the stock firmware. It will replace the recovery etc itself and will be safer than messing around with it, if it flashes OK.
shivadow said:
S-on or s-off doesn't matter. What i meant is if you go s-off there is no need to ever s-on again. Same for bootloader. If it's unlocked then you don't ever need to lock/relock it.
.
Click to expand...
Click to collapse
Then I'm assuming the correct fw "0PJAIMG.zip" would flash successfully even with an unlocked bootloader?
RebeccaSugar said:
Then I'm assuming the correct fw "0PJAIMG.zip" would flash successfully even with an unlocked bootloader?
Click to expand...
Click to collapse
Correct.
If you prefer the *.zip over the *.exe then take a look at the "further reading" section of the ReadMe thread. There's a link to a decryption tool. Download the correct version for your computer. If you use windows, you can drag and drop the *.exe onto the decryption tool and it will extract the *.zip for you. On Linux and Mac you'll probably need to use some commands.
Sent from my HTC One M9 using XDA Labs
Flippy498 said:
Correct.
If you prefer the *.zip over the *.exe then take a look at the "further reading" section of the ReadMe thread. There's a link to a decryption tool. Download the correct version for your computer. If you use windows, you can drag and drop the *.exe onto the decryption tool and it will extract the *.zip for you. On Linux and Mac you'll probably need to use some commands.
Sent from my HTC One M9 using XDA Labs
Click to expand...
Click to collapse
Done, though, after doing the "0PJAIMG.zip" method once more, it interrupts the flash with a very fast error(?) message highlighted in white then quickly reverts to bootlooping the recovery splash screen (Black Background with Silver HTC Logo)
I decided to flash the boot.img and system.img
target reported max download size of 800000000 bytes
sending 'recovery' (20084 KB)...
OKAY [ 2.097s]
writing 'recovery'...
(bootloader) HOSD CL#695981
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) Update partition OK
(bootloader) [email protected]
OKAY [ 1.838s]
finished. total time: 3.939s
(bootloader) kernel: lk
(bootloader) product: htc_himawhl
(bootloader) version: 1.0
(bootloader) imei: 990005027515833
(bootloader) version-main: 3.41.651.4
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA20000
(bootloader) cid: SPCS_001
C:\Users\Infinity>Documents\Pack\fastboot.exe flash system C:\Users\Infinity\Documents\James\HTC\OUT_0PJA_3.41.651.21\system\system.img
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
erasing 'system'...
OKAY [ 0.232s]
sending sparse 'system' 1/6 (743090 KB)...
OKAY [ 40.331s]
writing 'system' 1/6...
(bootloader) HOSD CL#695981
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) Update partition OK
(bootloader) [email protected]
OKAY [ 28.653s]
sending sparse 'system' 2/6 (725823 KB)...
OKAY [ 39.600s]
writing 'system' 2/6...
(bootloader) HOSD CL#695981
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) Update partition OK
(bootloader) [email protected]
OKAY [ 27.937s]
sending sparse 'system' 3/6 (776453 KB)...
OKAY [ 42.390s]
writing 'system' 3/6...
(bootloader) HOSD CL#695981
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) Update partition OK
(bootloader) [email protected]
OKAY [ 30.090s]
sending sparse 'system' 4/6 (764994 KB)...
OKAY [ 41.446s]
writing 'system' 4/6...
(bootloader) HOSD CL#695981
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) Update partition OK
(bootloader) [email protected]
OKAY [ 30.371s]
sending sparse 'system' 5/6 (775925 KB)...
OKAY [ 42.348s]
writing 'system' 5/6...
(bootloader) HOSD CL#695981
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) Update partition OK
(bootloader) [email protected]
OKAY [ 29.562s]
sending sparse 'system' 6/6 (546809 KB)...
OKAY [ 31.210s]
writing 'system' 6/6...
(bootloader) HOSD CL#695981
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) Update partition OK
(bootloader) [email protected]
OKAY [ 21.738s]
finished. total time: 405.943s
They were successful, apparently, but I've seen no changes. When booting, it just hangs on the white splash screen with the green htc logo and the "This build is for development, etc" warning.
If only I had a way to boot a working recovery, the more I do this, the more it seems like it is without a shadow of a doubt, a hardware problem.
Here are some logs, the fw seems to match up with my phone just fine, nonetheles...
View attachment RUU_Decrypt_LOG-0PJA20000_3.41.651.21_2018-04-01_025319.txt
View attachment android-info.txt
View attachment android-info2.txt
View attachment backup_android-info.txt
I noticed that you used fastboot. Be aware that flashing RUUs isn't possible with the generic fastboot files. You'll need htc_fastboot. A download link can be found in the RUU section of the ReadMe thread.
Are you sure that the SD card isn't broken? (Never use old cards for flashing RUUs. They can corrupt the files.) Did you try another one? Normally the extracted *.zip should flash just fine via an SD card.
I'd try a different SD card and flashing the RUU via htc_fastboot. (Flashing only the system and the boot.img might not be sufficient.) If both methods fail then the phone's hardware is most probably damaged and there's nothing you could do.
Sent from my HTC One M9 using XDA Labs
Flippy498 said:
I noticed that you used fastboot. Be aware that flashing RUUs isn't possible with the generic fastboot files. You'll need htc_fastboot. A download link can be found in the RUU section of the ReadMe thread.
Are you sure that the SD card isn't broken? (Never use old cards for flashing RUUs. They can corrupt the files.) Did you try another one? Normally the extracted *.zip should flash just fine via an SD card.
I'd try a different SD card and flashing the RUU via htc_fastboot. (Flashing only the system and the boot.img might not be sufficient.) If both methods fail then the phone's hardware is most probably damaged and there's nothing you could do.
Sent from my HTC One M9 using XDA Labs
Click to expand...
Click to collapse
I used a different SD card, formatted it to fat32 then exFAT, and nothing happened, it just gave me another error and rebooted. Though, after the reboot I manually booted the download mode and the same happened. Except this time, it gave me a list of all the .img files at 0% inside the "0PJAIMG.zip" before abruptly shutting off.
I took your advice on using the manual htc_fastboot to flash the "0PJAIMG.zip", even with the powershell, and it still fails.
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 3.41.651.21
found large-zip header, file count: 8
processing file 1/8...
sending 'zip' (88845 KB)...
OKAY [ 5.992s]
writing 'zip'...
(bootloader) HOSD CL#695981
FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 7.195s
htc_fastboot finished. total time: 8.782s
I did a bit of spelunking and came across this users post, that had the same issue as I.
repl1ca said:
Ok...so hopefully I didn't foobar something. I went to go back to stock since I'm returning my phone soon (1 year lease), so I relocked my bootloader before trying to flash the RUU (I'm S-ON by the way). Relock went fine, but the phone immediately returned to the bootloader with a "*** Security Warning***" message and now the phone won't boot into the ROM or recovery. I tried booting into download mode and flashing the RUU zip, but I am getting the following message:
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash zip d:\downloads\0PJAIMG.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' (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.015s]
writing 'zip'...
(bootloader) HOSD CL#695981
FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)
finished. total time: 2.017s
I also tried running the RUU exe in download mode, but that didn't work either.
Hopefully I am doing something wrong and didn't mess the phone up! I will be forever in debt to whoever can help me.
P.S. - I also tried unlocking the bootloader again but that is failing as well!! (Even though it says successful...)
_____________________________________________________________________________
EDIT: Ok, so I gave my Windows account full access to the platform-tools folder (which includes fastboot and the unlock token) and tried unlocking again, and it worked?! ROM is booting now, but how do I avoid having this happen again and return to stock? TIA
Click to expand...
Click to collapse
What did he mean by "Full Access to the platform-tools folder"? That may be my meal ticket to getting my phone working or nothing else.
You have to go into Windows Explorer on your computer and find the platform-tools folder. Once you find it, right click on it and go to Properties, then the Security tab. On that tab, add your Windows username in there and make sure the Full Access box is checked. Hit Apply, then OK.
My post is really old, so I'm having a hard time remembering what the actual issue was [emoji23]
Sent from my SM-G965U using Tapatalk
Security fail means the ruu is corrupt. Remote:9 I think is unsigned ruu. You need to be flashing a signed ruu.zip.
shivadow said:
Security fail means the ruu is corrupt. Remote:9 I think is unsigned ruu. You need to be flashing a signed ruu.zip.
Click to expand...
Click to collapse
That's what bothers me the most, the ruu I have IS signed, you sure I don't need S-OFF, or to lock the bootloader?
Security or bootloader make no odds. If you had s-off life would probably be easier..
Exactly which file are you flashing? Have you checked the md5 hash?
shivadow said:
Security or bootloader make no odds. If you had s-off life would probably be easier..
Exactly which file are you flashing? Have you checked the md5 hash?
Click to expand...
Click to collapse
I'll probably buy the XTC 2 Clip chip thing needed to manually turn S-OFF, I don't care about paying a little extra, as long as I can recover all my files in the phone.
I am flashing a "3.41.651.21" .zip from extracted from "RUU_HIMA_WHL_M60_SENSE70_SPCS_MR_Sprint_WWE_3.41.651.21.exe"
The MD5 hash for it is "f41f1b941eb3f9f9ecaebcbf235e87af"
Which looking up the hash reveals to be the version for my exact same hardware, kernel and software version
https://androidfilehost.com/?fid=312978532265363975
I'm more than confident S-OFF is the only way to fix it. Unless there are cases of android bricking, even with a working fastboot. Something, a type of security, is preventing files from being read/flashed, unless It's an eMMc error. Two verdicts now.
You most probably won't be able to recover any files at this point. Flashing a RUU will delete everything that's stored on your phone. Even S-OFF won't change that. S-OFF will only enable downgrading with older RUUs. Converting the phone isn't recommended unless you're willing to risk getting a paperweight since it's a CDMA device.
I haven't seen error 9 before I read about it in this thread. Since you already tried different methods and the md5 checksum of your manually extracted RUU seems to match the one of the AFH RUU, chances are high that the phone's hardware is broken.
Sorry for the bad news.
Sent from my HTC One M9 using XDA Labs
Flippy498 said:
You most probably won't be able to recover any files at this point. Flashing a RUU will delete everything that's stored on your phone. Even S-OFF won't change that. S-OFF will only enable downgrading with older RUUs. Converting the phone isn't recommended unless you're willing to risk getting a paperweight since it's a CDMA device.
Click to expand...
Click to collapse
At this point, it's already a paperweight, what's an extra $100 invested on the XTC 2 Clip going to do? Haha! If I can't recover the files, I'll just make an attempt at salvaging this phone and giving it away to someone else.
Flippy498 said:
I haven't seen error 9 before I read about it in this thread. Since you already tried different methods and the md5 checksum of your manually extracted RUU seems to match the one of the AFH RUU, chances are high that the phone's hardware is broken..
Click to expand...
Click to collapse
That IS a fear, especially about hearing about the "horrors" of the Hynix eMMc from people in the the thread I linked in the OP, and others in gsmhosting, this device might have just been another victim of faulty circuitry, which actually has me steamed.
http://forum.gsmhosting.com/vbb/f961/htc-one-m9-bootloop-2214236/#3
This is going to be my brave (read: foolish) attempt.
The biggest problem of the M9 is the Snapdragon 810 processor. Although later firmware revisions fixed the overheating (more or less) the heat damages that emerged from to the usage of older firmware versions aren't fixable.
Most phones that got sold with this processor suffer from similar issues, sooner or later. If you check the xda forums from other 2015 flagship devices with the SD810 you'll see that they all have some kind of sudden bootloop death problem.
And as said before, getting S-OFF won't change your situation. If you really want to try a method that has a slightly chance of being successful you should search for a jtag device like e.g. a riff-box. The thing is I personally don't have any experiences with jtagging. I only know that it can still help in situations in which there already seems to be no hope, anymore. Check sneakyghost's firmware thread in the development section. If I remember correctly, post #5 contains info or at least a link with further info about the topic. Be aware that these devices can be quite expensive.
Sent from my HTC One M9 using XDA Labs
Flippy498 said:
The biggest problem of the M9 is the Snapdragon 810 processor. Although later firmware revisions fixed the overheating (more or less) the heat damages that emerged from to the usage of older firmware versions aren't fixable.
Most phones that got sold with this processor suffer from similar issues, sooner or later. If you check the xda forums from other 2015 flagship devices with the SD810 you'll see that they all have some kind of sudden bootloop death problem.
Click to expand...
Click to collapse
I've heard things like that before! It shorts out the board or something above those lines, if heating is an issue, then it certainly did that to mine, which may be the fault of the missing recovery and bootloop, along with one crash I remember! Yes, I remembered I had one crash, the screen had all sorts of garbled colorful static on it and the phone made a beeping noise, why didn't I remember that!? I'm an idiot. That should have been a clear warning to back up everything, I should have reminded myself of the issues with the 810 Processor. Whether the crash months earlier had anything to do with what might have either been a sign of decay, or just a coincidence is beyond me, but knowing my current position with this phone, I'll go with the former.
Flippy498 said:
And as said before, getting S-OFF won't change your situation. If you really want to try a method that has a slightly chance of being successful you should search for a jtag device like e.g. a riff-box. The thing is I personally don't have any experiences with jtagging. I only know that it can still help in situations in which there already seems to be no hope, anymore. Check sneakyghost's firmware thread in the development section. If I remember correctly, post #5 contains info or at least a link with further info about the topic. Be aware that these devices can be quite expensive.
Click to expand...
Click to collapse
Lucky for you (and me) I do! I've successfully soldered about 5 things in the past, so this phone should be familiar territory! I just cancelled the XTC 2 Clip order, and instead ordered myself a Riff Box, I saw that it supports my HTC 9, and I thank you for telling me this! I work much better under hardware than software (Thanks ADHD), I'll check out. I immensely appreciate your help, and you taking time out of your day to give me sources, it truly, honestly means a lot. The device is around $120, not horribly expensive, my wallet can take it, I'll update you on my progress later in the thread! Thanks again!
Woah, apparently I don't NEED to solder? Well, this just makes it easier I'd say! BUT, I don't trust myself enough to risk destroying the sensitive data inside my device, so I will e-mail Tecardo and offer him a price for helping me instead. Can't trust myself enough not to screw up!
Oh, only 120 bucks? Don't ask me why but I had a higher price in mind. Either my mind betrayed me or the riff box got cheaper...
Sent from my HTC One M9 using XDA Labs
Flippy498 said:
Oh, only 120 bucks? Don't ask me why but I had a higher price in mind. Either my mind betrayed me or the riff box got cheaper...
Click to expand...
Click to collapse
Well, in your defense, there ARE bundles that are priced ridiculously high (In the $500's for some damned reason) even though you can get the same bundles separately, for less than half of what they ask.

Categories

Resources