yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers HTC One X, Telstra One XL] Ineloquucius:
Little help? on 1.85. but can't get past "'/data/local/tmp' - Permission denied" 7

Could really use some help; I've set the date forward (once only...do I need to set it yet 2 days further with each reboot), and rebooted several times but keep getting the error below. Am I missing something. The instructions just say to run the .bat with the phone in debug (I can see the debug icon in the tray, as well as in the config option).

failed on '/data/local/tmp' - Permission denied
link failed File exists

REBOOT
/system/bin/sh: cannot create /data/local.prop: Permission denied
AGAIN REBOOT
AGAIN!?
mount: Operation not permitted
mount: Operation not permitted
/system/bin/sh: cannot create /system/xbin/busybox: Read-only file system
Unable to chmod /system/xbin/busybox: Read-only file system
cp: can't create '/system/app/Superuser.apk': File exists
cp: can't create '/system/xbin/su': File exists
Unable to chmod /system/xbin/su: Read-only file system
Unable to chmod /system/xbin/su: Read-only file system
Unable to chmod /system/app/Superuser.apk: Read-only file system
rm failed for /data/local.prop, No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on '/data/local/tmp.bak' - No such file or directory

Happy to provide any other details.
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
Did u extract? Ive always had to run the script twice? First time installed super su, second time installed the binaries.

Sent from my HTC One X using Xparent SkyBlue Tapatalk 2
[AT&T, Rogers HTC One X, Telstra One XL] Ineloquucius:
I did, and ran root.bat. This was rooted shortly after buying in early May, and at some point no longer was.
[AT&T, Rogers HTC One X, Telstra One XL] techpastor:
confirmed one click root exploit by beaups still working

just rooted! very happy. was a little concerned with the recent posts about at&t rolling out the ota but i decided to try anyway cause i was sick of being forced to use LTE and having the huge battery drain. anyway the expoit worked beautifully although i did initially set the time forward by 2 days and ran the expoit but the su binaries didn't come through so i set the clock forward by another 4 or 5 days and ran the script again and lo and behold! i have root access. just gave root access to wifikill and a few other apps.

perhaps its because of my location, i'm in the dfw metroplex area of texas. maybe the ota hasn't made it to my area or something. anyway just wanted to share the good news with others in the dfw area.
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
Sweet. Ya, we believe the update is being pushed in bundles. So u sir, must have been one of the lucky few! Now go unlock your bootloader, and save your unlocktolen!!! U will need it again. Lol
[AT&T, Rogers HTC One X, Telstra One XL] :
I can't get my phone rooted. Just got the One X today. if it helps here is my fastboot screen

*** LOCKED ***

EVITA PVT SHIP S-ON RL

HBOOT-1.09.0000

RADIO-0.17.32.09.12

OpenDSP-v28.1.0.32.0504

eMMC-boot

Apr 2 2012,21:08:24

Android version

4.0.3

HTC Sense version

4.0

Software number

1.85.502.3 710RD
[AT&T, Rogers HTC One X, Telstra One XL] gunnyman:
Sadly because of the OTA, the exploit is closed.
[AT&T, Rogers HTC One X, Telstra One XL] :
I thought the software version being 1.85 means i can root it?
[AT&T, Rogers HTC One X, Telstra One XL] gunnyman:
the exploit requires you to initiate a software update, since there's an OTA out there, it no longer works.
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
That's not the case.

The initiation of the software update will still allow this exploit to work. (just don't finish updating, etc.)
[AT&T, Rogers HTC One X, Telstra One XL] gunnyman:
Oh ok that's awesome. I was just reporting what I read about others saying it failed.

At least there's SOME good news.
[AT&T, Rogers HTC One X, Telstra One XL] RussianMenace:
Ok, anything special needs to be done to disallow the update to "finish"? I will be trying to root my GFs HOX later tonight, she got her phone few weeks ago running 1.85 and she said she started to get the notification to update today, I told her not to.

So as I understand, we are still in the clear for this root method? Anything extra I should pay attention to because of the lingering update?

EDIT: No dice, hit check for updates but nothing happens and the script just sits at Waiting for reboot. Tried pushing the date forward 4 times now (Aug 17th now) and on WiFi. First time I tried it, it actually started to DL the update...but nothing popped up on the script.

EDIT #2: Hitting Check Updates does nothing, doesnt start the download process nor does it show the message saying there is no update. Just nada. :( Guess I'll try again tomorrow.
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
Ya wait for the update to finish downloading, then rerun the script. After u set date ahead.....and reboot.
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
That is great news.
[AT&T, Rogers HTC One X, Telstra One XL] ThePhoneGeek:
Yeah no dice, was working on my wife's as I got lazy and hadn't rooted hers yet. I was gone all week and she kept postponing the update and was on the last postponement when I tried to root and it started the update so I am hosed on this device until someone finds out how to break it...
[AT&T, Rogers HTC One X, Telstra One XL] dvirring:
I ran the method 3 times and BOOM!!!!! I'm rooted even with the OTA about 4.0.4 STICK IT AT&T

Seriously boys the method worked on mine. Phone rebooted about 3 times and then I checked in the market with root checker!

It still works. I connected to wi-fi and then clicked the check for At&T updates. Process took over from there. Run it a few times as thats what I did.

ROOT CONFIRMED!!!

---------- Post added at 07:52 PM ---------- Previous post was at 07:48 PM ----------

Now just to get the damn bootloader unlocked! Try the method it worked for me to get root still so its open still this method for root.
[AT&T, Rogers HTC One X, Telstra One XL] ThePhoneGeek:
Ok so after it loaded the new update I made three attempts, moving the date each time with the results posted below. Looks like those of us that had the update load are out of luck for now... Hope all the smart people here break this one soon...

Exploit by beaups, script by designgears

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

* daemon started successfully *

32 KB/s (334 bytes in 0.010s)

Go to Settings, ATT Software update, check for updates.

Waiting for device to Reboot...

/data/local/tmp/magic.sh[15]: cannot create /data/local.prop: Permission denied

/data/local.prop was created, looking good.

remount failed: Operation not permitted

failed to copy 'su' to '/system/xbin/su': Read-only file system

failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system

rm failed for /system/app/Superuser.apk, No such file or directory

4004 KB/s (574184 bytes in 0.140s)

Error: Could not access the Package Manager. Is the system running?

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/xbin/busybox: No such file or directory

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

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

/system/bin/sh: /system/xbin/busybox: not found

rm failed for /data/local.prop, Permission denied

Done! Rebooting...

Press any key to continue . . .
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
Awesome!!! Ya when i did it, it pushed super su, but wouldnt push binaries!! This is awesome news!!!!!!!!!!!!!!!!
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
Not so fast, look above, he sayin even after the update, he got root! However.....the new hboot still gonna cause us problems!
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
The new hboot wont allow flashing, at least kernels anyways. When i flash a rom, once it gets to installing the boot, or restoring from a backup, once it gets to boot, it takes FOREVER........then says successfull. But its not, its the same kernel. If that makes sense?
[AT&T, Rogers HTC One X, Telstra One XL] ThePhoneGeek:
I realize that's what was said but I am not seeing it after trying it three times...

I double checked with root checker and no go...

MG
[AT&T, Rogers HTC One X, Telstra One XL] wdkingery:
yeah it looks like i got boned too.. trying to "check for updates" does infact check for updates and .. well updates. i've left the "waiting for reboot" as the phone is applying the OTA. going to wait and see what it does. probably gets denied.

EDIT: denied. it now will not allow me to check for updates for another 23 hours and 59 minutes.
[AT&T, Rogers HTC One X, Telstra One XL] superchilpil:
So can anyone give clear instructions on how to root 1.85

Some say let it download and run the script before it finishes, is this the case?

I'm about to test this out on my father's phone
[AT&T, Rogers HTC One X, Telstra One XL] caskla:
Some people on another thread told me that they thought something had got wrong when I rooted and that was why I couldn't flash any roms. They said I could fix it by "running through some of those root steps again." So when I asked "how can I run through the root steps again?" someone else told me to go here. So how can I run through the root steps again? Should I just rerun the root.bat?
[AT&T, Rogers HTC One X, Telstra One XL] superchilpil:
Found a clear cut method to root those who are still on the 1.85 update!!!!!!!!

1. Factory reset... I know it sucks but rooting has its costs

2. Run through setup and enable USB debugging

3. Run the root script and check for updates (it starts to check but the script kicks in)

It may fail the first time but just let it reboot and try again

If it doesn't work and it starts downloading the update then change your date with the root script running, it will give you and error about the update server and the root script will take over
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
I just run it twice. Always works for me.
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
Ok, ummm.....i sent a script to the op, hes working on a new method. Just stay calm...lol, your time will come. ;)
[AT&T, Rogers HTC One X, Telstra One XL] danger355:
fwiw, that's exactly what I kept getting every time I tried using one of the 'one-click' rooting methods. (I think there's a couple out there)

most didn't work no matter how many times i tried - I would get exactly what you put above. others would appear to work, but a check with a root-checker app said this was not the case.

so I found another post that had manual instructions (check one of my posts earlier in this thread for a link). this one worked the first time.

keep in mind that I rooted my phone before the 2.20 update was available... but if it's still unavailable to you right now there may be a chance for you to gain root
[AT&T, Rogers HTC One X, Telstra One XL] ThePhoneGeek:
At this point the OTA has been run so I am going to have to wait and hopefully someone will find a root method for 2.20...

Thanks everyone!!!!

MG
[AT&T, Rogers HTC One X, Telstra One XL] RussianMenace:
So has anyone successfully rooted 1.85 (using this method) since 2.20 OTA notification showed up?
[AT&T, Rogers HTC One X, Telstra One XL] mounttimp:
Yes it worked for two phones last night thanks to superchilpil ...;)
[AT&T, Rogers HTC One X, Telstra One XL] JCon0320:
I tried this and I cant seem to get it to work. it downloads the update everytime, and changing the date won't stop the download. I have already factory reset twice because for some reason the download completes even if I turn off wifi immediately. Somehow, it worked once, but the script only pushed su and not the binaries. Under normal circumstances, trying again is easy. however, I can't make the script run everytime without downloading the update. I am trying to root my brother's phone. My phone is already rooted way back then using this same method so I know this works. It's just the new update that makes this process a little tricky. any help?
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
Try the manual method. It's probably much safer now that there's an actual ota.
[AT&T, Rogers HTC One X, Telstra One XL] aimetti:
anyone try this recently?

i hit check for update and does nothing at all.
[AT&T, Rogers HTC One X, Telstra One XL] TheLlamaGod:
yes do the manual method. tried the script several times and no go. manual worked first try. very easy to do and I barely know how to use adb
[AT&T, Rogers HTC One X, Telstra One XL] wdkingery:
That's a good thing. Use it to yer advantage. Run this root. Bat 3 or 4 times and you will get what you are after
[AT&T, Rogers HTC One X, Telstra One XL] aimetti:
Tried many times , unfortunately it started downloading the update from att. factory reset

trying again
[AT&T, Rogers HTC One X, Telstra One XL] wdkingery:
Wish I was as bright as you
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
So the manual method still works then? What about unlocking on the new hboot? Anyone try that yet?

edit......was kidding, but no one caught it lol!
[AT&T, Rogers HTC One X, Telstra One XL] aimetti:
Didn't work at all for my brother. Lol sucks for him. Tried multiple times. Factory resets etc. Tried manual pushing and .bat always found normal 2.20 update instead.
[AT&T, Rogers HTC One X, Telstra One XL] damagecase13:
I keep getting this error

"rm failed for /data/data/com.redbend.vdmc/lib/libvd*, No such file or directory

link failed No such file or directory"

Firewalls off, ports open, on a rogers one xl with the 1.94 update.

Can anyone help? Would it be because of the update on?
[AT&T, Rogers HTC One X, Telstra One XL] surge27:
I did the factory reset but the key is to make sure you don't auto check for updates

Didn't work and couldn't do the manual version because I can't access dab for some reason????
[AT&T, Rogers HTC One X, Telstra One XL] ckombo:
This is for AT&T:

Start with a factory reset

Run the BAT file

Check for updates (it will find the update and phone will not restart)

Add two days to the date

Should kill the update

Check for update again

If it doesn't take at this point, then close script window and reboot phone.

Just keep adding days and checking for updates and running the bat file.

I had to go to 8/22 to finally get it to take.
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
you mean adb?
[AT&T, Rogers HTC One X, Telstra One XL] superchilpil:
I posted a method a few posts behind yours.... Not trying to be rude but its not hard to read
[AT&T, Rogers HTC One X, Telstra One XL] surge27:
Ok....did everything above except adding days. I will try that when I get home
[AT&T, Rogers HTC One X, Telstra One XL] surge27:
Ya....spellcheck

---------- Post added at 09:19 PM ---------- Previous post was at 08:23 PM ----------

IT WORKED!!!!! Thanks! Whew.....started to lose hope and 4.0.4 update almost got me
[AT&T, Rogers HTC One X, Telstra One XL] RussianMenace:
Heh, sorry, I had just finished a 12 hour shift and wasn't firing on all cylinders. :good:

In other news, we are now rooted, unlocked and running TWRP. Thanks for the help bud.
[AT&T, Rogers HTC One X, Telstra One XL] caskla:
So would you suggest for me to do the same thing? Unroot, then reroot manually?
[AT&T, Rogers HTC One X, Telstra One XL] superchilpil:
It's all good, I work those a lot so I know the feeling
[AT&T, Rogers HTC One X, Telstra One XL] nhshah7:
Waaaait - so you rooted on 1.85 and used OTA rootkeeper to preserve root? Or did this method work on 2.20??? If so, I'm running to my computer to root this bamf phone asap

I got suckered into updating because I didn't think to factory reset so now I'm sitting and waiting! Hope we have an exploit soon :-/
[AT&T, Rogers HTC One X, Telstra One XL] XNine:
Hmmm... Something curious with the OTA 2.20. When I tried updating SU binaries in Superuser, it could not gain root access after DL'ing the new binaries.

However, If I go into OTA RootKeeper, and hit the Restore Root button ONCE, it says "Root SU Resotred."

I then go back to Superuser, and it installs the Superuser binaries just fine after that...

After that I run the ADB shell, then the Root. Root stops after "daemon started successfully." Which is odd, because without doing the steps above, it will either fail to find "rm" or will go further than that, even into rebooting the phone, then failing to copy files over.... Hmmmm...

Edit: Just tried switching USB ports to the USB3, and everything goes well until the reboot, then it can't chmod any of the directories and fails to root.
[AT&T, Rogers HTC One X, Telstra One XL] dan09wrx:
I got my new AT&T HTC One X last thursday in the mail. Avoided the OTA until a friend of mine took a look at my phone for 1 second and he accepts the OTA for me. GRRRR..... so with 2.20 i was not able to root at all. So today i went to an AT&T store and got an exchange :) got one with 1.85 and lo and behold :) Root success :) :) Thanks Beaups!!! took more than a couple of times but i got it :)
[AT&T, Rogers HTC One X, Telstra One XL] aooga:
Ive run it over 10 times now. I hate you. :)
[AT&T, Rogers HTC One X, Telstra One XL] dan09wrx:
honestly ... try another USB port!... it worked for me!
[AT&T, Rogers HTC One X, Telstra One XL] aooga:
I'm guessing you didn't get this:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
10 KB/s (334 bytes in 0.031s)
rm failed for /data/data/com.redbend.vdmc/lib/libvd*, No such file or directory

Go to Settings, ATT Software update, check for updates.

Waiting for device to Reboot...
/data/local/tmp/magic.sh[15]: cannot create /data/local.prop: Permission denied
/data/local.prop was created, looking good.
remount failed: Operation not permitted
failed to copy 'su' to '/system/xbin/su': Read-only file system
failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system
rm failed for /system/app/Superuser.apk, No such file or directory
2764 KB/s (574184 bytes in 0.202s)
Error: Could not access the Package Manager. Is the system running?
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/xbin/busybox: No such file or directory
Unable to chmod /system/xbin/busybox: No such file or directory
Unable to chmod /system/app/Superuser.apk: No such file or directory
/system/bin/sh: /system/xbin/busybox: not found
rm failed for /data/local.prop, Permission denied
Done! Rebooting...
Press any key to continue . . .

the REMOUNT is the one thats screwing this up now..it can only access the data partition so it installes superuser.apk but not the binaries

---------- Post added at 12:46 AM ---------- Previous post was at 12:30 AM ----------

I went so far in the dates that its now december...thats how many times i did it.
[AT&T, Rogers HTC One X, Telstra One XL] Promo76:
I have an ATT HTC ONE X and I got the update as well, however I postponed it until it told me it was the last time. Finally 8 hours later it came up with the update screen and the only option was to press next. Instead of pressing next I presssed the back key and it took me to the home screen. I am still on 1.85. I don't understand how some of you were forced to update.

Hopefully somebody is working on a root method for 2.20 and it will be available soon. Until then, everytime you get the update screen, just press the back key on your phone. It is an annoying solution, but it is better then not having root access.
[AT&T, Rogers HTC One X, Telstra One XL] dan09wrx:
nope... mine finished root and i was able to unlock bootloader completely :) also just loaded my first rom.
[AT&T, Rogers HTC One X, Telstra One XL] XNine:
You were on 1.85 though when you did this, not 2.2
[AT&T, Rogers HTC One X, Telstra One XL] dan09wrx:
do a factory reset and do everything over again. step by step!
[AT&T, Rogers HTC One X, Telstra One XL] XNine:
A factory reset on 2.20 will not revert back to 1.85.
[AT&T, Rogers HTC One X, Telstra One XL] dan09wrx:
bah.... i tried to reply back sooner... yes i know. But I never said I rooted and unlocked in 2.2. I said i did it in 1.85.
[AT&T, Rogers HTC One X, Telstra One XL] dvirring:
Hey boys I swear it worked for me..... In about 20 mins I rooted and unlocked the bootloader and installed touch recovery.

I wasted over an hour deciding on which rom I wanted.

But seriously the processes worked for me even with that 2.20 update present.

I will post some pics when I get a chance!
[AT&T, Rogers HTC One X, Telstra One XL] nhshah7:
@dvirring, seriously?? HOW did it not error out on you? Did you already have root before the OTA?

mannnn i hate being locked down. damn you ATT!
[AT&T, Rogers HTC One X, Telstra One XL] aooga:
No I believe you but I just can't get it to work...
[AT&T, Rogers HTC One X, Telstra One XL] rayoubi:
when i did system upgrade it says that i have a "variant system version" and it cant proceed the update. Im still trying to root my phone after i had just installed a fresh 1.85 ruu onto my phone..is something wrong with the RUU that i downloaded? Any help would be great.
[AT&T, Rogers HTC One X, Telstra One XL] rohanjain91:
hey thanx for all the info //
[AT&T, Rogers HTC One X, Telstra One XL] jhnstn00:
No go here. On 2.2 trying to root but no success. Tried at least 30 times.

Sounds like only one person was able to get 2.2 rooted?

Gonna enjoy the update till root is available
[AT&T, Rogers HTC One X, Telstra One XL] mjwitt2:
Broken Root

The software update root hack is broken with the latest OTA update. As others have reported, I can't get it to work either. I'm not too bummed out about itthough. I like the stock ROM.
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
It's not broken. If you are on 1.85 still, the exploit still works. If you are on 2.20, yes, you are SOL for now.
[AT&T, Rogers HTC One X, Telstra One XL] :
got my OX friday, it was screwed up, bad wifi. Tried to root it, no success, it updated to 2.20

Good news for me, though. Got my new one today, working fine, came as 1.85

I began to do your steps.

Here's what worked for me, because I didn't even get to set the date, it just worked

1. Plugged phone into BACK USB port

2. Factory Reset

3. Enable USB Debugging

4. Run the script

5. Start the check for updates

6. Phone should restart without anything else

7. Let it do its thing. It may restart about 2-3 times

8. You should have SuperSU installed when it's finished.

edit: I don't actually think it rooted. Picture below

edit2: This method still works. just have to be on 1.85, bootloader unlocked as well.
[AT&T, Rogers HTC One X, Telstra One XL] XNine:
Think I'm gonna takemy one x in and tell them 2.2 screwed my reception at home and ask for one without the update.
[AT&T, Rogers HTC One X, Telstra One XL] RussianMenace:
Looks like it did. Download titanium backup free from the market and see if it takes root.
[AT&T, Rogers HTC One X, Telstra One XL] :
Titanium asked for root, and root was granted. Thanks
[AT&T, Rogers HTC One X, Telstra One XL] Ineloquucius:
So I bit the bullet, and RUU'ed my 1.85 phone to 1.85 again. I had to do this because it was rooted once (maybe at 1.73?), and now was not. Done. Then I followed the directions precisely:

" Go to Settings, ATT Software update, check for updates."

Done. But then what? Of course there were updates...2.20 as everyone has discussed. So my phone was only to happy to go ahead and download it. Now I have 2.20 and I can't RUU back, which means I can't root.

Awesome.
[AT&T, Rogers HTC One X, Telstra One XL] :
you should have updated to 1.85 then

Factory Reset :\
[AT&T, Rogers HTC One X, Telstra One XL] rayoubi:
just making sure is the software upgrade message i keep getting the 2.20 update? i always press back to ignore it
[AT&T, Rogers HTC One X, Telstra One XL] Ineloquucius:
Yes! Keep ignoring.

---------- Post added at 11:42 PM ---------- Previous post was at 11:37 PM ----------

Anyone know if it's possible to revert back from 2.20? When I run the RUU utility it just closes immediately after the first progress bar completes.

Wow...don't remember hearing about the factory reset tip anywhere. Advice to others would be to use the manual method.