Skip to content

mobilehackinglab/pull-xapk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

pull_xapk

Pull any installed Android app from your device and package it as an .xapk file — no root required.

pull_xapk demo

Requirements

  • An Android device (physical or emulator) with Play Store and USB debugging enabled
  • Android Studio with ADB and aapt2 (included in Platform-Tools and Build-Tools)

Usage

./pull_xapk.sh <package_name> [adb_serial]

Find the package name

List all third-party (user-installed) apps on the device:

adb shell pm list packages -3

Filter by keyword:

adb shell pm list packages -3 | grep chrome

Pull the app

./pull_xapk.sh com.android.chrome

# Or specify a device/emulator
./pull_xapk.sh com.android.chrome emulator-5554

Output

Creates <package>_v<version>.xapk and a <package>_xapk/ directory with the individual split APKs.

Install on another device or emulator

cd <package>_xapk/
adb install-multiple *.apk

This is useful for pulling an app from a non-rooted device and installing it on a rooted emulator for dynamic analysis.

About

Pull any installed Android app from your device as XAPK - no root required

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages