|
楼主 |
发表于 2024-1-24 15:45:26
|
显示全部楼层
本帖最后由 King 于 2024-2-27 14:05 编辑
编译 可执行文件
pyinstaller -F -i D:\Tools\logo.png adbreboot.py
查看app 主activity
adb shell dumpsys activity recents | findstr "intent={"
查看内存
[backcolor=rgba(27, 31, 35, 0.05)]adb shell dumpsys meminfo
[backcolor=rgba(27, 31, 35, 0.05)]查看系统版本名
[backcolor=rgba(27, 31, 35, 0.05)]adb shell getprop ro.build.display.id
[backcolor=rgba(27, 31, 35, 0.05)]
[backcolor=rgba(27, 31, 35, 0.05)]查看 app 版本号
[color=rgba(0, 0, 0, 0.85)]adb shell dumpsys package <package_name> | grep versionName
[color=rgba(0, 0, 0, 0.85)]adb shell dumpsys package <package_name> | findstr versionName
getprop ro.build.date.utc
查询设备编译时间
python systrace.py -b 32768 -t 150 -o mytrace.html gfx input view webview wm am sm audio video camera hal app res dalvik rs bionic
power sched irq freq idle disk mmc load sync workq memreclaim regulators com.hezheng.pos
trace Android 性能
查询设备 mac地址
[color=rgba(0, 0, 0, 0.85)]adb shell cat /sys/class/net/eth0/address
[color=rgba(0, 0, 0, 0.85)]adb shell cat /sys/class/net/wlan0/address
[color=rgba(0, 0, 0, 0.85)]
|
|