Obtainium
Obtainium copied to clipboard
Updating from apkpure fails for certain apps (others work):
What details do you need?
I'm able to install this with no issue. Could you try installing it manually without Obtainium?
Actually try it with this new release first: https://github.com/ImranR98/Obtainium/releases/tag/v0.13.18-beta
With new release:
After uninstalling first:
Installing using https://f-droid.org/en/packages/com.smartpack.packagemanager/ worked fine:
Not sure how else to install XAPKs.
I wonder if that config apk is actually being installed by that app
It lets me select what to install. I have no idea how all that xapk stuff works, though.
Not sure if this helps but:
:/data/local/tmp # cp /storage/emulated/0/Android/data/dev.imranr.obtainium/cache/com.agilexrobotics-523288793.xapk-dir/*apk .
:/data/local/tmp # ls -l
total 71180
-rw-r----- 1 root root 34735574 2023-08-16 10:39 com.agilexrobotics.apk
-rw-r----- 1 root root 45465 2023-08-16 10:39 config.ar.apk
-rw-r----- 1 root root 35960961 2023-08-16 10:39 config.arm64_v8a.apk
-rw-r----- 1 root root 192921 2023-08-16 10:39 config.de.apk
-rw-r----- 1 root root 225689 2023-08-16 10:39 config.en.apk
-rw-r----- 1 root root 323993 2023-08-16 10:39 config.es.apk
-rw-r----- 1 root root 201113 2023-08-16 10:39 config.fr.apk
-rw-r----- 1 root root 74137 2023-08-16 10:39 config.hi.apk
-rw-r----- 1 root root 41369 2023-08-16 10:39 config.in.apk
-rw-r----- 1 root root 168345 2023-08-16 10:39 config.it.apk
-rw-r----- 1 root root 78233 2023-08-16 10:39 config.ja.apk
-rw-r----- 1 root root 78233 2023-08-16 10:39 config.ko.apk
-rw-r----- 1 root root 37273 2023-08-16 10:39 config.my.apk
-rw-r----- 1 root root 78233 2023-08-16 10:39 config.pt.apk
-rw-r----- 1 root root 82329 2023-08-16 10:39 config.ru.apk
-rw-r----- 1 root root 33177 2023-08-16 10:39 config.th.apk
-rw-r----- 1 root root 33177 2023-08-16 10:39 config.tr.apk
-rw-r----- 1 root root 37273 2023-08-16 10:39 config.vi.apk
-rw-rw---- 1 root everybody 124926 2023-08-16 10:39 config.xhdpi.apk
-rw-r----- 1 root root 184729 2023-08-16 10:39 config.zh.apk
:/data/local/tmp # pm install *apk
Success
(Without moving to the temp dir, pm install
told me that it couldn't access the file. Note that I can install other apps using Obtainium just fine. I'm not sure if maybe all xapk apps fail, though.)
@zen0bit That is caused by using a link with the mobile subdomain m.apkpure.com It should just be apkpure.com #543
When I'm using the link without subdomain m, I get not found message when I want to add the app
What's the full link you're trying to add?
That's the link.
https://apkpure.com/pl/douyin/com.ss.android.ugc.aweme
I found out that, when I tried to add call of duty warzone mobile, it worked, but download process was stuck at 0%
It's the /pl/
- will fix in the next release (not the main issue though).
This got a lot better with recent releases BTW. I don't get errors anymore but every now and then an update renders an app useless. It's still installed but apparently missing some of its split apks. It's still installed but usually doesn't get past its splash screen.
Most of the time updates work fine now though.
This got a lot better with recent releases BTW. I don't get errors anymore but every now and then an update renders an app useless. It's still installed but apparently missing some of its split apks. It's still installed but usually doesn't get past its splash screen.
Most of the time updates work fine now though.
I noticed that this happens because APKPure usually distributes an APK or XAPK, and when a XAPK is uploaded, Obtanium won't be able to install the app correctly. This issue has been open for a lot of time, is this going to get fixed or there is no known solution?
https://apkpure.com/discord-talk-chat-hang-out/com.discord 210.10 broke my app again.
Fixed by manually downloading apk from https://www.apkmirror.com/apk/discord-inc/discord-chat-for-gamers/discord-chat-for-gamers-210-10-stable-release/discord-talk-chat-hang-out-210-10-stable-android-apk-download/ (apkpure.com seems to be down) to /data/local/tmp
and using pm install
:
:/data/local/tmp # unzip /sdcard/Download/com.discord_210.10_-_Stable-210010_4arch_4dpi_20lang_4dd1f8eb07d9593d231c151823f28841_apk>
Archive: /sdcard/Download/com.discord_210.10_-_Stable-210010_4arch_4dpi_20lang_4dd1f8eb07d9593d231c151823f28841_apkmirror.com.apkm
inflating: split_config.en.apk
[...]
inflating: split_config.arm64_v8a.apk
:/data/local/tmp # ls -l
total 295916
-rw-r--r-- 1 root root 58 2024-01-05 13:56 APKM_installer.url
drwxr-xr-x 2 root root 4096 2024-01-05 13:56 META-INF
-rw-r--r-- 1 root root 63800600 2024-01-05 13:56 base.apk
-rw-r--r-- 1 root root 7656 2024-01-05 13:54 discord
-rw-r--r-- 1 root root 8976 2024-01-05 13:56 icon.png
-rw-r--r-- 1 root root 1107 2024-01-05 13:56 info.json
-rw-r--r-- 1 root root 29081 2024-01-05 13:56 split_config.ar.apk
-rw-r--r-- 1 root root 48818414 2024-01-05 13:56 split_config.arm64_v8a.apk
-rw-r--r-- 1 root root 34359684 2024-01-05 13:56 split_config.armeabi_v7a.apk
-rw-r--r-- 1 root root 33177 2024-01-05 13:56 split_config.bn.apk
-rw-r--r-- 1 root root 29081 2024-01-05 13:56 split_config.de.apk
-rw-r--r-- 1 root root 49561 2024-01-05 13:56 split_config.en.apk
-rw-r--r-- 1 root root 37273 2024-01-05 13:56 split_config.es.apk
-rw-r--r-- 1 root root 37273 2024-01-05 13:56 split_config.fr.apk
-rw-r--r-- 1 root root 33177 2024-01-05 13:56 split_config.gu.apk
-rw-r--r-- 1 root root 33177 2024-01-05 13:56 split_config.hi.apk
-rw-r--r-- 1 root root 29081 2024-01-05 13:56 split_config.in.apk
-rw-r--r-- 1 root root 29081 2024-01-05 13:56 split_config.it.apk
-rw-r--r-- 1 root root 29081 2024-01-05 13:56 split_config.ja.apk
-rw-r--r-- 1 root root 33177 2024-01-05 13:56 split_config.kn.apk
-rw-r--r-- 1 root root 9052915 2024-01-05 13:56 split_config.mdpi.apk
-rw-r--r-- 1 root root 33177 2024-01-05 13:56 split_config.mr.apk
-rw-r--r-- 1 root root 29081 2024-01-05 13:56 split_config.ms.apk
-rw-r--r-- 1 root root 29081 2024-01-05 13:56 split_config.nl.apk
-rw-r--r-- 1 root root 37273 2024-01-05 13:56 split_config.pt.apk
-rw-r--r-- 1 root root 33177 2024-01-05 13:56 split_config.ru.apk
-rw-r--r-- 1 root root 33177 2024-01-05 13:56 split_config.ta.apk
-rw-r--r-- 1 root root 33177 2024-01-05 13:56 split_config.te.apk
-rw-r--r-- 1 root root 51832620 2024-01-05 13:56 split_config.x86.apk
-rw-r--r-- 1 root root 54024205 2024-01-05 13:56 split_config.x86_64.apk
-rw-r--r-- 1 root root 10245096 2024-01-05 13:56 split_config.xhdpi.apk
-rw-r--r-- 1 root root 14907795 2024-01-05 13:56 split_config.xxhdpi.apk
-rw-r--r-- 1 root root 15034840 2024-01-05 13:56 split_config.xxxhdpi.apk
-rw-r--r-- 1 root root 45465 2024-01-05 13:56 split_config.zh.apk
:/data/local/tmp # rm split_config.armeabi_v7a.apk split_config.x86.apk split_config.x86_64.apk
:/data/local/tmp # pm install *apk
Success
Can confirm, trying to install the MediaMarkt Deutschland and Saturn apps, crash immediately on start..
I tried with a few apps with apks format and even on different devices and it doesn't work for any such app. It always says "unable to parse apk (incompatible or partial download)". For example, https://apkpure.net/de/netflix/com.netflix.mediaclient .
And when installing APKs from uptodown for example, the same happens. So i think Obtainium has generally a problem with installing APKs / XAPK.