Phone won't get pass boot screen will go to boot loaderrevv - One (M9) Q&A, Help & Troubleshooting

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

Related

Fastboot error "target reported max download size of ..."

Does anyone know how to solve error in fastboot while flashing:
Code:
target reported max download size of 16777216 bytes
Invalid sparse file format at header magi
I can't flash recovery, but i was able to flash unlocktoken. I've already tried erasing cache.
cr3h said:
Does anyone know how to solve error in fastboot while flashing:
Code:
target reported max download size of 16777216 bytes
Invalid sparse file format at header magi
I can't flash recovery, but i was able to flash unlocktoken. I've already tried erasing cache.
Click to expand...
Click to collapse
Use a later version fastboot (v2 or 3) and do the update twice.
I've used latest version, probably the file i wanted to flash was corrupted, because with kinghunki's exe it worked.

How can i get update OTA direct from HTC?

Hi everyone,
I'm S-on, unlocked. I used custom Rom, now i want to come back ROM stock for update firmware.
I formatted data and came back to Nandroid, then i flashed to come back stock recovery.
But when i do update, it notify:
Can't update software. There was an unexpected error and the file system may be corrupted. Please contact HTC support for further assistance.
It means that i can't update directly from HTC.
Now how can i do ?
Thanks you for your help.
You need to find the ruu for your model and run it on your pc, that's the easiest method. Then you will need to reroot.
i relocked, go to RUU mod, run fastboot flash zip rom.zip and no result:
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 1845895323 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 1845895323 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1845895323 is not a multiple of
the block size 4096
OKAY [ 1.015s]
writing 'zip' 1/1...
(bootloader) HOSD CL#738269
(bootloader) ERR lzipv1_init : Cannot read header len bytes
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_H
(bootloader) s9xlG
FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap )
finished. total time: 3.089s
Using HTC 10 batch tool in this thread: http://forum.xda-developers.com/one-m9/development/firmware-t3068243
and i was was successful, may be this probem came from my phone/adb, fastboot

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

[TWRP] recovery in htc desire 820 dual sim.

I want to insert a custom ROM in HTC Desire 820 dual sim. I have unlocked the bootloader and tried to insert a TWRP recovery. I have tried multiple recoveries namely:
HTC_A51_TWRP_Recovery_3.0.2-0_htcui
HTC_D820_TWRP-Recovery-2.8.7.0-en
HTC_TWRP_Recovery_All
recovery.iso
twrp-3.0.2-0-a32e
twrp-3.1.1-0-a5
twrp-3.2.2-0-a51cml_tuhl
While trying to flash these Unfortunately I Corrupted the OS. The first four of the above TWRP either won't get flashed due to
Code:
target reported max download size of 16777216 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 5736448 is not a multiple of the block size 4096
sending sparse 'recovery' (16382 KB)...
error: write_sparse_skip_chunk: don't care size 5736448 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 5736448 is not a multiple of the block size 4096
OKAY [ 1.673s]
writing 'recovery'...
FAILED (remote: image error! (BootMagic check fail))
finished. total time: 1.689s
The other 2 flashed but when Executed the command fasboot boot twrp-3.0.2-0-a32e.img or the one with a5 the error is
Code:
downloading 'boot.img'...
OKAY [ 1.356s]
booting...
FAILED (remote: dtb not found)
finished. total time: 1.356s
the last didn't give any error but doesn't work either( possibly because its a Desire 830 .img but its the only one not giving the error
the phone is (or was) android 6.0.1
Code:
A51_DTUL PVT SHIP S-ON
HBOOT-3.19.0.0000
RADIO-01.01.010_U10305041_08.01.51015
OS-3.17.720.3
eMMC-boot 2048MB
Apr 11 2016,21:16:51.0
It doesn't have an OEM unlock and I'm pretty much new to recovery and root stuff. Please suggest me how can I root this device too, so I don't fall into further problems. Also my ADB doesn't detect the driver but fastboot does. Please not that all the above mentioned recoveries are for official Htc desire 820 (except the last one) some have been picked up from this site, some by youtube or other forums. Thanks in advance

error from Install firmware

I did wipe from twrp And when install firmware brings this error
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2426398280 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2426398280 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2426398280 is not a multiple of the block size 4096
OKAY [ 1.016s]
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_0
(bootloader) rQNJe
(bootloader) ERR preload central directory info failed (EOCD).
FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap with original ret: 0)
finished. total time: 2.063s
Tried several ways, same error
There is no operating system on the device
I have no experience with devices htc
Model : HTC_HIMAUHL
Build : 2.10.401.1
CID : 11111111
HBoot : 1.0.0.0000
MID : 0PJA11000
Security : CURITY FAILED (REMOTE: UNKNOWN COMMAND)
Region : Super_CID
Araby00 said:
I did wipe from twrp And when install firmware brings this error
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 2426398280 is not a multiple of the block size 4096
sending sparse 'zip' (0 KB)...
error: write_sparse_skip_chunk: don't care size 2426398280 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2426398280 is not a multiple of the block size 4096
OKAY [ 1.016s]
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_0
(bootloader) rQNJe
(bootloader) ERR preload central directory info failed (EOCD).
FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap with original ret: 0)
finished. total time: 2.063s
Tried several ways, same error
There is no operating system on the device
I have no experience with devices htc
Click to expand...
Click to collapse
check the status of the bootloader in download mode.
what version of firmware are you trying to install via Recovery, does it match your device model?
if everything matches what it should be - OK.
it may be that the archive with the firmware is damaged, a possible case.
format the partitions in TWRP: cache, system, data, internal data.
it is also possible that with the stock firmware the "Unlock OEM" checkbox was not set in the developer's point, the TWRP flashing will not help, you need a stock RUU.
in extreme cases, the internal memory of the smartphone is damaged and requires replacement.
(not all firmwares can be flashed through the modern TWRP version, a downgrade is necessary).
Araby00 said:
Model : HTC_HIMAUHL
Build : 2.10.401.1
CID : 11111111
HBoot : 1.0.0.0000
MID : 0PJA11000
Security : CURITY FAILED (REMOTE: UNKNOWN COMMAND)
Region : Super_CID
Click to expand...
Click to collapse
you most likely have an Unlocked version of the device.
everything is simple: model - OPJA1100 - CID (region) - BS_US001.
on your device it is possible to change the CID using the ADB terminal, but the state of the device is S-OFF (read on the Internet).
CID in state 11111111 indicates that a universal region is installed on the smartphone and is marked SuperCID (universal).
CID - 11111111 -> BS_US001
MID - OPJA1100 is OK.
the fact that you have a SuperCID value of 11111111 is not an error, this is a valid option.
try experimenting with changing the region, you need a stock firmware from the American operator AT&T.
0PJAIMG_HIMA_UL_N70_SENSE80_ATT_MR_NA_Gen_Unlock_4.30. 617.12.zip | by blueberry for One M9
RUU. zip was pulled from the original HTC M9 Unlocked/Developer Edition RUU.exe based on 4.30.617.12. Rename this zip file to
androidfilehost.com
flash this RUU if CID changed to BS_US001.

Categories

Resources