Code Monkey home page Code Monkey logo

gmscore's People

Contributors

acsway878787 avatar ale5000-git avatar alexandruchircu avatar bubu avatar cgrigis avatar chirayudesai avatar davinci9196 avatar elevenfive avatar elsensee avatar emlove avatar eson57 avatar fs00 avatar fynngodau avatar grote avatar hustler-not-chatty avatar jonathanklee avatar kefir2105 avatar mar-v-in avatar michitux avatar nanolx avatar nexirs avatar pietrodevo avatar shatur avatar sww13 avatar theimpulson avatar uldiniad avatar vavun avatar voidstarstar avatar weblate avatar ygorigor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gmscore's Issues

Patch android_frameworks_base

So, it seems to be the only thing preventing the debug builds from being recognized by apps as true GMS is the fake signature patch.
Will try to integrate it into some ROMs, hope others share their success too.

Release? Dev builds?

Good evening!
Now that you have implemented a lot of APIs and taking into consideration that it's not always truly easy to rebuild this app from source(#9), is it possible for you to publish test builds here(in releases) or on FDroid?
Thank you!

gms checkin expires

Im on a fake-signature patched CM 12.1 klte (791c7f0e42). So far, gcm works very well, testing it with textsecure, that uses gcm for a wakeup event. After a few days, the device no longer notifyed and received messages only after manual wakeup. After dialing *#*#CHECKIN#*#*, everything went back to normal.

Found this in the logcat:

07-27 06:21:30.274 D/GmsAuthManager(1088): token present, but expired

Enable device checkin in the ug settings app is checked.

[victorops] Google Play Store signature invalid

Hi @mar-v-in,

I'm using Victorops (current version: 6.1.118) as a pager application on Omnirom 5.1.1.20151103 with gmscore 8.1.15 (microG v0.01) and blankstore 0.7.4 and no google apps at all.

GCM is not working properly (even if the app was installed after gmscore.)
I'm getting this when I launch the app.

W/GooglePlayServicesUtil(31124): Google Play Store signature invalid.
E/GooglePlayServicesUtil(31124): Google Play services is invalid. Cannot recover.

I'm getting the same when I hit the button reset push notification ID inside the app.

Let me know if you need more information.

Thanks
J.

PS: GCM generally works on my phone. Tested with "Push Notification Tester".

A different approach for signatures

Hi!
I have made an Xposed module that eliminates the need to patch Android ROMs for microg to be working as it should.
Here it is:
https://github.com/thermatk/FakeGApps
You can download the apk that works for me there also(Releases).
It's a great feature that now there is no need to patch anything, now all the ROMs are supported if XposedFramework is installable there.
I think a good way would be to make it part of the project, it's even easy to integrate into GmsCore itself, so that an Xposed module is visible if Xposed is there.

Tested on ParanoidAndroid 5.1.1_r3 on Xperia Z Ultra(togari) with self-built fakegapps, gmscore and blankstore: YouTube is working as it should, signatures are replaced as they should.

High CPU bug correlation with failed cloud messaging event

You mentioned this bug to me on IRC a month or so ago before I switched back from unifiednlp to gmscore, so when it first happened I just figured I'd disable the checkin feature as I needed battery life to be reliable at the time. I recently re-enabled it along with cloud messaging after seeing a commit that stated checkin had been fixed, but I hadn't been able to tell if it was working or not as I only have one app that utilizes it (Slack, which I also get email notifications for.)

I'm out right now so I unfortunately wasn't able to collect a logcat, but I can say that I had no occurrences of the high CPU bug for a day or so until a few minutes ago when I received the first email notification I've gotten from Slack since re-enabling checkin/cloud messaging (via IMAP IDLE, so I get it right away), which failed to notify me through the app via cloud messaging. At this point my CPU immediately spiked, and it remained high until I rebooted (after checking top to see that the culprit was indeed gmscore)

I'll try enabling checkin and cloud messaging again when I have a reliable power source nearby next week, but I hope this helps narrow the potential causes of the bug down for now.

Cheers!

Maps API Exceptions Runtastic Pro

Im not sure if thats because these Apps use an unsupported API or its a bug in this project.
Please close if its not helpful.

Here are some Exceptions I got when running Some Apps:

Runtastic Pro

10-22 18:23:39.082 23445 23445 E AndroidRuntime: FATAL EXCEPTION: main
10-22 18:23:39.082 23445 23445 E AndroidRuntime: Process: com.runtastic.android.pro2, PID: 23445
10-22 18:23:39.082 23445 23445 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'com.vividsolutions.jts.geom.Geometry org.oscim.layers.vector.geometries.Drawable.getGeometry()' on a null object reference
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at org.oscim.layers.vector.VectorLayer.add(VectorLayer.java:106)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at org.microg.gms.maps.BackendMap.updateDrawableLayer(BackendMap.java:174)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at org.microg.gms.maps.BackendMap.update(BackendMap.java:212)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at org.microg.gms.maps.GoogleMapImpl.update(GoogleMapImpl.java:239)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at org.microg.gms.maps.markup.PolygonImpl.setVisible(PolygonImpl.java:152)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at com.google.android.gms.maps.model.internal.IPolygonDelegate$Stub.onTransact(IPolygonDelegate.java:168)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.os.Binder.transact(Binder.java:380)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at com.google.android.gms.maps.model.internal.zzj$zza$zza.setVisible(Unknown Source)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at com.google.android.gms.maps.model.Polygon.setVisible(Unknown Source)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at com.runtastic.android.i.b.<init>(BoltPolylineTraceOverlay.java:116)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at com.runtastic.android.fragments.bolt.BoltMapFragment.initMap(BoltMapFragment.java:473)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at com.runtastic.android.fragments.bolt.BoltMapFragment.onCreateView(BoltMapFragment.java:280)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.support.v4.app.Fragment.performCreateView(Fragment.java:1789)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:955)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1138)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:740)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1501)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:490)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at com.runtastic.android.common.ui.view.VerticalViewPager.b(VerticalViewPager.java:997)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at com.runtastic.android.common.ui.view.VerticalViewPager.b(VerticalViewPager.java:846)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at com.runtastic.android.common.ui.view.VerticalViewPager.onMeasure(VerticalViewPager.java:1356)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.View.measure(View.java:17562)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:728)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:464)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.View.measure(View.java:17562)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.View.measure(View.java:17562)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.View.measure(View.java:17562)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:868)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.View.measure(View.java:17562)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.support.v7.internal.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:124)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.View.measure(View.java:17562)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.View.measure(View.java:17562)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.View.measure(View.java:17562)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.View.measure(View.java:17562)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-22 18:23:39.082 23445 23445 E AndroidRuntime:    at android.widget.FrameLayout.onMeasure(FrameLayout.java:4
GpsLogger Lite
10-22 18:29:29.346 26707 26707 E AndroidRuntime: FATAL EXCEPTION: main
10-22 18:29:29.346 26707 26707 E AndroidRuntime: Process: com.peterhohsy.gpsloggerlite, PID: 26707
10-22 18:29:29.346 26707 26707 E AndroidRuntime: java.lang.RuntimeException: Error receiving broadcast Intent { act=ACTION_GPS_gpsloggerpro flg=0x10 (has extras) } in com.peterhohsy.gpsloggerlite.MainActivity$CGPSReceiver@4c0bea5
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:877)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:739)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:135)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5294)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Method.java:372)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
10-22 18:29:29.346 26707 26707 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.vividsolutions.jts.geom.Envelope com.vividsolutions.jts.geom.Geometry.getEnvelopeInternal()' on a null object reference
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at org.oscim.layers.vector.VectorLayer.bbox(VectorLayer.java:89)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at org.oscim.layers.vector.VectorLayer.add(VectorLayer.java:106)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at org.microg.gms.maps.BackendMap.updateDrawableLayer(BackendMap.java:174)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at org.microg.gms.maps.BackendMap.add(BackendMap.java:166)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at org.microg.gms.maps.GoogleMapImpl.addPolyline(GoogleMapImpl.java:197)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at com.google.android.gms.maps.internal.IGoogleMapDelegate$Stub.onTransact(IGoogleMapDelegate.java:134)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at org.microg.gms.maps.GoogleMapImpl.onTransact(GoogleMapImpl.java:428)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at android.os.Binder.transact(Binder.java:380)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at com.google.android.gms.maps.internal.IGoogleMapDelegate$a$a.addPolyline(Unknown Source)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at com.google.android.gms.maps.GoogleMap.addPolyline(Unknown Source)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at com.peterhohsy.gpsloggerlite.MainActivity.updateGooglePolyLine(MainActivity.java:1765)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at com.peterhohsy.gpsloggerlite.MainActivity.onLocationChangeEx(MainActivity.java:1618)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at com.peterhohsy.gpsloggerlite.MainActivity$CGPSReceiver.onReceive(MainActivity.java:2096)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:867)
10-22 18:29:29.346 26707 26707 E AndroidRuntime:    ... 9 more

Symbolic links not properly supported on Windows

when trying to compile it fails with "Cannot evaluate module play-services-api : Configuration with name 'default' not found"
As I understand this is because Gradle cannot find a sub project's location. The solution would be to rearrange the projects in a way that Gradle understands them.
This is happening on Windows, using the latest Gradle or the wrapper supplied in the repo.

C:\CODE\android_packages_apps_GmsCore>gradle tasks --info
Starting Build
Settings evaluated using settings file 'C:\CODE\android_packages_apps_GmsCore\settings.gradle'.
Projects loaded. Root project using empty build file.
Included projects: [root project 'android_packages_apps_GmsCore', project ':play-services-api', project ':play-services-core', project ':safe-parcel',
 project ':unifiednlp-api', project ':unifiednlp-base', project ':unifiednlp-compat']
Evaluating root project 'android_packages_apps_GmsCore' using empty build file.
Evaluating project ':play-services-api' using empty build file.
Evaluating project ':play-services-core' using build file 'C:\CODE\android_packages_apps_GmsCore\play-services-core\build.gradle'.
Creating configuration compile.
Creating configuration apk.
Creating configuration provided.
Creating configuration wearApp.
Creating configuration androidTestCompile.
Creating configuration androidTestApk.
Creating configuration androidTestProvided.
Creating configuration androidTestWearApp.
Creating configuration testCompile.
Creating configuration testApk.
Creating configuration testProvided.
Creating configuration testWearApp.
Creating configuration debugCompile.
Creating configuration debugApk.
Creating configuration debugProvided.
Creating configuration debugWearApp.
Creating configuration testDebugCompile.
Creating configuration testDebugApk.
Creating configuration testDebugProvided.
Creating configuration testDebugWearApp.
Creating configuration releaseCompile.
Creating configuration releaseApk.
Creating configuration releaseProvided.
Creating configuration releaseWearApp.
Creating configuration testReleaseCompile.
Creating configuration testReleaseApk.
Creating configuration testReleaseProvided.
Creating configuration testReleaseWearApp.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':play-services-core'.
> Cannot evaluate module play-services-api : Configuration with name 'default' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 4.617 secs
Stopped 0 compiler daemon(s).

Hangouts [$35]

Hi, what is likely needed in order for Hangouts to work reliably? Hangouts used to sometimes allow for calls and messages, but as of late seems to not even open anymore.

Bountysource

unavailable shared library com.google.android.maps

Is the 'com.google.android.maps' included? If so, how can I debug the Problem?

Tested on customized CM12.1 build with signature patch.
I used 'Öffi' (http://oeffi.schildbach.de/download.html) for testing.

D/PackageManager(  607): Renaming /data/app/vmdl1666102432.tmp to /data/app/de.schildbach.oeffi-1
E/installd(  202): Couldn't opendir /data/data/de.schildbach.oeffi: No such file or directory
W/PackageManager(  607): Package couldn't be installed in /data/app/de.schildbach.oeffi-1
W/PackageManager(  607): com.android.server.pm.PackageManagerException: Package de.schildbach.oeffi requires unavailable shared library com.google.android.maps; failing!
W/PackageManager(  607):    at com.android.server.pm.PackageManagerService.updateSharedLibrariesLPw(PackageManagerService.java:5390)
W/PackageManager(  607):    at com.android.server.pm.PackageManagerService.scanPackageDirtyLI(PackageManagerService.java:5741)
W/PackageManager(  607):    at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:5482)
W/PackageManager(  607):    at com.android.server.pm.PackageManagerService.installNewPackageLI(PackageManagerService.java:10940)
W/PackageManager(  607):    at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:11485)
W/PackageManager(  607):    at com.android.server.pm.PackageManagerService.access$2500(PackageManagerService.java:271)
W/PackageManager(  607):    at com.android.server.pm.PackageManagerService$5.run(PackageManagerService.java:9384)
W/PackageManager(  607):    at android.os.Handler.handleCallback(Handler.java:739)
W/PackageManager(  607):    at android.os.Handler.dispatchMessage(Handler.java:95)
W/PackageManager(  607):    at android.os.Looper.loop(Looper.java:135)
W/PackageManager(  607):    at android.os.HandlerThread.run(HandlerThread.java:61)
W/PackageManager(  607):    at com.android.server.ServiceThread.run(ServiceThread.java:46)
D/fdroid.AppDetails( 5175): Getting application details for de.schildbach.oeffi
E/fdroid.AppDetails( 5175): Installer aborted with errorCode: 2

Is this working?

Hi! I have Omnirom 4.4.4, I removed ugUnifiedNlp, restarted, installed this GmsCore, installed it as a system app (using TitaniumBackup), restarted again, enabled GCM from ug settings. Network location part is working, but applications which require GCM to work aren't working (for example I'm trying out TextSecure - it refuses to register me claiming I don't have Google Play services installed). Am I missing a crucial information here? Just to note, I do have xposed installed.

Edit: I used apk from http://files.brnmod.rocks/apps/GmsCore/Latest/

Licensing support

There are a couple of games that require Google play licensing to start (also a couple of free apps) and refuse working if not present. I hope I catched the interesting parts:

10-12 22:52:18.939 D/GmsDummySvc(8478): onBind: Intent { act=com.google.android.gms.appstate.service.START pkg=com.google.android.gms }
10-12 22:52:18.949 D/GmsDummySvc(8478): onBind: Intent { act=com.google.android.gms.games.service.START pkg=com.google.android.gms }
10-12 22:52:18.959 D/GmsDummySvc(8478): onBind: Intent { act=com.google.android.gms.drive.ApiService.START pkg=com.google.android.gms }
10-12 22:52:18.961 I/SexyAppFramework(22246): onResume
10-12 22:52:18.974 D/OpenGLRenderer(22246): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
10-12 22:52:18.985 D/Atlas   (22246): Validating map...
10-12 22:52:18.992 V/WindowManager(2443): Adding window Window{2bcdbb79 u0 com.ea.game.pvz2_row/com.popcap.PvZ2.PvZ2GameActivity} at 33 of 41 (before Window{92fcf6a u0 Starting com.ea.game.pvz2_row})
10-12 22:52:19.002 D/LVLDL   (22246): Service Bound
10-12 22:52:19.024 I/Adreno-EGL(22246): <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/14/15, ab0075f, Id3510ff6dc
10-12 22:52:19.026 I/OpenGLRenderer(22246): Initialized EGL, version 1.4
10-12 22:52:19.043 D/OpenGLRenderer(22246): Enabling debug mode 0
10-12 22:52:19.181 I/LicenseChecker(22246): Binding to licensing service.
10-12 22:52:19.182 W/ActivityManager(2443): Unable to start service Intent { act=com.android.vending.licensing.ILicensingService pkg=com.android.vending } U=0: not found
10-12 22:52:19.183 E/LicenseChecker(22246): Could not bind to service.
10-12 22:52:19.218 D/GmsDummySvc(8478): bound by: GetServiceRequest{serviceId=APPSTATE, gmsVersion=7327000, packageName='com.ea.game.pvz2_row', scopes=[https://www.googleapis.com/auth/games, https://www.googleapis.com/auth/appstate, https://www.googleapis.com/auth/drive.appdata], extras=Bundle[{}], account=Account {name=<<default account>>, type=com.google}}
10-12 22:52:19.225 E/Parcel  (8478): Class not found when unmarshalling: com.google.android.gms.common.internal.BinderWrapper
10-12 22:52:19.225 E/Parcel  (8478): java.lang.ClassNotFoundException: com.google.android.gms.common.internal.BinderWrapper
10-12 22:52:19.225 E/Parcel  (8478):    at java.lang.Class.classForName(Native Method)
10-12 22:52:19.225 E/Parcel  (8478):    at java.lang.Class.forName(Class.java:309)
10-12 22:52:19.225 E/Parcel  (8478):    at java.lang.Class.forName(Class.java:273)
10-12 22:52:19.225 E/Parcel  (8478):    at android.os.Parcel.readParcelableCreator(Parcel.java:2281)
10-12 22:52:19.225 E/Parcel  (8478):    at android.os.Parcel.readParcelable(Parcel.java:2245)
10-12 22:52:19.225 E/Parcel  (8478):    at android.os.Parcel.readValue(Parcel.java:2152)
10-12 22:52:19.225 E/Parcel  (8478):    at android.os.Parcel.readArrayMapInternal(Parcel.java:2485)
10-12 22:52:19.225 E/Parcel  (8478):    at android.os.BaseBundle.unparcel(BaseBundle.java:221)
10-12 22:52:19.225 E/Parcel  (8478):    at android.os.BaseBundle.keySet(BaseBundle.java:321)
10-12 22:52:19.225 E/Parcel  (8478):    at org.microg.gms.BaseService$1.handleServiceRequest(BaseService.java:39)
10-12 22:52:19.225 E/Parcel  (8478):    at org.microg.gms.AbstractGmsServiceBroker.getService(AbstractGmsServiceBroker.java:271)
10-12 22:52:19.225 E/Parcel  (8478):    at com.google.android.gms.common.internal.IGmsServiceBroker$Stub.onTransact(IGmsServiceBroker.java:532)
10-12 22:52:19.225 E/Parcel  (8478):    at org.microg.gms.AbstractGmsServiceBroker.onTransact(AbstractGmsServiceBroker.java:287)
10-12 22:52:19.225 E/Parcel  (8478):    at android.os.Binder.execTransact(Binder.java:446)
10-12 22:52:19.225 E/Parcel  (8478):    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
10-12 22:52:19.225 E/Parcel  (8478):    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:668)
10-12 22:52:19.225 E/Parcel  (8478):    at android.os.Binder.execTransact(<Xposed>)
10-12 22:52:19.225 E/Parcel  (8478): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.internal.BinderWrapper" on path: DexPathList[[zip file "/system/framework/XposedBridge.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
10-12 22:52:19.225 E/Parcel  (8478):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
10-12 22:52:19.225 E/Parcel  (8478):    at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
10-12 22:52:19.225 E/Parcel  (8478):    at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
10-12 22:52:19.225 E/Parcel  (8478):    ... 17 more
10-12 22:52:19.225 E/Parcel  (8478):    Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.common.internal.BinderWrapper
10-12 22:52:19.225 E/Parcel  (8478):        at java.lang.Class.classForName(Native Method)
10-12 22:52:19.225 E/Parcel  (8478):        at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
10-12 22:52:19.225 E/Parcel  (8478):        at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
10-12 22:52:19.225 E/Parcel  (8478):        at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
10-12 22:52:19.225 E/Parcel  (8478):        ... 18 more
10-12 22:52:19.225 E/Parcel  (8478):    Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
10-12 22:52:19.226 D/GmsDummySvc(8478): bound by: GetServiceRequest{serviceId=GAMES, gmsVersion=7327000, packageName='com.ea.game.pvz2_row', scopes=[https://www.googleapis.com/auth/games, https://www.googleapis.com/auth/appstate, https://www.googleapis.com/auth/drive.appdata], extras=Bundle[mParcelledData.dataSize=1780], account=Account {name=<<default account>>, type=com.google}}
10-12 22:52:19.235 D/GmsDummySvc(8478): bound by: GetServiceRequest{serviceId=DRIVE, gmsVersion=7327000, packageName='com.ea.game.pvz2_row', scopes=[https://www.googleapis.com/auth/games, https://www.googleapis.com/auth/appstate, https://www.googleapis.com/auth/drive.appdata], extras=Bundle[{}], account=Account {name=<<default account>>, type=com.google}}

com.google.android.gms.location.places.ui not yet implemented

Hey, feel free to close this if I'm reporting it in the wrong place.

When testing the Signal 3.9.0 branch, opening the place picker to send a location message results in a crash:

E/AndroidRuntime( 4393): FATAL EXCEPTION: main
E/AndroidRuntime( 4393): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.google.android.gms.location.places.ui.PICK_PLACE pkg=com.google.android.gms (has extras) } 

Android 4.2.2 not supported?

I've tried to install GmsCore on my old Prestigio with (nearly AOSP) 4.2.2 Android, but installation failed. I didn't looked at logcat cause I remembered that UnifiedNlp isn't officially supported for old platforms anymore, and figured this might be the reason of installation failure. So, is there a way for a user to build GmsCore for old Android versions?

Issues with push messages (service hanging until reboot / messages not processed)

I have the following behavior with TextSecure, using the push messaging implementation from this project: TextSecure only seems to "notice" new messages when it is in foreground, on the screen.

For example, I had my phone in stand-by for a while, and I now know that I did receive some messages during that time. I then turned on the screen and unlocked the phone. I waited for ~10-20sec, nothing happened. I started TextSecure, and now I got all the notifications about the messages that I received.

com.google.android.gms.ads.identifier.service.START missing

In playing around with play-services-core-debug.apk some more, there are some apps complaining that play services are not installed. The Meetup app is one and it has an okay button after the message. If pressed, the app crashes. Looks like there are two things here. One a missing api for something that looks like an ad service (maybe should be added to play-services-core) and something that might be a Meetup app issue or an unexpected null pointer from play-services-core:

W/ActivityManager( 1256): Unable to start service Intent { act=com.google.android.gms.ads.identifier.service.START pkg=com.google.android.gms } U=0: not found
E/AndroidRuntime( 3351): FATAL EXCEPTION: main
E/AndroidRuntime( 3351): Process: com.meetup, PID: 3351
E/AndroidRuntime( 3351): java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.content.Intent.migrateExtraStreamToClipData()' on a null object reference
E/AndroidRuntime( 3351):    at android.app.Instrumentation.execStartActivity(Instrumentation.java:1494)
E/AndroidRuntime( 3351):    at android.app.Activity.startActivityForResult(Activity.java:3745)
E/AndroidRuntime( 3351):    at android.app.Activity.startActivityForResult(Activity.java:3706)
E/AndroidRuntime( 3351):    at android.app.Activity.startActivity(Activity.java:4016)
E/AndroidRuntime( 3351):    at android.app.Activity.startActivity(Activity.java:3984)
E/AndroidRuntime( 3351):    at com.google.android.gms.dynamic.zza$5.onClick(Unknown Source)
E/AndroidRuntime( 3351):    at android.view.View.performClick(View.java:4780)
E/AndroidRuntime( 3351):    at android.view.View$PerformClick.run(View.java:19866)
E/AndroidRuntime( 3351):    at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 3351):    at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 3351):    at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 3351):    at android.app.ActivityThread.main(ActivityThread.java:5254)
E/AndroidRuntime( 3351):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 3351):    at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 3351):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime( 3351):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
W/ActivityManager( 1256):   Force finishing activity 1 com.meetup/.activity.Bootstrap

Device does not have package com.google.android.gsf

I'm running µg with the xposed signature faker module. Most apps work fine so far 👍

But the German McDonalds app keeps crashing (new install, first run):

E/AndroidRuntime(21416): FATAL EXCEPTION: IntentService[GCMRegistrationService]
E/AndroidRuntime(21416): Process: de.mcdonalds.mcdonaldsinfoapp, PID: 21416
E/AndroidRuntime(21416): java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf
E/AndroidRuntime(21416):    at com.google.android.gcm.GCMRegistrar.checkDevice(GCMRegistrar.java:98)
E/AndroidRuntime(21416):    at de.mcdonalds.mcdonaldsinfoapp.service.gcm.GCMRegistrationService.onHandleIntent(GCMRegistrationService.java:29)
E/AndroidRuntime(21416):    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
E/AndroidRuntime(21416):    at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(21416):    at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(21416):    at android.os.HandlerThread.run(HandlerThread.java:61)

Any idea what could be the reason and how it could be fixed? As I understand it, µg should be a replacement for com.google.android.gsf, therefore it should be available, or not?

ADREQUEST Service ID not handled

When using the some App, it crashed and I was getting an IllegalArgumentException.

After some debugging, I temporarily changed the ServiceId of gms.ads.GService.java to Services.ADREQUEST.SERVICE_ID and rebuilt the apk.

Which fixed the Crash.

But I assume, the proper way would be to add (rather than replace) the service id to the varargs super constructor. - Or implement a separate service for that ID.

But maybe the DummyService should handle this? Seems to be disabled since AbstractGmsServiceBroker is throwing the Exception.

---- Oct 29, 2015 14:42:17 ----
--------- beginning of crash
10-26 17:36:56.099 11645 11645 E AndroidRuntime: FATAL EXCEPTION: main
10-26 17:36:56.099 11645 11645 E AndroidRuntime: Process: nl.jacobras.notes, PID: 11645
10-26 17:36:56.099 11645 11645 E AndroidRuntime: java.lang.IllegalArgumentException: Service not supported: 8
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.os.Parcel.readException(Parcel.java:1550)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.os.Parcel.readException(Parcel.java:1499)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.support.v7.yt.g(Unknown Source)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.support.v7.anl.a(Unknown Source)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.support.v7.yc.onServiceConnected(Unknown Source)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.support.v7.yk.onServiceConnected(Unknown Source)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1209)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1226)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:739)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:135)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5294)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Method.java:372)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
10-26 17:36:56.099 11645 11645 E AndroidRuntime:    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
10-26 18:04:37.142 22061 22061 E AndroidRuntime: FATAL EXCEPTION: main
10-26 18:04:37.142 22061 22061 E AndroidRuntime: Process: nl.jacobras.notes, PID: 22061
10-26 18:04:37.142 22061 22061 E AndroidRuntime: java.lang.IllegalArgumentException: Service not supported: 8
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.os.Parcel.readException(Parcel.java:1550)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.os.Parcel.readException(Parcel.java:1499)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.support.v7.yt.g(Unknown Source)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.support.v7.anl.a(Unknown Source)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.support.v7.yc.onServiceConnected(Unknown Source)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.support.v7.yk.onServiceConnected(Unknown Source)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1209)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1226)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:739)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:135)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5294)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Method.java:372)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
10-26 18:04:37.142 22061 22061 E AndroidRuntime:    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)

Build failes

Hi,

today I tried to build the latest version and it seems to fail due to some missing files or references. I called ./gradlew assembleDebug --debug in the local repo and got the following error:

No resource found that matches the given name (at 'theme' with value '@style/SettingsTheme')

Here are a couple of more lines from the log:

15:04:56.081 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTING
15:04:56.081 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Waiting until process started: command '/home/XX/Downloads/android-sdk-linux/build-tools/22.0.1/aapt'.
15:04:56.082 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTED
15:04:56.083 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully started process 'command '/home/XX/Downloads/android-sdk-linux/build-tools/22.0.1/aapt''
15:04:56.083 [DEBUG] [org.gradle.process.internal.ExecHandleRunner] waiting until streams are handled...
15:04:56.248 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED
15:04:56.248 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'command '/home/XX/Downloads/android-sdk-linux/build-tools/22.0.1/aapt'' finished with exit value 1 (state: FAILED)
15:04:56.265 [ERROR] [org.gradle.api.Project]  Position 351:28-48 : No resource found that matches the given name (at 'theme' with value '@style/SettingsTheme').

15:04:56.266 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':play-services-core:processDebugResources'
15:04:56.266 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :play-services-core:processDebugResources FAILED
15:04:56.267 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :play-services-core:processDebugResources (Thread[main,5,main]) completed. Took 0.219 secs.
15:04:56.267 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 10.368 secs, idle: 0.079 secs
15:04:56.275 [ERROR] [org.gradle.BuildExceptionReporter] 
15:04:56.276 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
15:04:56.276 [ERROR] [org.gradle.BuildExceptionReporter] 
15:04:56.276 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
15:04:56.277 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':play-services-core:processDebugResources'.
15:04:56.277 [ERROR] [org.gradle.BuildExceptionReporter] > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/XX/Downloads/android-sdk-linux/build-tools/22.0.1/aapt'' finished with non-zero exit value 1
15:04:56.277 [ERROR] [org.gradle.BuildExceptionReporter] 
15:04:56.277 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
15:04:56.278 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. 
15:04:56.278 [LIFECYCLE] [org.gradle.BuildResultLogger] 
15:04:56.279 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED

Cyanogenmod + microG

Hey guys, I decided to start discussion about integrating with Cyanogenmod.

I think it's important to negotiate some solution, because CM build could be big oportunity to make uG useful. Custom patching of course making it harder.

I just asked question http://review.cyanogenmod.org/#/c/106162/ hope it's correct place to discussion.

I'm sure, there can be found some solution for this challenge.

Cannot install Öffi app with maps support: Some maps pieces missing?

When I install the "full" version of http://oeffi.schildbach.de/download.html, installation fails and the following appears in logcat:

W/PackageManager(  890): Package couldn't be installed in /data/app/de.schildbach.oeffi-1
W/PackageManager(  890): com.android.server.pm.PackageManagerException: Package de.schildbach.oeffi requires unavailable shared library com.google.android.maps; failing!
W/PackageManager(  890):        at com.android.server.pm.PackageManagerService.updateSharedLibrariesLPw(PackageManagerService.java:5451)
W/PackageManager(  890):        at com.android.server.pm.PackageManagerService.scanPackageDirtyLI(PackageManagerService.java:5812)
W/PackageManager(  890):        at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:5543)
W/PackageManager(  890):        at com.android.server.pm.PackageManagerService.installNewPackageLI(PackageManagerService.java:10966)
W/PackageManager(  890):        at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:11511)
W/PackageManager(  890):        at com.android.server.pm.PackageManagerService.access$2500(PackageManagerService.java:273)
W/PackageManager(  890):        at com.android.server.pm.PackageManagerService$5.run(PackageManagerService.java:9410)
W/PackageManager(  890):        at android.os.Handler.handleCallback(Handler.java:739)
W/PackageManager(  890):        at android.os.Handler.dispatchMessage(Handler.java:95)
W/PackageManager(  890):        at android.os.Looper.loop(Looper.java:135)
W/PackageManager(  890):        at android.os.HandlerThread.run(HandlerThread.java:61)
W/PackageManager(  890):        at com.android.server.ServiceThread.run(ServiceThread.java:46)

Google Keep sync, Getting Auth Token fails in Keep

I noticed that Keep does not sync.

Sadly I know very little about Googles auth system.

Logcat shows a related infos (I removed some sensitive bits):

10-29 14:49:33.097  2278  3233 W AppOps  : Bad call: specified package com.google.android.gms under uid 10107 but it is really 10081
10-29 14:49:33.099  2278  2996 I Xposed  : FakeGApps: faked signature
10-29 14:49:33.106  2278  2295 I Xposed  : FakeGApps: faked signature
10-29 14:49:33.115  3668  3668 D GmsSignInSvc: onBind: Intent { act=com.google.android.gms.signin.service.START pkg=com.google.android.gms }
10-29 14:49:33.125  3668  3668 D GmsPeopleSvc: onBind: Intent { act=com.google.android.gms.people.service.START pkg=com.google.android.gms }
10-29 14:49:33.129  3668  3668 D GmsDriveApiSvc: onBind: Intent { act=com.google.android.gms.drive.ApiService.START pkg=com.google.android.gms }
10-29 14:49:33.140  3668  3686 D GmsSignInSvc: bound by: GetServiceRequest{serviceId=SIGN_IN, gmsVersion=8083000, packageName='com.google.android.keep', scopes=[https://www.googleapis.com/auth/drive, https://www.googleapis.com/auth/drive.appdata], extras=Bundle[{com.google.android.gms.signin.internal.serverClientId=null, com.google.android.gms.signin.internal.usePromptModeForAuthCode=false, com.google.android.gms.signin.internal.offlineAccessRequested=false, com.google.android.gms.common.internal.ClientSettings.sessionId=71052304, com.google.android.gms.signin.internal.idTokenRequested=false, com.google.android.gms.signin.internal.forceCodeForRefreshToken=false}], account=Account {[email protected], type=com.google}}
10-29 14:49:33.140  3668  3686 D GmsSignInSvc: unimplemented Method: handleServiceRequest


10-29 14:49:38.198  2278  2956 I Xposed  : FakeGApps: faked signature
10-29 14:49:38.200  2278  2983 I Xposed  : FakeGApps: faked signature
10-29 14:49:38.207  3668  3685 D GmsAuthManagerSvc: getToken: account:[email protected] scope:oauth2:https://www.googleapis.com/auth/memento https://www.googleapis.com/auth/drive extras:Bundle[{sync_extras=Bundle[EMPTY_PARCEL], androidPackageName=com.google.android.keep, clientPackageName=com.google.android.keep, service_connection_start_time_millis=275809474, authority=com.google.android.keep, handle_notification=true}], notify: true
10-29 14:49:38.216  3668  3685 D GmsAuthManagerSvc: getToken: <<<<<129 chars of base64 token >>>>>
10-29 14:49:38.218 10454 12984 E KeepSync: IOException
10-29 14:49:38.218 10454 12984 E KeepSync: com.google.android.apiary.AuthenticationException: Could not get an auth token
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.apiary.GoogleRequestInitializer.getAuthToken(SourceFile:152)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.apiary.GoogleRequestInitializer.intercept(SourceFile:89)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.keep.util.KeepApiaryClient$KeepRequestInitializer.intercept(SourceFile:238)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.api.client.http.HttpRequest.execute(SourceFile:858)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(SourceFile:410)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(SourceFile:343)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(SourceFile:460)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.keep.util.KeepApiaryClient.syncChanges(SourceFile:212)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.keep.syncadapter.KeepSyncAdapter.syncOnceToServer(SourceFile:317)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.keep.syncadapter.KeepSyncAdapter.onPerformSync(SourceFile:197)
10-29 14:49:38.218 10454 12984 E KeepSync:  at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
10-29 14:49:38.218 10454 12984 E KeepSync: Caused by: com.google.android.gms.auth.GoogleAuthException: OK
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.gms.auth.GoogleAuthUtil.zza(Unknown)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.gms.auth.GoogleAuthUtil.zzc(Unknown)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.gms.auth.GoogleAuthUtil.getTokenWithNotification(Unknown)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.gms.auth.GoogleAuthUtil.getTokenWithNotification(Unknown)
10-29 14:49:38.218 10454 12984 E KeepSync:  at com.google.android.apiary.GoogleRequestInitializer.getAuthToken(SourceFile:140)
10-29 14:49:38.218 10454 12984 E KeepSync:  ... 10 more
10-29 14:49:38.218 10454 12984 W KeepSync: Sync result 2
10-29 14:49:38.275  2278  2299 D SyncManager: failed sync operation [email protected] u0 (com.google), com.google.android.keep, SERVER, currentRunTime 275804147, reason: AutoSync, SyncResult: stats [ numIoExceptions: 1]

Wishlist: com.google.android.gms.wearable [$135]

It would be nice to have a free implementation of the APIs necessary for Android Wear.

com.google.android.gms.wearable.NodeApi
com.google.android.gms.wearable.MessageApi
com.google.android.gms.wearable.DataApi

Bountysource

Upgrade GMS version?

Using BlankStore I updated Skype today (apparently a mistake to do that). This new version of Skype is saying my Play Services needs updating and that it won't work properly until I do that. Looking at logcat I see:

I/Xposed  ( 2142): faked signature
I/Xposed  ( 2142): faked signature
W/GooglePlayServicesUtil(18725): Google Play services out of date.  Requires 7895000 but found 7887001
V/NlpLocationProvider(18695): onSetRequest: ProviderRequest[ON interval=+10m0s0ms] by WorkSource{10147 com.skype.raider}
V/NlpLocationProvider(18695): using autoUpdate=true autoTime=600000

Is this something simple like just updating a version number in the code?

GPS location permission error

After opening the app OpenSignal (https://play.google.com/store/apps/details?id=com.staircase3.opensignal), the activity appears for a few seconds before force closing with this log. Tested on Android 6.0.1 Cyanogenmod 13-20160101 with the latest nightly commit (9abd7eb)

01-03 22:23:22.978  2233  2233 E AndroidRuntime: FATAL EXCEPTION: main
01-03 22:23:22.978  2233  2233 E AndroidRuntime: Process: com.staircase3.opensignal, PID: 2233
01-03 22:23:22.978  2233  2233 E AndroidRuntime: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:1620)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:1573)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.location.internal.j$a$a.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.location.internal.e.b(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.c.j$a.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.c.p.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.c.ab.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.c.x.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.location.internal.d.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.staircase3.opensignal.library.Main.a(SourceFile:115)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.c.x.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.c.r.j(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.c.r.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.c.l.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.common.internal.w$g.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.common.internal.w$a.a(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.common.internal.w$c.b(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.google.android.gms.common.internal.w$b.handleMessage(Unknown Source)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:102)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:148)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:5466)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-03 22:23:22.978  2233  2233 E AndroidRuntime:        at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:114)
01-03 22:23:23.000   924 25389 W ActivityManager:   Force finishing activity com.staircase3.opensignal/.library.Main

LG G4 Stock Android 6 with Root/twrp

hi,

do I habe chances to run microg with that Rom? when i delete Google services and gms out of priv app, i am stuck on Boot loop. will i habe Vetter compat with cm 13 and xposed?

Marshmallow permissions support

Push notifications are currently broken on Android 6. The new permissions system is not granting the CD2M permission to apps correctly. Reinstalling the package does not grant the permissions either. Permission for apps compiled with the Android 6 SDK can be manually granted in settings, but I cannot confirm at the moment whether push messaging actually starts working after this. Android 5 and lower apps cannot be granted the permission at all, creating messages like:

901 3472 W ActivityManager: Permission Denial: Accessing service ComponentInfo{com.google.android.gms/org.microg.gms.gcm.PushRegisterService} from pid=9822, uid=10085 requires com.google.android.c2dm.permission.RECEIVE

9822 9893 E AndroidRuntime: Caused by: java.lang.SecurityException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.UNREGISTER pkg=com.google.android.gms (has extras) } without permission com.google.android.c2dm.permission.RECEIVE

I also read on the XDA thread that UnifiedNLP/Network Location has some permission issues as well

java.lang.UnsatisfiedLinkError: couldn't find "libvtm-jni.so"

I'm running CM 12.1 BACON nightlies with Xposed and https://github.com/thermatk/FakeGApps for signature faking. I'm using the builds from http://files.brnmod.rocks/apps/GmsCore/Latest/.

This App crashes when it tries to show a map, with java.lang.UnsatisfiedLinkError since libvtm-jni.so can not be found.

W/ResourcesManager( 9647): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
D/MapFragmentImpl( 9647): onInflate
D/MapFragmentImpl( 9647): onCreate
D/AndroidRuntime( 9647): Shutting down VM
E/AndroidRuntime( 9647): FATAL EXCEPTION: main
E/AndroidRuntime( 9647): Process: com.valuephone.vpmarktkauf, PID: 9647
E/AndroidRuntime( 9647): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/app/play-services-core-debug.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libvtm-jni.so"
E/AndroidRuntime( 9647):    at java.lang.Runtime.loadLibrary(Runtime.java:366)
E/AndroidRuntime( 9647):    at java.lang.System.loadLibrary(System.java:988)
E/AndroidRuntime( 9647):    at org.oscim.android.MapView.<clinit>(MapView.java:52)
E/AndroidRuntime( 9647):    at org.microg.gms.maps.BackendMap.<init>(BackendMap.java:61)
E/AndroidRuntime( 9647):    at org.microg.gms.maps.GoogleMapImpl.<init>(GoogleMapImpl.java:87)
E/AndroidRuntime( 9647):    at org.microg.gms.maps.MapFragmentImpl.onCreateView(MapFragmentImpl.java:74)
E/AndroidRuntime( 9647):    at com.google.android.gms.maps.internal.IMapFragmentDelegate$Stub.onTransact(IMapFragmentDelegate.java:104)
E/AndroidRuntime( 9647):    at android.os.Binder.transact(Binder.java:380)
E/AndroidRuntime( 9647):    at com.google.android.gms.maps.a.l.a(Unknown Source)
E/AndroidRuntime( 9647):    at com.google.android.gms.maps.k.a(Unknown Source)
E/AndroidRuntime( 9647):    at com.google.android.gms.a.f.b(Unknown Source)
E/AndroidRuntime( 9647):    at com.google.android.gms.a.b.a(Unknown Source)
E/AndroidRuntime( 9647):    at com.google.android.gms.a.b.a(Unknown Source)
E/AndroidRuntime( 9647):    at com.google.android.gms.maps.SupportMapFragment.onCreateView(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.Fragment.performCreateView(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.FragmentManagerImpl.addFragment(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.FragmentActivity.onCreateView(Unknown Source)
E/AndroidRuntime( 9647):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
E/AndroidRuntime( 9647):    at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
E/AndroidRuntime( 9647):    at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
E/AndroidRuntime( 9647):    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 9647):    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:650)
E/AndroidRuntime( 9647):    at android.view.LayoutInflater.inflate(<Xposed>)
E/AndroidRuntime( 9647):    at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
E/AndroidRuntime( 9647):    at com.valuephone.stores.ui.ac.onCreateView(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.Fragment.performCreateView(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(Unknown Source)
E/AndroidRuntime( 9647):    at android.support.v4.app.FragmentActivity.onStart(Unknown Source)
E/AndroidRuntime( 9647):    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1236)
E/AndroidRuntime( 9647):    at android.app.Activity.performStart(Activity.java:6006)
E/AndroidRuntime( 9647):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2319)
E/AndroidRuntime( 9647):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418)
E/AndroidRuntime( 9647):    at android.app.ActivityThread.access$900(ActivityThread.java:154)
E/AndroidRuntime( 9647):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
E/AndroidRuntime( 9647):    at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 9647):    at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 9647):    at android.app.ActivityThread.main(ActivityThread.java:5289)
E/AndroidRuntime( 9647):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 9647):    at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 9647):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime( 9647):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/AndroidRuntime( 9647):    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)

Is this a bug or does one need to install more files than just the APK?

µg UnifiedNlp Settings crashes when selecting Configure options

I'm running a build of commit e1b757de3e5003a3cee2e3a9d4e16cfb5a778ade (the latest master as of writing this comment).

Starting µg UnifiedNlp Settings through the terminal by running am start com.google.android.gms/org.microg.nlp.ui.SettingsActivity as root or through the new option in the µg Settings menu, and then selecting either Configure option (Configure location backends or Configure address lookup backends) causes µg UnifiedNlp Settings to crash.

The logcat output from this crash is as follows:

V/WindowManager( 2731): not Base app: Adding window Window{dbea3a u0 com.google.android.gms/org.microg.nlp.ui.SettingsActivity} at 9 of 15
D/AndroidRuntime(28300): Shutting down VM
E/AndroidRuntime(28300): FATAL EXCEPTION: main
E/AndroidRuntime(28300): Process: com.google.android.gms, PID: 28300
E/AndroidRuntime(28300): android.view.InflateException: Binary XML file line #51: Error inflating class <unknown>
E/AndroidRuntime(28300):    at android.view.LayoutInflater.createView(LayoutInflater.java:633)
E/AndroidRuntime(28300):    at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:55)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.onCreateView(LayoutInflater.java:682)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
E/AndroidRuntime(28300):    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime(28300):    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:684)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.inflate(Unknown Source)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
E/AndroidRuntime(28300):    at org.microg.nlp.ui.AbstractBackendPreference$Adapter.getView(AbstractBackendPreference.java:147)
E/AndroidRuntime(28300):    at android.widget.AbsListView.obtainView(AbsListView.java:2349)
E/AndroidRuntime(28300):    at android.widget.ListView.measureHeightOfChildren(ListView.java:1270)
E/AndroidRuntime(28300):    at android.widget.ListView.onMeasure(ListView.java:1182)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
E/AndroidRuntime(28300):    at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
E/AndroidRuntime(28300):    at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
E/AndroidRuntime(28300):    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2871)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2015)
E/AndroidRuntime(28300):    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1148)
E/AndroidRuntime(28300):    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1379)
E/AndroidRuntime(28300):    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1061)
E/AndroidRuntime(28300):    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5891)
E/AndroidRuntime(28300):    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
E/AndroidRuntime(28300):    at android.view.Choreographer.doCallbacks(Choreographer.java:580)
E/AndroidRuntime(28300):    at android.view.Choreographer.doFrame(Choreographer.java:550)
E/AndroidRuntime(28300):    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
E/AndroidRuntime(28300):    at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(28300):    at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(28300):    at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(28300):    at android.app.ActivityThread.main(ActivityThread.java:5289)
E/AndroidRuntime(28300):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(28300):    at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(28300):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime(28300):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/AndroidRuntime(28300):    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
E/AndroidRuntime(28300): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime(28300):    at java.lang.reflect.Constructor.newInstance(Native Method)
E/AndroidRuntime(28300):    at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.createView(LayoutInflater.java:607)
E/AndroidRuntime(28300):    ... 53 more
E/AndroidRuntime(28300): Caused by: java.lang.RuntimeException: Failed to
I/Xposed  ( 2731): faked signature
W/ActivityManager( 2731):   Force finishing activity 1 com.google.android.gms/org.microg.nlp.ui.SettingsActivity

I should add that I'm using the FakeGApps Xposed module, and I'm on a very recent nightly of CM 12.1, using a custom theme and running on a Nexus 6.

Hope this helps- cheers!

Can't build with AndroidStudio: AndroidManifest.xml not found

When I try to build this in AndroidStudio I get the error that the file AndroidManifest.xml can not be found. Can I create one by my own? (I am very new to java and android development and did not even coded more than a few lines... so I would need a simple option or a step by step instruction, sorry.)

Unable to remove Google account

Once a Google account is configured it does not seem to be possible to remove it short of removing GmsCore. For some other accounts I can access settings->accounts and then long press on the account and get an option for removing, but not for the Google account presented by GmsCore.

wishlist: make heartbeat interval adjustable

I'm not sure about the energy consumption of the current (1min ?) heartbeat interval, but I would guess that it would be nice for many users to have an option to adjust this interval.

Battery drain

Finally, I'm using microG two days without any signs of #31. But unfortunately, I'm experiencing occasional battery drains (perhaps related to #47?) and I would like to report it, just in case. Perhaps someone could explain to me what am I actually seeing here (pics attached).

1
2

As you can see, during night, the properly went in deep sleep state (green lines). But today I plugged it off, and left it for few hours (red lines). The phone didn't go to deep sleep state, wifi wasn't active, so some messages I received on WhatsApp few hours ago arrived only when I picked the phone up and turned the screen on. (Yes, I reinstalled WhatsApp after installation of microG). Shouldn't the whole purpose of a push service be to wake the phone up and retrieve messages?
Also FWIW, BetterBatteryStats app reports com.google.android.gms.microG services partial wake lock was active 94,8%. Any thoughts?

WhatsApp does not get GCM messages

As already mentioned in #52 there seem to be issues with apps not getting messages. I have had this issue today in a situation where microg definitely got a GCM message and had a stable connection before and after the message but WhatsApp did not receive the message until I opened it almost an hour later. Here the log with identifiers replaced by X/x (for uppercase/lowercase hex numbers) and # (for decimal numbers):

01-11 18:12:44.882 11243 11460 D GmsGcmMcsSvc: Heartbeat initiated, reason: Intent { act=org.microg.gms.gcm.mcs.HEARTBEAT flg=0x4 cmp=com.google.android.gms/org.micro[2410/6195]
csService (has extras) }
01-11 18:12:44.882 11243 11460 D GmsGcmMcsSvc: Scheduling heartbeat in 300 seconds...
01-11 18:12:44.882   443   553 E WifiNative-wlan0: doBoolean: disable
01-11 18:12:44.890 11243 20659 D GmsGcmMcsOutput: Outgoing message: HeartbeatPing{last_stream_id_received=146}
01-11 18:12:44.960   562   562 I wpa_supplicant: wlan0: CTRL-EVENT-SCAN-STARTED 
01-11 18:12:45.710   443   553 E WifiNative-wlan0: doBoolean: enable
01-11 18:12:45.733 20236 20236 D PrivacyPolice: Wi-Fi scan performed, results are: [...]
01-11 18:12:47.116 11243 20658 D GmsGcmMcsInput: Incoming message: HeartbeatAck{last_stream_id_received=146}
01-11 18:14:30.663 11243 20658 D GmsGcmMcsInput: Incoming message: DataMessageStanza{id=XXXXXXXX, from=###############, category=com.whatsapp, token=1, app_data=[AppData{key=ip, value=###.###.###.###}, AppData{key=id, value=XXXXXXXXXXXX}, AppData{key=ts, value=1452532470}], from_trusted_server=false, persistent_id=0:#############%xxxxxxxxxxxxx, sent=1452532470066}
01-11 18:14:30.710   443 12231 W ActivityManager: Unable to start service Intent { act=com.google.android.c2dm.intent.RECEIVE cat=[com.whatsapp] flg=0x10 pkg=com.whatsapp (has extras) } U=0: not found
01-11 18:15:00.999 20175 20175 D com.newsblur.service.ServiceScheduleReceiver: starting sync service
01-11 18:15:01.030 20175 23007 D com.newsblur.service.NBSyncService: Abandoning sync: app not active and network type not appropriate for background sync.
01-11 18:17:44.877   443   553 E WifiNative-wlan0: doBoolean: disable
01-11 18:17:44.877 11243 11460 D GmsGcmMcsSvc: Heartbeat initiated, reason: Intent { act=org.microg.gms.gcm.mcs.HEARTBEAT flg=0x4 cmp=com.google.android.gms/org.microg.gms.gcm.McsService (has extras) }
01-11 18:17:44.877 11243 11460 D GmsGcmMcsSvc: Scheduling heartbeat in 300 seconds...
01-11 18:17:44.877 11243 20659 D GmsGcmMcsOutput: Outgoing message: HeartbeatPing{last_stream_id_received=148}
01-11 18:17:44.963   562   562 I wpa_supplicant: wlan0: CTRL-EVENT-SCAN-STARTED 
01-11 18:17:45.713   443   553 E WifiNative-wlan0: doBoolean: enable
01-11 18:17:45.768 20236 20236 D PrivacyPolice: Wi-Fi scan performed, results are: [...]
01-11 18:17:47.033 11243 20658 D GmsGcmMcsInput: Incoming message: HeartbeatAck{last_stream_id_received=147

Note also the difference in the stream id. I wonder if microg should have sent an ack message? This difference in the stream id stays the same, i.e. there was always a difference of 1 until a reconnect happened because my phone got a WLAN connection.

Is the Map API implementation in progress?

I have studied a lot for map api in google play service. But, I have not sure how the MapFragment and MapView are transferred across processes.

So, cloud you share something about the main idea in this project ? I will look forward contributing to the map api development.

Thanks.

GCM - future?

Hello!
I saw you have started adding GCM to the project. Does it mean there is a possibility to finally have a free version of google's push client? Are you using the sources from Chromium's push implementation? GCM is a true killer-feature

Cannot paste email or password when setting up Google account

When setting up a Google account using GmsCore, I attempted to paste account ID/email and password information from KeePassDroid but a long press in the fields did not bring up the expected "paste" contextual option. Since my passwords are all long, unique, impossible to remember and difficult to type this is a short coming for me.

Login fails with Microsoft Google Apps account

I cannot login with my Microsoft Google apps account created by a school district. After trying to login, the app gets stuck with "Just a sec..." and "One moment please..." on the screen. Here is what happens when I try to login:

  1. Add a Google Account
  2. I type in the email address and click Next
  3. Google says it is managed by a 3rd party, and I click Accept
  4. Microsoft login page appears, and I login
  5. "Just a sec..." reappears
  6. After a few more seconds, "One moment please" appears
  7. The app hangs on this screen indefinitely

Here is a screenshot:

There does not appear to be an error in the logcat

App: lokomo

http://forum.xda-developers.com/showpost.php?p=63450440&postcount=113

https://play.google.com/store/apps/details?id=pl.lokomo

There is two ways to use it:

  • just push "surrounding" (i believe it should have this name, or something like "near you") button, then it shows world map and spinning progress waiting for location, and - after while - message about inability of locate position,
  • select lines and then it pushes you to world map with positions of buses/trams but it didn't zoom into area near you (as it should).

Trouble in c:geo with GMS location service

When using c:geo together with this GMS implementation, the app doesn't work properly: Once the app is running, it fails to update its information about my current location. The device doesn't even seem to try to update the location: The location icon does not appear in the status bar. I reported this against c:geo in cgeo/cgeo#5162, and the advice I was given there was to disable the use of Play Services. That increases power usage (or so the settings say), but it made it work.

I would have expected GmsCore emulate the behavior of Google's implementation faithfully enough for c:geo to work with Play Services enabled.

The relevant code in c:geo seems to be https://github.com/cgeo/cgeo/blob/master/main/src/cgeo/geocaching/playservices/LocationProvider.java.

GmsCore makes a game using 'google play game' crash

Hi,

A game used to work with previous version of microg (=<2015-08-29)
but now with last microg updates it crashes. It is the case with version 2.3.8 of the game, and with last version 2.5.5. So you should be able to reproduce.

I was wondering if it was worse/valuable opening a ticket and posting the logcat here, at least for your information. If not, let me know.

FYI the game does not crash when you don't have gmscore installed.
I'm working (as a sysadmin) in the company that is editing the game, so I can have more information on what's being done behind the scene.

Thanks
J.

App severeweather not working when gmscore microg is installed (appcrash)

hi,

the App
https://play.google.com/store/apps/details?id=de.mdiener.unwetter.gm
erließ on Google play services and gcm. it opens when Sig fake is missing and shows a button with link to original gms in play store. with sig fake properly Installed, microg gcm working with Google account, the app immediately crashes. I am then taken to a message Google play store crashed subsequently and no crash details are shown. can you help me?
platform is a5.1.1 on cm12.1 build 29-12-2015. newest sww13 build installed. previous also did not work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.