Microg Installation Guide for LineageOS - Samsung Galaxy J5 Guides, News, & Discussion

I thought I'd write a little guide on how to get Microg working with LineageOS, I've used Nanodroid in order to allow signature spoofing, since it isn't enabled in our LOS build (Play Store will not connect without this). So if you'd like to be free of GAPPS and want to try microg then follow the guide below.
STEP 1 - ENSURE YOU HAVE A CLEAN INSTALL, do a factory reset - If you don't, you'll get a bootloop after installation or errors with sync
STEP 2 - DOWNLOAD THE ZIPs you can find them here - androidfilehost.com/?w=files&flid=198483
There are two you need, one is the signature spoofing patch, and the other is Microg core. Or you can install the entire NanoDroid package which contains a whole bunch of useful open source apps, the full list of what's included is available here -
github.com/Nanolx/NanoDroid/blob/master/README.md
Once you have the files you need, reboot into recovery.
STEP 3 - Flash the patch first, then Microg or the full Nanodroid zip.
All going well you should now have everything you need, reboot.
STEP 4 - If you've booted all okay you should see an app labeled Microg Settings, open that and you'll see the option to check your installation. If everything is ticked you should be all good.
STEP 5 - If you only installed the bare minimum for Microg then you may need some more apps in order to get a few things working, the first is Network Location Provider which is available on F-Droid
droid.org/app/org.fitchfamily.android.dejavu
After installing this you should now see that under your Microg Settings UnifiedNlp is now ticked. This is required if you wish to use location services which are needed by some apps.
STEP 6 - If you use Google to store your contacts or use Google Calender then follow this to get Sync working - You'll have to login to your Google account first and enable logging in from less secure devices. Now since we don't have the Sync adapters from google anymore, we need another way to condavdroid
f-droid.org/app/at.bitfire.davdroid
Davdroid is an open source CalDAV/CardDAV sync adapter which will allow you to sync your contacts and Calender from Google
Open up DavDroid and add an account, choose the option that says Login with URL and password.
Google has the CardDAV service set uPMs
o use OAuth2, which does not support the username/password method of authenticating that DAVDroid uses. This URL is noted to possibly change in the future and should not be depended on for long-term synchronization.
Open DAVDroid and go to the page for adding a new service to sync with. Select the “Login with URL and user name” option. Enter this URL as the base URL, replacing*[email protected]*with your actual email:
Default contacts list:
googleapis.com/carddav/v1/principals/[email protected]/lists/default
STEP 7 - If everything went well with DavDROID you should now be able to Sync, however first you need to go to your phones settings, wipe the storage for the following Contacts, Contacts Storage and Phone/Dialler then reboot.
Your contacts should now Sync.
So there you go, a short guide to help those that want Microg. I spent hours trying to work out these issues so I hope it helps!.
Should anyone need any more help with us I will respond to PMs

i tried this but update to kernel pack couldn't work on 15.1 lineage, i wanted it to work SO bad too LOL.

@x86ARMx64 Can this be adapted to LOS 14.1 for other Samsung devices?

Related

[MOD] H2OS (NoPlayService-NoGoogleServiceFramework) long life battery

I am not responsible for any damage to your phone.
Read before downloading or posting in the thread.
Proceed with caution if you have no experience.​
This is an initial project to get NoPlayService and NoGoogleServiceFramework on on hydrogenOS ROM, where Play Services is not available. If you use your phone without GAPPS.
For issues of autonomy: The framework and Google Play Services are known to consume huge resources. What's more to the basic consumption of these apps will be added various bugs that prevent standby phone.
This system should make last for long the battery, I'm still testing
Prerequisite:
1. You need a ROM that supports signature faking;
2. I have tried this procedure on H2OS only;
3. I do not know if it works on other ROM;
4. The installation does not require any modification of the /system partition;
5. Make a nandroid backup first;
6. You need Google Play Store only.microG Services Framework Proxy;
7. I recommend using Titanium backup (and make a backup of your applications before).
Downloads:
1. microG Services Core and microG Services Framework Proxy from here;
2. GooglePlayStore from here;
3. Lucky Patcher v6.1.7 here;
4. Any file explorer flashable zip (I 've used this for easier to installation apk I did not know if base ROM had this);
5. Titanium backup from here
Put everything in a folder storage
Instructions and download:
1. Download and install ROM without Gapps H2OS here follow the instructions, you can flash H2OS_MM_DBLOATR+SuperSU.zip too. (note important without Gapps);
2. Flash file explorer flashable zip;
2. Reboot and follow the wizard, jump wifi, I've done this procedure in data connection;
3. Download ad install microG Services Core and microG Services Framework Proxy;
4. Open MicroG Setting on your drawer and set (see img);
5. Reboot phone
at this point you add your account, then
6. Install GooglePlayStore (do not open this);
7. Install Lucky Patcher and open this on your drawer then put googleplaystore in system/apps
8. Reboot phone;
9. Install titanium backup and restore your app;
10. You haven't PlayService and google framework that suck your battery (see img).
Here you can find the app that do not work
however you can use third-party applications, that it is better
GAPPS LIST OF WORKING AND NOT WITH THIS PROCEDURE:
Google: basic functionality, but are not available Now cards, you 'you can personalize "Ok Google" (works as a default)
Maps: work
Youtube: work
Drive: work
Plus: do not work (to be tested)
Hangout: work
Calendario: work
Traduttore: work
Play Giochi: do not work (to be tested)
Chrome: work
Documents, papers, Presentation and PDF Google: work
Cardboard: work
Snapseed: work
Tastiera Google:work
Fotocamera: work
Gmail: work
Keep: do not work raccomanded Evernote alternative
Fit: do not work (to be tested)
For the rest I invite users to test and report your results
I read you don't need an ROM with Fake signature...
There is an xposed Module for it...
http://repo.xposed.info/module/com.thermatk.android.xf.fakegapps
It would be fair to link the thread by @MaR-V-iN:
http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
There can everybody find the links and maybe help to install a ROM without GApps. Btw l.......r isn't necessary to install microG, there are other possibilities...!
Has sbdy tested? Because it sounds very promising one the original page
Could you upload some battery screenshots?
Sent from my ONE A2005 using Tapatalk
Migdilu said:
Could you upload some battery screenshots?
Sent from my ONE A2005 using Tapatalk
Click to expand...
Click to collapse
Purity with microG
great, works on AICP CM13 !
And on H2OS?
Works !
wimsjohn said:
And on H2OS?
Click to expand...
Click to collapse
Works perfectly on H2OS [6.0.1][005] ! improved battery life and less resource usage !
Some screenshot for h2os
Sent from my ONE A2003 using XDA-Developers mobile app
isoladisegnata said:
View attachment 3754873View attachment 3754874View attachment 3754875
Some screenshot for h2os
Sent from my ONE A2003 using XDA-Developers mobile app
Click to expand...
Click to collapse
That is huge screen on time..
Did you just used the phone for video playing? or what...
biratlama said:
That is huge screen on time..
Did you just used the phone for video playing? or what...
Click to expand...
Click to collapse
regular use whatts up ..browser..facebook . photo..call...some video on you tube us The Big Bang Theory : The Universe, The Space-time, And The Relativity that I like
Gmail and youtube do not work for me...
Sent from my ONE A2003 using Tapatalk
So I just read that in basically only the apks need to be installed not more? (source: MicroG)
Not even moving playstore apk to /system is mentioned...
I have problems with Google Contact's sync. I haven't my contact on phone
Sent from my ONE A2001 using Tapatalk
wimsjohn said:
So I just read that in basically only the apks need to be installed not more? (source: MicroG)
Not even moving playstore apk to /system is mentioned...
Click to expand...
Click to collapse
You have to install the Playstore as System-App. And once more, read this thread http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 you can find there the missing informations.
steroideg said:
I have problems with Google Contact's sync. I haven't my contact on phone
Click to expand...
Click to collapse
For full functionality you need signature faking.
Instructions
Preparation:
You need a 4.4+ ROM that is GAPPS-free. Either don't install them or remove them, if your ROM ships them. Please note that microG GmsCore might run on a cleaned stock ROM, but it might also brick it or cause random bugs.
You need a ROM that supports signature faking. Some custom ROMs are patched to support signature faking out of the box, including all OmniROM-based ones. Stock CyanogenMod denied the inclusion, as the possibility of third-party play services implementations is a security issue. Please ask your ROM developer if unsure. The latest version of signature spoofing has to be enabled at the bottom of the developer settings first. If your ROM does not support signature faking, but you use Xposed, you can grab a Xposed module here.
If you are a ROM developer or just do custom builds for whatever reason, you can download and include the patch from here and here.
Remove UnifiedNlp. In case you installed it before. You can keep your backend modules installed, microG Services will be able to use them later and provide the same feature set (to be precise, microG Services includes UnifiedNlp).
I
Greetings Kosmas
_Kosmas_ said:
You have to install the Playstore as System-App. And once more, read this thread http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 you can find there the missing informations.
For full functionality you need signature faking.
Instructions
Preparation:
You need a 4.4+ ROM that is GAPPS-free. Either don't install them or remove them, if your ROM ships them. Please note that microG GmsCore might run on a cleaned stock ROM, but it might also brick it or cause random bugs.
You need a ROM that supports signature faking. Some custom ROMs are patched to support signature faking out of the box, including all OmniROM-based ones. Stock CyanogenMod denied the inclusion, as the possibility of third-party play services implementations is a security issue. Please ask your ROM developer if unsure. The latest version of signature spoofing has to be enabled at the bottom of the developer settings first. If your ROM does not support signature faking, but you use Xposed, you can grab a Xposed module here.
If you are a ROM developer or just do custom builds for whatever reason, you can download and include the patch from here and here.
Remove UnifiedNlp. In case you installed it before. You can keep your backend modules installed, microG Services will be able to use them later and provide the same feature set (to be precise, microG Services includes UnifiedNlp).
I
Greetings Kosmas
Click to expand...
Click to collapse
All apps work, but the sync (of contacts) doesn't works. Also Gmail doesn't works
Sent from my ONE A2001 using Tapatalk
So i would refresh instructions to this:
1. Download and install ROM without Gapps H2OS here follow the instructions, you can flash H2OS_MM_DBLOATR+SuperSU.zip too. (note important without Gapps).
2. Reboot and follow the wizard, jump wifi connection setup.
3. Download ad install microG Services Core and microG Services Framework Proxy (apks).
4. Open MicroG Setting on your drawer and set (see img attached).
5. Reboot phone
at this point you add your account, then
6. Install GooglePlayStore apk from apkmirror (do not open this).
7. Install Lucky Patcher and open this on your drawer then put googleplaystore in system/apps (you can directly uninstall Lucky Patcher after this so it doesnt mash up anything!).
8. Reboot phone.
9. Finished (you can check functionality now)
FlasHRendeR said:
Works perfectly on H2OS [6.0.1][005] ! improved battery life and less resource usage !
Click to expand...
Click to collapse
can you please tell the exact steps you used, as am unable to use gmail after this
some other users please post battery screenshots

[Guide] How to solve Google Play Services don't work in Cyanogenmod 13/14 and AOSP

Hello guys,
I have noticed that many ROM users, mainly Cyanogenmod 13 and 14 are having problem with Google Play Services during initial setup, being required to install pico or nano gapps to use the ROM. After several attempts and modifications, I finally found the problem, and how to solve it, easy.
1 Make a flash of a ROM of your choice, don't flash gapps for now
2 Reboot to system, and finish initial setup without account login
3 Go to Settings, in About Phone, press Build Number, until it appears that you are a developer
4 Back to settings, in Developer Options, go to WebView Implementation, if WebView is not available, we will install
5 Download according to the architecture of your mobile
6 And all you have to do now is install the WebView
7 Now, just go back to Settings, Developer Options -> WebView Implementation, and select "Google WebView", "Chrome Stable" appears in some cases, you can also use.
Remember: I just tested this on Cyanogenmod ROM 13 and 14, but it should work on AOSP, and other alternative roms, if the Google Play Services don't work.
DOWNLOAD LINK: [Sorry, can someone send me message, to post the link? I have an new account)
If u have some question, send me!
Thank you hostagedead! This fixed "google play services stopped working" on my galaxy s4 value edition i9515 after installing LineageOS14.1 (cm14). Thanks again!
Here's the correct link.. OP didn't include it: http://www.lineageosrom.com/2017/02/how-to-fix-google-play-services-error.html
i have a problem in my galaxy grand prime
hostagedead said:
Hello guys,
I have noticed that many ROM users, mainly Cyanogenmod 13 and 14 are having problem with Google Play Services during initial setup, being required to install pico or nano gapps to use the ROM. After several attempts and modifications, I finally found the problem, and how to solve it, easy.
1 Make a flash of a ROM of your choice, don't flash gapps for now
2 Reboot to system, and finish initial setup without account login
3 Go to Settings, in About Phone, press Build Number, until it appears that you are a developer
4 Back to settings, in Developer Options, go to WebView Implementation, if WebView is not available, we will install
5 Download according to the architecture of your mobile
6 And all you have to do now is install the WebView
7 Now, just go back to Settings, Developer Options -> WebView Implementation, and select "Google WebView", "Chrome Stable" appears in some cases, you can also use.
Remember: I just tested this on Cyanogenmod ROM 13 and 14, but it should work on AOSP, and other alternative roms, if the Google Play Services don't work.
DOWNLOAD LINK: [Sorry, can someone send me message, to post the link? I have an new account)
If u have some question, send me!
Click to expand...
Click to collapse
when i install android systemwabiew apk in my samsung galaxy grand prime doesn´t appear the systemwebview in developer options. what i can do?

Confused about GAPPS and Google Account

I am very new to working with/modifying an Android device.
I recently followed the instructions to successfully install LineageOS on an HTC smartphone. Included in those instructions was a section explaining how to install something called GAPPS. So, I did that.
I now have GAPPS on my phone, but never set up a Google account on it. Nor have I installed any of the "usual" Google apps: Maps (I have location turned off), gmail, calendar, photos, contacts, etc., nor do I plan to need or use them. Sooooo........ Two questions:
1) What, if any, information is Google able to extract from my phone?
2) What, if anything, is GAPPS "doing" on my phone in my current setup?
Thanks.

Question How can i De-Google my device.

I want to degoogle my realme gt 5g. FYI I have unlocked bootloader and rooted device. Please help
F0Xie said:
I want to degoogle my realme gt 5g. FYI I have unlocked bootloader and rooted device. Please help
Click to expand...
Click to collapse
you can start debloating the cell (give a look to warden threat)
once extra apps are removed/disabled you can go to google services
you need to identify:
- "google services framework" (gsf)
- "google services core" (gsm)
- "google playstore"
- generally speaking everithing having "google in the package name" (pay attention to contacts sync and calendar sync, just disable them)
the real problem is not about removing GServices but the related side-effects
- working in plane-mode,
- building your own magisk module to remove apps one at once (you can use "replace" via file-system approach to ne able to restore something if you run into boitloop)
- deleting /data/apps folder to avoid errors from updated apps (with google account references)
store, dialer, contacts, calendar, push notification, will not work,
also microG will not work propertly since the rom does not supoort signature spoofing
up to you to go with "aurora store" completely google-less or (keeping the oob playstore) install xposed+fake gapps, to support microG
(the process is not complex, but requires patience and time)
Good luck

LG V60 and MicroG

It seems no one on the internet has tried to install Microg on any V60.
(My V60 is on Android 10)
I degoogled the phone using:
[GUIDE] DeGoogle any device and install MicroG
This guide explains how to deGoogle any android by removing most of google invasive crap. (yes, GPlay services is also removed). Play store, Google app and other crap is also removed from system, so if you want to use them, install them as user...
forum.xda-developers.com
or
https://www.reddit.com/r/MicroG/comments/hngcjq
Universal debloater
Nanodroid
microG Installer Revived
I found two problems after removing Google:
1. "Lock screen & security" in Settings crashes probably because it relies on
Google Play Services and doesn't like the microg replacement.
2. Serial # is not shown in About under Settings. This is mentioned by user @KouaV1:
https://forum.xda-developers.com/t/v60-bootloader-unlock-and-magisk-root.4358785/post-87826097
KouaV1 mentions "service disabler". Can I use it for my problem?
User @Svirusx mentions deleting permission files:
https://forum.xda-developers.com/t/...h-safetynet-pass-oneui-4-1-oneui-5-0.4435609/
I can't because the System-RW (created by user lebigmac) doesn't fully work on the V60.
Does anybody have some guidance or info on installing MicroG?
AnnexedOne said:
1. "Lock screen & security" in Settings crashes probably because it relies on
Google Play Services and doesn't like the microg replacement.
Click to expand...
Click to collapse
I found some information on phhusson's AOSP 12.1 v416 GSI's github [email protected]
[Samsung Galaxy A21s] Can't Get Past Setup if I Set Any Type Of Unlock Method / Fingerprint does not work (All versions) · Issue #2256 · phhusson/treble_experimentations
I Can't Get Past Setup if I Set Any Type Of Unlock Method, I just get sent back to the google services screen and then I click continue and then it asks for the password of the device and then I ge...
github.com
"yafia" writes: Disable "com.google.android.setupwizard" (App Name: Android Setup).
The problem is different but maybe this might help my issue. I will try it eventually.

Categories

Resources