yeriomin / YalpStore

Download apks from Google Play Store
GNU General Public License v2.0
2.39k stars 258 forks source link

Add a way to install a split APK even when root is disabled #547

Closed Rudloff closed 5 years ago

Rudloff commented 6 years ago

Is your feature request related to a problem? Please describe. Yalp 0.4.5 refuses to install a split APK when root is not enabled. But some apps like Google Maps can work even if only the first APK is installed (but the app will be in English only).

Describe the solution you'd like It would be useful to have a way to force the installation of a split APK.

Describe alternatives you've considered I think this could be either:

romanblanco commented 5 years ago

I have a problem with the split APKs since https://github.com/yeriomin/YalpStore/releases/tag/0.44

Even though I've enabled root access for apps, I'm still getting the message "The apk is split. Choose root or privileged installers". The app does not seem to even try to require root access to install the app.

Does the app need to be listed in some list of allowed apps other than "Install unknown apps", to be able to proceed the installation?

Rudloff commented 5 years ago

You probably need to enable the root installation method in Yalp preferences.

Machion commented 5 years ago

I see more and more APKs are split on playstore, but I have a non-rooted device. So solving this problem would be great.

johntam commented 5 years ago

I see more and more APKs are split on playstore, but I have a non-rooted device. So solving this problem would be great.

Yes, I have non-rooted device too. The most important app that is split is YouTube. I am falling several versions behind now.

Catfriend1 commented 5 years ago

Does this post help to see a direction how to solve this? https://stackoverflow.com/questions/42494382/how-to-share-split-apks-created-while-using-instant-run-within-android-itself/42873816#42873816

Catfriend1 commented 5 years ago

https://gist.github.com/WanghongLin/12eb8c0a6880c6b63dc476a78ef9eb72

anuraag488 commented 5 years ago

https://github.com/Aefyr/SAI

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

je-vv commented 5 years ago

I guess aurora suffering the same fate?

je-vv commented 5 years ago

AFAIK, Aurora Store is allowing split APKs installations.

comzeradd commented 5 years ago

Indeed. I switched to Aurora and finally got to update some apps.

qazip commented 5 years ago

Ya, how am I supposed to install split packages while using Yalp? Is "install as root" in yalp's preferences safe? Is it recommended?

aki-k commented 5 years ago

@qazip Use "Get local apk" in Yalp store ... menu and then use a file manager to install the apk from Downloads. There will be two apks for one app but only one is needed for the update.

rancidfrog commented 5 years ago

There are open source solutions. If aurora has the option, it should be backported, as aurora is just a fork of this project. Also, SAI installs without root. So there are multiple working open-source solutions Why can't yalpstore handle split apks, since there are open source solutions?

SAI works well, no root required https://github.com/Aefyr/SAI

Also, have not tested - https://gist.github.com/WanghongLin/12eb8c0a6880c6b63dc476a78ef9eb72

jhoc2000 commented 5 years ago

Aurora store does not download using Orbot and anonymous for me. I'm using android version 9.

sebma commented 5 years ago

Do you have plans to release a new version in 2019 that fixes this issue ?

Aspire1Inspire2 commented 5 years ago

Paypal cannot be updated. This issue is one of the critial issue on non-root device. Is there any update on this?

ghost commented 5 years ago

Aurora does not even ask for root privileges for me and installing the Revolut app fails.

adlisval commented 5 years ago

I have the same problem. More and more apps are split and using YalpStore is not helping anymore. Tried Aurora, but it cannot install split apk:s either. Please release a fix for this.

gregoa commented 5 years ago

On Tue, 02 Jul 2019 06:40:31 -0700, adlisval wrote:

I have the same problem. More and more apps are split and using YalpStore is not helping anymore. Tried Aurora, but it cannot install split apk:s either. Please release a fix for this.

There are 2 "Auroras":

The older one at https://f-droid.org/en/packages/com.dragons.aurora/

and the newer (linked from there) at https://f-droid.org/en/packages/com.aurora.store/

and the latter handles split apks fine.

Cheers, gregor

johntam commented 5 years ago

There is a way, albeit not ideal, to install the split apk apps. Just go to your file manager in Android, go to the Downloads folder or wherever the apks are temporarily downloaded to, and then just open the .apk files from there. They should install as normal. This is how I update the Youtube app nowadays, I just use Yalp Store for the 90% of apps that are not split apks.

sebma commented 5 years ago

On Tue, 02 Jul 2019 06:40:31 -0700, adlisval wrote: I have the same problem. More and more apps are split and using YalpStore is not helping anymore. Tried Aurora, but it cannot install split apk:s either. Please release a fix for this. There are 2 "Auroras": The older one at https://f-droid.org/en/packages/com.dragons.aurora/ and the newer (linked from there) at https://f-droid.org/en/packages/com.aurora.store/ and the latter handles split apks fine. Cheers, gregor

I'm sorry but on my Android 5.0 on my Galaxy Note 3, the later "Auroras" is not able to handle split apks either.

je-vv commented 5 years ago

v3.0.6 should, it's the one currently working for me (g-photos and g-drive)

Welteam commented 5 years ago

For some reasons the f-droid website gives the 3.0.6 but the f-droid app installs the 2.0.5. The later doesn't handle split apk

sebma commented 5 years ago

v3.0.6 should, it's the one currently working for me (g-photos and g-drive)

I do have Aurora v3.0.6 (see the 1st screenshot) on my Galaxy Note 3 (android 5.0) but the installation of any apk (split or not) always fails, it says "App not found" (see the 2nd screenshot).

myAurora_Version

Aurora_Issue_App_not_found

codethief commented 5 years ago

For me, installing split apks with the new Aurora (v3.0.6) (which I installed through F-Droid) works fine.

@sebma I suggest you report the bug to the Aurora developer (https://gitlab.com/AuroraOSS/AuroraStore/issues) and link to it here? On a different note, maybe this commit from 6 days ago is going to fix your issue?

sebma commented 5 years ago

@codethief Thanks, codethief. I hope you're not a code thief, though, just kidding, lol.

I have create the issue https://gitlab.com/AuroraOSS/AuroraStore/issues/113.

jhoc2000 commented 5 years ago

I've now replaced Yalp Store with Aurora Store on my phone. AS works much better than YS.

Thanks for the tip.

On 7 July 2019 23:11:53 GMT+10:00, codethief notifications@github.com wrote:

For me, installing split apks with the new Aurora (v3.0.6) (which I installed through F-Droid) works fine.

@sebma I suggest you report the bug to the Aurora developer (https://gitlab.com/AuroraOSS/AuroraStore/issues) and link to it here? On a different note, maybe https://gitlab.com/AuroraOSS/AuroraStore/commit/a674c53ff43ffa8c988062ca053f5c2186784ca6 from 6 days ago is going to fix your issue?