yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T General] nooktablet:
maybe the dev knows,

but it seems like me and you are the only ones who lost root after updating lol
[Transformer TF300T General] Big_Drew:
I lost root too. I didn't have any problems with the other FW updates. I don't understand why it's worked for some people but not others.
[Transformer TF300T General] nooktablet:
because some people installed supersu which we did not
[Transformer TF300T General] pakure:
I restored root after update using voodoo....and yes I had both superuser and superSU
[Transformer TF300T General] jdk2:
I can't root either but I didn't have Voodoo on ICS.
[Transformer TF300T General] TDMVP73:
Yeah, that seems to be the trick for maintaining root access before doing OTA to Jelly Bean. Without Super SU, I think you lose root.

Any devs have an idea on how to restore root access from Jelly Bean?

If possible, I could force downgrade to ICS 9.4.3.17 and re-root. But wolf's method 2 doesn't work on Jelly Bean, correct?
[Transformer TF300T General] maxvsmith:
^^^This.

I'm sorry that some people updated and lost their root. But I made sure I read a few threads and posts on XDA before I upgraded to jellybean.

I don't exactly know why supersu saves root but it does. I installed Supersu and approved it and used ota rootkeeper. I also went and opened superuser as well. When I did the "backup su" thing it said something quick about supersu doing something to the su when it never said that for superuser. Also when you go into supersu it updates the su file.

Either having these two does something to protect or enhance the su so it doesn't get lost during the update or something that supersu does that superuser doesn't works. I was scared but I updated and protected root before I updated. After the jellybean update I restored root, checked rootcheckerbasic, and opened titanium back up and my root is there and fully functional.

Thank you for pointing this out. I saw supersu on the market the other day but did not think I needed it because I already have superuser. How wrong I was. I hope they come out with a way soon to root jellybean.

Oh and jellybean is awesome. I love organizing the homescreen because it pushes apps or widgets out of the way now. The new animations are nice too and the google play store widgets that are advertised with the nexus 7 are there too. Which makes me wonder. People are praising the Nexus 7 and calling it the best android tablet right now because it's nexus, jellybean, and google. But technically the TF300T has all the same specs and has many things the nexus 7 doesn't have like micro sd card slot, hdmi micro output, and front facing camera.

Or is there something nexus-y that we are missing and still don't have?
[Transformer TF300T General] warhog93:
TF300: Unlocked and Rooted

With all this hype about the Jelly Bean 4.1 update rolling out, I want to join. The problem is that my bootloader is unlocked and I am looking for a to manually update or flash the new firmware.

Is there anyway to perhaps place a file on the root of the device and then flash it with a recovery?

many thanks.
[Transformer TF300T General] KB Smoka:
My update got stuck....I got the red triangle and had to reboot. Now the update is nowhere to be found. Is there a way to start the process over?
[Transformer TF300T General] nooktablet:
i'm not sure, can you go to settings and check for the update again?

i heard someone said that the OTA update only happens once, don't know if that's true
[Transformer TF300T General] KB Smoka:
That's what it looks like. I cleared cache on one app as suggested in another thread and checked again but no good. Pretty annoying.
[Transformer TF300T General] nooktablet:
I edited the first post with instructions how to update and keep root.

the app that's responsible for OTA update is DMClient, can you go to settings, find that app and clear that app's cache & data?

you said you cleared cache on "one app as suggested in another thread", which app?

EDIT: oh i just read that thread, the app you cleared cache was DMClient and it didn't solve the problem, now i have no ideas, sorry friend, you probably have to wait until asus posts the manual update on their website, usually doesn't take long
[Transformer TF300T General] scott.m:
What makes supersu retain root and not superuser? Could this be a problem that can be fixed by superuser's author? I have WW so im lucky to have read this before updating, thanks for that... and this should be sticky :P
[Transformer TF300T General] pakure:
SuperSU had been reported to be working better than superuser for ICS .... some root requiring apps like Lucky patcher specifically ask for super su.... now on updating jb, root is saved only if you are using super su
[Transformer TF300T General] rickykemp:
Just want to check, did anyone who ota'd with just superuser select the Ota survival check box? If not, then that might be why it didn't retain root.
[Transformer TF300T General] rboutin2:
I had the update fail, and I too, get no update available, when i try to check. Is it possible to flash back tos tock ics, reroot, then try again? I have no idea why my update failed. I was using superSU, voodoo, saved root, temp unrooted, and did the update. It came back failed. I havent frozen anything, modified the build prop, or anything. If it possible to flash back to stock ics, can someone gimme a link on the steps please?
[Transformer TF300T General] coquipr:
I have both installed,superuser and supersu,is that ok?
[Transformer TF300T General] nooktablet:
i'm not sure what you mean by "is that ok"? but if you're asking how to update without losing root, you can read the update in the first post of this thread:
[Transformer TF300T General] PimpToxie:
He's asking if he needs both applications installed. The answer is no, coquipr. If you had Superuser installed first, just open SuperSU for the first time and Superuser will ask you to grant it root access. Accept, and then go into SuperSU's settings and make sure "Enable Superuser" is turned on. This will make it so that SuperSU is now the primary system SU. To test it, just open a program that needs root (like OTA Rootkeeper) and you should see the new access prompt from SuperSU. After that, you can remove Superuser from your tablet.
[Transformer TF300T General] rightonred:
I posted this comment while xda was updating and it got borked.
[Transformer TF300T General] rightonred:
If you lost root because you didn't use supersu, can you at least get root in an adb shell?

Try doing:

adb shell
/system/usr/we-need-root/su-backup
id

do you get this line:

uid=0(root) gid=0(root)
[Transformer TF300T General] erniejazz:
HI, I do get

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

1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(in

et),3006(net_bw_stats)

shell@android:/ #

Seems that we can get root in adb. But is there any way to fix the issue from here? Thanks in advance:p
[Transformer TF300T General] rightonred:
You're in luck!:victory: I'll see if I can help you later though. It's really late here where I live.
[Transformer TF300T General] zzzk:
Lost root with 4.1.1 upgrade. Had superuser and ota root keeper.

I used the miloj method to root my asus tf300t. This is the post:

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

I used superuser and ota root keeper. I did NOT use supersu. When I upgraded to 4.1.1, I lost root. I tried to restore it with ota, it said restored, but did not restore root. I tried the following commands with adb shell and got the following:

shell@android:/ $ /system/usr/we-need-root/su-backup

/system/usr/we-need-root/su-backup

/system/bin/sh: /system/usr/we-need-root/su-backup: not found

127|shell@android:/ $ /system/xbin/su

/system/xbin/su

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

127|shell@android:/ $ id

id

uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009

(mount),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt)

,3003(inet),3006(net_bw_stats)

shell@android:/ $

Please let me know. Thank you.
[Transformer TF300T General] rightonred:
try this if you lost root, but have a backup:

Get the supersu su binary from chainfire.eu or from the attachment. extract it to the root of the device's internal memory. (/sdcard)

open an adb shell by doing:

adb shell

now obtain a root shell by doing:

/system/usr/we-need-root/su-backup

If there was a "not found" error, try:

/system/su-backup

if you still get an error, try replacing the dash in su-backup with an under score.

now, for the dirty work...

mount -o remount,rw /dev/block/mmcblk0p1 /system
cd /system/xbin
rm su

may give an error.

dd if=/sdcard/su of=su
chmod 6755 su
chown 0.0 su
mount -o remount,ro /dev/block/mmcblk0p1 /system

uninstall superuser and install supersu from play.

test your root. If it works, delete your voodoo backup and back root up again.

as a general disclaimer: I do not own a tf300. do this at your own risk.

let me know if you encounter any issues.
[Transformer TF300T General] Tequila.CZ:
So in fact to be able to restore root with Voodoo OTA Rootkeeper we need to replace Superuser with SuperSU?

If I already have Superuser installed, Voodoo OTA Root backup created and no SuperSU, should I:

1) Install SuperSu app (grant an Superuser access and enable Superuser option)

2) Uninstall Superuser app

3) Delete old Voodoo OTA Root backup

4) Make a fresh root backup using Voodoo

5) Update to JB

6) Restore root using Vodoo app

Could anyone confirm this worked?

Many thanks!
[Transformer TF300T General] mrpierrec:
where is this backup file ?

I can't find it.
[Transformer TF300T General] Tequila.CZ:
If this is refering to the post above:

3) Delete old Voodoo OTA Root backup

Then there should be an option "Delete su backup" directly in the Voodoo OTA RootKeeper app.
[Transformer TF300T General] pakure:
Steps 2,3,4.. are not required
[Transformer TF300T General] erniejazz:
Hi, all the step in adb shell sucess expcept there is not su in xbin folder.

However in the end I can't uninstall superuser in my TF300 since for some reason it is a system app.

I try to disable it and install supersu, and I got a "su binary needs to be updated" prompt.

After I click continue, it said "installation failed!"

I try enter adb shell and use su command directly, I got

shell@android:/ $ id

id

uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009

(mount),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt)

,3003(inet),3006(net_bw_stats)

shell@android:/ $ su

su

shell@android:/ # id

id

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

1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(in

et),3006(net_bw_stats)

Seems su command works in adb shell, but supersu still can't use it. It look really promising though.

It there anything I can try next? Thanks a lot!:good:
[Transformer TF300T General] rightonred:
Hmm. uninstalling superuser isn't mandatory. you can do that using the root uninstaller once root is restored.

try repeating the fix using miloj's insecure su: http://xdaforums.com/showthread.php?t=1704209

just be sure to update the binary in supersu.
[Transformer TF300T General] erniejazz:
I can't use adb push for those files so I put those files in sd card and move it in adb shell.

All the process works except I can't update binary in the last part and can't grain root acess.

I think something must be different between ICS and JB otherwise this must work though. :confused:

: Extra finding:

in adb shell if I use /system/xbin/su seems not working

shell@android:/ $ /system/xbin/su

/system/xbin/su

shell@android:/ $ id

id

uid=2000(shell) gid=2000(shell) .......

shell@android:/ $ su

su

shell@android:/ # id

id

uid=0(root) gid=0(root) ......

shell@android:/ # which su

which su

/system/bin/su

is it might be the problem??
[Transformer TF300T General] TDMVP73:
Rightonred, do you have any ideas on how to force a downgrade to 9.4.3.30 ICS from Jelly Bean?

If so, then maybe we can reroot, install SuperSU, backup root, etc.

I think waiting for an exploit in Jelly Bean will take much longer than doing that.
[Transformer TF300T General] rightonred:
hmm. you did chmod 6755 /system/xbin/su?(after remounting of course)

It appears that the problem is that the su command atuomatically invokes /system/bin/su instead of /system/xbin/su , and the /system/bin/su is the superuser su binary. also the supersu su binary(which is now at /system/xbin/su) has not been chmoded correctly and can't give root access.

try chmoding the /system/xbin/su again and see if you can get root access through it.

If you can then do:

rm /system/bin/su

to get rid of the old superuser binary.

nope. Thats where a catch 22 comes in: you can't force downgrade without root.

If you really want root, you can always do a bootloader unlock, flash cwm recovery, then flash chainfire's supersu zip. (or wait for an exploit)

EDIT: wait a second, I just got a thunk...

if you can get root in adb you can force downgrade if all else fails.

just download the old firmware from asus's website, extract the blob to the root of /sdcard/(it's double zipped), give yourself a root adb shell using the backup su using the commands I posted earlier, then do:

dd if=/sdcard/blob of=/dev/block/mmcblk0p4

this will appear to do nothing for several minutes

now do:

reboot

the tablet should now flash the older firmware,
[Transformer TF300T General] calisro:
I was in this same situation and I SOLVED my root issue.

In my case, I was able to logon with adb and then su to root from adb which means I still had root. If you have this access, your golden EVEN if the superuser app and the supersu app isn't working.

Do this:

1) Download the insure su from here (This is a WIDE OPEN su without any controls). (sparky root i believe?)

https://www.dropbox.com/sh/jcpilpgoeta516e/tCB-Ep-3YQ

2) logon to adb

3) su -

4) remount system as RW:

mount -o remount,rw /dev/block/mmcblk0p1 /system

5) make a backup of current su just in case in adb

cp /system/bin/su /system/bin/su1

6) push the su binary from step 1 to system

adb push su /system/bin/

7) Change permissions for SU

chmod 6755 /system/bin/su

8) download superuser (NOT SUPERSU) from play store if you do not have it already.

9) have superuser upgrade the su binary

10) congrats. your now rerooted.
[Transformer TF300T General] funnel71:
I must try this when I get home because I have root via adb
[Transformer TF300T General] TDMVP73:
It's working as we speak!

Looks like we found an easy solution.

Downgrade, exploit again, install SuperSU, back-up with Voodoo OTA Rootkeeper, then upgrade to JB and restore root. :)
[Transformer TF300T General] calisro:
Glad you got it working and glad the exploit works on JB but I doubt you needed to downgrade. You still had root with adb and could have just used the *special* su to regrant permissions to superuser (see my post). Just mentioning for others.

But congrats anyway.:good:
[Transformer TF300T General] rightonred:
Awesome!

Don't forget to remount system as read only for security when you are done. you can do this by rebooting or:

mount -o remount,ro /dev/block/mmcblk0p1 /system:good:
[Transformer TF300T General] TDMVP73:
It didn't work, it started flashing and then stopped.

So on your method, where do I need to put the su from step 1?
[Transformer TF300T General] zzzk:
adb mount command not working

I get this when I try adb:

shell@android:/ $ su -

su -

shell@android:/ $ mount -o remount,rw /dev/block/mmcblk0p1 /system

mount -o remount,rw /dev/block/mmcblk0p1 /system

mount: Operation not permitted

255|shell@android:/ $

Does this mean this method won't work for me because I completely lost root? Do I need to downgrade, then? Thank you.
[Transformer TF300T General] calisro:
update the directions with your comment. The answer is put it anywhere.... Just need to reference it when you 'push' it to the device.

directions:

1) Download the unsure su from here and put it somewhere on your C Drive. It will be used in the following push step (Assuming windows) (This is a WIDE OPEN su without any controls). (sparky root i believe?)

https://www.dropbox.com/sh/jcpilpgoeta516e/tCB-Ep-3YQ

2) logon to adb

3) su -

3.5) verify you have root:

id

uid=0(root) gid=0(root)........

4) remount system as RW:

mount -o remount,rw /dev/block/mmcblk0p1 /system

5) make a backup of current su just in case in adb

cp /system/bin/su /system/bin/su1

6) push the su binary from step 1 to system using the path from where ever you put it.

adb push c:\<some path>\su /system/bin/

7) Change permissions for SU

chmod 6755 /system/bin/su

8) download superuser (NOT SUPERSU) from play store if you do not have it already.

9) have superuser upgrade the su binary. It may fail to remount system as RO. Just rerun the update in superuser and it will work the 2nd time. You don't need to remount system as RO manually since superuser update of SU will do that for you.

10) congrats. your now rerooted.

---------- Post added at 06:43 PM ---------- Previous post was at 06:41 PM ----------

Verify you have root when you su - . Try 'id' and see if it returns somethnig like uid=0(root) gid=0(root)....

If it does, you should be good. If it doesn't, then see what su it is invoking by running in adb:

which su

If it isn't /system/bin/su then try running that one? <scratches head>
[Transformer TF300T General] rightonred:
instead of doing "su", do "/system/su-backup" or "/system/su_backup"
[Transformer TF300T General] erniejazz:
It works! Thanks for everyone who tried to help us :laugh::good:
[Transformer TF300T General] TDMVP73:
I do have root access via adb.

It shows "uid=0(root) gid=0(root)"

Step 5 shows "sh: cp: not found".

Step 6 says "error: device not found".
[Transformer TF300T General] calisro:
for step 5, it assumed you had busybox. Since you dont, I think you'll have cat. so do this:

cat /system/bin/su > /system/bin/su1

for step 6, i forgot quotes.

It should be: adb push "c:\<some path>\su" /system/bin/

Let me know if that works and if so, i'll post updated directions.
[Transformer TF300T General] zzzk:
A little further in adb...

Getting a little further... But now this error:

127|shell@android:/ $ /system/su-backup

/system/su-backup

shell@android:/ # id

id

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

1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(in

et),3006(net_bw_stats)

shell@android:/ # mount -o remount,rw /dev/block/mmcblk0p1 /system

mount -o remount,rw /dev/block/mmcblk0p1 /system

shell@android:/ # cp /system/bin/su /system/bin/su1

cp /system/bin/su /system/bin/su1

sh: cp: not found
[Transformer TF300T General] calisro:
use this instead of cp.

cat /system/bin/su > /system/bin/su1

---------- Post added at 07:09 PM ---------- Previous post was at 07:07 PM ----------

Updated directions based on feedback.

1) Download the unsure su from here and put it somewhere on your C Drive. It will be used in the following push step (Assuming windows) (This is a WIDE OPEN su without any controls). (sparky root i believe?)

https://www.dropbox.com/sh/jcpilpgoeta516e/tCB-Ep-3YQ

2) logon to adb

3) su -

3.5) verify you have root:

id

uid=0(root) gid=0(root)........

4) remount system as RW:

mount -o remount,rw /dev/block/mmcblk0p1 /system

5) make a backup of current su just in case in adb

cp /system/bin/su /system/bin/su1

if that fails try this instead:

cat /system/bin/su > /system/bin/su1

6) push the su binary from step 1 to system using the path from where ever you put it.

adb push "c:\<some path>\su" /system/bin/

7) Change permissions for SU

chmod 6755 /system/bin/su

8) download superuser (NOT SUPERSU) from play store if you do not have it already.

9) have superuser upgrade the su binary. It may fail to remount system as RO. Just rerun the update in superuser and it will work the 2nd time. You don't need to remount system as RO manually since superuser update of SU will do that for you.

10) congrats. your now rerooted.
[Transformer TF300T General] TDMVP73:
Ok, I get to step 6.

On step 6, I did "adb push "c:\test\su" /system/bin/

I got back: error: device not found
[Transformer TF300T General] calisro:
Open a new cmd window and run that. It looks like you probably did it from a already open adb session that was connected.
[Transformer TF300T General] zzzk:
Made it to step 6, too, device not found...

Made it to step 6, too, device not found... I put the su in the same directory as adb ...

1|shell@android:/ # adb push su /system/bin/

adb push su /system/bin/

error: device not found
[Transformer TF300T General] calisro:
you are runnnig that from within a adb shell. Dont.

open a NEW cmd window and run

adb push su /system/bin/
[Transformer TF300T General] zzzk:
Still can't copy su with adb...

Still an error:

C:\Program Files (x86)\Android\android-sdk\platform-tools>adb push su /system/bi

n/

adb server is out of date. killing...

* daemon started successfully *

failed to copy 'su' to '/system/bin//su': Permission denied

Thank you for your help. Got to step 5 fine...
[Transformer TF300T General] TDMVP73:
Ok, opened a new window and ran: "adb push "c:\test\su" /system/bin/"

Now it says: "failed to copy 'c:\test\su' to /system/bin/ : Permission denied"
[Transformer TF300T General] calisro:
updated directions. Push to sdcard 1st, then copy it. ;) :good:

directions:

1) Download the unsure su from here and put it somewhere on your C Drive. It will be used in the following push step (Assuming windows) (This is a WIDE OPEN su without any controls). (sparky root i believe?)

https://www.dropbox.com/sh/jcpilpgoeta516e/tCB-Ep-3YQ

2) start a CMD window and logon to adb

3) su -

4) verify you have root:

id

uid=0(root) gid=0(root)........

If you don't you can try these instead of 'su':

"/system/su-backup" or "/system/su_backup"

5) remount system as RW:

mount -o remount,rw /dev/block/mmcblk0p1 /system

6) make a backup of current su just in case in adb

cat /system/bin/su > /system/bin/su1

7) open a new CMD window and push the su binary from step 1 to the sdcard using the path from where ever you put it.

adb push c:\<some path>\su /sdcard/

8) Then copy it to /system/bin from the adb session where you su'd.

cat /sdcard/su > /system/bin/su

9) Change permissions for SU

chmod 6755 /system/bin/su

10) download superuser (NOT SUPERSU) from play store if you do not have it already.

11) have superuser upgrade the su binary. It may fail to remount system as RO. Just rerun the update in superuser and it will work the 2nd time. You don't need to remount system as RO manually since superuser update of SU will do that for you.

12) congrats. your now rerooted.

13) remove the backup after you know your OKAY.

mount -o remount,rw /dev/block/mmcblk0p1 /system

rm /system/bin/su1

mount -o remount,ro /dev/block/mmcblk0p1 /system
[Transformer TF300T General] TDMVP73:
It worked! :)

You need to add one additional step though:

After Step 7:

7a) adb shell

7b) su -

Then everything from there on works! :D

EDIT: Nevermind, I did it in Window #2 where I didn't have SU, but it worked fine! :)
[Transformer TF300T General] calisro:
Awesome. Glad your back in business!
[Transformer TF300T General] zzzk:
Did all the new steps without error, but root apps not working...

Hello,

Thank you for all your help, but it still is not working. I completed the steps as you listed without error. I used the su-backup. I updated the superuser fine. I went into superuser and it says that superuser is allowed and a couple of apps allowed, but they don't work. Most are denied. Any suggestions appreciated. Thank you.
[Transformer TF300T General] calisro:
When you say you updated superuser do you mean the app or do you mean you went to super user settings an updated the su binary. you need to update the su binary in the superuser settings.
[Transformer TF300T General] TDMVP73:
Yeah, make sure to update the binary. Everything works fine... just installed Titanium Back-up, etc.

Should I delete the su back-up with Voodoo OTA Rootkeeper and make a new one? I guess it doesn't matter.
[Transformer TF300T General] calisro:
I made a new backup but probably wont matter.