adb shell content query --uri content://settings/secure --projection value --where "name=\'android_id\'"
adb shell settings get secure android_id

查询android id的两种方式,第二个改成put可以设置android id

 

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
adb shell
su service call iphonesubinfo 1

查看imei

 

adb shell pm clear <packagename>

清理应用数据

 

adb shell dumpsys package <packagename>

查看应用详细信息

 

adb shell am start -n com.tencent.mm/.ui.LauncherUI

启动应用,例子里是微信

 

adb shell am broadcast -a android.intent.action.BOOT_COMPLETED

发送广播

 

adb shell am force-stop com.qihoo360.mobilesafe

关闭应用

 

adb shell input tap 50 250
adb shell input keyevent 26

模拟点击,模拟按下电源键

 

adb shell dmesg

内核日志

 

adb shell getprop ro.product.model

查看SystemProp

 

 

只记录了一些自己常用的,更多请参考

https://blog.csdn.net/zhichaosong/article/details/88795440

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄