Go Back   Android Forums > Android Phones > HTC One S > One S - All Things Root

New Forums: Nexus Player | Nexus 9
test: Reply
 
LinkBack Thread Tools
Old February 20th, 2013, 09:25 AM   #1 (permalink)
Daleks Über Alles
Thread Author (OP)
 
agentc13's Avatar
 
Join Date: Aug 2011
Location: Skaro
Posts: 7,907
 
Device(s): Samsung Galaxy Note 3
Carrier: AT&T

Thanks: 4,175
Thanked 5,461 Times in 2,816 Posts
Default [GUIDE] SuperCID

This is a step by step guide to getting SuperCID for your HTC One S. This only works on the S4 processor version. I got all my information from this post on xda by grankin01. I only modified the instructions from that post for the One S (specifically the T-Mobile US version). So if you find this useful, make sure to stop by there to show some thanks.

You do this at your own risk!!! This could turn your new phone into a very expensive paperweight!!! If you don't know how to do it or are uncomfortable DON'T DO IT!!!

You need to have an ADB environment set up on your computer as well as a hex editor like HxD. As always it is a good idea to make a backup before doing this sort of thing.

SuperCID


1. Open up your command prompt and go to the directory that you have ADB installed to. Type [HIGH]adb shell[/HIGH] and hit enter.

2. Type [HIGH]su[/HIGH] and hit enter.

3. Type [HIGH]dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4[/HIGH] and hit enter.

This will dump the partition to your sdcard.

4. Type [HIGH]exit[/HIGH] and hit enter.

Type [HIGH]exit[/HIGH] and hit enter again.

This should take you back to a command prompt for your computer.

5. Type [HIGH]adb pull /sdcard/mmcblk0p4[/HIGH] and hit enter.

NOTE THE SIZE OF THE FILE BEFORE THE NEXT STEP!

6. Open the file (mmcblk0p4) with your hex editor.

7. Look for offset 00000210 or 00000214 and you should see "T-MOB010" with your IMEI number after it.

NOTE: "T-MOB010" is the T-Mobile US version, depending on your carrier this will change, but it will still precede your IMEI. See the link at the end of this post for a list of other CID's.

8. Change T-MOB010 to 11111111 and save the file as mmcblk0p4MOD.

MAKE SURE AT THIS POINT THAT THE FILE IS THE EXACT SIZE IT WAS BEFORE YOU HEX EDITED IT!

9. Now go back to your command prompt and type [HIGH]adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD[/HIGH] and hit enter.

10. Type [HIGH]adb shell[/HIGH] and hit enter.
Then type [HIGH]su[/HIGH] and hit enter again.

This will put you back into the android shell and give you root privileges.

11. Type [HIGH]dd if=/sdcard/mmcblk0p4MOD of=/dev/block/mmcblk0p4[/HIGH] and hit enter.


To test if it worked restart the phone into fastboot. Type [HIGH]adb reboot bootloader[/HIGH] and hit enter. Once the bootloader screen comes up type [HIGH]fastboot oem readcid[/HIGH] and hit enter. It should read "11111111".

If you have a One S that is not T-Mobile US, you will need to replace that specific CID instead of "T-MOB010". For a list of all the One S CID's see this thread on xda: [Info]HTC One S CID's.

Advertisements
agentc13 is online now  
Last edited by agentc13; February 20th, 2013 at 02:53 PM.
Reply With Quote
The Following 6 Users Say Thank You to agentc13 For This Useful Post:
Altaone (March 21st, 2013), DoubleLung81 (April 19th, 2013), Izobretatel (November 20th, 2013), mex713 (May 13th, 2013), scotty85 (February 20th, 2013), unrealliving (February 23rd, 2013)
sponsored links
Old March 21st, 2013, 05:45 PM   #2 (permalink)
Member
 
Join Date: Mar 2012
Posts: 107
 
Device(s): HTC One-s (*3) HTC One
Carrier: T-Mobile

Thanks: 40
Thanked 21 Times in 20 Posts
Default Warning.

Hello,

The warning at the beginning, If I have unlocked and rooted twice, will super cid and s off be a problem for me?

BTW. the instructions for unlock / root could be revised.
I am willing to help if needed

Now I am wishing I could delete post
Got super CID?
Altaone is offline  
Last edited by Altaone; March 21st, 2013 at 09:49 PM.
Reply With Quote
Old March 23rd, 2013, 06:34 PM   #3 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

root and unlock are needed to change the CID. it wont matter how many times you have done the process prior.

do you still need help,or have you gotten superCID?
__________________
The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers.
donate to my device fund
scotty85 is online now  
Reply With Quote
Old April 16th, 2013, 09:14 PM   #4 (permalink)
New Member
 
Join Date: Jul 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

For some reason everything seems to be working fine for me right up until I check the CID and it still says T-MOB010. What could I possibly be doing wrong?
jak2rocks is offline  
Reply With Quote
Old April 16th, 2013, 10:05 PM   #5 (permalink)
New Member
 
Join Date: Jul 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Never mind. I figured out a way. All I know is that I officially love EStrongs File Explorer!!!
jak2rocks is offline  
Reply With Quote
Old April 17th, 2013, 07:37 PM   #6 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

Quote:
Originally Posted by jak2rocks View Post
Never mind. I figured out a way. All I know is that I officially love EStrongs File Explorer!!!
what did you do? others have been having trouble,please describe your fix in as much detail as possible
scotty85 is online now  
Reply With Quote
Old April 21st, 2013, 07:35 PM   #7 (permalink)
New Member
 
Join Date: Apr 2013
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah this doesnt work for me. All looks fine until i read back the CID. Still says TELST001. Any ideas?
uncledrax is offline  
Reply With Quote
Old May 10th, 2013, 03:19 PM   #8 (permalink)
New Member
 
Join Date: May 2013
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi I just went through with this SuperCID but when I pull the mmcblk0p4 I changed it to 11111111 but when I looked at the file size it was different
[q] help quick please supercid problems please heelp urgnt please
so i got the file mmcblk0p4 it was 1.00 KB (1,024 bytes) but after i opened it with hxd editor i changed it to SuperCID 111111111 and the file size changed to 1016 bytes (1,016 bytes) what should i do and should i do adb push mmcblk0p4 the non supercid version !
please help quick
THANKS
ZamanAhmad is offline  
Reply With Quote
Old May 10th, 2013, 03:23 PM   #9 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

If the file size change, do not write it back to the phone. If you have already written it, write back the original.
scotty85 is online now  
Reply With Quote
Old May 13th, 2013, 11:58 AM   #10 (permalink)
New Member
 
Join Date: May 2013
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

So i tried this about 4 time already and i still get T-MOB010 as my cid
mex713 is offline  
Reply With Quote
sponsored links
Old May 13th, 2013, 04:45 PM   #11 (permalink)
New Member
 
Join Date: May 2013
Gender: Male
Posts: 1
 
Device(s): HTC One S
Carrier: T-Mobile

Thanks: 5
Thanked 0 Times in 0 Posts
Default

Does this method work after the latest OTA update?
mwohlford is offline  
Reply With Quote
Old May 13th, 2013, 06:24 PM   #12 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

Quote:
Originally Posted by mex713 View Post
So i tried this about 4 time already and i still get T-MOB010 as my cid
welcome to write protection. the JB OTAs,in some cases,seem to have added WP to mmcblk's 4 and 5. some more info and a bunch of different things tried in this thread: Trying to return to stock

Quote:
Originally Posted by mwohlford View Post
Does this method work after the latest OTA update?
maybe. ive seen some folks report it does,lots of reports it doesnt. your only option is to try and see what happens. if your cid doesnt change,as the user above,then you will likely not be able to superCID.
scotty85 is online now  
Reply With Quote
The Following 2 Users Say Thank You to scotty85 For This Useful Post:
Izobretatel (November 20th, 2013), mwohlford (May 13th, 2013)
Old November 10th, 2013, 12:05 PM   #13 (permalink)
New Member
 
Join Date: Nov 2013
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

shell@android:/ # adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD
adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
1|shell@android:/ #


What am I doing wrong? My phone is in USB debugging mode. Any tips?
daspi is offline  
Reply With Quote
Old November 11th, 2013, 05:16 AM   #14 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

some basic troubleshooting tips:

Quote:
troubleshooting connectivity issues:
*make sure you have changed to your adb/fastboot directory!
*make sure usb debugging is enabled(checkmarked) to use adb in the OS
-try a reboot of the PC
-try different usb cables and ports
-dont use a usb hub
-dont use usb 3.0
-make sure nothing capable of comunicating with the phone is enabled and running. htc sync,pdanet,easy tether,and even itunes have all been known to cause issues.
-windows 8 has been known to have issues. try a windows 7 or older machine

failing the above,
-i use these drivers for fastboot and adb(donwload and run as admin): http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe (mirror)

failing that,try manually updating the drivers in the following manner:
-put the phone in fastboot mode(select fastboot from the hboot menu)
-open device manager on the PC
-plug in phone,watch for it to pop up in device manager.
-update drivers with device manager,pointing the wizard to the extracted
driver download folder from above

note that you can check the connectivity of the phone,and make sure drivers are working by in the following manner:
-open cmd window. change to directory containing adb/fastboot utilities

-adb with the phone in the booted OS,usb debug enabled,enter:
adb devices in a cmd window

-fastboot with phone in fastboot(not hboot!),enter:
fastboot devices in cmd window

in either case,a properly connected phone with working drivers installed should report back the phones serial number.
scotty85 is online now  
Reply With Quote
Old November 11th, 2013, 06:54 AM   #15 (permalink)
New Member
 
Join Date: Nov 2013
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

C:\fastboot>adb devices
List of devices attached
HT24RW408116 device

C:\fastboot>fastboot devices
HT24RW408116 fastboot

Seems my connection is fine. All went fine of your steps until the place where I entered the above command. I guess I'll try all steps one more time and see if anything changes and I shall post back. If same results, I will take your drivers and see if it makes a difference. I downloaded mine from a link xda.
daspi is offline  
Reply With Quote
Old November 11th, 2013, 07:00 AM   #16 (permalink)
New Member
 
Join Date: Nov 2013
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

I just downloaded HTCDriver3.0.0.007.exe and ran it as administrator. Ahhhh it just ran and nothing else...what does it do? Sorry my ignorance.
daspi is offline  
Reply With Quote
Old November 11th, 2013, 07:22 AM   #17 (permalink)
New Member
 
Join Date: Nov 2013
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

* daemon started successfully *
shell@android:/ $ su
su
shell@android:/ # dd if=/sdcard/mmcblk0p4MOD of=/dev/block/mmcblk0p4
dd if=/sdcard/mmcblk0p4MOD of=/dev/block/mmcblk0p4
2+0 records in
2+0 records out
1024 bytes transferred in 0.007 secs (146285 bytes/sec)
shell@android:/ # adb reboot bootloader
adb reboot bootloader
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
1|shell@android:/ #

1|shell@android:/ #
C:\fastboot>adb reboot bootloader
error: device not found

C:\fastboot>fastboot oem readcid
...
(bootloader) cid: T-MOB010
OKAY [ 0.010s]
finished. total time: 0.010s

I am a bit at a loss what fails. It seems the new mmcblk0p4MOD does not overwrite the old setting.
daspi is offline  
Reply With Quote
Old November 12th, 2013, 05:02 AM   #18 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

some newer builds(including t mobile) have introduced write protection on p4 to prevent us from changing cid.

you will have to run moonshine instead to gain s off

http://moonshine.io/
scotty85 is online now  
Reply With Quote
The Following User Says Thank You to scotty85 For This Useful Post:
Izobretatel (November 20th, 2013)
Old November 12th, 2013, 06:18 AM   #19 (permalink)
New Member
 
Join Date: Nov 2013
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

My phone is a HTC One S from T-Mobile 3.14.531.17 710RD. Moonshine only lists a HTC One S T-MOB Windows 3.14.531.11. Will this work?
daspi is offline  
Reply With Quote
Old November 13th, 2013, 04:51 AM   #20 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

Quote:
Originally Posted by daspi View Post
My phone is a HTC One S from T-Mobile 3.14.531.17 710RD. Moonshine only lists a HTC One S T-MOB Windows 3.14.531.11. Will this work?
in this thread a couple have reported it to work on .17: http://forum.xda-developers.com/showthread.php?t=2325590

if you have trouble getting it to run in windows,the prollem is prolly not the OTA,but windows. i ran moonshine on a dna and couldnt get it to work on windows. ran it from an ubuntu live cd and it worked fine.
scotty85 is online now  
Reply With Quote
sponsored links
Old November 16th, 2013, 07:22 AM   #21 (permalink)
Member
 
Join Date: Mar 2012
Posts: 107
 
Device(s): HTC One-s (*3) HTC One
Carrier: T-Mobile

Thanks: 40
Thanked 21 Times in 20 Posts
Default

Hi,
I was on 3.14.531.17 and moonshine worked for me.
Altaone is offline  
Reply With Quote
The Following User Says Thank You to Altaone For This Useful Post:
scotty85 (November 17th, 2013)
Old November 16th, 2013, 11:47 AM   #22 (permalink)
New Member
 
Join Date: Nov 2013
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

I am glad to report that it worked with Ubuntu run from a USB memory stick. Long live UBUNTU! Thank you for all the help.
daspi is offline  
Reply With Quote
The Following User Says Thank You to daspi For This Useful Post:
scotty85 (November 17th, 2013)
Old March 7th, 2014, 05:51 AM   #23 (permalink)
New Member
 
Join Date: Mar 2014
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Exclamation Hello Y'all, have some Q.

i have followed the guides here and almost bricked my phone.
i manged to stock restore with help from the legendary Scotty85

now i have BACkUP my device and trying to re-do the tutorials...
i have twrp 2.6.3.0 in recovery and also superSU

all is well accept that when i enter CMD -> adb shell -> su
i get this:

C:\htc-ruu>adb shell
~ # ←[6nsu
su
/sbin/sh: su: not found
~ # ←[6n

should i proceed without it and change the CID or should i re install the superuser ?
when operating my phone twrp app and superSU do open meaning that the device is unlocked and rooted.

pleasse HELP
blonda16 is offline  
Reply With Quote
Old March 7th, 2014, 06:20 PM   #24 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

the # indicates you are a root shell,if you hadnt figured it out allready,so you dont need to enter the "su"

facepalm was a little tricky for me on the one s. i had to be running viper rom,rather than stock rooted

if you have troubles,keep in mind its not the only way to skin the cat. you can also try:

http://rumrunner.us/

http://moonshine.io/

firewater s-off

holler if you have questions
scotty85 is online now  
Reply With Quote
Old April 13th, 2014, 04:38 AM   #25 (permalink)
New Member
 
TerrorApple's Avatar
 
Join Date: Apr 2014
Posts: 3
 
Device(s):
Carrier: MEDIONMobile

Thanks: 1
Thanked 1 Time in 1 Post
Default

Hey guys,

I'm also running into write protection with my ViperOneS 2.2.0 (JB 4.1.1). I need S-OFF for updating my radio for ViperOneS 3. I read JB OTA adds write protection. So will I be fine when going back to stock (ICS)? ATM I run:
One S S4
HBOOT 2.15
Radio 1.15.50.05.29_10.30.50.08L
TWRP 2.6.3.0
CID: T-MOB101
All I want to do is get SuperCID and S-OFF my device... So what shall I do now?

Thanks!
TerrorApple is offline  
Last edited by TerrorApple; April 13th, 2014 at 04:42 AM.
Reply With Quote
Old April 13th, 2014, 07:50 PM   #26 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

Quote:
Originally Posted by TerrorApple View Post
Hey guys,

I'm also running into write protection with my ViperOneS 2.2.0 (JB 4.1.1). I need S-OFF for updating my radio for ViperOneS 3. I read JB OTA adds write protection. So will I be fine when going back to stock (ICS)? ATM I run:
One S S4
HBOOT 2.15
Radio 1.15.50.05.29_10.30.50.08L
TWRP 2.6.3.0
CID: T-MOB101
All I want to do is get SuperCID and S-OFF my device... So what shall I do now?

Thanks!

Just use another method.you no longer need supercid. You can potentially run moonshine,rumrunner,or firewater. I can get you some links if you need them when I get back to my pc.
scotty85 is online now  
Reply With Quote
Old April 14th, 2014, 10:48 AM   #27 (permalink)
New Member
 
TerrorApple's Avatar
 
Join Date: Apr 2014
Posts: 3
 
Device(s):
Carrier: MEDIONMobile

Thanks: 1
Thanked 1 Time in 1 Post
Default

Thanks for your reply. Well I tried moonshine, rumrunner and firewater. None of them work.
Moonshine:
Quote:
Ok?
(Yes/No)
Yes
!! Do NOT for any reason touch, unplug, lick or maim your device !!
Checking for updates......
Please wait....
..........
Test 1: Rebooting into bootloader
Waiting for fastboot (7/60)
Waiting
Test 2: Booting device
Waiting for ADB (60/60)
ADB connection failed!!
FIX IT, yes, YOU fix it!!
Press ENTER to exit
Rumrunner:
Quote:
Ok?
(Yes/No)
Yes
!! Do NOT for any reason taunt, unplug, drop, eat or pet your device !!
Please wait....
..........
Checking for updates......
Test 1: Rebooting into bootloader
Waiting for fastboot (7/120)
Waiting
Test 2: Booting device
Waiting for ADB (41/120)
must ferment longer...

must sanitize, skunky rum is nasty
hold please............................................ ..
[------------------------------------------------------------]
Rebooting into bootloader (again)
Waiting for fastboot (7/120)
FATAL: Download updated package at www.rumrunner.us
Press ENTER to exit
Firewater:
Quote:
preparing, one moment


The first bottle is open
chugging..........
nasty, need a chaser
nasty, need a chaser
this skunk has some real funk, force (FORCE!!!!) reboot your device and try
again!

Bus error
I disabled my AV and firewall and used a USB2 port. ADB and Fastboot are fine. Bootloader is unlocked. What am I doing wrong?
TerrorApple is offline  
Reply With Quote
Old April 15th, 2014, 04:42 AM   #28 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

Not really sure what you're doing wrong,I've not had any luck getting the tools to work on windows. You are still rooted and running a custom rom,correct? For rumrunner to work,you may need to be running an insecure kernel(wich viper should have)

Make sure you've met all the prerequisites and try running rumrunner or firewater from an ubuntu 12.04 live cd
scotty85 is online now  
Reply With Quote
The Following User Says Thank You to scotty85 For This Useful Post:
TerrorApple (April 16th, 2014)
Old April 15th, 2014, 05:36 AM   #29 (permalink)
New Member
 
TerrorApple's Avatar
 
Join Date: Apr 2014
Posts: 3
 
Device(s):
Carrier: MEDIONMobile

Thanks: 1
Thanked 1 Time in 1 Post
Default

Wow! Thanks for the hint with Ubuntu! First try and everything went fine, got S-OFF now. I hate Windows -.- Thanks for your help!
TerrorApple is offline  
Reply With Quote
The Following User Says Thank You to TerrorApple For This Useful Post:
scotty85 (April 16th, 2014)
Old April 16th, 2014, 04:38 AM   #30 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,045
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,244 Times in 4,494 Posts
Default

Awsome! Glad that did the trick. Windows is very susceptible to things running in the background trying to hijack comunications with the device,and also requires the use of prollematic drivers. First time I tried ubuntu I had the same results- after prollems with moonshine on windows,it zipped right thru on ubuntu.
scotty85 is online now  
Reply With Quote
sponsored links
Reply


Go Back   Android Forums > Android Phones > HTC One S > One S - All Things Root

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:21 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.