Using apps who require Google Play Services on MicroG Lineage OS - LineageOS Questions & Answers

Hi,
To begin, please excuse me for my English, and as I'm a novice, please excuse me too if this post isn't in the category that it has to.
So I recently reset my phone (Honor 5X) and I flashed Lineage OS, without OpenGApps. But I noticed that all applications that require Google Services (Bank Apps, or Snapchat) do not works. So, I installed MicroG on my device, but it still doesn't work.
I heard about LineageOS for microG, and I flashed this OS yesterday. Each cross of self-verifying is complete in MicroG, but SafetyNet Test fails.
I heard about Droid Guard and a modification about it but I don't understand what.
Thanks to answer me!

SkyLoon said:
Hi,
To begin, please excuse me for my English, and as I'm a novice, please excuse me too if this post isn't in the category that it has to.
So I recently reset my phone (Honor 5X) and I flashed Lineage OS, without OpenGApps. But I noticed that all applications that require Google Services (Bank Apps, or Snapchat) do not works. So, I installed MicroG on my device, but it still doesn't work.
I heard about LineageOS for microG, and I flashed this OS yesterday. Each cross of self-verifying is complete in MicroG, but SafetyNet Test fails.
I heard about Droid Guard and a modification about it but I don't understand what.
Thanks to answer me!
Click to expand...
Click to collapse
I don't use apps that need safety net. But i watch this drama quite a while now. If I ever was forced to use those apps, i probably would run them on a second phone with stock ROM and locked bootloader. Btw.: with two phones you can do a real 2FA for banking.

even some rom advertise about supporting "signature spoofing"... I've same issue, so I found the "Smali Patcher" that explicitly patch system to support "signature spoofing" as real.
https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053

Related

Push notifications not working - LineageOS for MicroG S5 KLTEDV

Edit: clean install of LOS for microG and couldn't even get signal messenger to register. Never received a text with a code and never received the phone all. Switched back to opengapps for now.
I have a galaxy S5 sm-G900P (sprint) device running LineageOS for MicroG Kltedv may 25th 2018 build. Full device encryption is enabled. The device is running the latest firmware from OTA updates from sprint.
For about a month now, my push notifications for protonmail and signal messenger don't seem to come through unless I open the app and then I get hammered with them. These are the only two apps I allow to have GCM push notifications and Google registration enabled.
I tried making both of these ignore android battery optimizations, and I've tried over riding the notification priority for both apps to the highest setting. I've tried using the websockets version of signal and it didn't seem to help. I've reinstalled the apps a few times and that doesn't help either. I install apps via yalp store.
My wife has the exact same phone, with updated firmware, full encryption, except she's using Pico opengapps, and she does NOT have this problem with signal. So it seems to me it's something to do with microG.
Has anyone had this issue or does anyone have some suggestions for me to try?
Boggle247 said:
I have a galaxy S5 sm-G900P (sprint) device running LineageOS for MicroG Kltedv may 25th 2018 build...
Click to expand...
Click to collapse
I don't use the MicroG but, you may be able to obtain some feedback regarding it within one of the following MicroG threads.
https://forum.xda-developers.com/showthread.php?t=3217616
https://forum.xda-developers.com/showthread.php?t=3432360
The following is the Official LineageOS 14.1 thread that's specific to your device and variants.
https://forum.xda-developers.com/showthread.php?t=3476433
If all else fails, and you don't receive any responses from any of the above threads, then your next best bet is to post your question within the following Q&A thread that's specific to the klte device variants.
https://forum.xda-developers.com/showthread.php?t=2700073
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Boggle247 said:
I have a galaxy S5 sm-G900P (sprint) device running LineageOS for MicroG Kltedv may 25th 2018 build. Full device encryption is enabled. The device is running the latest firmware from OTA updates from sprint.
For about a month now, my push notifications for protonmail and signal messenger don't seem to come through unless I open the app and then I get hammered with them. These are the only two apps I allow to have GCM push notifications and Google registration enabled.
I tried making both of these ignore android battery optimizations, and I've tried over riding the notification priority for both apps to the highest setting. I've tried using the websockets version of signal and it didn't seem to help. I've reinstalled the apps a few times and that doesn't help either. I install apps via yalp store.
My wife has the exact same phone, with updated firmware, full encryption, except she's using Pico opengapps, and she does NOT have this problem with signal. So it seems to me it's something to do with microG.
Has anyone had this issue or does anyone have some suggestions for me to try?
Click to expand...
Click to collapse
Is device registration enabled in microG settings?
kurtn said:
Is device registration enabled in microG settings?
Click to expand...
Click to collapse
Yes. I abandoned micro. Tried a clean install and I couldn't even register signal app.
PUSH notifications on LOS 15.1 Official
Hey, guys.
I asked the same question in my device thread, but not sure it is device specific.
Does anybody experience any issues with Push notifications?
After LOS 15.1 clean install (+OpenGApps Micro) I completely lost all notifications from everything.
I know that our devices are not certified for Play Market, so I followed instructions here: https://www.google.com/android/uncertified/
Added my GSF ID. But I see the following items in logcat.
Also, Google Play says that "Device is not certified".
I tried to clear Dalvik cache, cache partition, re-logged into my Google Account.
But no luck.
What's wrong?
RISING-STAR said:
Hey, guys.
I asked the same question in my device thread, but not sure it is device specific.
Does anybody experience any issues with Push notifications?
After LOS 15.1 clean install (+OpenGApps Micro) I completely lost all notifications from everything.
I know that our devices are not certified for Play Market, so I followed instructions here: <link removed>
Added my GSF ID. But I see the following items in logcat.
<link removed>
Also, Google Play says that "Device is not certified".
<link removed>
I tried to clear Dalvik cache, cache partition, re-logged into my Google Account.
But no luck.
What's wrong?
Click to expand...
Click to collapse
I have the same problem (identical logs) and no working push notifications immediately after I upgraded from LineageOS 14.1 to 15.1 on LG G2 D802. Both running a matching OpenGApps package.
I registered GSFA ID for my Google account and my device is marked as certified in Google Play. I upgraded to the latest nightlies of LineageOS 15.1 and OpenGApps, wiped caches, wiped Google Play Services storage.
Push notifications are still not working from me, though.
emkejovich said:
I have the same problem (identical logs) and no working push notifications immediately after I upgraded from LineageOS 14.1 to 15.1 on LG G2 D802. Both running a matching OpenGApps package.
I registered GSFA ID for my Google account and my device is marked as certified in Google Play. I upgraded to the latest nightlies of LineageOS 15.1 and OpenGApps, wiped caches, wiped Google Play Services storage.
Push notifications are still not working from me, though.
Click to expand...
Click to collapse
See my other messages below. You have to clean up the cache of a couple Google services.

Only AEX and GApps but still "Microsoft Company Portal" app says Phone is Rooted

Only AEX and GApps but still "Microsoft Company Portal" app says Phone is Rooted
Dear All,
I have installed installed AEX 5.6 along with GApps. There is no Magisk installed. Basically the device in completely unrooted state from my perspective.
Still, when I open "Microsoft Company Portal" app, it says that the device is rooted.
There are threads which talks about scenario when Magisk is installed and then how to have Microsoft Company Portal in a way that it finds it unrooted.
But my scenario is completely different, just a plain AEX and GApps.
Is it something related to the "test-keys" , "release-keys" ?
If yes, then how can I get AEX with "release-keys" ?
Please help.
Regards,
Amit
your bootloader is unlocked ...
please try to use magisk and magisk hide
Magisk hide will help you
faizauthar12 said:
your bootloader is unlocked ...
please try to use magisk and magisk hide
Click to expand...
Click to collapse
Thank you faizauthar,
I understand that I need to use Magisk now. The reason for asking this question was earlier, just with AEX and GApps only, it used to work. Magisk was not needed.
May be, Microsoft updated the Root Detection algorithm in "Company Portal" app.

Why can't I log into Strava?

I have been running Lineage Is 17.1 with MicroG for a week and its amazing
I don't have GAPPS, but strava needs Google maps, so I have installed that...
The App starts up on the log in page, and after I enter my details it just loops never logging in ?
I have given the app every permission available.
Any advice appreciated
Hi, exact same problem for me. It would be great to read some solutions.
I am experiencing this as well. Hope we can find a fix for this.
Things I've tried...
Downloaded multiple older versions of both google maps and strava, I get to the point where I get a message saying to update microg, which I attempt and get an error saying 'conflicting packages'...
I've bit the bullet and logged in an old google account and still nothing...
It's as if the app hangs at the recaptcha stage of the log in process...
I got it working now.
My Device is a Galaxy S10 (beyond1lte) with Lineageos 18.1 for microg installed.
On microg I enabled "Cloud Messaging" for Strava.
That's it!
(..no Google Maps, nothing)
rabbit-ng said:
I got it working now.
My Device is a Galaxy S10 (beyond1lte) with Lineageos 18.1 for microg installed.
On microg I enabled "Cloud Messaging" for Strava.
That's it!
(..no Google Maps, nothing)
Click to expand...
Click to collapse
Good news...
Do you have signature spoofing enabled? I haven't worked that out on lineage 18.1...
I still use 17.1 with signature spoofing and this still doesn't work with cloud messaging
The following link helped me. https://plexus.techlore.tech/applications/strava/
So I activated SafetyNet in the microg settings and although the certification fails, "Test ReCAPTCHA" works and so does the login to Strava.
ROM is freshly installed https://download.lineage.microg.org/sunfish/lineage-18.1-20220321-microG-sunfish.zip
Hope it helps.

Question MicroG on Oxygen OS?

Has anyone gotten MicroG working on Oxygen OS with signature spoofing? I tried to go through a process, don't have the link now, that was documented for lineageOS but had steps outlined for one plus devices. Unfortunately for me I only noticed that after I flashed using the steps for lineageOS, so my device bricked and I was forced to use MSM tool.
I can flash nanodroid which does flash gsf I believe (I don't quite remember and the documentation was missing the details on the installed packages) but the nanodroid patcher fails so I can't get signature spoofing. I'm not sure if it's even really necessary but I did run into one issue where an app would crash when trying to gain access to a folder, so maybe that was the reason? Other than that I had no issues without signature spoofing.
A detailed guide for stock ROM, rooted, stock bootloader (not TWRP) would be interesting for many ppl I think. Sadly my balls are to small to try some experiments on my daily driver.....
Getting rid of Google was always some major argument for a custom ROM.
I'll probably try again in a few weeks, I don't want to mess up my phone before my vacation. Ideally I want to keep stock but debloated as much as possible and MicroG instead of Google services
It wouldn't really be a good idea since OOS is heavily tied to Google services and microG could break it. Better to use LOS which is a little more flexible
I've been running micro g on a bone stock TMOBILE 9 pro since day one as I need it for vanced YouTube without root. No issues for me.
That's different, that's non root microG exclusively for Vanced apps to allow Google sign in. That's not what OP is looking for.
razercortex said:
That's different, that's non root microG exclusively for Vanced apps to allow Google sign in. That's not what OP is looking for.
Click to expand...
Click to collapse
Ah, thanks for the explanation!
Anyone got MicroG working with signature spoofing?
@shmallow Did you try Smali Patcher to get signature spoofing working, as the services.jar needs to be deoedexed for Nanodroid patcher to be successful. This was the only solution to get signature spoofing working on my S9.
This patcher basically creates a Magisk module for your phone which you will have to enable before installing Nanodroid.

[q] Gpay on lineage 19.1

Hey guys, has anyone gotten Gpay to work on lineage 19.1? I have done the following and have had very odd results. Firstly, I am passing safteynet and my device is registered as play certified in Google play store. I'm seeing where sometimes gpay won't open at all and when it does it says it is unable to load my payment methods.
Specs:
OS - linageOS 19.1 (latest build as of this post)
GAPPS - Mindthegapps (latest build as of this post)
Steps taken:
Installed magisk, enabled zygisk and rebooted
Installed magisk hide props module then rebooted
Installed shamiko module then rebooted
Installed universal safteynet fix (zygisk) then rebooted
Configured denylist in magisk checking GPS (all), and Gpay (all) rebooted
Changed device fingerprint with magisk hide props module to a certified one then rebooted
Additional steps taken:
I cleared data from GPS, play store and Gpay and rebooted
I tried a different device fingerprint and rebooted (clearing data like above afterwards and rebooting again)
I have done a complete fresh install of my OS and tried again from scratch.
I also tried seeing is renaming magisk would help at all, it didn't
It appears I'm getting nowhere with this. If anyone has gotten it to work and has some insight it's be greatly appreciated!
Nevermind, looks like it was an issue from having the pixelify module installed as well. After I removed it it started working just fine.
deathblade said:
Nevermind, looks like it was an issue from having the pixelify module installed as well. After I removed it it started working just fine.
Click to expand...
Click to collapse
Hey deathblade!
Thanks for helping me out on the other thread.
Just wanted to check in, did you use the official build or the unofficial one with the Pixel Goodies? I'm intending/hoping to have full functionalities of Google Pay using the unofficial build, but from your post it seems that I can't have the Pixel experience if I want the ROM to work with Google Pay?
HW898 said:
Hey deathblade!
Thanks for helping me out on the other thread.
Just wanted to check in, did you use the official build or the unofficial one with the Pixel Goodies? I'm intending/hoping to have full functionalities of Google Pay using the unofficial build, but from your post it seems that I can't have the Pixel experience if I want the ROM to work with Google Pay?
Click to expand...
Click to collapse
I'm using the official build. I think the unofficial has everything needed to use Gpay and have some pixel things baked in. So might be worth a look in your case
deathblade said:
I'm using the official build. I think the unofficial has everything needed to use Gpay and have some pixel things baked in. So might be worth a look in your case
Click to expand...
Click to collapse
Aite, I will try out the unofficial one and see if GPay works there too. Thanks for the headsup!
HW898 said:
Aite, I will try out the unofficial one and see if GPay works there too. Thanks for the headsup!
Click to expand...
Click to collapse
I just remembered, the unofficial is setup to pass safteynet out the box, but more maybe needed for Gpay to work. Once you flash it try it out, if you run into issues I can provide what I did to get Gpay working
deathblade said:
Nevermind, looks like it was an issue from having the pixelify module installed as well. After I removed it it started working just fine.
Click to expand...
Click to collapse
Hi there, trying out the official build after experiencing some problems on the unofficial one. Any alternatives to pixiel-ing the ROM?
HW898 said:
Hi there, trying out the official build after experiencing some problems on the unofficial one. Any alternatives to pixiel-ing the ROM?
Click to expand...
Click to collapse
Not that I've found, however I did notice if you install the pixelify module then uninstall it, it does seem to leave some stuff behind. Like I still have the option to use Hold for me and direct my call. So it might work out where you can install it to get the things you want then remove it to get Gpay working
deathblade said:
Not that I've found, however I did notice if you install the pixelify module then uninstall it, it does seem to leave some stuff behind. Like I still have the option to use Hold for me and direct my call. So it might work out where you can install it to get the things you want then remove it to get Gpay working
Click to expand...
Click to collapse
I see... So these also means stuff like Now playing etc. will be gone too right?
Also, did you experience the problems I've faced in the unofficial build? sounds cannot change etc. as posted in main thread
HW898 said:
I see... So these also means stuff like Now playing etc. will be gone too right?
Also, did you experience the problems I've faced in the unofficial build? sounds cannot change etc. as posted in main thread
Click to expand...
Click to collapse
Nope now playing is still there. I really only used it the module to force call screening to show up. But I have pretty much everything I remember from stock plus a few phone related goodies. I never tried the unofficial build but on the official I do not have that issue
deathblade said:
Nope now playing is still there. I really only used it the module to force call screening to show up. But I have pretty much everything I remember from stock plus a few phone related goodies. I never tried the unofficial build but on the official I do not have that issue
Click to expand...
Click to collapse
I see... I will try installing the official one without magisk as I won't want to meddle with rooting stuff for now, will get back with results asap!
deathblade said:
Hey guys, has anyone gotten Gpay to work on lineage 19.1? I have done the following and have had very odd results. Firstly, I am passing safteynet and my device is registered as play certified in Google play store. I'm seeing where sometimes gpay won't open at all and when it does it says it is unable to load my payment methods.
Specs:
OS - linageOS 19.1 (latest build as of this post)
GAPPS - Mindthegapps (latest build as of this post)
Steps taken:
Installed magisk, enabled zygisk and rebooted
Installed magisk hide props module then rebooted
Installed shamiko module then rebooted
Installed universal safteynet fix (zygisk) then rebooted
Configured denylist in magisk checking GPS (all), and Gpay (all) rebooted
Changed device fingerprint with magisk hide props module to a certified one then rebooted
Additional steps taken:
I cleared data from GPS, play store and Gpay and rebooted
I tried a different device fingerprint and rebooted (clearing data like above afterwards and rebooting again)
I have done a complete fresh install of my OS and tried again from scratch.
I also tried seeing is renaming magisk would help at all, it didn't
It appears I'm getting nowhere with this. If anyone has gotten it to work and has some insight it's be greatly appreciated!
Click to expand...
Click to collapse
Just also wanted to clarify in the case I decide to install magisk, which module do you install exactly? All of them? Zygisk/hide props module/shamiko/universal safetynet fix?
HW898 said:
Just also wanted to clarify in the case I decide to install magisk, which module do you install exactly? All of them? Zygisk/hide props module/shamiko/universal safetynet fix?
Click to expand...
Click to collapse
Ok so here is the breakdown:
Zygisk is not a module, but an implementation method used by modules. Magiskhide props is used to change the device fingerprint to a valid one that registers as protected by google play. Shamiko is for hiding root from Google play services, and Gpay (and whatever other apps may need it). Universal safteynet fix is used to help pass google safteynet checks (security). Not listed is the pixelify module used to add pixel exclusive features but of course with it install it cause havoc on Gpay and other apps so once installed it should be uninstalled.
TLDR
Yes all of them
deathblade said:
Ok so here is the breakdown:
Zygisk is not a module, but an implementation method used by modules. Magiskhide props is used to change the device fingerprint to a valid one that registers as protected by google play. Shamiko is for hiding root from Google play services, and Gpay (and whatever other apps may need it). Universal safteynet fix is used to help pass google safteynet checks (security). Not listed is the pixelify module used to add pixel exclusive features but of course with it install it cause havoc on Gpay and other apps so once installed it should be uninstalled.
TLDR
Yes all of them
Click to expand...
Click to collapse
Aite thanks for the help mate! just installed but apparently, i couldn't find gapps despite sideloading it.. might have to reinstall again
Hmm safetynet fix seems to fail, can't pass cts profile.. any step by step guides by any chance?
deathblade said:
Ok so here is the breakdown:
Zygisk is not a module, but an implementation method used by modules. Magiskhide props is used to change the device fingerprint to a valid one that registers as protected by google play. Shamiko is for hiding root from Google play services, and Gpay (and whatever other apps may need it). Universal safteynet fix is used to help pass google safteynet checks (security). Not listed is the pixelify module used to add pixel exclusive features but of course with it install it cause havoc on Gpay and other apps so once installed it should be uninstalled.
TLDR
Yes all of them
Click to expand...
Click to collapse
HW898 said:
Hmm safetynet fix seems to fail, can't pass cts profile.. any step by step guides by any chance?
Click to expand...
Click to collapse
That's where magisk hide props comes in. I don't have a full guide that I know of but I could do a quick wtite up tomorrow for you
deathblade said:
That's where magisk hide props comes in. I don't have a full guide that I know of but I could do a quick wtite up tomorrow for you
Click to expand...
Click to collapse
I got it working after following a guide~
Unfortunately features like now playing isn't working. the rest is pretty much okay tho
HW898 said:
I got it working after following a guide~
Unfortunately features like now playing isn't working. the rest is pretty much okay tho
Click to expand...
Click to collapse
You install the pixelify module? Also can you explain how it's not working?
deathblade said:
You install the pixelify module? Also can you explain how it's not working?
Click to expand...
Click to collapse
Nope, I didn't. Other than the modules to hide from banking apps as mentioned above, I installed a pixel launch module here to make it for pixel-like: https://forum.xda-developers.com/t/app-mod-pixel-launcher.4442077/
Other than that nothing else.
It doesn't;t work in the sense that it does not pick up music, even popular ones. The settings are there though, I can see them. It just doesn't identify any songs
HW898 said:
Nope, I didn't. Other than the modules to hide from banking apps as mentioned above, I installed a pixel launch module here to make it for pixel-like: https://forum.xda-developers.com/t/app-mod-pixel-launcher.4442077/
Other than that nothing else.
It doesn't;t work in the sense that it does not pick up music, even popular ones. The settings are there though, I can see them. It just doesn't identify any songs
Click to expand...
Click to collapse
This is the pixelify module I installed then removed, you can give it a try.
GitHub - Kingsman44/Pixelify: Magisk module to enables pixel exclusive features and ui
Magisk module to enables pixel exclusive features and ui - GitHub - Kingsman44/Pixelify: Magisk module to enables pixel exclusive features and ui
github.com

Categories

Resources