Cannot Flash TWRP everytime I flash I got this error - HTC One X9

C:\boot>fastboot flash recovery recovery.img
Sending 'recovery' (41440 KB) OKAY [ 2.374s]
Writing 'recovery' (bootloader) HOSD CL#849157
(bootloader) [email protected]
(bootloader) ERR partition_partial_update[ERR]: write failed. fd=17, n=-
(bootloader) 1, No space left on device
(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=3
(bootloader) 4603008
(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=3
(bootloader) 5651584
(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=3
(bootloader) 6700160
(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=3
(bootloader) 7748736
(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=3
(bootloader) 8797312
(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=3
(bootloader) 9845888
(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=4
(bootloader) 0894464
(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=4
(bootloader) 1943040
(bootloader) [email protected]%
(bootloader) Update partition OK
(bootloader) [email protected]
OKAY [ 1.768s]
Finished. Total time: 4.150s

Hey there!
I know this is old but how exactly are you trying to flash TWRP?
Have a nice day / good night.

Related

[Q] Problem restoring HTC One 100% stock

Hi,
I'm trying to restore my HTC ONE but i can't find the correct RUU. I tried to find the correct one but i think that doesn't exist.
The information that appears when i go in bootloader is:
TAMPERED
RELOCKED
M7_UL PVT SHIP S-OFF RH
CID-HTC__304
HBOOT-1.57.0000
RADIO-4T.27.3218.14
OpenDSP-v32.120.274.0909
OS-5.11.401.10
eMMC-boot 2048MB
If it's better here is the information of fastboot getvar all:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.11.401.10
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: SH35FW904198
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__304
(bootloader) battery-status: good
(bootloader) battery-voltage: 4146mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e47fb74b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
What can i do now? if anyone knows please do a nice tutorial for me xD
Sorry for my english.
Thank you
PedroJSViveiros said:
Hi,
I'm trying to restore my HTC ONE but i can't find the correct RUU. I tried to find the correct one but i think that doesn't exist.
The information that appears when i go in bootloader is:
TAMPERED
RELOCKED
M7_UL PVT SHIP S-OFF RH
CID-HTC__304
HBOOT-1.57.0000
RADIO-4T.27.3218.14
OpenDSP-v32.120.274.0909
OS-5.11.401.10
eMMC-boot 2048MB
If it's better here is the information of fastboot getvar all:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.11.401.10
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: SH35FW904198
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__304
(bootloader) battery-status: good
(bootloader) battery-voltage: 4146mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e47fb74b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
What can i do now? if anyone knows please do a nice tutorial for me xD
Sorry for my english.
Thank you
Click to expand...
Click to collapse
With your phone already s-off and version x.xx.401.x it will be pretty easy to restore it to stock. follow nkk71 guide linked in my signature. Make sure to use Windows 7 not a windows 8.1 computer if using the 1.28.401.7 ruu.
Thank you for the response
I did what you said and i'm stuck now.
Here is what i did:
C:\ADB\sdk\platform-tools>adb reboot bootloader
C:\ADB\sdk\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.11.401.10
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: SH35FW904198
(bootloader) imei: 354436056837865
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__304
(bootloader) battery-status: good
(bootloader) battery-voltage: 4046mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e47fb74b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.078s
C:\ADB\sdk\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.042s]
finished. total time: 0.043s
C:\ADB\sdk\platform-tools>fastboot flash zip 1.29.401.12_hboot_1.44.zip
target reported max download size of 1514139648 bytes
sending 'zip' (501 KB)...
OKAY [ 0.244s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping & flushing...
(bootloader) [RUU]UZ,hboot,0
(bootloader) [RUU]UZ,hboot,50
(bootloader) [RUU]UZ,hboot,100
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) ...... Successful
OKAY [ 2.251s]
finished. total time: 2.498s
C:\ADB\sdk\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.037s]
finished. total time: 0.038s
C:\ADB\sdk\platform-tools>fastboot flash recovery-clockwork-touch-6.0.4.5-m7ul.i
mg
unknown partition 'recovery-clockwork-touch-6.0.4.5-m7ul.img'
error: cannot determine image filename for 'recovery-clockwork-touch-6.0.4.5-m7u
l.img'
C:\ADB\sdk\platform-tools>fastboot flash recovery recovery-clockwork-touch-6.0.4
.5-m7ul.img
sending 'recovery' (8746 KB)...
OKAY [ 1.066s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.103s
C:\ADB\sdk\platform-tools>fastboot flash recovery recovery-clockwork-touch-6.0.4
.5-m7ul.img
sending 'recovery' (8746 KB)...
OKAY [ 1.065s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.103s
C:\ADB\sdk\platform-tools>fastboot flash unlock token Unlock_code.bin
error: cannot load 'token'
C:\ADB\sdk\platform-tools>fastboot flash unlock token Unlock_code.bin
error: cannot load 'token'
C:\ADB\sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.156s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.008s]
finished. total time: 0.166s
C:\ADB\sdk\platform-tools>adb reboot bootloader
error: device offline
error: device offline
C:\ADB\sdk\platform-tools>fastboot flash recovery recovery-clockwork-touch-6.0.4
.5-m7ul.img
< waiting for device >
sending 'recovery' (8746 KB)...
OKAY [ 1.065s]
writing 'recovery'...
OKAY [ 0.710s]
finished. total time: 1.777s
C:\ADB\sdk\platform-tools>fastboot erase cache
erasing 'cache'...
OKAY [ 0.054s]
finished. total time: 0.056s
C:\ADB\sdk\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.039s]
finished. total time: 0.040s
C:\ADB\sdk\platform-tools>adb push Guru_Bootloader_Reset_1.0.zip /data/media/
3670 KB/s (3645550 bytes in 0.970s)
C:\ADB\sdk\platform-tools>adb sideload Guru_Bootloader_Reset_1.0.zip
sending: 'Guru_Bootloader_Reset_1.0.zip' 100%
C:\ADB\sdk\platform-tools>adb reboot bootloader
C:\ADB\sdk\platform-tools>fastboot oem rebootRUU
< waiting for device >
...
(bootloader) Start Verify: 0
OKAY [ 0.080s]
finished. total time: 0.080s
C:\ADB\sdk\platform-tools>fastboot flash zip RUU.zip
sending 'zip' (1009792 KB)...
OKAY [ 32.995s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[hboot] flushing...
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) ...... Successful
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
finished. total time: 34.529s
C:\ADB\sdk\platform-tools>fastboot flash zip RUU.zip
sending 'zip' (1009792 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 7.804s
C:\ADB\sdk\platform-tools>fastboot flash zip RUU.zip
sending 'zip' (1009792 KB)...
FAILED (command write failed (Invalid argument))
finished. total time: 0.003s
I try with the RUU.exe but doesn't send anything. It's stuck at sending..
You know what is the problem?
Thank you
PedroJSViveiros said:
Thank you for the response
I did what you said and i'm stuck now.
Here is what i did:
C:\ADB\sdk\platform-tools>adb reboot bootloader
C:\ADB\sdk\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.11.401.10
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: SH35FW904198
(bootloader) imei: 354436056837865
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__304
(bootloader) battery-status: good
(bootloader) battery-voltage: 4046mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e47fb74b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.078s
C:\ADB\sdk\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.042s]
finished. total time: 0.043s
C:\ADB\sdk\platform-tools>fastboot flash zip 1.29.401.12_hboot_1.44.zip
target reported max download size of 1514139648 bytes
sending 'zip' (501 KB)...
OKAY [ 0.244s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping & flushing...
(bootloader) [RUU]UZ,hboot,0
(bootloader) [RUU]UZ,hboot,50
(bootloader) [RUU]UZ,hboot,100
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) ...... Successful
OKAY [ 2.251s]
finished. total time: 2.498s
C:\ADB\sdk\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.037s]
finished. total time: 0.038s
C:\ADB\sdk\platform-tools>fastboot flash recovery-clockwork-touch-6.0.4.5-m7ul.i
mg
unknown partition 'recovery-clockwork-touch-6.0.4.5-m7ul.img'
error: cannot determine image filename for 'recovery-clockwork-touch-6.0.4.5-m7u
l.img'
C:\ADB\sdk\platform-tools>fastboot flash recovery recovery-clockwork-touch-6.0.4
.5-m7ul.img
sending 'recovery' (8746 KB)...
OKAY [ 1.066s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.103s
C:\ADB\sdk\platform-tools>fastboot flash recovery recovery-clockwork-touch-6.0.4
.5-m7ul.img
sending 'recovery' (8746 KB)...
OKAY [ 1.065s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.103s
C:\ADB\sdk\platform-tools>fastboot flash unlock token Unlock_code.bin
error: cannot load 'token'
C:\ADB\sdk\platform-tools>fastboot flash unlock token Unlock_code.bin
error: cannot load 'token'
C:\ADB\sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.156s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.008s]
finished. total time: 0.166s
C:\ADB\sdk\platform-tools>adb reboot bootloader
error: device offline
error: device offline
C:\ADB\sdk\platform-tools>fastboot flash recovery recovery-clockwork-touch-6.0.4
.5-m7ul.img
< waiting for device >
sending 'recovery' (8746 KB)...
OKAY [ 1.065s]
writing 'recovery'...
OKAY [ 0.710s]
finished. total time: 1.777s
C:\ADB\sdk\platform-tools>fastboot erase cache
erasing 'cache'...
OKAY [ 0.054s]
finished. total time: 0.056s
C:\ADB\sdk\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.039s]
finished. total time: 0.040s
C:\ADB\sdk\platform-tools>adb push Guru_Bootloader_Reset_1.0.zip /data/media/
3670 KB/s (3645550 bytes in 0.970s)
C:\ADB\sdk\platform-tools>adb sideload Guru_Bootloader_Reset_1.0.zip
sending: 'Guru_Bootloader_Reset_1.0.zip' 100%
C:\ADB\sdk\platform-tools>adb reboot bootloader
C:\ADB\sdk\platform-tools>fastboot oem rebootRUU
< waiting for device >
...
(bootloader) Start Verify: 0
OKAY [ 0.080s]
finished. total time: 0.080s
C:\ADB\sdk\platform-tools>fastboot flash zip RUU.zip
sending 'zip' (1009792 KB)...
OKAY [ 32.995s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[hboot] flushing...
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) ...... Successful
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
finished. total time: 34.529s
C:\ADB\sdk\platform-tools>fastboot flash zip RUU.zip
sending 'zip' (1009792 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 7.804s
C:\ADB\sdk\platform-tools>fastboot flash zip RUU.zip
sending 'zip' (1009792 KB)...
FAILED (command write failed (Invalid argument))
finished. total time: 0.003s
I try with the RUU.exe but doesn't send anything. It's stuck at sending..
You know what is the problem?
Thank you
Click to expand...
Click to collapse
what ruu.zip and .exe are you using? what is you computer OS?
I tried again and it worked xD
Thank you for everything
I have only one more question, i had the HBOOT 1.57 and i downgraded to 1.44, if i send my HTC to warranty they will notice that changed?
PedroJSViveiros said:
I tried again and it worked xD
Thank you for everything
I have only one more question, i had the HBOOT 1.57 and i downgraded to 1.44, if i send my HTC to warranty they will notice that changed?
Click to expand...
Click to collapse
the RUU should have updated it back to 1.55 or 1.56
anyway it's fine

[Q]where can I get stock signed firmware for flashing on a S-on sprint m8 non-HK

I'm trying to RUU a sprint htc one m8, I am htcdev unlocked, and currently running sinless rom 3.4.2, and the latest TWRP, now I know I must relock my bootloader in order to RUU and I already tried that.
here is my output when I run fastboot oem lock
Code:
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) Lock successfully...
(bootloader) deinit_lcd
(bootloader) mipi display off
(bootloader) mdp_clock_off
(bootloader) turn off fd8c2308 failed 1 times. Try again...
(bootloader) disable_mmss_clk done
(bootloader) pll1_disable done
(bootloader) TZ_HTC_SVC_DISABLE ret = -1610744452 (0x9FFDFD7C)
(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error
(bootloader) = 4
(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error
(bootloader) = 4
(bootloader) [INFO] Rebooting device
ERROR: usb_read failed with status e00002ed
FAILED (status read failed (No such file or directory))
finished. total time: 1.251s
but on the bootloader I see the tampered flag and re-locked flag with "security warning below
now here's my "getvar all"
Code:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.18.0.0000
(bootloader) version-baseband: 1.08.20.0612_4
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: **was actually blank**
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: **censored**
(bootloader) imei: **censored**
(bootloader) imei2: Not Support
(bootloader) meid: 99000499040678
(bootloader) product: m8_whl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B70000
(bootloader) cidnum: SPCS_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: d4c3cae5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.007s
here is what happened when I tried to flash the full firmware from O.M.J.'s post
Code:
target reported max download size of 1830612992 bytes
sending 'zip' (6598 KB)...
OKAY [ 0.807s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 1.046s
and here is the output when i try to flash the rom.zip I extracted from htc's newest RUU exe
Code:
./fastboot flash zip rom.zip
target reported max download size of 1830612992 bytes
sending 'zip' (1652270 KB)...
OKAY [ 47.785s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 108.972s
any help is appreciated
What happened when you tried to run the RUU once you relocked your bootloader?
Magnum_Enforcer said:
What happened when you tried to run the RUU once you relocked your bootloader?
Click to expand...
Click to collapse
I did relocked before running the RUU the out put was this
Code:
./fastboot flash zip rom.zip
target reported max download size of 1830612992 bytes
sending 'zip' (1652270 KB)...
OKAY [ 47.785s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 108.972s
I got the "rom.zip" from htc's RUU exe
Managed to RUU through parallels desktop, here's what I did:
I relocked my bootloader (after doing this I got stucked on the bootloader)
I started parallels desktop on my mac and connected my phone in bootloader mode, assigning the device to the virtual machine
I ran the RUU exe (everything went fine)
profit

I need run file for M7

C:\ADB>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.25.3263.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.19.401.11
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: SH356W903242
(bootloader) imei: 35443605*******
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3818mV
h5ha said:
C:\ADB>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.25.3263.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.19.401.11
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: SH356W903242
(bootloader) imei: 35443605*******
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3818mV
Click to expand...
Click to collapse
There is no 4.19.401.11 RUU but there is a 7.19.401.22 RUU which is the latest version for your phone (Android 5.0.2 with Sense 6) or there is a 4.19.401.11 reset rom which is your actual version)
To flash the 7.19.401.11 ruu:
If your bootloader is unlocked, re-lock it:
Code:
fastboot oem lock
update your firmware to 7.19.401.2 (needed so you can flash the ruu)
Code:
fastboot oem rebootRUU
fastboot flash zip M7_UL_Firmware_7.19.401.2.zip
fastboot flash zip M7_UL_Firmware_7.19.401.2.zip
fastboot reboot-bootloader
Then download and flash the 7.19.401.22 ruu
http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
file is at post #2
instructions how to flash the ruu at post #1
If you prefer to use the 4.19.401.11 reset rom (wouldn't recommend because its old):
unlock your bootloader if not already done
htcdev.com/bootloader
flash twrp recovery
Code:
fastboot flash recovery name_of_file.img
fastboot erase cache
fastboot reboot-bootloader
download the reset rom, push it to your phone and flash it using twrp.
https://www.androidfilehost.com/?fid=23501681358545524
select "yes" for stock recovery and radio
select "no" for root
reboot your phone and take all ota updates from 4.19.401.11 to 7.19.401.22
thank you but iget error
C:\ADB>fastboot flash zip M7_UL_Firmware_7.19.401.2.zip
target reported max download size of 1514139648 bytes
sending 'zip' (48659 KB)...
OKAY [ 3.223s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
FAILED (remote: not allowed)
finished. total time: 8.113s
h5ha said:
thank you but iget error
C:\ADB>fastboot flash zip M7_UL_Firmware_7.19.401.2.zip
target reported max download size of 1514139648 bytes
sending 'zip' (48659 KB)...
OKAY [ 3.223s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
FAILED (remote: not allowed)
finished. total time: 8.113s
Click to expand...
Click to collapse
Is your phone in RUU mode with a locked/relocked bootloader?
If you are having issue you can always use the Reset rom which is easier to flash, just a little longer process because you'll need to download many ota updates but flashing the reset rom is an easy task :good:
after flash M7_UL_Firmware_7.19.401.2.zip i get black screen
C:\ADB>fastboot flash zip M7_UL_Firmware_7.19.401.2.zip
target reported max download size of 1514139648 bytes
sending 'zip' (48659 KB)...
OKAY [ 3.281s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
(bootloader) checking hboot version...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[hboot] flushing...
(bootloader) signature checking...
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) ...... Successful
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
finished. total time: 10.047s
C:\ADB>fastboot flash zip M7_UL_Firmware_7.19.401.2.zipfastboot flash zip M7_UL_
Firmware_7.19.401.2.zip
< waiting for device >
error: cannot load 'M7_UL_Firmware_7.19.401.2.zipfastboot'
C:\ADB>fastboot flash zip M7_UL_Firmware_7.19.401.2.zip
target reported max download size of 1514139648 bytes
sending 'zip' (48659 KB)...
OKAY [ 3.274s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) checking main version...
(bootloader) checking hboot version...
(bootloader) start image[adsp] unzipping & flushing...
(bootloader) [RUU]UZ,adsp,0
(bootloader) [RUU]UZ,adsp,16
(bootloader) [RUU]UZ,adsp,26
(bootloader) [RUU]UZ,adsp,37
(bootloader) [RUU]UZ,adsp,49
(bootloader) [RUU]UZ,adsp,60
(bootloader) [RUU]UZ,adsp,71
(bootloader) [RUU]UZ,adsp,82
(bootloader) [RUU]UZ,adsp,94
(bootloader) [RUU]UZ,adsp,100
(bootloader) [RUU]WP,adsp,0
(bootloader) [RUU]WP,adsp,100
(bootloader) ...... Successful
(bootloader) start image[boot] unzipping & flushing...
(bootloader) [RUU]UZ,boot,0
(bootloader) [RUU]UZ,boot,12
(bootloader) [RUU]UZ,boot,22
(bootloader) [RUU]UZ,boot,33
(bootloader) [RUU]UZ,boot,44
(bootloader) [RUU]UZ,boot,56
(bootloader) [RUU]UZ,boot,68
(bootloader) [RUU]UZ,boot,80
(bootloader) [RUU]UZ,boot,91
(bootloader) [RUU]UZ,boot,100
(bootloader) [RUU]WP,boot,0
(bootloader) [RUU]WP,boot,99
(bootloader) [RUU]WP,boot,100
(bootloader) ...... Successful
(bootloader) start image[recovery] unzipping & flushing...
(bootloader) [RUU]UZ,recovery,0
(bootloader) [RUU]UZ,recovery,6
(bootloader) [RUU]UZ,recovery,12
(bootloader) [RUU]UZ,recovery,20
(bootloader) [RUU]UZ,recovery,27
(bootloader) [RUU]UZ,recovery,37
(bootloader) [RUU]UZ,recovery,43
(bootloader) [RUU]UZ,recovery,62
(bootloader) [RUU]UZ,recovery,68
(bootloader) [RUU]UZ,recovery,76
(bootloader) [RUU]UZ,recovery,85
(bootloader) [RUU]UZ,recovery,92
(bootloader) [RUU]UZ,recovery,99
(bootloader) [RUU]UZ,recovery,100
(bootloader) [RUU]WP,recovery,0
(bootloader) [RUU]WP,recovery,99
(bootloader) [RUU]WP,recovery,100
(bootloader) ...... Successful
(bootloader) start image[sbl1-1] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-1,0
(bootloader) [RUU]UZ,sbl1-1,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) start image[sbl1-2] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-2,0
(bootloader) [RUU]UZ,sbl1-2,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) start image[sbl1-3] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-3,0
(bootloader) [RUU]UZ,sbl1-3,100
(bootloader) signature checking...
(bootloader) ...... Successful
(bootloader) start image[sbl1-4] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-4,0
(bootloader) [RUU]UZ,sbl1-4,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) start image[sbl1-5] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-5,0
(bootloader) [RUU]UZ,sbl1-5,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) start image[sbl2] unzipping & flushing...
(bootloader) [RUU]UZ,sbl2,0
(bootloader) [RUU]UZ,sbl2,100
(bootloader) signature checking...
(bootloader) ...... Successful
(bootloader) start image[sbl3] unzipping & flushing...
(bootloader) [RUU]UZ,sbl3,0
(bootloader) [RUU]UZ,sbl3,100
(bootloader) signature checking...
(bootloader) ...... Successful
(bootloader) start image[radio] unzipping & flushing...
(bootloader) [RUU]UZ,radio,0
(bootloader) [RUU]UZ,radio,6
(bootloader) [RUU]UZ,radio,11
(bootloader) [RUU]UZ,radio,17
(bootloader) [RUU]UZ,radio,23
(bootloader) [RUU]UZ,radio,28
(bootloader) [RUU]UZ,radio,34
(bootloader) [RUU]UZ,radio,40
(bootloader) [RUU]UZ,radio,46
(bootloader) [RUU]UZ,radio,52
(bootloader) [RUU]UZ,radio,59
(bootloader) [RUU]UZ,radio,69
(bootloader) [RUU]UZ,radio,75
(bootloader) [RUU]UZ,radio,80
(bootloader) [RUU]UZ,radio,87
(bootloader) [RUU]UZ,radio,92
(bootloader) [RUU]UZ,radio,99
(bootloader) [RUU]UZ,radio,100
(bootloader) [RUU]WP,radio,0
(bootloader) [RUU]WP,radio,23
(bootloader) [RUU]WP,radio,46
(bootloader) [RUU]WP,radio,69
(bootloader) [RUU]WP,radio,92
(bootloader) [RUU]WP,radio,100
(bootloader) ...... Successful
(bootloader) start image[rcdata] unzipping & flushing...
(bootloader) [RUU]UZ,rcdata,0
(bootloader) [RUU]WP,rcdata,0
(bootloader) ...... Successful
OKAY [ 26.146s]
finished. total time: 29.423s
C:\ADB>c
-----------------------------
C:\ADB>fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Rad
io_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 162706427 is not a multiple of t
he block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 162706427 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 162706427 is not a multiple of t
he block size 4096
h5ha said:
C:\ADB>fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Rad
io_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 162706427 is not a multiple of t
he block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 162706427 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 162706427 is not a multiple of t
he block size 4096
Click to expand...
Click to collapse
To flash the ruu, you must absolutely use the fastboot version linked in the thread were you have downloaded the ruu from (htc's version of fastboot).
Look at post #1 you will find instructions and a link to the correct fastboot.exe file (referred as htc_fastboot in post 1)
thank you the problem solved with this file
My device was restarting every two minutes because of unknown baseband and no IMEI plus the com.HTCdialler

Stuck in bootloader

So my old m7, with S-OFF, and converted from AT&A to GPE, and locked, is now stuck in the boot loader and does not even appear to attempt to do a normal boot.
- Trying to enter recovery or do a factory reset results in the phone rebooting itself.
- Trying flashing fresh RUU or anything else just results in "FAILED (remote: not allowed)". -
- The phone is locked, so I also tried the HTC unlock services, which appears to be successful from fastboot, but I never get the prompt on the phone to accept it.
- Getting some weird error messages SD_HW_ERR sometimes when using fastboot.
Any ideas? [Put my getvar output on the bottom]
Flashing GPE RUU:
C:\Program Files\Android\platform-tools>fastboot oem rebootRUU
...
(bootloader) [ERR] Cmd18 polling status timed out, MCI_STATUS: 0x4C2000
(bootloader) [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [SD_HW_ERR] read data fail in CMD18
(bootloader) CMD18: cmd failed
(bootloader) [SD_HW_ERR] SD: Read data fail..
(bootloader) [ERR] partition_read_emmc(876): error 2
(bootloader) Start Verify: 0
(bootloader) [ERR] Cmd25 polling status timed out, MCI_STATUS: 0x4C0000
(bootloader) [ERR] sdcc_command: sdcc_poll_status error, rc: 2
OKAY [ 0.052s]
finished. total time: 0.053s
C:\Program Files\Android\platform-tools>fastboot flash zip c:\Temp\RUU-HTC_One_GE-5.0.1-5.11.1700.3.zip
target reported max download size of 1526722560 bytes
sending 'zip' (782880 KB)...
OKAY [ 28.789s]
writing 'zip'...
FAILED (remote: not allowed)
finished. total time: 28.825s
C:\Program Files\Android\platform-tools>fastboot flash zip c:\Temp\RUU-HTC_One_GE-5.0.1-5.11.1700.3.zip
target reported max download size of 1526722560 bytes
sending 'zip' (782880 KB)...
OKAY [ 28.789s]
writing 'zip'...
FAILED (remote: not allowed)
finished. total time: 28.825s
C:\Program Files\Android\platform-tools>fastboot reboot
rebooting...
finished. total time: 0.044s
Here is my getvar all output:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: N/A
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.04.1700.18
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: ---
(bootloader) imei: ---
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: GOOGL001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4277mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0ddc65a3
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!

HTC One X9 Firmware Fail to write.. (2.23.401.1) RUU

I'm having trouble flashing.
here is the getvar all
(bootloader) kernel: lk
(bootloader) product: htc_e56ml_dtul
(bootloader) version: 1.0
(bootloader) imei: 35385XXXXXXXXXX
(bootloader) version-main: 2.23.401.1
(bootloader) boot-mode: download
(bootloader) version-baseband: READ version-baseband ERROR
(bootloader) version-bootloader: 1.01.0000
(bootloader) mid: 2PS511000
(bootloader) cid: 11111111
all:
finished. total time: 0.072s.
When i try to flash through htc_fastboot i get this ERROR.
htc_fastboot v3.0.7 (2015-03-30)
target rom version: 2.23.401.1
found large-zip header, file count: 8
processing file 1/8...
sending 'zip' (44707 KB)...
OKAY [ 3.276s]
writing 'zip'...
(bootloader) HOSD CL#813572
(bootloader) GPT is up-to-dated. [524288]
(bootloader) Perform pre-update
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) Perform hardware reset
FAILED (remote: 90 hboot pre-update! please flush image again immediately )
finished. total time: 4.152s
preupdate done, rebooting...
< waiting for device >
sending 'zip' (44707 KB)...
OKAY [ 4.600s]
writing 'zip'...
(bootloader) HOSD CL#813572
(bootloader) GPT is up-to-dated. [524288]
(bootloader) [email protected]2%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) Update zip file OK
OKAY [ 74.861s]
finished. total time: 79.465s
processing file 2/8...
sending 'zip' (444733 KB)...
OKAY [ 28.026s]
writing 'zip'...
(bootloader) HOSD CL#813572
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) ERR [system] CRC ERROR
(bootloader) ERR should be 0xe2a3f915, calculated 0x2940d9e9
(bootloader) [email protected]
(bootloader) Update zip file OK
(bootloader) ERR WRITE ERROR, 11
(bootloader) [email protected]
FAILED (remote: 11 RU_CHECKSUM_FAIL invalid rom-pack )
finished. total time: 39.467s
htc_fastboot finished. total time: 148.936s
I don't know what is wrong with the phone or firmware, when i try to flash i got that error.
If there is anyone with the correct RUU link i will be grateful if share or how to flash the firmware.
here is of the link from where i download the firmware https://forum.xda-developers.com/one-x9/how-to/htc-one-x9-stock-rom-firmware-t3375203
the file i flash link https://drive.google.com/open?id=1PI...LjkOYbSrCm4Bjy
the phone is bricked those not boot, i try flash this file https://forum.xda-developers.com/one-x9/development/rom-balla241-e56ml-dtul-2-17-400-1-twrp-t3497861 through twrp, the phone boot well but the baseband is UNKNOWN.
So, i'm stucked and i don't what do next.

Categories

Resources