FORUMS
Remove All Ads from XDA

For those with 'partial' root after JB update - regain root!

162 posts
Thanks Meter: 61
 
By thenrz, Senior Member on 29th September 2012, 09:53 AM
Post Reply Email Thread
8th October 2012, 08:48 AM |#61  
nandolv's Avatar
Member
Thanks Meter: 0
 
More
Thanks a lot!! this saved my root!!!
One note, a had a dynamic link in my /data/local folder named tmp and couldn't do the 4,5 and 6 points. I renamed it to tmp.old and a could continue.

 
 
8th October 2012, 08:52 AM |#62  
OP Senior Member
Thanks Meter: 61
 
More
Quote:

shell@android:/system # ls -l /system/Supruser.apk
ls -l /system/Supruser.apk
/system/Supruser.apk: No such file or directory
1|shell@android:/system # ls -l /system/superuser.apk
ls -l /system/superuser.apk
/system/superuser.apk: No such file or directory
1|shell@android:/system #

Superuser.apk will be in /system/app/Superuser.apk

Make sure that is there and with what permissions, and also go ahead and download the files in the op.

Not many steps to get you back, either.



Quote:

Thanks a lot!! this saved my root!!!
One note, a had a dynamic link in my /data/local folder named tmp and couldn't do the 4,5 and 6 points. I renamed it to tmp.old and a could continue.

Interesting... What rooting method did you use?
The Following User Says Thank You to thenrz For This Useful Post: [ View ] Gift thenrz Ad-Free
8th October 2012, 08:59 AM |#63  
Scumbag Inc.'s Avatar
Senior Member
Flag Austin, TX
Thanks Meter: 20
 
More
I do not have a Superuser.apk in /system/app/ and the permissions for that folder are r/o.
edit:
1|shell@android:/system # ls -l /system/app/Superuser.apk
ls -l /system/app/Superuser.apk
/system/app/Superuser.apk: No such file or directory
1|shell@android:/system #
8th October 2012, 09:10 AM |#64  
OP Senior Member
Thanks Meter: 61
 
More
Quote:
Originally Posted by Scumbag Inc.

I do not have a Superuser.apk in /system/app/ and the permissions for that folder are r/o.

Ok, here's what you need to do.

Code:
adb push C:\(file location)\busybox /data/local/tmp
adb push C:\(file location)\Superuser.apk /data/local/tmp
adb shell
$ cd system
$ ./su-backup; su
# mount -o remount,rw /system
# dd if=/data/local/tmp/busybox of=/system/xbin/busybox
# dd if=/data/local/tmp/Superuser.apk of=/system/app/Superuser.apk
# chmod 755 /system/xbin/busybox
# chmod 644 /system/app/Superuser.apk
# chmod 6755 /system/xbin/su
# busybox cp /system/xbin/su /system/bin/su   *(for good measure...)
# ln -s /system/xbin/su /system/bin/su    *(ok if this fails out, may already exist)
# mount -o remount,ro /system
# exit
$ exit
adb reboot
Once you reboot, check with root checker basic or something. if you have any root apps installed already, odds are you will be greeted with a superuser prompt once you get past the lock screen.
The Following User Says Thank You to thenrz For This Useful Post: [ View ] Gift thenrz Ad-Free
8th October 2012, 09:34 AM |#65  
Scumbag Inc.'s Avatar
Senior Member
Flag Austin, TX
Thanks Meter: 20
 
More
No. Didn't work. It seems there is a problem with busybox. Let me give it one more shot. This looks promising though. Superuser.apk is in /system/app/ and su is in /system/bin/.
8th October 2012, 09:36 AM |#66  
OP Senior Member
Thanks Meter: 61
 
More
Quote:
Originally Posted by Scumbag Inc.

No. Didn't work. It seems there is a problem with busybox. Let me give it one more shot. This looks promising though. Superuser.apk is in /system/app/ and su is in /system/bin/.

You can try putting busybox in /system/bin .

So add this with the other dds

# dd if=/data/local/tmp/busybox of=/system/bin/busybox
# ln -s /system/bin/busybox /system/xbin/busybox

Are you able to just type su in the shell and have a root prompt?
The Following User Says Thank You to thenrz For This Useful Post: [ View ] Gift thenrz Ad-Free
8th October 2012, 09:47 AM |#67  
Scumbag Inc.'s Avatar
Senior Member
Flag Austin, TX
Thanks Meter: 20
 
More
Still not working. su Permission denied.
edit: OK I'm gettting # through adb shell!
8th October 2012, 09:53 AM |#68  
OP Senior Member
Thanks Meter: 61
 
More
Quote:
Originally Posted by Scumbag Inc.

Still not working. su Permission denied.

at a root prompt - type:

# /system/bin/su -v

curious as to your su binary version

Code:
adb push C:\(downloaded file)\su /data/local/tmp/
adb shell
$ su
# mount -o remount,rw /system
# rm /system/bin/su
# rm /system/xbin/su
# dd if=/data/local/tmp/su of=/system/bin/su
# chmod 6755 /system/bin/su
# chown 0.0 /system/bin/su
# mount -o remount,ro /system
# exit
$ exit
adb reboot
The Following User Says Thank You to thenrz For This Useful Post: [ View ] Gift thenrz Ad-Free
8th October 2012, 10:03 AM |#69  
Scumbag Inc.'s Avatar
Senior Member
Flag Austin, TX
Thanks Meter: 20
 
More
Quote:
Originally Posted by thenrz

at a root prompt - type:

# /system/bin/su -v

curious as to your su binary version

Going ahead with OP using su from OP... SUCCESS!!!!! :fireworks: :highfives: !!!!!

I can't thank you enough!! My sweet sweet root is back!!!! Oh how I missed her!!
8th October 2012, 10:07 AM |#70  
OP Senior Member
Thanks Meter: 61
 
More
Right on!!! Glad you are fixed up The su version screwed me op once, and my late night brain took a second to connect those dots.

Enjoy!

Make sure to install supersu. It will tidy up the entire situation for you (newest su versions, everything in the perfect place to help with future OTAs etc)


P.S. It makes me nervous every time putting 'rm' and 'su' in the same line in a shell... so that's why it was my last bit of advice hahaha
8th October 2012, 10:10 AM |#71  
Scumbag Inc.'s Avatar
Senior Member
Flag Austin, TX
Thanks Meter: 20
 
More
Do you have a donate button? I want to buy you a beer.... or 12
Post Reply Subscribe to Thread

Tags
prime, restore root, root, tf201

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes