S-OFF sunshine & cyanogenmod - One (M9) Q&A, Help & Troubleshooting

Ok guys i'm in a real problem!
I cannot make or receive phone calls for one week... it all started when I got bored with the original OS of the HTC One M9, so I rooted the phone and installed CM13 following some tutorial on the internet (its the first time I root and install a custom rom in my life).. when I finished, I was verry happy until I discovered that I cannot make or receive calls, I searched for solutions, and I tried them (installing gapps, uninstalling capps, set phone app as default app...) but none of them worked. So I installed slim roms hoping that this can be the solution, but the same problem is stilling. I installed then android revolution HD and the problem disappeared, it was not solved, it disappeared because this rom didn't event boot. I reinstalled cyanogemod in order to use my phone for things in which it stills usable, and decided to return to the stock rom (the boring one). I found a good tutorial in droidviews.com, in which he said that in order to successfully install it i have to:
- Download the right ruu.
- Change the cid and the mid.
For the ruu file I found the zip file for the same version used in the tutorial (1.32.401.8).
Now when I try to change the cid using this command:
Code:
fastboot oem writecid HTC__001
It says:
Code:
...
FAILED (remote: unknown command)
finished. total time: 0.006s
After googling it, the problem seems to be caused by 'S-ON', so I have to 'S-OFF' the phone. I downloaded sunshine and run it but the app shows an error saying:
SunShine encountered problems with your rom. Please flash a stock, or more near stock rom and try again
Click to expand...
Click to collapse
I'm really confused.
To install a stock rom i have to change cid.
To change cid i have to S-OFF the phone.
To S-OFF the phone i have to install a stock rom.

You don't need S-OFF to install a RUU unless you're trying to apply a RUU that doesn't match your phone CID & MID. In that case, you would need to achieve S-OFF and then change your CID.
However, odds are fairly good that there is a RUU for your phone. You'll need to 1) find out your CID & MID (instructions below), 2) look it up on the SKU-, CID- and MID-List by Sneakyghost and Behold_this (link below), 3) find the matching RUU in Flippy498's Google Sheet (link below), and then follow the instructions in that same sheet to install the RUU.
----------------------
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 said:
You don't need S-OFF to install a RUU unless you're trying to apply a RUU that doesn't match your phone CID & MID. In that case, you would need to achieve S-OFF and then change your CID.
However, odds are fairly good that there is a RUU for your phone. You'll need to 1) find out your CID & MID (instructions below), 2) look it up on the SKU-, CID- and MID-List by Sneakyghost and Behold_this (link below), 3) find the matching RUU in Flippy498's Google Sheet (link below), and then follow the instructions in that same sheet to install the RUU.
----------------------
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.
Click to expand...
Click to collapse
Thanks man!
All that I was missing is this command: fastboot getvar all
I was using readcid that returns nothing

Wonderful! I'm glad to be able to help - that's what XDA is all about.

computerslayer said:
Wonderful! I'm glad to be able to help - that's what XDA is all about.
Click to expand...
Click to collapse
One more thing please!
I downloaded the right ruu but I cannot find out how to flash it, in the guide in XDA it is said that i have to boot to download mode and then press volume UP but nothing happened, and I tried using TWRP but it says that the zip file is corrupted

burawi said:
One more thing please!
I downloaded the right ruu but I cannot find out how to flash it, in the guide in XDA it is said that i have to boot to download mode and then press volume UP but nothing happened, and I tried using TWRP but it says that the zip file is corrupted
Click to expand...
Click to collapse
RUU won't flash via TWRP.
You need to place the file on the root of your external SD card and rename it 2PQ9IMG.
Unless the RUU is an exe?
Sent from my HTC 10 using XDA Labs

squ89r97 said:
RUU won't flash via TWRP.
You need to place the file on the root of your external SD card and rename it 2PQ9IMG.
Unless the RUU is an exe?
Sent from my HTC 10 using XDA Labs
Click to expand...
Click to collapse
You've got the wrong file name in your post. It should be '0PJAIMG.zip'
For step by step instructions, the best guide is Flippy498's Google sheet (link above) in the RUU section.

computerslayer said:
You've got the wrong file name in your post. It should be '0PJAIMG.zip'
For step by step instructions, the best guide is Flippy498's Google sheet (link above) in the RUU section.
Click to expand...
Click to collapse
My bad dude, copied it from HTC 10 guide, realised and went to m9 guide. Clearly didn't click copy!
Sent from my HTC 10 using XDA Labs

squ89r97 said:
RUU won't flash via TWRP.
You need to place the file on the root of your external SD card and rename it 2PQ9IMG.
Unless the RUU is an exe?
Sent from my HTC 10 using XDA Labs
Click to expand...
Click to collapse
ok I did that. Now I have an external sd card with the ruu file named 2PQ9IMG.zip, what should I do to flash it ?

burawi said:
ok I did that. Now I have an external sd card with the ruu file named 2PQ9IMG.zip, what should I do to flash it ?
Click to expand...
Click to collapse
Dude, read the posts above, I got the name wrong, that's for the HTC 10, yours should be 0PJAIMG.zip
Apologies on my behalf for getting that wrong.
Once it's named correctly, go in to download mode and the file will be recognized, follow the instructions on your phone from then on.
Sent from my HTC 10 using XDA Labs

in download mode it says:
FILE /mnt/media_rw/ext_sd/0PJAIMG.zip File NOT FOUND

burawi said:
in download mode it says:
FILE /mnt/media_rw/ext_sd/0PJAIMG.zip File NOT FOUND
Click to expand...
Click to collapse
From flippys thread.....
Be aware that you need an external SD card for your phone that is not bigger than 32 gb.
(The size limit doesn't apply to phones with firmware version 3.x or higher.)
01. Download the correct RUU.zip for your phone.
02. Rename the file to "0PJAIMG.zip".
03. Copy the file to the root directory of a SD card which is formatted to fat32. (If you're on firmware version 3.x or higher you can use an exfat formatted SD card, too.) Sometimes this is only possible if the SD card is directly connected to your PC and not put into your phone. I don't know why some M9s refuse the copy process.
04. Put the card into your phone and boot to Download Mode.
05. You will be asked whether you want to flash the file. Confirm with the volume up button.
06. Your phone will reboot at least one time. Depending on your current firmware version it may reboot to Android instead of rebooting to Download Mode. If this happens you just need to shut your phone down and manually boot it to Download Mode.
07. Flashing may take some time.
08. At the end you will be asked to push the power button. You phone will shut down if you do so.
09. Wait some seconds and then turn your phone on, again.
10. First boot may take a while.
11. Congrats! Your system is now stock and able to receive and install official OTAs, again.
Sent from my HTC 10 using XDA Labs

squ89r97 said:
My bad dude, copied it from HTC 10 guide, realised and went to m9 guide. Clearly didn't click copy!
Sent from my HTC 10 using XDA Labs
Click to expand...
Click to collapse
I don't think it would have hurt a thing beyond adding a little frustration for the OP. On the upside, I learned something new about HTC RUU versions!

computerslayer said:
I don't think it would have hurt a thing beyond adding a little frustration for the OP. On the upside, I learned something new about HTC RUU versions!
Click to expand...
Click to collapse
Nah, just wouldn't have done anything.
Glad someone learned something. Everyday is a school day
Sent from my HTC 10 using XDA Labs

squ89r97 said:
From flippys thread.....
Be aware that you need an external SD card for your phone that is not bigger than 32 gb.
(The size limit doesn't apply to phones with firmware version 3.x or higher.)
01. Download the correct RUU.zip for your phone.
02. Rename the file to "0PJAIMG.zip".
03. Copy the file to the root directory of a SD card which is formatted to fat32. (If you're on firmware version 3.x or higher you can use an exfat formatted SD card, too.) Sometimes this is only possible if the SD card is directly connected to your PC and not put into your phone. I don't know why some M9s refuse the copy process.
04. Put the card into your phone and boot to Download Mode.
05. You will be asked whether you want to flash the file. Confirm with the volume up button.
06. Your phone will reboot at least one time. Depending on your current firmware version it may reboot to Android instead of rebooting to Download Mode. If this happens you just need to shut your phone down and manually boot it to Download Mode.
07. Flashing may take some time.
08. At the end you will be asked to push the power button. You phone will shut down if you do so.
09. Wait some seconds and then turn your phone on, again.
10. First boot may take a while.
11. Congrats! Your system is now stock and able to receive and install official OTAs, again.
Sent from my HTC 10 using XDA Labs
Click to expand...
Click to collapse
I did all that and everything went good. But when I boot the phone it always opens the bootloader mode.

Related

I need a complete noob guide on how to reset my phone to stock.

I appreciate the amount of guides out there, but my feeble mind has no idea how to comprehend them, I'm trying to read at least three different ones to try and match my situation but it's just frustrating me. I apologise if I annoy anyone with this thread, but I literally have no idea what to do.
My phone is currently running CM10, and I obviously need to get it back to stock. I did a backup before I installed CM10, but for some reason this gets stuck on the boot up screen. I've tried wiping everything and installing it, still gets stuck (I left it for a good ten minutes).
I'm trying to use this guide: http://onexroot.com/one-x-unroot/how-to-unroot-rooted-htc-one-x/, but it says that you have to have a stock ROM to follow it, I obviously can't do this (unless there is a way to 'fix' my stock backup?)
I'm currently downloading the RUU I need (o2 UK), can I use this to flash the stock ROM onto my phone (like I normally would with a ROM), and then follow the above guide? Please be aware, I used this tool: http://forum.xda-developers.com/showthread.php?t=1604439 to root my phone, so I have no idea how to do all the command prompt stuff, and this tool automated it all for me.
As a side note, this thread: http://forum.xda-developers.com/showthread.php?t=1609190 said about downloading ARHD 2.1, which afaik is a custom stock ROM? However the download on that link is for ARHD 9.1, so I don't know if the dev has upgraded it to run on a later HTC update (like 1.29), which I can't find a RUU for.
Once again, I am really sorry if this post is just one in a thousand, but I'm getting really flustered and I'd rather incur the wrath of the internet then end up doing something wrong and bricking my phone forever.
A ruu will return your phone to complete stock.
You will need to Relock your bootloader before starting the RUU install
Put phone into fastboot usb,
Double click RUU windows installation on your pc to install.
Sent from my HTC One X using Tapatalk 2
chrisjcks said:
A ruu will return your phone to complete stock.
You will need to Relock your bootloader before starting the RUU install
Put phone into fastboot usb,
Double click RUU windows installation on your pc to install.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
So should I just follow that guide to relock my phone then run the RUU? How come guides never be explain that it's that simple
Number 1 rule - charge the phone.
Install android SDK on your pc,
Put phone in fastboot USB
Open cmd on pc
navigate to your folder that contains fastboot/adb etc within Android SDK
Ie. (1st line is the location of that folder on my pc, it may differ if you install it to a different location - 2nd line relocks your bootloader)
CD c:/Android-SDK/platform-tools
fastboot oem lock
Then go back to fastboot USB,
Double click the RUU on your PC to install.
Done.
Sent from my HTC One X using Tapatalk 2
chrisjcks said:
Number 1 rule - charge the phone.
Install android SDK on your pc,
Put phone in fastboot USB
Open cmd on pc
navigate to your folder that contains fastboot/adb etc within Android SDK
Ie. (1st line is the location of that folder on my pc, it may differ if you install it to a different location - 2nd line relocks your bootloader)
CD c:/Android-SDK/platform-tools
fastboot oem lock
Then go back to fastboot USB,
Double click the RUU on your PC to install.
Done.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
Thank you very much, I'll give it a go in the morning.
Tutorial here http://forum.xda-developers.com/showthread.php?t=1859714
Sent from my HTC One X using xda app-developers app

[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

Flashing RUU files under Linux.

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.

HTC One M8 (India) - unable to flash any file

There is NO OS and the bootloader status says "Relocked". Unable to unlock using the normal procedure.
It's a little strange(INVALID_VER_INFO) but, except that let's continue...
Your device is S-OFF, so bootloader status doesn't matter.
Download this ruu: https://androidfilehost.com/?fid=889764386195931580
There are 2 methods, I recommend the first:
First method:
1. Rename the downloaded zip to 0P6BIMG.zip and put it in the root of an fat32 formatted sdcard.
2. Insert the sdcard in the phone and boot in hboot, when it ask press volume up to start.
Second method:
1. You need adb(if you don't have I recommend Minimal ADB and Fastboot) and htc_fastboot.exe (link)
Move htc_fastboot.exe in adb folder.
2. You also need htc drivers.
3. Boot the phone in hboot and open minimal adb(or whatever you using) and do "fastboot oem rebootRUU"
4. Do "fastboot flash zip path/to/ruu.zip" (replace path/to/ruu.zip with your ruu location).
Do the ^command^ again when it asks(phone reboots itself in ruu mode).
When the process is complete do "fastboot reboot".
lucyr03 said:
It's a little strange(INVALID_VER_INFO) but, except that let's continue...
Your device is S-OFF, so bootloader status doesn't matter.
Download this ruu: https://androidfilehost.com/?fid=889764386195931580
There are 2 methods, I recommend the first:
First method:
1. Rename the downloaded zip to 0P6BIMG.zip and put it in the root of an fat32 formatted sdcard.
2. Insert the sdcard in the phone and boot in hboot, when it ask press volume up to start.
Second method:
1. You need adb(if you don't have I recommend Minimal ADB and Fastboot) and htc_fastboot.exe (link)
Move htc_fastboot.exe in adb folder.
2. You also need htc drivers.
3. Boot the phone in hboot and open minimal adb(or whatever you using) and do "fastboot oem rebootRUU"
4. Do "fastboot flash zip path/to/ruu.zip" (replace path/to/ruu.zip with your ruu location).
Do the ^command^ again when it asks(phone reboots itself in ruu mode).
When the process is complete do "fastboot reboot".
Click to expand...
Click to collapse
Both the methods have failed
lsvignesh said:
Both the methods have failed
Click to expand...
Click to collapse
From the screenshot seems you didn't put the zip correctly.
Your sdcard needs to be formatted as fat32.
The zip must be named as 0PJAIMG.zip (not 0PJAIMG.zip.zip if you have extensions hidden)
The file needs to be in the root of the sdcard.
lucyr03 said:
From the screenshot seems you didn't put the zip correctly.
Your sdcard needs to be formatted as fat32.
The zip must be named as 0PJAIMG.zip (not 0PJAIMG.zip.zip if you have extensions hidden)
The file needs to be in the root of the sdcard.
Click to expand...
Click to collapse
all the specified steps have been strictly followed :crying:
lsvignesh said:
There is NO OS and the bootloader status says "Relocked". Unable to unlock using the normal procedure.
Click to expand...
Click to collapse
This descriptions tells us close to nothing. I can tell you from experience, that asking for help by posting 2 sentences is never going to be enough for folks to provide proper help.
You need to provide a detailed description (step by step) of how you got to this point. What were you trying to do? If you relocked the bootloader yourself, no OS is normal and expected.
"Unable to unlock using the normal procedure" meaning what? Again, describe what exact steps you took. What commands did you use? At what point in the process did it fail? Did you get any error message? Might just be a simple error, like cutting/pasting the identifier token incorrectly?
---------- Post added at 11:35 AM ---------- Previous post was at 11:09 AM ----------
lsvignesh said:
all the specified steps have been strictly followed :crying:
Click to expand...
Click to collapse
Recheck all your steps. Double and triple check everything. I agree with lucyr03, the error message typically means you did something wrong.
Make sure the file is named: 0P6BIMG.zip
Make sure you don't have Windows option enabled to hide file extensions (this is enabled by default). Otherwise you have the file named 0P6BIMG.zip.zip and don't realize it!
Make sure the file is on the SD card (internal storage won't work) and not in any folders.
You can also try to download the file again, to make sure it wasn't corrupted during download.

Categories

Resources