Показаны сообщения с ярлыком ADB. Показать все сообщения
Показаны сообщения с ярлыком ADB. Показать все сообщения

ADB Android

adb shell pm list packages
adb shell pm dump com.zhiliaoapp.musically | C:\msys64\usr\bin\grep.exe Instrumentation
adb shell pm dump com.zhiliaoapp.musically | C:\msys64\usr\bin\grep.exe "android.intent.action.SEND"

 

adb shell dumpsys window windows > aaaaa.txt 


Getting the name of the current activity via ADB

adb shell "dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'"
adb shell "dumpsys activity activities | grep ResumedActivity"


adb shell dumpsys package video.like

=========



adb shell input tap 601 1450
adb shell input tap 117 1389

adb backup -apk -all -shared -f adb.ab


adb -s emulator-5554 shell
adb -s 2624294010LA15CC shell

RE5887:/ $ settings put global verifier_verify_adb_installs 0

========

adb shell monkey -p your.app.package.name -c android.intent.category.LAUNCHER 1

com.google.android.contacts
adb root
adb shell su -c "radiooptions 8 4485799"
adb -s <serialno> shell am start -a android.intent.action.CALL -d tel:<PHONE_NUMBER>

adb shell dumpsys batterystats --charged <package-name>


adb shell pm list packages -s
adb shell am start -a android.intent.action.CALL -d tel:+<PHONE_NUMBER>
adb shell am start -a android.intent.action.SENDTO -d sms:+<PHONE_NUMBER> --es sms_body "Test Message from Technastic.com"

Перехват трафика андроид /Charles Debug Proxy

Launch Charles and enable traffic interception
Windows Proxy does not need to be activated




#----------------------------------------------------
adb reverse  --no-rebind tcp:8814 tcp:8888

#
adb shell am start -a android.intent.action.VIEW -d http://chls.pro/ssl

#[https] Install certificat from SD card and set current wifi proxy settings 127.0.0.1:8814 (localhost:8814)
adb shell am start -a android.settings.SETTINGS