MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

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

61 posts in this topic

Posted · Report post

Tried on my mac but I need to use an RUU now as I got system UI crashed and constant reboots :(

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hey. I've a One X (Tegra 3) and i'm still S-ON and never used HTC Dev. I also use a Mac. So what will i have to do, and what can happen if it fails?

Is it save? (S-ON should protect me right?)

Can i loose all my installed settings/apps?

I'm only a bit carful because i love my OneX and i have not that much money to buy a new one.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hey. I've a One X (Tegra 3) and i'm still S-ON and never used HTC Dev. I also use a Mac. So what will i have to do, and what can happen if it fails?

Is it save? (S-ON should protect me right?)

Can i loose all my installed settings/apps?

I'm only a bit carful because i love my OneX and i have not that much money to buy a new one.

I lost my settings and apps because I did something wrong :P Im not 100% sure how to run the command on a mac.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Tried on my mac but I need to use an RUU now as I got system UI crashed and constant reboots :(

Edit the script and redo the final step. It's been interrupted.

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

what can happen if it fails?

In the first post of this thread:

You use this at your own risk! Worst case scenario, you'll have to reflash with a RUU (make sure you have one handy!

Can i loose all my installed settings/apps?

I'm pretty sure when you do an RUU you will lose your data as it does a complete restore, However I am not 100% on this as never had to use one yet.

0

Share this post


Link to post
Share on other sites

Posted · Report post

So, anyone with s-on and locked bootloader got it working?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thought this might help.

onex.png

The last two are the latter part of the script I ran seperatly, thought that might've helped.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

don't work on TMO Germany 1.28.111.10.


D:\Handy\HTC One X\root-one-x-tegra>adb kill-server

D:\Handy\HTC One X\root-one-x-tegra>adb wait-for-device

* daemon not running. starting it now *

* daemon started successfully *

D:\Handy\HTC One X\root-one-x-tegra>ECHO.


D:\Handy\HTC One X\root-one-x-tegra>echo HTC One X Tegra 3 Root Script by Paul O

'Brien- includes script from kennethpenn

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

D:\Handy\HTC One X\root-one-x-tegra>echo Follow paulobrien and modaco on Twitter

for more Android fun!

Follow paulobrien and modaco on Twitter for more Android fun!

D:\Handy\HTC One X\root-one-x-tegra>ECHO DON'T TOUCH THE DEVICE OR UNPLUG WHILE

ROOTING!

DON'T TOUCH THE DEVICE OR UNPLUG WHILE ROOTING!

D:\Handy\HTC One X\root-one-x-tegra>ECHO PUSH FILES

PUSH FILES

D:\Handy\HTC One X\root-one-x-tegra>adb push busybox /data/local/busybox

1106 KB/s (837916 bytes in 0.739s)

D:\Handy\HTC One X\root-one-x-tegra>adb push su /data/local/su

1703 KB/s (91980 bytes in 0.052s)

D:\Handy\HTC One X\root-one-x-tegra>adb push Superuser.apk /data/local/Superuser.apk

842 KB/s (570342 bytes in 0.661s)

D:\Handy\HTC One X\root-one-x-tegra>adb shell chmod 777 /data/local/busybox

D:\Handy\HTC One X\root-one-x-tegra>adb shell chmod 755 /data/local/su

D:\Handy\HTC One X\root-one-x-tegra>adb shell chmod 755 /data/local/Superuser.apk

D:\Handy\HTC One X\root-one-x-tegra>adb shell mv /data/tigps/aiding /data/tigps/aiding.old

D:\Handy\HTC One X\root-one-x-tegra>adb shell ln -s /data /data/tigps/aiding

D:\Handy\HTC One X\root-one-x-tegra>adb shell rm /data/local.prop  1>nul

D:\Handy\HTC One X\root-one-x-tegra>ECHO.


D:\Handy\HTC One X\root-one-x-tegra>ECHO REBOOT

REBOOT

D:\Handy\HTC One X\root-one-x-tegra>adb reboot

D:\Handy\HTC One X\root-one-x-tegra>adb wait-for-device

D:\Handy\HTC One X\root-one-x-tegra>adb shell "echo ro.kernel.qemu=1 > /data/local.prop"

D:\Handy\HTC One X\root-one-x-tegra>ECHO Reboot again... note that when device returns it may appear to be bootlooping, don't panic!

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

D:\Handy\HTC One X\root-one-x-tegra>adb reboot

D:\Handy\HTC One X\root-one-x-tegra>adb wait-for-device

D:\Handy\HTC One X\root-one-x-tegra>ECHO AGAIN!?

AGAIN!?

D:\Handy\HTC One X\root-one-x-tegra>adb shell "mount -wo remount rootfs /"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "mount -o remount,rw -t ext4 /dev/block/mmcblk0p12 /system"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "cat /data/local/busybox > /system/xbin/busybox"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "chmod 777 /system/xbin/busybox"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "/system/xbin/busybox --install -s /system/xbin"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "busybox cp /data/local/Superuser.apk /system/app/Superuser.apk"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "busybox cp /data/local/su /system/xbin/su"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "chown 0.0 /system/xbin/su"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "chmod 06755 /system/xbin/su"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "chmod 644 /system/app/Superuser.apk"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "rm /data/local.prop"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "rm /data/tigps/aiding"

D:\Handy\HTC One X\root-one-x-tegra>adb shell "mv /data/tigps/aiding.old /data/tigps/aiding"

D:\Handy\HTC One X\root-one-x-tegra>adb reboot

D:\Handy\HTC One X\root-one-x-tegra>

cheers

starbase64

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I have both S-on and locked bootloader, and unfortunately it didn't work.. :( And what is "/data/tigps/aiding" ? why not use the same (tmp) as the at&t hack? Wierd it works on that phone but not this one.. Or maybe it did in the first versions? I have FW 1.29.. Ans why is the partition table so different? :P p12 and p33? Sure it's a very different phone, but still.

Edit: I haven't read anything about the AT&T variant, but maybe the reason why this works is that it hasn't S-ON?

Edited by kruppin
0

Share this post


Link to post
Share on other sites

Posted · Report post

I tried and got this error rm failed for /data/local.prop, No such file or directory

0

Share this post


Link to post
Share on other sites

Posted · Report post

I tried and got this error rm failed for /data/local.prop, No such file or directory

That's expected.

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

That's expected.

P

Oh in that case it didn't work on a mac :( must have been just your S-OFF device. I used the command sh then chose the root-mac.sh file and got nothing.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Mr. O'Brien, what can I do to assist?

See a few posts back for full details.

Running everything manually on Ubuntu 12.04, via adb, I'm getting all files pushed but got issues with the fs:


sibbor@ubuntu:~$ adb shell "mount -wo remount rootfs /"

error: insufficient permissions for device

sibbor@ubuntu:~$ adb shell "cat /data/local/busybox > /system/xbin/busybox"

error: insufficient permissions for device

Edited by sibbor
0

Share this post


Link to post
Share on other sites

Posted · Report post

Looks like it's not gonna happen on s-on then... :-(

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

Operation not permitted on the remount. Anybody has a setuid root mount executable? Push that along with the other stuff and try remount with 1551 root mount? Just an idea. So close :) Or does push remove permission?

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

am I being dumb or is there code in init.rc that detects if adb is in root mode and resets the usb connection? it's about halfway down the file? or am I talking out of my butt (which is highly likely :) ) either that or it resetting to handle the new root instance of adb maybe?


# adbd on at boot in emulator

on property:ro.kernel.qemu=1

	start adbd

# This property trigger has added to imitiate the previous behavior of "adb root".

# The adb gadget driver used to reset the USB bus when the adbd daemon exited,

# and the host side adb relied on this behavior to force it to reconnect with the

# new adbd instance after init relaunches it. So now we force the USB bus to reset

# here when adbd sets the service.adb.root property to 1.  We also restart adbd here

# rather than waiting for init to notice its death and restarting it so the timing

# of USB resetting and adb restarting more closely matches the previous behavior.

on property:service.adb.root=1

	write /sys/class/android_usb/android0/enable 0

	restart adbd

	write /sys/class/android_usb/android0/enable 1

Edited by Namtaffy
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Dear Paul,

One x WWE @1.29

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

909 KB/s (837916 bytes in 0.900s)

781 KB/s (91980 bytes in 0.115s)

705 KB/s (570342 bytes in 0.789s)

REBOOT

Reboot again... note that when device returns it may appear to be bootlooping, d

on't panic!

AGAIN!?

C:\Users\FPC\Downloads\r3-root-one-x-tegra\root-one-x-tegra>

Ass you can see it pushes the files, but after that nothing...

I thought you where using the exploit, So what is the exploit?

after its rebooted I dont get Superuser..

Edited by Fstluxe
0

Share this post


Link to post
Share on other sites

Posted · Report post

Too bad. :( But why is it working on the S4 variant and not the tegra one? Wierd. Either they don't have "real" s-on, or maybe they want people to root (since at&t wont allow unlocking) so they can charge money to fix faulty devices through warranty. :P

0

Share this post


Link to post
Share on other sites

Posted · Report post

Dear Paul,

One x WWE @1.29

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

909 KB/s (837916 bytes in 0.900s)

781 KB/s (91980 bytes in 0.115s)

705 KB/s (570342 bytes in 0.789s)

REBOOT

Reboot again... note that when device returns it may appear to be bootlooping, d

on't panic!

AGAIN!?

C:\Users\FPC\Downloads\r3-root-one-x-tegra\root-one-x-tegra>

Ass you can see it pushes the files, but after that nothing...

I thought you where using the exploit, So what is the exploit?

after its rebooted I dont get Superuser..

I think the exploit is using a file with root permissions created in init.rc to push the property "ro.kernel.qemu=1" into local.prop so that adb has root access to run the rest of the script

0

Share this post


Link to post
Share on other sites

Posted · Report post

thats pretty gay..

0

Share this post


Link to post
Share on other sites

Posted · Report post

bat file manually execute command by command

after reboot

error at @adb shell "echo ro.kernel.qemu=1 > /data/local.prop" == Permissions denied

0

Share this post


Link to post
Share on other sites

Posted · Report post

Actually, I think it DOES work.. But after a real reboot it's gone again (s-on). I tried not removing the local.prop, and when I adb shell I get # and can mount system without problem. But with that local.prop there, the phone seems to restart as soon as it's booted. With S-ON I don't think this'll ever work. It's wierd it does on the AT&T variant.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Basically writing the local.prop gives you temproot, but makes the device think it's running in the emulator, which breaks all sort of stuff hence the reboots. The fipside is you have temproot, so hopefully you can remount /system rw and put permroot on.

S-ON, like we've seen in the past, seems to prevent writing to /system, so unfortunately that's a no-go. Very strange they didn't go that route on the AT&T One X but hey!

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

Don't worry guys, I got cotulla on this case to get the device S-off.

Within weeks we have a fully S-off device.

1

Share this post


Link to post
Share on other sites

Posted · Report post

Paul, will there ever be a way to unlock the bootloader without going through htcdev or am I just wainting for false hopes?

Also is the root without unlocked bootloader a total no go now in your opinion or do you think this also may be possible in future?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.