adb shell getprop|findstr fingerprint
adb shell pm list packages
adb shell getprop|findstr oem/sn/user…
adb shell ps -ef |grep appstore
adb shell am startservice -n com.android.sdk/.DaemonService //系统服务
adb shell am start-foreground-service -n com.android.daemon/.DaemonService //应用服务
adb shell
dumpsys package com.android.settings
adb logcat -b events
am broadcast -a neostra.android.action.SILENCE_INSTALL -es “apkName” “com.tencent.mobileqq” -es “apkPath” “/sdcard/test.apk”
openssl pkcs8 -inform DER -nocrypt -in platform.pk8 -out platform.pem
openssl pkcs12 -export -in platform.x509.pem -out platform.p12 -inkey platform.pem -password pass:android -name androiddebugkey
keytool -importkeystore -deststorepass android -destkeystore ./platform.jks -srckeystore ./platform.p12 -srcstoretype PKCS12 -srcstorepass android
pm uninstall -k --user 0 com.android.gallery3d
1.通过命令使能开机向导
adb shell
settings put global device_provisioned 0
settings put secure user_setup_complete 0
pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardActivity
sync
reboot