Jump to content

TESTING: Rooting your One X without unlocking the bootloader (Windows / Mac / Linux)


Guest PaulOBrien

Recommended Posts

Guest PaulOBrien

In light of kennethpenn's little exploit for the AT&T One X, I figured it was probably about time I looked for the same sort of solution for the Tegra 3 One X.

This is a good root technique that a lot of vendors seem to miss, i've rooted a bunch of devices this way (including the Huawei G300, various Archos devices of old etc. etc.) but in the past it's been only of limited use on HTC devices due to their S-ON partition locking.

Sooooo... I found an exploit and i've packaged it up. It works on my bootloader LOCKED device, but I do have S-OFF, so it's hard for me to test properly. I've also only tested the script on Mac at this time.

To use, download the zip file below, extract and run the appropriate script for your platform. You use this at your own risk! Worst case scenario, you'll have to reflash with a RUU (make sure you have one handy!)

Let me know how you get on so I can update this post! :)

P

PS If you go and post this on another site, don't be a douche - link back to this topic and don't re-host the file. Thanks.

Link to comment
Share on other sites

Guest SozzaSinnian

Didn't work for me :(

Phone rebooted a few times. I installed SU from Market but still no go :(

R3 Version.

Link to comment
Share on other sites

Guest PaulOBrien

Didn't work for me :(

Phone rebooted a few times. I installed SU from Market but still no go :(

R3 Version.

Windows, Mac or Linux?

P

Link to comment
Share on other sites

HTC One X tegra 3, tried R3 version on a windows pc. Just like sozza, rebooted a few times but then nothing. Installed SU & Busy Box from market, but SU cannot update binaries & Busy Box is not allowed root access.

Edit: S-On HOX never been HTCDev unlocked.

Edited by Guest
Link to comment
Share on other sites

Guest jeckyllhavok

Hi paul, I'm on windows / HTC One X Tegra locked and stock, script runs and phone reboots, but i got no superuser app

Link to comment
Share on other sites

Guest PaulOBrien

If someone can test on Mac and Linux that will tell us if it's the script or the S-ON causing an issue. :)

P

Link to comment
Share on other sites

Guest jeckyllhavok

but the script goes through, i put a blabla at the end of the script and it tells me after the third reboot command blabla not found

Link to comment
Share on other sites

Guest duderuud

Mac:

Push files

* daemon not running. starting it now *

* daemon started successfully *

1219 KB/s (837916 bytes in 0.670s)

1106 KB/s (91980 bytes in 0.081s)

1235 KB/s (570342 bytes in 0.450s)

rm: can't remove '/data/local.prop': No such file or directory

Reboot

Phone reboots a couple of times....

I shut down the phone, enter HBOOT but phone is still S-ON.

(Already rooted HOX with Leedroid ROM)

Edited by duderuud
Link to comment
Share on other sites

Guest SozzaSinnian

Ubuntu 12.04


ubuntu@ubuntu:~/Desktop/root-one-x-tegra$ sh root-linux.sh

HTC One X Tegra 3 Root Script by Paul O'Brien- includes script from kennethpenn

Follow @paulobrien and @modaco on Twitter for more Android fun!

Don't touch the device or unplug while rooting!

Push files

* daemon not running. starting it now *

* daemon started successfully *

Been waiting about 10mins, still nothing, just hanging there :(

Link to comment
Share on other sites

Guest PaulOBrien

Mac:

Phone reboots a couple of times....

(Already rooted HOX with Leedroid ROM)

Yeah, that is expected.

Ubuntu 12.04


ubuntu@ubuntu:~/Desktop/root-one-x-tegra$ sh root-linux.sh
HTC One X Tegra 3 Root Script by Paul O'Brien- includes script from kennethpenn
Follow @paulobrien and @modaco on Twitter for more Android fun!
Don't touch the device or unplug while rooting!
Push files
* daemon not running. starting it now *
* daemon started successfully *
[/CODE]

Been waiting about 10mins, still nothing, just hanging there :(

Driver issue? USB debugging enabled?

P

Link to comment
Share on other sites

Guest jeckyllhavok

Yeah, that is expected.

Driver issue? USB debugging enabled?

P

SozzaSinian, is there another adb app that prevents the daemon from starting, got something like that in the past du to the HTC sync app

Link to comment
Share on other sites

Guest duderuud

Paul, see my edit...still S-ON.

Should the phone be S-OFF now or just rooted? Last one is difficult to test because phone is already rooted...

Link to comment
Share on other sites

Guest SozzaSinnian

Not sure about driver issue as never installed HTC Sync for linux so may be. USB Debugging is definately enabled though. Will look for HTC Sync for Linux and report back ;)

Link to comment
Share on other sites

Guest PaulOBrien

Paul, see my edit...still S-ON.

Should the phone be S-OFF now or just rooted? Last one is difficult to test because phone is already rooted...

We're testing a root here not S-OFF.

Not sure about driver issue as never installed HTC Sync for linux so may be. USB Debugging is definately enabled though. Will look for HTC Sync for Linux and report back ;)

It should just work I think, but...

P

Link to comment
Share on other sites

Guest abc27

Paul, see my edit...still S-ON.

Should the phone be S-OFF now or just rooted? Last one is difficult to test because phone is already rooted...

It's highly unlikely that an exploit that works using ADB is going to get you S-OFF.

Link to comment
Share on other sites

Guest SozzaSinnian

It should just work I think, but...

P

Yeah thats what I thought.

Doesn't seem to be a HTC Sync for Linux :'(

Link to comment
Share on other sites

Guest sibbor

Doesn't work: S-Off, locked bootloader, unrooted, 1.29 stock ROM.

I've got the Android SDK installed, so made some changes to root-linux.sh. I can't get it to work though:

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

cannot stat 'busybox': No such file or directory

cannot stat 'su': No such file or directory

cannot stat 'Superuser.apk': No such file or directory

Unable to chmod /data/local/busybox: No such file or directory

Unable to chmod /data/local/su: No such file or directory

Unable to chmod /data/local/Superuser.apk: No such file or directory

rm failed for /data/local.prop, No such file or directory

Reboot

Reboot again... note that when device returns it may appear to be bootlooping, don't panic!

/data/local/busybox: No such file or directory

Unable to chmod /system/xbin/su: No such file or directory

Unable to chmod /system/xbin/su: No such file or directory

Unable to chmod /system/app/Superuser.apk: No such file or directory

Reboot one last time...
SLIGHTLY OFF-TOPIC: My adb broke since upgrading to Ubuntu 12.04, and this is how I fixed it:
sibbor@ubuntu:~$ adb devices

List of devices attached

???????????? no permission
1. Create the file:

/etc/udev/rules.d/51-android.rules


2. Add the following line to the file:

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"


3. Restart udev service:

sudo service udev restart
sibbor@ubuntu:~$ adb devices

List of devices attached

HT23ZW100391 device

Edited by sibbor
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.