I posted this comment while xda was updating and it got borked.
Last edited:
adb shell
/system/usr/we-need-root/su-backup
id
uid=0(root) gid=0(root)
If you lost root because you didn't use supersu, can you at least get root in an adb shell?
Try doing:do you get this line:Code:adb shell /system/usr/we-need-root/su-backup idCode:uid=0(root) gid=0(root)
You're in luck!:victory: I'll see if I can help you later though. It's really late here where I live.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)
[email protected]ndroid:/ #
Seems that we can get root in adb. But is there any way to fix the issue from here? Thanks in advance![]()
adb shell
/system/usr/we-need-root/su-backup
/system/su-backup
mount -o remount,rw /dev/block/mmcblk0p1 /system
cd /system/xbin
rm su
dd if=/sdcard/su of=su
chmod 6755 su
chown 0.0 su
mount -o remount,ro /dev/block/mmcblk0p1 /system
So in fact to be able to restore root with Voodoo OTA Rootkeeper we need to replace Superuser with SuperSU?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.
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:
now obtain a root shell by doing:Code:adb shellIf there was a "not found" error, try:Code:/system/usr/we-need-root/su-backupif you still get an error, try replacing the dash in su-backup with an under score.Code:/system/su-backup
now, for the dirty work...may give an error.Code:mount -o remount,rw /dev/block/mmcblk0p1 /system cd /system/xbin rm suuninstall superuser and install supersu from play.Code:dd if=/sdcard/su of=su chmod 6755 su chown 0.0 su mount -o remount,ro /dev/block/mmcblk0p1 /system
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.
Hmm. uninstalling superuser isn't mandatory. you can do that using the root uninstaller once root is restored....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:
I can't use adb push for those files so I put those files in sd card and move it in adb shell.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://forum.xda-developers.com/showthread.php?t=1704209
just be sure to update the binary in supersu.
Rightonred, do you have any ideas on how to force a downgrade to 9.4.3.30 ICS from Jelly Bean?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://forum.xda-developers.com/showthread.php?t=1704209
just be sure to update the binary in supersu.
hmm. you did chmod 6755 /system/xbin/su?(after remounting of course)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.
: Extra finding:
in adb shell if I use /system/xbin/su seems not working
[email protected]:/ $ /system/xbin/su
/system/xbin/su
[email protected]:/ $ id
id
uid=2000(shell) gid=2000(shell) .......
[email protected]:/ $ su
su
[email protected]:/ # id
id
uid=0(root) gid=0(root) ......
[email protected]:/ # which su
which su
/system/bin/su
is it might be the problem??
nope. Thats where a catch 22 comes in: you can't force downgrade without root.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.
I must try this when I get home because I have root via adbI 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.
It's working as we speak!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,
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.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.![]()
Awesome!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.