[Samsung Galaxy J7 Guides, News, & Discussion] ryeisqt:
Disclaimer

Your warranty is now void.

I am not responsible for any bricked devices.

After some trial and error. I finally got microg running on LOS 17.1 or Android 10/Q. Tested on J700H (should work on J700F, etc. except for T which I assume has different properties)

The installation is quite tricky for some bug reasons (Traditionally Installing Microg will result into, no app notifications.)

So for the people who want to install Microg in their LOS ROM make sure to follow this guide.

For people who doesn't know about MicroG

https://www.reddit.com/r/MicroG/comments/9jceaj

Before we start, there is also this https://lineage.microg.org/. Which gives you preloaded MicroG ROM but the problem is, the ROM itself isn't that updated (Last updated 2-2-2021)

But the good thing is, you only have to flash it with TWRP and voila. You got MicroG and LOS, just a little bit older.

For people who wants to have the latest nightly Lineage OS 17.1 and at the same time having microg follow these steps carefully.

Requirements:

Lineage OS 17.1 https://download.lineage.microg.org/j7elte/ (Download the latest Nightly Zip only, forget the recovery zip)

Working TWRP (if you dont have any https://xdaforums.com/t/tutorial-on...y-amp-amp-amp-root-samsung-galaxy-j7.3203632/) Please be careful

Apply this guide, but change the TWRP file to the latest one here https://dl.twrp.me/j7elte/

Magisk https://github.com/topjohnwu/Magisk/releases/download/v21.2/Magisk-v21.2.zip

MicroG GMS Core https://github.com/microg/GmsCore/r...7.204714/com.google.android.gms-204714034.apk

^^^^^

It's important to download this version else your notifications wont work

File downloaded must be "com.google.android.gms-204714034.apk" DOUBLE CHECK!

For some reason, the latest MicroG automatically closes it's device registration upon exiting the app, thereby disabling Cloud Messaging as a result. Which means notifications wont even show up.

MicroG GSF Proxy https://microg.org/fdroid/repo/com.google.android.gsf-8.apk

OpenGapps [arm, android 10, pico zip] https://opengapps.org/ (But I thought it was microg? Yup this is only temporary but part of the procedure)

Lucky Patcher or anything that can uninstall system apps (I recommend lucky patcher since it doesn't require any play services to run. If you try to uninstall google play services with an app that relies on play services it will crash)

Latest Bootloader, make sure to flash the latest bootloader using odin before proceeding to install LOS otherwise it wont work.

Check sammobile for the latest firmware

NEVER SKIP REBOOT. Else you're just making things complicated.

Go to settings > Tap Build Number 7 times > Developer Options > enable OEM unlock

Reboot to TWRP recovery and Full Wipe (Data, Cache, Dalvik, System)

Install Lineage OS 17.1 (Dont boot to system yet)

Install Magisk Zip

Install Gapps Pico Zip

Boot to System

Run Magisk, just press okay when it tries to update the app on startup. Check if Magisk is Installed: 21.1 (No need to Update App or Magisk if those numbers are shown, if it's N/A then update it)

If magisk asks you to reboot then do it (Especially if you updated it)

On the magisk app, click the puzzle icon on the bottom right. This is the magisk module, now search for Riru, download & Install (after installation dont reboot yet)

Next look for the Riru - EdXposed module (Then reboot)

I'm not sure of this one but check if EdExposed app is present on your homescreen then proceed, if not then search for EdExposed Manager apk, download & install.

If you're doing things right, upon opening EdExposed Manager, framework should be active. If not then retrace your steps

On EdExposed Manager, swipe right, then click download, search for FakeGApps and install. (You need to activate the module then reboot)

Install Lucky Patcher and grant root. Uninstall Google Play Services and Google Services Framework using lucky patcher (Things will start force closing which means it's working, reboot your device)

Install MicroG GMS Core (Make sure you download the file I listed above or else notifications wont work)

Install MicroG GSF

Open MicroG Settings on Homescreen, do a self-check. See if everything is checked, tap to grant it permission. (If system spoofs signature is unchecked, retrace your steps from no. 13)

Restart your phone (do not skip this step)

Open MicroG Settings, turn on Google Device Registration & Cloud Messaging

Restart your phone again (do not skip this step!! notification wont still work at this point)

Install Push Notification Tester on playstore to test

Have a cup of coffee and congratulate yourself. You now have MicroG on Lineage OS 17.1

Long term note: For example if an app notification doesnt work. Check MicroG settings > Cloud Messaging.

If the app doesn't appear there (also if the app exists way before you installed MicroG) you may have to reinstall that app to be able to get notifications

Purpose of this guide: Installing these kind of things are now difficult since Android 10. So many bugs and stuffs not working that's why I created this guide to at least contribute a little.

I'm thankful for the people who Lineage OS, made my phone so smooth.

Credits:

MicroG - https://microg.org/

LineageOS - https://lineageos.org/

Magisk - https://github.com/topjohnwu/

TWRP - https://twrp.me/

Video proof that MicroG works. GCM Notification Test via Discord https://streamable.com/d9f1qy