(ADB) Interact with adnroid device connected - rlasjunies/kct GitHub Wiki

connected devices

  • list all the connected devices
    adb devices -l

package

  • install
    adb -s 4300f45996cec075 install -d -r ***kct/platforms/android/build/outputs/apk/release/kct-signed.apk

  • remove
    adb -s 4300f45996cec075 uninstall ***kct/platforms/android/build/outputs/apk/release/kct-signed.apk

  • list all package from the shell
    pm list packages -f

shell

  • open a remote shell using adb
    adb shell

  • open a remote shell on a specific device
    adb -s 4300f45996cec075 shell

  • then list the IP address
    ip address

  • quit the shell
    exit