• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [GUIDE] How to Run an RUU for your HTC One S

It does not really matter wich one you use since you are s off. No matter wich one you use,the phone will OTA to current afterward.

I would go ahead and pick the newest(numerically higher build number)
 
adb install [-l] [-r] <file> - push this package file to the device and instal
l it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB adb
tcpip <port> - restarts the adbd daemon listening on TCP on the spec
ified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
C:\adb-fastboot>ADB -D
Android Debug Bridge version 1.0.25
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
envivornment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>:<port> - connect to a device via TCP/IP disconnect <host
>:<port> - disconnect from a TCP/IP device
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> <local> - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] <file> - push this package file to the device and instal
l it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB adb
tcpip <port> - restarts the adbd daemon listening on TCP on the spec
ified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
C:\adb-fastboot>ADB DEVICES
Android Debug Bridge version 1.0.25
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
envivornment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>:<port> - connect to a device via TCP/IP disconnect <host
>:<port> - disconnect from a TCP/IP device
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> <local> - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] <file> - push this package file to the device and instal
l it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB adb
tcpip <port> - restarts the adbd daemon listening on TCP on the spec
ified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
C:\adb-fastboot>adb devices
List of devices attached
SH23MW405435 device

C:\adb-fastboot>adb reboot bootloader
C:\adb-fastboot>fastboot flash recovery OneS.img
sending 'recovery' (6616 KB)... OKAY
writing 'recovery'... OKAY
C:\adb-fastboot>adb reboot bootloader
adb server is out of date. killing...
* daemon started successfully *
C:\adb-fastboot>adb reboot bootloader
C:\adb-fastboot>fastboot devices
C:\adb-fastboot>************ fastboot
'************' is not recognized as an internal or external command,
operable program or batch file.
C:\adb-fastboot>************ fastboot
'************' is not recognized as an internal or external command,
operable program or batch file.
C:\adb-fastboot>fastboot devices
SH23MW405435 fastboot
C:\adb-fastboot>************ fastboot
'************' is not recognized as an internal or external command,
operable program or batch file.
C:\adb-fastboot>fastboot getvar all
INFOversion: 0.5
INFOversion-bootloader: 2.15.0000
INFOversion-baseband: 1.11.50.05.28
INFOversion-cpld: None
INFOversion-microp: None
INFOversion-main:
INFOversion-misc: PVT SHIP S-ON
INFOserialno: *************
INFOimei: ************
INFOproduct: vle
INFOplatform: HBOOT-8960
INFOmodelid: PJ4010000
INFOcidnum: 11111111
INFObattery-status: good
INFObattery-voltage: 4178mV
INFOpartition-layout: Generic
INFOsecurity: on
INFObuild-mode: SHIP
INFOboot-mode: FASTBOOT
INFOcommitno-bootloader: dirty-64bedd38
INFOhbootpreupdate: 11
INFOgencheckpt: 0
all: Done!
 
C:\adb-fastboot>fastboot getvar all
INFOversion: 0.5
INFOversion-bootloader: 2.15.0000
INFOversion-baseband: 1.11.50.05.28
INFOversion-cpld: None
INFOversion-microp: None
INFOversion-main:
INFOversion-misc: PVT SHIP S-ON
INFOserialno: SH23MW405435
INFOimei: [redacted by Mod]
INFOproduct: vle
INFOplatform: HBOOT-8960
INFOmodelid: PJ4010000
INFOcidnum: 11111111
INFObattery-status: good
INFObattery-voltage: 4178mV
INFOpartition-layout: Generic
INFOsecurity: on
INFObuild-mode: SHIP
INFOboot-mode: FASTBOOT
INFOcommitno-bootloader: dirty-64bedd38
INFOhbootpreupdate: 11
INFOgencheckpt: 0
all: Done!
C:\adb-fastboot>
 
things are further complicated by the fact that ruus starting with JB are encrypted so we cant get in to them. in order to run these ruus,you must allready have a newer hboot in place. i.e.,you need to have OTAed to a JB firmware,or possibly flashed the firmware.zip file from an OTAPkg.zip

I am looking for more understanding. I ran 3.14 ruu from 2.35 right after getting s-off / super cid but did not know that I needed the newer Hboot.

What happens if you do not have a newer Hboot.

There is an official t-mobile post about the 2.35 ota messing up the radios.

I have been fighting with being stuck on 2g for a long time - got frustrated and bought HTC one.

Now people are fixing this radio issue but I cannot seem to get the fix to work for me, so it is time to learn more.
 
I am looking for more understanding. I ran 3.14 ruu from 2.35 right after getting s-off / super cid but did not know that I needed the newer Hboot.

What happens if you do not have a newer Hboot.

There is an official t-mobile post about the 2.35 ota messing up the radios.

I have been fighting with being stuck on 2g for a long time - got frustrated and bought HTC one.

Now people are fixing this radio issue but I cannot seem to get the fix to work for me, so it is time to learn more.

if you have an older hboot,running a newer encrypted ruu will just fail,nothing bad will happen.

i havent had a chance to read up on the fix yet,but skimming thru it looked like they were just running and ruu and clearing some storage. its possible you may have actual hard ware issues. :(

ill let you know if i have anything else to suggest after reading up on the fix,prolly tonight or tomoro evening. sorry i cant be of more help at the moment.
 
Scotty,

No problem you have always been more than helpful.

NM. Finally got T-MO to replace phone even tho it was way out of warranty just had to reference their post that talked about there update borking phones. -- http://support.t-mobile.com/docs/DOC-5224 -- Well that and prove that they sent me three refurbs and had me update them so it would jack 4g.
 
well,glad your issue is somewhat resolved.

looks like all the fix is doing is replacing the "modem_st1" partition with one from a working device.did you download the good mmblk0p20? did you have any errors with any of the adb commands?
 
well,glad your issue is somewhat resolved.

looks like all the fix is doing is replacing the "modem_st1" partition with one from a working device.did you download the good mmblk0p20? did you have any errors with any of the adb commands?

No was able to get the block in and also copied. the zip file ran - when you read the post about that it says it is normal for it tu fail first time and to run it the second time. Ran fine the second time.

Followed blackhartct exactly, then followed billydroid Exactly.

Seemed to work as outlined but no 4g. Im still learning so I may not know what to look for - when I ran the zip file the part where it was workin on the rcdata block it returned 0's Dont know what that means.
 
No was able to get the block in and also copied. the zip file ran - when you read the post about that it says it is normal for it tu fail first time and to run it the second time. Ran fine the second time.

Followed blackhartct exactly, then followed billydroid Exactly.

Seemed to work as outlined but no 4g. Im still learning so I may not know what to look for - when I ran the zip file the part where it was workin on the rcdata block it returned 0's Dont know what that means.

sounds like you had a different issue,or possibly hardware failure of some sort. :( i have an att one xl that has been stuck in 2g. ive never been able to figure out why :mad:
 
Hi there,

I need to send my HTC One S to repair and I want to lock the bootloader. My volumme button is not working properly and everytime I have to boot the bootloader is such a pain in the ass!

I am afraid of HTC customer service telling me they won't repair the button as the phone bootloader is unlocked.

This is my fastboot info:

C:\adb-fastboot>fastboot getvar all
INFOversion: 0.5
INFOversion-bootloader: 2.15.0000
INFOversion-baseband: 1.12.50.05.05
INFOversion-cpld: None
INFOversion-microp: None
INFOversion-main: 3.16.61.10
INFOversion-misc: PVT SHIP S-ON
INFOserialno: ***********
INFOimei: *************
INFOproduct: vle
INFOplatform: HBOOT-8960
INFOmodelid: PJ4010000
INFOcidnum: ORANG001
INFObattery-status: good
INFObattery-voltage: 4118mV
INFOpartition-layout: Generic
INFOsecurity: on
INFObuild-mode: SHIP
INFOboot-mode: FASTBOOT
INFOcommitno-bootloader: dirty-64bedd38
INFOhbootpreupdate: 11
INFOgencheckpt: 0
all: Done!
C:\adb-fastboot>

I have been trying to fing the right RUU for my phone but I am not sure which one will work.

Can anyone help?
 
while you are s on,only an ruu for build 3.16.61.10 or newer will work. i dont have time to look for one atm,but if one does not exist,then the only way to run a different one is to s off and change the cid.

running an ruu will not change you back to locked.

best you can do while s on is relocked,wich is just as much a flag as unlocked :eek:

if you are on a stock rom,it is prolly no worse to send in the phone unlocked vs relocked.

in order to change the flag and make the device read locked, you will require s off.

hope that helps :)
 
Thanks Scotty85, that was really helpfull. Do you know of any good tutorial to turn S-off (superCID) in the htc one s?
 
there is a guide here to supercid. if that works,you can run "facepalm" to get s off. however,some builds are now experiencing write protection that do now let this mod work.

if you find that to be the case,youll need to use the "moonshine" tool to get s off. or you can just use it in the first place,then chage cid after s off.

if your build is not supported by moonshine,some folks have had success by restoring a nandroid of a supported build.

you can find some nandroids here: Ville / VilleC2 RUU, OTA and Stock Nandroid Collection - xda-developers

and moonshine here: http://moonshine.io/
 
Oh I forgot, I actually relocked my phone. Is there any fast command to unlock it again so that in HBOOT it reads unlocked?

I also have this security warning thing from relocking the bootloader, I guess it will go off after running the RUU or S-off.
 
Oh I forgot, I actually relocked my phone. Is there any fast command to unlock it again so that in HBOOT it reads unlocked?

I also have this security warning thing from relocking the bootloader, I guess it will go off after running the RUU or S-off.

you will have to use htcdev to re-unlock. your phone will then be useable aagain :)
 
Hi Scotty,

I have turned my phone S-Off. However I can't run the RUU, I have tried to run in in HBOOT mode and in the normal Android mode.

I have tried this: AndroidRUU | The #1 source for Android RUU files

with this error message: An error: (-5001 x 80070002) has occured while running the setup. Please make sure you have finished any previous setup and close other applications. If the error still occurs, please contact your vendor.

and this:
RUU_Ville_U_ICS_40_S_HTC_Europe_2.31.401.5

With no error message, simply nothing happens.

I though any RUU would run in a S-Off android, there is something I must be doing wrong.

My HBOOT screen reads:

***TAMPERED***
***RELOCKED***
VLE PVT SHIP S-OFF RL
CID-1111111
HBOOT-2.15.0000
RADIO-1.12.50.5.05
OpenDSP-v31.1.0.45.0815
eMMC-boot

Any suggestions?

Btw, after running any RUU, will my phone appear to be locked (as if I had never unlocked the bootloader?....cause that it my ultimate goal!)
 
Sounds like you have a bad ruu,or possibly a bad download. You can try and redownload the utility,but if that doesn't help you may need to try a different one.

Running the ruu will not change you to locked. You'll need to flash a zipfile in recovery(there is a thread to reset lock status flag and one to get back to stock here in this forum) so do that prior to running the ruu. :)
 
Thanks Scotty, your tutorial for s-off was brilliant!

So I have managed to lock the phone and run the RUU_Ville_U_JB_45_S_HTC_Europe_3.16.401.8_Radio_1.11.50.05.28_10.27.50.08L_release_301814_signed_2_4

However my device is now ***locked*** but also S-Off

I am not sure if s-off voids the guarantee? If it does, how can I turn my phone to s-on?
 
Thanks Scotty, your tutorial for s-off was brilliant!

So I have managed to lock the phone and run the RUU_Ville_U_JB_45_S_HTC_Europe_3.16.401.8_Radio_1.11.50.05.28_10.27.50.08L_release_301814_signed_2_4

However my device is now ***locked*** but also S-Off

I am not sure if s-off voids the guarantee? If it does, how can I turn my phone to s-on?

i know its too late,but if youre expecting them to repair and return to you the same device,i would have just sent it in s off.

phones did legitimately come that way,so it by itself is not an indicator of having been messed with. as long as you were on a current,unrooted,stock rom with a locked bootloader,sending in s off should have been fine.
 
well...i guess now it doesn't matter but thanks for your response!

Good thing is now I know how to turn phone to s-off and turn in back to stock!

This might be a bit weird, but I really like using the cmd...
 
Back
Top Bottom