HTC One X forum
Find Your Forum
  
Welcome, Guest. Please login or register.
Did you miss your activation email?

News: Do you like HTC One X?      
Advanced search
Scratch-Proof your HTC One X                      Best Screen Protector for HTC One X Cheap Cell Phone Accessories
Pages: [1]
Print
Share this topic on AskShare this topic on BlinklistShare this topic on Del.icio.usShare this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on LiveShare this topic on MySpaceShare this topic on RedditShare this topic on SlashdotShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on YahooShare this topic on Google buzz
Author Topic: [Exclusive] How To Root The AT&T HTC One X On Version 1.85 (Or Earlier)  (Read 5478 times)
HTC One X
Administrator
Sr. Member
*****

Cookies 7
Offline Offline

Posts: 317

Thank You
-Given: 1
-Receive: 5



View Profile
« on: May 27, 2012, 08:25:18 AM »



Update: AT&T disabled the app install feature of the ready2go site around 4:45pm May 25th, thus breaking this. Unless they reenable it, no reason to try this anymore.

Congrats to those that got root out of it, sorry to those that didn't. Will continue research on another one.


Please do not repost this or include it in a script. Timing is critical, putting it in a script will actually make it more of a pain, and may move discussion away from this thread.

This is for the AT&T variation only.

If you would found this exploit useful, and would like to donate the "omg Get jcase an HTC One X fund" please click -> http://kan.gd/1l7q

Required file:

su

First, ensure the "/data/install" directory exists, by using AT&t Ready2Go to download and install any app, then uninstall the app.

Next, pick an app that we know the file name of, in our case we used "AT&T Mark the Spot" and setup a symlink from that app's file name to local.prop

Quote
adb shell ln -s /data/local.prop /data/install/com.att.android.markthespot.apk


Now comes the timing critical part, you have to use ATT Ready2Go to Download "AT&T Mark the Spot", and interrupt the install process right after the download has finished. Easiest way is to reboot the device, but we have found other ways to do it.

Quote
adb reboot


One rebooted, we try and set the property allowing us to get root. If you get permission denied, then the timing was off (or if you are reading this in the future, it may have been patched) and start over.

a
Quote
db shell "echo 'ro.kernel.qemu=1' > /data/local.prop"
adb reboot


One rebooted, adb will run as root, and now it is time to install su.

Quote
adb shell mount -o remount,rw /system
adb push su /system/xbin/su
adb shell chown 0.0 /system/xbin/su
adb shell chmod 06755 /system/xbin/su
adb shell rm /data/install/*
adb shell rm /data/local.prop
adb reboot

Once rebooted, install the Superuser app from the market. If you want to unlock your boot loader after rooting, follow this thread.

Pro Tip

Quote
Here's the way I did it back when I did it:

Open 2 cmd windows

adb devices on both (to make sure daemon is running)

In first shell type adb reboot but do not execute (obviously!)

In second window, cd /data/install

Enter ls -l

Now tell Ready2Go to install.

In that second window SPAM "up arrow - enter" to repeatedly execute ls -l. Observe the .apk file growing in size. When it stops growing it's probably done downloading (I think it was around 5MB but it's been a while). Go back to that first window IMMEDIATELY and hit enter on that adb reboot you typed in. It's a small apk so you need to be fast.

This was my method. Hopefully it works for you! Smiley


The Common Vulnerabilities and Exposures (CVE) project has assigned
the name CVE-2012-2933 to this issue. This is a candidate for
inclusion in the CVE list (http://cve.mitre.org), which standardizes
names for security problems.
Best Screen Protector
sandding
Newbie
*

Cookies 0
Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #1 on: August 17, 2014, 10:13:27 PM »


Post this great urge toward it steadily.
Best Screen Protector
Rabrineszta
Newbie
*

Cookies 0
Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #2 on: October 31, 2014, 07:48:16 AM »

Then I got to do it.
Best Screen Protector
evielearny
Newbie
*

Cookies 0
Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #3 on: July 14, 2015, 01:37:04 AM »


This knowledge of many thanks. It is a good knowledge There is also a need to take it very seriously.
Best Screen Protector
Sutienun
Newbie
*

Cookies 0
Offline Offline

Posts: 3

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #4 on: March 28, 2017, 11:38:41 PM »

I understand, and it must be.
Best Screen Protector
Pages: [1]
Print

Jump to:  

Got a new phone? Find the forum here


Related Topics
Subject Started by Replies Views Last post
Removing or adding Favorite Places in Google Maps In Layers Version 4.4.0
HTC One X Apps
toulie1 6 4480 Last post October 22, 2010, 11:36:42 AM
by toulie1
SMF VERSION
Announcements
VonStarkeGSD 0 3266 Last post October 03, 2011, 10:10:05 AM
by VonStarkeGSD




Thanks for visiting HTC One X Forum Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Sitemap