Search code examples
androidapkadb

adb copy apk from system/app using pull command


it is possibile to copy with the command pull an apk from /system/app/ ? I would copy the player music of my samsung and make the porting of xperia z, it possible this?


Solution

  • Get the list of the packages available:

    adb shell pm list packages
    

    Get the path of the APK of the specified package name:

    adb shell pm path com.example.package
    

    Get the APK with the path returned from the previous command:

    adb pull <path_returned>