Play Store cannot download apps #104

Closed
polyzen opened this Issue Dec 20, 2015 · 21 comments

Comments

Projects
None yet
2 participants
@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

Can you try toggling on the location permission in Settings -> Apps? These problems seem to happen in 6.0 when gapps is flashed after the OS is installed. It seems like a bug in the gapps bundles rather than a bug in the ROMs.

Contributor

thestinger commented Dec 20, 2015

Can you try toggling on the location permission in Settings -> Apps? These problems seem to happen in 6.0 when gapps is flashed after the OS is installed. It seems like a bug in the gapps bundles rather than a bug in the ROMs.

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen Dec 20, 2015

That did not do the trick

polyzen commented Dec 20, 2015

That did not do the trick

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

You might not have added it for the right application. I really don't think this class of permission issues is related to the ROM. It's just how Android 6.0 works. Google Play Services assumes it has permissions but it doesn't if it's not bundled with the ROM. It likely works better if it's installed from the start before the OS is ever booted.

Contributor

thestinger commented Dec 20, 2015

You might not have added it for the right application. I really don't think this class of permission issues is related to the ROM. It's just how Android 6.0 works. Google Play Services assumes it has permissions but it doesn't if it's not bundled with the ROM. It likely works better if it's installed from the start before the OS is ever booted.

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen Dec 20, 2015

chos and gapps were installed at the same time

polyzen commented Dec 20, 2015

chos and gapps were installed at the same time

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

And that was with a clean userdata partition?

Contributor

thestinger commented Dec 20, 2015

And that was with a clean userdata partition?

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen Dec 20, 2015

cache, dalvik, data, and system were wiped. userdata was not

polyzen commented Dec 20, 2015

cache, dalvik, data, and system were wiped. userdata was not

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

If userdata was from before gapps was installed, you'll need to manually enable the permissions for the gapps apps until it works. This applies to every ROM without Google Play built-in, not just CopperheadOS. Nothing that can be done about it without being a Google Partner from our end.

Contributor

thestinger commented Dec 20, 2015

If userdata was from before gapps was installed, you'll need to manually enable the permissions for the gapps apps until it works. This applies to every ROM without Google Play built-in, not just CopperheadOS. Nothing that can be done about it without being a Google Partner from our end.

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen Dec 20, 2015

Do they need to have all the permissions enabled? or just location?

polyzen commented Dec 20, 2015

Do they need to have all the permissions enabled? or just location?

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

Any of the permissions that they complain about. It's more than just location.

Contributor

thestinger commented Dec 20, 2015

Any of the permissions that they complain about. It's more than just location.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

If it's bundled from the start, then they likely get all the permissions enabled. So they're written with the assumption that they have all the permissions and can't handle Marshmallow's dynamic permission system as third party apps with API level >= 23 must do.

Contributor

thestinger commented Dec 20, 2015

If it's bundled from the start, then they likely get all the permissions enabled. So they're written with the assumption that they have all the permissions and can't handle Marshmallow's dynamic permission system as third party apps with API level >= 23 must do.

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen Dec 20, 2015

Alright, will go ahead and try all permissions..

polyzen commented Dec 20, 2015

Alright, will go ahead and try all permissions..

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen Dec 20, 2015

Enabled all permissions in Play Services, Google Services Framework, and Play Store. No luck yet

polyzen commented Dec 20, 2015

Enabled all permissions in Play Services, Google Services Framework, and Play Store. No luck yet

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

You need to look at the processes that are running, then cause the error to trigger and add it for the app that crashes due to the missing permission. It's clear that there's a missing permission from the log.

Contributor

thestinger commented Dec 20, 2015

You need to look at the processes that are running, then cause the error to trigger and add it for the app that crashes due to the missing permission. It's clear that there's a missing permission from the log.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

And you'll need to do that whenever this comes up, which it will since gapps was installed after the initial boot of the OS (reinstalling the OS without wiping userdata won't change that).

Contributor

thestinger commented Dec 20, 2015

And you'll need to do that whenever this comes up, which it will since gapps was installed after the initial boot of the OS (reinstalling the OS without wiping userdata won't change that).

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

If gapps is installed before the initial boot (as in the initial time that userdata is used) then I don't think the problem will occur. It's the reality of gapps bundles with Android 6.0, not a CopperheadOS issue. You'll find lots of people with similar problems in /r/CyanogenMod, etc.

Contributor

thestinger commented Dec 20, 2015

If gapps is installed before the initial boot (as in the initial time that userdata is used) then I don't think the problem will occur. It's the reality of gapps bundles with Android 6.0, not a CopperheadOS issue. You'll find lots of people with similar problems in /r/CyanogenMod, etc.

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen Dec 20, 2015

Okay, still looking. This did not occur on ChOS pre-AOSP nor CM

polyzen commented Dec 20, 2015

Okay, still looking. This did not occur on ChOS pre-AOSP nor CM

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

The same permission issues with gapps did exist there.

Contributor

thestinger commented Dec 20, 2015

The same permission issues with gapps did exist there.

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen Dec 20, 2015

I mean there was no problem installing apps from the play store. Did you notice this bit in the log?:
12-19 21:00:04.187 3139 3236 E Volley : [128] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/fdfe/delivery?doc=com.dre.weather&ot=1&st=EM6517MFGZ7vtzN3ndVB&vc=25 12-19 21:00:04.198 3139 3139 D Finsky : [1] InstallerTask$2.onErrorResponse: Received VolleyError 922 (Error retrieving information from server. [RPC:S-7:AEC-7 3UTV-T3CA-MAAOK])

polyzen commented Dec 20, 2015

I mean there was no problem installing apps from the play store. Did you notice this bit in the log?:
12-19 21:00:04.187 3139 3236 E Volley : [128] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/fdfe/delivery?doc=com.dre.weather&ot=1&st=EM6517MFGZ7vtzN3ndVB&vc=25 12-19 21:00:04.198 3139 3139 D Finsky : [1] InstallerTask$2.onErrorResponse: Received VolleyError 922 (Error retrieving information from server. [RPC:S-7:AEC-7 3UTV-T3CA-MAAOK])

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Dec 20, 2015

Contributor

The relevant error appears to be this: 12-19 21:00:06.392 3746 4316 E UploaderService: java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission. So you need to fix that before looking into other possibilities.

Contributor

thestinger commented Dec 20, 2015

The relevant error appears to be this: 12-19 21:00:06.392 3746 4316 E UploaderService: java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission. So you need to fix that before looking into other possibilities.

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen Dec 20, 2015

The permissions kicked in after rebooting \o/

polyzen commented Dec 20, 2015

The permissions kicked in after rebooting \o/

@polyzen polyzen closed this Dec 20, 2015

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen Dec 20, 2015

After re-restricting the permissions to try to narrow down what's needed, Play Store doesn't want to connect at all.. even after loosening permissions again (and rebooting). Will try to see what's going on.

Edit: Permissions were set to match those in CM

Edit2: It decided to work now..

polyzen commented Dec 20, 2015

After re-restricting the permissions to try to narrow down what's needed, Play Store doesn't want to connect at all.. even after loosening permissions again (and rebooting). Will try to see what's going on.

Edit: Permissions were set to match those in CM

Edit2: It decided to work now..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment