[Android] ADB 指令
安卓【设置】中设置项大都可以使用settings命令设置
1 | usage: settings [--user <USER_ID> | current] get namespace key |
1.代理设置
1 |
|
2. 触摸点显示
1 | settings put system show_touches 1 # 启用 |
3. 触摸线跟踪
1 | settings put system pointer_location 1 # 启用 |
4. 清空数据
清空 userdata 和 cache
1 | adb shell "echo \"--wipe_data\" >> /cache/recovery/command" |
清空cache
1 | adb shell "echo \"--wipe_cache\" >> /cache/recovery/command" |
5. 升级
1 | adb push update.zip /cache/update_bak.zip |
6. 授权
1 | 授权 |