Jump to content


Photo

How to root your HTC One S (for Windows, Mac and Linux)

* * * * * 1 votes

  • Please log in to reply
39 replies to this topic

#1
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,225 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Introducing.... Superboot! :)

Superboot is a boot.img that when booted, will root your device the first time you boot (installing su and the superuser APK). No need to flash any partitions, no need to mess around with ADB, no messing with the contents of your data partition, no overwriting the shipped ROM on your device, just boot the boot image using the instructions below and you're done!

You will need to htcdev bootloader unlock your device to use this root solution.

APPLY THIS AT YOUR OWN RISK!

  • Superboot r3 - DOWNLOAD (ROMraid) - MD5: 220ceaf0aea599e97b6d6211ae3397d4
The superboot image is also 'insecure', allowing you to use 'adb remount' as well as having full ADB root access to your device until such time as you reboot after running this process (it's a non permanent ADB root as it's a 'fastboot boot' and not a 'fastboot flash' but it IS a permanent root in all other regards!).

How to use Superboot - Windows, Linux and OSX

- Download the Superboot zip file above and extract to a directory
- Put your device in bootloader mode - Turn off the phone then turn on with the 'volume down' button pressed to enter the bootloader, then pressing the power button again to enter fastboot.
- WINDOWS - double click 'install-superboot-windows.bat'
- MAC - Open a terminal window to the directory containing the files, and type 'chmod +x install-superboot-mac.sh' followed by './install-superboot-mac.sh'
- LINUX - Open a terminal window to the directory containing the files, and type 'chmod +x install-superboot-linux.sh' followed by './install-superboot-linux.sh'

Enjoy! ;)

P

PS If you find this useful, please consider supporting MoDaCo by signing up for a MoDaCo subscription! Visit this topic for further details!

  • 2

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#2
l3ft3r1s

l3ft3r1s

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:HTC Toch HD
Thanks a lot for that!
Hope it works with S-ON on retail devices...
Looking forward to the perm root...

  • 0

#3
ptr_hamilton

ptr_hamilton

    Newbie

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Devices:HTC Sensation, HTC One S
Didn'T work for htcdev unlocked htc one s here.. Posted Image
I'm sure itt'll work sooner or later tho

Thanks for sharing!

Cheers Pete

Edit: It also says **TAMPERED** after I tried to use superboot Posted Image

Edited by ptr_hamilton, 01 April 2012 - 08:19 AM.

  • 0

#4
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,225 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Sent you a PM ptr_hamilton...

P

  • 1

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#5
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,225 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
This is not a temp root it's a PERMANENT root. It's now updated for retail devices.

P

  • 1

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#6
ptr_hamilton

ptr_hamilton

    Newbie

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Devices:HTC Sensation, HTC One S

This is not a temp root it's a PERMANENT root. It's now updated for retail devices.

P


Confirmed Posted Image

Attached Files


  • 0

#7
xkonni

xkonni

    Enthusiast

  • Members
  • PipPipPip
  • 243 posts
  • Gender:Male
  • Location:Berlin
  • Devices:ville, vision, passion, dream
  • Twitter:@xkonni

Confirmed Posted Image


yep works just fine ;)

on another topic, please tell which tools/commandline you used to pack that boot.img... if i as much as unpack and repack it, it won't boot anymore...

  • 0

#8
l3ft3r1s

l3ft3r1s

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:HTC Toch HD
1) Any plans for devices without an unlocked bootloader from htcdev?
2) Any plans for unrooting?

  • 0

#9
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,225 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
1) Not possible atm.
2) Unroot = delete /system/app/Superuser.apk and /system/xbin/su

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#10
xkonni

xkonni

    Enthusiast

  • Members
  • PipPipPip
  • 243 posts
  • Gender:Male
  • Location:Berlin
  • Devices:ville, vision, passion, dream
  • Twitter:@xkonni
@paul please share your mkbootimg commandline...


i just unpacked the boot.superboot.img
- unpackbootimg from cm source 'unpackbootimg -i boot.superboot.img' )

and repacked it
- mkbootimg from cm source
'mkbootimg --kernel boot.superboot.img-zImage --ramdisk boot.superboot.img-ramdisk.gz --base 80400000 --cmdline console=ttyHSL0,115200,n8 -o boot.img'


when i fastboot boot your boot.superboot.img i get a red warning on white background, but then it actually boots anyway.
for my repacked image it just reboots after showing the warning.

i even did a hexdump, and the images just differ on 0x14... but i can't reproduce the value that yours has in that place.
(of course i can edit the value, but then it's actually the same image...)

if you don't want to tell, please at least say so ;)

  • 0

#11
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,225 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
xkonni, i'm hex editing atm because, as you noted, there's something strange. :)

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#12
xkonni

xkonni

    Enthusiast

  • Members
  • PipPipPip
  • 243 posts
  • Gender:Male
  • Location:Berlin
  • Devices:ville, vision, passion, dream
  • Twitter:@xkonni

xkonni, i'm hex editing atm because, as you noted, there's something strange. :)

P


ok awesome ;D i thought i just had it wrong and couldn't see it...
waiting patiently for updates ;)


  • 0

#13
&Midian&

&Midian&

    Newbie

  • Members
  • Pip
  • 6 posts
  • Gender:Male
  • Devices:HTC Desire, HTC One S
Mh strange, i got the S from Vodafone right now. So i was trying to unlock the bootloader, but i can not access the bootloader! volume down + power does not work.
it instantly shows the vodafone picture and started normally.

  • 0

#14
xkonni

xkonni

    Enthusiast

  • Members
  • PipPipPip
  • 243 posts
  • Gender:Male
  • Location:Berlin
  • Devices:ville, vision, passion, dream
  • Twitter:@xkonni

Mh strange, i got the S from Vodafone right now. So i was trying to unlock the bootloader, but i can not access the bootloader! volume down + power does not work.
it instantly shows the vodafone picture and started normally.


tried 'adb reboot bootloader'?
should work on a non-rooted/non-unlocked phone...

  • 1

#15
&Midian&

&Midian&

    Newbie

  • Members
  • Pip
  • 6 posts
  • Gender:Male
  • Devices:HTC Desire, HTC One S
omg i am so *****

Thanks dude :)

  • 0

#16
xkonni

xkonni

    Enthusiast

  • Members
  • PipPipPip
  • 243 posts
  • Gender:Male
  • Location:Berlin
  • Devices:ville, vision, passion, dream
  • Twitter:@xkonni

xkonni, i'm hex editing atm because, as you noted, there's something strange. :)

P


any news on that topic? ;)

  • 0

#17
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,225 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Nope, none, not a priority for me to sort atm!

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#18
mathis

mathis

    Newbie

  • Members
  • Pip
  • 1 posts
Maybe a short info on what needs to be hex edited? Some people would love to start porting CM to this device and this would help a lot!

  • 0

#19
xkonni

xkonni

    Enthusiast

  • Members
  • PipPipPip
  • 243 posts
  • Gender:Male
  • Location:Berlin
  • Devices:ville, vision, passion, dream
  • Twitter:@xkonni

  • 0

#20
Poag

Poag

    Newbie

  • Members
  • Pip
  • 13 posts
  • Gender:Male
  • Devices:HTC One S
  • Twitter:@Poag
Will this wipe the device?

I mean can i run this up, then jump into recovery and quickly backup the base HTC installation before everything goes bye bye :)

  • 0




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users