Hardware: Samsung Galaxy S2, GT-I1900
History: This device was rooted and running CM11.
Problem: I tried loading CM12 but Google Play Services and Play Store apps were missing after the install. (As part of the install I formatted /system and did a factory reset.)
I've tried reloading CM11 but have the same problem - so I've switch back to CM12.
ROM: CM12-20150211-UNOFFICIAL-i9100 (downloaded from http://forum.xda-developers.com/gala...od-12-t2955551)
gapps: I've tried various gapps packages, including cm12_gapps-lp-20141109-signed.zip
Q: Why are these two apps missing?
When I going into Settings / Accounts there is no option to create a Google account. I presume this is because Play Services is missing. Is this correct?
With regard to gapps: I've tried not loading that zip and installing Play Services from a downloaded APK (http://www.apkmirror.com/apk/google-...-apk-download/). This purports to be version 6.7.76. This gives the following:
F/GmsApplication( 3752): Unable to install secure provider, due to exception:
F/GmsApplication( 3752): java.lang.SecurityException: attempting to read gservices without permission: Neither user 10058 nor current process has com.google.android.providers.gsf.permission.READ_G SERVICES.
F/GmsApplication( 3752): at android.app.ContextImpl.enforce(ContextImpl.java:1 920)
F/GmsApplication( 3752): at android.app.ContextImpl.enforceCallingOrSelfPermis sion(ContextImpl.java:1949)
F/GmsApplication( 3752): at android.content.ContextWrapper.enforceCallingOrSel fPermission(ContextWrapper.java:593)
F/GmsApplication( 3752): at com.google.android.gsf.f.c(SourceFile:107)
F/GmsApplication( 3752): at com.google.android.gsf.f.a(SourceFile:121)
F/GmsApplication( 3752): at com.google.android.gsf.f.a(SourceFile:227)
F/GmsApplication( 3752): at com.google.android.gms.common.a.l.a(SourceFile:281 )
F/GmsApplication( 3752): at com.google.android.gms.common.a.e.a(SourceFile:199 )
F/GmsApplication( 3752): at com.google.android.gms.common.a.d.b(SourceFile:177 )
F/GmsApplication( 3752): at com.google.android.gms.common.a.d.c(SourceFile:188 )
F/GmsApplication( 3752): at com.google.android.gms.common.security.ProviderIns tallerImpl.insertProviderGated(SourceFile:90)
F/GmsApplication( 3752): at com.google.android.gms.common.app.GmsApplication.o nCreate(SourceFile:104)
F/GmsApplication( 3752): at android.app.Instrumentation.callApplicationOnCreat e(Instrumentation.java:1011)
F/GmsApplication( 3752): at android.app.ActivityThread.handleBindApplication(A ctivityThread.java:4553)
F/GmsApplication( 3752): at android.app.ActivityThread.access00(ActivityThr ead.java:147)
F/GmsApplication( 3752): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1357)
F/GmsApplication( 3752): at android.os.Handler.dispatchMessage(Handler.java:10 2)
F/GmsApplication( 3752): at android.os.Looper.loop(Looper.java:135)
F/GmsApplication( 3752): at android.app.ActivityThread.main(ActivityThread.jav a:5256)
F/GmsApplication( 3752): at java.lang.reflect.Method.invoke(Native Method)
F/GmsApplication( 3752): at java.lang.reflect.Method.invoke(Method.java:372)
F/GmsApplication( 3752): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:898)
F/GmsApplication( 3752): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:693)
I've tried adding the permission com.google.android.providers.gsf.permission.READ_G SERVICES to the Play Services package via adb but that permission is not recognised.
HELP!
Thanks in advance,
Kevin
History: This device was rooted and running CM11.
Problem: I tried loading CM12 but Google Play Services and Play Store apps were missing after the install. (As part of the install I formatted /system and did a factory reset.)
I've tried reloading CM11 but have the same problem - so I've switch back to CM12.
ROM: CM12-20150211-UNOFFICIAL-i9100 (downloaded from http://forum.xda-developers.com/gala...od-12-t2955551)
gapps: I've tried various gapps packages, including cm12_gapps-lp-20141109-signed.zip
Q: Why are these two apps missing?
When I going into Settings / Accounts there is no option to create a Google account. I presume this is because Play Services is missing. Is this correct?
With regard to gapps: I've tried not loading that zip and installing Play Services from a downloaded APK (http://www.apkmirror.com/apk/google-...-apk-download/). This purports to be version 6.7.76. This gives the following:
F/GmsApplication( 3752): Unable to install secure provider, due to exception:
F/GmsApplication( 3752): java.lang.SecurityException: attempting to read gservices without permission: Neither user 10058 nor current process has com.google.android.providers.gsf.permission.READ_G SERVICES.
F/GmsApplication( 3752): at android.app.ContextImpl.enforce(ContextImpl.java:1 920)
F/GmsApplication( 3752): at android.app.ContextImpl.enforceCallingOrSelfPermis sion(ContextImpl.java:1949)
F/GmsApplication( 3752): at android.content.ContextWrapper.enforceCallingOrSel fPermission(ContextWrapper.java:593)
F/GmsApplication( 3752): at com.google.android.gsf.f.c(SourceFile:107)
F/GmsApplication( 3752): at com.google.android.gsf.f.a(SourceFile:121)
F/GmsApplication( 3752): at com.google.android.gsf.f.a(SourceFile:227)
F/GmsApplication( 3752): at com.google.android.gms.common.a.l.a(SourceFile:281 )
F/GmsApplication( 3752): at com.google.android.gms.common.a.e.a(SourceFile:199 )
F/GmsApplication( 3752): at com.google.android.gms.common.a.d.b(SourceFile:177 )
F/GmsApplication( 3752): at com.google.android.gms.common.a.d.c(SourceFile:188 )
F/GmsApplication( 3752): at com.google.android.gms.common.security.ProviderIns tallerImpl.insertProviderGated(SourceFile:90)
F/GmsApplication( 3752): at com.google.android.gms.common.app.GmsApplication.o nCreate(SourceFile:104)
F/GmsApplication( 3752): at android.app.Instrumentation.callApplicationOnCreat e(Instrumentation.java:1011)
F/GmsApplication( 3752): at android.app.ActivityThread.handleBindApplication(A ctivityThread.java:4553)
F/GmsApplication( 3752): at android.app.ActivityThread.access00(ActivityThr ead.java:147)
F/GmsApplication( 3752): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1357)
F/GmsApplication( 3752): at android.os.Handler.dispatchMessage(Handler.java:10 2)
F/GmsApplication( 3752): at android.os.Looper.loop(Looper.java:135)
F/GmsApplication( 3752): at android.app.ActivityThread.main(ActivityThread.jav a:5256)
F/GmsApplication( 3752): at java.lang.reflect.Method.invoke(Native Method)
F/GmsApplication( 3752): at java.lang.reflect.Method.invoke(Method.java:372)
F/GmsApplication( 3752): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:898)
F/GmsApplication( 3752): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:693)
I've tried adding the permission com.google.android.providers.gsf.permission.READ_G SERVICES to the Play Services package via adb but that permission is not recognised.
HELP!
Thanks in advance,
Kevin
Aucun commentaire:
Enregistrer un commentaire