noob在这里。我刚拿到棒棒糖并植根我的nexus设备。我想进行一些更改,例如使用以下命令始终显示电池百分比:
adb shell content insert --uri content://settings/system --bind name:s:status_bar_show_battery_percent --bind value:i:1
我在哪里/在哪里输入此命令?我使用CF-Auto-Root。
答案 0 :(得分:2)
ADB Shell命令输入到Android设备连接到的系统的终端(通过USB),并且应该在该设备上启用了开发人员模式。如果您还不知道如何操作,请参阅以下链接:
http://developer.android.com/tools/device.html
查看“启用On-Device Developer选项”。
有许多资源可以帮助您学习ADB shell命令。我建议你从这些链接开始(加上更多):
http://developer.android.com/tools/help/adb.html https://www.youtube.com/watch?v=1WcYXpFCjFs
答案 1 :(得分:0)
下载adb / fastboot组合: http://forum.xda-developers.com/showthread.php?t=2317790
将ADB添加到路径变量中。 (为了更方便地访问adb);
在Windows上看这里有一个很好的教程: http://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access/
在Linux上,我建议通过apt-get install android-tools-adb
现在通过运行命令(Windows中的CMD; Linux中的终端)检查是否已正确安装它:
adb devices
确保您的设备已连接,并且已安装驱动程序(仅限Windows)以执行上述步骤!
如果您的设备已列出。您现在可以在您的问题中运行您的命令!!
祝你好运adb'ing ;-) 编辑: 当你得到上述答案时,正在写这篇文章。