Obtain root access via su on the Android emulator

后端 未结 3 629
忘掉有多难
忘掉有多难 2020-11-30 06:50

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         


        
3条回答
  •  广开言路
    2020-11-30 07:49

    I was able to get superuser.apk to stay between reboots by deleting /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.

提交回复
热议问题