yashsingh1/xdaforums huggingface dataset:
[Asus  Eee Pad Transformer Prime] sparkym3:
This tool will root your device based on the debugfs root method developed by miloj.

Just download and unzip everything into a directory; then run RootDebugfs.bat from that directory (if you do not currently have the device drivers for your transformer, they are attached to this post, please install them, please use them to install your device before attempting the process).

Neither ADB nor the SDK need to be installed as all needed files are included in the attachments below (though it won't hurt anything if they are).

Helpful tip:

Make sure no other Android device is connected to your PC

It should look familiar since I took PrimeTime and gutted it, only keeping the menu options. Thanks to viperboy for that.

Original post is in the TF300 thread, http://xdaforums.com/showthread.php?t=1704209

UPDATE 6/12/2012:

v1.1 - Added donation link for miloj

v1.2 - Fixed bug that caused it to stop while doing "debugfs", to cancel press Ctrl+c

v1.3 - Fixed bug where the id is not returned from the su test

v1.4 - Fixed bug introduced with v1.3

v1.5 - Fixed bug where you don't have to push the apk before calling install

6/13/2012

v1.6 - Fixed messaging (this is a cosmetic change)

v1.7 - Added a remove call on su prior to rooting for those who had root previously and it not longer works

v1.8 - Change the octal permissions to be 6755 instead of 4755

7/2/2012

v1.9 - Update superuser app and binary to the latest version available

XDA uploads are not working currently so I have uploaded the new version to here for now

https://skydrive.live.com/redir?resid=DC89975E3CE960E5!221

8/5/2012

v2.0 - Updated to include a kill for Asus sync as that seemed to be the biggest issue.

I have also made it more generic so that it can root more devices with the same util. This is done by scanning for the system partition automatically, thanks to rightonred for that suggestion. With the attachment labeled "generic" I have removed all asus references and drivers since they were causing issues with me being able to attach the zip to xda. Anybody who needs the drivers can download them from asus or from another xda post.

v2.1 - Added a pause while waiting for the device to restart to alleviate that nuisance.

v2.2 - Added message to ignore "File not found" message when trying to delete old su versions. Also updated message with the generic locations of settings on the tablet.

8/12/2012

v2.3 - Update su binary file (hopefully it may help some of the people with superuser app issues)

ASUS drivers can be downloaded from the ASUS site but some are not provided other than through the sync install. I have extracted out the drivers from that sync install and attached them to this post. These drivers will support most of the Asus Eee Pad family including TF101, TF201, TF300, TF700, ME171(MeMO), A66(Padfone), SL101(Slider), and a couple others.

No longer need a PadFone specific root util as the generic one should work for it as well.

Here is a version I put together for the Gallexy SII (but the generic one attached here should work fine)

http://xdaforums.com/showpost.php?p=27611187&postcount=3
[Asus  Eee Pad Transformer Prime] sparkym3:
Latest Supported Versions:

v9.2.1.27 for the TF101 (ICS 4.0.3)

v9.2.2.6 for the TF101G (ICS 4.0.3) (3G version)

v9.4.2.28 for the TF201 (ICS 4.0.3)

v9.4.3.30 for the TF300T (ICS 4.0.3)

v9.4.4.40 for the TF300TG (ICS 4.0.3) (3G version)

v9.4.5.30 for the TF700T (ICS 4.0.3)

v9.18.8.41 for the PadFone (ICS 4.0.3)

These are the latest supported versions as far as I know, if I get any further input I will update this post.

Reported UNsupported Versions

v10.4.2.15 for the TF201 (JB 4.1.1)

v10.4.2.9 for the TF300T (JB 4.1.1)

v10.4.4.16 for the TF700T (JB 4.1.1)

v9.20.1.22 for the PadFone (ICS 4.0.4)
[Asus  Eee Pad Transformer Prime] Aaronneal:
any one confirmed? what's the risk, if it doesnt work?
[Asus  Eee Pad Transformer Prime] Gremlin001:
Currently in progress .... sitting at:

Step 2 - Rooting...

debugfs 1.42 (29-Nov-2011)

debugfs: (shows a flashing cursor)

My Prime has rebooted but still sitting at the above. Is this normal? :confused:

OK, now I'm getting nervous .... Anybody wanna help a Noob?
[Asus  Eee Pad Transformer Prime] sparkym3:
The risk if it doesn't would should just be that you wouldn't have root.

We already have confirmation that the method works (so there should be no risk there). We just don't have confirmation that I didn't make a typo or other mistake when putting it all together.
[Asus  Eee Pad Transformer Prime] sparkym3:
How long has it been sitting there?

This is one of the points where I wasn't sure about since I had to pass input to debugfs through adb.
[Asus  Eee Pad Transformer Prime] Gremlin001:
Currently 7 minutes...

If my memory serves me correctly, this is the point where it can take 10 - 15 minutes. Is that correct?

---------- Post added at 01:27 PM ---------- Previous post was at 01:12 PM ----------

Nope ... left it stalled at "debugfs:" for 20 minutes.

Ctrl-C'd out of the batch file. Doesn't seem to have hurt the Prime.
[Asus  Eee Pad Transformer Prime] sparkym3:
Thats what I was going to tell you. I have an update that I will put up. just forgot to put the absolute location. Please stand by.
[Asus  Eee Pad Transformer Prime] Gremlin001:
Standing by ...

Now?

Now?

How 'bout now??

Maybe now? :p ;)
[Asus  Eee Pad Transformer Prime] sparkym3:
Please try again. New version is v1.2
[Asus  Eee Pad Transformer Prime] Gremlin001:
Running the updated bat as I type.... stand by

update #1 - sitting at the same spot.

Is it possible some of the files in the zip need to be in the MS-Win system32 folder?
[Asus  Eee Pad Transformer Prime] texstar:
sparkym3- you have a quick link to the win driver installation tutorial? Gonna try this but haven't used Windows in years. Got a lappy with xp on it.
[Asus  Eee Pad Transformer Prime] Gremlin001:
Plug your prime into the computer with the Asus usb cable. When the Autoinstall drivers dialogue pops up, tell it you want to select the drivers. when it asks you to browse to the drivers, browse to the location where you unzipped sparky's and select it. WinXP does the rest.
[Asus  Eee Pad Transformer Prime] sparkym3:
Can you tell me what the console displays after these lines. That should tell if all the files got copied over to the device.

adb push debugfs /data/local/

adb push debugfsinput /data/local/

Since debugfs actually runs, at least that one is copied over, my main concern is debugfsinput, this is the file that tells debugfs what to do.

Also, would you post a screenshot so I can see exactly what is happening, something might jump out if I can actually see it.
[Asus  Eee Pad Transformer Prime] Gremlin001:
Screen shot won't do any good. Lettering is very dark. Here is a select all/copy of the output.

Waiting for device to be detected...

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

* daemon started successfully *

Step 1 - Pushing files...

843 KB/s (1862336 bytes in 2.156s)

698 KB/s (22364 bytes in 0.031s)

7 KB/s (119 bytes in 0.015s)

Rebooting...

Step 2 - Rooting...

debugfs 1.42 (29-Nov-2011)

debugfs:

I'm exiting the batch file.
[Asus  Eee Pad Transformer Prime] sparkym3:
Would you just run this line manually and see if you get the same.

adb shell "/data/local/debugfs -w /dev/block/mmcblk0p1 < /data/local/debugfsinput"

I wish I had my prime i could test, all i have with me is an emulator.

On the emulator i get errors, but it still runs the correct commands then exits

C:\Android\android-sdk\platform-tools>adb shell "/data/local/debugfs -w /dev/block/mmcblk0p1 < /data/local/debugfsinput"

debugfs 1.42 (29-Nov-2011)

/dev/block/mtdblock0: Attempt to read block from filesystem resulted in short read while opening filesystem

debugfs: cd: Filesystem not open

debugfs: write: Filesystem not open

debugfs: set_inode_field: Filesystem not open

debugfs: set_inode_field: Filesystem not open

debugfs: set_inode_field: Filesystem not open

debugfs:

C:\Android\android-sdk\platform-tools>
[Asus  Eee Pad Transformer Prime] Gremlin001:
C:\Documents and Settings\kcr\Desktop\Root>adb shell "/data/local/debugfs -w /de

v/block/mmcblk0p1 < /data/local/debugfsinput"

debugfs 1.42 (29-Nov-2011)

debugfs: debugfs: write: The file 'su' already exists

debugfs: debugfs: debugfs: debugfs:

C:\Documents and Settings\kcr\Desktop\Root>

Then it exits to dos shell

---------- Post added at 02:22 PM ---------- Previous post was at 02:14 PM ----------

Gotta run sparky. I'll be back to try again in about 4 hours. Thanks for giving it a go and setting up the bat. It will likely be something simple messing up - it usually is.
[Asus  Eee Pad Transformer Prime] sparkym3:
if the file already exists, then that may be a problem.

you could try this to remove the existing file:

adb shell
/data/local/debugfs -w /dev/block/mmcblk0p1
rm /xbin/su
quit
exit

This should clear out any current su file that's in there and then try that line again.

Hopefully somebody else can come in and confirm they are seeing the same because I am useless for trying things without my device.
[Asus  Eee Pad Transformer Prime] demandarin:
I'm already out of luck :(

so i can't even downgrade either, if I wanted to, huh? .28 blues..lol
[Asus  Eee Pad Transformer Prime] texstar:
Ok I'm in if you are still around sparkym3.

Running v1.3 bat gets me to...

Step 2 -- Rooting...

debugfs 1.42

debugfs: Allocated inode: 1369

debugfs: su: File not found by ext2_loopback

debugfs: su: File not found by ext2_loopback

debugfs: su: File not found by ext2_loopback

debugfs:

Rebooting...

Testing superuser...

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

uid and gid should both be 0.

Are they? (y/n):

I'm stopped here. not sure how to proceed.
[Asus  Eee Pad Transformer Prime] bunnybash:
I had to see all processes from all users... otherwise i couldn't see it
[Asus  Eee Pad Transformer Prime] koradon:
Anyone can write script for mac?
[Asus  Eee Pad Transformer Prime] lightiv:
Attempt #2

Ok, I killed the ADB.exe that was running and restarted the process. Now I am here:

Waiting for device to be detected...

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

* daemon started successfully *

How long will it stay at this prompt? It has been about 3 to 5 minutes now.
[Asus  Eee Pad Transformer Prime] 5150jpd:
Go here http://transformerprimeroot.com/ install Drivers as shown. Then go to the comments below the video and follow.

Sent from my Galaxy Nexus using Xparent Green Tapatalk 2
[Asus  Eee Pad Transformer Prime] 5150jpd:
I was struck in the same place. Reinstalled drivers via site and all then worked.

Sent from my Galaxy Nexus using Xparent Green Tapatalk 2
[Asus  Eee Pad Transformer Prime] lightiv:
Ok, I went and installed the most recent adb sdk and attempted the manual install and received the following:

adb server is out of date. killing...

* daemon started successfully *

error: device not found

It appears that adb can't see the device even though Windows sees it just fine.
[Asus  Eee Pad Transformer Prime] Laurentwb:
Hello,

I may decide to jump for a first rooting experience.

Before I do it, could someone tell me if it easy to unroot (for example when there is a new firmware update by Asus) ?

Thank you.

Laurent
[Asus  Eee Pad Transformer Prime] lightiv:
One thing I noticed that when I root my cell phone and turn on USB debugging you can not see the phone storage. With debugging on the TF300T I can still see the internal storage of the device. Is there a bug or is it different between phones and tablets?

And why does it keep saying that the adb server is out of date and then it appears to kill the process and restart it.
[Asus  Eee Pad Transformer Prime] lightiv:
FIXED...Stupid DroidExplorer

Ok, finally found the problem. From my EVO 4G rooting I had installed DroidExplorer. I finally came across a help post that mentioned it and then I remembered. Killed the DroidExplorer process and rooting worked perfectly.

:o:o:o:o
[Asus  Eee Pad Transformer Prime] sparkym3:
Yes, unrooting is an easy process. Also, you will want to install voodoo root keeper before you take any new firmware and backup your root. This will allow you to restore your root after and update (as well as allowing you to unroot if need be).
[Asus  Eee Pad Transformer Prime] Laurentwb:
Thank you.
[Asus  Eee Pad Transformer Prime] TerrorCandii:
So, I run this on my comp, or I extraxt while on my tablet? Just says extract then run, but then I saw someone say Ctl+c for something, so I'm a smidge confused. I would like to root, so I could remove the little bit of bloat, and remove the stock launcher. Hate having unwanted stuff on my devices.

TerrorCandii Gaming uses ASUS/Samsung
[Asus  Eee Pad Transformer Prime] Restorer:
Just to add my thanks and confirm 1.8 is working fine.

Only thing was for some reason Superuser needed a bit of a kick. Maybe we all know this and I just missed it but if the tool appears to have not worked, open up Superuser and under Settings/Superuser Binary and even though it says binary is up to date go for Update Anyway. Or maybe any action where Superuser itself needs to be allowed would do the trick?
[Asus  Eee Pad Transformer Prime] RTContent:
Worked flawlessly on my TF201 running .28. Thanks a lot!!!
[Asus  Eee Pad Transformer Prime] bigtomcat:
awesome

Upgraded to 30 on tf300 t and lost. Root used. Your bat and it rooted me perfectly so working on 30 if you want to upgrade and re-apply root
[Asus  Eee Pad Transformer Prime] 84DGR:
Right so read all comments and downloaded new drivers... still nothing, looks like the ADB.exe is running twice in the processes

Not sure what im doing wrong
[Asus  Eee Pad Transformer Prime] lil-devil:
unzip on your computer, with your tablet connected open the .bat file and follow the instructions
[Asus  Eee Pad Transformer Prime] MXR2:
runs flawlessly on my prime! thank you again for making this possible for the latest firmware
[Asus  Eee Pad Transformer Prime] Hyflex:
I got problems with it rooting, see below:
[Asus  Eee Pad Transformer Prime] TerrorCandii:
I'm receiving the same message on my TF300T. How do we respond? Is there something we're doing wrong?
[Asus  Eee Pad Transformer Prime] lightiv:
I was getting the same errors and spent half the day before find out what the problem was. Basically the adb used with this rooting technique was conflicting with my old adb being used with DroidExplorer which was from last year when I was rooting my cellphone.

So look for anything that relates to adb and or rooting in the past and kill the process or uninstall it. When you look at Task Manager make sure you "view processes from all users."
[Asus  Eee Pad Transformer Prime] Hyflex:
You were indeed correct :) Thanks buddy.
[Asus  Eee Pad Transformer Prime] TerrorCandii:
I will have to try when I get home. Thanks....really want root. Question, this roots....no need to unlock bootloader...right?

TerrorCandii Gaming uses ASUS/Samsung.
[Asus  Eee Pad Transformer Prime] mattallica76:
The TF300 was updated to build 9.4.3.30 today. I can confirm this root method works on the new build.

Thanks.

---------- Post added at 06:23 PM ---------- Previous post was at 06:16 PM ----------

Correct. No need to unlock bootloader for this.
[Asus  Eee Pad Transformer Prime] TerrorCandii:
Thanks, just updated, will try to root again when I get home.

TerrorCandii Gaming uses ASUS/Samsung.
[Asus  Eee Pad Transformer Prime] TerrorCandii:
Where do I find the old ADB stuff I'm suppose to stop or uninstall? Don't ask, it's been awhile for me, Lol.
[Asus  Eee Pad Transformer Prime] 84DGR:
same boat, I cant find where I installed it, I rom'd and rooted both HTC and samsung devices, yet I can't figure it out, Its been a long week for me m brain just isnt working at full capacity lol

---------- Post added at 12:09 PM ---------- Previous post was at 12:06 PM ----------

If i Delete the Android SDK will this solve the issue when i re-install ADB? in the programs i cannot find the ADB software
[Asus  Eee Pad Transformer Prime] 84DGR:
after trying and trying I have successfully ROOTED this now, the issue for me was Asus Sync, I deleted it and Cloud Sync and the Drivers for it, plugged the prime in, then installed the driver and used the tool SUCCESS

NOOB error thanks for the assistance guys

EDIT: I hope this is the right outcome,

Waiting for device to be detected...

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

* daemon started successfully *

Step 1 - Pushing files...

1005 KB/s (1862336 bytes in 1.809s)

699 KB/s (22364 bytes in 0.031s)

8 KB/s (142 bytes in 0.015s)

Rebooting...

Step 2 - Rooting...

debugfs 1.42 (29-Nov-2011)

debugfs: rm: File not found by ext2_lookup while trying to resolve filename

debugfs: rm: File not found by ext2_lookup while trying to resolve filename

debugfs: debugfs: Allocated inode: 1375

debugfs: debugfs: debugfs: debugfs:

Rebooting...

Testing superuser...

uid=0(root) gid=0(root) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),

1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats)

uid and gid should both be 0.

Are they? (y/n):y

Installing SuperUser.apk

Success

your Prime is successfully ROOTed

Press any key to continue......

IS THIS CORRECT?

---------- Post added at 01:42 PM ---------- Previous post was at 01:26 PM ----------

Root checker saying not rooted, Yet updated Binary in Superuser and it installed everything so I am taking it as yes it worked
[Asus  Eee Pad Transformer Prime] lightiv:
your root output looks good. try installing Titanium Backup from Play Store. It requires root and will tell you the status of root/super user when it loads.
[Asus  Eee Pad Transformer Prime] TerrorCandii:
Finally.......rooted. Had to remove like every driver known to man name usb, and other junk. Rooted, debloated, TWRP flashed, fixed permissions....which now fixed my Zen Pinball. Lol Thanks to this lovely little .bat. Oh, and also confirmed working method on .30. Got that Voodoo rootlock love in place also. Awesome.....

TerrorCandii Gaming uses ASUS/Samsung
[Asus  Eee Pad Transformer Prime] bigtomcat:
hey

should be under c:/android-sdk

if you open the folder you will see sdk manager .exe run it then you will see on the left installed put a check mark in the box on the left side of what ever is installed and the on the bottom right you will see delete that will take it all out for you here is a screen shot
[Asus  Eee Pad Transformer Prime] Hyflex:
Just kill adb.exe from Task Manager, that's all I did and then ran it :P
[Asus  Eee Pad Transformer Prime] abprie:
just wanted to confirm successful root on my TF101 v9.2.1.24 with this method. thanks!
[Asus  Eee Pad Transformer Prime] David Dee:
Used this to root my TF300 on the latest .30 firmware as OTA rootkeeper screwed up and lost my previous root. Not to sound repetitive but this was so damn easy, worked like a charm. Thanks for your awesome work sparky!
[Asus  Eee Pad Transformer Prime] Valorster:
I have a WW version , downgrade from WW26 to US 17 and rooted ( month ago or so)

i dont get ota update ofc.

i want to go back to WW version , do i need to flash WW17 or can i flash WW30 over it and then use your tool?

Thx
[Asus  Eee Pad Transformer Prime] miloj:
Yes you should be able to flash WW .30 and use the tool to get root.
[Asus  Eee Pad Transformer Prime] magrath1:
Root process is simple & effective (on 9.4.2.28 fw). Great work sparky!
[Asus  Eee Pad Transformer Prime] Tintinnuntius:
Worked like a charm on v9.4.2.28 TF201. Thanks!
[Asus  Eee Pad Transformer Prime] mystril:
http://transformerprimeroot.com/tra...all-transformer-prime-usb-drivers-on-windows/

1.Install the Drivers

2.When asked about Gid 0 --> Type "Y"

3. Let the Magic Work.

Thanks. Rooted within 5 mins.
[Asus  Eee Pad Transformer Prime] brisseau:
Confirmed on TF300T running 9.4.3.30

Works like a champ as of 13:04 CST on 06/22/12

Thanks for all of your work and keeping us sane!:good:
[Asus  Eee Pad Transformer Prime] guntherfurlong:
I am using Windows 7 64bit version ... do I install the ASUS Drivers located in the i386 folder that came with the debugfsroot zip file? Ie right click --> install those 3 DLL files given?

Using a TF201 here.
[Asus  Eee Pad Transformer Prime] e2zippo:
Successfully rooted, and it was a piece of cake really, thanks a lot!!

WW .29 and updated to .30 after, installed Rootkeeper first, works great!
[Asus  Eee Pad Transformer Prime] louj:
Now working on 9.4.2.28

Hello. I am running version 9.4.2.28 but I am not able to run this root procedure. Didn´t you get any error?

After running this file as administrator in Win7 64-bit I got following error:

cannot stat ´debugfs´: No such file or directory

cannot stat ´su´: No such file or directory

cannot stat ´debugfsinput´: No such file or directory

Any clues? Any advices? Thank you in advance.

You could find screenshot of my problem here: group4.sk/TF201-problem.jpg
[Asus  Eee Pad Transformer Prime] Snake X:
Does this root .21? (Sorry if this has already been answered but I'm not about to go thru 23 pages)
[Asus  Eee Pad Transformer Prime] sparkym3:
Yes
[Asus  Eee Pad Transformer Prime] jujjk:
Yeah, I'm also stuck here. Also someone should clarify in the OP how to install the USB drivers. It's not exactly self explanatory.
[Asus  Eee Pad Transformer Prime] TerrorCandii:
I can't help, but I can help with the drivers. Windows 7 will auto install drivers. Don't have ASUS Sync or Webstorage installed at this time. Also, make sure all previous versions of ADB are removed from your comp, it'll make things go smoother for you. Hope this helps out some, it helped me when I was having a different issue rooting.
[Asus  Eee Pad Transformer Prime] sparkym3:
Sorry about not being clear in the OP, I was relying on people going to the usb thread for instructions/help. To be honest, I just used the drivers strait from Asus and adb from the android sdk with no issue (though I did do a manual install of the driver on windows 7 64).
[Asus  Eee Pad Transformer Prime] David Dee:
On installing the drivers, you may find this thread helpful: http://transformerprimeroot.com/transformer-prime-root/how-to-install-transformer-prime-usb-drivers-on-windows/

Once drivers are installed, one other problem people may have is launching the bat file directly from winrar or some other zip program without extracting everything first. In order for this to work, you must extract all contents of the DebugfsRoot file to your computer before launching the .bat file.

Finally, make sure Android Debugging is checked in developer options.
[Asus  Eee Pad Transformer Prime] louj:
Thank you for your reply. I downloaded package, I extracted it. Firstlz I had problem with error that adb is uknown command. I fix it by setting it into variables path as found on the forum. After that it starts with no problem but this second issue occured - it could not find these folders. Anyway, I am going to try it again from scratch. I keep you posted.
[Asus  Eee Pad Transformer Prime] louj:
OK. So I started everything from scratch:

- re-downloaded DebugfsRoot_v1.8.zip and extracted it into my documents with 7Zip

- removed all the drivers for TF201 from Hardware manager

- downloaded official driver from ASUS

- changed variables path for adb

- restarted computer

- attached my TF201 to computer, choose to use the drivers I downloaded

- restarted computer

- attached tablet, stop ASUS Sync, checked/turn on USB Debugging in tablet

- unchecked Run ASUS Sync in Accounts and synchronisation

- Run RootDebugfs.bat

Unfortunatelly got the same error as above so cannot stat "debugfs" no such file or directory, etc.

Did I forget something? Should I somehow show the path to this debugfs, su and debugfsinput? I get through whole 23 pages + other forums, but still no success. I feel quite frustrated :( Any advice?

Just for reconfirmg of versions in my Transformer:

- TF201

- Android 4.0.3

- GPS Version V6.9.20

- Wifi Version V6.1.1.24

- Bluetooth version V9.29

- Core version 2.6.39.4 android@Venus#1

- build IML74K.WW_epad_-9.4.2.28-20120525

- PAD EC version TF201-PAD-0214

Any advice highly appreciated :(
[Asus  Eee Pad Transformer Prime] StuMcBill:
Can this Unroot my TF Prime WW with .28 update?

I rooted using this tool!