Forrest logo
back to context overview

adb-shell

List of commands for adb-shell:

  • adb-shell:tldr:365cd adb-shell: Revert all runtime permissions to their default.
    $ adb shell pm reset-permissions
    try on your machine
    explain this command
  • adb-shell:tldr:3a7d0 adb-shell: Start the home activity on an emulator or device.
    $ adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN
    try on your machine
    explain this command
  • adb-shell:tldr:82218 adb-shell: Revoke a dangerous permission for an application.
    $ adb shell pm revoke ${package} ${permission}
    try on your machine
    explain this command
  • adb-shell:tldr:8c3fd adb-shell: Start an activity on emulator or device.
    $ adb shell am start -n ${package}/${activity}
    try on your machine
    explain this command
  • adb-shell:tldr:92364 adb-shell: Trigger a key event.
    $ adb shell input keyevent ${keycode}
    try on your machine
    explain this command
  • adb-shell:tldr:a783e adb-shell: Start a remote interactive shell on the emulator or device.
    $ adb shell
    try on your machine
    explain this command
  • adb-shell:tldr:c81c5 adb-shell: Get all the properties from emulator or device.
    $ adb shell getprop
    try on your machine
    explain this command
  • adb-shell:tldr:e1627 adb-shell: Clear the data of an application on an emulator or device.
    $ adb shell pm clear ${package}
    try on your machine
    explain this command
back to context overview