Question

The 'adb root' command's description says that it restarts the adbd with root permissions.

I tried it on my phone (Note 2 Android 4.3), which is not rooted, and it didn't work. I searched online, and I found that even on rooted devices, it can give error messages as "adbd cannot run as root in production builds".

My question is under what conditions will 'adb root' successfully restart adbd with root permissions ?

Thanks.

Était-ce utile?

La solution

adb root needs a development (aka debug) build with ro.debuggable=1

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top