copying an installed split-APK app results in missing files
Brought to you by:
zc2
Ghost Commander can be used to copy (or let's say "extract") installed apps.
This feature seems broken for split-APKs (also known as XAPK apps).
For example, let's say an XAPK file was installed (using "adb install-multiple") and consists of these parts:
org.example.apk
config.arm64_v8a.apk
config.mdpi.apk
After installing it, we use Ghost Commander to copy the Example app from the Android device. The result is a single "Example.apk" file (that's fine, of course, no problem there). However, that .apk file seems to be missing the resources from the "config.mdi.apk", for example.
May be worth looking into, because this is a very useful feature in Ghost Commander.
Cheers!
I've added an ability to create multiple apk files from a single application.
To install them back select all the relevant files, then long tap to pop up the menu and choose "Install". That works on the local native filesystem only.
Since I don't have an XAPK file and I don't know where I can get one, I cannot support it.
Guess, if XAPK is a just a zip (I don't have a proof or a disproof for that), the user could potentially create it manually from the exported apk files.
Please give a try:
https://sourceforge.net/projects/ghostcommander/files/Betas/Ghost%20Commander%201.64.1b3.apk/download
Last edit: zc2 2025-02-16
Hi! It seems to work wonderfully. Good work! Thank you.
I've tested it with some random XAPK file from apkpure.com:
Telegram 11.7.3 xapk file: https://apkpure.com/telegram/org.telegram.messenger
Virus scan results: https://www.virustotal.com/gui/file/69c1b159916f1cefa3667492a14d5080b129635f0a9fa9983862caccabcd4dc2
Last edit: bughunter2 2025-02-17
I've added some additional abilities:
Looks like there could be cases of xapk files with OBB resource files. I don't have such file to test with and I don't know where one could be taken from.
New beta version for testing: https://sourceforge.net/projects/ghostcommander/files/Betas/Ghost%20Commander%201.64.1b4.apk/download
Sounds good. (I haven't tested it.)
Cheers for going the extra kilometer though!