HTC one M7 no OS installed - One (M7) Q&A, Help & Troubleshooting

Hello, am new at this, but I really need some assistance, I wipe my M7 but I cannot reinstall a new rom, first my computer said that it cannot find the android 1.0 driver, I try using pdanet but requested me to active the debugging option that is inside the OS but i dont have one, can someone help, also I try to send a file from my computer to the device but keeps saying it cant, am assuming cause the driver failure, I already have TWRP, unlocked and superus, can someone guide me, also am not that smart if you please keep simply instruction will be great, appreciated

adrianponce said:
Hello, am new at this, but I really need some assistance, I wipe my M7 but I cannot reinstall a new rom, first my computer said that it cannot find the android 1.0 driver, I try using pdanet but requested me to active the debugging option that is inside the OS but i dont have one, can someone help, also I try to send a file from my computer to the device but keeps saying it cant, am assuming cause the driver failure, I already have TWRP, unlocked and superus, can someone guide me, also am not that smart if you please keep simply instruction will be great, appreciated
Click to expand...
Click to collapse
Usb debugging is only needed to get adb commands working from a booted OS. You don't need to have USB Debugging turned on to use adb commands from TWRP. Anyway pdanet will not work from twrp...
You'll need to install the right drivers so you can use adb commands (form TWRP) and fastboot commands (from bootloader) to fix your phone.
Download and install the latest driver version for HTC: http://www.mediafire.com/download/1ulx1xl5k1zhk5j/HTC_Driver_4.17.0.001.exe
Once done, connect your phone to your computer and reboot it in bootloader mode. Make sure that you can see "fastboot usb" highlighted in red (like in this picture). If yes, open a command window from your computer adb/fastboot folder and type "fastboot getvar all" (without the quotes) and hit enter. Copy/paste the output here so we can know a little more about your phone and how to help you get the correct rom on it (remove your IMEI and SERIALNO before posting).
Btw do you want it to run a stock or custom rom? What is your TWRP version?

"alray" I download the drivers and install them, I connected the phone in fastboot and is highlighted red with the usb as well, I open the command center and type "fastboot getvar all", but it says waiting for any device, and stays there does not do anything, I wait almost 30 minutes and nothing, am i doing something wrong?, thanks

apparently even after installing the drivers, the device manager still not recognize my phone, although in the fastboot bootloader says usb, I do not know how to insert and image about my device manager, phone and installation programs, sorry

"alray", finally got it, is used this link http://forum.xda-developers.com/showthread.php?p=48915118#post48915118, version 1.3, and drivers were installed correctly, this is the information you requested me,
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 7.17.1540.51
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4289mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-46c17580
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.180s
Regarding the rom, I dont have any preference, I even not know the difference, can you recommend me one?, and TWRP version 3.0.2-0, now what would be the next step?, thanks

@alray [alray][/alray], which rom should I install and how, I try to download htc gen unlock, dev edition unlock, and once connected to the phone in fastboot usb, using command fastboot update "*.zip (zip file I download)", but says that "error: update package 'C:\fastboot\m7wlv-3.4.10-g7875f0c.zip' has no android-info.txt", should I install a different one?, thanks

@alray [alray][/alray], which rom should I install and how, I try to download htc gen unlock, dev edition unlock from http://www.htcdev.com/devcenter/downloads, and once connected to the phone in fastboot usb, using command fastboot update "*.zip (zip file I download)", but says that "error: update package 'C:\fastboot\m7wlv-3.4.10-g7875f0c.zip' has no android-info.txt", should I install a different one?, thanks

adrianponce said:
@alray [alray][/alray], which rom should I install and how, I try to download htc gen unlock, dev edition unlock from http://www.htcdev.com/devcenter/downloads, and once connected to the phone in fastboot usb, using command fastboot update "*.zip (zip file I download)", but says that "error: update package 'C:\fastboot\m7wlv-3.4.10-g7875f0c.zip' has no android-info.txt", should I install a different one?, thanks
Click to expand...
Click to collapse
This file is not for your phone, better to delete it you'll not need it.
I would suggest that you flash a RUU, this will get back your phone to the stock rom. The process is a little different from flashing a rom from TWRP but imo, the result is better.
download htc_fastboot.exe and save it in the same folder where you already have adb.exe and fastboot.exe
Download this RUU and save it in the same folder where you already have adb.exe, fastboot.exe and htc_fastboot.exe
Note that there is currently maintenance on the website hosting these files, if you can't download the files wait a few hours and try again.
Connect your phone to your computer, reboot it in bootloader mode and make sure "fastboot usb" is highlighted in red
Start a command window from your adb/fastboot folder
Type:
Code:
fastboot oem rebootRUU
Your phone will reboot in RUU mode, a black screen with silver HTC logo.
Type
Code:
fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.zip
Wait for the file to be flashed (it will take several minutes).
Once the RUU is sucesfully flashed reboot the phone using this command:
Code:
fastboot reboot
Note that the first boot after flashing a RUU can take a little more time than usual.
Btw sorry for the delay, got a problem here just after replying to your PM.

alray said:
This file is not for your phone, better to delete it you'll not need it.
I would suggest that you flash a RUU, this will get back your phone to the stock rom. The process is a little different from flashing a rom from TWRP but imo, the result is better.
download htc_fastboot.exe and save it in the same folder where you already have adb.exe and fastboot.exe
Download this RUU and save it in the same folder where you already have adb.exe, fastboot.exe and htc_fastboot.exe
Note that there is currently maintenance on the website hosting these files, if you can't download the files wait a few hours and try again.
Connect your phone to your computer, reboot it in bootloader mode and make sure "fastboot usb" is highlighted in red
Start a command window from your adb/fastboot folder
Type:
Code:
fastboot oem rebootRUU
Your phone will reboot in RUU mode, a black screen with silver HTC logo.
Type
Code:
fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.zip
Wait for the file to be flashed (it will take several minutes).
Once the RUU is sucesfully flashed reboot the phone using this command:
Code:
fastboot reboot
Note that the first boot after flashing a RUU can take a little more time than usual.
Btw sorry for the delay, got a problem here just after replying to your PM.
Click to expand...
Click to collapse
@alray, problem for the time you are the one helping me, this is what the command center gave me after I fallow your instructions
C:\fastboot>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.031s]
finished. total time: 0.031s
C:\fastboot>fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.
51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_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 174334115 is not a multiple of t
he block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of t
he block size 4096
FAILED (data transfer failure (Unknown error))
finished. total time: 7.361s
What should I do?

@alray, I did it again a few time and like twice change the notification to the follow
C:\fastboot>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.042s]
finished. total time: 0.043s
C:\fastboot>fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.
51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_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 174334115 is not a multiple of t
he block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of t
he block size 4096
OKAY [ 65.303s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 65.507s

adrianponce said:
@alray, I did it again a few time and like twice change the notification to the follow
C:\fastboot>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.042s]
finished. total time: 0.043s
C:\fastboot>fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.
51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_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 174334115 is not a multiple of t
he block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 174334115 is not a multiple of t
he block size 4096
OKAY [ 65.303s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 65.507s
Click to expand...
Click to collapse
Sorry my bad, the command is
Code:
htc_fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.
51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.zip
Note that the difference is "htc_fastboot" instead of "fastboot"
Sent from my HTC One using XDA Labs

adrianponce said:
Hello, am new at this, but I really need some assistance, I wipe my M7 but I cannot reinstall a new rom, first my computer said that it cannot find the android 1.0 driver, I try using pdanet but requested me to active the debugging option that is inside the OS but i dont have one, can someone help, also I try to send a file from my computer to the device but keeps saying it cant, am assuming cause the driver failure, I already have TWRP, unlocked and superus, can someone guide me, also am not that smart if you please keep simply instruction will be great, appreciated
Click to expand...
Click to collapse
Hello bud. I'm quiet experienced with the HTC One (M7) and would be more the happy to help you with your issue. Are you trying to update to the latest HTC firmware or lollipop?
¤-TIP FROM THE NOOB-¤-¤-
1. enable USB Debugging before flashing custom recovery.
2. back up system before granting apk's root permission, editing system files, and flashing a new rom.
? better safe than sorry ?
?May the Angels lead your way Tom (Tony Stark) . You will be missed bud ?

Tony the noob :D said:
Hello bud. I'm quiet experienced with the HTC One (M7) and would be more the happy to help you with your issue. Are you trying to update to the latest HTC firmware or lollipop?
¤-TIP FROM THE NOOB-¤-¤-
1. enable USB Debugging before flashing custom recovery.
2. back up system before granting apk's root permission, editing system files, and flashing a new rom.
? better safe than sorry ?
?May the Angels lead your way Tom (Tony Stark) . You will be missed bud ?
Click to expand...
Click to collapse
Glad you are joining the discussion cause I'll eventually leave to work. OP should be able to flash the RUU with your help, just forgot to mention that he/she had to use htc_fastboot for flashing the RUU hence the "Invalid sparse file format" error (See post above yours).
Btw no offense intended but I think tip #1 is leading to confusion. USB debugging is not required to flash a custom recovery nor it is required to use adb from recovery. USB debugging is only enabling ADB access from a booted rom...:good:

alray said:
Glad you are joining the discussion cause I'll eventually leave to work. OP should be able to flash the RUU with your help, just forgot to mention that he/she had to use htc_fastboot for flashing the RUU hence the "Invalid sparse file format" error (See post above yours).
Btw no offense intended but I think tip #1 is leading to confusion. USB debugging is not required to flash a custom recovery nor it is required to use adb from recovery. USB debugging is only enabling ADB access from a booted rom...:good:
Click to expand...
Click to collapse
I know. Just been told. Sudo fastboot flash recovery.img is needed to flash it. I'm pro HTC and never found the reason why to enable it in system settings
Sent from my latest and greatest HTC One M7 UL
-¤-¤-TIP FROM THE NOOB-¤-¤-
1. enable USB Debugging before flashing custom recovery.
2. Create system back-up before granting apk's root permission, editing system files, and flashing a new rom.
? better safe than sorry ?
?May the Angels lead your way Tom (Tony Stark) . You will be missed bud ?

@alray @Tony the noob :D, first thanks for your help, just want to mention that I run the htc_fastboot,
C:\fastboot>htc_fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.1
401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 7.19.401.51
found large-zip header, file count: 5
processing file 1/5...
But it stock there, been like 30 minutes, and my phone got out of the HTC gray logo, and now is in the white screen loader, but instead of saying fastboot and all that stuff, only says RUU, is that ok?

@alray @Tony The noob ,after cleaning the cache and try it again this is the notification
C:\fastboot>htc_fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.
401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 7.19.401.51
found large-zip header, file count: 5
processing file 1/5...
sending 'zip' (50228 KB)...
OKAY [ 3.136s]
writing 'zip'...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(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: 4.900s
preupdate done, rebooting...
resending command...
sending 'zip' (50228 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 10.441s
htc_fastboot finished. total time: 26.124s

@alray @Tony the noob :D, after trying few time more, finally I could, I just want to say appreciated for all the directions you gave me.

adrianponce said:
@alray @Tony the noob :D, after trying few time more, finally I could, I just want to say appreciated for all the directions you gave me.
Click to expand...
Click to collapse
Good to hear that. If you need any other assistance, please post or send me PM.
Sent from my latest and greatest HTC One M7 UL
-¤-¤-TIP FROM THE NOOB-¤-¤-
Create system back-up before granting apk's root permission, editing system files, and flashing a new rom.
? better safe than sorry ?
?May the Angels lead your way Tom (Tony Stark) . You will be missed bud ?

Related

[Q] Can't seem to get any rom to work. A beer to whomever can help me out!

I've tried a number of different combinations to get my HTC One running on a custom ROM, and none of them seem to work.
S-ON
HBOOT=1.56.0000
Click to expand...
Click to collapse
I've tried using both TWRP and CWM, and tried installing both the latest Viper and Bad Boyz roms. Regardless, installation completes successfully (apparently) and the phone reboots. It gets past the loading screen, then to a locked home screen. Upon unlock, all I see is a white screen with the HTC logo.
Sometimes, I'll get a dialog with the following error:
Process com.htc.htcdialer isn't responding
Click to expand...
Click to collapse
The phone then reboots itself, and the cycle begins again.
I will happily through a beer, coffee, or other beverage of choice (or equivalent) to whomever is able to help me out. Thank you!
You did do a full wipe in recovery correct? I've flashed both of those no problem.
Sent from my HTCONE using Tapatalk
Bairdog35 said:
You did do a full wipe in recovery correct? I've flashed both of those no problem.
Click to expand...
Click to collapse
I have, yes. Does not appear to make a difference, unfortunately. Performed full wipes, made sure to wipe both caches upon install, still stuck.
kadjar said:
I have, yes. Does not appear to make a difference, unfortunately. Performed full wipes, made sure to wipe both caches upon install, still stuck.
Click to expand...
Click to collapse
You are using a Sprint HTC one correct? May be a stupid question for me to ask, but you'd be surprised how easily people get lost here!
Sent from my HTCONE using Tapatalk
Bairdog35 said:
You are using a Sprint HTC one correct? May be a stupid question for me to ask, but you'd be surprised how easily people get lost here!
Click to expand...
Click to collapse
I am indeed I appreciate you making sure! I can't help but wonder if I did something similarly dumb to bungle this thing.
kadjar said:
I am indeed I appreciate you making sure! I can't help but wonder if I did something similarly dumb to bungle this thing.
Click to expand...
Click to collapse
You are in a pickle haha, this is what I would do. If your phone is not in a working state, RUU back to stock, then unlock the boot loader again, flash TWRP recovery, try flashing your Rom of choice. I bet after that process your Rom will boot and run just fine.
Sent from my HTCONE using Tapatalk
Bairdog35 said:
You are in a pickle haha, this is what I would do. If your phone is not in a working state, RUU back to stock, then unlock the boot loader again, flash TWRP recovery, try flashing your Rom of choice. I bet after that process your Rom will boot and run just fine.
Click to expand...
Click to collapse
Darn. Do you happen to know if there's any way to RUU on a mac? Everything I've seen so far seems to utilize a .exe
I would also re-download your ROM/S you wish to try, it's amazing how easily an error can come from the download itself and not show up until it's flashed
Process of Elimination.
Bashing away at my HTC Desire C
kadjar said:
I've tried a number of different combinations to get my HTC One running on a custom ROM, and none of them seem to work.
I've tried using both TWRP and CWM, and tried installing both the latest Viper and Bad Boyz roms. Regardless, installation completes successfully (apparently) and the phone reboots. It gets past the loading screen, then to a locked home screen. Upon unlock, all I see is a white screen with the HTC logo.
Sometimes, I'll get a dialog with the following error:
The phone then reboots itself, and the cycle begins again.
I will happily through a beer, coffee, or other beverage of choice (or equivalent) to whomever is able to help me out. Thank you!
Click to expand...
Click to collapse
try reflashing the latest radio with twrp recovery, you can find them in flashable zips here in the threads.
kadjar said:
Darn. Do you happen to know if there's any way to RUU on a mac? Everything I've seen so far seems to utilize a .exe
Click to expand...
Click to collapse
Man this is just not your day haha
Download this http://www.androidfilehost.com/?fid=23329332407573774
Unzip it, you will find Rom.zip inside the folder.
I'm assuming you have fastboot working on your Mac
Reboot your phone into boot loader, select fastboot, plug into Mac.
Make sure you relock your boot loader.
Move that Rom.zip into the folder that fastboot is found on mac.
Type the following commands
1. fastboot oem rebootRUU
2. fastboot flash zip rom.zip
3. fastboot flash zip rom.zip
4. fastboot reboot
Yes you need to do fastboot flash zip Rom.zip twice, it will fail the first time.
Let it do its thing then reboot. You should have your phone back to stock!
Sent from my HTCONE using Tapatalk
Followed your instructions, but it seems to be failing (more than once)
Any guesses as to what I'm doing wrong?
Code:
➜ platform-tools ./fastboot oem lock
...
(bootloader) Lock successfully...
(bootloader) mipi display off
(bootloader) mipi_dsi_cmds_tx_ext
(bootloader) pm8921_vreg_disable function, vreg_id = 38
(bootloader) pm8921_vreg_disable function, vreg_id = 1
(bootloader) TZ_HTC_SVC_DISABLE ret = 534642044 (0x1FDDFD7C)
(bootloader) Use PSHOLD to reset device.
ERROR: usb_read failed with status e00002c0
FAILED (status read failed (No such file or directory))
finished. total time: 1.131s
➜ platform-tools ./fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.035s]
finished. total time: 0.035s
➜ platform-tools ./fastboot flash zip /Users/garrett/Dev/android/stock.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 120085191 is not a multiple of the block size 4096
sending sparse 'zip' (1476856 KB)...
error: write_sparse_skip_chunk: don't care size 120085191 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 120085191 is not a multiple of the block size 4096
OKAY [ 86.741s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 237.804s
➜ platform-tools ./fastboot flash zip /Users/garrett/Dev/android/stock.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 124279495 is not a multiple of the block size 4096
sending sparse 'zip' (1478186 KB)...
error: write_sparse_skip_chunk: don't care size 124279495 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 124279495 is not a multiple of the block size 4096
OKAY [ 70.744s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 222.003s
➜ platform-tools ./fastboot flash zip /Users/garrett/Dev/android/stock.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 128047815 is not a multiple of the block size 4096
sending sparse 'zip' (1476924 KB)...
error: write_sparse_skip_chunk: don't care size 128047815 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 128047815 is not a multiple of the block size 4096
OKAY [ 69.791s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 220.860s
Your fastboot exe may be bad, try installing from this thread - http://forum.xda-developers.com/showthread.php?t=2588979
Bairdog35 said:
Man this is just not your day haha
Download this http://www.androidfilehost.com/?fid=23329332407573774
Unzip it, you will find Rom.zip inside the folder.
I'm assuming you have fastboot working on your Mac
Reboot your phone into boot loader, select fastboot, plug into Mac.
Make sure you relock your boot loader.
Move that Rom.zip into the folder that fastboot is found on mac.
Type the following commands
1. fastboot oem rebootRUU
2. fastboot flash zip rom.zip
3. fastboot flash zip rom.zip
4. fastboot reboot
Yes you need to do fastboot flash zip Rom.zip twice, it will fail the first time.
Let it do its thing then reboot. You should have your phone back to stock!
Sent from my HTCONE using Tapatalk
Click to expand...
Click to collapse
You, sir, I owe a beer. Back up and running on stock, managed to root stock as well. PM me your paypal?
kadjar said:
You, sir, I owe a beer. Back up and running on stock, managed to root stock as well. PM me your paypal?
Click to expand...
Click to collapse
Seems you found it, thank you greatly. If you need anything, don't be afraid to pm me
Sent from my HTCONE using Tapatalk
Htc one A9 firmware flashing problem
htc one a9 (model: 2PQ9100) see the error below i'm facing please help me i am very upset :crying:
C:\adb>fastboot oem rebootRUU
...
OKAY [ 0.047s]
finished. total time: 0.048s
C:\adb>fastboot flash zip firmware.zip
target reported max download size of 1166400000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 617001178 is not a multiple of the block size 4096
sending sparse 'zip' (1139061 KB)...
error: write_sparse_skip_chunk: don't care size 617001178 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 617001178 is not a multiple of the block size 4096
OKAY [ 53.554s]
writing 'zip'...
(bootloader) HOSD CL#853511
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_z
(bootloader) EOonp
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 91.572s
First thing I would do is get a fresh download of the RUU update and try that.

[Q] Soft Brick - ADB Push/Sideload; ROM is "corrupt"

[SOLVED]
Hello gentlemen,
I'm the noob that wiped his OS without installing a new one--yea, that guy. :laugh:
Long story short: I'm using TWRP and trying to sideload or push via ADB a new ROM onto the M7. I've tried a stock rom and two other well renowned ROMS. Each time, though it pushes over or sideloads, it fails install because the file is "corrupt." I searched the forums and web to get up to where I'm at, but can't get further. I also tried that other recovery CWM or whatever it is--that one had a similar error, though it didn't say corrupt (I can get that info if it'd help you help me).
Thanks in advance. I'll send some bitcoin to whoever gets my case solved. :fingers-crossed:
Code in TWRP is as follows:
Updating partition details...
Full Selinux support is present.
Starting ADB sideload feature...
Installing '/data/media/sideload.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
E: Zip file is corrupt!
Updating partition details...
seth22h said:
Hello gentlemen,
I'm the noob that wiped his OS without installing a new one--yea, that guy. :laugh:
Long story short: I'm using TWRP and trying to sideload or push via ADB a new ROM onto the M7. I've tried a stock rom and two other well renowned ROMS. Each time, though it pushes over or sideloads, it fails install because the file is "corrupt." I searched the forums and web to get up to where I'm at, but can't get further. I also tried that other recovery CWM or whatever it is--that one had a similar error, though it didn't say corrupt (I can get that info if it'd help you help me).
Thanks in advance. I'll send some bitcoin to whoever gets my case solved. :fingers-crossed:
Code in TWRP is as follows:
Updating partition details...
Full Selinux support is present.
Starting ADB sideload feature...
Installing '/data/media/sideload.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
E: Zip file is corrupt!
Updating partition details...
Click to expand...
Click to collapse
Your output of fastboot getvar all (remove IMEI) .. also the exact command you are running for sideload?
SaHiLzZ said:
Your output of fastboot getvar all (remove IMEI) .. also the exact command you are running for sideload?
Click to expand...
Click to collapse
getvar all:
seths-air:android sethhoskins$ ./fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.14.3250.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.29.1540.17
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: HT34HW902411
(bootloader) imei: lololololololol
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4306mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
ERROR: usb_read failed with status e00002e8
getvar:all FAILED (status read failed (No such file or directory))
finished. total time: 0.064s
-----------
As for the sideload, i'm following a set of instructions, "How to Fix a Soft-Bricked HTC One by Flashing a New ROM via ADB" from HTC-One Wonder How To website.
It seems to work and send through. In terminal:
./adb kill-server
./adb usb
./adb devices (to ensure device shows up)
./adb sideload *name of ROM*
Then sideload starts, showing percent complete, etc. Then once complete, it fails in the device with the TWRP output in the OP.
Change CID to BS_US001 and flash this while in bootloader mode.. http://www.htc1guru.com/dld/ruu_m7_ul_jb_50_brightstarus_wwe_1-29-1540-16-exe/
You will need a Windows machine..
SaHiLzZ said:
Change CID to BS_US001 and flash this while in bootloader mode..
You will need a Windows machine..
Click to expand...
Click to collapse
How do I change the CID?
What am I flashing there? What ROM/version of android?
No way to do this on a mac? (No windows, no access to one)
seth22h said:
How do I change the CID?
What am I flashing there? What ROM/version of android?
No way to do this on a mac? (No windows, no access to one)
Click to expand...
Click to collapse
The same way you changed it to 11111111
You were going to be flashing a RUU of the same version as per your fastboot output main-ver. However, this is this file that I found that you can use on a mac.
http://forum.xda-developers.com/showthread.php?t=2460534
Download it.. and flash it with..
fastboot oem rebootRUU
fastboot flash zip filename.zip
fastboot flash zip filename.zip (twice.)
fastboot reboot
SaHiLzZ said:
The same way you changed it to 11111111
You were going to be flashing a RUU of the same version as per your fastboot output main-ver. However, this is this file that I found that you can use on a mac.
http://forum.xda-developers.com/showthread.php?t=2460534
Download it.. and flash it with..
fastboot oem rebootRUU
fastboot flash zip filename.zip
fastboot flash zip filename.zip (twice.)
fastboot reboot
Click to expand...
Click to collapse
Sorry man, I didn't change it to '111111111'. I bought this thing used and it was already unlocked. Please help me out on that.
I'll then try those commands.
So that will install a new OS? (I was convince by the internets I had to use ADB because I have no OS on the device and it's wiped).
Thanks man!
Read this, its my thread and I did the same thing myself, its much easier to do it this way than sideload.
http://forum.xda-developers.com/showthread.php?t=2757977
Seanie280672 said:
Read this, its my thread and I did the same thing myself, its much easier to do it this way than sideload.
http://forum.xda-developers.com/showthread.php?t=2757977
Click to expand...
Click to collapse
I tried adb push. The problem is the .zip file keeps failing to install because it's "corrupt."
Try downloading the zip file again, other than that try and get hold of the guru reset zip for your phone, however as you are S-OFF you can download any Rom for your phone and push it and flash it.
Fastboot oem writecid BS_US001
Seanie280672 said:
Try downloading the zip file again, other than that try and get hold of the guru reset zip for your phone, however as you are S-OFF you can download any Rom for your phone and push it and flash it.
Click to expand...
Click to collapse
I tried re-downloading multiple ROM multiple times.
SaHiLzZ said:
Fastboot oem writecid BS_US001
Click to expand...
Click to collapse
Thanks for the command. So the only way you know of to fix this is on a Windows?
seth22h said:
Thanks for the command. So the only way you know of to fix this is on a Windows?
Click to expand...
Click to collapse
No .. my second reply is with a zip file. Its higher than what you have but as it is a zip file, it will work on MAC
SaHiLzZ said:
No .. my second reply is with a zip file. Its higher than what you have but as it is a zip file, it will work on MAC
Click to expand...
Click to collapse
Sorry -- forgot you listed another. I will try this after work today and follow up.
SaHiLzZ said:
The same way you changed it to 11111111
You were going to be flashing a RUU of the same version as per your fastboot output main-ver. However, this is this file that I found that you can use on a mac.
http://forum.xda-developers.com/showthread.php?t=2460534
Download it.. and flash it with..
fastboot oem rebootRUU
fastboot flash zip filename.zip
fastboot flash zip filename.zip (twice.)
fastboot reboot
Click to expand...
Click to collapse
So I downloaded that RUU, but it was some weird video file..?
[coldhell]_Rozen_Maiden_2013_EP03_v2_[2001BCE4].mkv.002
Weird. Need different link.
deleted........
SaHiLzZ said:
No .. my second reply is with a zip file. Its higher than what you have but as it is a zip file, it will work on MAC
Click to expand...
Click to collapse
Tried it with a different ROM (sorry, impatient) and it failed:
seths-air:android sethhoskins$ ./Fastboot oem writecid BS_US001
...
(bootloader) Start Verify: 0
OKAY [ 0.022s]
finished. total time: 0.022s
seths-air:android sethhoskins$ ./fastboot devices
HT34HW902411 fastboot
seths-air:android sethhoskins$ ./fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.047s]
finished. total time: 0.047s
seths-air:android sethhoskins$ ./fastboot flash zip M7_UL_JB43_50_Cingular_3.10.502.2.zip
./fastboot flash zip M7_UL_JB43_50_Cingular_3.10.502.2.zip
./fastboot rebootsending 'zip' (1153504 KB)...
OKAY [ 46.191s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
FAILED (remote: 42 custom id check fail)
finished. total time: 46.683s
seths-air:android sethhoskins$ ./fastboot flash zip M7_UL_JB43_50_Cingular_3.10.502.2.zip
sending 'zip' (1153504 KB)...
OKAY [ 46.531s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
FAILED (remote: 42 custom id check fail)
finished. total time: 47.026s
seths-air:android sethhoskins$ ./fastboot reboot
rebooting...
finished. total time: 0.035s
X.X.502.X - CINGULAR/ATT US - needs a CID of CWS__001
You can try that
---------- Post added at 12:53 AM ---------- Previous post was at 12:49 AM ----------
Alternate link> http://www.htc1guru.com/dld/ruu-zip...r_brightstarus_wwe_3-22-1540-1-decrypted-zip/< This one Needs BS_US001 as your CID
SaHiLzZ said:
X.X.502.X - CINGULAR/ATT US - needs a CID of CWS__001
You can try that
---------- Post added at 12:53 AM ---------- Previous post was at 12:49 AM ----------
Alternate link> http://www.htc1guru.com/dld/ruu-zip...r_brightstarus_wwe_3-22-1540-1-decrypted-zip/< This one Needs BS_US001 as your CID
Click to expand...
Click to collapse
Downloading now. That's the same CID as before, by the way.
I'm going with the link RUU, not the one you named (and didn't link). Same command as before.
All correct?

[Q] Bricked HTC One M7 after attempting to restore to stock using YouTube video guide

I am looking for some help in getting my HTC One M7 back up and working.
I used the online Cyanogenmod installer on my at&t HTC One M7 and it worked for the most part including where it contacts the HTC site to place the phone in developer mode.
Unfortunately the radio was far weaker and was losing it's signal all the time. I tried a few nightly's in hopes it was a bug that would be addressed but the issue with radio strength continued. Then an alert about an update from Cyanogen popped up and I trustingly clocked OK thinking that perhaps THIS would fix the radio stregth issue and I can keep my rooted ROM. Instead it broke Bluetooth entirely.
So I watched a YouTube video on restoring to stock. Apparently I can't post the link,
I got all the way to the part where I use fastboot to install the zip, HTCOne-32GB-ATT-5.12.502.2-TWRP-stock-unrooted.zip
It failed but not in the manner described in the video I believe it is due to the phone security set to S-ON but I have yet to find a way to set it back to S-OFF from where things are now.
This was the steps from the video I followed starting with fastboot getvar version-main and the fastboot oem lock
I then went through the following commands
C:\fastboot>fastboot erase cache
erasing 'cache'...
OKAY [ 0.054s]
finished. total time: 0.054s
C:\fastboot>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.031s]
finished. total time: 0.031s
C:\fastboot>fastboot flash zip HTCOne-32GB-ATT-5.12.502.2-TWRP-stock-unrooted.zip
sending 'zip' (1249780 KB)...
OKAY [ 47.434s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 171.191s
And so it failed. The HTC screen came up but there was no progress bar so I know that fast boot is talking to the phone. I have been looking for a fix ever since and I am presently using a flip phone while working on getting the HTC One back.
Presently the phone boots directly into fastboot and will not allow me to do anything but reboot or power down but I can still use fastboot.
Revolutionary just sits at waiting for device.
The HTC One Toolkit is of no use as it also cannot see the device.
This is what is on the screen presently. Any help would be appreciated.
*** TAMPERED ***
*** RELOCKED ***
*** Security Warning ***
M7_UL PVT SHIP S-ON RH
HBOOT-1.57.0000
RADIO-4M.27.3218.14
OpenDSP-v32.120.274.0909
OS-5.12.502.2
eMMC-boot 2048MB
Apr 22 2014,01:10:58.0
FASTBOOT USB
<VOL UP> to previous item
<VOL DOWN> to next item
<POWER> to select item
BOOTLOADER
REBOOT
REBOOT BOOTLOADER
POWER DOWN
Here is the results for fastboot getvar all
C:\fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4M.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.12.502.2
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: XXXXXXXXXXXXX
(bootloader) imei: XXXXXXXXXXXXXXX
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4290mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-1f512bb6
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.048s
TexMachina said:
I am looking for some help in getting my HTC One M7 back up and working.
I used the online Cyanogenmod installer on my at&t HTC One M7 and it worked for the most part including where it contacts the HTC site to place the phone in developer mode.
Unfortunately the radio was far weaker and was losing it's signal all the time. I tried a few nightly's in hopes it was a bug that would be addressed but the issue with radio strength continued. Then an alert about an update from Cyanogen popped up and I trustingly clocked OK thinking that perhaps THIS would fix the radio stregth issue and I can keep my rooted ROM. Instead it broke Bluetooth entirely.
So I watched a YouTube video on restoring to stock. Apparently I can't post the link,
I got all the way to the part where I use fastboot to install the zip, HTCOne-32GB-ATT-5.12.502.2-TWRP-stock-unrooted.zip
It failed but not in the manner described in the video I believe it is due to the phone security set to S-ON but I have yet to find a way to set it back to S-OFF from where things are now.
This was the steps from the video I followed starting with fastboot getvar version-main and the fastboot oem lock
I then went through the following commands
C:\fastboot>fastboot erase cache
erasing 'cache'...
OKAY [ 0.054s]
finished. total time: 0.054s
C:\fastboot>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.031s]
finished. total time: 0.031s
C:\fastboot>fastboot flash zip HTCOne-32GB-ATT-5.12.502.2-TWRP-stock-unrooted.zip
sending 'zip' (1249780 KB)...
OKAY [ 47.434s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 171.191s
And so it failed. The HTC screen came up but there was no progress bar so I know that fast boot is talking to the phone. I have been looking for a fix ever since and I am presently using a flip phone while working on getting the HTC One back.
Presently the phone boots directly into fastboot and will not allow me to do anything but reboot or power down but I can still use fastboot.
Revolutionary just sits at waiting for device.
The HTC One Toolkit is of no use as it also cannot see the device.
This is what is on the screen presently. Any help would be appreciated.
*** TAMPERED ***
*** RELOCKED ***
*** Security Warning ***
M7_UL PVT SHIP S-ON RH
HBOOT-1.57.0000
RADIO-4M.27.3218.14
OpenDSP-v32.120.274.0909
OS-5.12.502.2
eMMC-boot 2048MB
Apr 22 2014,01:10:58.0
FASTBOOT USB
<VOL UP> to previous item
<VOL DOWN> to next item
<POWER> to select item
BOOTLOADER
REBOOT
REBOOT BOOTLOADER
POWER DOWN
Here is the results for fastboot getvar all
C:\fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4M.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.12.502.2
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT3xxxxxxxxxxxxxx
(bootloader) imei: 354xxxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4290mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-1f512bb6
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.048s
Click to expand...
Click to collapse
Ok
First thing .. edit your post above and remove the Serialno and IMEI
second the file you downloaded is my TWRP Backup and has to be restored using TWRP ...not flashed
it would be easier for you to use the Guru Reset I made
here >> http://www.androidfilehost.com/?fid=23501681358545274
So unlock your bootloader and flash TWRP 2.6.3.3
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
then sideload the Guru Reset from within TWRP
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot
clsA said:
Ok
First thing .. edit your post above and remove the Serialno and IMEI
Click to expand...
Click to collapse
Whooops!
Thanks for the heads up on that. I'll get to work on the fix and post an update later.
I am getting the signature verify fail error when attempting to load the recovery image now. Is this due to security being set on, S-ON?
C:\fastboot>fastboot flash recovery openrecovery-twrp-2.6.
3.3-m7.img
sending 'recovery' (9184 KB)...
OKAY [ 1.116s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 1.863s
I made sure the images were in the fastboot directory.
Directory of C:\fastboot
08/23/2014 12:56 PM <DIR> .
08/23/2014 12:56 PM <DIR> ..
04/05/2012 05:49 AM 162,816 adb.exe
04/05/2012 05:49 AM 96,256 AdbWinApi.dll
04/05/2012 05:49 AM 70,144 fastboot.exe
08/23/2014 12:48 PM 986,880,264 Guru_Reset_M7_5.12.502.2_clsA.zip
08/23/2014 12:42 PM 9,404,416 openrecovery-twrp-2.6.3.3-m7.img
5 File(s) 996,613,896 bytes
TexMachina said:
I am getting the signature verify fail error when attempting to load the recovery image now. Is this due to security being set on, S-ON?
C:\fastboot>fastboot flash recovery openrecovery-twrp-2.6.
3.3-m7.img
sending 'recovery' (9184 KB)...
OKAY [ 1.116s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 1.863s
I made sure the images were in the fastboot directory.
Directory of C:\fastboot
08/23/2014 12:56 PM <DIR> .
08/23/2014 12:56 PM <DIR> ..
04/05/2012 05:49 AM 162,816 adb.exe
04/05/2012 05:49 AM 96,256 AdbWinApi.dll
04/05/2012 05:49 AM 70,144 fastboot.exe
08/23/2014 12:48 PM 986,880,264 Guru_Reset_M7_5.12.502.2_clsA.zip
08/23/2014 12:42 PM 9,404,416 openrecovery-twrp-2.6.3.3-m7.img
5 File(s) 996,613,896 bytes
Click to expand...
Click to collapse
no your doing fine.. just unlock the bootloader
clsA said:
no your doing fine.. just unlock the bootloader
Click to expand...
Click to collapse
I'm not sure I am doing this right. I am getting what appears to be a syntax error.
C:\fastboot>fastboot devices
HT34XXXXXXXX fastboot
C:\fastboot>fastboot oem unlock
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.023s]
finished. total time: 0.023s
This is the command I sued from the original YouTube video on locking it for stock ROM. It shows it as having already been locked now.
C:\fastboot>fastboot oem lock
...
(bootloader) Device was already locked!
OKAY [ 0.002s]
finished. total time: 0.002s
Stupid me, sorry. I had Cyanogenmod do it for me last time. I am on HTCDev getting my unlock token now.
TexMachina said:
I'm not sure I am doing this right. I am getting what appears to be a syntax error.
C:\fastboot>fastboot devices
HT34XXXXXXXX fastboot
C:\fastboot>fastboot oem unlock
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.023s]
finished. total time: 0.023s
This is the command I sued from the original YouTube video on locking it for stock ROM. It shows it as having already been locked now.
C:\fastboot>fastboot oem lock
...
(bootloader) Device was already locked!
OKAY [ 0.002s]
finished. total time: 0.002s
Click to expand...
Click to collapse
no you have to go back to HTCDEV.com and get the unlock token from htc
clsA said:
no you have to go back to HTCDEV.com and get the unlock token from htc
Click to expand...
Click to collapse
Sorry about that. I had the Cyanogenmod install site do it for me last time.
I completed the unlocking but the Android Debug Bridge does not recognize the sideload command. It just spits back the help menu.
C:\fastboot>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.141s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.003s]
finished. total time: 0.146s
C:\fastboot>fastboot devices
HT34xxxxxxxx fastboot
C:\fastboot>fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
sending 'recovery' (9184 KB)...
OKAY [ 1.115s]
writing 'recovery'...
OKAY [ 0.718s]
finished. total time: 1.833s
C:\fastboot>fastboot erase cache
erasing 'cache'...
OKAY [ 0.050s]
finished. total time: 0.050s
C:\fastboot>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.034s]
finished. total time: 0.034s
C:\fastboot>adb sideload Guru_Reset_M7_5.12.502.2_clsA.zip
Android Debug Bridge version 1.0.29
... <entire help menu>
Perhaps my adb version is not correct. I did find reference to a push command in the help menu.
adb push <local> <remote> - copy file/dir to device
Also, there is that fastboot command I attempted to use before I unlocked the bootloader.
Also also, thanks for all the help.
edit: I didn't reboot into recovery. I did now but it is asking for a password
TexMachina said:
Sorry about that. I had the Cyanogenmod install site do it for me last time.
I completed the unlocking but the Android Debug Bridge does not recognize the sideload command. It just spits back the help menu.
C:\fastboot>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.141s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.003s]
finished. total time: 0.146s
C:\fastboot>fastboot devices
HT34xxxxxxxx fastboot
C:\fastboot>fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
sending 'recovery' (9184 KB)...
OKAY [ 1.115s]
writing 'recovery'...
OKAY [ 0.718s]
finished. total time: 1.833s
C:\fastboot>fastboot erase cache
erasing 'cache'...
OKAY [ 0.050s]
finished. total time: 0.050s
C:\fastboot>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.034s]
finished. total time: 0.034s
C:\fastboot>adb sideload Guru_Reset_M7_5.12.502.2_clsA.zip
Android Debug Bridge version 1.0.29
... <entire help menu>
Perhaps my adb version is not correct. I did find reference to a push command in the help menu.
adb push <local> <remote> - copy file/dir to device
Also, there is that fastboot command I attempted to use before I unlocked the bootloader.
Also also, thanks for all the help.
edit: I didn't reboot into recovery. I did now but it is asking for a password
Click to expand...
Click to collapse
theirs no password on TWRP
To sideload
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot
clsA said:
theirs no password on TWRP
To sideload
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot
Click to expand...
Click to collapse
I appreciate all the help and I don't want to appear difficult but when I run the adb sideload Guru_Reset_M7_5.12.502.2_clsA.zip with the rom in the same folder adb simply refuses to recognize the sideload command. It spits back the help menu and I can't find sideload in said menu.
edit: I am using adb push to place the rom on the phones /sdcard directory and I am gong to use TWRP to install while in recovery mode. The copy is taking a while so if this is going to brick my phone let me know.
edit 2: now I don;t think I want to do this. The online resource don't mention anything specifically about installing a ROM using this method.
edit 3: I tried using the HTC One Toolkit which comes with adb 1.0.31. It gave me the following error
adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT34xxxxxxxx recovery
adb sideload "File Path..."
* cannot read 'sideload' *
adb sideload "C:\fastboot\Guru_Reset_M7_5.12.502.2_clsA.zip"
error: closed
I am going to the gym to clear my head. Thanks again for all the help so far.
TexMachina said:
I appreciate all the help and I don't want to appear difficult but when I run the adb sideload Guru_Reset_M7_5.12.502.2_clsA.zip with the rom in the same folder adb simply refuses to recognize the sideload command. It spits back the help menu and I can't find sideload in said menu.
edit: I am using adb push to place the rom on the phones /sdcard directory and I am gong to use TWRP to install while in recovery mode. The copy is taking a while so if this is going to brick my phone let me know.
edit 2: now I don;t think I want to do this. The online resource don't mention anything specifically about installing a ROM using this method.
Click to expand...
Click to collapse
your doing fine ..what was the error and why is sideload not in your version of TWRP ?
Is this the same resource that suggested flashing a TWRP recovery file with fastboot ? ... trust me you in good hands now ..just push the rom and flash it
during install choose no to install stock recovery and yes to Root the phone.
unless of coarse you want a stock unrooted phone
clsA said:
your doing fine ..what was the error and why is sideload not in your version of TWRP ?
Is this the same resource that suggested flashing a TWRP recovery file with fastboot ? ... trust me you in good hands now ..just push the rom and flash it
during install choose no to install stock recovery and yes to Root the phone.
unless of coarse you want a stock unrooted phone
Click to expand...
Click to collapse
I didn't realize the thread went to page 2. I thought you just dropped off the tread.
Sideload is in TWRP but it does ask for a password. I loaded TWRP 2.6.3.0 and it doesn't ask for a password.
I am pushing the Guru_Reset_M7_5.12.502.2_clsA.zip to /sdcard again. I will try the install once it is there.
TexMachina said:
I didn't realize the thread went to page 2. I thought you just dropped off the tread.
Sideload is in TWRP but it does ask for a password. I loaded TWRP 2.6.3.0 and it doesn't ask for a password.
I am pushing the Guru_Reset_M7_5.12.502.2_clsA.zip to /sdcard again. I will try the install once it is there.
Click to expand...
Click to collapse
I can't tell you if TWRP 2.6.3.0 will work with the Guru Reset ..it's very old and untested
if you saw a password in TWRP 2.6.3.3 you just swipe to make it go away
clsA said:
I can't tell you if TWRP 2.6.3.0 will work with the Guru Reset ..it's very old and untested
if you saw a password in TWRP 2.6.3.3 you just swipe to make it go away
Click to expand...
Click to collapse
I loaded TWRP 2.6.3.3 again and I have to hit cancel to get past the password. I then can go to ADB Sideload but it always says Failed at the top while the only thing in the terminal window is Updating partition details.
I loaded TWRP 2.7.1.1 and was able to load up ADB Sideload and attempt a sideload from HTC One Tools which uses adb 1.0.31. I still get a syntax error when trying to use sidelaod from the command line.
It got as far as 77% before failing with this error message
sending: 'sideload' 77%
* failed to write data 'protocol fault (no status)' *
I also keep getting unable to mount /data and unable to mount internal storage errors on the TWRP ADB Sideload terminal.
I need to quit for the night. It seems like I am getting closer to a solution though.
I'll use the backup flip phone and I'll just have to talk to people while out tonight I guess. Thanks for your help.
TexMachina said:
I loaded TWRP 2.6.3.3 again and I have to hit cancel to get past the password. I then can go to ADB Sideload but it always says Failed at the top while the only thing in the terminal window is Updating partition details.
I loaded TWRP 2.7.1.1 and was able to load up ADB Sideload and attempt a sideload from HTC One Tools which uses adb 1.0.31. I still get a syntax error when trying to use sidelaod from the command line.
It got as far as 77% before failing with this error message
sending: 'sideload' 77%
* failed to write data 'protocol fault (no status)' *
I also keep getting unable to mount /data and unable to mount internal storage errors on the TWRP ADB Sideload terminal.
I need to quit for the night. It seems like I am getting closer to a solution though.
I'll use the backup flip phone and I'll just have to talk to people while out tonight I guess. Thanks for your help.
Click to expand...
Click to collapse
Yeah have a great night.
When you get back >>
Is you phone sdcard full ?
have you done factory reset and or format data partition in TWRP?
If it's too full to push / sideload a rom.
TWRP does have a file manager feature you may need to free up space using it. adb 1.0.31 is the version i use all the time... never an issue.
you would get mounting errors if the partitions were formatted or erased...it's ok the new rom recreates them
TexMachina said:
I loaded TWRP 2.6.3.3 again and I have to hit cancel to get past the password. I then can go to ADB Sideload but it always says Failed at the top while the only thing in the terminal window is Updating partition details.
I loaded TWRP 2.7.1.1 and was able to load up ADB Sideload and attempt a sideload from HTC One Tools which uses adb 1.0.31. I still get a syntax error when trying to use sidelaod from the command line.
It got as far as 77% before failing with this error message
sending: 'sideload' 77%
* failed to write data 'protocol fault (no status)' *
I also keep getting unable to mount /data and unable to mount internal storage errors on the TWRP ADB Sideload terminal.
I need to quit for the night. It seems like I am getting closer to a solution though.
I'll use the backup flip phone and I'll just have to talk to people while out tonight I guess. Thanks for your help.
Click to expand...
Click to collapse
Point D here: http://forum.xda-developers.com/showpost.php?p=53270352&postcount=21
clsA said:
Yeah have a great night.
When you get back >>
Is you phone sdcard full ?
have you done factory reset and or format data partition in TWRP?
If it's too full to push / sideload a rom.
TWRP does have a file manager feature you may need to free up space using it. adb 1.0.31 is the version i use all the time... never an issue.
you would get mounting errors if the partitions were formatted or erased...it's ok the new rom recreates them
Click to expand...
Click to collapse
That final instruction did it. With the partitions cleared I was able to sideload the ROM and it installed without issue in from TWRP 2.7.1.1
Thanks for all the help.
TexMachina said:
That final instruction did it. With the partitions cleared I was able to sideload the ROM and it installed without issue in from TWRP 2.7.1.1
Thanks for all the help.
Click to expand...
Click to collapse
Great !! Thank you !
TexMachina said:
That final instruction did it. With the partitions cleared I was able to sideload the ROM and it installed without issue in from TWRP 2.7.1.1
Thanks for all the help.
Click to expand...
Click to collapse
clsA said:
Great !! Thank you !
Click to expand...
Click to collapse
a few months late to the party but how did you clear the partitions because I'm getting
E: Unable to mount '/cashe'
edit: Finished the adb push but HTC One still goes into Cyanogenmod......hopefully i can just leave this alone for a while cause atleast it turns on now
xaviergreaux said:
a few months late to the party but how did you clear the partitions because I'm getting
E: Unable to mount '/cashe'
edit: Finished the adb push but HTC One still goes into Cyanogenmod......hopefully i can just leave this alone for a while cause atleast it turns on now
Click to expand...
Click to collapse
after pushing a file you still have to install it
adb sideload copy's the file and installs it. Push does not

[Q] Softbricked the M7, made it even worse afterwards. Do'nt know what to do

So, I've tried to get S-Off for a while, but my OS had to be the same as ROM version, so I did that. But here's where it went from bad to worse.. I flashed what I thought was a new ROM, but apparently there was no OS installed now.. It asked me if I wanted to unroot my phone in recovery, I unknowingly swiped yes.. So now I'm stuck here in fastboot without recovery and I can't flash a new recovery since I also did fastboot oem lock, and when I try to unlock bootloader all I get is "cannot open Unlock_code.bin" Any help would be greatly appreciated! I'm quite familiar with rooting, I've had similar ROMs on my phone before. The phone is from december 2013. Anyone knows what I can do
RichardFilipino said:
So, I've tried to get S-Off for a while, but my OS had to be the same as ROM version
Click to expand...
Click to collapse
not entirely necessary, sometimes helps, S-Off options (depending on your situation)
revone/moonshine -> rumrunner -> firewater -> sunshine (sunshine is by far the easiest and most reliable, but does cost $25)
RichardFilipino said:
It asked me if I wanted to unroot my phone in recovery, I unknowingly swiped yes
Click to expand...
Click to collapse
it asked you if you wanted to root, not UNroot.
RichardFilipino said:
"cannot open Unlock_code.bin"
Click to expand...
Click to collapse
cannot open / cannot load is usually MyFileNameIsWrong, or not in the same folder etc.
Sorry, I meant root yes..
The code name is right and it's in the right folder.. I've checked that multiple times even when trying to fastboot other files, recovery.img is able to read but not able to flash since I locked it..
RichardFilipino said:
Sorry, I meant root yes..
The code name is right and it's in the right folder.. I've checked that multiple times even when trying to fastboot other files, recovery.img is able to read but not able to flash since I locked it..
Click to expand...
Click to collapse
please:
1- post a "fastboot getvar all" (excluding IMEI and s/n)
2- post the directory contents
3- also, please post the complete command line output as you try to flash the unlock token
getvar all:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.22.3263.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: T-MOB101
(bootloader) battery-status: good
(bootloader) battery-voltage: 4330mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-bee46337
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
I can't post pictures yet is what it says .
RichardFilipino said:
getvar all:
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) product: m7_ul
(bootloader) modelid: PN0710000
(bootloader) cidnum: T-MOB101
I can't post pictures yet is what it says .
Click to expand...
Click to collapse
Edit you post and remove your IMEI and s/n.
don't do screenshots, copy/paste command prompt
example:
Code:
C:\ADB2>cd \ADB3
C:\ADB3>dir
Volume in drive C has no label.
Volume Serial Number is 0622-9D4A
Directory of C:\ADB3
10/10/2014 16:37 <DIR> .
10/10/2014 16:37 <DIR> ..
30/09/2014 19:41 1,482 .twrps
06/02/2014 13:30 513,791 1.29.401.12_hboot_1.44.zip
21/03/2014 15:34 <DIR> 1.29.401.12_hboot_1.44_v2_old
28/03/2014 22:28 0 2014-03-28-adbsync.txt
21/12/2013 13:26 819,200 adb.exe
19/09/2013 22:17 98,304 adbsync.exe
21/12/2013 13:26 96,256 AdbWinApi.dll
21/12/2013 13:26 60,928 AdbWinUsbApi.dll
03/09/2013 13:05 4,164,094 aroma-2.70RC2.zip
30/09/2014 18:31 <DIR> BACKUPS
04/08/2014 18:47 493,416 blink.txt
06/06/2014 21:06 26,904 dmesg.txt
02/05/2014 18:39 0 enter
21/12/2013 13:26 160,256 fastboot.exe
07/03/2014 15:27 <DIR> fw
29/01/2014 18:58 25,271,322 fw_4.19.401.8_custom.zip
22/06/2014 17:22 30,308,418 fw_5.11.401.10_custom.zip
09/09/2014 19:09 30,305,900 fw_6.09.401.5_custom.zip
14/11/2013 21:54 3,645,591 Guru_Bootloader_Reset_1.0.zip
01/05/2014 11:51 1,047,040 mmcblk0p19_bak__xx.img
22/02/2014 14:18 1,047,040 mmcblk0p19_donkeykong1_repaired__xx.img
13/09/2014 13:45 1,047,040 mmcblk0p19_misc.img
02/05/2014 18:40 1,047,040 mmcblk0p19_repaired.img
01/07/2014 16:46 671,088,128 mmcblk0p36_cache.img
12/06/2014 12:22 262,144 mmcblk0p6_bak.img
19/11/2013 16:13 297,289,697 one-1.28.401.7-preloaded-modaco-withoutmovie.zip
09/06/2013 14:21 498,167 orig_hboot_1.44.0000_M7_RUUmode.zip
31/01/2014 11:35 <DIR> partitions
02/05/2014 15:31 <DIR> partitions_2014-01-13
29/04/2014 15:17 <DIR> partitions_2014-02-22
01/05/2014 16:41 <DIR> partition_x1
30/09/2014 18:31 <DIR> RECOVERIES
09/06/2013 16:02 648,208 revone
03/11/2013 21:56 249,028 Screenshot_2013-11-03-20-51-36.png
26 File(s) 1,070,189,394 bytes
10 Dir(s) 26,743,398,400 bytes free
C:\ADB3>
Code:
C:\ADB3>adb version
Android Debug Bridge version 1.0.31
C:\ADB3>fastboot devices
HT34xxxxxxxx fastboot <- you are in bootloader
C:\ADB3>fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
target reported max download size of 1514139648 bytes
sending 'recovery' (9184 KB)...
OKAY [ 1.209s]
writing 'recovery'...
OKAY [ 1.144s]
finished. total time: 2.354s
C:\ADB3>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.120s]
finished. total time: 0.120s
C:\ADB3>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.160s]
finished. total time: 0.160s
Oh it said excluding.. That was dumb.. Quite new to this all..
c:\adb>fastboot flash unlocktoken unlock.bin
error: cannot open 'unlock.bin'
RichardFilipino said:
Oh it said excluding.. That was dumb.. Quite new to this all..
c:\adb>fastboot flash unlocktoken unlock.bin
error: cannot open 'unlock.bin'
Click to expand...
Click to collapse
file name is wrong
I named it that myself.
RichardFilipino said:
I named it that myself.
Click to expand...
Click to collapse
In your fastboot command window type
Code:
fastboot flash unlocktoken
Leaving a space on the end
Then drag and drop the unlock_code.bin into the command window, and hit enter.
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
That worked!
Although I tried to flash a stock RUU with the bootloader still locked..
c:\adb>fastboot flash zip "C:\adb\fastboot\RUU Zip M7_UL_JB43_SENSE50_MR_TMOUS_3
.24.531.3_Radio_4A.21.3263.03_10.38m.1157.04_release_336982_signed_2_decrypted.z
ip"
target reported max download size of 1514139648 bytes
sending 'zip' (1180768 KB)...
OKAY [ 47.548s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 166.616s
RichardFilipino said:
That worked!
Although I tried to flash a stock RUU with the bootloader still locked..
c:\adb>fastboot flash zip "C:\adb\fastboot\RUU Zip M7_UL_JB43_SENSE50_MR_TMOUS_3
.24.531.3_Radio_4A.21.3263.03_10.38m.1157.04_release_336982_signed_2_decrypted.z
ip"
target reported max download size of 1514139648 bytes
sending 'zip' (1180768 KB)...
OKAY [ 47.548s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 166.616s
Click to expand...
Click to collapse
The fact that dragging and dropping the file worked indicates that previously there was a problem with the files name or location. Check your using the correct fastboot/adb folder for both storing your files and running your commands.
You can't downgrade untill your s-off. Your hboot suggests your on 4.xx.531.x so you can't use that ruu.
If your phone is not booting you need to push a Rom and try to s-off first. The initial problem you had (with no os installed) was probably due to rom/recovery incompatibility.
Download Twrp 2.6.3.3 form here
http://techerrata.com/browse/twrp2/m7 and flash it in fastboot.
Code:
fastboot flash recovery "nameofrecovery".img
fastboot erase cache
Then boot to twrp recovery home screen and push your Rom
Code:
adb push "nameofrom".zip /sdcard
You can use the drag and drop method for these commands also (if you need) just remember to leave spaces in the appropriate places. The command window will appear unresponsive until the push completes. Once it's done install the Rom with twrp recovery.
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
In your fastboot command window type
Code:
fastboot flash unlocktoken
Leaving a space on the end
Then drag and drop the unlock_code.bin into the command window, and hit enter.
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Click to expand...
Click to collapse
Ah, I have to remember that one
Danny201281 said:
Your hboot suggests your on 4.xx.531.x so you can't use that ruu.
Click to expand...
Click to collapse
RichardFilipino said:
That worked!
Although I tried to flash a stock RUU with the bootloader still locked..
c:\adb>fastboot flash zip "C:\adb\fastboot\RUU Zip M7_UL_JB43_SENSE50_MR_TMOUS_3
.24.531.3_Radio_4A.21.3263.03_10.38m.1157.04_release_336982_signed_2_decrypted.z
ip"
target reported max download size of 1514139648 bytes
sending 'zip' (1180768 KB)...
OKAY [ 47.548s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 166.616s
Click to expand...
Click to collapse
You can't use those RUUs, those are for US T-Mobile (MID= PN0713000 + CID: T-MOB010), you have a German T-Mobile (MID= PN0710000 + CID: T-MOB101)
so you should currently be on 4.xx.111.x
nkk71 said:
You can't use those RUUs, those are for US T-Mobile (MID= PN0713000 + CID: T-MOB010), you have a German T-Mobile (MID= PN0710000 + CID: T-MOB101)
so you should currently be on 4.xx.111.x
Click to expand...
Click to collapse
Ahh yes that makes more sense , i thought it should be with identifier 111 after searching cid and mid.
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
The fact that dragging and dropping the file worked indicates that previously there was a problem with the files name or location. Check your using the correct fastboot/adb folder for both storing your files and running your commands.
You can't downgrade untill your s-off. Your hboot suggests your on 4.xx.531.x so you can't use that ruu.
If your phone is not booting you need to push a Rom and try to s-off first. The initial problem you had (with no os installed) was probably due to rom/recovery incompatibility.
Download Twrp 2.6.3.3 form here
http://techerrata.com/browse/twrp2/m7 and flash it in fastboot.
Code:
fastboot flash recovery "nameofrecovery".img
fastboot erase cache
Then boot to twrp recovery home screen and push your Rom
Code:
adb push "nameofrom".zip /sdcard
You can use the drag and drop method for these commands also (if you need) just remember to leave spaces in the appropriate places. The command window will appear unresponsive until the push completes. Once it's done install the Rom with twrp recovery.
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Click to expand...
Click to collapse
TWRP 2.6.3.3 didn't work.. Recovery still gets me to the screen of fastboot usb..
RichardFilipino said:
TWRP 2.6.3.3 didn't work.. Recovery still gets me to the screen of fastboot usb..
Click to expand...
Click to collapse
So you flashed TWRP 2.6.3.3 and fastboot erase cache which were successful?
But when you boot to Recovery it goes back to the bootloader, Is that correct?
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
So you flashed TWRP 2.6.3.3 and fastboot erase cache which were successful?
But when you boot to Recovery it goes back to the bootloader, Is that correct?
Click to expand...
Click to collapse
Yes, that is correct. Don't really know what options are left at the moment
RichardFilipino said:
Yes, that is correct. Don't really know what options are left at the moment
Click to expand...
Click to collapse
It's possible something has been flashed that maybe shouldn't have and made a mess of the partitions.
Try this :- Download this stock recovery
http://d-h.st/Eq1
And flash it with fastboot remember to fastboot erase cache, then try boot to Recovery. If it boots the screen will be blank for a short while, then display an image of a phone with red exclamation this is normal. Holding volume up and press the power button to reveal the stock recovery menu. Ignore the Mount sd card errors that's also normal in stock recovery. Now perform a factory reset and wipe cache.
Reboot the phone back to the bootloader and flash twrp 2.6.3.3 then fastboot erase cache. Hopefully now twrp will boot. :finger-crossed:
If it does go into the "Wipe" options and select " Format Data" you will be prompted to type yes to confirm. Then 're-push the Rom and install with TWRP.
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
It's possible something has been flashed that maybe shouldn't have and made a mess of the partitions.
Try this :- Download this stock recovery
http://d-h.st/Eq1
And flash it with fastboot remember to fastboot erase cache, then try boot to Recovery. If it boots the screen will be blank for a short while, then display an image of a phone with red exclamation this is normal. Holding volume up and press the power button to reveal the stock recovery menu. Ignore the Mount sd card errors that's also normal in stock recovery. Now perform a factory reset and wipe cache.
Reboot the phone back to the bootloader and flash twrp 2.6.3.3 then fastboot erase cache. Hopefully now twrp will boot. :finger-crossed:
If it does go into the "Wipe" options and select " Format Data" you will be prompted to type yes to confirm. Then 're-push the Rom and install with TWRP.
Click to expand...
Click to collapse
Tried that:
Code:
c:\adb>fastboot flash recovery C:\adb\recovery_4.20.111.21.img
target reported max download size of 1514139648 bytes
sending 'recovery' (12422 KB)...
OKAY [ 1.527s]
writing 'recovery'...
OKAY [ 0.928s]
finished. total time: 2.456s
c:\adb>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.527s]
finished. total time: 0.527s
Went from fastboot USB to bootloader, tried to enter recovery.. Nothing, straight into fastboot USB again.
RichardFilipino said:
Tried that:
Code:
c:\adb>fastboot flash recovery C:\adb\recovery_4.20.111.21.img
target reported max download size of 1514139648 bytes
sending 'recovery' (12422 KB)...
OKAY [ 1.527s]
writing 'recovery'...
OKAY [ 0.928s]
finished. total time: 2.456s
c:\adb>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.527s]
finished. total time: 0.527s
Went from fastboot USB to bootloader, tried to enter recovery.. Nothing, straight into fastboot USB again.
Click to expand...
Click to collapse
sorry man I'm running out of ideas here. Only options left really is to flash firmware or an ruu. Unfortunately I can't find anything that will work for you with s-on.
What was the last recovery you had working on the phone?
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:

[HELP REQUEST] Carrier signal problem on my HTC

Hello XDA, hoping everyone is doing great..
Unfortunately i am not doing so great my HTC has become a pain in the a**! lol
When i first got my HTC it was working great signal was strong and everything was working flawlessly.
I decided to get my device S-off, rooted and change the rom to cm 12.1 i was able to do it fine, i Also have twrp 3 too.
This is the info of my phone:
Code:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4A.16.3250.24
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT358W908664
(bootloader) imei: Hidden
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 4135mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-331585dd
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
The carrier was working fine until later on i decided to install Viperone i was able to install it fine and it was working fine when it booted. i did notice that for some reason now my device is back to S-on and has hboot 1.61 which prevents me to get s-off and change the CID because for some reason i'm getting a T-Mobile CID now
Code:
cidnum: T-MOB010
When i rebooted the phone it won't detect the sim card at all when i check the IMEI it displays unknown, same thing with the baseband but if when i do
Code:
fastboot getvar
i see my IMEI there but when the phone is booted when i do *#06# i get unknown. I don't know what went wrong and i am out of ideas.
By the way i not longer on Viperone i changed to a Google version and the same thing happened. First boot i got signal and after reboot no sim card detect it
Is there a way to get it to stock without having to do S-off, iv'e seen a couple of posts but none of the links are working.
I can't flash RUU since i am on 1.61 and can't get it s-off.
Could this be a radio or firmware issue? Or what can be causing this? Or how can i get it back to stock fully without having to s-off if that is possible.
I would really appreciate some help, Thank you very much
jisgore said:
Hello XDA, hoping everyone is doing great..
Unfortunately i am not doing so great my HTC has become a pain in the a**! lol
When i first got my HTC it was working great signal was strong and everything was working flawlessly.
I decided to get my device S-off, rooted and change the rom to cm 12.1 i was able to do it fine, i Also have twrp 3 too.
This is the info of my phone:
The carrier was working fine until later on i decided to install Viperone i was able to install it fine and it was working fine when it booted. i did notice that for some reason now my device is back to S-on and has hboot 1.61 which prevents me to get s-off and change the CID because for some reason i'm getting a T-Mobile CID now
When i rebooted the phone it won't detect the sim card at all when i check the IMEI it displays unknown, same thing with the baseband but if when i do i see my IMEI there but when the phone is booted when i do *#06# i get unknown. I don't know what went wrong and i am out of ideas.
By the way i not longer on Viperone i changed to a Google version and the same thing happened. First boot i got signal and after reboot no sim card detect it
Is there a way to get it to stock without having to do S-off, iv'e seen a couple of posts but none of the links are working.
I can't flash RUU since i am on 1.61 and can't get it s-off.
Could this be a radio or firmware issue? Or what can be causing this? Or how can i get it back to stock fully without having to s-off if that is possible.
I would really appreciate some help, Thank you very much
Click to expand...
Click to collapse
1st, if your phone is back to s-on it's because you did the command to turn it back s-on. It can't change by itself "for some reasons" like youv said. Same thing for the CID.
Anyway you don't need s-off to flash a RUU. Flash the 7.18.531.2 ruu (see the ruu collection thread in the general section). The ruu and instructions how to flash are at post #1 and you'll probably have to follow the guide at the end of post #2 to write the correct version-main before flashing the ruu.
If you still have the same issue after successfuly flashing the RUU then it's an hardware problem, most likely with the baseband processor.
Sent from my HTC One using XDA Labs
alray said:
1st, if your phone is back to s-on it's because you did the command to turn it back s-on. It can't change by itself "for some reasons" like youv said. Same thing for the CID.
Anyway you don't need s-off to flash a RUU. Flash the 7.18.531.2 ruu (see the ruu collection thread in the general section). The ruu and instructions how to flash are at post #1 and you'll probably have to follow the guide at the end of post #2 to write the correct version-main before flashing the ruu.
If you still have the same issue after successfuly flashing the RUU then it's an hardware problem, most likely with the baseband processor.
Sent from my HTC One using XDA Labs
Click to expand...
Click to collapse
Thank you for the brief response alray. I did find that RUU on HTC website im downloading. I will test it and get back to you. Thanks again
i have same problem , have same H-boot , try update RUU , Ota not fix problem , change radio baseband get same error , first boot have signal and working fine no longer phone hang and signal lose after reboot , baseband unknow i dont know what worng .
after trying many times i can't get the RUU to install correctly i have only been able to find the .exe from the htc website. I have tried using the ones on HTC1Guru it installs but then when booting it seems is going to work and loads up but them restarts and i get softbricked and i have to flash recovery again,
EDIT: I found the RUU trying again
Can't flash the ruu:
Code:
:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem lock
...
(bootloader) Lock successfully...
(bootloader) mipi display off
(bootloader) mipi_dsi_cmds_tx_ext
(bootloader) pm8921_vreg_disable function, vreg_id = 38
(bootloader) pm8921_vreg_disable function, vreg_id = 1
(bootloader) TZ_HTC_SVC_DISABLE ret = 534642044 (0x1FDDFD7C)
(bootloader) Use PSHOLD to reset device.
FAILED (status read failed (No such file or directory))
finished. total time: 1.164s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fasboot oem rebootRUU
'fasboot' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem rebootRUU
< waiting for any device >
...
(bootloader) Start Verify: 3
OKAY [ 0.093s]
finished. total time: 0.094s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash zip RUU.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 94273929 is not a multiple of the block size 4096
sending sparse 'zip' 1/2 (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 94273929 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 94273929 is not a multiple of the block size 4096
OKAY [ 58.548s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 218.295s
C:\Program Files (x86)\Android\android-sdk\platform-tools>
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 3.334s]
finished. total time: 3.335s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash zip RUU.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 94273929 is not a multiple of the block size 4096
sending sparse 'zip' 1/2 (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 94273929 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 94273929 is not a multiple of the block size 4096
OKAY [ 58.552s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 523.855s
jisgore said:
Can't flash the ruu:
Code:
:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem lock
...
(bootloader) Lock successfully...
(bootloader) mipi display off
(bootloader) mipi_dsi_cmds_tx_ext
(bootloader) pm8921_vreg_disable function, vreg_id = 38
(bootloader) pm8921_vreg_disable function, vreg_id = 1
(bootloader) TZ_HTC_SVC_DISABLE ret = 534642044 (0x1FDDFD7C)
(bootloader) Use PSHOLD to reset device.
FAILED (status read failed (No such file or directory))
finished. total time: 1.164s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fasboot oem rebootRUU
'fasboot' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem rebootRUU
< waiting for any device >
...
(bootloader) Start Verify: 3
OKAY [ 0.093s]
finished. total time: 0.094s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash zip RUU.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 94273929 is not a multiple of the block size 4096
sending sparse 'zip' 1/2 (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 94273929 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 94273929 is not a multiple of the block size 4096
OKAY [ 58.548s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 218.295s
C:\Program Files (x86)\Android\android-sdk\platform-tools>
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 3.334s]
finished. total time: 3.335s
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash zip RUU.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 94273929 is not a multiple of the block size 4096
sending sparse 'zip' 1/2 (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 94273929 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 94273929 is not a multiple of the block size 4096
OKAY [ 58.552s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 523.855s
Click to expand...
Click to collapse
are you using htc_fastboot.exe or the regular fastboot.exe? You must use htc's version of fastboot to flash newer RUU like explained in the ruu thread.
I was using the fastboot from android SDK. I have one I downloaded from HTC website. Do I have to rename it to htc_fastboot ?
jisgore said:
I was using the fastboot from android SDK. I have one I downloaded from HTC website. Do I have to rename it to htc_fastboot ?
Click to expand...
Click to collapse
the name of the file itself doesn't matters just make sure you are using the same name in the command window.
Ok, i am trying again now with the HTC fastboot
I downloaded the ruu.exe from HTC now it go as far as step 4/6 and then i get "Error [132]: Signature error" .
Before i tried this i noticed that when i did "fastboot getvar all" on this part was blank before (version-main: ) and now is showing (version-main: 7.18.531.2) I'm am going to try this method now instead http://forum.xda-developers.com/showthread.php?t=2497614
After succesfully installing the RUU i still have the same problem. Well basically the same but now i get the carrier popping up but it says no service. Will it make a difference if i SuperCID?
jisgore said:
After succesfully installing the RUU i still have the same problem. Well basically the same but now i get the carrier popping up but it says no service. Will it make a difference if i SuperCID?
Click to expand...
Click to collapse
Supercid? CID doesn't affect carrier signal, its only used to determine which versions of ota updates your phone will receive.

Categories

Resources