[Collection][GUIDE] Lollipop 5.0.2 signed RUU.zip

Search This thread

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
I'm doing this from a MacBook Air (which I've done the same from previously).
No other devices or plugs connected.
Tried toggling USB debugging.
The zip was extracted by nkk71 using his tool as I couldn't make it work.

The M7 is currently:

(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.18.531.2
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(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: 4321mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-331585dd
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!


and the error

Martin:~ fritz$ adb reboot bootloader
Martin:~ fritz$ fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.041s]
finished. total time: 0.041s
Martin:~ fritz$ fastboot flash zip RUU.zip
error: cannot load 'RUU.zip'

"error: cannot load" is because fastboot can't find the file. Make sure the zip is in the same folder where fastboot is. Check for typo in your filename or in you cmd window. Can also be caused by double file extension, not sure if it's the same for mac but on Windows, extension for known file type are not shown. for example in RUU.zip the ".zip" will not be shown. If you renamed the file yourself "ruu.zip" but the file extension was already there but hidden, you'll have double file extension "ruu.zip.zip". Make sure it's not your case.

usb debugging on/off doesn't matter when in fastboot/ruu mode. Only needed to use adb from the booted rom, no effect on fastboot commands neither from adb in recovery.

Did you successfully flashed a 7.xx.xxx.x ruu in the past using your mac or it was an older version? Because, you must use htc_fastboot.exe to flash these versions and i'm not sure there is version of htc_fastboot for mac. The regular fastboot from the android sdk won't work for these version.

---------- Post added at 08:21 AM ---------- Previous post was at 08:15 AM ----------

---> Yes, i mean "remote: 12 signature verify fail"
File is unsigned or wrong signature. Make sure the file isn't corrupted (check md5). Bootloader must be locked or relocked to flash RUU when the phone is S-ON.

---> i already find "7.21.707.5_firmware.zip". Btw, how to flash firmware...?, is it same to flash as using RUU "htc_fastboot flash zip RUU.zip"
Make sure it's a complete firmware package and not only a partial one (make sure all images are inside this zip). updating firmware from 1.x to 7.x using a partial firmware.zip will most likely brick your phone.

Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot flash zip firmware.zip
fastboot reboot-bootloader
 
  • Like
Reactions: metropical

metropical

Senior Member
Sep 23, 2011
1,126
54
New York
"error: cannot load" is because fastboot can't find the file. Make sure the zip is in the same folder where fastboot is. Check for typo in your filename or in you cmd window. Can also be caused by double file extension, not sure if it's the same for mac but on Windows, extension for known file type are not shown. for example in RUU.zip the ".zip" will not be shown. If you renamed the file yourself "ruu.zip" but the file extension was already there but hidden, you'll have double file extension "ruu.zip.zip". Make sure it's not your case.

I'll check again, but I did check for that.


usb debugging on/off doesn't matter when in fastboot/ruu mode. Only needed to use adb from the booted rom, no effect on fastboot commands neither from adb in recovery.

Did you successfully flashed a 7.xx.xxx.x ruu in the past using your mac or it was an older version? Because, you must use htc_fastboot.exe to flash these versions and i'm not sure there is version of htc_fastboot for mac. The regular fastboot from the android sdk won't work for these version.

I had thought I did, but I made no notes as to Y or N. There is no Mac version of htc_fastboot. I couldn't find the .exe version.
I gave up on the VirtualBox W7 and tried it in BootCamp.
First adb didn't see the phone. Then I updated HTC Sync and it did. But (as you said) vanilla fastboot failed, though it saw the phone.

I should add, I'm not that swift with windows.
But I'm quite sure I did at least one update after I rooted from either VB W7 or BC W7.
 
Last edited:

WINPINPH

Member
Dec 23, 2014
5
0
help instructions how to revived this

here's the info of my device:

C:\fast>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: SH397W901443
(bootloader) imei: 355859055218812
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0714000
(bootloader) cidnum: HTC__044
(bootloader) battery-status: good
(bootloader) battery-voltage: 3921mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!

here the error:

C:\fast>fastboot oem rebootRUU
... (bootloader) Start Verify: 3
OKAY
Execution time is 43(ms)

C:\fast>fastboot flash zip RUU.zip
sending 'zip'... (43286 KB) OKAY
sending time = 3.345 secs
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) checking model ID...
FAIL41 model id check fail
FAILED (remote: 41 model id check fail)
Execution time is 10(s)
 
Last edited:

shadowVRN

New member
Dec 10, 2017
1
0
please help to choose the firmware, I read a bunch of info in the head porridge...
now,
m7_UL PVT SHIP S-OFF RH
CID -11111111
HBoot 1.61
Radio - 4T.29.3218.08
OPen DSP-v32.120.274.0909
OS - 6.09.401.5
p/n 99HVj002-00
 

militiaOfDeath

Senior Member
Dec 14, 2012
88
10
Anyone has a solution for why htc_fastboot dump emmc 0 -1 usually fails after dumping X% of the eMMC? Trying to dump the content of a phone now that has 32GB, but after ~13GB I always get an error "data transfer failure (short transfer)".
 

youbakmaster

Senior Member
Feb 16, 2013
162
12
rabat
Huawei Y5 (2017)
help!!

hi and thanks for this thread.
i flashed the RUU.zip 7.19.401.51 successfully.

7.19.401.51 Signed
HTC_Europe
MID:pN0710000
CID: HTC__001
CID: HTC__J15
CID: HTC__E11
CID: HTC__203
CID: HTC__102
CID: HTC__405
CID: HTC__Y13
CID: HTC__A07
CID: HTC__304
CID: HTC__032
CID: HTC__016

but when i reboot the phone it's stack on the boot logo.
this is may getvar :
C:\Fastboot>fastboot getvar all
(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.19.401.51
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: SH356W*****
(bootloader) imei: **************
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4252mV
(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!
so whats wrong with may phone .
thinks
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
hi and thanks for this thread.
i flashed the RUU.zip 7.19.401.51 successfully.



but when i reboot the phone it's stack on the boot logo.
this is may getvar :

so whats wrong with may phone .
thinks

If your device still having issues after a successful ruu flash it's most likely an hardware issue.
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
How can I install my S-On M7 ?

Your question is a bit unclear...
How to flash is at described at post #1.
When s-on the bootloader must be (re)locked, the RUU must be signed, must match your CID and MID and the RUU version number must be same or newer than your actual version-main number. There might be some other prerequesites depending on your phone actual state (posting your "fastboot getvar all" will help)
 

gatetrans

Member
Jun 12, 2017
14
2
RUU

Your question is a bit unclear...
How to flash is at described at post #1.
When s-on the bootloader must be (re)locked, the RUU must be signed, must match your CID and MID and the RUU version number must be same or newer than your actual version-main number. There might be some other prerequesites depending on your phone actual state (posting your "fastboot getvar all" will help)


Yep I know everythink but my phone is S-On! I need S-OFF for RUU intallation but S-OFF is imposible. Because I can s-off only sunshine method, I can't pay 25$ I want to install 5.0.2 Sense 6.0, If I have install option 5.0.2 with TWRP, can u share TWRP zip file? I mean install on S-ON phone. If u have a idea for s-off free, I'm looking forward.
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
Yep I know everythink but my phone is S-On! I need S-OFF for RUU intallation but S-OFF is imposible. Because I can s-off only sunshine method, I can't pay 25$ I want to install 5.0.2 Sense 6.0, If I have install option 5.0.2 with TWRP, can u share TWRP zip file? I mean install on S-ON phone. If u have a idea for s-off free, I'm looking forward.

You dont need S-OFF to flash a RUU. What is your "fastboot getvar all"?
 

gatetrans

Member
Jun 12, 2017
14
2
You dont need S-OFF to flash a RUU. What is your "fastboot getvar all"?

Here my phone getvar;

C:\HTC>fastboot getvar all
(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:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA39AW906020
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_u
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0711000
(bootloader) cidnum: HTC__M27
(bootloader) battery-status: good
(bootloader) battery-voltage: 3857mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(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.066s

---------- Post added at 10:34 AM ---------- Previous post was at 10:22 AM ----------

You dont need S-OFF to flash a RUU. What is your "fastboot getvar all"?

Ohhh I see, I need only fastbook lock and then flash RUU. I understood everythink bro
 

gatetrans

Member
Jun 12, 2017
14
2
You dont need S-OFF to flash a RUU. What is your "fastboot getvar all"?

I tried flash RUU and o saw this error;

C:\HTC>fastboot flash zip RUU.zip
target reported max download size of 1506942976 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 83113285 is not a multiple of the block size 4096
sending sparse 'zip' 1/2 (1471620 KB)...
error: write_sparse_skip_chunk: don't care size 83113285 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 83113285 is not a multiple of the block size 4096
OKAY [ 51.705s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 152.605s

C:\HTC>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.031s]
finished. total time: 0.031s
 

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
I tried flash RUU and o saw this error;

C:\HTC>fastboot flash zip RUU.zip
target reported max download size of 1506942976 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 83113285 is not a multiple of the block size 4096
sending sparse 'zip' 1/2 (1471620 KB)...
error: write_sparse_skip_chunk: don't care size 83113285 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 83113285 is not a multiple of the block size 4096
OKAY [ 51.705s]
writing 'zip' 1/2...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 152.605s

C:\HTC>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.031s]
finished. total time: 0.031s

you must use htc_fastboot.exe instead of fastboot.exe to flash a lollipop ruu. Link at post #1
 

gatetrans

Member
Jun 12, 2017
14
2
you must use htc_fastboot.exe instead of fastboot.exe to flash a lollipop ruu. Link at post #1

Yep I know. I downloaded first topic fastboot file. What should I do?

---------- Post added at 03:36 PM ---------- Previous post was at 03:27 PM ----------

you must use htc_fastboot.exe instead of fastboot.exe to flash a lollipop ruu. Link at post #1

Owww I see. u se file nam just fastboot, I changed file name htc_fastboot everythink is working now. Now writing. I will tell you conculision.

---------- Post added at 03:48 PM ---------- Previous post was at 03:36 PM ----------

you must use htc_fastboot.exe instead of fastboot.exe to flash a lollipop ruu. Link at post #1

Ok done. Everythink is ok. Now my phone is installig 5.0.2. Thanks for everything. :)
 
  • Like
Reactions: enriquedell

ANGELWARED

New member
Oct 26, 2015
4
0
ok i assume you wanna have europe latest rom
you have to do this
change mid pn0710000
change cid htc__001
flash firmware 4.19.401.11
flash ruu exe 4.19.401.11 link

then update via ota
or you want direct lollipop
change cid mid
flash firmware 7.19.401.2 link
flash ruu zip 7.19.401.2 from 1st post follow instructions accordingly
both the links are just add
wtf
 

Top Liked Posts

  • There are no posts matching your filters.
  • 80
    Lollipop RUU’s Collection
    HTC One M7 801 Single SIM
    5.0.2 Sense 6



    This is a collection of lollipop ruu.zip files for our beloved htc one m7 801.
    I cannot test all of these files so any feedback will be welcome.
    Also I have no responsibility if you phone explodes after flashing any of these files, I am just the uploader.
    As many in this thread, ask about zip corruption, zip are not corrupted they are encrypted and can't open normally , they need decryption check md5 and dont try to unzip them.
    When you update you must go one step at a time. For example if you are on 6.xx.xxx.xx then you can flash 7.xx.xxx.xx . But if you are on 5.xx.xxx.xx then you cannot flash the 7.xx.xxx.xx you must first flash a 6..xx.xxx.xx.

    How To Flash

    1. Rename file to RUU.zip
    2. Place it in adb folder
    3. Reboot phone to fastboot mode
    4. S On need to relock bootloader (fastboot oem lock) , S Off lock not needed
    5. Also use the htc_fastboot.exe not the normal fastboot.exe
    get the htc_fastboot.exe : Here
    Rename htc_fastboot to fastboot or if you don't rename it, then the command will be "htc_fastboot flash zip RUU.zip"
    Run the following commands from your adb folder:
    6.htc_fastboot oem rebootRUU
    7.htc_fastboot flash zip RUU.zip
    8.htc_fastboot reboot-bootloader


    RUU's Downloads
    M7_UL
    7.19.401.2
    HTC_Europe
    MID: PN0710000
    CID: HTC__001
    CID: HTC__J15
    CID: HTC__E11
    CID: HTC__203
    CID: HTC__102
    CID: HTC__405
    CID: HTC__Y13
    CID: HTC__A07
    CID: HTC__304
    CID: HTC__032
    CID: HTC__016
    Link md5: f4ed4d3370e84ca8bbe6ad840676d52d

    7.18.161.2

    Vodafone_UK
    MID: PN0710000
    CID: VODAP001
    CID: VODAP102
    CID: VODAPE17
    CID: VODAP405
    CID: VODAP304
    CID: VODAPD18
    CID: VODAP120
    CID: VODAP110
    Link md5: c82c34db4b57b62f1345c2cc1af416e3

    7.18.206.2

    O2_UK
    MID: PN0710000
    CID: 02___001
    CID: 02___102
    Link md5: 399fa4bc8e841cc993a358e7c09fc4ca

    7.17.631.7

    Rogers_WWE
    MID: PN0712000
    CID: ROGER001
    Link md5: ae4ebe2b9ffa5de8a8ed891733fa013b

    7.17.661.7

    TELUS_WWE
    MID: PN0712000
    CID: TELUS001
    Link md5: 010f3866cb1afef78a2ea55f6063d1ac

    7.18.708.2
    hTC_Asia_HK
    MID: PN0714000
    CID: HTC__622
    Link md5: 552ce910a10ac06c7fc196cbe6a16d2f

    7.18.709.2
    hTC_Asia_TW
    MID: PN0714000
    CID: HTC__621
    Link md5: 9012ca1359b3d9d9f618c9a6cac74f84

    7.17.1500.8

    Globalive_WWE
    CID: GLOBA001
    Link md5: ea950eb2f5a6f7cefc389feb2ad8dcfc

    7.17.666.7
    BM
    MID: PN0712000
    CID: BM___001
    Link md5: 9c0d33ef730526225e80681bf51c387d

    7.18.1020.2
    Bouygues_FR
    MID: PN0710000
    CID: HTC__247
    Link md5: 0131ba23f0d70b3a540f19be8c158e12

    7.19.771.1
    H3G_UK
    MID: PN0710000
    CID: H3G__001
    CID: H3G__106
    CID: H3G__G04
    CID: H3G__402
    Link md5: 0df97e06326c98bd47c9c2cc13333a59

    7.18.111.2
    TMO_DE
    MID: PN0710000
    CID: T-MOB101
    Link md5: bd7c72fd0163dbc0f50b081d588176d8

    7.18.531.2
    TMOUS
    MID: PN0713000
    CID: T-MOB010
    Link md5: 0cde9f67705bfe4802c809606751d768

    7.17.1540.7
    BrightstarUS_WWE
    MID: PN0712000
    CID: BS_US001
    CID: BS_US002
    this is an EXE file, not a zip, you just run it on your pc and follow the instructions
    Link md5: 85f8119dbde1358c5610cf64580f441b

    7.21.707.5
    hTC_Asia_WWE
    MID: PN0714000
    CID: HTC__044
    Link md5: 794c822a352c3195141420e4d6774aa2

    7.18.163.2
    Vodafone_FR
    MID: PN0710000
    CID: VODAP203
    This link is not uploaded by me but I add it in order to have a complete lollipop collection
    Link md5: 30292276d47b110a5c8dd2e2527aa1bf

    5.11.1700.3
    Google_WWE
    MID: PN0712000
    CID: GOOGL001
    Link md5: ad90cce66ecee42af6e394f9c60333f9

    7.23.502.1
    MR_Cingular_US
    MID: PN0712000
    CID: CWS__001
    Link md5: a2114b17c08d5ab0ab1d58a5eb97cca8
    Link 2
    this is an EXE file, not a zip, you just run it on your pc and follow the instructions

    7.18.901.2
    TIM_IT
    MID: PN0710000
    CID: TIM__401
    Link md5: ed486bf42541d46e9a6451f564247451
    M7_U
    7.19.401.102
    HTC_Europe
    MID: PN0711000
    CID: HTC__001
    CID: HTC__J15
    CID: HTC__A48
    CID: HTC__M27
    Link md5: faebdef74398609b318c5f6bbaa92516

    7.18.709.102
    hTC_Asia_TW
    Link md5: b4ccc9b884abc63c1a5b68ba7b9462ea

    7.21.707.105
    hTC_Asia_WWE
    MID: PN0711000
    CID: HTC__038
    Link md5: 8b0af326b26a6732fd8a60cb476adaf5


    I want to thank @yatindroid @alray
    For the support
    48
    Your phone is S-ON + running on the latest version and you can't find a RUU of the same version? Instructions how to flash an older RUU with S-ON posted at the end of this post.

    YOUR RUU ZIP IS CORRUPTED? -----> READ THIS POST <-------- AND STOP REPORTING.


    Cont'd Lollipop RUU’s Collection
    HTC One M7 801 Single SIM
    5.0.2 Sense 6
    M7_UL

    7.23.502.4
    AT&T (Cingular)
    MID: PN0712000
    CID: CWS__001
    Official HTC link


    7.21.980.5
    Optus AU
    MID: PN0714000
    CID: OPTUS001
    CID: TELNZ001
    CID: VODAP021
    CID: HTC__039

    Link
    Big thanks to @kamold for uploading this one^^ :good: much appreciated!


    7.21.841.5
    Telstra WWE
    MID: PN0714000
    CID: TELST001

    https://www.androidfilehost.com/?fid=24052804347775861
    md5: c029aaf0e7db96c7553d07d16965177a


    7.19.61.10
    Orange UK
    MID: PN0710000
    CID: ORANG001

    https://www.androidfilehost.com/?fid=24052804347775894
    md5: 95a5ad2186235bc346d55ef9d8530dce


    7.19.75.9
    Orange ES
    MID: PN0710000
    CID: ORANG309

    https://www.androidfilehost.com/?fid=24052804347778577
    md5: 976a879aa44a8ec51958ebaa4652ed04


    7.19.69.9
    Orange PL

    MID: Tell me
    CID: Tell me

    https://www.androidfilehost.com/?fid=24052804347778578
    md5: 99f24b3ca7f276f2ce2c820802a9138a


    M7_U
    6.15.599.101 Not Lollipop but latest available:
    HTC L.A. Spanish
    Android 4.4.3 Sense 6.0
    MID: PN0711000
    CID: HTC__332
    Link: https://www.androidfilehost.com/?fid=24052804347843559
    Md5: 1de22ba415e7281f01d14ecaa3f851a9


    M7_WLS
    6.23.651.6
    Sprint USA
    MID: PN0720000
    CID: SPCS_001

    RUU.exe Official HTC link


    6.23.651.7
    Sprint USA
    MID: PN0720000
    CID: SPCS_001
    Ruu.exe Official HTC link


    6.23.651.10
    Sprint USA
    MID: PN0720000
    CID: SPCS_001
    Ruu.exe
    Official HTC link


    6.23.510.1
    ACG USA
    MID: PN0720000
    CID: Tell me

    RUU.exe Official HTC link

    RUU.zip (signed) link: https://www.androidfilehost.com/?fid=24052804347778579
    md5: f9c86fd8386e0bfdcb3a90720b90b702


    6.24.563.2
    CellSouth C-Spire WWE
    MID: PN0720000
    CID: Tell me

    RUU.exe official HTC link

    RUU.zip (signed) link: https://www.androidfilehost.com/?fid=24052804347778581
    md5: 8fdf80948e8bc1725ee4af60fc5ec50f


    M7_WLV
    6.22.605.3
    Verizon
    MID: PN0731000
    CID:: VZW__001

    https://www.androidfilehost.com/?fid=24052804347761412
    md5: 52c2473490a03051920713a72aea9b6c


    Second Generation Lollipop RUU’s Collection (7.xx.xxx.20 /.21 /.22)
    HTC One M7 801 Single SIM
    5.0.2 Sense 6

    M7_UL
    7.19.401.22
    HTC_Europe
    MID:pN0710000
    CID: HTC__001
    CID: HTC__J15
    CID: HTC__E11
    CID: HTC__203
    CID: HTC__102
    CID: HTC__405
    CID: HTC__Y13
    CID: HTC__A07
    CID: HTC__304
    CID: HTC__032
    CID: HTC__016

    link
    MD5: 2ae37e952f0a5f6fcb7319be2133dfc8


    7.17.1540.21
    BrightstarUS_WWE (Developer Edition)
    MID:pN0712000
    CID: BS_US001

    link
    MD5: 93b5999ecbcec8e8e92eb18fb5444de2


    7.18.206.21
    O2_UK
    MID:pN0710000
    CID: 02___001
    CID: 02___102
    link
    MD5: 65a6da2a7afa0e0327394009a3892c51


    7.18.161.21

    Vodafone_UK
    MID: PN0710000
    CID: VODAP001
    CID: VODAP102
    CID: VODAPE17
    CID: VODAP405
    CID: VODAP304
    CID: VODAPD18
    CID: VODAP120
    CID: VODAP110

    link
    md5: da17b2877fbe45da5598d2d02d89d4eb


    7.19.771.21
    H3G_UK
    MID: PN0710000
    CID: H3G__001
    CID: H3G__106
    CID: H3G__G04
    CID: H3G__402

    https://www.androidfilehost.com/?fid=24052804347763965
    md5: f85aec5bb544af9bb70f86eed037b859


    7.18.1020.21
    Bouygues_FR
    MID: PN0710000
    CID: HTC__247

    https://www.androidfilehost.com/?fid=24052804347774398
    md5: 44f9801d8a18227ea5d021f21a62a6c1


    7.18.709.20
    hTC_Asia_TW
    MID: PN0714000
    CID: HTC__621

    https://www.androidfilehost.com/?fid=24052804347774648
    md5: 7dda313eda77cb00b16328ab0de599f5


    7.18.708.21
    hTC_Asia_HK
    MID: PN0714000
    CID: HTC__622

    https://www.androidfilehost.com/?fid=24052804347774672
    md5: 9fee784a2ca274b0d76ec2d27152ba1c


    7.21.707.21
    hTC_Asia_WWE
    MID: PN0714000
    CID: HTC__044

    https://www.androidfilehost.com/?fid=24052804347774688
    md5: f63ba7847296343df8000d22d024ee85


    7.18.901.21
    TIM Italy
    MID: PN0710000
    CID: TIM__401

    link: https://www.androidfilehost.com/?fid=24052804347778582
    md5: 1005521389e9bf3281e4bdb3cae79062


    M7_U

    7.21.707.121
    hTC_Asia_WWE
    MID: PN0711000
    CID: HTC__038
    https://www.androidfilehost.com/?fid=24052804347766614
    md5: ce50cd152a099456c401c5529413dd26


    7.18.709.120
    Asia TW
    MID: PN0711000
    CID: HTC__621

    link: https://www.androidfilehost.com/?fid=24052804347778583
    md5: 3fe830b6f4f32e3d4abd01be246202a3


    Third Generation Lollipop RUU’s Collection (Stagefright fix) (7.xx.xxx.30 /.35)
    HTC One M7 801 Single SIM
    5.0.2 Sense 6

    M7_UL

    7.19.206.30
    O2_UK
    MID: PN0710000
    CID: 02___001
    CID: 02___102
    https://www.androidfilehost.com/?fid=24052804347813898


    7.17.1540.35
    BrightstarUS (Dev edition)
    MID: PN0712000
    CID: BS_US001
    Official HTC link


    7.19.401.30 S-OFF only (combined ruu)
    HTC_Europe
    MID:pN0710000
    CID: HTC__001
    CID: HTC__J15
    CID: HTC__E11
    CID: HTC__203
    CID: HTC__102
    CID: HTC__405
    CID: HTC__Y13
    CID: HTC__A07
    CID: HTC__304
    CID: HTC__032
    CID: HTC__016

    Link: https://www.androidfilehost.com/?fid=24052804347813879
    MD5: b2330edc755fd81ed2da57b514a00827
    thanks to @Slim Jim Guy for sharing see post 315


    7.19.111.30 S-OFF only (combined ruu)
    TMO_DE
    MID:pN0710000
    CID: T-MOB101

    Link: https://www.androidfilehost.com/?fid=24385226645962870
    MD5: 8C230453418A99FE0F5102A0B099E947
    thanks to @Slim Jim Guy for sharing see post 315


    7.19.161.30 S-OFF only (combined ruu)
    Vodafone UK
    MID: PN0710000
    CID: VODAP001
    CID: VODAP102
    CID: VODAPE17
    CID: VODAP405
    CID: VODAP304
    CID: VODAPD18
    CID: VODAP120
    CID: VODAP110

    Link: https://www.androidfilehost.com/?fid=24385226645962901
    MD5: A83A63DA1DF2C90CC0558DD8CE7B25F3
    thanks to @Slim Jim Guy for sharing see post 315


    7.18.111.35
    TMO_DE
    MID: PN0710000
    CID: T-MOB101

    Link: https://www.androidfilehost.com/?fid=24352994023702663
    md5: 5ed72262aa03c47d59df053b829c2e78
    credits to @Slim Jim Guy post #456



    4th Generation Lollipop RUU’s Collection (7.xx.xxx.51)
    HTC One M7 801 Single SIM
    5.0.2 Sense 6

    M7_UL

    7.18.206.51
    O2 UK
    MID: PN0710000
    CID: 02___001
    CID: 02___102

    Link: https://www.androidfilehost.com/?fid=24352994023702662
    md5: d3848b3cc8066c11dd2ea8dbaba36d79
    credits to @Slim Jim Guy post #456


    7.19.401.51 decrypted (s-off only)
    HTC_Europe
    MID:pN0710000
    CID: HTC__001
    CID: HTC__J15
    CID: HTC__E11
    CID: HTC__203
    CID: HTC__102
    CID: HTC__405
    CID: HTC__Y13
    CID: HTC__A07
    CID: HTC__304
    CID: HTC__032
    CID: HTC__016

    Download: https://www.androidfilehost.com/?fid=24391638059058241
    md5: f71e3fd28627620356a7c1ecb9b90c9e
    credits to @Slim Jim Guy


    7.19.401.51 Signed
    HTC_Europe
    MID:pN0710000
    CID: HTC__001
    CID: HTC__J15
    CID: HTC__E11
    CID: HTC__203
    CID: HTC__102
    CID: HTC__405
    CID: HTC__Y13
    CID: HTC__A07
    CID: HTC__304
    CID: HTC__032
    CID: HTC__016

    Download: https://www.androidfilehost.com/?fid=24369303960689843
    md5: 45ee5f80d33719092b4ea5057cff8684
    credits to @Slim Jim Guy


    7.18.111.51
    TMO_DE
    MID:pN0710000
    CID: T-MOB101

    Download: https://www.androidfilehost.com/?fid=24385226645962876
    md5: 894e8b8b19b673163bf724d25d28d82e
    credits to @Slim Jim Guy



    Lollipop RUU’s Collection
    HTC One M7 802 Dual SIM
    5.0.2 Sense 6
    M7C_DWG (802d)

    7.17.707.6
    HTC Asia Indonesia WWE
    MID: PN0751000
    CID: HTC__044

    link: https://www.androidfilehost.com/?fid=24052804347774362
    md5: 2edf0298505344c24a2fff275d218185


    7.17.720.6
    HTC Asia India
    MID: PN0751000
    CID: HTC__038

    link: https://www.androidfilehost.com/?fid=24052804347774374
    md5: 4f69fae8f7123c12493708387c8657a6


    7.17.500.9
    APTG TW
    MID: PN0751000
    CID: HTC__621

    link: https://www.androidfilehost.com/?fid=24052804347774387
    md5: 6d40cbf9e995794f50950dfd932e10a5


    7.19.1401.2

    MID: PN0751000
    MID: PN0752000
    CID: HTCCN702
    Link: https://www.androidfilehost.com/?fid=24052804347846772
    Md5: 76adeb487aeb5e3f7cf04a9cd69a34aa


    M7C_DUG (802w)

    7.17.401.5
    HTC Europe
    MID: PN0771000
    CID: HTC__001
    CID: HTC__A07
    CID: HTC__A48

    https://www.androidfilehost.com/?fid=24052804347778476
    md5: 6de185d48c24a296f53a5b1f25f039f9


    7.17.402.5
    HTC Nordic
    MID: PN0771000
    CID: HTC__001
    CID: HTC__032
    CID: HTC__J15
    CID: HTC__Y13

    https://www.androidfilehost.com/?fid=24052804347778519
    md5: 1a3bf80b9f99510c18f0decd187ae116


    7.17.425.5
    WWE VNM
    MID: PN0771000
    CID: HTC__059

    https://www.androidfilehost.com/?fid=24052804347778538
    md5: 62aae7249d85f9f461beb10bb3c8749e


    7.xx.1402.x
    There is no lollipop RUU available for this one.
    MID: PN0771000
    MID: PN0772000
    CID: HTCCN703
    If you find one, share it otherwise don't ask for it plz

    M7C_DTU (802t)

    7.19.1403.31

    MID: PN0780000
    CID: HTCCN704
    Link: https://www.androidfilehost.com/?fid=24052804347846756
    Md5: 5f700a77a60c136c2d240bced49b42dc


    How to "downgrade" with S-ON

    Yes I know, this is very long to read, but do read everything before proceeding.
    First, let me explain what the bootloader check before flashing a RUU on an S-ON phone:

    • The CID of your phone is compared to the CID listed in the android-info.txt file of the RUU. Your CID must match one of the CID listed.
    • The MID of your phone is compared to the MID listed in the android-info.txt file of the RUU. Your MID must match one of the MID listed.
    • Since the phone is S-ON, the bootloader must check the signature of the RUU, signature verification is only enabled when the bootloader is (re)locked.
    • Bootloader version is checked, it must be same or newer than your actual bootloader version (hboot version).
    • Version-main is checked, it must be same or newer than your actual version-main. (the "os-" line when booted in bootloader mode)

    If only one of the above conditions isn't good, the RUU can't be flashed.

    Here is an example of an android-info.txt file from the 7.19.401.2 RUU:
    Code:
    modelid: PN0710000
    cidnum: HTC__001
    cidnum: HTC__J15
    cidnum: HTC__E11
    cidnum: HTC__203
    cidnum: HTC__102
    cidnum: HTC__405
    cidnum: HTC__Y13
    cidnum: HTC__A07
    cidnum: HTC__304
    cidnum: HTC__032
    cidnum: HTC__016
    mainver: 7.19.401.2
    btype:1
    aareport:1
    hbootpreupdate:3

    Example:
    Lets say I want to flash this 7.19.401.2 RUU on my 7.19.401.30 phone which is S-ON and re-locked (see the "fastboot getvar all" output below)

    Code:
    fastboot getvar all
    (bootloader) version: 0.5
    (bootloader) [COLOR="magenta"][B]version-bootloader[/B][/COLOR]: 1.61.0000    [COLOR="magenta"][B]---> Bootloader version[/B][/COLOR]
    (bootloader) version-baseband: 4T.35.3218.16
    (bootloader) version-cpld: None
    (bootloader) version-microp: None
    (bootloader) [B][COLOR="Magenta"]version-main[/COLOR][/B]: 7.17.401.30     [COLOR="magenta"][B]---> version-main[/B][/COLOR]
    (bootloader) version-misc: PVT SHIP [COLOR="magenta"][B]S-ON[/B][/COLOR]
    (bootloader) serialno: -deleted-
    (bootloader) imei: -deleted-
    (bootloader) meid: 00000000000000
    (bootloader) product: m7_ul
    (bootloader) platform: HBOOT-8064
    (bootloader) [COLOR="magenta"][B]modelid[/B][/COLOR]: PN0710000   [COLOR="magenta"][B]---> MID[/B][/COLOR]
    (bootloader) [COLOR="magenta"][B]cidnum[/B][/COLOR]: HTC__001    [B][COLOR="magenta"]---> CID[/COLOR][/B]
    (bootloader) battery-status: good
    (bootloader) battery-voltage: 4156mV
    (bootloader) partition-layout: Generic
    (bootloader) security: on
    (bootloader) build-mode: SHIP
    (bootloader) boot-mode: FASTBOOT
    (bootloader) commitno-bootloader: dirty-9df5faa7
    (bootloader) hbootpreupdate: 11
    (bootloader) gencheckpt: 0

    If I try to flash it:

    • The CID of my phone is compared to the CID listed in the android-info.txt file of the RUU. ---> Good, "HTC__001" is listed
    • The MID of my phone is compared to the MID listed in the android-info.txt file of the RUU. ---> Good, "PN071000" is listed
    • Since the phone is S-ON, the bootloader must check the signature of the RUU, signature verification is only enabled when the bootloader is locked or re-locked. ---> Good, my phone is re-locked and the RUU is signed (official HTC ruu)
    • Bootloader version is checked, it must be same or newer than your actual bootloader version. ---> Good, both the phone and the RUU i want to flash are on bootloader version 1.61
    • Version-main listed in the RUU is checked, it must be same or newer than your actual version-main ---> Not good, my actual version-main is newer (7.19.401.30) than the one listed in the RUU (7.19.401.2), RUU won't flash

    Result: I can't flash it because my actual version-main is newer than the one listed in the RUU, all others values are matching.

    Solution:
    The version-main value is stored in the MISC partition (mmcblk0p19).The good thing is that the MISC partition isn't secured so you can write to it even if the phone is S-ON, this will allow us to edit/spoof the version-main and flash the RUU even if its a downgrade.

    Prerequisites: You already know how to use adb/fastboot commands, you already have all the drivers correctly installed on your computer and your phone is correctly detected by it ---> if not, this guide isn't for you, do your homework before proceeding.

    (NEW)Tool to change the version-main (using example above):
    • Unlock your bootloader with instructions available at htcdev.com/bootloader
    • flash twrp 2.6.3.3 (tool was tested with 2.6.3.3, will often hang if used with newer version)
    • Download Misc_Tool_1.00.zip and save it at the root of your internal storage (/sdcard)
    • Boot in twrp 2.6.3.3, select the "install" menu then select "Misc_Tool_1.00.zip"
    • Swipe the bottom slider to start the tool
    • Follow instructions from pictures below:
      misc1.png
      misc2.png
      misc3.png
      misc4.png
      misc5.png
      misc6.png
      misc7.png
      misc8.png
      misc9.png
      misc10.png
      misc11.png
      misc12.png
      misc13.png
    • Confirm your version-main now changed from 7.19.401.30 to 7.19.401.2 (Values for example above)
    • Re-lock you bootloader
    • Flash the RUU using instructions from Post #1
    Found any bug using this tool? Report it using Private Message not in this thread.


    Instructions how to change your version-main manually (using example above):
    1. Unlock your bootloader (follow instructions @ htcdev.com/bootloader)
    2. Flash a stable custom recovery, better to work with twrp 2.6.3.3
    3. boot in your custom recovery
    4. from your computer, open a terminal window from your adb/fastboot directory.
      Code:
      adb shell
      echo -ne "7.19.401.2\x00\x00" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
      exit
      adb reboot bootloader

      echo%20-ne.jpg

    5. confirm your version-main is now 7.19.401.2 (replace this number in the above command by the number you need for your own situation, ref to important notes below)
    6. relock your bootloader
    7. flash the 7.19.401.2 RUU
    Probably a really good idea is to backup your mmcblk0p19 partition just in case you mess it (and save the backup on your computer) before editing it
    To backup your MISC partition, use dd if=/dev/block/mmcblk0p19 of=/sdcard/misc_bakup.img and copy the misc_backup.img file from the root of your sd card to your computer


    So now here is the new situation:
    • The CID of my phone is compared to the CID listed in the android-info.txt file inside the RUU. ---> Good, "HTC__001" is listed
    • The MID of my phone is compared to the MID listed in the android-info.txt file inside the RUU. ---> Good, "PN071000" is listed
    • Since the phone is S-ON, the bootloader must check the signature of the RUU, signature verification is only enabled when the bootloader is locked or re-locked. ---> Good, my phone is re-locked and the RUU is signed (official HTC ruu)
    • Bootloader version is checked, it must be same or newer than your actual bootloader version. ---> Good, both the actual versionand the RUU i want to flash are on bootloader version 1.61
    • Version-main listed in the RUU is checked, it must be same or newer than your actual version-main ---> Good, the phone read 7.19.401.2 (even if its not true) and the ruu will flash.

    Limitations: If you understand what was said above, you probably already understand the limits of what can be done with this. But just in case:
    Because you can only edit the version-main, you are limited to downgrade using a RUU that is packed with the same hboot version than the version installed on your phone. So it's only useful to downgrade in small increment. Forget about downgrading from 7.xx.xxx.x to 6.xx.xxx.x, that will requires S-OFF for hboot downgrade. This method is only useful to downgrade from let say 7.xx.xxx.35 to 7.xx.xxx.2 or from .35 to .22 or .22 to .2 which is really useful if your phone is S-ON and you can't find a RUU of the same version or newer than your version-main.

    Important notes:
    • Messing with the MISC partition can brick your phone. Make sure you are using the correct "dd" command. If you are unsure, don't use it and ask questions instead.
    • I'm not responsible for any brick, you do this at your own risk. Even if using the tool above, there is always some risk to mess your MISC partition.
    • The version-main value can in theory have 12 characters for example: 7.17.1540.35 or 7.19.401.130 are 12 characters including dots. If the version-main you want to write doesn't have 12 characters, don't forget to add the required "null" values at the end so you have 12 characters total. Null in hexadecimal is expressed by x00. If you don't, it could cause problems
      e.g: let say you want to go from 7.17.1540.35 (12 characters) to 7.17.1540.7 (11 characters).
      If using this command: echo -ne "7.17.1540.7" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160 you'll end out having a version-main of 7.17.1540.75 because you didn't removed the last character (the last 5). Hence why you have to use echo -ne "7.17.1540.7\x00" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
    • This manual method described above is not my idea, only re-sharing what was done in post #299 with extra information.
    6
    New RUUs for M7_UL

    Here are some more new RUUs for M7_UL.

    • 7.19.401.51 - HTC_Europe
      Download
      MD5: 45EE5F80D33719092B4EA5057CFF8684
      Code:
      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
    • 7.17.1540.51 - BrightstarUS
      Official Download
      MD5: 96ACFC42A9B28E02755CDDACE90FB9C9
      Code:
      RUU_M7_UL_L50_SENSE60_MR_BrightstarUS_WWE_7.17.1540.51.exe
    5
    New RUUs for M7_UL

    Here are some new and missing RUUs for M7_UL.

    • 7.19.401.30 - HTC_Europe
      Download
      MD5: B2330EDC755FD81ED2DA57B514A00827
      Code:
      PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.30_Radio_4T.35.3218.16_10.33Q.1718.01L_release_449611_combined_signed.zip
    • 7.18.111.22 - TMO_DE
      Download
      MD5: 82DD562C19EAA29B3E9D3C5123903320
      Code:
      PN07IMG_M7_UL_L50_SENSE60_MR_TMO_DE_7.18.111.22_Radio_4T.35.3218.16_10.33Q.1718.01L_release_438604_combined_signed.zip
    • 7.18.111.30 - TMO_DE
      Download
      MD5: 8C230453418A99FE0F5102A0B099E947
      Code:
      PN07IMG_M7_UL_L50_SENSE60_MR_TMO_DE_7.18.111.30_Radio_4T.35.3218.16_10.33Q.1718.01L_release_449158_combined_signed.zip
    • 7.18.161.30 - Vodafone_UK
      Download
      MD5: A83A63DA1DF2C90CC0558DD8CE7B25F3
      Code:
      PN07IMG_M7_UL_L50_SENSE60_MR_Vodafone_UK_7.18.161.30_Radio_4T.35.3218.16_10.33Q.1718.01L_release_449460_combined_signed.zip
    5
    New RUUs

    There's only 2 RUU you can flash on this phone, 7.21.707.105 or 7.21.107.121 and both will requires to unlock your bootloader, flash twrp, downgrade your version-main (see tutorial at the end of post #2), relock your bootloader and flash the RUU.

    Or just use the RUU below.

    • 7.21.707.151 - hTC_Asia_WWE - M7_U
      Download
      MD5: A46D1F918AE0D60B025AE616ADB340EA
      Code:
      PN07IMG_M7_U_L50_SENSE60_MR_hTC_Asia_WWE_7.21.707.151_Radio_4T.35.3218.16_10.33Q.1718.01D_release_459216_signed.zip

    Here is the latest HTC_Europe RUU for the M7_U.

    • 7.19.401.151 - HTC_Europe - M7_U
      Download
      MD5: E95ACC40CE6D2000F3513C70B0419A69
      Code:
      PN07IMG_M7_U_L50_SENSE60_MR_HTC_Europe_7.19.401.151_Radio_4T.35.3218.16_10.33Q.1718.01D_release_458806_signed.zip

    By the way, here is the latest HTC_Europe executable RUU for the M7_UL if anyone needs it.

    • 7.19.401.51 - HTC_Europe - M7_UL - EXE
      Download
      MD5: E888DD1DB745C695C3DC3F51BFC3EFAE
      Code:
      RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe

    If someone needs another RUU that is not available here, then just ask.