[GUIDE] How to extract RUU & manually flash rom.zip HTC One M7

Search This thread

gokhan.ca

Member
Apr 26, 2014
5
0
hard brick

First I try to install RUU based on .exe but every attemptions finish with all with different RUU's than I try this metod to install. As you said your message fist attemption was the failure but (also I saw this message little late because I was leaving computer for something) than I try to same comend again as you said (fastboot flash zip C:/mini-sdk/rom.zip) but than I get no device error. Till than my phone just show htc logo on middle and error tiangles on corner with black screen, also when I plug the usb to comp. it says foulty device on usb. I don't know what can I do any advices...
 

NabezPM

New member
Sep 29, 2014
3
0
everything looks like it went fine but on my phone the loading bar didn't finish and is stuck


(bootloader) start image[recovery] unzipping & flushing..
(bootloader) [RUU]UZ,recovery,0
(bootloader) [RUU]UZ,recovery,8
(bootloader) [RUU]UZ,recovery,13
(bootloader) [RUU]UZ,recovery,21
(bootloader) [RUU]UZ,recovery,26
(bootloader) [RUU]UZ,recovery,34
(bootloader) [RUU]UZ,recovery,43
(bootloader) [RUU]UZ,recovery,68
(bootloader) [RUU]UZ,recovery,75
(bootloader) [RUU]UZ,recovery,81
(bootloader) [RUU]UZ,recovery,90
(bootloader) [RUU]UZ,recovery,95
(bootloader) [RUU]UZ,recovery,100
(bootloader) [RUU]WP,recovery,0
(bootloader) [RUU]WP,recovery,99
(bootloader) [RUU]WP,recovery,100
(bootloader) ...... Successful
(bootloader) start image[sbl1-1] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-1,0
(bootloader) [RUU]UZ,sbl1-1,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) start image[sbl1-2] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-2,0
(bootloader) [RUU]UZ,sbl1-2,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) start image[sbl1-3] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-3,0
(bootloader) [RUU]UZ,sbl1-3,100
(bootloader) signature checking...
(bootloader) [RUU]WP,sbl1-3,0
(bootloader) [RUU]WP,sbl1-3,100
(bootloader) ...... Successful
(bootloader) start image[sbl3] unzipping & flushing...
(bootloader) [RUU]UZ,sbl3,0
(bootloader) [RUU]UZ,sbl3,100
(bootloader) [RUU]WP,sbl3,0
(bootloader) [RUU]WP,sbl3,100
(bootloader) ...... Successful
(bootloader) start image[tp] unzipping & flushing...
(bootloader) [RUU]UZ,tp,0
(bootloader) [RUU]UZ,tp,100
(bootloader) ...... Successful
(bootloader) start image[tz] unzipping & flushing...
(bootloader) [RUU]UZ,tz,0
(bootloader) [RUU]UZ,tz,100
(bootloader) [RUU]WP,tz,0
(bootloader) [RUU]WP,tz,100
(bootloader) ...... Successful
(bootloader) start image[radio] unzipping & flushing...
(bootloader) [RUU]UZ,radio,0
(bootloader) [RUU]UZ,radio,8
(bootloader) [RUU]UZ,radio,17
(bootloader) [RUU]UZ,radio,25
(bootloader) [RUU]UZ,radio,30
(bootloader) [RUU]UZ,radio,38
(bootloader) [RUU]UZ,radio,47
(bootloader) [RUU]UZ,radio,55
(bootloader) [RUU]UZ,radio,64
(bootloader) [RUU]UZ,radio,72
(bootloader) [RUU]UZ,radio,77
(bootloader) [RUU]UZ,radio,86
(bootloader) [RUU]UZ,radio,94
(bootloader) [RUU]UZ,radio,99
(bootloader) [RUU]UZ,radio,100
(bootloader) [RUU]WP,radio,0
(bootloader) [RUU]WP,radio,34
(bootloader) [RUU]WP,radio,68
(bootloader) [RUU]WP,radio,100
(bootloader) ...... Successful
(bootloader) start image[rcdata] unzipping & flushing...
(bootloader) [RUU]UZ,rcdata,0
(bootloader) [RUU]UZ,rcdata,100
(bootloader) [RUU]WP,rcdata,0
(bootloader) [RUU]WP,rcdata,100
(bootloader) ...... Successful
OKAY [ 44.809s]
finished. total time: 47.918s

C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>
 

jaff399

New member
Oct 18, 2014
1
0
ruu.exe not exist

my ruu is google edition and after i downloaded its ruu and extracted it i found between the files no ruu.exe to run it and complete the process plz help!!!!
 

leiomioma

New member
Feb 14, 2015
2
0
error 32
i just cant install Rom, there are only few archives like 9 i follow the instructions and does not work
the RUU i try to use is this
RUU_M7_UL_K443_SENSE60_MR_BrightstarUS_WWE_6.07.1540.2_Radio_4T.28.3218.04_10.33E.1718.01L_release_404528_signed_2
i have a htc one with MID pn071200, supercid, unlocked, hboot 1.57 same radio, same software
what do i do?? i want a developer edition stock rom!
 

afr33s

Senior Member
May 25, 2008
473
28
Plymouth, UK
Hi when i run the ruu exe i can not find the rom.zip to save my life. Any help?

If you're using Windows 7 ...

C:\users\username\AppData\Local\Temp, where username is your user account name. If the name is long or includes spaces the username maybe expressed in old 8.3 form, e.g. "NEILJ~1.RUB" for "Neil J. Rubenking".
[http://appscout.pcmag.com/microsoft-windows/272405-find-the-temp-folder-in-vista-and-windows-7]
Sort by date order as per OP.
 

sirroms

New member
Mar 5, 2014
1
0
Help

I am running this with the correct ROM but its been sat on 5% Updating.......(1/5) Checking Header for the last 25 mins the dots are moving after the Checking Header txt, any ideas????:(
 

EddyOS

Senior Member
Jan 2, 2010
15,279
4,035
London
If you're using Windows 7 ...

C:\users\username\AppData\Local\Temp, where username is your user account name. If the name is long or includes spaces the username maybe expressed in old 8.3 form, e.g. "NEILJ~1.RUB" for "Neil J. Rubenking".
[http://appscout.pcmag.com/microsoft-windows/272405-find-the-temp-folder-in-vista-and-windows-7]
Sort by date order as per OP.

Just type

%temp%

into a 'Run' and it'll take you there ;)

---------- Post added at 01:45 PM ---------- Previous post was at 01:44 PM ----------

everything looks like it went fine but on my phone the loading bar didn't finish and is stuck


(bootloader) start image[recovery] unzipping & flushing..
(bootloader) [RUU]UZ,recovery,0
(bootloader) [RUU]UZ,recovery,8
(bootloader) [RUU]UZ,recovery,13
(bootloader) [RUU]UZ,recovery,21
(bootloader) [RUU]UZ,recovery,26
(bootloader) [RUU]UZ,recovery,34
(bootloader) [RUU]UZ,recovery,43
(bootloader) [RUU]UZ,recovery,68
(bootloader) [RUU]UZ,recovery,75
(bootloader) [RUU]UZ,recovery,81
(bootloader) [RUU]UZ,recovery,90
(bootloader) [RUU]UZ,recovery,95
(bootloader) [RUU]UZ,recovery,100
(bootloader) [RUU]WP,recovery,0
(bootloader) [RUU]WP,recovery,99
(bootloader) [RUU]WP,recovery,100
(bootloader) ...... Successful
(bootloader) start image[sbl1-1] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-1,0
(bootloader) [RUU]UZ,sbl1-1,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) start image[sbl1-2] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-2,0
(bootloader) [RUU]UZ,sbl1-2,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) start image[sbl1-3] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-3,0
(bootloader) [RUU]UZ,sbl1-3,100
(bootloader) signature checking...
(bootloader) [RUU]WP,sbl1-3,0
(bootloader) [RUU]WP,sbl1-3,100
(bootloader) ...... Successful
(bootloader) start image[sbl3] unzipping & flushing...
(bootloader) [RUU]UZ,sbl3,0
(bootloader) [RUU]UZ,sbl3,100
(bootloader) [RUU]WP,sbl3,0
(bootloader) [RUU]WP,sbl3,100
(bootloader) ...... Successful
(bootloader) start image[tp] unzipping & flushing...
(bootloader) [RUU]UZ,tp,0
(bootloader) [RUU]UZ,tp,100
(bootloader) ...... Successful
(bootloader) start image[tz] unzipping & flushing...
(bootloader) [RUU]UZ,tz,0
(bootloader) [RUU]UZ,tz,100
(bootloader) [RUU]WP,tz,0
(bootloader) [RUU]WP,tz,100
(bootloader) ...... Successful
(bootloader) start image[radio] unzipping & flushing...
(bootloader) [RUU]UZ,radio,0
(bootloader) [RUU]UZ,radio,8
(bootloader) [RUU]UZ,radio,17
(bootloader) [RUU]UZ,radio,25
(bootloader) [RUU]UZ,radio,30
(bootloader) [RUU]UZ,radio,38
(bootloader) [RUU]UZ,radio,47
(bootloader) [RUU]UZ,radio,55
(bootloader) [RUU]UZ,radio,64
(bootloader) [RUU]UZ,radio,72
(bootloader) [RUU]UZ,radio,77
(bootloader) [RUU]UZ,radio,86
(bootloader) [RUU]UZ,radio,94
(bootloader) [RUU]UZ,radio,99
(bootloader) [RUU]UZ,radio,100
(bootloader) [RUU]WP,radio,0
(bootloader) [RUU]WP,radio,34
(bootloader) [RUU]WP,radio,68
(bootloader) [RUU]WP,radio,100
(bootloader) ...... Successful
(bootloader) start image[rcdata] unzipping & flushing...
(bootloader) [RUU]UZ,rcdata,0
(bootloader) [RUU]UZ,rcdata,100
(bootloader) [RUU]WP,rcdata,0
(bootloader) [RUU]WP,rcdata,100
(bootloader) ...... Successful
OKAY [ 44.809s]
finished. total time: 47.918s

C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>

That's normal because the RUU.exe usually tells when phone to reboot. You have to do it yourself by typing fastboot reboot
 

myxcon

Senior Member
Jul 12, 2008
697
120
Guys, I'm running into some trouble with my wife's m7 and am trying to flash stock with the rom.zip method.

For the following configuration:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.11
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: SH3AGW901634
(bootloader) imei: 359405053458822
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 3969mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0

Is this the correct rom?
RUU_M7_UL_K44_SENSE55_MR_HTC_Europe_4.19.401.9_R_Radio_4A.23.3263.28_10.38r.1157.04L_release_353069_signed_2-1
Thank you.
 

myxcon

Senior Member
Jul 12, 2008
697
120
Guys, I'm running into some trouble with my wife's m7 and am trying to flash stock with the rom.zip method.

For the following configuration:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.11
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: SH3AGW901634
(bootloader) imei: 359405053458822
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 3969mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0

Is this the correct rom?
RUU_M7_UL_K44_SENSE55_MR_HTC_Europe_4.19.401.9_R_Radio_4A.23.3263.28_10.38r.1157.04L_release_353069_signed_2-1
Thank you.

That wasn't the proper RUU.

I got it working with the following RUU in zip form already.
PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed

Whoever needs it I can upload it to a g drive account as I don't recall the original source. I do believe it's from one of the threads around here.
 

nikhil3737

Senior Member
Sep 13, 2014
62
5
model id number

the last 5 digit of my model id is not visible but the starting four letters of the model id is exactly same .....with RUU.....
will it be problem for me
 

zeth555

New member
May 16, 2015
4
0
When I try to flash the rom.zip file, it says that it cannot allocate 1556101543 bytes.. below that it says error: cannot load 'rom.zip'
 

rakeshrinawa

Member
Jun 30, 2015
17
0
soft bricked htc one m7 wls(Sprint)

I was about to give up hope - THANKS!!!!!! Revived my HTC One from the dead with your technique. I had accidentally (and stupidly) completely wiped phone. O/S and backup.

*************
hello sir,I actually have the same problem.So can you tell which files you used to make ur htc alive and was it the same model as I?
my Htc one bootloader details are:

***TAMPERED***
***RELOCKED***
M7_WLS PVT SHIP S-ON RH
HBOOT-1.57.0000
RADIO-1.01.20.0515
OpenDSP-v26.120.274.0202
OS-5.03.651.3
eMMC-boot 2048MB
May 15 2014,16:31:22.1

I have only basic knowledge of android tools and computer.

and details of fastboot getvar all are:
version: 0.5
version-bootloader: 1.57.0000
version-baseband: 1.01.20.0515
version-cpld: None
version-microp: None
version-main: 5.03.651.3
version-misc: PVT SHIP S-ON
serialno: ***REMOVED***
imei: ***REMOVED***
meid: ***REMOVED***
product: m7_wls
platform: HBOOT-8064
modelid: PN0720000
cidnum: SPCS_001
battery-status: good
battery-voltage: 4262mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: dirty-1f512bb6
hbootpreupdate: 11
gencheckpt: 0
Please help me.
 

jazzy ╰_╯

Member
Jan 24, 2015
32
4
help me to find the correct ruu

version: 0.5
version-bootloader: 1.44.0000
version-baseband: 4A.14.3250.13
version-cpld: None
version-microp: None
version-main: 1.29.707.17
version-misc: PVT SHIP S-ON
meid: 00000000000000
product: m7_u
platform: HBOOT-8064
modelid: PN0711000
cidnum: HTC__038
battery-status: good
battery-voltage: 3710mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT:eek:
 
Last edited:

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
version: 0.5
version-bootloader: 1.44.0000
version-baseband: 4A.14.3250.13
version-cpld: None
version-microp: None
version-main: 1.29.707.17
version-misc: PVT SHIP S-ON


meid: 00000000000000
product: m7_u
platform: HBOOT-8064
modelid: PN0711000
cidnum: HTC__038
battery-status: good
battery-voltage: 3710mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT:eek:

You could use 7.21.707.105 but you'll have to update your firmware first

remov eimei and sn from your post.
 
  • Like
Reactions: jazzy ╰_╯

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
Bro I m on bootloop how will I now update my Filmfare version futher just help me to recover from boot loop please:silly:

You only need to boot in ruu mode to update the firmware.

IF your bootloader is unlocked, re-lock it:
Code:
fastboot oem lock
fastboot erase cache
fastboot reboot-bootloader

Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot flash zip firmware.zip
fastboot reboot-bootloader

then flash the ruu:
Code:
htc_fastboot oem rebootRUU
htc_fastboot flash zip ruu.zip
htc_fastboot reboot

7.21.707.105 firmware:
https://www.androidfilehost.com/?fid=95916177934556097

7.21.707.105 ruu and htc_fastboot:
http://xdaforums.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944

if you want your phone to be s-off, better to do it now because it will be harder to do after updating.

---------- Post added at 06:42 AM ---------- Previous post was at 06:40 AM ----------

can this method be used to downgrade bootloader version?

You must have s-off to downgrade hboot.

If yes, zip the desired hboot with the appropriate android-info.txt together and flash in ruuu mode.
 

jazzy ╰_╯

Member
Jan 24, 2015
32
4
You only need to boot in ruu mode to update the firmware.

IF your bootloader is unlocked, re-lock it:
Code:
fastboot oem lock
fastboot erase cache
fastboot reboot-bootloader

Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot flash zip firmware.zip
fastboot reboot-bootloader

then flash the ruu:
Code:
htc_fastboot oem rebootRUU
htc_fastboot flash zip ruu.zip
htc_fastboot reboot

7.21.707.105 firmware:
https://www.androidfilehost.com/?fid=95916177934556097

7.21.707.105 ruu and htc_fastboot:
http://xdaforums.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944

if you want your phone to be s-off, better to do it now because it will be harder to do after updating.

---------- Post added at 06:42 AM ---------- Previous post was at 06:40 AM ----------



You must have s-off to downgrade hboot.

If yes, zip the desired hboot with the appropriate android-info.txt together and flash in ruuu mode.

Thanks bro I was waiting for your replay
 

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    So, you may have made a bad flash, having trouble to S-OFF or just want to go back to 100% stock ROM and recovery. In that case, the easiest solution is to run your RUU (ROM Update Utility). But unlike the conventional method, this guide is about extracting the rom.zip from your RUU for a faster and more comprehensive installation. The extracted rom.zip will also allow the possibility to decrypt the RUU in order to get access to all the individual files inside the encrypted archive. So, if you want to flash, for example, only the stock recovery, you can do it without having to flash the entire RUU ROM, which will restore the phone's entire software.

    Note: Your HTC One can be either S-ON or S-OFF in order to successfully flash RUU rom.zip. But if your device is S-OFF, you do not need to re/lock your bootloader.

    Follow the instructions in the given order to avoid any hiccups or possible bricking of your device:
    1. You will need to know your HTC One's MID and CID. These codes will allow you to find the required RUU for your phone.
    You need adb and fastboot. Go to your Bootloader. Select Fastboot. Connect your HTC One with its original USB cable to your PC. Do:
    Code:
    fastboot getvar all
    and you should see a list of important information about your device. In particular, note the modelid (MID) and cidnum (CID). If you get nothing, there is an issue with the USB connection between your phone and PC.
    2. Find the correct RUU. Here's a thread: http://xdaforums.com/showthread.php?t=2428276 to find the correct RUU from the filename but more importantly, make sure that both the MID and CID match exactly with your device. You also need to pay attention if you need the M7 UL or M7 U version, which is in the filename of the RUU. If you can't find your RUU from that site, just google or search on XDA. However, not all HTC One variants have RUUs. But if you are already S-OFF, you can change your MID and CID, which will allow you to use any RUU: http://xdaforums.com/showthread.php?t=2322820
    3. Extract the RUU and grab the rom.zip file. This is the most important file you need from the RUU and afterwards you can delete the RUU exe if you want. To get the rom.zip from your RUU exe file, you just need to run the RUU exe file once, and then when the window is ready and waiting for you to press on the "Next" button, just leave it open and go to your temp folder. I'm using Windows XP SP3 32-bit and my temp folder is located at this path: C:\Documents and Settings\Administrator\Local Settings\Temp
    Now, you will see several files and folders. Sort everything in that temp folder based on "Date Modified" with the most recent folder showing up above all other folders. This is the folder you want. The folder name will be bunch of letters and numbers. Inside that folder you will find several files, but what you need is rom.zip and android-info.txt. Copy both these files and paste them somewhere safe on your hard drive. The android-info.txt contains crucial information about the compatibility of that RUU for your phone. Here's the android-info.txt extracted from my RUU exe:
    Code:
    modelid: PN0711000
    cidnum: HTC__001
    cidnum: HTC__J15
    cidnum: HTC__A48
    cidnum: HTC__M27
    mainver: 1.29.401.2
    btype:1
    aareport:1
    DelCache:1
    hbootpreupdate:3
    You can then verify that you have the correct RUU if the modelid matches that of your phone and if you can see your cidnum in that list. If either (or both) of the modelid or cidnum does not match that of your phone, the RUU process will fail. The mainver is the firmware that is going to be flashed onto your phone.
    For easy reference, create a new folder and name it exactly like the RUU exe file and put the rom.zip and android-info.txt in there so you won't have trouble identifying that rom.zip file later if you need to flash it again. Now, you can close the RUU installation window and all the files in that temp folder containing rom.zip will be instantly erased. Note that if you open the rom.zip with Winzip/Winrar, you will see a list of all the files but if you try to extract or double-click to open any of these files, you will get an error saying that the file is corrupt. This warning is only due to the files being encrypted by HTC, since the RUU is an official release and is digitally signed. To access those encrypted files, you will need to decrypt them on Linux.
    4. Go to your bootloader. Do:
    Code:
    fastboot oem rebootRUU
    This will reboot your HTC One and you will see a black screen with a silver HTC logo.
    Now, you will need to access the rom.zip file and flash it. I have copied my rom.zip to my adb folder located at: C:/mini-sdk/rom.zip
    So, i type:
    Code:
    fastboot flash zip C:/mini-sdk/rom.zip
    Don't touch anything during the flash process. It will start and after some time, you will see FAILED error. Don't worry, it's the file preparation process if you have firmware higher than that of the RUU. Just do the same command again and the flash process will complete successfully this time. Look at the Command Prompt to know when the flash is complete. At the same time if you look at your phone, you will notice a green progress bar. When the flashing is complete on the Command Prompt, you will notice that the green bar is stuck at about 95%. This is normal. It's just a bug in the progress bar - what matters is the output from the Command Prompt window.
    5. Then, you reboot. Do:
    Code:
    fastboot reboot
    This will restart your phone. Let it boot up. It might take a little longer for the first boot up sequence. You will then have completely stock software (firmware & ROM). Go to your bootloader and check. Your S-ON/OFF and Bootloader lock/unlock are unchanged from before the RUU rom.zip flashing procedure. You can now also receive OTA updates.

    I hope this has been helpful. Just press the THANKS button! :good:
    6
    If you're S-OFF you do NOT need to relock the bootloader to flash an RUU - just putting that out there :)
    2
    Hello I know this is an old thread but I am hoping someone can help me with this problem I am having, i am trying to flash my M7at&t PN0712000 cidnum: CWS__001 manualy by the command prompt
    I have all my files in a folder on C:\Android-adb
    but when I do the fastboot command to install the rom zip I am getting this error message,
    "C:\Android-adb>fastboot flash zip C:/Android-adb/rom.zip
    load_file: could not allocate 1556101543 bytes
    error: cannot load 'C:/Android-adb/rom.zip'"
    can someone tell me what I am doing wrong, thanks very much advance

    The filename/location is wrong.

    Try this:
    Code:
    fastboot flash zip rom.zip
    2
    Bro I m on bootloop how will I now update my Filmfare version futher just help me to recover from boot loop please:silly:

    You only need to boot in ruu mode to update the firmware.

    IF your bootloader is unlocked, re-lock it:
    Code:
    fastboot oem lock
    fastboot erase cache
    fastboot reboot-bootloader

    Code:
    fastboot oem rebootRUU
    fastboot flash zip firmware.zip
    fastboot flash zip firmware.zip
    fastboot reboot-bootloader

    then flash the ruu:
    Code:
    htc_fastboot oem rebootRUU
    htc_fastboot flash zip ruu.zip
    htc_fastboot reboot

    7.21.707.105 firmware:
    https://www.androidfilehost.com/?fid=95916177934556097

    7.21.707.105 ruu and htc_fastboot:
    http://xdaforums.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944

    if you want your phone to be s-off, better to do it now because it will be harder to do after updating.

    ---------- Post added at 06:42 AM ---------- Previous post was at 06:40 AM ----------

    can this method be used to downgrade bootloader version?

    You must have s-off to downgrade hboot.

    If yes, zip the desired hboot with the appropriate android-info.txt together and flash in ruuu mode.
    1
    You will need a Windows PC to flash any lollipop ruu.zip because it must be flashed using htc_fastboot.exe (.exe = Windows only) because the fastboot version from the sdk-tools can't handle a 1.5gb file. This will solve your first problem
    Second problem to come, you need at least hboot 1.57 and the version-main to be at least 6.xx.xxx.x to flash a Lillpop (7.xx.xxx.x RUU) so you'll have to update your firmware before flashing the RUU. Flash this (Sorry I had to omit your link so that I could post. This is my first post.) and then flash your 7.xx.1540.xx RUU.




    Hey All. Hey Alray I hope you are still monitoring this thread and can help me. I have had my One M7 AT&T variant for just about two years now and don't ask me why but I juuuust decided to update it. This all started with me trying to update it to the official RUU 7.23.502.4 from HTC's website. It kept failing with a 158 error message. It was completely stock 4.1.2 JB locked bootloader, unrooted and S-On. I managed to run the RUU 3.17.502.3 exe successfully, which the phone is still running. Next I tried to run the RUU 4.18.502.7 and got a 155 unknown error. Same error message also when I tried to run the RUU 7.23.502.4 exe. I have been trying to flash the rom.zip files for the KitKat and Lollipop RUUs via fastboot which keep failing with the same "Invalid sparse file format at header magi" error. However since I saw your advice that you have to use htc_fastboot to flash the large rom.zip files from htc, I tried using it with the extracted rom.zip, android-info.txt and htc_fastboot files from the KitKat 4.18.502.7 RUU but I now have a new error :eek: (See below):

    C:\Users\bobby\Downloads\AndroidDT\sdk\platform-tools>htc_fastboot flash zip rom
    .zip
    sending 'zip'... (42217 KB) OKAY
    writing 'zip'... (bootloader) adopting the signature contained in this image...
    (bootloader) signature checking...
    (bootloader) rom parsing start ...
    (bootloader) rom parsing finish ...
    (bootloader) zip header checking...
    (bootloader) zip info parsing...
    (bootloader) Read zipped android_info fail
    FAILED (status read failed (Too many links))
    Execution time is 10(s)

    Just for clarification here is my current device info:
    C:\Users\bobby\Downloads\AndroidDT\sdk\platform-tools>fastboot getvar all
    (bootloader) version: 0.5
    (bootloader) version-bootloader: 1.55.0000
    (bootloader) version-baseband: 4A.19.3263.13
    (bootloader) version-cpld: None
    (bootloader) version-microp: None
    (bootloader) version-main: 3.17.502.3
    (bootloader) version-misc: PVT SHIP S-ON
    (bootloader) serialno: (omitted)
    (bootloader) imei: (omitted)
    (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: 4047mV
    (bootloader) partition-layout: Generic
    (bootloader) security: on
    (bootloader) build-mode: SHIP
    (bootloader) boot-mode: FASTBOOT
    (bootloader) commitno-bootloader: dirty-2da61e5e88
    (bootloader) hbootpreupdate: 11
    (bootloader) gencheckpt: 0
    all: Done!
    finished. total time: 0.049s

    Can you advise me on what to do next please? :fingers-crossed:
    You need at least hboot 1.57 (version-main 6.xx.502.x) to flash a 7.xx.502.x ruu. Best way imo is with s-off so you can convert to another version and get rid of the AT&T software and receive ota updates (dev edition or unlocked wwe)

    Sent from my HTC One using XDA Labs