Reputation: 57
I'm having a hard time extracting APKs from my phone through ADB.
I tested my method with a random app: 2FAS
First, I use the command: adb shell pm list package
to get the list of apps from my phone.
Then, I use the command: adb shell pm path com.twofasapp
to get the path of the APK.
Finally, I use the command adb pull /data/app/com.twofasapp/base.apk
to pull the APK.
But here is the problem, the size of the APK that gets pulled from my phone it's a lot smaller than the one posted on APK Mirror even though is the same version of the app. The one I pulled from my phone is 14.50 MB while the one from APK Mirror is 55.77 MB.
It looks like the adb pull command it's not pulling the full version. Why is that?
How can I pull the full APK?
Thanks in advance!
Upvotes: 0
Views: 2712
Reputation: 161
As has been pointed out, you can't pull the full (for all platforms) version of APK from the phone, if it only has a version for its platform. But you can pull the full version from the Play Store directly, for example using the APK DOWNLOADER at Apkcombo.com: https://apkcombo.com/downloader/ I recommend specifying the device and architecture, as the default settings give an error sometimes.
Upvotes: 2