• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root HELP-Deleted su file... How can I restore...?

Hi,

I've been having problems with my root and superuser. I tried to install supersu also but was crashing every time. The superuser could not get the new su version and generally my acer A100 acted as not rooted. I tried to do the rooting process again and again with no luck. I downloaded the latest su version and tried the commands again.

Then it crossed my mind to remove the old su from xbin (since I got the new version) and give the commands. So I rm it but then I gave it a closer look and saw that the command did not copy the new su to xbin but was using the cat command. The commands I gave are
(The su version is supposed to be the latest one)

$ export PATH=/data/local/bin:$PATH
$ pwd
/
$ cd sdcard
$ /system/bin/cmdclient ec_micswitch '`mount -o remount,rw /system`'
$ /system/bin/cmdclient ec_micswitch '`cat /mnt/sdcard/su >/system/xbin/su`'
$ /system/bin/cmdclient ec_micswitch '`chmod 6755 /system/xbin/su`'
$ ls /system/xbin/su
/system/xbin/su
$ su --version
0.83:SUPERSU
$ /system/bin/cmdclient ec_micswitch '`mount -o remount,rw /system`'
$ /system/bin/cmdclient ec_micswitch '`cat /mnt/sdcard/su >/system/xbin/su`'
$ /system/bin/cmdclient ec_micswitch '`chmod 6755 /system/xbin/su`'
$ ls /system/xbin/su
/system/xbin/su
$ su --version
0.83:SUPERSU
$ rm /system/xbin/su
rm failed for /system/xbin/su, Permission denied
$ ls -al /system/xbin/su
-rwsr-sr-x root root 91980 2012-03-24 01:40 su
$ /system/bin/cmdclient ec_micswitch '`chmod 6777 /system/xbin/su`'
$ ls -al /system/xbin/su
-rwsrwsrwx root root 91980 2012-03-24 01:40 su
$ rm /system/xbin/su
rm failed for /system/xbin/su, Permission denied
$ mv /system/xbin/su /mnt/sdcard/temp
failed on '/system/xbin/su' - Cross-device link
$ /system/bin/cmdclient ec_micswitch '`rm /system/xbin/su`'
$ /system/bin/cmdclient ec_micswitch '`mount -o remount,rw /system`'
$ /system/bin/cmdclient ec_micswitch '`cat /mnt/sdcard/su >/system/xbin/su`'
$ /system/bin/cmdclient ec_micswitch '`chmod 6755 /system/xbin/su`'
$ ls /system/xbin/su
/system/xbin/su: No such file or directory

Now I have no su file... how can I restore it? Can anyone send me the su from their A100 (I guess it would be the same)

I can't understand why the rooting stopped. It use to work ok...maybe the interference of superuser and supersu caused this..
It happened after a restart...

Anyhow... how do I get my root back...? Any ideas...?

Sent from my A100 using Tapatalk
 
I did it... I tried a few different su versions I had downloaded in the past and one worked... with superuser ... the supersu crashes....

I got rid of supersu and through superuser I updated the su file..it worked like a charm

Sent from my A100 using Tapatalk
 
I did it... I tried a few different su versions I had downloaded in the past and one worked... with superuser ... the supersu crashes....

I got rid of supersu and through superuser I updated the su file..it worked like a charm

Sent from my A100 using Tapatalk

y u just don't flash to ics rom 4.0.3 but it will kick off ur root
 
Back
Top Bottom