koush / Superuser

Other
1.48k stars 1k forks source link

connect failed with 2: No such file or directory #230

Open Vincent-C opened 10 years ago

Vincent-C commented 10 years ago

I've flashed the latest superuser.zip via CWM recovery, and then invoked "su" through an adb shell and a terminal emulator on my phone itself; neither option gets me a root shell. logcat output:

D/su      ( 4209): su invoked.
D/su      ( 4209): starting daemon client 2000 0
E/su      ( 4209): connect failed with 2: No such file or directory

However, the file clearly does exist:

$ ls -l /system/xbin/su                                           
-rwsr-sr-x root     root       311872 2014-02-08 02:13 su

This is with a unofficial CM 11 / android 4.4.2 rom (http://forum.xda-developers.com/showthread.php?t=2519414). Please let me know if there's any other info I can provide to debug this.

hoimizu commented 10 years ago

same here,with stock rom. Did you manage to get it fix?

Vincent-C commented 10 years ago

Unfortunately not, sorry

hoimizu commented 10 years ago

It turn out that the su deamon(install-recovery.sh) is not started.Flashing kernel fix the problem.

yuripol commented 10 years ago

Did someone managed to fix this problem? i Have a rooted stoke rom of android 4.3 (GMJ9). After rooting I has the SuperSu app, I have removed it and tried to install Koush's supersu with a flashabel zip. The installation finished fine but when i try to type "su" in the sell, i get the following message in the logcat: ( 6291): starting daemon client 10168 10168 ( 6292): connect failed with 2: No such file or directory

Is there any solution? or Kaush's superuser doesn't work on 4.3 stock roms?