I need to get root access via su to lunch a TcpDump binary (I am working on a sort of android sniffer). I use this code :
try { Process process = Runtime
I was able to get superuser.apk to stay between reboots by deleting /system/app/SdkSetup.apk
/system/app/SdkSetup.apk
I just checked again now and it was recreated, but I still have Superuser.apk between my reboots.
I would also recommend pushing a busybox binary along with su.