FriendlyNeighborhoodShane / MinMicroG

Sources and scripts for MinMicroG installers. You shall find no prebuilt releases here.
GNU General Public License v3.0
316 stars 32 forks source link

Google Play Store and FakeStore is not installed for current user #7

Closed Nonononoki closed 4 years ago

Nonononoki commented 4 years ago

Version: 27th july 2020 OS: Android 10 (AEX) Phone: Sony XZ1 Compact

Complete noob here. I tried just installing the zip (both versions) as a Magisk module, but com.android.vending won't be installed for the only user on the phone and only states "App is not installed for current user" in the Settings. Any advice?

FriendlyNeighborhoodShane commented 4 years ago

Did you debloat Play store (com.android.vending) by hand (with pm uninstall -k --user 0) or some other debloating tool before? If yes, Android remembers that for the package name.

I'm not sure how to make it forget. Try extracting the APK and installing it by hand. Or with the pm install command. Or try pm clear com.android.vending from ADB/root terminal.

If you didn't, then I'm not sure why it appears so. Did you do something else with the Play Store on the ROM? In either case, clean flashing on a non-GApped ROM should definitely fix this.

Nonononoki commented 4 years ago

@FriendlyNeighborhoodShane Yes, the ROM had PlayStore pre-installed and I had to use an app to remove it (https://f-droid.org/repo/org.droidtr.deletegapps). I'll try your suggestions later, thanks a lot! EDIT: Works now when using pm clear com.android.vending as root in Termux! :) But I think it's possible to automate this in some way in MinMicroG

FriendlyNeighborhoodShane commented 4 years ago

@Nonononoki Cool.

It can be automated under certain conditions (only for updates in Magisk mode from the manager, you can't run pm in recovery) but you don't really want it to be. It'll wipe data for play store every time it's run.