Related
Hi, I want to restock my HTC M8 - cid Tmob101 (De) (restock recovery,firmware,hboot,rom...) by RUU.exe 'cause I need to return it to seller (The main mic's not working). But I can't find the RUU anywhere.
Can anybody help me?
littlecowboyz said:
Hi, I want to restock my HTC M8 - cid Tmob101 (De) (restock recovery,firmware,hboot,rom...) by RUU.exe 'cause I need to return it to seller (The main mic's not working). But I can't find the RUU anywhere.
Can anybody help me?
Click to expand...
Click to collapse
Have you tried searching the threads that are dedicated to this?
Like this one
RUUs, OTAs, Stock TWRP Backups, Firmware & More Collection, it offers you a nandroid. Without more info this is the best I can do
There isn't an RUU for that version, you'll need to use backups in the Backups thread and restore that to get back to stock
TempestZ said:
Have you tried searching the threads that are dedicated to this?
Like this one
RUUs, OTAs, Stock TWRP Backups, Firmware & More Collection, it offers you a nandroid. Without more info this is the best I can do
Click to expand...
Click to collapse
EddyOS said:
There isn't an RUU for that version, you'll need to use backups in the Backups thread and restore that to get back to stock
Click to expand...
Click to collapse
Thanks u guys for answer me. I do search in forum and out by Google,but it seems there's no RUU for my phone. I downloaded some zip RUU and flash,everything is okay. But I cannot turn wifi on! Try at least 4 different zip RUU, but it useless ...
Any advice???
Thanks
Hi guys,
need your help.
I have Europe M9, with S-ON.
Rooted it, and installed TWRP, installed custom rom.
How to revert it to full stock? I have sold the phone, and now buyer wants it back to way it were.
Thanks.
Thankfully it's pretty easy; just download your carrier specific RUU to restore to full stock. It's a Windows executable that completely wipes & return your phone to factory state.
I have bought it in Telenor Serbia it was on 1.32.401.15. Should I use any Europe RUU, or do I need to find one exact to match my carrier, and-or my firmware version?
sorry if being noob, but cannot understand this HTC's nonsense (s-on/s-off, cid, hboot...) thats the exact reason why I have sold it. to complicated for me...
I just want it up and running, and trust me, I will never EVER buy another HTC again.
acasmc said:
I have bought it in Telenor Serbia it was on 1.32.401.15. Should I use any Europe RUU, or do I need to find one exact to match my carrier, and-or my firmware version?
sorry if being noob, but cannot understand this HTC's nonsense (s-on/s-off, cid, hboot...) thats the exact reason why I have sold it. to complicated for me...
I just want it up and running, and trust me, I will never EVER buy another HTC again.
Click to expand...
Click to collapse
Since there are two different versions of your firmware and I don't know which one is the correct one for you I would suggest you to use this firmware and downgrade to 1.32.401.8. This works because the aboot has not been updated until now. The process itself is very easy:
Download the RUU
Rename it to 0PJAIMG.zip (that's a zero at the beginning not an O)
Copy the file on an external SD card that is formatted to fat32 and not bigger than 32 gb
Boot into download mode
Follow the instructions that are shown on your M9's screen
Congratulation you are now back on stock rom and firmware
You have to use either this way or the fastboot flashing method since there are no RUU executables for the european version.
Btw: No one here forced you to buy the M9. Since it's simply a matter of taste it's up to you which device you choose. I personally prefer HTC's user friendliness in regard to bootloader unlock and rooting (compare it for example with Samsung's Knox system). But this is not the right place for that debate.
Edit: Since my phone is S-OFF I'm not completely sure but you might have to relock your bootloader or step 5 might no work properly.
I have the same problem, i wanna know how to restore it to full stock, i need it just in case something happens to phone and i need to use my waranty. I'm also on telenor serbia. Any detailed instructions would be much appreciated. And one more thing, will i be able to recevie OTA updates even though its rooted ?
Djomla87 said:
And one more thing, will i be able to recevie OTA updates even though its rooted ?
Click to expand...
Click to collapse
Root by itself doesn't prevent OTAs, but changes to the recovery do. As far as I know, acquiring root (for this device) always involves flashing a custom recovery. So OTA aren't possible until the stock recovery is restored.
Do I need to have sd card, or can I flash it from pc using adb?
I have already tried this method, and fastboot gave me an error 22? Maybe I got wrong firmware. Will try again, thanks.
computerslayer said:
Root by itself doesn't prevent OTAs, but changes to the recovery do. As far as I know, acquiring root (for this device) always involves flashing a custom recovery. So OTA aren't possible until the stock recovery is restored.
Click to expand...
Click to collapse
Ok so how do i restore stock recovery?
You flash stock recovery zip that can be found on xda.
acasmc said:
You flash stock recovery zip that can be found on xda.
Click to expand...
Click to collapse
What version ?
As far as I know, there is only one. Search in forums.
This is what I get when try to flash from adb.
used the file from post on first page,
try this RUU: http://androidruu.com/getdownload.p...6.02.50306G_2_F_release_429340_signed_2_4.exe
I'm also interested if it's possible to go back to stock from a S-ON with RUU_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.17_Radio_01.01_U11440261_56.02.50306G_2_F_release_429340_signed_2_4.exe
Good to know basis
dondavis007 said:
I'm also interested if it's possible to go back to stock from a S-ON with RUU_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.17_Radio_01.01_U11440261_56.02.50306G_2_F_release_429340_signed_2_4.exe
Click to expand...
Click to collapse
If you are S-ON you can only flash a RUU for your carrier and device. If that's the correct RUU for your phone, it will do it.
iElvis said:
If you are S-ON you can only flash a RUU for your carrier and device. If that's the correct RUU for your phone, it will do it.
Click to expand...
Click to collapse
The question is where can you find correct RUU from specific carrier
So if you're an European open you can't really flash without s off?
Skickat från min HTC One M9 via Tapatalk
Djomla87 said:
The question is where can you find correct RUU from specific carrier
Click to expand...
Click to collapse
There is a RUU list in the General forum. Not all configurations have RUUs, unfortunately, as it has always been with HTC.
http://forum.xda-developers.com/one-m9/general/htc-one-m9-dump-t3060545
By far the easiest way for the inexperienced is to use the windows exe version linked to a few posts ago .
If you're on 1.32.401.15 then simply flash 1.32.401.17 using the exe version. Simply run windows program and follow on screen prompts .
Main limitation if you're S on is it will only allow upgrade that is to go to higher number as described .
I think there is also a 1.32.401.8 exe but that's an earlier version so if you tried to use that and you were on higher version such as 1.32.401.15 then it wouldn't allow unless you had obtained S off.
Sent from my HTC One M9 using XDA Free mobile app
One more thing, i received lates OTA update, but it wont instal because recovery isnt stock. I found stock signed, when i flash it will the phone factory reset or not ?
when i turn on my htc m9 it goes to bootloader and i have access to download mode and recovery mode (rooted TWRP) and i tried with so many RUU but always i get error 131 (RUU not matched with your CID )
my phone is UNLOCKED and S-ON i cant get it to S-OFF and change the cid :/
kernel: lk
product: htc_himawhl
version: 1.0
imei:
version-main: 2.11.651.19
boot-mode: download
version-baseband: [email protected]
version-bootloader: 1.0.0.0000
mid: 0PJA10000
cid: SPCS_001
any solution ? or RUU for my MID and CID ?
Have you identified your MID & CID? This will be key in finding the correct RUU. The best resource is the SKU/CID/MID list by Sneakyghost & Behold_this (url below). Yes, we could look it up for you, but it's best to learn firsthand and will take just a minute or two.
Once you know your carrier and model, we can start searching for the matching. From your information, it looks like you're currently on Lollipop firmware, so we're talking about moving you to Marshmallow if it's available. This will get you the latest firmware and enable you to run the latest custom ROMs, if you should choose to do so.
Useful links for modding your HTC M9
Flippy498's Google Sheet
- the end-all, be-all resource for HTC M9 restoration
SKU-, CID- and MID-List by Sneakyghost and Behold_this
- a spreadsheet for using your CID & MID to identify your phone
HTC Sync Manager
- installs the necessary drivers & ADB tools for the HTC M9
Instructions for obtaining your CID, MID & software version on Windows:
a. Install HTC Sync Manager (this will install the necessary drivers & ADB tools)
b. Boot your phone into download mode (from a powered off state, turn on by holding the POWER+DOWNVOL)
c. Connect your phone to your PC
d. Open a command prompt window
e. Navigate to the ADB tools folder, typically C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync
- assuming the path is correct, you can cut & paste this command into your terminal: cd C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync
f. Execute the following command in a terminal (command prompt): fastboot getvar all
g. Copy the lines that mention product, version-main, mid, and cid.
@computerslayer: It's actually easier to look at the line with "OS" at the beginning which can be found in download mode (it states the same information as version-main from getvar all) and to search for a RUU that corresponds to that firmware version. There is no need for finding out the device's CID or MID.
Edit: Besides of that all the needed information can already be found in the OP.
@djope47: Visit HTC's US website. They provide RUUs for US carriers. The search function of your browser and your version-main will probably lead you to the correct RUU. Newer versions with the same SKU (the numbers behind the second dot in the firmware version and before the third dot) should be fine, too.
Edit2: Or you look at the RUU collections which are linked in my thread (located in the general section).
Sent from my HTC One M9 using XDA Labs
i got my firmware from HTC site (sprint) and in the begging of flashing (0%) it gives me error-155 (same result with unlocked/relocked bootloader and S-ON) and when i try with zip file it tells me i dont have the correct CID
Flippy498 said:
@computerslayer: It's actually easier to look at the line with "OS" at the beginning which can be found in download mode (it states the same information as version-main from getvar all) and to search for a RUU that corresponds to that firmware version. There is no need for finding out the device's CID or MID.
Edit: Besides of that all the needed information can already be found in the OP.
Click to expand...
Click to collapse
Thanks Flippy! I appreciate the chance to learn more about the M9.
djope47 said:
i got my firmware from HTC site (sprint) and in the begging of flashing (0%) it gives me error-155 (same result with unlocked/relocked bootloader and S-ON) and when i try with zip file it tells me i dont have the correct CID
Click to expand...
Click to collapse
So you tried the M9 x.xxx.651.xx RUU from HTCs website while your phone was relocked and booted to download mode? Your phone definitely has the correct Sprint CID therefore it's not normal that you face that error. How did you try to flash the *.zip from stifilz's collection (or did you extract the *.zip from the *.exe by yourself - if so: what have been your exact steps?)? Did you use fastboot or have you tried the SD card method described in my google sheet?
I personally don't like the *.exe files or the fastboot method (which actually work the same way). They fail so many times due to little mistakes a user can make. The SD card method on the other hand doesn't rely on working USB cables, drivers, the correct USB port, and a relocked bootloader (so you can use it with an unlocked bootloader, too) or in some cases the correct windows version (some people have problems with win 10 whereas the same setup with win 7 doesn't produce a single error for them).
ive tried the sd card method (go to download mode then press volume up button ) and i got the failed msg ,i tried it with different x.xxx.651.xx RUUs all gives the same result
Is it possible to install ruu from the US developer version to HTC One m9 bought from other country ? (Dubai version )
i found this https://www.youtube.com/watch?v=xWmnHwkDrKk ,its the same problem that i have but its for htc one ,ist safe if i try it on htc m9 ?
djope47 said:
i found this https://www.youtube.com/watch?v=xWmnHwkDrKk ,its the same problem that i have but its for htc one ,ist safe if i try it on htc m9 ?
Click to expand...
Click to collapse
I didn't watch the video, but I can tell you that he is using an HTC One M7 and that I wouldn't follow instructions for anything other than your phone model (HTC One M9).
i noticed that all RUU.zip files that i downloaded are corrupted i cant extract them ,and the size of zip file is more than 2GB but the total size of the files inside it is like 70MB is this normal ? ive downloaded several RUUs and they are all with the same problem
They're encrypted and not meant to be unzipped. Therefore many programs can't handle those archives. If you use 7-zip and the #-method then you're able to unzip a RUU. However there is absolutely no reason why you should do that since they get flashed as a zip.
Sent from my HTC One S using XDA Labs
so what should i do ive tried what u said and didnt work out ! should i try this method https://www.youtube.com/watch?v=xWmnHwkDrKk ?? and in those RUUs they have the same CIDnum with my phone but the MIDnum mine is 0PJA10000 and the sprint RUUs have 0PJA20000
any solution ?
Oh yeah, I totally missed that. The MID with the 2 is the correct one for sprint. Did you buy your phone second hand? It looks like someone set is S-OFF, changed the MID and set it S-ON, again. Maybe that person flashed a RUU that's not compatible with that phone, too. You should try to find out the Serialnumber of the phone and contact HTC for finding out whether it really is a sprint phone or whether someone borked an international M9 (your current MID is the international one). GSM firmware and CDMA hardware are not compatible and vice versa. In the worst case it's unrecoverable.
If we know it's original firmware we might be able to fix the phone with a RUU. However I can't guarantee anything.
Btw, instructions how to flash RUU.zip files can be found in my google sheet, too.
Sent from my HTC One S using XDA Labs
all what you said i was the one who done that ! i bought it with s-off and with TWRP and i was trying to get it back to stock so i followed a guide that told me to change my MID to 0PJA10000 (its was 0PJA20000 at first )then i flashed a wrong RUU that was in the guide and i set it S-ON again ! i contacted htc they told me its sprint
any solution now ?
Flippy498 said:
Oh yeah, I totally missed that. The MID with the 2 is the correct one for sprint. Did you buy your phone second hand? It looks like someone set is S-OFF, changed the MID and set it S-ON, again. Maybe that person flashed a RUU that's not compatible with that phone, too. You should try to find out the Serialnumber of the phone and contact HTC for finding out whether it really is a sprint phone or whether someone borked an international M9 (your current MID is the international one). GSM firmware and CDMA hardware are not compatible and vice versa. In the worst case it's unrecoverable.
If we know it's original firmware we might be able to fix the phone with a RUU. However I can't guarantee anything.
Btw, instructions how to flash RUU.zip files can be found in my google sheet, too.
Sent from my HTC One S using XDA Labs
Click to expand...
Click to collapse
all what you said i was the one who done that ! i bought it with s-off and with TWRP and i was trying to get it back to stock so i followed a guide that told me to change my MID to 0PJA10000 (its was 0PJA20000 at first )then i flashed a wrong RUU that was in the guide and i set it S-ON again ! i contacted htc they told me its sprint
any solution now ?
I guess you're talking about the "100%" guide here in the general forum. The problem is that it only applies to the international version of the M9. Since many users don't know that there is a dedicated forum for every US branded version of the M9 mistakes like yours may occur.
If possible flash a custom rom that is compatible with your current firmware and based on sense (like an old viper version for example). Then get the sunshine app and try to re-S-OFF your phone. If you're lucky and the previous owner used sunshine, too, you won't have to pay. If not you need to invest 25 bucks to recover your phone. After you got S-OFF you change the MID back to its original state. Afterwards you should be able to use the RUU.zip as described in my sheet.
Sent from my HTC One S using XDA Labs
Flippy498 said:
I guess you're talking about the "100%" guide here in the general forum. The problem is that it only applies to the international version of the M9. Since many users don't know that there is a dedicated forum for every US branded version of the M9 mistakes like yours may occur.
If possible flash a custom rom that is compatible with your current firmware and based on sense (like an old viper version for example). Then get the sunshine app and try to re-S-OFF your phone. If you're lucky and the previous owner used sunshine, too, you won't have to pay. If not you need to invest 25 bucks to recover your phone. After you got S-OFF you change the MID back to its original state. Afterwards you should be able to use the RUU.zip as described in my sheet.
Sent from my HTC One S using XDA Labs
Click to expand...
Click to collapse
where can i find that custom rom ?or which one is the right one for my phone ? can you give me a link to it ? help me please im a noob
Being a noob is not an excuse for not using the xda search or google. The rom is even linked in my signature.
Link to Team Venoms Website
I guess version 3.5 should work fine for you.
Flippy498 said:
Being a noob is not an excuse for not using the xda search or google. The rom is even linked in my signature.
Link to Team Venoms Website
I guess version 3.5 should work fine for you.
Click to expand...
Click to collapse
damn man it worked thanks a lot
Hey all, im not very software proficient, and I need some help in updating my HTC One M9 to Marshmallow.
I recently purchased it from my friend, and apparently, its an International version that is also the developers edition.
It came with TWRP already installed, but I flashed the stock recovery so that I could install the update from HTC itself, But everytime it finishes downloading the update, it gives me an error about it not downloading the correct file. I dont get it, cause its pretty much downloading it by itself, how can it not download the right version.
Is there anyway for me to check and find out exactly what version of the phone this is. Can someone please send me a reliable download link for the official Marshmallow update (already tried using the file on the official HTC website, but apparently had a file size flash limit, this was when using TWRP, not the official recovery) and detailed steps on how to flash it. I have tried multiple ways and have always stumbled upon several errors. Really hoping that nothing is wrong with my phone.
Thank you in advance.
Are you sure it's a developer edition, how do you know this?.
Beamed in by telepathy.
shivadow said:
Are you sure it's a developer edition, how do you know this?.
Beamed in by telepathy.
Click to expand...
Click to collapse
I dont know if it is or not, because when I got the phone, on startup it would give me text in red saying "developers edition, this phone is not for resale of distribution outside blah blah" I dont remember the exact text. But after I flashed the official recovery file, it doesnt give me that anymore.
So lets say its not a developers edition, how do I go about updating it?
Trafalgar747 said:
...on startup it would give me text in red saying "developers edition, this phone is not for resale of distribution...
Click to expand...
Click to collapse
That text is an indication that the bootloader got unlocked and that someone flashed something so that the phone is modified and not stock, anymore. It has nothing to do with the developer edition of the M9. The developer edition is just a US version of the M9 which gets delivered with a factory unlocked bootloader. Therefore chances are high that you flashed the wrong (in other words an incompatible) stock recovery. You need to find out the current firmware version of the phone and restore everything to stock by using a TWRP backup or a RUU. My signature contains a link to my google sheet. There you'll find instructions how to find and flash the correct RUU or how to find and correctly restore a corresponding TWRP backup. If you don't follow the instructions you won't be able to update your phone. Updates for the M9 and every other HTC phone that is newer are different than the ones for older HTC phones. My sheet might not contain a RUU for your firmware or a corresponding backup since I don't support every existing firmware. However you can find additional files in my thread (which is linked in the sheet, too, or can be found by visiting the general section). If no one contributed the files you need here on xda you'll need to use Llabtoofer's RUU service. Be aware that it's not for free.
Sent from my HTC One M9 using XDA Labs
Flippy498 said:
That text is an indication that the bootloader got unlocked and that someone flashed something so that the phone is modified and not stock, anymore. It has nothing to do with the developer edition of the M9. The developer edition is just a US version of the M9 which gets delivered with a factory unlocked bootloader. Therefore chances are high that you flashed the wrong (in other words an incompatible) stock recovery. You need to find out the current firmware version of the phone and restore everything to stock by using a TWRP backup or a RUU. My signature contains a link to my google sheet. There you'll find instructions how to find and flash the correct RUU or how to find and correctly restore a corresponding TWRP backup. If you don't follow the instructions you won't be able to update your phone. Updates for the M9 and every other HTC phone that is newer are different than the ones for older HTC phones. My sheet might not contain a RUU for your firmware or a corresponding backup since I don't support every existing firmware. However you can find additional files in my thread (which is linked in the sheet, too, or can be found by visiting the general section). If no one contributed the files you need here on xda you'll need to use Llabtoofer's RUU service. Be aware that it's not for free.
Sent from my HTC One M9 using XDA Labs
Click to expand...
Click to collapse
Sorry for sounding so noobish, but how do I find the exact firmware of my phone, I can move forward from there then. If its in about device, what particular detail do I need to keep in mind when finding the exact stock rom for my phone?
Trafalgar747 said:
Sorry for sounding so noobish, but how do I find the exact firmware of my phone, I can move forward from there then. If its in about device, what particular detail do I need to keep in mind when finding the exact stock rom for my phone?
Click to expand...
Click to collapse
It's explained in my sheet. And no, "settings > about" is not (always) the correct place if you want find out your firmware version.
Sent from my HTC One S using XDA Labs
Flippy498 said:
It's explained in my sheet. And no, "settings > about" is not (always) the correct place if you want find out your firmware version.
Sent from my HTC One S using XDA Labs
Click to expand...
Click to collapse
So according to your chart, and my software number which is 1.32.61.15 it would mean that I have the a.bb.61.d - Orange UK (United Kingdom) version? Am I deducing this correctly?
Trafalgar747 said:
So according to your chart, and my software number which is 1.32.61.15 it would mean that I have the a.bb.61.d - Orange UK (United Kingdom) version? Am I deducing this correctly?
Click to expand...
Click to collapse
Correct. You're lucky. There is a RUU for your version on androidruu. Just google for "androidruu" and "HTC M9". You can use the instructions in my sheet for flashing it.
Sent from my HTC One S using XDA Labs
Flippy498 said:
Correct. You're lucky. There is a RUU for your version on androidruu. Just google for "androidruu" and "HTC M9". You can use the instructions in my sheet for flashing it.
Sent from my HTC One S using XDA Labs
Click to expand...
Click to collapse
Just to be sure, if my friend who was previously using this phone, flashed another rom on it with the incorrect version, wouldnt the software number also change? Is there no other way to confirm the version of the phone?
Also, do I use the official TWRP download link in your sheet, is it the correct version for my phone?
Trafalgar747 said:
Just to be sure, if my friend who was previously using this phone, flashed another rom on it with the incorrect version, wouldnt the software number also change? Is there no other way to confirm the version of the phone?
Click to expand...
Click to collapse
The number in settings > about changes with the rom you're flashing. The one located in the download mode only changes if you update the phone with an official OTA or if you set your phone S-OFF via sunshine (which costs 25 bucks) and flash a RUU (or one of sneakyghost's firmware packs) with a different sku afterwards. However if the phone is S-OFF it wouldn't matter which RUU he flashed since with S-OFF almost every RUU can be used with your phone. Only CDMA versions (e.g. Verizon ones) stay incompatible.
Tl;dr: Just flash the 1.32.61.15 one. It's either way compatible with the phone.
Sent from my HTC One S using XDA Labs
Flippy498 said:
The number in settings > about changes with the rom you're flashing. The one located in the download mode only changes if you update the phone with an official OTA or if you set your phone S-OFF via sunshine (which costs 25 bucks) and flash a RUU (or one of sneakyghost's firmware packs) with a different sku afterwards. However if the phone is S-OFF it wouldn't matter which RUU he flashed since with S-OFF almost every RUU can be used with your phone. Only CDMA versions (e.g. Verizon ones) stay incompatible.
Tl;dr: Just flash the 1.32.61.15 one. It's either way compatible with the phone.
Sent from my HTC One S using XDA Labs
Click to expand...
Click to collapse
You are a helpful genius mate, thank you. Just waiting for the download to finish, then will follow your steps. Will let you know how it goes. Thank you again.
Hello Guys!
My M9 has custom rom viperone and the phone is S-OFF i want to return to stock rom Can i while S is OFF ?
I can't find the 7.0 stock rom for my phone and i'm with Sasktel.
Hope you guys help me with that.
Thanks.
Taken from the ReadMe thread:
Flippy498 said:
Rom Update Utilities (RUUs) are *.exe or *.zip files with which you can reflash the stock system and the whole firmware of your phone quite easily.
Strictly speaking only the *.exe files are RUUs (which are nothing more than a *.zip file combined with a fancy installer and HTC_Fastboot files). However, people got used to call them both RUUs and since most of the files here are *.zip files I don't want to start nitpicking.
[*]The catch is that HTC only provides RUU.exe files for their US customers. All other RUUs which you can find in this post got leaked somehow and no one knows if or when new non-US RUUs are going to be available. That's why it might happen that non-US users can't find a publicly available RUU they could use with their phone.
Click to expand...
Click to collapse
Flippy498 said:
Q19: I couldn't find a RUU or a TWRP backup in this thread that are flashable on my phone. What shall I do now?
A: You have two choices (none of them is for free). If you choose the second one you could help the community a lot by re-uploading the RUU on AFH.
Use Llabtoofer's RUU Service
Try to find a suitable RUU on websites that leak them (e.g. easy-firmware)
Click to expand...
Click to collapse
In Canadian, flippy means "yes you can". S-off and unlocked bootloader makes no difference. Just flash a stock firmware of the exact same version (see "software version" in settings - software information) that you have now and accept the ota updates as they arrive. If you cannot find a firmware of the same version you are SOL.
There is 2 methods to flash stock firmware. I prefer the external sdcard method (.zip) but you can do it from pc with an RUU program (.exe) via USB.
As stated in the first post the problem is actually that the OP couldn't find a RUU they could use. I just explained why that is the case by quoting the ReadMe thread and highlighting the important parts in red.
And there are more than two methods for flashing a RUU. ?
Sent from my HTC One M9 using XDA Labs