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

Search This thread

aminomy

New member
May 25, 2016
2
0
ruu files for htc one m7

plz any one got link to ruu for vodaafone htc one M7 cid vda p304 thank you very pmuch
 
Jan 20, 2016
36
3
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
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://xdaforums.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:

anhtocon

New member
May 18, 2018
1
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) end@Done
FAILED (remote: 12: fail to flash via downloadzip)
finished. total time: 74.193s
 

Top Liked Posts

  • There are no posts matching your filters.
  • 36
    For this quick how-to I will be using the file name Rom.zip as default for the Sprint_HTC_One_m7wls_1.29.651.7_encrypted_ROM-1.zip firmware download available from
    O.M.J. here (use ENCRYPTED version)

    http://xdaforums.com/showthread.php?p=40712553

    From fastboot you need to first re-lock your bootloader

    fastboot oem lock

    Once locked it will boot back into bootloader

    fastboot oem rebootRUU

    Now your booted to the black HTC screen. Make sure your Rom.zip file is in your adb/fastboot folder

    fastboot flash zip Rom.zip

    This takes a couple minutes and you will most likely get a error
    (pre-hboot update: please flush immediately)

    Make sure device is still in ruu mode(black HTC screen). If not rerun

    fastboot oem rebootRUU

    now simply reflash the rom.zip

    fastboot flash zip Rom.zip

    Let it run and it should finish this time

    It will reboot to a fully stock build.

    just remember, anytime you get a "flush immediately" error, just make sure your still in ruu mode and reflash the zip.


    The most common error is typically

    (Error 155)
    You did not re lock your bootloader first
    -go relock and flash again
    2
    Hey kids, it's fastboot oem rebootRUU :) nice tutorial!

    Sent from my HTCONE using Tapatalk 2
    2

    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.
    2
    I am getting the same issue I need help, I just bought the phone 4 days ago but I did not accidentally flash a bad rom or anything I am just trying to get back to factory and have tried running the exe and using cmd prompt but I get the same check fail.
    Check PM :D
    1
    Any idea on 22 error?
    Need more info such as...
    s-on or s-off?
    What RUU are you trying to flash?
    Did you re-lock your bootloader if you are s-on?

    22 ERROR [300] : INVALID UPDATE TOOL
    This error message will appear when you use the incorrect RUU version to upgrade.