我试着让systrace提供磁盘输出。
我的设备的根根,我可以切换到超级用户在亚行外壳刚刚好。
python systrace.py -d -o ~/systrace1.html 产生
'error: tracing disk activity requires root privileges'如果我试图通过运行root权限重新启动adb
adb root我得到了
'adbd cannot run as root in production builds'也许我只是不明白“生产构建”是什么意思。任何洞察力都将不胜感激。
发布于 2013-09-13 20:32:50
亚行来源会这样做:
property_get("ro.debuggable", value, "");
if (strcmp(value, "1") != 0) {
snprintf(buf, sizeof(buf), "adbd cannot run as root in production builds\n");换句话说,如果它没有将ro.debuggable设置为1,它将不允许您运行adb root。检查/default.prop的内容。
https://stackoverflow.com/questions/18793621
复制相似问题