[How-to][ruu] flash Rom.zip to factory

Jan 20, 2016
36
3
0
C:\Users\sidharth\Desktop\fastboot_adb>fastboot flash zip rom.zip
target reported max download size of 1826418688 bytes
error: cannot load 'rom.zip'
What to do pls
help me out fast....
 

JohnEcho

New member
Nov 8, 2016
3
0
0
Hello to all
My huge respect to the devs,your work is beyond words
As all here,im stating my situation!
Got a Sprint m7 a week ago!The guy had it,flashed Nusenseseven!!Dont know what he might missed but phone does not work well,got proximity sensor issues,orientation issues,weak wifi(2 meters range) and more!!!
I want to flash ruu because its my 1 htc and i wanna live with sense(at least for a while) :D
Digging around,i found that it has s-off(dont know how he obtained it)superCID,and unlocked,so reading stuff about it,showed me that nothing stops me to lock the bootloader and go for any ruu flash (right?)
Wanted to go with the international,because i want to use it in Greece,but 1.29.650.10 from OMJ seemed like a safer way!I locked the bootloader not with fastboot oem lock but with this method

http://forum.xda-developers.com/showthread.php?t=2475914

Worked as charm everytime(tried like 5 lock-unlocks)and dosent leave RElocked in the bootloader!
(Is that correct though)?

1st attempt:Mac-For ADB i used the second of the 2 methods described here

http://htc-one.wonderhowto.com/how-...-mac-os-x-send-commands-your-htc-one-0151178/

Worked as charm as well!All commands...BUT:I could not find the ADB/Fastboot folder NOWHERE on the Mac,at least not in the place it should be (/usr/bin/).Therefore,process got to the silver HTC screen just fine,but when i gave the cmd to install the zip,it didnt see what to flash...

2nd attempt:Windows-Tried the foolproof way:.exe

Downloaded the htc sync manager to get the drivers and it saw the phone!Told me that i have version 1.31(something) and im trying to install the 1.29.650.10(Shouldnt care since im s-off right)????

I get an ruu fail after the ''sending'' operation,got me back to bootloader,with an ''RUU FAIL'' message there as well,and on pc i remember something about a version mismatch!(the dreaded sync manager popped up in the middle of the operation,i have a feeling that he f***** me :D )

Soft bricked,i returned to TWRP,rebooted the system and im back to where i was!

If anyone has any ideas i would be more than grateful to listen!
sorry for the long,and probably noob sounding post :D
Im posting getvar and bootloader below!
Thank you all in advance!

P.S:I dont care for getting the s-on later,as this phone wont be sold soon,and i wanna try stuff after the official rom too :D



M7_WLS PVT SHIP S-OFF RH
CID- 11111111
HBOOT-1.61.0000
RADIO-1.02.20.0922
OpenDSP-v35. 120. 274. 0718
OS-6. 23. 651. 10
eMMC-boot 2048MB
Sep 22 2015, 18:46:32.3

HBOOT

<VOL UP> to previous item
<VOL DOWN> to next item
<POWER> to select item

FASTBOOT
RECOVERY
FACTORY RESET
SIMLOCK
CHECK SMARTSD
IMAGE CRC
SHOW BARCODE



John:~ user$ adb reboot bootloader
John:~ user$ fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 1.02.20.0922
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.23.651.10
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: Mod Edit: Removed
(bootloader) product: m7_wls
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0720000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 3700mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.060s
John:~ user$
 
Last edited by a moderator:

anh09022000

New member
Mar 9, 2018
2
0
0
help me please

This guy is a straight ****ing boss, just teamviewered and fixed everything back to normal out of the box in 30 minutes. Thanks for that I certainly would not have known how to trick the program like you did. Thanks a million bro.
i have the same problem
if you out there please help me =(
 

anhtocon

New member
May 18, 2018
1
0
0
i get an error when try to flash, somebody help me, pls
target reported max download size of 725000000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 514198080 is not a multiple of the block size 4096
sending sparse 'zip' (708004 KB)...
error: write_sparse_skip_chunk: don't care size 514198080 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 514198080 is not a multiple of the block size 4096
OKAY 72.102s
writing 'zip'...
(bootloader) HOSD CL#650321
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_O
(bootloader) hURf7
(bootloader) ERR cannot allocate memory(10240 KB) for loading ZIP file '
(bootloader) /dev/fastboot_download_OhURf7'
(bootloader) [email protected]
FAILED (remote: 12: fail to flash via downloadzip)
finished. total time: 74.193s