Skip to content

Instantly share code, notes, and snippets.

@ptantiku
Created December 21, 2018 13:47
Show Gist options
  • Save ptantiku/b49339b1a6d42b0b2848dd7b77061da5 to your computer and use it in GitHub Desktop.
Save ptantiku/b49339b1a6d42b0b2848dd7b77061da5 to your computer and use it in GitHub Desktop.

Extracting APK file from an android device

ref: https://geekeasier.com/extract-apk-file-of-android-app-without-root/4769/

  1. adb devices, this is to check whether your devices is connected or not
  2. adb shell pm list packages, this lists down all the packages name. Select whatever package name you want to extract.
  3. adb shell pm path package-name, selects the package you want to extract, this will give you the full path of the package, copy it down in the next step.
  4. adb pull /data/app/package-path desired/path, extracts the package to the desired specified location.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment