[Android Apps and Games] AnonVendetta:
I'm having a bit of an issue running MicroG GMSCore as a system app:

I installed GMSCore as a regular app, then copied the folder over to /system/priv-app and set proper permissions. I also extracted the ARM64 libraries from inside the APK into /system/lib and /system/lib64. The MicroG framework proxy was also installed as a user app, and copied over to /system/app and set permissions. I also installed Play Store as a priv-app. I made sure to delete the copies in /data/app/ afterwards. The end result is that MicroG runs fine..................until I do a factory reset because of other issues.

During the initial CM13 setup wizard, I did not have a SIM card inserted and didn't connect to Wi-Fi. Suddenly, I get the following message:

There was no option to skip and continue, only an option to go back. If I have some kind of Internet connection, I can complete the setup and sign into my Google account (for Play Store access), but if not, I can't go any further.

I just recently cancelled my T-Mobile account, paid off my LG v10 in full, got the SIM unlocked, and am about to switch to another carrier. But until then, I can only use Wi-Fi, and my apartment has spotty and unreliable Internet access.

I was curious as to what might be causing this, and I suspected Play Store, MicroG framework proxy, and GMSCore as the prime suspects. So I deleted Play Store, another factory reset, same message. I then deleted the framework proxy and did another reset, same thing again. So I deleted GMSCore, lo and behold, I can complete the setup wizard. So I found the cause. But what could be the solution?

I can delete only the CM13 setup wizard APK, then I can get to the home screen, everything seems fine............until I discover that my home key doesnt work. I dont have hardware keys for Home, Back, and Menu/Recents, only software keys. If I put the APK back my Home button works again. So this is a workaround but not really desirable.

With the real Google Play Services, you typically get an option to skip and continue if you dont have a data connection of any kind. So it must be the way MicroG GMSCore is coded.

[MENTION=3999488]MaR-V-iN[/MENTION]: I was wondering if you could maybe look into changing up the code a little, so that people like myself who wish to run MicroG as a system app will have the option to skip and continue setup. Can you possibly give an explanation? Is this out of your control and the way the app must be written for whatever reason? Or can a simple change of code resolve this? I know you dont advise running as a system app, but I like to have my most important apps integrated into my ROM.

Thanks!

Edit: I think it's also worth mentioning that I'm now using a patched framework.jar, instead of the FakeGapps Xposed module. I recommend that everyone use [MENTION=5627087]ale5000[/MENTION]'s Tingle patch instead of the Needle patch, Tingle has some refinements/improvements that make it better, IMHO. I am going to try working with [MENTION=5627087]ale5000[/MENTION] to see if we can further improve and simplify the patch, hopefully solving more issues for everyone. Either will get the job done though. For those of you that are going to try either patch, they don't currently work with odexed framework.jar's, so you at least need to deodex that file and maybe your entire ROM before you can use the patches.