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
Related
Anyone knows what this error is about when I am trying to flash the ruu?
D:\android-sdk\platform-tools>fastboot flash zip ruu.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1536838 KB)...
OKAY [ 59.218s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 59.646s
craoul said:
Anyone knows what this error is about when I am trying to flash the ruu?
D:\android-sdk\platform-tools>fastboot flash zip ruu.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1536838 KB)...
OKAY [ 59.218s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 59.646s
Click to expand...
Click to collapse
You changed the name of the RUU to "ruu.zip", correct?
If so, check that you didn't add a second . to the zip (ruu..zip)
xunholyx said:
You changed the name of the RUU to "ruu.zip", correct?
If so, check that you didn't add a second . to the zip (ruu..zip)
Click to expand...
Click to collapse
flashing with htc_fastboot worked, is there a difference between fastboot apps?
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
I am getting the following error when i try flashing stock rom. (OOS 5.0.1). I have tried formatting the partitions from fastboot. Flashing TWRP and changing file systems. but nothing it working:
PS D:\Downloads> fastboot flash system oos.zip
target reported max download size of 435159040 bytes
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 1241968472 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 806813528 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 371658584 is not a multiple of the block size 4096
erasing 'system'...
OKAY [ 0.009s]
sending sparse 'system' 1/4 (424956 KB)...
error: write_sparse_skip_chunk: don't care size 1241968472 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1241968472 is not a multiple of the block size 4096
OKAY [ 10.665s]
writing 'system' 1/4...
FAILED (remote: buffer overreads occured due to invalid sparse header)
finished. total time: 13.471s
DKVikingUS said:
I am getting the following error when i try flashing stock rom. (OOS 5.0.1). I have tried formatting the partitions from fastboot. Flashing TWRP and changing file systems. but nothing it working:
PS D:\Downloads> fastboot flash system oos.zip
target reported max download size of 435159040 bytes
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 1241968472 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 806813528 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 371658584 is not a multiple of the block size 4096
erasing 'system'...
OKAY [ 0.009s]
sending sparse 'system' 1/4 (424956 KB)...
error: write_sparse_skip_chunk: don't care size 1241968472 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1241968472 is not a multiple of the block size 4096
OKAY [ 10.665s]
writing 'system' 1/4...
FAILED (remote: buffer overreads occured due to invalid sparse header)
finished. total time: 13.471s
Click to expand...
Click to collapse
Aren't you using the wrong command?
Try Fastboot flash oos.zip
Or redownload (to be on the safer side)and sideload the ROM.
Or if you have TWRP, push the ROM to the phone through adb and install it via TWRP.
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
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.