koush / Superuser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

su is returning 255 on android 4.1 device

Miwer opened this issue · comments

Hi,

I'm having trouble gaining superuser access with superuser 1.0.3.0.
Whenever i run 'su' in a shell it just returns 255 and I do not have superuser access.

The device is a 3rd party car radio running Android 4.1

After installation of superuser (via exploit unknown to me) I can gain superuser access, because su is running as a daemon, but when I reboot the device, it does not start the daemon, and I cannot get superuser access. I suspect it's because of the missing daemon.

I have no way of modifying the boot process, and as such cannot get 'su --daemon' launched during boot. Is there any way to get the su binary working without the daemon process?

'su' has worked with this device in the past, but an update to the firmware has caused this problem.

If anyone can guide me on troubleshooting this, I'd be happy to provide more info.