yashsingh1/xdaforums huggingface dataset:
[Asus  Eee Pad Transformer Prime] Kevincod:
Damn I read about this exploit last night and decided to take the morning off to apply it to the Prime - seems like someone beat me to it.

Anyway the exploit works fine, if you have no understanding of adb/Unix stay far away from it till someone makes a one-click root tool.
[Asus  Eee Pad Transformer Prime] Tairen:
only options i see are force stop and disable, and of course clear data and cache.
[Asus  Eee Pad Transformer Prime] se1000:
if you type su and you're not getting #, then something is going wrong. I'll PM you.
[Asus  Eee Pad Transformer Prime] Walter00:
I had the same problem, believe something went wrong with 'adb rm /data/local/su'

su is a system app now.

Go to apps, stop and clear superuser, restart.

It worked for me.

Thanks...:D
[Asus  Eee Pad Transformer Prime] toby77jo:
yuppie kay yey, the newbie is now ROOT .. thanks a lot for this post.. i was not offended but did not give up .. just missed some android sdk and **** and now i am root again
[Asus  Eee Pad Transformer Prime] Tairen:
restart as in..restart the prime? i'll give it a try

just did what you said, didnt work :(
[Asus  Eee Pad Transformer Prime] thephoenixvampire:
Worked Great!! Thanks!

just wondering though...shouldn't this:

adb rm /data/local/mempodroid

adb rm /data/local/su

be this?

adb shell rm /data/local/mempodroid

adb shell rm /data/local/su

as rm is a linux shell cmd?
[Asus  Eee Pad Transformer Prime] se1000:
right. going to go fix it now, although, it shouldn't really matter it's just cleaning up the files
[Asus  Eee Pad Transformer Prime] Walter00:
Superuser is still uninstallable.
[Asus  Eee Pad Transformer Prime] adiliyo:
mine gave me an error when i tried the rm commands as well, what i did was:

adb shell

cd /data/locak

rm mempodroid

rm su

exit

adb reboot

mine seems to be working fine with root access.

thanks OP! :D
[Asus  Eee Pad Transformer Prime] Tairen:
edit: removed pic
[Asus  Eee Pad Transformer Prime] Q80:
Worked well!

Thanks a lot!
[Asus  Eee Pad Transformer Prime] se1000:
Nice. Now if I can just get Tairen to work, I can try to get a wink of sleep before work.
[Asus  Eee Pad Transformer Prime] Tairen:
hey man it's alright, everyone got theirs working except me, so it must be my Prime. get some shut-eye, i'll wait for viperboy's one click :)
[Asus  Eee Pad Transformer Prime] newellj79:
Worked awesome! Thanks friend. Been waiting for this!
[Asus  Eee Pad Transformer Prime] FrameCityJackal:
Ahhhh I love the smell of ADB command prompts in the morning!!!!!

Thanks guys for finding this exploit. I'm just going to wait for a OCR I haven't slept yet to be pushing commands lol
[Asus  Eee Pad Transformer Prime] eckiebd:
not working here either, even though i had no errors and warnings, SU does not give any permissions to any app (cannot uninstall, did the force-stop, clear, reboot, cannot reinstall) - so you are not the only one ....
[Asus  Eee Pad Transformer Prime] Tairen:
yea bummer for us. strange how these things work huh? everyone had root, lost it, have the same firmware version, but it works for some and not for others. oh well, it's not the end of the world, i'm sure the devs are aware of it and will probably have a fix for our problem as well.
[Asus  Eee Pad Transformer Prime] eckiebd:
yep, my own stupidity for not backing up the root before the OTA, so have to wait now for some of the geniusses to provide a solution for dummies like me :)
[Asus  Eee Pad Transformer Prime] lilstevie:
you forgot to mention alpharevx who actually put the effort in to confirm it was working, and finding the offsets required for mempodroid.

also.

adb push mempodroid /data/local
adb push su /data/local
adb shell chmod 777 /data/local/mempodroid
adb shell /data/local/mempodroid 0xd9ec 0xaf47 mount -o remount,rw '' /system
adb shell
/data/local/mempodroid 0xd9ec 0xaf47 sh

could be done as

adb push mempodroid /data/local
adb push su /data/local
adb shell chmod 777 /data/local/mempodroid
adb shell
[INDENT]/data/local/mempodroid 0xd9ec 0xaf47 sh
mount -o remount,rw '' /system[/INDENT]
[Asus  Eee Pad Transformer Prime] rcbarr:
Don't feel bad, your not alone, ug.
[Asus  Eee Pad Transformer Prime] Tairen:
I got it working guys! Just download the OTA ICS update 9.4.2.11.1 here:

http://xdaforums.com/showthread.php?t=1452933

Follow the instructions, install, come back to this thread, run the commands, and download superuser!

Apparently this method seems to work for people who manually download the ICS update.

I'm now rooted and happy!
[Asus  Eee Pad Transformer Prime] demandarin:
Is this the same suraik that makes stuff for cydia n IOS also? That name sounds familiar from Ipad jailbreaking days.
[Asus  Eee Pad Transformer Prime] se1000:
Right. Updated to reflect alpharevx's contribution. Didn't mean to leave him out. Yes it can be done that way, it may even make more sense, but either way works. Thanks.

Yes, same guy that is responsible for cydia on i-devices.
[Asus  Eee Pad Transformer Prime] lilstevie:
Yes, one and the same, however it isn't his exploit, he just wrote this implementation
[Asus  Eee Pad Transformer Prime] Cothek:
Worked flawlessly for me :)
[Asus  Eee Pad Transformer Prime] wgr73:
I'm in on this after I get off work!! Saurik is the man. Props to the one who found this exploit!
[Asus  Eee Pad Transformer Prime] DroidHam:
Worked perfectly, thanks so much!

Now I can use SixAxis Controller on N64 again =D

Zelda here I come!
[Asus  Eee Pad Transformer Prime] sontin:
Sad, it's not working under Honeycomb 3.2.1. :(
[Asus  Eee Pad Transformer Prime] soulctcher:
Just a reminder to everyone viewing this thread...

Go right out and install rootkeeper and get your root protected. So far, the pattern with ASUS is that rootkeeper is working fine and doesn't get wiped away.
[Asus  Eee Pad Transformer Prime] princeplanet:
It worked for me also. Thank you so much! :):D:)

I also made sure THIS time in installed OTA Rootkeeper.

One question, however (and I haven't done anything with it yet): Right after I unrooted and ran OTA-RK, I have a notice saying that there is a "System Update File Detected". Does anyone know what that might be? :confused:
[Asus  Eee Pad Transformer Prime] Charsher47:
Doesn't that usually mean there is a firmware zip on your sdcard that you can apply?
[Asus  Eee Pad Transformer Prime] theeggman:
I got this working last night, before the method was publicly posted.

I've installed OTA Root keeper and everything seems good.

Thanks!
[Asus  Eee Pad Transformer Prime] princeplanet:
That's what I'm thinking, but I don't want to make same mistake, install it, and lose root again. I was just wondering what it was.

This is the current Build number on my TP

IML74k.US_epad-9.4.2.11.1-20120118

UPDATE: sorry everyone, it was an earlier downloaded firmware from Asus. I forgot to delete it. Once I did and rebooted, the notification stopped.
[Asus  Eee Pad Transformer Prime] demandarin:
First thing people should be doing after doing this root is getting Voodoo OTA rootkeeper n backing up n protecting root. Another update is coming anyday now.

You've been warned....lol
[Asus  Eee Pad Transformer Prime] blackinjun:
Do we really think people need two separate warnings about this in the same thread..??

YES. PLEASE USE OTA ROOTKEEPER OR WE WILL LAUGH AT YOU AFTER NEXT UPDATE
[Asus  Eee Pad Transformer Prime] GirLuvsDroid:
One more warning is warranted here: ROOTKEEPER DOES NOT WORK IF YOU UPDATE MANUALLY!!
[Asus  Eee Pad Transformer Prime] eckiebd:
i have a question for this - as i am one of the dummies that did not install it before ...

Rootkeeper does not work, does it mean only not working to restore a previous root when performing the manual update, or does it mean that rootkeeper will not work if installed/used AFTER manually updating and having gained root again at some point ?
[Asus  Eee Pad Transformer Prime] GirLuvsDroid:
It means that it won't restore a previous root if you do a manual update.
[Asus  Eee Pad Transformer Prime] eckiebd:
thanks a lot for the quick reply :)
[Asus  Eee Pad Transformer Prime] Kashban:
Thanks, worked like a charm. "I'm on the root again, yes, I'm on the root again..." ;-)
[Asus  Eee Pad Transformer Prime] Dr.Mcq:
worked like a charm. Thanks!
[Asus  Eee Pad Transformer Prime] eckiebd:
Sigh... i think i have to wait ...

it seems i cannot manually apply this update on to my Dutch Prime, it is copied on to my sdcard (/mnt/sdcard), yet after reboot there is no update notification
[Asus  Eee Pad Transformer Prime] voc627:
I'm having issues getting, "ASUS Android Composite ADB Interface" to pop up on my device manager. USB Debugging is on.:confused:

update:

Switched to another pc and driver installation was fine there. Very odd.

update 2:

Worked without a hitch, thank you <3
[Asus  Eee Pad Transformer Prime] Moothead2:
Quick question; do you have to do anything with the two files you download or can you just put them on the desktop?
[Asus  Eee Pad Transformer Prime] teisner:
works perfect !!!
[Asus  Eee Pad Transformer Prime] GirLuvsDroid:
You should put the files in the same directory where your adb.exe is (from when you installed the Android SDK). I'm doing this from memory, because I'm at work and can't install the SDK here, but I believe the directory should end with \platform-tools.
[Asus  Eee Pad Transformer Prime] Moothead2:
Thank you.

When I type adb push su /data/local I get an error saying no such file or directory. How am I supposed to save the su file for it to be recognised?
[Asus  Eee Pad Transformer Prime] voc627:
Make sure the su file is in the platform-tools directory.
[Asus  Eee Pad Transformer Prime] Moothead2:
Thanks, but I got it working now :). It kept saving as a .txt file for some reason.
[Asus  Eee Pad Transformer Prime] rogersranch:
Worked like a champ - nice work
[Asus  Eee Pad Transformer Prime] Moothead2:
Got it working finally. It may be worth mentioning that "0" is actually a zero, it confused me as O looks like 0 in command promt and zero looks completely different.

Thanks again.
[Asus  Eee Pad Transformer Prime] timgt:
Excellent! Works perfect. Nice easy to follow instructions. I gave you a thanks!
[Asus  Eee Pad Transformer Prime] rossikwan:
Thanks, it works great!
[Asus  Eee Pad Transformer Prime] hbk19:
I'm having similar problems. While I've installed the drivers (the ones provided in Vipermod PrimeTime), and I can get "ASUS Android Composite ADB Interface" to show up in Device Manager, the device still won't be recognized by ADB. I'll have to play around with a little bit, I guess.
[Asus  Eee Pad Transformer Prime] xAnimal5:
I can't type after I get the root-command. I thought it was updated?
[Asus  Eee Pad Transformer Prime] Moothead2:
Nevermind, I can install Superuser but it won't prompt me to allow access to anything. Rootkeeper says I'm rooted but the Superuser root check says it fails. Tried this twice now and both produce the same results :(.
[Asus  Eee Pad Transformer Prime] -viperboy-:
Thanks for the download link to 11.1 guys. Downloading now to get my Prime to 100% stock. I hope to have a working PrimeTime root before I work in 2 hours :D
[Asus  Eee Pad Transformer Prime] Moothead2:
Awesome news :D!
[Asus  Eee Pad Transformer Prime] reNeglect:
Great =D Thanks Viper, really good to know that your working hard to get us root =)
[Asus  Eee Pad Transformer Prime] isaw:
Thanks fella. Worked fine for me.

No issues. :D
[Asus  Eee Pad Transformer Prime] agentdr8:
Make sure you have the latest adb binary. My older one couldn't find the TFP.
[Asus  Eee Pad Transformer Prime] -viperboy-:
Need testers NAOW! Send me a PM if you OTA'd without Root Keeper and are on .11 or 11.1 unrooted right now!
[Asus  Eee Pad Transformer Prime] usafle:
Well just followed the steps. I didn't get any errors while typing in the commands. Still no root. SuperUser was force stopped and cleared and rebooted. Titanium backup still won't acquire ROOT. Adfree won't acquire ROOT and now it's giving me a error message that SuperUser denied it on top of everything else.

Also, SuperUser won't "update" even though it says it doesn't need to, I still tried updating it anyway. It fails on the MD5 checksum
[Asus  Eee Pad Transformer Prime] -viperboy-:
http://xdaforums.com/showthread.php?p=21777025
[Asus  Eee Pad Transformer Prime] skeptikal:
I'd start with this portion of your statement when troubleshooting this issue. ;)

As a note I will say on my XP work pc it did try to save su as a txt and mempodroid as some unknown file type. If you are on XP just make sure u select 'All Files' as the file type when saving those two files. Worked flawlessly. Thanks to all who contributed.
[Asus  Eee Pad Transformer Prime] Tairen:
Mighg be irrelevant now that viperboys root is out, but go back a couple pages and look at my post. I had the same problem and solved it by manually pushing the OTA .1 update.
[Asus  Eee Pad Transformer Prime] Ruprect:
My experiences,

tried 5 or 6 times before going to bed last night. Nil Go.

Un-installed, reinstalled superuser various times. Was ignoring a firmware update that kept popping up. Gave up on rooting and downloaded the camera firmware update.

Woke up this morning to tackle it again, but first ran root checker..............ROOTED!:D

I dont know whether the impending update was blocking the root or I was visited by android fairies overnight.

Thanks to all involved and the clear tute, first time using ADB;)
[Asus  Eee Pad Transformer Prime] eckiebd:
lucky man, i just cannot get it to work, neither with this nor with vipermod :(
[Asus  Eee Pad Transformer Prime] erick0423:
Newbie here ..thanks for instruction and thanks to viperboy and sauric for making root our prime , u guys rock..

Proud owner of Transformer Prime TF201
[Asus  Eee Pad Transformer Prime] eckiebd:
getting the feeling somehow my prime seems to be the only one on the planet that no longer wants to root :(
[Asus  Eee Pad Transformer Prime] erick0423:
Ok i have one question i installed rootkeeper, do i have to temporary set to unroot if theres an Ota update sorry im just new on android world thanks for any input:)

Proud owner of Transformer Prime TF201
[Asus  Eee Pad Transformer Prime] jwigginton:
Thanks worked for me, 9.4.2.11
[Asus  Eee Pad Transformer Prime] drherron:
broke my ADB cherry and got root! thanks
[Asus  Eee Pad Transformer Prime] brakeb:
Trans. Prime here with 9.4.2.11.

I received a 'root' prompt, but I too cannot type anything in the box now.

This is not my first rooting using ADB. I've rooted my old Viewsonic Gtablet (including NVFlashing twice), rooted my OG Droid and my new galaxy Nexus using ADB. Plus, I am completely at home with the command line and linux commands.

The only point of contention is '' or " (2 apostrophes or open quotes)??? I used 2 apostrophes...

**UPDATE: Just went ahead and used the new ViperMod, and worked like a charm... TI backup is running, and I installed OTA rootkeeper, just for sh8ts and giggles...

By the way, where do I go to donate some money?
[Asus  Eee Pad Transformer Prime] Cmotion:
I just copy/pasted all the commands straight from the first post and it worked out fine for me. So I'm not sure if it's '' or "... might be worth a shot trying that way to be sure (I guess I'm assuming you typed out the commands yourself). Good luck.
[Asus  Eee Pad Transformer Prime] se1000:
Ok guys, updated the original post with some minor updates. Been busy with work today and really haven't had a chance to check into the thread. Looks like a lot of people were able to root successfully!

It's two apostrophes. Again, if people aren't comfortable with these commands, viperMOD PrimeTime is a great choice for a more automated way of getting this done.

Definitely a good suggestion.
[Asus  Eee Pad Transformer Prime] -viperboy-:
Thanks for the shoutout :) I would recommend changing the mount command though to the one that I use. It is a little bit more specific, and it might be better than the one you have.
[Asus  Eee Pad Transformer Prime] -viperboy-:
Fixed PrimeTime to work for those having problems rooting :) 3 people confirmed working, enjoy :D

http://xdaforums.com/showthread.php?t=1427125
[Asus  Eee Pad Transformer Prime] ledje:
Thank you guys! I did the manual method and it all went great! Now I can finally use OpenVPN again...!
[Asus  Eee Pad Transformer Prime] mustang_52:
I successfully rooted using this method however I have a question. Is it bad to do this thru the dock? I noticed in the primetime thread says not to and I did.
[Asus  Eee Pad Transformer Prime] rcbarr:
We have a winner, excellent job se1000, many thanks.
[Asus  Eee Pad Transformer Prime] Puckmeister:
success :D

ah, and i forgot to remove dock while...
[Asus  Eee Pad Transformer Prime] SalsaForte:
Worked for me, thanks!
[Asus  Eee Pad Transformer Prime] NORCALkID:
Same here worked like a charm
[Asus  Eee Pad Transformer Prime] rcbarr:
I rooted docked, no issue here.
[Asus  Eee Pad Transformer Prime] pbrauer:
Worked great for me! Only thing that caused a moments concern, I missed the step to install Superuser. Once I did that I got my root back on .11.

Thanks!
[Asus  Eee Pad Transformer Prime] se1000:
hey.... don't forget to install superuser.

hahaha. Sorry, it's a monday.
[Asus  Eee Pad Transformer Prime] pbrauer:
Hey...at least I went back over the steps and figured out my mistake before posting back that it just didn't work! :p
[Asus  Eee Pad Transformer Prime] id10terrordfw:
Worked perfectly for me on .11.1. Gotta love it!
[Asus  Eee Pad Transformer Prime] forceOnature:
I tried to root using this method on my tablet running 9.4.2.11.1 but I get the following error when I enter

shell@android:/ $ /data/local/mempodroid 0xd9ec 0xaf47 sh
/data/local/mempodroid 0xd9ec 0xaf47 sh
/data/local/mempodroid[1]: syntax error: 'newline' unexpected

Does anyone know how I can fix this?

Thanks!
[Asus  Eee Pad Transformer Prime] -viperboy-:
This confirms something that I thought was happening. People were having this issue with PrimeTime, but PrimeTime downloads a new copy of mempodroid everytime you run it. It seems like the code was slightly changed recently and it's not liking these commands. I will look at it later tonight if I can.

In the mean time, if anyone has an older version of the mempodroid binary, post it up here please.
[Asus  Eee Pad Transformer Prime] se1000:
I have one I can post on monday when I get back home
[Asus  Eee Pad Transformer Prime] -viperboy-:
For anyone having issues, download this older mempodroid binary and see if that fixes the problem...

http://dl.dropbox.com/u/6621763/mempodroid.bin

Please let me know if this works!
[Asus  Eee Pad Transformer Prime] -lukin-:
Need help:

Thanks
[Asus  Eee Pad Transformer Prime] -viperboy-:
You didn't get a root shell after the sh command. Try PrimeTime and see if that works for you.
[Asus  Eee Pad Transformer Prime] chrulri:
mount -oremount,rw /system

is completely sufficient ;) just did it the steps on my TF201 and it worked perfect! :cool:
[Asus  Eee Pad Transformer Prime] Xaositek:
Worked on .13 without issues - thanks! Loaded Voodoo Rootkeeper
[Asus  Eee Pad Transformer Prime] NORCALkID:
Same here worked perfect on

.13 ive had ota rootkeeper but all of my ics upgrades have been with the . Zips provided by asus
[Asus  Eee Pad Transformer Prime] John Kotches:
Yeah, your first address command should start with 0x, not 9x,

/data/local/mempodroid 0xd9ec 0xaf47 sh

These are Hex memory offsets and it doesn't know how to interpret 9x :) Frankly, I'm surprised viper didn't catch that :D

Cheers,
[Asus  Eee Pad Transformer Prime] Epedemic:
Works on .14 too
[Asus  Eee Pad Transformer Prime] rimoth:
'.14 Successfully Rooted

Not wrong!
[Asus  Eee Pad Transformer Prime] se1000:
Updated!

10-char
[Asus  Eee Pad Transformer Prime] antnyp85:
Awesome, thanks! Only took a few minutes and was able to Root. :-)
[Asus  Eee Pad Transformer Prime] spyz88:
Just used it on 9.4.2.15...worked a treat.
[Asus  Eee Pad Transformer Prime] demandarin:
Is there anyway this can be implemented on the prime itself without the need to be furthered to a computer? Like through terminal emulator or something? Or is it possible to convert this into a simple apk install on prime? Appreciate any feedback. Thanks!
[Asus  Eee Pad Transformer Prime] chrulri:
Yes, I already thought of this as well.

It should be doable to integrate this into a apk, maybe not on market due to regulations but who cares :cool:
[Asus  Eee Pad Transformer Prime] demandarin:
Sounds good. Do we know if anyone is working on an apk root tool? Ill test it out..lol.
[Asus  Eee Pad Transformer Prime] sparkym3:
I was thinking about it. I may start working on it today if I find time. I'll let everyone know once I have something ready for testing.
[Asus  Eee Pad Transformer Prime] demandarin:
Appreciate it ;)
[Asus  Eee Pad Transformer Prime] scote:
worked for me with dock attached - many thanks!

for those without computer/adb you should be able to do all this through a terminal on the tablet
[Asus  Eee Pad Transformer Prime] sparkym3:
No, this should not work from the terminal on the device. The reason this works is because when you connect using ADB, you are using the shell user which has access to run the run-as executable. From any terminal app on the device you would be running as the user created for that specific app and would therefore not have access to run this.
[Asus  Eee Pad Transformer Prime] markp1989:
Thanks,

I had lost root after doing a factory reset, the su files were there but I was getting "persmision denied" messages, your method worked on my Transformer (not prime) and now I have root again :)
[Asus  Eee Pad Transformer Prime] PorkMoon587:
I rooted using the terminal emulator app and it worked like a charm...what are you smoking?
[Asus  Eee Pad Transformer Prime] sparkym3:
I was basing my comment on the information provided by the original exploit developer and what I know about the the code in that area. If you are able to root from the terminal emulator then I would be very surprised because it means they have a larger bug than originally thought (since you can use any user rather than just the shell user to gain access).
[Asus  Eee Pad Transformer Prime] efrant:
I'd be interested in knowing how you got this to work strictly on-device (i.e., without have to plug into a computer).
[Asus  Eee Pad Transformer Prime] beekay201:
Original post:

Possible since /data/local does not require root privileges.

Edit: /data/local does require root privileges. I stand corrected. Thanks guys.
[Asus  Eee Pad Transformer Prime] efrant:
Open a terminal emulator and try to write to /data/local and you will see you are not able without root privileges. However, open an ADB shell and try to do the same without root privileges, and you will see that it is doable. I would like to know how to be able to run the exploit without any connection to a computer.
[Asus  Eee Pad Transformer Prime] sparkym3:
That is not really the issue, it is that run-as does not get to the point in the code that pushes the rooting exploit code into memory. That comes after the "are you root or shell" check, and it should therefore not be possible unless you are one of these users. My guess is that this individual either had root in his console already or is mistaken. Or maybe he will teach us all something.
[Asus  Eee Pad Transformer Prime] craigacgomez:
Sweet... kudos to all involved... works great on 9.4.2.15 US...
[Asus  Eee Pad Transformer Prime] mj56gt:
Hi, I just got a new TF101, and updated its firmware to ICS v9.2.1.17 (Build number IML74K.US_epad-9.2.17-20120312). I have tried SparkyRoot (http://xdaforums.com/showthread.php?t=1526487), but failed to get rooted because "Exploit was not found". Two questions:

1) Would Mempodroid root work for my TF101?

2) Would it work on a Mac OS X (I have adb installed)?

Thanks a lot!

Update: Just went ahead, and had my TF101 successfully rooted by Mempodroid! Worked like a charm... Thanks!
[Asus  Eee Pad Transformer Prime] l33tlinuxh4x0r:
I know what they changed in version .21 mempodroid no longer gives root :(