1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
| getevent
getevent -p
getevent /dev/input/event1 | grep -e "0035" -e "0036"
install test.apk
getprop ro.product.model
getprop ro.build.version.release
screencap /sdcard/test.png
input keyevent 82 input text XXXX input tap 200 100 input swipe 200 800 200 300
service list
uiautomator dump
dumpsys -l
dumpsys window | grep mCurrentFocus
dumpsys SurfaceFlinger
dumpsys activity oom dumpsys activity activities dumpsys activity top dumpsys activity intents
dumpsys activity -p com.tencent.wework
dumpsys package com.tencent.wework
am force-stop com.tencent.wework
am start -n com.tencent.mm/.ui.LauncherUI am start -n com.tencent.wework/.launch.LaunchSplashActivity
am start -a android.intent.action.CALL -d tel:10086
pm list package
pm path com.tencent.wework
pm dump com.tencent.wework
pm clear com.tencent.wework
run-as com.tencent.mm
wm size wm density
pm grant [packageName] android.permission.WRITE_SECURE_SETTINGS
settings get secure enabled_accessibility_services
settings put secure enabled_accessibility_services com.maruko.qwdemo/com.maruko.qwdemo.service.StatusAccessibilityService
settings put secure accessibility_enabled 1
|