ImranR98 / Obtainium

Get Android app updates straight from the source.
https://obtainium.imranr.dev
GNU General Public License v3.0
5.93k stars 140 forks source link

Updating from apkpure fails for certain apps (others work): #682

Open ArnoldSmith86 opened 11 months ago

ArnoldSmith86 commented 11 months ago

Screenshot_20230716-110838_Obtainium.png

Screenshot_20230716-110852_Obtainium.png

What details do you need?

ImranR98 commented 11 months ago

I'm able to install this with no issue. Could you try installing it manually without Obtainium?

ImranR98 commented 11 months ago

Actually try it with this new release first: https://github.com/ImranR98/Obtainium/releases/tag/v0.13.18-beta

ArnoldSmith86 commented 11 months ago

With new release: Screenshot_20230717-124911_Obtainium.png

ArnoldSmith86 commented 11 months ago

After uninstalling first: Screenshot_20230717-125110_Obtainium.png

ArnoldSmith86 commented 11 months ago

Installing using https://f-droid.org/en/packages/com.smartpack.packagemanager/ worked fine:

Screenshot_20230717-130210_Package Manager.png

Not sure how else to install XAPKs.

1xFF commented 11 months ago

I wonder if that config apk is actually being installed by that app

ArnoldSmith86 commented 11 months ago

It lets me select what to install. I have no idea how all that xapk stuff works, though.

ArnoldSmith86 commented 10 months ago

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 commented 9 months ago

Screenshot_20230916_224901.jpg

1xFF commented 9 months ago

@zen0bit That is caused by using a link with the mobile subdomain m.apkpure.com It should just be apkpure.com

543

YOGIAOGI commented 9 months ago

When I'm using the link without subdomain m, I get not found message when I want to add the app

1xFF commented 9 months ago

What's the full link you're trying to add?

YOGIAOGI commented 9 months ago

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%

ImranR98 commented 9 months ago

It's the /pl/ - will fix in the next release (not the main issue though).

ArnoldSmith86 commented 6 months ago

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.

ArnoldSmith86 commented 6 months ago

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