Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Play Store cannot download apps #104
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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.
|
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
polyzen
commented
Dec 20, 2015
|
That did not do the trick |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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.
|
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
polyzen
commented
Dec 20, 2015
|
chos and gapps were installed at the same time |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
And that was with a clean userdata partition? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
polyzen
commented
Dec 20, 2015
|
cache, dalvik, data, and system were wiped. userdata was not |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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.
|
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
polyzen
commented
Dec 20, 2015
|
Do they need to have all the permissions enabled? or just location? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Dec 20, 2015
Contributor
Any of the permissions that they complain about. It's more than just location.
|
Any of the permissions that they complain about. It's more than just location. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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.
|
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
polyzen
commented
Dec 20, 2015
|
Alright, will go ahead and try all permissions.. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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.
|
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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).
|
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). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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.
|
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
polyzen
commented
Dec 20, 2015
|
Okay, still looking. This did not occur on ChOS pre-AOSP nor CM |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
The same permission issues with gapps did exist there. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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?: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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.
|
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
polyzen
commented
Dec 20, 2015
|
The permissions kicked in after rebooting \o/ |
polyzen
closed this
Dec 20, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
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.. |
polyzen commentedDec 20, 2015
screenshot
logcat