yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T General] zzzk:
Added TDMVP73's commands and it's working!

Hi Calistro,

It's working! Thank you! I added TDMVP73's commands and re-did it and it's working! Do you recommend adding supersu because that protected other people from this problem? How do you run them at the same time with ota root keeper? If you want to add these things and the other commands to your how to, that would help a lot of people, I think. Thank you again!
[Transformer TF300T General] calisro:
Your welcome. Im using superuser but i may switch to supersu before the next ota. No need to worry till then.

Edit: just switched to supersu and once authorized i removed superuser.... supersu is a better root management tool imho anyway.
[Transformer TF300T General] zzzk:
Can't update binary in super User

Hi Calistro,

I have root access, but I didn't look close enough when I tried to update superuser. It says, version legacy. Granted root access. But update failed. Any ideas? Thank you.
[Transformer TF300T General] calisro:
Not sure but you need to get it updated because sparkys su has zero security... try updating again and also making sure the permissions on the su file are correct..

Or try rolling through the directions again.
[Transformer TF300T General] zzzk:
Su binary update more details, not working

More details of update fail.

Checking installed version: - legacy

Everything else says Okay! except "Making sure new su works... fail!
[Transformer TF300T General] sporez:
calisro, thank you for sharing those instructions on gaining root. It works and I'm super excited to have root again. THANK YOU!
[Transformer TF300T General] calisro:
I would retry the steps exactly again.... something is mucked.
[Transformer TF300T General] zzzk:
Still cannot update binary, did all steps again.

Still cannot update binary, did all steps again. I do have root access from su - when I enter id. checking binary, legacy, all other update steps work except "Making sure new su works, Fail! Sorry for the trouble, but I can't leave it like this... Thank you,..

The only thing I can think of is that I had to use /system/su-backup instead of su - in the beginning. Then I used su - before I entered cat /sdcard/su > /system/bin/su. Just ideas...
[Transformer TF300T General] calisro:
things i would try...

Uninstall and then reinstall superuser app

Then redo the steps. The problem appears to be related to the app not having root?!? Im guessing...

Try installing supersu instead and see if that succeeds.
[Transformer TF300T General] zzzk:
I uninstalled and reinstalled superuser and it worked

I uninstalled and reinstalled superuser and it worked. Strange, I posted this shortly after my question and it didn't show up. Thank you!
[Transformer TF300T General] thesuzukimethod:
I wrote elsewhere, but this thread seems more relevant. I was excited about JB 4.1.1 and spaced that OTA update would break root ( =no special prep pre-OTA). After running the OTA, i realized I lacked root, opened OTA rootkeeper, and restored root. updated su binaries for good measure. This was all with superuser, not super su, fwiw, so not sure what issues folks are having with superuser compared to supersu.
[Transformer TF300T General] timothyb89:
I was in roughly the same situation but needed to make a few minor adjustments: I couldn't transfer the file to /system/bin directly (adb complained about permissions). I also was on a completely stock rom with no backup of any root binaries - my device is unlocked and I flashed the root-signed.zip via the patched TWRP and encountered the same issue of only getting root via adb.

I ended up doing it like this:

$ adb push su /sdcard/su
$ adb shell
$ su
# mount -o remount,rw /dev/block/mmcblk0p1 /system
# dd if=/sdcard/su of=/system/bin/su
# chmod 6755 /system/bin/su
# rm /system/xbin/su # root-signed.zip installs su to xbin

After this I ran Superuser's updater twice - the first time failed to remount but otherwise worked, the second time worked flawlessly. In retrospect it probably would've been substantially easier to push + chmod the fake su binary directly in TWRP but even so it was pretty easy.
[Transformer TF300T General] MrTonyToca:
I was rooted prior to taking the Jellybean update, but I never unlocked bootloader, or ever installed a recovery, I attemped to use Voodoo OTA Rootkeeper, but did not hav ethe Supersu app installed, only the Superuser, so when I restored root it just kind of half rooted it, because my GMD Gesture app which requires root, still works to an extent..... but the check in voodoo says rooted but the permissions is not checked, My question is can I use the adb method that you used without having a recovery? and is there an easier route like just unrooting and leaving it stock? lol This half rooted stuff sucks:cyclops:
[Transformer TF300T General] thesuzukimethod:
did you have "ota survival" checked in superuser? - i did, and along with Voodoo was able to re-root. what happens when you try and update binaries with superuser? I restored root (VooDoo) and updated binaries and was back to full root. (note: i didnt have super su installed, so i know it can work with superuser, but may have been dependent on that "ota survival" checkbox...dunno)
[Transformer TF300T General] MrTonyToca:
I dont think I had OTA Survival checked :( Unless its checked by default I wouldnt have known to have it checked..... But I just checked and it is not checked
[Transformer TF300T General] calisro:
With a locked bootloader, you can perform the steps in the above thread if you have root access via ADB. There are a couple options above. One that I wrote and one that another person wrote. Either (or both) would probably get you back in business. If you have root somewhere, you can get things back to order.

---------- Post added at 04:22 PM ---------- Previous post was at 04:07 PM ----------

Yes, that will work IF YOU HAVEN"T UNINSTALLED/REINSTALLED superuser app. The problem I had was because superuser lost authorization (I uninstalled it in a feeble attempt to fix) and the only way I had to get that back is to use the sparky root which has zero security to reauthorize that superuser app.

That will be simpler though for people that weren't as mucked up as I was so Thanks for sharing that. I just wanted to clarify. Also here are updated directions because of the issue pushing directly to /system/bin... :

updated directions. Push to sdcard 1st, then copy it.

directions:
1) Download the unsecure 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] MrTonyToca:
Thanks, Im at work now but when I get home I will be trying one of these methods, I wasnt able to uninstall superuser so in the same attempt I did download the superuser.apk over top of the one I had, and it really didnt do anything, but I will be attempting this later, I'll let ya know how it goes :cool:
[Transformer TF300T General] thesuzukimethod:
I stumbled across the setting when i was messing around with rootkeeper - i was lucky more than smart to have checked it.....i wonder if Super Su has this option embedded (not really an option i guess), which would explain why superuser had a fail-rate among users, while super su seemed ok.

Good luck!
[Transformer TF300T General] carlosraf20:
Am new to this ADB, I have install ADB by following a tutorial in YouTube.

I know have ADB install and it runs when i type ADB in in the command window, and i also i have debugging enable.

ok was able to verify i have root

4) verify you have root:

id

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

When i do this i get an error that is a read only file system /system/bin/su1

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

cat /system/bin/su > /system/bin/su1
[Transformer TF300T General] MrTonyToca:
I'm also new to sdk and adb..... I can't get anything to work lol I've used command windows before and some things just arent 100% clear on how to execute..... step 2 says 2) start a CMD window and logon to adb..... By logging on to adb, you mean opening a command window and just typing in "adb"? or is there some type of way to log on in the SDK program? step three says

3) su - ..... i've tried typing that in and nothing ever happens, it says its not a recognized path etc. tried typing "adb su" and all types of varients and it just doesn't work....I did change my path in environment variables adding the android-sdk tools and platform tools there, tried typing in step 4 also 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"

and that was a no go too.....so I just believe I suck at this...but im pretty sure it is not difficult, you just really have to know what and how the commands have to be put in which I do not :eek: and so far this is the only avenue to fixing the root process.....if there is anything that stands out that I am doing extremely wrong, can someone point it out to me, thanks in advance :highfive:
[Transformer TF300T General] funnel71:
If you just type adb and hit enter, if set up properly, you will get a bunch of output back advising all the things you can do with it.

Type - adb devices to see if the serial number of your device comes back to you in response, if you have your tablet connected and appropriate drivers loaded

Type - adb shell to access your device with a command prompt. This is probably what is meant by logging on to adb, because you can do Linux commands after that, like su.
[Transformer TF300T General] MrTonyToca:
adb enter did bring up all the output commands and things like that, and adb devices did show up, I didnt know I had to record that number that popped up, so that is definitely good to know, so I will give another crack at it when I get home..... thanks
[Transformer TF300T General] funnel71:
You don't have to record that number. The purpose of that command is a test to be sure your device is responding.
[Transformer TF300T General] MrTonyToca:
o ok, got cha, I thought I would need it cuz when I was reading on the adb website some of the commands had <serial number> so I thought I may need it.... thanks again
[Transformer TF300T General] carlosraf20:
Ok i was ablet to log in to the table and run the shell, and I verify I have root

id

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

Here is where i get lost

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

am not able to make a copy of the /system/bin/su. I guess the problem I have is that am not able to remount as RW.

Can you explain with more detail how to do this..:confused:
[Transformer TF300T General] funnel71:
To confirm your mount command, just type - mount. Then enter...all mounts will be listed, including /system. If /system is ro it didn't work.
[Transformer TF300T General] MrTonyToca:
Considering this method fixes the half rooted problem.....Is there any way for me to unroot after this process is done? Im in the process of selling the tablet and wanted to sell it with a fresh start....:cowboy:
[Transformer TF300T General] calisro:
you can always remove root. Delete the su binaries. Delete the apks.
[Transformer TF300T General] MrTonyToca:
Im assuming thats done through adb shell.....I would just have no idea how to do that tho:confused:
[Transformer TF300T General] MrTonyToca:
i made it to #7 but it doesnt seem to be working , keeps saying error device not found, i opened a new cmd prompt and entered what is listed and included the path of where the su file is and i only get that error, any suggestions?

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/
[Transformer TF300T General] nooktablet:
i did a factory reset (because i heard i should do a factory reset after update firmware) and now i see superuser pre-installed as a system app, wtf? all other root apps like adfree, voodoo are gone, so this means the factory reset is not really a factory reset, superuser is now a system app so i can't remove it and of course it's just there, can't have root permission.

i'm just asking why after a factory reset and it's still there? is this normal?
[Transformer TF300T General] funnel71:
If you installed superuser from the store and it's now in your /system/app folder, that is unusual. If you pushed it as part of a rooting or other such process, that is more common.
[Transformer TF300T General] nooktablet:
oh so i guess it's normal, i used the 1-click transformer root tool to root it, that method installed superuser, i did not need to install from play store

but because i did a factory reset, so now there's no way for me to root this, right? looks like you guys have some chances to get root via ADB...

also i installed the driver "Asus android devices ADB" (or something like that), of course i can transfer files, but i can't use ADB, it says "error: device not found", i enabled usb debugging, tried adb remount but still says that error, i don't usually use adb, but it should be helpful sometimes, why is it not working?
[Transformer TF300T General] carlosraf20:
When i do this command

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

I get his

usage:mount [-r] [-w] [-o options] [-t type] device directory:confused:

And i check with mount and i see that is /system is ro.

I got it to rw

---------- Post added at 09:29 PM ---------- Previous post was at 08:48 PM ----------

I also get an error when trying to push the file

/system/bin/sh: can't create su: Read only file system
[Transformer TF300T General] Big_Drew:
When you type "id", is it returning 0 for user and group id's?

Any slim chance an su binary executable was left behind also? You can search with: find ./. -name su
[Transformer TF300T General] NCU1980:
Hey Guys,

I was hoping you could give some advice. Downloaded the Jelly Bean .zip file from the ASUS website and did a flash of the JB update.

Before I did this is installed SuperSU and OTA Rootkeeper and was told I had a protected copy of my SU binary.

However now the update is done I am not rooted.

When I go into ADB Shell and execute any of the following I get a response : not found.

su -
/system/su-backup
/systerm/su_backup
/system/we-need-root/su
/system/we_need_root/su

Any ideas or am I screwed until someone finds a new exploit?

Thanks!
[Transformer TF300T General] funnel71:
/system/xbin/su

Maybe?
[Transformer TF300T General] NCU1980:
Hey bro.

/system/xbin/su

also returns not found.

Bugger. :eek:
[Transformer TF300T General] calisro:
If you installed the manual install of asus website, that will wipe root and anything else. It isn't a 'update'. If you used the 'update' file in this thread, you would have maintained it. If you are locked, you would need to root (if there is one for JB) or unlock the bootloader and do it that way.
[Transformer TF300T General] NCU1980:
That explains it! Thanks Calisro. I guess I am screwed as I used the ASUS site download instead of the one in the thread. Will wait a bit to see if a JB root exploit is found that does not require unlocking the bootloader if not will go that route.

Thanks.
[Transformer TF300T General] calisro:
You could try the method here:

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

I haven't heard if it works or doesn't work yet on JB.
[Transformer TF300T General] funnel71:
That method doesn't work after jb update.
[Transformer TF300T General] carlosraf20:
This is what i get when i type id.

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)
[Transformer TF300T General] calisro:
You have root. Follow my directions....
[Transformer TF300T General] carlosraf20:
I did but i get stock in step 7

I get an error when trying to push the file

/system/bin/sh: can't create su: Read only file system
[Transformer TF300T General] calisro:
Follow this.

directions:

1) Download the unsecure 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:\\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] carlosraf20:
When i do this.

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:\\su /sdcard/

I get this

C:\Users\carlos>adb shell

shell@android:/ $ adb push c:\\su /sdcard/

adb push c:\\su /sdcard/

error: device not found

1|shell@android:/ $

any idea why ? :confused:
[Transformer TF300T General] funnel71:
Just push, don't do the shell first. You are pushing from PC to device. If you shell first, you're already in the device and that doesn't work I don't think.
[Transformer TF300T General] carlosraf20:
Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\carlos>adb push c:\\su /sdcard/

864 KB/s (372006 bytes in 0.420s)

C:\Users\carlos>

like this
[Transformer TF300T General] calisro:
It says OPEN A NEW NEW NEW CMD WINDOW. :)
[Transformer TF300T General] carlosraf20:
THANKS :highfive:

I was able to do it with your help.:good:
[Transformer TF300T General] calisro:
Good. Enjoy.
[Transformer TF300T General] Tequila.CZ:
Guys, those who sucessfully OTA updated -

Did you temporary unroot (Voodoo)?

Did you defrost all the apps prior to the update (Titanium Backup)?

Not sure whether it is necessary to do these steps or not.

Thanks.
[Transformer TF300T General] vap_66:
Failed (red triangle) without temporary unroot, so yes, it seems that if you try to update your WW version while rooted you'll fail.

Trimis de pe ASUS Transformer Pad TF300T
[Transformer TF300T General] Tequila.CZ:
Thanks, seeing all the failures I started to think it has osmething to do with root.
[Transformer TF300T General] scott.m:
So it is safe to upgrade rooted stock WW provided I temp-Unroot with voodoo, and have supersu installed and in control?

Also, when I unroot, should I just do it from voodoo or from supersu cleanup full unroot? And should I unchecked 'enable superuser' in supersu as well?
[Transformer TF300T General] Tequila.CZ:
Don't know. Most of the failed ones seem to have been rooted.

I would better temp-unroot first...

Will give it a try tonight.
[Transformer TF300T General] calisro:
I dont think root had anything to do with it. But id temp unroot anyway. Frosted apps or missing ones IS a problem.
[Transformer TF300T General] grahamu:
This worked for me - updated with no issues and restored root just fine with OTA

1/ Unfreeze / re-enable any frozen / disabled stock apps

2/ Uninstall Ezoverclock (incompatible with JB according to reports)

3/ Cold re-boot

4/ Download and apply update

5/ Re-apply root with OTA restore

Did not unroot - all fine and root confirmed by OTA and Titanium

Can confirm GPS takes ages to get a first lock but has behaved normally since then.
[Transformer TF300T General] whkn:
I thought I was fully rooted as Voodoo root keeper and superuser and superSU were all happy. All programs in need of root worked OK.

OTA WW worked OK without any issues, only it turned out I have lost root. :(

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)

I think the only thing I can do is wait. ;)
[Transformer TF300T General] lazer9:
Ok, I finally went for the JB via coming from ICS Hydro Rom and flashing the official update from ASUS. Already Had SuperSU & Voodoo OTA Rootkeeper hoping to retain root.

All else went flawless except I have no root (TIBU tells me such)...

Trying to avoid that "Follow Step #3 on..." from that other thread which seems to make you push a half assed recovery in order to re-obtain root.

What is this 5/ Step: Re-apply root with OTA restore refering to?

HALP! :p
[Transformer TF300T General] funnel71:
Ota root keeper maybe?
[Transformer TF300T General] grahamu:
Yes, exactly that.
[Transformer TF300T General] ch3mn3y:
Heh. I got info about update so i intalled rootkeeper, made backup than unfreeze apss in tb. Than to be sure rebooted pad and now i have "device is up to date".

Ps. When i start to look for updates i get "update is available" for second and than autorefresh and "device is up to date".

Will i get update again or should i reflash using wolfs method? My pad is locked.

Sent using tf300t - stock rom/kernel (rooted)
[Transformer TF300T General] rolandkohn:
rooted JB confirmed on EU rom

after the rumors about lost root when having superuser installed and after my pad told me, that a new firmware were available, i did the following

- installed voodoo root keeper

- installed supersu

- started supersu once, allowed su access thru superuser

- updated su binary thru supersu (it asked me to do so)

- uninstalled superuser

- backed up su binary thru voodoo

- updated firmware

after the firmware was installed, i then restored su thru voodoo. all went fine - no problems at all!

(running tf300 with european firmware)
[Transformer TF300T General] DFKT:
This one was the proverbial lifesaver for me, thanks mate. SU was gone, so had to use the su-backup.
[Transformer TF300T General] ch3mn3y:
I updated and voodoo keep root

Sent using tf300t - stock JellyBean (rooted)
[Transformer TF300T General] lazer9:
Thats what I thought but for some reason the voodoo ota root keeper didnt work for me. I resolved by going the route of the patched recovery and flashed the signed root file. All is well