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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top