Flashing RUU files under Linux. - HTC 10 Questions & Answers

Hi
This is the first time I'm using a HTC device, before this I had some Nexus devices which were really easy for modification. I'm a little confused with HTC methods.
I'm a GNU/Linux user and I wish to do everything without using Windows. as I see RUU files at least for HTC 10 are .exe files and a Windows machine is needed to flash them. I have found this tool that extracts all the files from RUU file.
1- If I wanna flash exe RUU, can I just download the file from here and run it ? should I consider CID and MID before downloading a RUU file?
2- Considering that I have the right RUU file, can I just use "Universal HTC RUU/ROM Decryption Tool" and make a zip file and flash it?

Use the decrypt tool to get pull the ROM.zip from the RUU.exe, rename the ROM.zip to 2PS6IMG.zip and place that on the root of your sdcard. Boot to download mode and it will find the renamed zip and ask you to press vol up to confirm the flash. When it's done it'll prompt you to press power to reboot.
That's it. Super easy.
After the flash delete the zip or rename it to something else, otherwise every time you boot to download mode, it'll try to update again.

xunholyx said:
Use the decrypt tool to get pull the ROM.zip from the RUU.exe, rename the ROM.zip to 2PS6IMG.zip and place that on the root of your sdcard. Boot to download mode and it will find the renamed zip and ask you to press vol up to confirm the flash. When it's done it'll prompt you to press power to reboot.
That's it. Super easy.
After the flash delete the zip or rename it to something else, otherwise every time you boot to download mode, it'll try to update again.
Click to expand...
Click to collapse
Thank you.
Forgive me if I ask without any testing by myself, My device hasn't been arrived yet. (I'm preparing myself)
Will it wipe anything?
Will it re-encrypt data partition and solve the radio problem? (is flashing the zip exactly like running RUU.exe or it's just something like an OTA upate?)
Will It solve OTA problem? (not being able to receive OTA)
The exact question is
How can I flash the RUU like a factory reset
and how can I flash the RUU like an OTA
(ALL in Linux not Windows)
Thank you so much

Sir-Shadow said:
Hi
This is the first time I'm using a HTC device, before this I had some Nexus devices which were really easy for modification. I'm a little confused with HTC methods.
I'm a GNU/Linux user and I wish to do everything without using Windows. as I see RUU files at least for HTC 10 are .exe files and a Windows machine is needed to flash them. I have found this tool that extracts all the files from RUU file.
1- If I wanna flash exe RUU, can I just download the file from here and run it ? should I consider CID and MID before downloading a RUU file?
2- Considering that I have the right RUU file, can I just use "Universal HTC RUU/ROM Decryption Tool" and make a zip file and flash it?
Click to expand...
Click to collapse
do you not have an sd-card?
why not just use that method?

If you do a full RUU that way, is he going to get a full wipe with radio and firmware update is his question I think, I know it can so that with renaming the zip.
Are you going to s-off your phone first? Have you decided on that yet, because it's a preference but if you use Linux half decent I would recommend s-off with locked bootloader (when it's s-off, its a higher level permission so it works like unlocked but the locked flag is still there)
I'm not really familiar with the RUU method from the beginning, I know there's a lot of options though. My suggestion would be s-off (choose to keep bootloader locked during sunshine process) and then install recovery with fastboot and firmware with fastboot (sneakyghost thread for firmware/radio updates s-off), which works from Linux I believe because I had to learn how to use fastboot and adb with iOS when I remoted in to straighten out a phone on teamviewer. So I think "fastboot reboot oemRUU" method works in Linux, you just do ./ if I remember correctly.
Can some Linux guys help me out?
Sent from my HTC 10 using Tapatalk

andybones said:
do you not have an sd-card?
why not just use that method?
Click to expand...
Click to collapse
I have and I will use, but this is my first time with HTC and I'm still learning the way HTC works.
CharliesTheMan said:
If you do a full RUU that way, is he going to get a full wipe with radio and firmware update is his question I think, I know it can so that with renaming the zip.
Are you going to s-off your phone first? Have you decided on that yet, because it's a preference but if you use Linux half decent I would recommend s-off with locked bootloader (when it's s-off, its a higher level permission so it works like unlocked but the locked flag is still there)
I'm not really familiar with the RUU method from the beginning, I know there's a lot of options though. My suggestion would be s-off (choose to keep bootloader locked during sunshine process) and then install recovery with fastboot and firmware with fastboot (sneakyghost thread for firmware/radio updates s-off), which works from Linux I believe because I had to learn how to use fastboot and adb with iOS when I remoted in to straighten out a phone on teamviewer. So I think "fastboot reboot oemRUU" method works in Linux, you just do ./ if I remember correctly.
Can some Linux guys help me out?
Click to expand...
Click to collapse
I really like to s-off my phone, but as the only way for s-off is Sunshine and I do live in f*ing country, it's not easy for me to pay.
Why do you recommend s-off and keeping bootloader lock? I know s-off is more powerful but why keeping bootloader lock?

Sir-Shadow said:
I have and I will use, but this is my first time with HTC and I'm still learning the way HTC works.
I really like to s-off my phone, but as the only way for s-off is Sunshine and I do live in f*ing country, it's not easy for me to pay.
Why do you recommend s-off and keeping bootloader lock? I know s-off is more powerful but why keeping bootloader lock?
Click to expand...
Click to collapse
The bootloader lock serves no purpose on preventing you from installing things we flash after s off. It's basically a false flag, like a deadbolt on a door but to get in, you can just move the door to the side and walk in.
To unlock bootloader you have to go through HTC and agree to waive your warranty rights. S off unlocks everything, but certain apps looking for a locked bootloader, see a locked bootloader is just a fake sign on the door basically, with benefits to being locked and s off, for apps that require locked bootloaders.
Sent from my HTC 10 using Tapatalk

Sir-Shadow said:
I have and I will use, but this is my first time with HTC and I'm still learning the way HTC works.
I really like to s-off my phone, but as the only way for s-off is Sunshine and I do live in f*ing country, it's not easy for me to pay.
Why do you recommend s-off and keeping bootloader lock? I know s-off is more powerful but why keeping bootloader lock?
Click to expand...
Click to collapse
***On the HTC 10, S-OFF Locked = S-OFF Unlocked (Strange I know, this isn't how it was on previous M9, M8 or M7 etc,,, the HTC 10 is a bit different), Sunshine suggests that you choose S-OFF Locked (you will see this in the disclaimer when you run the application)***
There are several methods to flash RUU (Option 2 isn't viable since you are on Linux, but you still have 2 options) - I don't see why you would have any issues using adb on Linux, but I use Windows mainly, so I've never flashed an RUU on Linux, but I do know that Option 1 (SD-Card) is the safest method, IMO. (No worry of power going out and bricking device or something while it's flashing)
Taken from this thread found here
--------------------------------------------------
Option 1
Copy 2PS6IMG.zip (this is the RUU you rename to 2PS6IMG.zip) to root of a physical SD formatted to fat32. No exfat! No internal storage! Must be external SD formated to fat32!
Reboot phone to download mode and follow prompts once RUU is detected by phone.
Option 2
EXE option. Download EXE file below (for windows) and simply double click to start. You can either be booted to OS with USB debugging enabled OR booted into download mode for this to start.
Option 3
Fastboot RUU mode . This method assumes you have a working ADB/Fastboot directory on your PC. Download RUU zip file and place in your working fastboot/adb directory. Boot your phone to download mode and connect to PC. Issue the following commands.
htc_fastboot oem rebootRUU
###while in this mode your phone will display an HTC logo on the screen
htc_fastboot flash zip 2PS6IMG.zip
##while in this mode you will see an HTC logo on the screen and a green status bar across the bottom of the screen. When command output ##completes it may say reboot required to flush etc... if that's the case issue a "htc_fastboot reboot-bootloader" command and restart option 1 again.
## assuming flash completes and no further flushing/reboots are requested from the cmd output you can now reboot IF you simply wish to reboot the system you can issue "htc_fastboot reboot" which will reboot syst

andybones said:
***On the HTC 10, S-OFF Locked = S-OFF Unlocked (Strange I know, this isn't how it was on previous M9, M8 or M7 etc,,, the HTC 10 is a bit different), Sunshine suggests that you choose S-OFF Locked (you will see this in the disclaimer when you run the application)***
There are several methods to flash RUU (Option 2 isn't viable since you are on Linux, but you still have 2 options) - I don't see why you would have any issues using adb on Linux, but I use Windows mainly, so I've never flashed an RUU on Linux, but I do know that Option 1 (SD-Card) is the safest method, IMO. (No worry of power going out and bricking device or something while it's flashing)
Taken from this thread found here
--------------------------------------------------
Option 1
Copy 2PS6IMG.zip (this is the RUU you rename to 2PS6IMG.zip) to root of a physical SD formatted to fat32. No exfat! No internal storage! Must be external SD formated to fat32!
Reboot phone to download mode and follow prompts once RUU is detected by phone.
Option 2
EXE option. Download EXE file below (for windows) and simply double click to start. You can either be booted to OS with USB debugging enabled OR booted into download mode for this to start.
Option 3
Fastboot RUU mode . This method assumes you have a working ADB/Fastboot directory on your PC. Download RUU zip file and place in your working fastboot/adb directory. Boot your phone to download mode and connect to PC. Issue the following commands.
htc_fastboot oem rebootRUU
###while in this mode your phone will display an HTC logo on the screen
htc_fastboot flash zip 2PS6IMG.zip
##while in this mode you will see an HTC logo on the screen and a green status bar across the bottom of the screen. When command output ##completes it may say reboot required to flush etc... if that's the case issue a "htc_fastboot reboot-bootloader" command and restart option 1 again.
## assuming flash completes and no further flushing/reboots are requested from the cmd output you can now reboot IF you simply wish to reboot the system you can issue "htc_fastboot reboot" which will reboot syst
Click to expand...
Click to collapse
Sir, thank you for this clarification.
Now I'm happy that I can use this device without needing a Windows machine. And I think I have to find a way to S-OFF.

andybones said:
Option 1
Copy 2PS6IMG.zip (this is the RUU you rename to 2PS6IMG.zip) to root of a physical SD formatted to fat32. No exfat! No internal storage! Must be external SD formated to fat32!
Reboot phone to download mode and follow prompts once RUU is detected by phone.
Click to expand...
Click to collapse
FAT32 isn't needed anymore with the 10. ExFAT works just fine now. :good:

Sir-Shadow said:
Sir, thank you for this clarification.
Now I'm happy that I can use this device without needing a Windows machine. And I think I have to find a way to S-OFF.
Click to expand...
Click to collapse
Sunshine app is the only possible way for most of us to S-OFF our devices.. unless you live somewhere where java cards are prevalent and you are able to find a local business that has java cards and offers S-OFF service.. dunno if that is still a thing or not..
I remember reading that if you ever want to be able to take an OTA, you have to do a RUU flash using the Windows method... that shouldn't be an issue, though. Updates don't really need to be taken over the air, though. They will be available for download very shortly after the OTA.

Related

[Q] Start anew

Hello,
To start off, I want to say that I DID search on this forum, for similar threads, and while I did find some, I couldn't find out how to do it.
My Phone:
HTC One X
S-ON
Rooted
Locked bootloader
ROM: Android Revolution HD
CID: HTC__E11
I flashed my current ROM a while ago, but I really cannot remember doing it and I deleted the backup I made before flashing (I always back up before flashing) because I thought I was running the stock ROM (without trouble) and I needed space.
What I want to do now, is get rid of EVERYTHING and just reset it to what it was when I first booted it, when that's all done, I want to root it again and unlock the bootloader.
The problem is that I can't find the appropriate RUU. I've been looking for it for a good while now, but I can't seem to find it.
I've downloaded OTA_ENDEAVOR_U_JB_45_S_HTC_Europe_3.14.401.27-2.17.401.2_release_298985n1wwcwzs385c0bvz.zip from
htcruu.com/ index.php?dir=Endeavor (not allowed to put links here, sorry) and I put that in my SDCard directory.
When I tried to flash it (I don't know whether I am supposed to or not, but I only got a .zip and no .exe...) it did not work.
If you need the error, tell me and I'll do it again.
Regards,
Pim
If you can't find a ruu, you can use a stock nandroid backup. You can find a collection of them at general if I remember correctly.
Sent from my HTC One X
The ruu doesn't work because it's an OTA ....its just an update file ! Not the whole RUU
http://www.htcruu.com/securekey.php...Radio_5.1204.162.29_release_298897_signed.exe
this is the full RUU
Yes. Previous poster is correct. Download that file.
Do not put it on your sdcard.
Plug your phone into PC
Reboot into hboot by holding power & volume down for about 20seconds.
Press power button to go to fastboot
Open a cmd window and run fastboot oem lock to relock your bootloader
Run your ruu as administrator on your PC by right clicking and pressing open as administrator
Follow the instructions on your PC to flash the ruu
Sent from my HTC One X using xda app-developers app
Thanks a lot, but I'm still having trouble :s
I connect my phone to my pc via USB when I am looking at these options on my screen:
- HBOOT
- REBOOT
- REBOOT BOOTLOADER
- POWER DOWN
When I type "fastboot oem lock" in cmd, I get the following response:
" 'fastboot' is not recognized as internal or external command, operable program or batch file ".
And when I run the RUU (as administrator) I get "Error [170]: USB CONNECTION ERROR".
Regards,
Pim
Do you have HTC drivers installed and java SDK platform files ?
Have you ever used fastboot commands ?
Do you have a fastboot folder on the pc with fastboot/adb files in it ? When you connect the phone to the pc and put in bootloader menu you should see something like fastboot USB
Download this
http://db.tt/ldx3qOOU
And put the folder in c:\
So you have
C:\fastboot\ files in the folder
Open a dosprompt in that folder and type
Fastboot devices while the phone is still in bootloader menu If it comes up with your serial its good
Mr Hofs said:
Do you have HTC drivers installed and java SDK platform files ?
Have you ever used fastboot commands ?
Do you have a fastboot folder on the pc with fastboot/adb files in it ? When you connect the phone to the pc and put in bootloader menu you should see something like fastboot USB
Download this
db.tt/ldx3qOOU
And put the folder in c:\
So you have
C:\fastboot\ files in the folder
Open a dosprompt in that folder and type
Fastboot devices while the phone is still in bootloader menu If it comes up with your serial its good
Click to expand...
Click to collapse
Thanks.
I installed Windows to do this (Nothing worked on Mac, and things like this are usually easier on Windows than on Mac), and I forgot to install these things again.
I'll try this in a sec and I'll report here when I'm done.
Regards,
Pim
Mr Hofs said:
The ruu doesn't work because it's an OTA ....its just an update file ! Not the whole RUU
htcruu. com/securekey.phpfile=Endeavor/RUU_ENDEAVOR_U_JB_45_S_HTC_Europe_3.14.401.27_Radio_5.1204.162.29_release_298897_signed.exe
this is the full RUU
Click to expand...
Click to collapse
bagofcrap24 said:
Yes. Previous poster is correct. Download that file.
Do not put it on your sdcard.
Plug your phone into PC
Reboot into hboot by holding power & volume down for about 20seconds.
Press power button to go to fastboot
Open a cmd window and run fastboot oem lock to relock your bootloader
Run your ruu as administrator on your PC by right clicking and pressing open as administrator
Follow the instructions on your PC to flash the ruu
Click to expand...
Click to collapse
Hello,
First of all, I'd like to apologize for leaving so suddenly, but I had some other, more important, things on my mind.
Thanks for the link, but when I try to do that (and follow all the instructions I get on the screen), it all goes well, until just after "erasing user data", when I get the error as seen in the attachments.
When I started my phone, I had to fill in the basic questions, but I later found out that all my files were still there, while the apps themselves had been uninstalled...
I figured some general stuff out, and adb and fastboot are now *finally* working as they should.
Regards,
Pim
EDIT: Since I'm not quite sure whether or not the attachments are working, I uploaded them to imgur:
imgur. com/a/yMxph <= just remove the space before the between the "imgur." and "com/a/yMxph"
Well, I've just downloaded the correct RUU, but I'm currently getting error 155: unknown error...
I'm kinda clueless about what to do now...
Regards,
Pim
Download from the 2.17.401 ruu and try again.....otherwise flash back the stock recovery from the main version that you currently have
http://androidfiles.org/ruu/securek...Radio_2.1204.135.20_release_274900_signed.exe
So the stock recovery should be 1.29 based
Mr Hofs said:
Download from the 2.17.401 ruu and try again.....otherwise flash back the stock recovery from the main version that you currently have
http://androidfiles.org/ruu/securek...Radio_2.1204.135.20_release_274900_signed.exe
So the stock recovery should be 1.29 based
Click to expand...
Click to collapse
I used the same RUU I used before, but this time with relocked bootloader (forgot to relock that again), this time it worked!
I'm currently updating to Jelly Bean, and then I'll root it again etc. If I'm right, S-OFF is possible for the One X these days, right?
If so, would anyone know an easy and clear tutorial?
Regards,
Pim
Noone figured out the way to S-off for HOX yet, no.
BlueSingA said:
Noone figured out the way to S-off for HOX yet, no.
Click to expand...
Click to collapse
Sigh... well, thanks anyway.
Regards,
Pim

htc wildfire stuck in fastboot

hello
my htc wildfire is stucked in the fastboot (and sometimes the hboot) screen
i can't use up and down keys to enter recovery mode or other options
my bootloader is locked, so i can't flash any boot.img or recovery.img from the fastboot using
fastboot flash boot boot.img
and
fastboot flash recovery recovery.img
ti unlock it i need to go to:
http://www.htcdev.com
but i can't know now my phone's version to download the file i need (exe files), tried some of them, but the problem is that it can't find the phone! i think the phone needs to be powered up and not in fastboot mode (i think it uses adb)
and this command is not working: fastboot oem get_identifier_token
so i'm stuck in that sreen now
i've seen the thread in the forum, but can't find a solution, help please!
this is what i see in the scree:
buzz pvt ship s-on
hboot-1.01.0001
microp-0622
touch panel-atmelc03_16ac
radio-3.35.20.10
nov 17 2010.12:08:53
ARDV said:
hello
my htc wildfire is stucked in the fastboot (and sometimes the hboot) screen
i can't use up and down keys to enter recovery mode or other options
my bootloader is locked, so i can't flash any boot.img or recovery.img from the fastboot using
fastboot flash boot boot.img
and
fastboot flash recovery recovery.img
ti unlock it i need to go to:
http://www.htcdev.com
but i can't know now my phone's version to download the file i need (exe files), tried some of them, but the problem is that it can't find the phone! i think the phone needs to be powered up and not in fastboot mode (i think it uses adb)
and this command is not working: fastboot oem get_identifier_token
so i'm stuck in that sreen now
i've seen the thread in the forum, but can't find a solution, help please!
this is what i see in the scree:
buzz pvt ship s-on
hboot-1.01.0001
microp-0622
touch panel-atmelc03_16ac
radio-3.35.20.10
nov 17 2010.12:08:53
Click to expand...
Click to collapse
Hi
Take the sdcard out of the phone and check and see if you have access to the volume buttons again. If so does your hoot have a factory reset option? Should be forth one down if it does.
Your hboot is not htcdev unlockable, but you can attain s-off if we can get it to boot. If the factory reset is not an option try booting into recovery, mash all the buttons until the recovery text options come up and factory reset from there, then report back here
Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 2
heavy_metal_man said:
Hi
Take the sdcard out of the phone and check and see if you have access to the volume buttons again. If so does your hoot have a factory reset option? Should be forth one down if it does.
Your hboot is not htcdev unlockable, but you can attain s-off if we can get it to boot. If the factory reset is not an option try booting into recovery, mash all the buttons until the recovery text options come up and factory reset from there, then report back here
Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 2
Click to expand...
Click to collapse
tried both with sd card and without it, the same problem.
i can't access recovery, and there is no factory reset option now, i can't click or choose anything.
i just can do 1 thing, which is writing prompting fastboot commands from pc.
i've searched in the fastboot commands but can't something to help
ARDV said:
tried both with sd card and without it, the same problem.
i can't access recovery, and there is no factory reset option now, i can't click or choose anything.
i just can do 1 thing, which is writing prompting fastboot commands from pc.
i've searched in the fastboot commands but can't something to help
Click to expand...
Click to collapse
what condition did you get the device in? do you know how it ended up like this?
can you issue the command
Code:
fastboot gervar all
for me and see if it outputs. what we want to see if the cid of the device.
heavy_metal_man said:
what condition did you get the device in? do you know how it ended up like this?
can you issue the command
Code:
fastboot gervar all
for me and see if it outputs. what we want to see if the cid of the device.
Click to expand...
Click to collapse
that's what i get:
getvar:all FAILED (status malformed (1 bytes))
finished. total time: 0.002s
ARDV said:
that's what i get:
getvar:all FAILED (status malformed (1 bytes))
finished. total time: 0.002s
Click to expand...
Click to collapse
That is whole world's of not good. That means that the area in the bootloader holding the information about the phone, and more likely how to boot is corrupted. The only way to try get out of this at this point is going to need another android phone. You will need to make what's called a gold card, which will format your sdcard making it into a special sdcard which commands htc phones to ignore CID. Once you have this we can attempt to flash a ruu update with a bootloader update and hope that it fixes the issue. But if it fails your only other option aside from getting htc to fix it (unlikely for free) will be to pay to use an xtc clip, force the device to become s-off and them flash several bootloaders in the hope that one works. Let me know what you want to do next pal.
Sent from my Nexus 7 using Tapatalk 4
heavy_metal_man said:
That is whole world's of not good. That means that the area in the bootloader holding the information about the phone, and more likely how to boot is corrupted. The only way to try get out of this at this point is going to need another android phone. You will need to make what's called a gold card, which will format your sdcard making it into a special sdcard which commands htc phones to ignore CID. Once you have this we can attempt to flash a ruu update with a bootloader update and hope that it fixes the issue. But if it fails your only other option aside from getting htc to fix it (unlikely for free) will be to pay to use an xtc clip, force the device to become s-off and them flash several bootloaders in the hope that one works. Let me know what you want to do next pal.
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
this gold card, i need to buy or 'create '?
i found that link:
http://www.modaco.com/topic/305672-creating-a-goldcard/
ARDV said:
this gold card, i need to buy or 'create '?
i found that link:
http://www.modaco.com/topic/305672-creating-a-goldcard/
Click to expand...
Click to collapse
You need to create one using an micro sdcard of 2-4 gb. (The one in the phone already should do ) you will need to place the phone into another android phone, or tablet, and download the app goldcard helper. Use it to determine the reverse CID of the sd card. Then go to this website link here and tell it the reverse CID. It will then let you Download a goldcard.img. once you have that you will need to go to this thread (link) and download this package. This will have a program called goldcard helper. Using this program you will combine the goldcard .img with the sdcard and then you will be good to go to run a ruu.
Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 2
heavy_metal_man said:
You need to create one using an micro sdcard of 2-4 gb. (The one in the phone already should do ) you will need to place the phone into android phone, or tablet, and download the app goldcard helper. Use it to determine the reverse CID of the sd card. Then go to this website (will edit a link in once I'm off my phone) and tell it the reverse CID. It will then let you Download a goldcard.img. once you have that you will need to go to this thread (insert link later) and download the package. This will have a program called goldcard helper. Using this program you will combine the goldcard .img with the sdcard and then you will be good to go to run a ruu.
Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 2
Click to expand...
Click to collapse
thanks for helping man, i'll wait for you.
post updated
well, so the first step is to put an external sd card in another android phone, and download this app, and get the code needed to put in that link u gave me?
the job in that thread requires:
5. A htcdev unlocked bootloader follow my previous guide here.
6. cwm recovery installed.
7. superuser installed.
and all of these don't exist in my case
the thread works with adb, and i don't have
and does a 8gb card work? 'not 2 or 4)
edit:
can i pass all the steps to GoldCardTool.exe?
and what comes after?
ARDV said:
well, so the first step is to put an external sd card in another android phone, and download this app, and get the code needed to put in that link u gave me?
Click to expand...
Click to collapse
Yes that is the first step.
ARDV said:
the job in that thread requires:
5. A htcdev unlocked bootloader follow my previous guide here.
6. cwm recovery installed.
7. superuser installed.
and all of these don't exist in my case
the thread works with adb, and i don't have
and does a 8gb card work? 'not 2 or 4)
edit:
can i pass all the steps to GoldCardTool.exe?
and what comes after?
Click to expand...
Click to collapse
Yes skip all of it until it talks about gold cards. All you need to do is make the gold card and then run the ruu that's in the downgrade package. It's the same hboot that you are on but it should flash without any issue. If you get error 131 then the goldcard has failed. You can certainly try with a 8gb but personally I've found that the bootloader struggles with anything over 4gb.
So to recap.
Use the app to generate the reverse cid of the sdcard.
Then insert the reverse cid number into the website I linked and download the goldcard.IMG
Then follow the goldcard instructions in the guide where it refers to goldcard tool.exe
It is recommended to use an external micro USB card reader and not a phone when writing the goldcard.
Once done place goldcard into phone,
Then connect phone to PC and then double click the ruu.exe
If it runs without error then wait for reboot of the phone, hopefully all will be well.
If the phone is not picked up then issue the fastboot command fastboot OEM rebootRUU And then try again.
Any error codes from any program just post back here, sorry for my late reply
Edit here is a good tut with a more in depth explanation of goldcard tool. http://forum.xda-developers.com/showthread.php?t=1145035
Sent from my Nexus 7 using Tapatalk 4
well,
i got the reversed CID, then i got the goldcard.img from that site
now after i load it to that .exe tool, i get:
An error occured Object reference not set to an instance of an object. tool used: 0.0.5.
i found another version of that toll: 0.0.7, i got that problem:
object reference not set to an instance of an object
i used both files as admin,
and also tried compatibility mode (i'm using win8)
ARDV said:
well,
i got the reversed CID, then i got the goldcard.img from that site
now after i load it to that .exe tool, i get:
An error occured Object reference not set to an instance of an object. tool used: 0.0.5.
i found another version of that toll: 0.0.7, i got that problem:
object reference not set to an instance of an object
i used both files as admin,
and also tried compatibility mode (i'm using win8)
Click to expand...
Click to collapse
Hmm. ive been re-reading my info on goldcard (its been a while) and it turns out goldcardtool.exe has been know To have issues with cardreaders, so keep the card in the working android phone and mount it to the pc as usb mass storage and try again.
also run it compatability mode windows xp sp3 if possible and if it still fails post your reverse cid to this thread, ask nicely and @matter1 may be able to help you with a new goldcard.img, just incase the one from the website is faulty.
oh and use version 0/0/7 pal
sorry the problem that i didn't enable usb mass storage, it worked now and said that the sd card now is a gold one
now the next step is putting it in the htc-not working phone, and run the ruu.
edit: at last the phone booted up
i used http://revolutionary.io/ to install the recovery and root the phone
thanks for the big assistance

Trouble installing RUU?

I'm trying to install the latest RUU for my developer edition. The RUU loads till the point where I accept the agreement and then nothing. I'm on Windows 8.1. Here is where I got the RUU from http://www.htc.com/us/support/htc-one-m8/news/
Any idea why is this happening or how to fix it? I'm having all sort of problems with the phone at the moment. I'm giving a RUU a try to see if it fixes it.
Thanks in advance!
Same thing happens to me, no idea why. Works fine in Windows 7. some people say it's to do with needing a C++ Update but that didn't work for me either
What you can do, though, is once at the T&Cs screen, open a run box and type in %temp% and it'll take you to the Temporary Files folder on your PC and if you look at the newest folders there should be 2. One will contain a compressed file called 'rom'. Copy this to your Desktop, then to a microSD card and flash that via HBOOT or flash it via RUU mode using htc_fastboot.exe (which you can find here)
EddyOS said:
Same thing happens to me, no idea why. Works fine in Windows 7. some people say it's to do with needing a C++ Update but that didn't work for me either
What you can do, though, is once at the T&Cs screen, open a run box and type in %temp% and it'll take you to the Temporary Files folder on your PC and if you look at the newest folders there should be 2. One will contain a compressed file called 'rom'. Copy this to your Desktop, then to a microSD card and flash that via HBOOT or flash it via RUU mode using htc_fastboot.exe (which you can find here)
Click to expand...
Click to collapse
Could you refer to this C++ update if you happen to remember which one?
How do I flash the rom file through HBOOT or the RUU mode using htc_fastboot.exe (87.7 KB)?
To flash the ZIP in RUU mode
fastboot oem rebootRUU
htc_fastboot flash zip rom.zip
And unfortunately no, I don't know which update it was as didn't work
EddyOS said:
To flash the ZIP in RUU mode
fastboot oem rebootRUU
htc_fastboot flash zip rom.zip
And unfortunately no, I don't know which update it was as didn't work
Click to expand...
Click to collapse
I've never done this through RUU mode before, so I'll double check with you.
I'll open normal fastboot. Copy the rom.zip to the root of theSD Card or to the same folder where fastboot is? Also where to place HTC_fastboot.exe, same as fastboot or in the root of SD Card? Then I'll enter the command fastboot oem rebootRUU then htc_fastboot flash zip rom.zip? I'm sorry for the basic questions, thanks a lot!
If you're flashing it manually you don't copy it to your phone, just put it in your fastboot folder along with the htc_fastboot file and then do it all with the phone in fastboot mode
This is the same like applying the RUU exe? This will wipe everything and install everything from zero, right? On HBOOT I have a modified software status , is this going to be fixed as well?
Yep, completely resets the phone to factory defaults
EddyOS said:
Yep, completely resets the phone to factory defaults
Click to expand...
Click to collapse
@EddyOS
Sorry for asking more questions, but last time I applied a RUU was with my M7 when I first bought it. If I'm going to apply the RUU exe, does i have to be on fastboot or while the phone is on? Flashing the rom.zip, do I have to flash or format anything through fastboot or should reboot fastboot or simply reboot the phone? Applying RUU, does it reinstall HBOOT? Sorry and thanks again!
My previous post answers your last bit - it puts EVERYTHING back to factory and the latest versions
RUU.exe you can run when in Android or in fastboot mode, RUU.zip HAS to be flashed in RUU mode.
I've said everything you need to know so if you still don't get it, don't bother trying it
EddyOS said:
My previous post answers your last bit - it puts EVERYTHING back to factory and the latest versions
RUU.exe you can run when in Android or in fastboot mode, RUU.zip HAS to be flashed in RUU mode.
I've said everything you need to know so if you still don't get it, don't bother trying it
Click to expand...
Click to collapse
I'm just making sure. I don't have another phone at the moment and limited 3G internet connection, so I don't want to get stuck with the phone not working or downloading things twice. Sorry for repeating the same questions though
hello...sorry for the noob question....is there a way for me to install the RUU in linux....in window 7....it is always askin for me to install drivers...etc...n error msg...device not found...etc....i dont have those errors in linux....
never mind...I found it...

Help with flashing stock recovery

Yesterday I had the excellent idea of rooting my phone and installing a custom ROM. The process was quite easy though it took me like 2 hours. After I was done I found that I didn't really like the Lineage OS on my M8 as it was draining my battery way too fast. So I decided to go back. This is where the problems began. Since being a total noob when it comes to rooting and flashing on Android I had no idea I had to make a backup of my OS(only did one of my data using HTC Sync Manager). I was able to find one online in the end. But when I wanted to update OTA to 6.1.0 it just boots into Recovery Mode. After some research I found out that I also have to flash a stock recovery file. I allegedly did that using a tool I found online (One M8 All in One Kit 2.0). But still I am unable to update OTA. I just want to go back to Marshmallow.
Would really appreciate some help here guys
Thanks.
Tupi311 said:
Yesterday I had the excellent idea of rooting my phone and installing a custom ROM. The process was quite easy though it took me like 2 hours. After I was done I found that I didn't really like the Lineage OS on my M8 as it was draining my battery way too fast. So I decided to go back. This is where the problems began. Since being a total noob when it comes to rooting and flashing on Android I had no idea I had to make a backup of my OS(only did one of my data using HTC Sync Manager). I was able to find one online in the end. But when I wanted to update OTA to 6.1.0 it just boots into Recovery Mode. After some research I found out that I also have to flash a stock recovery file. I allegedly did that using a tool I found online (One M8 All in One Kit 2.0). But still I am unable to update OTA. I just want to go back to Marshmallow.
Would really appreciate some help here guys
Thanks.
Click to expand...
Click to collapse
You could just run an RUU to get back to stock, since you already flashed the stock backup and have lost data now.
What does it say next to "OS" in your bootloader? With that information I can link you to the proper RUU
xunholyx said:
You could just run an RUU to get back to stock, since you already flashed the stock backup and have lost data now.
What does it say next to "OS" in your bootloader? With that information I can link you to the proper RUU
Click to expand...
Click to collapse
6.12.401.4
I don't quite understand how this RUU works. Will it still say in bootloader "Software status:Modified" after I do this? And will I have to unroot it again or how does it work? Cause it still says Unlocked in bootloader.
Tupi311 said:
6.12.401.4
I don't quite understand how this RUU works. Will it still say in bootloader "Software status:Modified" after I do this? And will I have to unroot it again or how does it work? Cause it still says Unlocked in bootloader.
Click to expand...
Click to collapse
The RUU will take you back to stock unrooted.
I forgot to ask if it said S-On or S-Off in your bootloader. I'll give full instructions for both.
Download this RUU.zip and place it into your adb/fastboot folder
Boot to bootloader and plug your phone into your PC, then get into fastboot
If you are S-On, enter fastboot oem lock That will relock your bootloader. If you are S-Off you can skip this step
Then: fastboot oem rebootRUU wait until the phone boots to a black screen with HTC on it
then fastboot flash zip **drag and drop the RUU.zip here**
When the flash is done, fastboot reboot and you'll be back to stock, unrooted
xunholyx said:
The RUU will take you back to stock unrooted.
I forgot to ask if it said S-On or S-Off in your bootloader. I'll give full instructions for both.
Download this RUU.zip and place it into your adb/fastboot folder
Boot to bootloader and plug your phone into your PC, then get into fastboot
If you are S-On, enter fastboot oem lock That will relock your bootloader. If you are S-Off you can skip this step
Then: fastboot oem rebootRUU wait until the phone boots to a black screen with HTC on it
then fastboot flash zip **drag and drop the RUU.zip here**
When the flash is done, fastboot reboot and you'll be back to stock, unrooted
Click to expand...
Click to collapse
This is exactly what I was talking about. I don't understand how to do those "bolded" instructions. Does it have something to do with the Android SDK? I know I read something.
I am on S-ON btw.
Tupi311 said:
This is exactly what I was talking about. I don't understand how to do those "bolded" instructions. Does it have something to do with the Android SDK? I know I read something.
I am on S-ON btw.
Click to expand...
Click to collapse
So there is the main problem with toolkits. I never use them and never recommend them. Reason being: they shortcut the learning process, and teach you just enough to get into trouble. Then you are stuck with no idea how to recover.
Knowing how to use fastboot (at least on a basic level) is absolutely mandatory in order to unlock the bootloader, and flash custom recovery (for the purpose or root or custom ROM). The manufacturers set it up this way, for a reason. Essentially, if a user doesn't know how to use fastboot, they have no business unlocking the bootloader. The makers of the toolkits bypass this requirement with the intent to make it "easier" for folks to root/ flash custom ROM (the toolkit issued fastboot commands, whether you know it or not). But as already mentioned, it's not a good idea to do that.
I don't blame you. You only know what you know, and we all were n00bs at some point, and had to start somewhere. But my advice to you, would be to learn the basics of what fastboot is about, and how to use it. Plus, there is a lot of nuance here. You actually have to use htc_fastboot to flash the RUU (the "generic" Google fastboot can't handle the large file size). You can get it (as well as the RUU) from the following thread:
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
From there, you need to open the command prompt from whatever folder/directory htc_fastboot.exe or fastboot.exe (respectively) are located. There is a shortcut for doing this:
1) Open folder in Windows, where fastboot.exe (htc_fastboot.exe) is located. Different fastboot installers will install it to different places, so you will have to find it yourself.
2) Hover mouse over the folder, press Shift+Right mouse button. This will open a menu, from which you want to select "Open command window here"
3) The command prompt window will open, and that is where you want to type your fastboot commands.
Another note (and I know this will probably be confusing), I think that you can use htc_fastboot for all the fastboot commands (no need to flip flop between htc_fastboot and fastboot). You just have to use "htc_" before all the fastboot commands. For instance:
htc_fastboot oem lock
redpoint73 said:
So there is the main problem with toolkits. I never use them and never recommend them. Reason being: they shortcut the learning process, and teach you just enough to get into trouble. Then you are stuck with no idea how to recover.
Knowing how to use fastboot (at least on a basic level) is absolutely mandatory in order to unlock the bootloader, and flash custom recovery (for the purpose or root or custom ROM). The manufacturers set it up this way, for a reason. Essentially, if a user doesn't know how to use fastboot, they have no business unlocking the bootloader. The makers of the toolkits bypass this requirement with the intent to make it "easier" for folks to root/ flash custom ROM (the toolkit issued fastboot commands, whether you know it or not). But as already mentioned, it's not a good idea to do that.
I don't blame you. You only know what you know, and we all were n00bs at some point, and had to start somewhere. But my advice to you, would be to learn the basics of what fastboot is about, and how to use it. Plus, there is a lot of nuance here. You actually have to use htc_fastboot to flash the RUU (the "generic" Google fastboot can't handle the large file size). You can get it (as well as the RUU) from the following thread:
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
From there, you need to open the command prompt from whatever folder/directory htc_fastboot.exe or fastboot.exe (respectively) are located. There is a shortcut for doing this:
1) Open folder in Windows, where fastboot.exe (htc_fastboot.exe) is located. Different fastboot installers will install it to different places, so you will have to find it yourself.
2) Hover mouse over the folder, press Shift+Right mouse button. This will open a menu, from which you want to select "Open command window here"
3) The command prompt window will open, and that is where you want to type your fastboot commands.
Another note (and I know this will probably be confusing), I think that you can use htc_fastboot for all the fastboot commands (no need to flip flop between htc_fastboot and fastboot). You just have to use "htc_" before all the fastboot commands. For instance:
htc_fastboot oem lock
Click to expand...
Click to collapse
I followed those steps but when I tried and flash it it gave me this error "target reported max download size of 1826418688 bytes" and I found no real solution to this online.
On a side note I already had the HTC Sync manager installed and I used it to backup some stuff so I can't uninstall it(according to the guide I have to uninstall it, but I guess that's just a suggestion since uninstalling it shouldn't interfere).
Though I feel like I'm close to succeeding.
Tupi311 said:
I followed those steps but when I tried and flash it it gave me this error "target reported max download size of 1826418688 bytes" and I found no real solution to this online.
Click to expand...
Click to collapse
Did you use htc_fastboot? The file size error is usually due to using the wrong fastboot (you need to use htc_fastboot, as the "generic" fastboot can't handle the file size).
Tupi311 said:
On a side note I already had the HTC Sync manager installed and I used it to backup some stuff so I can't uninstall it(according to the guide I have to uninstall it, but I guess that's just a suggestion since uninstalling it shouldn't interfere).
Click to expand...
Click to collapse
I've left HTC Sync installed without any issues. Like you said, it's mostly a suggestion.
Also, just a suggestion:but I would recommend to refrain from quoting someone else's long post (like you quoted my last post). I know it is the default when replying, to include the quote. But just delete what you aren't directly replying to (quote few lines at most) to avoid cluttering up the thread with redundant text.
redpoint73 said:
Did you use htc_fastboot? The file size error is usually due to using the wrong fastboot (you need to use htc_fastboot, as the "generic" fastboot can't handle the file size).
Click to expand...
Click to collapse
Seems like my pc didn't like that I was using those commands and I had to use \.htc_fastboot . It's all good now. Thank you very much. Have a good day.

Htc 10 , No Rom Installed Help

Good Day, first time posting so here is the huge problem i have.
1 - My power button no longer works
2 - No ROM installed
3 - Vol buttons work
So due to an error on my part i wiped my system , data, delv/cache , and because i was rushing i rebooted the phone before installing the new rom. Now normally i would just boot into recovery and flash a rom, but my power button no longer works. I can get into download mode if the phone dies by holding vol down and plugging into a pc, and such can use fastboot commands, but with no Rom i cant get USB debugging to use "adb reboot recovery" . Is there anyway that i can get into recovery or a way to flash stock recovery, system and such. thanks in advance.
Bloodx32 said:
Good Day, first time posting so here is the huge problem i have.
1 - My power button no longer works
2 - No ROM installed
3 - Vol buttons work
So due to an error on my part i wiped my system , data, delv/cache , and because i was rushing i rebooted the phone before installing the new rom. Now normally i would just boot into recovery and flash a rom, but my power button no longer works. I can get into download mode if the phone dies by holding vol down and plugging into a pc, and such can use fastboot commands, but with no Rom i cant get USB debugging to use "adb reboot recovery" . Is there anyway that i can get into recovery or a way to flash stock recovery, system and such. thanks in advance.
Click to expand...
Click to collapse
Have tried an ruu? I suggest using the sdcard method. Safest.
andybones said:
Have tried an ruu? I suggest using the sdcard method. Safest.
Click to expand...
Click to collapse
i havent tried that, i thought i need stock recovery and to relock the bootloader for RUU, can you explain "SD card method" .
Bloodx32 said:
i havent tried that, i thought i need stock recovery and to relock the bootloader for RUU, can you explain "SD card method" .
Click to expand...
Click to collapse
No you don't need to lock bl. Or need stock recovery, That's outdated info.
Sure:
Download the RUU.zip file. Rename the zip file to 2PS6IMG.zip (being careful that you have file extensions turned on, or are aware that it could be renamed to 2PS6IMG.zip.zip, which is bad) Copy 2PS6IMG.zip to root of a physical SD formatted to fat32 or exfat! No internal storage!
Reboot phone to download mode and follow prompts once RUU is detected by phone.
andybones said:
No you don't need to lock bl. Or need stock recovery, That's outdated info.
Sure:
Download the RUU.zip file. Rename the zip file to 2PS6IMG.zip (being careful that you have file extensions turned on, or are aware that it could be renamed to 2PS6IMG.zip.zip, which is bad) Copy 2PS6IMG.zip to root of a physical SD formatted to fat32 or exfat! No internal storage!
Reboot phone to download mode and follow prompts once RUU is detected by phone.
Click to expand...
Click to collapse
thanks alot, i will give this a try. i can just get the latest RUU from HTC website and be fine right?
Bloodx32 said:
thanks alot, i will give this a try. i can just get the latest RUU from HTC website and be fine right?
Click to expand...
Click to collapse
Absolutely. Are you soff or son?
If son Id have to double check about locking bl but I'm quite sure that's very old info, and ruu has the stock recovery and just overwrites w.e you have
And soff you 100% don't need to mess w anything.
I'm soff/locked bl and flash ruu all the time. :good:
HTC website may even have directions but not sure.
RUU wiil wipe internal ste
andybones said:
Absolutely. Are you soff or son?
If son Id have to double check about locking bl but I'm quite sure that's very old info, and ruu has the stock recovery and just overwrites w.e you have
And soff you 100% don't need to mess w anything.
I'm soff/locked bl and flash ruu all the time. :good:
HTC website may even have directions but not sure.
RUU wiil wipe internal ste
Click to expand...
Click to collapse
i am s-on
Bloodx32 said:
i am s-on
Click to expand...
Click to collapse
Oh shoot I was thinking backwards, sorry. You need be stock ruu to turn from soff to son.
You can flash ruu np son, but it must match your cid/mid - Carrier ID / Mosel ID.
well its like a brick now anyway, im not sure if i did the CID "111111" , something like that a long time ago. well ill see what i can do, thanks for all your help
Bloodx32 said:
well its like a brick now anyway, im not sure if i did the CID "111111" , something like that a long time ago. well ill see what i can do, thanks for all your help
Click to expand...
Click to collapse
That's "SuperCID" and iirc you need soff to achieve, I have it as well set to that. It allows you to flash any ruu to your device.
Very welcome, mention me if you are in need of anything else.
andybones said:
That's "SuperCID" and iirc you need soff to achieve, I have it as well set to that. It allows you to flash any ruu to your device.
Very welcome, mention me if you are in need of anything else.
Click to expand...
Click to collapse
so i just tried "fastboot flash zip ruu.zip" and got security error , so i did "fastboot oem lock" but now i cant lock the bootloader cuz i cant press power to confirm, i will try to put it on the SD card and try to see if it'll auto flash. but other than that any other ideas? just for educational know how, im planning on ordering new a new power/vol flex cable anyway.
Bloodx32 said:
so i just tried "fastboot flash zip ruu.zip" and got security error , so i did "fastboot oem lock" but now i cant lock the bootloader cuz i cant press power to confirm, i will try to put it on the SD card and try to see if it'll auto flash. but other than that any other ideas? just for educational know how, im planning on ordering new a new power/vol flex cable anyway.
Click to expand...
Click to collapse
Dang yea I think you did f need the vol for SD method... Shoot.
But you don't need to lock bl..
That's not correct line: you need to be in rebootRUU mode.
I'm just gunna copy and paste this from vzw thread, applies to all.
"Option 1
Download the RUU.zip file. Rename the zip file to 2PS6IMG.zip (being careful that you have file extensions turned on, or are aware that it could be renamed to 2PS6IMG.zip.zip, which is bad) Copy 2PS6IMG.zip to root of a physical SD formatted to fat32 or exfat! No internal storage!
Reboot phone to download mode and follow prompts once RUU is detected by phone.
Option 2
EXE option. Download EXE file below (for windows) and simply double click to start. You can either be booted to OS with USB debugging enabled OR booted into download mode for this to start.
Option 3
Fastboot RUU mode . This method assumes you have a working ADB/Fastboot directory on your PC. Download RUU zip file and place in your working fastboot/adb directory. Boot your phone to download mode and connect to PC. Issue the following commands.
htc_fastboot oem rebootRUU
###while in this mode your phone will display an HTC logo on the screen
htc_fastboot flash zip 2PS6IMG.zip
##while in this mode you will see an HTC logo on the screen and a green status bar across the bottom of the screen. When command output ##completes it may say reboot required to flush etc... if that's the case issue a "htc_fastboot reboot-bootloader" command and restart option 1 again.
## assuming flash completes and no further flushing/reboots are requested from the cmd output you can now reboot IF you simply wish to reboot the system you can issue "htc_fastboot reboot" which will reboot system.
## expect a good 5 minute plus first boot!"

Categories

Resources