[ROM]-[10-04-2020]-[microG] Unofficial LineageOS 17 w/ microG support - OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D

Info
This thread contains unofficial custom builds of LineageOS 17 for OnePlus 7 Pro based on official LineageOS repositories & PeterCxy's repositories. This ROM has a few additions.
- Includes microG signature spoofing patch
- Removes com.qualcomm.location which interferes with UnifiedNlp
- Added option to configure the height of the back gesture in gesture navigation settings
Please note that I am not an experienced ROM developer, these are simply my own custom builds I'm sharing with you all in case anybody finds them useful.
ROM instructions
If you want to spoof signature of Phonesky you must manually grant it. Do this through a terminal emulator by running the following commands.
Code:
su
pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
There is currently an issue with microG UnifiedNlp. If you ever get the "UnifiedNlp has no last known location" error, you must re-enable UnifiedNlp backends. This must be done after every reboot and whenever this error decides to pop back up.
Installation instructions
1. Format data in TWRP
2. Flash ROM, TWRP Installer
3. Reboot > Recovery
4. Flash ROM, TWRP Installer
5. Reboot > System
6. Complete system setup
7. Reboot > Recovery
8. Flash Magisk, flash NanoDroid
9. Reboot > System
Update instructions
1. Flash ROM, TWRP Installer
2. Reboot > Recovery
3. Flash ROM, TWRP Installer
4. Reboot > Recovery
5. Flash Magisk, flash NanoDroid
6. Reboot > System
Downloads
ROM - EDIT: Links removed, no longer working on this project.
Magisk - https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
TWRP - https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3931322
NanoDroid - https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928
Thanks
Special thanks to @LuK1337 and @PeterCxy for helping me out with the build process and answering all my questions
Kernel Source
https://github.com/PeterCxy/android_kernel_oneplus_sm8150
XDA:DevDB Information
LineageOS microG, ROM for the OnePlus 7 Pro
Contributors
gigatex
ROM OS Version: Android 10
Based On: LineageOS
Version Information
Status: Testing
Created 2019-08-23
Last Updated 2020-04-11

Reserved for OP.

Thank you for this! ??

Update - 30-08-2019
Changelog:
Switched to official LineageOS device repositories
Merged latest changes from LineageOS frameworks/base
Switched hosting from MEGA to Android File Host
Update instructions are in OP

Hi gigatex,
I just wanted to thank you for creating this! I've been using it as my daily driver without any issues. It's rock solid, fast and great on the battery and it's the only rom that works superbly with MicroG, without the hassle of removing Google junk.
If I were to give you one suggestion, it'd be to include links to Magisk, NanoDroid (F-Droid and MicroG packages) and perhaps TWRP. If only for user ease.
Keep up the good work and thanks again!

Doesn't the lineage team provide an official microg version around a week or so after they have an official regular build?
Thank you for this either way! I've been waiting for a microg version of this.

I don't want to sound douchy, but it's actually the MicroG team that forks the LineageOS build and pretty much does to it what gigatex did with this ROM. They will probably add support for our device in a few days, but it's great that we don't have to wait for that, thanks to this ROM.

aeonius said:
I don't want to sound douchy, but it's actually the MicroG team that forks the LineageOS build and pretty much does to it what gigatex did with this ROM. They will probably add support for our device in a few days, but it's great that we don't have to wait for that, thanks to this ROM.
Click to expand...
Click to collapse
As far as I can tell by looking at the docker repo, LineageOS for microG just takes the LineageOS frameworks/base and applies the signature spoofing patch for their builds. If this is the case they might have the same problem with UnifiedNlp as every other OnePlus 7 Pro ROM.
Lineage only merged the "NLP Combo feature" commit in the last month or so, while most other ROMs have had it for a lot longer. If anyone here flashes their build when it becomes available I'd be curious to know if UnifiedNlp works correctly on their ROM.

I'm gonna give this a go tonight. Looking forward to it. Lineage has always been my favorite since I got into the rom community. Glad I can go Google free.
Side note: anyone know of good navigation app? For obvious reasons, I'm not wanting to use Google maps.

adamokari said:
I'm gonna give this a go tonight. Looking forward to it. Lineage has always been my favorite since I got into the rom community. Glad I can go Google free.
Side note: anyone know of good navigation app? For obvious reasons, I'm not wanting to use Google maps.
Click to expand...
Click to collapse
I use OsmAnd~
https://f-droid.org/en/packages/net.osmand.plus/

gigatex said:
I use OsmAnd~
https://f-droid.org/en/packages/net.osmand.plus/
Click to expand...
Click to collapse
I've used osmand before, it's been awhile but for some reason there was something I didn't like about it. I'll give it another shot. Thanks!

This ROM is running great so far. Thank you very much for your work!
Only issue I'm having it getting the oneplus camera app. Whenever I tap the app to open it, it force closes. O can however long press on the icon and tap one of the modes in the pop up menu and it works from there. For some reason it seems to be the standard picture mode that crashes. Did anyone else have issues with it?

Edit: Double post

Sorry for all the questions, but what exactly is the proper way to set this up with microg? I've realized I'm not getting push notifications for email apps.
Basically for my install I wiped dalvik and data,
Flashed ROM and twrp
Reboot recovery and flash ROM and twrp again
Reboot to system
Reboot recovery and flash magisk and nanodroid
Then proceed to configure microg, signing into google account and enabling cloudessagimg, etc.
Any help would be greatly appreciated.
Thank you!

adamokari said:
Sorry for all the questions, but what exactly is the proper way to set this up with microg? I've realized I'm not getting push notifications for email apps.
Basically for my install I wiped dalvik and data,
Flashed ROM and twrp
Reboot recovery and flash ROM and twrp again
Reboot to system
Reboot recovery and flash magisk and nanodroid
Then proceed to configure microg, signing into google account and enabling cloudessagimg, etc.
Any help would be greatly appreciated.
Thank you!
Click to expand...
Click to collapse
As for OnePlus camera, I simply downloaded the APK in PeterCxy's thread and I'm not experiencing any crashes.
I use the same installation procedure as you. Are your apps getting registered under GCM and is your "Current State" showing as connected? Also make sure you go through the entire self check. The "System supports location provider" is the only checkbox that's supposed to be unchecked.

gigatex said:
As for OnePlus camera, I simply downloaded the APK in PeterCxy's thread and I'm not experiencing any crashes.
I use the same installation procedure as you. Are your apps getting registered under GCM and is your "Current State" showing as connected? Also make sure you go through the entire self check. The "System supports location provider" is the only checkbox that's supposed to be unchecked.
Click to expand...
Click to collapse
I'm gonna try again from stock. It says current state disconnected and no apps ever register under GCM. Not sure what the issue is.

adamokari said:
I'm gonna try again from stock. It says current state disconnected and no apps ever register under GCM. Not sure what the issue is.
Click to expand...
Click to collapse
That's definitely the issue then. Also make sure you only open apps that use GCM for the first time after completing the microG setup and GCM is connected, or the app will never get registered.

gigatex said:
That's definitely the issue then. Also make sure you only open apps that use GCM for the first time after completing the microG setup and GCM is connected, or the app will never get registered.
Click to expand...
Click to collapse
Alright I got it working. Thank you very much!

Would it be better to flash MicroG through NanoDroid or by installing the Magisk MicroG Module?

Neffarion said:
Would it be better to flash MicroG through NanoDroid or by installing the Magisk MicroG Module?
Click to expand...
Click to collapse
I don't know what's recommended, but I ended up flashing the magisk module. My reason being is that nanodroid has a ridiculous amount of extra bloat in it.

Related

[DEV][TOOL] Shadow53's Flashable Zip Builder

Making flashable zip files for Android devices can be… frustrating.
For those who have never tried, here are some of the more irritations:
You use a very limited scripting language called edify to write your install scripts. So limited, that some people replace the binary (update-binary) used to parse the script (updater-script) with a normal shell script that performs the installation instead. What’s the point of having update-binary and updater-script, then?
Any app installed to /system/ with bundled libraries in the apk need to have those libraries extracted in order to not crash.
Various system files need to be created to grant certain permissions to apps by default, and you need to know the syntax of each one (usually some dialect of XML).
If the correct permissions are not set on an installed file, it can cause the system to bootloop.
The Solution:
I’ve created a program in Go that reads entries from a configuration file and builds a flashable zip for you, while taking care of the implementation for you. The name is simple: Zip Builder.
Features:
Configuration files can be written in JSON, YAML, or TOML.
Supports Android versions since 5.0 Lollipop
Automatic generation of updater-script and an addon.d persistence script.
Automatically extracts libraries from apps being installed under /system/.
Can specify different file or app sources for different versions of Android and/or CPU architectures. updater-script will only install the files for that particular system.
Validate downloaded files with md5, sha1, and/or sha256.
F-Droid interoperability: Specify the repo URL and app’s package name, and zip-builder automatically gets the rest of the app’s information from F-Droid’s repository, including a download link for the latest version of the app.
Remove any files you specify, e.g. apps that you are replacing with your own version or apps/files you just don’t want on your system.
Standalone binaries available for Mac OS X, Linux, and Windows. Android binaries (to use in a terminal app) coming soon.
Linux binaries may be usable with Termux on Android, though this is not tested or supported.
Links
Latest release announcement
Download zip-builder
Example configuration files
Complete documentation
Zips built with this tool
EmojiOne Emojis - Replace the NotoSans emojis with the ones from EmojiOne
F-Droid installer - Includes the F-Droid privileged extension, allowing F-Droid to perform automatic installs and updates.
Hacker bundle - Includes the F-Droid builds of Termux with API, Float, and Widget addons, and Hacker's Keyboard.
Google swipe libs - Includes the swipe libraries for the AOSP keyboard. One zip for all Android versions since 5.0 on all architectures.
microG - Installs the FOSS replacement for Google Play Services, microG. Optionally install the Play Store for downloading apps, using the patched version from NanoDroid.
Google Play Store - choose between the vanilla Google Play Store or the patched one from NanoDroid.
Google Sync Adapters - install the Google sync adapters for use with microG. Install contacts sync, calendar sync, or both.
UnifiedNlp - If you want network-based location without Google Play Services or microG, install this zip. Comes with the Mozilla location backend and Nominatim geocoder backend.
No GAPPS app packs - FOSS replacements for Google Apps packages, provides basic system apps for ROMs running without Google Play Services.. There are multiple tiers of zips you can download, matching the OpenGapps flavors. Click on the link to view the contents of each zip.
microg.zip doesn't flash anything in my redmi 2 oreo aosp. log attached
kurtn said:
microg.zip doesn't flash anything in my redmi 2 oreo aosp. log attached
Click to expand...
Click to collapse
I'm currently working on polishing up a new release of a different project of mine, then I'll have time to look it over.
Per your PM, though, you said busybox wasn't in the location that the zip assumed it was. Can you search through your system and tell me which directories contain either busybox or toybox? (I believe busybox was found in two different folders when I flashed Lineage before)
Shadow53 said:
I'm currently working on polishing up a new release of a different project of mine, then I'll have time to look it over.
Per your PM, though, you said busybox wasn't in the location that the zip assumed it was. Can you search through your system and tell me which directories contain either busybox or toybox? (I believe busybox was found in two different folders when I flashed Lineage before)
Click to expand...
Click to collapse
Just have to search with the right tool. In twrp I see busybox in the expected location.
kurtn said:
Just have to search with the right tool. In twrp I see busybox in the expected location.
Click to expand...
Click to collapse
I had a little bit of time to flash a beta Oreo ROM for my phone and had no issues with things getting copied to my system correctly. If busybox is in the location that the script expects it to be, it's not obvious what the problem is.
The log you gave me seems to show that it mounted your system and data partitions correctly, detected that a folder did not exist, and then exited normally.
Have you tried an updated zip recently? A little while back I had the script output the found values for Android version and CPU architecture. It's possible it got fixed along with whatever I was working on at the time.
Re-downloaded microg.zip from @Shadow53's page. Now it works as expected.
Pushed a commit that should hopefully fix the issue @marcdw reported in the MicroG thread at https://forum.xda-developers.com/an...y-services-t3217616/post74531435#post74531435
@marcdw, I rebuilt the zips with a build containing the fix. Can you confirm that the libraries are now loading correctly? Things are working on my end, except for the patched Play Store requiring a reboot before working.
@rottenwheel do you really mean xposed? I have the impression magisk gets more attention.
@Shadow53,
I had actually edited the updater and add-on.d scripts to use the short names on most of your zips and all was good.
After work I'll start anew using your rebuilds. ?
ZTE Axon 7 A2017U, Dark ROM, microG (NoGAPPS), Tapatalk 4.9.5
rottenwheel said:
As read on the microG thread:
Although XDA community and most Android modders tend to side with Xposed-based solutions, I need to emphasize this is not the absolute case. I rather to stay away from it as much as I can, because it's given unstability to my devices as soon as I start tinkering with some modules; as soon as I get it removed from my setup, bugs are gone. I don't want to engage in unrelated discussions here, I just wanted to let you know your zip solutions have been working like a charm and many of us will miss if you lose enthusiasm about it. Keep it up and rocking. Thanks to you, getting microG onto our handsets is easier.
Click to expand...
Click to collapse
NanoMod is optionally a Magisk module and has nothing to do with Xposed, though I appreciate the sentiment.
*If* I were to lose interest in this project or in providing scripts, the code for the zip-builder is open source and contains the build recipes I use for all of the zips I provide, so it shouldn't be too hard for someone to pick up if they wanted to.
That said, I have no intention of stopping providing zips any time soon, though development on the zip-builder itself is slow because university is keeping me busy. I use my zips too, so I gotta be at least a little invested
Shadow53 said:
@marcdw, I rebuilt the zips with a build containing the fix. Can you confirm that the libraries are now loading correctly? Things are working on my end, except for the patched Play Store requiring a reboot before working.
Click to expand...
Click to collapse
Howdy sir. My apologies for not getting back. Work got in the way.
The zips work perfectly. I setup two ROMs on my Axon 7 with microg-playstore, no-gapps, and hacker. Not a single hiccup with the included apps or Play Store. All is good.
Must say again, I like the apps included in no-gapps.zip. Most of those I use and have to get manually from F-Droid.
Perfect with Dark ROM which has no apps or launcher and thus no worries of duplicate functionality (like two cameras, two calendars, etc.).
I see Firefox has replaced Lightning. Haven't used Firefox since v28 so I get to see what the new one is all about.
??
LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
Awesome. Been looking into how to get F Droid and Micro G plus most other things to work for my sm-g900p!
Really not liking the way Google has been going.
So looking into HOW to get that this to work for me.
From what I had seen so far....
PLEASE keep working on this!!
Thank you Shadow 53!
marcdw said:
Howdy sir. My apologies for not getting back. Work got in the way.
The zips work perfectly. I setup two ROMs on my Axon 7 with microg-playstore, no-gapps, and hacker. Not a single hiccup with the included apps or Play Store. All is good.
Must say again, I like the apps included in no-gapps.zip. Most of those I use and have to get manually from F-Droid.
Perfect with Dark ROM which has no apps or launcher and thus no worries of duplicate functionality (like two cameras, two calendars, etc.).
I see Firefox has replaced Lightning. Haven't used Firefox since v28 so I get to see what the new one is all about.
??
LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
Click to expand...
Click to collapse
I'm glad to hear that it's working for you. I'll be posting a new release on GitLab around the end of the week (yay finals...)
Regarding the no-gapps zip, most included apps also remove the AOSP equivalent if present, with a couple exceptions such as Silence for SMS not removing the default SMS app and Firefox not removing the built-in browser, both to avoid potential issues.
godofsalt said:
Awesome. Been looking into how to get F Droid and Micro G plus most other things to work for my sm-g900p!
Really not liking the way Google has been going.
So looking into HOW to get that this to work for me.
From what I had seen so far....
PLEASE keep working on this!!
Thank you Shadow 53!
Click to expand...
Click to collapse
Development of the zip builder is stalled right now, largely due to time. It works great for what I need at the moment, but I will work on bug fixes for things that come up. The zips are rebuilt every week by a cron job on the server, though packages containing the official Play Store may not get updated if opengapps updates their version (which changes the URL). I try to catch that, but I don't always have time to check.
I'm considering putting together a comprehensive gapps removal zip that should remove as much trace of Google as possible from the device, including any application data. That will take some investigation, though, and so it shouldn't be expected soon. If/when it comes, it'll largely be for removing installations by opengapps and Beans gapps, as I can't account for all differences between OEMs.
Hey no worries about updates being "stalled"!
I know what your going though believe me. Can be such a frickin headache!!! Not to mention anxiety that some poeple get this time of the year!
AM certainly glad to hear that you are still somewhat working on it though. Plus frim what I can see, this has not been out long, so I don't thing others may even know about it!
I believe they will!!!
Running paid apps having a license verification at runtime
I installed a recent LineageOS for microG (build date 11/29) on my Samsung Tablet SM-T800 (chagallwifi) and added root by flashing the zip provided by LineageOS.
I first tried Yalp Store (version 0.29, downloaded from fdroid), but then figured out that I cannot use any paid apps that make use of a license validation at runtime. However, there are some paid apps that I require.
I did some reading and it seems like the installation of the original Google PlayStore is a solution.
So here are my questions:
1) Can I get paid apps running when I install the original PlayStore as a system app following the procedure described on the blog shadow53 (sorry, cannot post the link cause I am a new user, but it is easy to find when searching for 'shadow53 android downloads')?
2) Is there anything I have to do in addition to flashing the PlayStore zip?
3) Does flashing the original PlayStore give rise to any conflict with the FakeStore that comes installed as part of microG? If so, how do I remove the FakeStore?
ebiel said:
I installed a recent LineageOS for microG (build date 11/29) on my Samsung Tablet SM-T800 (chagallwifi) and added root by flashing the zip provided by LineageOS.
I first tried Yalp Store (version 0.29, downloaded from fdroid), but then figured out that I cannot use any paid apps that make use of a license validation at runtime. However, there are some paid apps that I require.
I did some reading and it seems like the installation of the original Google PlayStore is a solution.
So here are my questions:
1) Can I get paid apps running when I install the original PlayStore as a system app following the procedure described on the blog shadow53 (sorry, cannot post the link cause I am a new user, but it is easy to find when searching for 'shadow53 android downloads')?
2) Is there anything I have to do in addition to flashing the PlayStore zip?
3) Does flashing the original PlayStore give rise to any conflict with the FakeStore that comes installed as part of microG? If so, how do I remove the FakeStore?
Click to expand...
Click to collapse
1. Yes, you will be able to check licenses at runtime with the Play Store installed.
3. Yes, they use the same package name, so having both apps installed causes a conflict. Depending on where the FakeStore is installed, the Play Store zip may recognize where it is and automatically remove it for you. You will see some output while flashing, something like "Deleting existing file /system/priv-app/Phoneksy" if it was discovered (file path may be different).
If it does not automatically remove FakeStore, find the directory it is installed in and delete it, then on next boot modify the playstore addon-d script to delete that directory. You should see where and what to change when you open the file. If you do not make this change,
2. You may have to manually remove FakeStore with the above process. You should also look at https://shadow53.com/android/no-gapps/faq/playstore-not-loading/ regarding other gotchas with getting the Play Store running and https://shadow53.com/android/no-gapps/faq/playstore-incorrect-signature/ if you use the patched version of the Play Store.
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
memarama said:
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
Click to expand...
Click to collapse
Whether addon.d stuff works depends on the ROM. Some ROMs have a backup feature during flashing but a lot do not. Does LOS support addon.d backups?
ZTE Axon 7 A2017U, Dirty Unicorns UNOFFICIAL v11.7.2 ROM, Tapatalk 4.9.5
memarama said:
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
Click to expand...
Click to collapse
LineageOS has addon.d sopport. Maybe you should post a recovery. Log
memarama said:
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
Click to expand...
Click to collapse
After installing the microG Lineage fork on my own device to test, I realized that the Play Store zip marks FakeStore as something to remove on initial installation, but not across system updates. The addon.d script doesn't re-remove FakeStore.
Try downloading the latest version of the zip and installing it. FakeStore should stay uninstalled now.
In other news, I've decided to make my no-gapps zip into multiple, similar to the various OpenGapps zips. This means a larger selection of open source apps that can be installed, including some more replacements for AOSP apps. I'm working through a couple bugs right now potentially related to these zips, then I'll add an update with more details.

[GUIDE] MicroG on OnePlus 6 (open source and ligthway alternative to Google services)

Updated and tested for Android 10 (with Omnirom)
Why MicroG?
Here is a great explanation from the official wiki itself: https://github.com/microg/android_packages_apps_GmsCore/wiki
There are different and good reasons to move away from Google services and get microG services:
1) More privacy: all Marvin's work is open source and focused on privacy. The "Google Play Services" app is probably the worst app you can have on Android when it comes to telemetry, spying, etc. It's always running tons of services to know all your comings and goings. As a side note, it's also good to not rely on Google too much.
2) More RAM available: Google Play Services use a lot of RAM when GMScore uses almost nothing.
3) More battery life, especially while idling: you'll avoid all the wakelocks related to Play Services (whether they are intentional or not)
CREDITS / Thank you:
@MaR-V-iN, for his wonderful and amazing work to free us from Google. One of the most underrated dev in the Android world.
@Setialpha , for his nanodroid module and his availability to help.
@topjohnwu for Magisk
How will your Android experience change?
Actually, not so much. If you're only interested in MicroG for the reasons 2) and 3), you can still use all Google apps, including the Play store (you need a patched version). Be aware, some apps don't work or are not working properly. Implementation status of different Android/Google services can be found here: https://github.com/microg/android_packages_apps_GmsCore/wiki/Implementation-Status
If you wonder if an app works or if you've tried and it doesn't work, just check on the issues tracker on Github or on your favorite search engine.
Now, if you want to change your habits, F-Droid will become your new best friend. It's an app store, like the Play Store, but which only delivers controlled, quality and open source apps. Both stores share many apps in common but F-Droid also has apps that the Play Store doesn't, because they're against Google policy for example. It should become your main app store as it's always good to use open source apps, for many reasons. Let's not start a debate here.
However, at least, at the beginning, it's tough to not use ANY app from the play store. For that, you should use Aurora store (whick is a fork of Yalp Store FYI). You get access all apps from Play Store. You can either use an anonymous account or use your own Google account. In the second case, you'll be able to download your paid apps. However, these won't work if they include a license check (most of them nowadays). You can nicely ask the dev if there's a workaround. Some accept, like the team behind Titanium Backup for example. Or SmartPack Kernel Manager's developer.
If you're looking for open source alternatives to the apps you usually use, I could list a few of them but this list is just great: https://github.com/offa/android-foss .
If you don't know how to replace Google services, this list is great as well: https://shadow53.com/android/no-gapps/alternatives/
You can also check on reddit like on this subreddit: https://www.reddit.com/r/fossdroid/
What ROM to use?
Any custom AOSP ROM should work, as long as :
1° it supports signature spoofing
2° it's deodexed
3° it supports alternative location backends, it's
-I wouldn't recommend any ROM that comes with gapps included. It just makes things more complicated.
On Android 10, I would highly recommend OmniROM, which offers an archive with microg prebundled, and also because it perfectly supports microG (signature spoofing, alternative location backends, etc.)
USEFUL LINKS
-MicroG thread: https://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
-MicroG wiki: https://github.com/microg/android_packages_apps_GmsCore/wiki
-UnifiedNlp thread (location): https://forum.xda-developers.com/android/apps-games/app-g-unifiednlp-floss-wi-fi-cell-tower-t2991544
-Nanodroid (provides packages related to open source / microG stuff): https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928/ (you need to download the microG edition) + here to understand how to edit the .nanodroid-setup file: https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md#detailed-description
-microG unofficial installer (doesn't work on our device yet): https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360
-Useful website about installing, getting packages, etc. : https://shadow53.com/android/no-gapps/setup-guide/microg/
-Great list of FOSS (open source software) apps for Android: https://github.com/offa/android-foss
-Alternative to Google apps: https://shadow53.com/android/no-gapps/alternatives/
-Personnal experience feedback: https://forum.xda-developers.com/android/general/gapps-free-samsung-galaxy-s3-lte-gt-t3553620
If you read all these threads you'll start to have a good understanding of what is microG and how to live without Google.
Prerequisites:
-OnePlus 6
-Unlocked bootloader
-TWRP installed
-A ROM supporting microG
-All files downloaded, on your device
DOWNLOAD LINKS
-OOS: https://forum.xda-developers.com/oneplus-6/how-to/official-oxygenos-5-1-5-ota-oneplus-6-t3794232
-TWRP: https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3860815
-Magisk: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
-Nanodroid: https://downloads.nanolx.org/NanoDroid/Stable/ (you need to download the microG file)
-Push Notification Tester: https://play.google.com/store/apps/details?id=com.firstrowria.pushnotificationtester
-Working Google Maps app: https://www.apkmirror.com/apk/google-inc/maps/maps-9-82-1-release/
-F-Droid: https://f-droid.org/FDroid.apk
INSTALLATION TUTORIAL
Italic = recommended, but not mandatory. Do it if something doesn't work properly
0) DON'T RESTORE your apps until everything is set up, otherwise you'll have issues with GCM (getting instant notifications from messaging apps for example)
1) Flash the custom ROM of your choice ( these instructions should work: https://privatebin.net/?42d550f9ae5df09f#imAFxWjM0gW+V9+ex+8nRyYSoSQzLPjhNXsbKIUjzqA= )
2) Flash magisk, reboot to system
3) Reboot to recovery
4) Flash Nanodroid (you need to download the microG edition, and make sure you have made the .nanodroid-setup file at the root of your internal storage, see instructions here https://github.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md) or you can also try MinMicroG (https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases).
If you choose nanodroid, update microG thhis way: https://www.reddit.com/r/MicroG/comments/fd7udr/fork_of_microg_gmscore_with_unifiednlp_working_in/
5) Reboot to system
6) Open MicroG, give it permissions if that's not already the case
7) Click on self-check. Give signature spoofing to all the empty boxed so they get ticked.
For Omni/Arrow/Aex, you can make sure it's allowed in settings/apps & notifications/apps permissions/spoof package signature. for playstore/fakestore make sure you click on the 3 dots and check system apps (if it exists).
8) Give permission to ignore batter optimizations.
9) Enable Google device registration and Google Cloud Messaging.
10) Enable Safetynet if you want
11) Click on UnifiedNlp and active the 3 backends: location backends: Mozilla+ Déjà Vu; adress lookup backends: Nominatim.
12) REBOOT
13) Open your phone app, and type this:
Now try this instead in order to manually enable device registration and connect to Google Cloud Messaging:
Code:
*#*#2432546#*#*
Code:
(old) *#*#42678278#*#*
. Nothing will appear on your screen but it can help. It's probably necessary but I prefer to make all the steps to make everything work. Sometimes logging in on your Google account through settings help. You can then log out if you don't want to use any Google account.
14) Install Push Notification Tester from Yalp Store.
15) Test the app, see if everything works. If it doesn't, ask for advice here as it should at this point. You can try to reboot one more time. Make sure that in the GCM settings you're connected since X time, otherwise something is wrong. Step 23 is the most important step to check if it doesn't work.
16) Go back to the self-check menu, now you can check the self check status and almost all boxes should be ticked. Some are not for me but GPS still works, even on Google Maps. Here is a screenshot of how it looks like for me: https://i.imgur.com/WsPX5RC.png
17) Now you can try to install the apps you want! Don't install apps that need push notifications before all these steps otherwise they might never be registered. Clean installing apps is recommended. You can try to restore them from a backup as well, but it often doesn't work. The middle ground solution is to install the app with the Yalp Store / F-droid and then restore its data with Titanium Backup for example.
18) Now you should see apps being registered in microG.
19) You can make sure your gps work with either OSM (https://f-droid.org/en/packages/net.osmand.plus/) or Google Maps (see apk mirror link earlier, the last version won't work). You should get your location without any isuses at this point.
20) Enjoy your almost Google free phone.
EXTRAS:
α) If you have issues with location, you can try this (on some custom ROMs, Google Maps finds my location but then it doesn't update and so if I move around it won't update my location. Also sometimes I need to reload the app to update my location which is quite inconvenient. It seems that doing the steps following help)
Install a terminal emulator (I recommend Termux)
Make sure your phone has root rights and type :
Code:
su
Authorize the app
Type next:
Code:
pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
Then
Code:
pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
iii) Reboot
β) If you have issues in general, try to update Nanodroid (if you used Nanodroid, ofc) apps from F-Droid. Add this repo to F-Droid: https://www.nanolx.org/fdroid/repo/
And then make sure all your apps are updated (including microG GmsCore)
A) DroidGuard uses non-open source stuff. It's in order to pass safety net.
B) GCM is not open source either.
C) If you want google maps to work, you need to install an "old" version and not update it. You can find it here: https://www.apkmirror.com/apk/google-inc/maps/maps-9-82-1-release/. Sometimes, your location might never appear. In this case, restart a few times Maps until your position shows up.
D) You can also try to install MicroG and its dependencies as user apps. I've tried it and wasn't very happy with the results as they don't work as well being user apps. From what I've heard, everything works fince except location. So you can give it a try as well this way.
E) My personal .nanodroid-setup is this one (to understand what it does, check here: https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md#detailed-description ):
Code:
nanodroid_gmscore=0
nanodroid_play=21
nanodroid_overlay=0
nanodroid_mapsv1=1
nanodroid_gsync=0
nanodroid_swipe=1
nanodroid_forcesystem=0
nanodroid_fdroid=1
nanodroid_nlpbackend=1100
Reserved.
Very nice,
too bad that it doesn't support OOS but it's understandable.
nimrodsv said:
Very nice,
too bad that it doesn't support OOS but it's understandable.
Click to expand...
Click to collapse
Maybe it could work with nanodroid patcher for signature spoofing and then manually deodexing the ROM. It would also be necessary to remove all the Google apps. So yes I guess it's just easier to use a custom ROM as a saner base.
nimrodsv said:
Very nice,
too bad that it doesn't support OOS but it's understandable.
Click to expand...
Click to collapse
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
whizeguy said:
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
Click to expand...
Click to collapse
NisseGurra said:
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
Click to expand...
Click to collapse
Maybe I'll give a try it seems possible.
@Tomatot- I see that you've tried to working with MicroG on Omni but getting bootloops and that you will try working with it again soon.
Anything I should know before I try this on Omni? Thanks!
nimrodsv said:
@Tomatot- I see that you've tried to working with MicroG on Omni but getting bootloops and that you will try working with it again soon.
Anything I should know before I try this on Omni? Thanks!
Click to expand...
Click to collapse
I had a weird experience on Omni. At first it was working all fine with nanodroid-microG, but then I tried to change the .nanodroid-setup and it broke all my system, I was never able to make it work again on Omni. I also tried once the Nisse .zip and it didn't work either. So I can't really tell what's the pattern to make things work or not work... I really liked Omni so I'm going to try again within the next few days, with a nice clean flash and Nisse zip. I will let you know. If you're impatient and want to try, try to follow the steps from this tutorial and let me know how it goes.
Omni is a bit tricky with permissions, use the latest Nanodroid-microG from https://downloads.nanolx.org/NanoDroid/Stable/ to install on omni, it adds bit more (calendar and contacts sync etc) that i dont want tho
NisseGurra said:
Omni is a bit tricky with permissions, use the latest Nanodroid-microG from https://downloads.nanolx.org/NanoDroid/Stable/ to install on omni, it adds bit more (calendar and contacts sync etc) that i dont want tho
Click to expand...
Click to collapse
Did you manage to make your script work on Omni? I'm not interested in these extras either.
Tomatot- said:
Did you manage to make your script work on Omni? I'm not interested in these extras either.
Click to expand...
Click to collapse
Yes, but some extra work is needed: Open the zip with 7-zip and extract all item from priv-app and delete the priv-app folder from the zip.
Install rom, the modified zip and boot into system.
Install the extracted apps normally.
Use https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851 to convert the 4 installed apps (gms, gsf, phonesky and yalp) to system apps (to priv-app).
Thats bit much but its functional on omni.
NisseGurra said:
Yes, but some extra work is needed: Open the zip with 7-zip and extract all item from priv-app and delete the priv-app folder from the zip.
Install rom, the modified zip and boot into system.
Install the extracted apps normally.
Use https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851 to convert the 4 installed apps (gms, gsf, phonesky and yalp) to system apps (to priv-app).
Thats bit much but its functional on omni.
Click to expand...
Click to collapse
Awesome, thanks, I'll try this asap.
I will update OP but I can tell Arrow OS seems to support perfectly MicroG. And your script works directly @NisseGurra . I've noticed the location apps are a bit oudated, could you update them please? Cheers.
Thread updated with my experiences with the different custom ROMs available on our device. i've also improved instructions a little and make some steps not mandatory but recommended.
Thanks very much for this great tutorial although I've never had an OnePlus. Quite a long time ago, I tried to capture my personal way to become GApps-free from the very beginning by installing µG un to today where I always use NanoDroid. Maybe my thread contains some information useful to you?
Oswald Boelcke said:
Thanks very much for this great tutorial although I've never had an OnePlus. Quite a long time ago, I tried to capture my personal way to become GApps-free from the very beginning by installing µG un to today where I always use NanoDroid. Maybe my thread contains some information useful to you?
Click to expand...
Click to collapse
Yes I read it and it was very useful. Your thread was already included in "useful links" btw.
Updated backends microg installer (attached)
NisseGurra said:
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
Click to expand...
Click to collapse
whizeguy said:
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
Click to expand...
Click to collapse
Bumping you again to give you some news.
So I really don't feel like going back to use Google Play services but I miss OOS for battery life and performance reasons.
However, I feel like deodexing OOS is really not optimal, see these links:
https://i.imgur.com/FRJgqVm.png
https://github.com/anestisb/vdexExtractor/issues/33
https://i.imgur.com/9Y6JBGD.png
So yeah, it's a tough choice...
Tomatot- said:
Bumping you again to give you some news.
So I really don't feel like going back to use Google Play services but I miss OOS for battery life and performance reasons.
However, I feel like deodexing OOS is really not optimal, see these links:
https://i.imgur.com/FRJgqVm.png
https://github.com/anestisb/vdexExtractor/issues/33
https://i.imgur.com/9Y6JBGD.png
So yeah, it's a tough choice...
Click to expand...
Click to collapse
Aw man.. That's just too bad :/ thanks for the update mate.

[ROM][9.0.0][beryllium] LineageOS 16.0 with MicroG

Hi folks,
LOS with MicroG has finally been released.
For people who don't know what the heck is this, it's besically LineageOS unofficial fork with built-in microG gapps implementation. That's right! It's the same LOS without Google spyware.
Some cool features of LOS with MicroG
1. Full Play Services compatibility:
This ROM has built-in microG free-as-in-freedom re-implementation of Google's proprietary Android user space apps and libraries.
This enables you to use every Google service you need without keeping another closed-source binary blob in your Android system.
2. Native F-Droid support:
LineageOS for microG comes with F-Droid already installed. You can use it to access plenty of FOSS applications
3. OTA updates like official LOS:
The ROM has OTA updates from upstream LineageOS weekly. In this way you always receive new features and security updates just few days after they are released mainline.
Installation instructions
This ROM and official LineageOS use different signing keys, so you can't flash this ROM on top of the official LineageOS. Clean installation is strongly suggested.
1. Download the ROM zip and vendor+firmware zip
2. Boot into TWRP
3. Wipe System, Data, Cache and Dalvik
4. Flash the Vendor+Firmware zip and the ROM zip
5. Flash Magisk (optional)
6. Reboot
Post-installation
First, open the "microG Settings" app and check if everything is OK in the "Self-Check" section; you will probably have to give microG some permissions, like location and file access.
1. UnifiedNlp
UnifiedNlp is the microG Network Location Provider, which provides the current location of the device without the use of the GPS. While Google's NLP can only use Google's servers for positioning, UnifiedNlp obtains the geolocation through different plugins, which interface to different services.
By default there are two plugins installed:
MozillaNlpBackend, which uses the Mozilla Location Service (online)
NominatimNlpBackend, which uses MapQuest's Nominatim service (based on OpenStreetMap) for geocoding (online)
If you want to use these plugins, go to microG Settings -> UnifiedNlp Settings, configure and enable both.
If you instead want different plugins (like the LocalGsmNlpBackend, which uses a local offline database of the GSM towers to obtain the location) you can download them in F-Droid and enable them in the same way.
Reboot and check whether UnifiedNlp is correctly set up in the "Self-Check" section of the "microG Settings" app.
2. F-Droid
You have the F-Droid Privileged Extension installed by default, why not use it? To make a good use of it go to the F-Droid Settings and enable auto updates.
3. Google Cloud Messaging
Many apps rely on the Google Cloud Messaging, a Google proprietary system to push notifications to your device. This feature is implemented in microG but, as not every user requires it, is disabled by default. If you need it, enable the "Google Device registration" and the "Google Cloud Messaging" features in the "microG Settings" app.
4. Weather service
If you want the weather features of LineageOS (like in the lock screen or in the cLock widget) you have to download a weather provider from here. Choose your favorite one, install it and configure it in cLock (or in Settings → Apps → Gear icon → Weather).
Downloads
ROM Link: https://download.lineage.microg.org/beryllium/
Vendor+Firmware: https://mirror.akhilnarang.me/MIUI/beryllium/
Twrp build: https://forum.xda-developers.com/poc...ption-t3853004
Magisk: https://github.com/topjohnwu/Magisk/releases/download/v18.1/Magisk-v18.1.zip
Find more about the project here https://lineage.microg.org/
Credits
MicroG Team
Lineage OS team
@akhilnarang for Vendor+Firmware
@vasishath for TWRP
@topjohnwu for Magisk
Disclaimer:
I'm not the developer of the ROM, neither I'm associated with the team who is behind this amazing piece of work. I am just sharing the work for everyone on XDA.
Shout out to Team MicroG for their wonderful work!!!
Sweet! Good to see official LOS microg.
Thanks for sharing brother.
how is the battery and performance someone who tried it ? and is it safe to wipe system ?
niteone said:
how is the battery and performance someone who tried it ? and is it safe to wipe system ?
Click to expand...
Click to collapse
Battery life is amazing since the notorious Google Play Services is not present on this ROM. Performance is more or less the same. The main reason people use MicroG over other GApps is because of privacy and battery.
And talking about your last question, I guess you wipe System partition everytime you do a clean flash. So yeah, it's completely safe to wipe System partition.
Rowdyy Ronnie said:
Battery life is amazing since the notorious Google Play Services is not present on this ROM. Performance is more or less the same. The main reason people use MicroG over other GApps is because of privacy and battery.
And talking about your last question, I guess you wipe System partition everytime you do a clean flash. At least that's what a vl an flash mean (wiping System, Data, Cache & Dalvik). So yeah, it's completely safe to wipe System partition.
Click to expand...
Click to collapse
Yes i tried it but cant sync my contacts because they are stored in google and other things but from my little expirience its great.i moved to the normal lineage now
niteone said:
Yes i tried it but cant sync my contacts because they are stored in google and other things but from my little expirience its great.i moved to the normal lineage now
Click to expand...
Click to collapse
You can easily get contacts.vcf file from google and just import it in your normal contacts app. Takes a minute only.
---------- Post added at 06:59 PM ---------- Previous post was at 06:57 PM ----------
OP, I will suggest to add 'Flashing DFE' also in the first post instructions, for people who don't want to get encrypted.
Interesting project, good job!
Thread cleaned!
Personal attacks will NOT be tolerated on this private development site!
Found work can be posted in NEWS sections with proper credits
If the original developer does not wish it posted they can request it be taken down
No one else has that right!
Thank you all for your cooperation
Friendly Neighborhood Moderator
Works as expected. No issues. Running it on tissot, bacon and now testing on poco! Thanks for reminding!
Sent from my Poco F1 using XDA-Developers Legacy app
Great Image verry fast Thanks MR
the ROM is awesome, but I can not get contacts and Gmail to work. The rest of apps, perfect!.
piernodoyuna said:
the ROM is awesome, but I can not get contacts and Gmail to work. The rest of apps, perfect!.
Click to expand...
Click to collapse
Because it is microg ROM. Gmail will not work.
surely, the answer could have been more elaborate. and yes, Gmail can work with microg, but in my case, I have not succeeded.
piernodoyuna said:
surely, the answer could have been more elaborate. and yes, Gmail can work with microg, but in my case, I have not succeeded.
Click to expand...
Click to collapse
Personally I don't use gmail (using K9), but maybe you will find an answer here:
https://github.com/microg/android_packages_apps_GmsCore/labels/👥 Accounts
Sent from my Poco F1 using XDA-Developers Legacy app
ydd0ras said:
Personally I don't use gmail (using K9), but maybe you will find an answer here:
https://github.com/microg/android_packages_apps_GmsCore/labels/👥 Accounts
Click to expand...
Click to collapse
Thank you very much for the reply! I think my problem is not in the mail client, but in the authentication of credentials that access my contacts, calendar events and emails. I think that this issue is not yet solved
Does 0805 build have included vendor? I can see only 5.62MB vendor.new.dat.br which is usually 280MB on official one.
For some reason i won't get the UnifiedNLP working on my Poco F1.
I did a clean install, coming from the latest MIUI global ROM and followed the post install guide on https://lineage.microg.org/. The only additional Tool i installed was the latest Version of Magisk.
**EDIT**
I reinstalled microg LineageOS without Magisk, but it still does not work.
Any suggestions?
Most probably you've hit version with support for something called Qualcomm Location. It was fixed in build on 27th November because thingy was not working well (also because it is closed source soft).
AFAIK there are two ways to fix it:
- install LOS >=2711.
- patch framework-res.apk to force use UnifirdNlp. There should be some info about procedure in a LOS thread though I'm not 100% sure.
crow6 said:
Most probably you've hit version with support for something called Qualcomm Location. It was fixed in build on 27th November because thingy was not working well (also because it is closed source soft).
AFAIK there are two ways to fix it:
- install LOS >=2711.
- patch framework-res.apk to force use UnifirdNlp. There should be some info about procedure in a LOS thread though I'm not 100% sure.
Click to expand...
Click to collapse
I will try that. Thank You!
Are ports of Lineage 17 planned? The Websites last nightly is from 2020-09-30 (los 16)

[GUIDE] MicroG + LineageOS 16.0 (Android 9) for OnePlus 6

MicroG
microG GmsCore is a free software reimplementation of Google's Play Services. It allows applications calling proprietary Google APIs to run on AOSP-based ROMs like LineageOS. Acting as a replacement for the non-free (proprietary) Google Apps (GAPPS), it is a powerful tool to reclaim your privacy and freedom while enjoying Android core features.
You can read more on their website.
Some nice perks include offline geolocation, no unnecessary bloatware and more privacy.
Why downgrade to android 9?
Android 10 is fairly new. Getting official LineageOS 17 support will take awhile. Moreover it seems like TWRP, Magisk and microG for android 10 are also not ready yet. The only thing I missed from android 10 was navigation gestures support, but I was able to bring it back with Fluid Navigation Gestures app and root.
Downloads
LineageOS fork with MicroG: https://download.lineage.microg.org/enchilada/
TWRP: https://dl.twrp.me/enchilada/
Android 10 to Android 9 Downgrade Package: https://oxygenos.oneplus.net/fulldowngrade_wipe_MSM_17819_181025_2315_user_MP1_release.zip
Magisk Root: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Instructions
1) Backup all your data.
2) Downgrade to android 9! A silly mistake of flashing twrp right away cost me half a day of figuring out how to unbrick a phone. So, if you are running android 10, download official downgrade package and install it through the stock updater app.
3) I am not sure if it matters, but I have let my phone to update to the latest OOS 9.0.9. The latest android 9 official stable rom. Sometimes custom roms do not include things like modem packages, so I would recommend updating just to be safe.
4) Then, you need a fork for LineageOS ROM. A rom needs to support signature spoofing for microG to be able to pretend to be google play services for other apps. This fork adds signature spoofing to LineageOS, includes MicroG, includes F-Droid store and updates weekly. Pretty neat.
5) Install ROM following instructions here and here. If you want to have root (might as well) you can install Magisk instead of LineageOS' AddonSU. In case you are running Linux and your adb gets upset about permissions check here.
6) When you are setting up your phone make sure to enable "Use network geolocation". I was not able to find a way to turn it on afterwards and had to do a factory reset.
7) You should be done! Follow the post-install steps to setup geolocation.
My Preferences
I do not use device registration with google / push services (telegram has it's own) / netsafety. I decided that I do not want it, so not all recommendations might make sense to you.
1) Offline geolocation with LocalGsmNlpBackend. Creates an offline database of GSM towers
2) Aurora Store for Google Play Store apps like your Spotify. It can either use your google account or generate a random identity for you. Can be used with Aurora Store Services (as a Magisk module) to update apps automatically in background. Other alternatives can be found here.
3) Shelter if you have two WhatsApp accounts
4) Fluid Navigation Gestures (FNG) to bring back android 10 like gesture navigation. Requires root to hide standard android 9 navigation panel.
5) Gcam for camera
6) Privacy Friendly Weather
7) Bromite Browser
8) Open Street Maps
9) You might want to install FakeStore in case some of your apps misbehaive. More on that here
10) Limit how far your battery charges to increase its longevity with ACCA
11) YouTube client with subscription and downloading support - NewPipe
Experiences So Far
Rock solid! I have been daily driving this ROM for about two weeks now and I am happy with it. My banking apps work, after I hid Magisk from them, email over imap, updater app works as expected, f-droid and aurora auto-update apps in background. I miss synchronization of contacts, notes etc, but I plan to set up my own NextCloud. The only issue is that your video in WhatsApp video calls will be choppy, but only in WhatsApp. Other apps like discord are fine.
Further Reading
FOSS app list: https://github.com/offa/android-foss
More alternative apps: https://shadow53.com/android/no-gapps/alternatives/
A bit outdated guide, but more detailed guide that you might find it interesting: https://forum.xda-developers.com/oneplus-6/how-to/guide-microg-oneplus-6-source-ligthway-t3874469
I hope that my guide is going to be helpful to somebody some day. This is my first attempt at making a post and trying to give back to the community!
I will give this a shot tomorrow I msmtooled back to os 9 today because I can't seem to figure out with all the tuts how to flash a rom lol so this is what I'm looking for thank you. Especially for a returning root user that hasn't touched adb or root in years.. So can I use this with the pixen or pixel based rom I seen? Does the rom need to based on 9 because I remember flashing roms higher than what oem support back in the day. As long as the kernel supported it.
dincdoes.me said:
I will give this a shot tomorrow I msmtooled back to os 9 today because I can't seem to figure out with all the tuts how to flash a rom lol so this is what I'm looking for thank you. Especially for a returning root user that hasn't touched adb or root in years.. So can I use this with the pixen or pixel based rom I seen? Does the rom need to based on 9 because I remember flashing roms higher than what oem support back in the day. As long as the kernel supported it.
Click to expand...
Click to collapse
Hm, I doubt that you will be able to get pixen or other pixel type ROMs working. The whole point of microG is have less google on your phone, but pixel style roms usually come with GApps included. Also, one key requirement for a ROM is to have support for signature spoofing, which Pixen does not seem to have.
I downgraded to android 9 because there is no official support for LineageOS 17 yet, plus I think twrp and magisk are only starting to catch up to android 10.
I do not think it is a good idea to upgrade to android 10 like this through twrp. Sounds like a good way of seriously bricking your phone, but I can be wrong. If you want android 10, I think it would be better for you to get to android 10 officially first (through oneplus), then find an android 10 rom that supports or can be fitted with signature spoofing. Maybe this is a good place to start. If you go that route, you would probably want to check out that more detailed guide I linked.
I am personally waiting till there is official support for LineageOS 17, which should be followed by LineageOS 17 for MicroG support. Also for official twrp and magisk support.

[ROM][7.1.2][UNOFFICIAL][grouper] CM14.1 for Nexus 7 2012

*** Disclamer
By downloading and installing this ROM you agree that you do so at
your own risk, and that you understand that it probably voids your
warranty. (But does anyone still have an active warranty on this 2012
device?)
Introduction
And yet another cyanogenmod/lineage os build, compiled with linaro gcc for better optimization. Don't ask for tilapia is just for grouper
Installation instructions
Back up your data and previous ROM with last TWRP
Download from link below.
Wipe system, cache, dalvik.
Also wipe data unless you are coming from another rom
Install the ROM.
Optionally install opengapps arm for 7.1.2 , but i suggest to use microg
Reboot.
WAIT for system to settle before you decide it is slow. Some of the app optimization which used to happen during initial boot now seems to happen in the background. When it's finished, responsiveness will improve.
Also i suggest to disable adaptive brigtness, live display,ambient display for better performance.
Optionally root with Magisk
I suggest to format cache and data with f2fs file system
Source : https://github.com/turex
Credits / Thanks
Google / AOSP
CyanogenMod
@AndDiSa for AOSP 7.1 -- I use his kernel tree and device tree with little modification
@Clamor - for his work in Unlegacy
@Ziyann - for his work in Unlegacy
 @unlegacy-Android team - for kernel and tree
XDAevDB Information
Unofficial CM14.1 for Nexus 7, ROM for the Nexus 7
Contributors
AndDiSa, TureX
ROM OS Version: 7.1.2 Nougat
ROM Kernel: Linux 3.1.10
Based On: CyanogenMod
Version Information
Status: Stable
Created 2020-03-27
Last Updated 2020-04-16
Download
Last build :
14/06/2020
Changelog :
change kernel branch (using @AndDiSa 7.1.0 stable)
add signature spoofing switch on settings
june security patch
-16/04/2020
Changelog :
Fix Settings
revert to linaro 6.5
-26/03/2020 (initial build)
Changelog :
Update to March 2020 security patch
Add signature spoofing for microg
-29/03/2020
Changelog :
set pmf to 0 to avoid some wifi connection issue
compiled with linaro 6.5
-09/04/2020
Changelog :
update to april security patch
tcp congestion algoritm added
-11/04/2020
Changelog :
remove apps
add i/o scheduler (sioplus)
update to linaro gcc 7.5
N.B. 11/04 build has a little bug on settings due to an aggressive(maybe) debloat, i will fix soon
Let's flash this Rom now!
Thank you very much!
(I use Google Translate.)
I flashed this ROM (clean flash) just to try it out - it's really smooth and responsive, I like it. I flashed Magisk for root, again no problems
A note to others; there's not enough space to flash Gapps (even Pico) so I don't know if there's a way to install Gapps.
I've not used MicroG before and I could not get it to work fully. That is, I could install apps (via Aurora Store) but there were some apps (like Authy, BlueMail and Skype) that said they needed Google Play Services. Maybe I did something wrong? Or missed something out?
I wasn't sure what I needed to do tbh and I didn't know what I needed in terms of components. First time, I installed microg through Magisk - it installed ok but it wasn't right (I think I needed more components). So I clean flashed the ROM and Magisk again and installed microg (NanoDroid-micgroG-22.6) via TWRP. Again, it flashed but some apps wouldn't run, needing Google Play Services.
The microG settings 'self check' suggests everything isn't right - the 'Play Services (GmsScore) has correct signature' option is not checked. I checked it (even though it was not advised) but those apps still didn't run.
This seems to be a really good ROM, and I really would like to try it out fully, so I liked to be able to fix this problem. Some apps, I can do without and find replacements (Skype for instance) but I do need Authy to work.
Hi, for microg i use this sequence:
1) clean flash the rom, after that reboot to the system.
2) reboot to twrp and flash magisk, reboot to system.
3) download nanodroid microg (i don't know if i can post the link)
4) reboot to twrp and flash nanodroid microg zip and reboot
5) open microg settings and give all permissione on self check
6)open aurora store and give the permissions.
7) now phonesky some times does not acquire the right permissions so there are 2 ways to fix
7.1) throught adb :
Connect the tablet with a cable to a PC in mtp mode(Will appear on the tablet when you connect to PC) open a terminal and insert this commands
adb shell
Su
pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
7.2) throught local terminal
Go ti settings ,about tablet, tap 7 times to build Number for enable developer settings. Go back to settings and scroll down to developer settings. Go in and enable local terminal. Open local terminal(Is an app) give root permission and Copy this commands.
Su
pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
Sorry for my english ,ask for any problem
Thank you for the help. I made some progress. I reflashed the ROM clean, and followed your procecure then thru adb...
TureX said:
Su
pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
Click to expand...
Click to collapse
phonesky does now acquire the right permission ("has correct signature" is checked) but I still get the message app "won't run without Google Play services, which are not supported by your device" error.
I've attached a screen shot of the microG self-check results.
LesGirauds said:
Thank you for the help. I made some progress. I reflashed the ROM clean, and followed your procecure then thru adb...
phonesky does now acquire the right permission ("has correct signature" is checked) but I still get the message app "won't run without Google Play services, which are not supported by your device" error.
I've attached a screen shot of the microG self-check results.
Click to expand...
Click to collapse
tap on unchecked box for grant permission, let me know if it work
TureX said:
tap on unchecked box for grant permission, let me know if it work
Click to expand...
Click to collapse
Yes, that works! Thank you :good: Last time, it gave a message saying it was 'not advisable' but this time it was ok - so all is good.
I'll carry on with my testing. I think I'm going to have to replace some of the google apps (mail, maps, calendar) because of the sync process - I'm not sure sync will work.
Nice to see it works! i will try to remove some systems usefull apps for make space for gapps, another alternative is install old gapps that are less 100 MB. I also will try give more optimize to the rom with a newest linaro and disable pmf that cause some wifi problem on connect on some access point
Yes it works - it works very well indeed. It's really responsive and smooth.
It would be good to have the option of installing gapps (for those that want it) I've never used microg before so I'm happy to play with that for the moment. I don't want my google account locked (because I have app purchases on my account) so I am trying to keep accesses to Google to a minimum.
I'll look for a gapps package (older or otherwise) that's below the space left available by the ROM. When I instal a ROM, I do use a root app deleter to remove unwanted/unneeded apps but that doesn't gain that much space - so anything you can do would be great!
New update online, give me a feedback. I add in OP a link to opengapps that i test,after install throught TWRP you MUST give all the permission to the play store and play service throught settings>app
Excellent work @TureX ! I've tested your ROM with microg and it's working really nicely.
I found some issues for some aps with microg (Google aps primarily) but this is not a fault of your ROM nor your implementation of microg. These are known limitations of microg and, because of what microg does and how it works, to be expected. I could not get contacts and calendar syncronisation working (though there are instructions elsewhere on how to do it, it didn't work for me) so I'm adandoning microg in favour of gapps. As a longer term aim, I want to find a non-Google solution for contacts and calendar sync across a number of platforms - but that's something for me for the future!
So I started my testing for gapps - I cleaned flashed the ROM with magisk no problems, then I tried to flash the gapps package you provided a link to but got an error...
"set_metadata_recursive: some changes failed" and error 7
This seems a bit strange to me since I think it relates to the recovery image (I'm using TWRP 3.3.1-0) rather than the gapps package, though the fact it is an older package might have something to do with it. I'm going to research a bit, just out of interest!
Edit: I may have solved the problem. The gapps zip flashes ok if you don't reboot after flashing the ROM.
Thank you for TureX, great rom!
If you can, add Alucard Governor.
Since I am a beginner, I could not compile the source kernel.
(I used Google translate)
LesGirauds said:
Excellent work @TureX ! I've tested your ROM with microg and it's working really nicely.
I found some issues for some aps with microg (Google aps primarily) but this is not a fault of your ROM nor your implementation of microg. These are known limitations of microg and, because of what microg does and how it works, to be expected. I could not get contacts and calendar syncronisation working (though there are instructions elsewhere on how to do it, it didn't work for me) so I'm adandoning microg in favour of gapps. As a longer term aim, I want to find a non-Google solution for contacts and calendar sync across a number of platforms - but that's something for me for the future!
So I started my testing for gapps - I cleaned flashed the ROM with magisk no problems, then I tried to flash the gapps package you provided a link to but got an error...
"set_metadata_recursive: some changes failed" and error 7
This seems a bit strange to me since I think it relates to the recovery image (I'm using TWRP 3.3.1-0) rather than the gapps package, though the fact it is an older package might have something to do with it. I'm going to research a bit, just out of interest!
Edit: I may have solved the problem. The gapps zip flashes ok if you don't reboot after flashing the ROM.
Click to expand...
Click to collapse
Thank you ,i would to know if you noticed some performance improvements in the new update and if wifi Is stable.
Reguarding cpu governors, i don't know if i will add new one, i will add a TCP congestion algorithm to try to improve wifi speed.
Everything seems to work perfectly :good:
Gapps installed ok (permissions were all set and I didn't need to change them) I've re-installed all my apps and they are working and responsive.
This ROM is excellent, as good as AndiDiSa's AOSP for speed and responsiveness. CM gives a few more configuration options than AOSP so I will stick with this for a while, just to some more testing for reliability, battery life, etc.
I'm really impressed Turex, it's a really good ROM, well done! :good:
TureX said:
i would to know if you noticed some performance improvements in the new update and if wifi Is stable
Click to expand...
Click to collapse
Sure thing! So far, WiFi is stable and performance is good. I'l keep you posted
Hello! I'm testing new CPU governors , at the moment I'm testing pegasusq ,let me know if you want some specific and if you want test this build. I will release a build when I can merge April security patch .
I'd like to see BBR, Vegas, Cubic, and Westwood+ for tcp...for I/O I'd like to see maple, zen, deadline, noop, cfq, bfq, fiops, sioplus...for govs interactive, ondemand, nightmare, impulse, darkness...with that said if probably end up using Westwood, deadline, and interactive or maybe bbr, maple, and darkness if it worked well.
These are suggestions and if you add any I'd be thankful and if you don't I'm still happy you put this out for us to use!
Big thank you for spending time on this project!
HaRdC0r3 said:
I'd like to see BBR, Vegas, Cubic, and Westwood+ for tcp...for I/O I'd like to see maple, zen, deadline, noop, cfq, bfq, fiops, sioplus...for govs interactive, ondemand, nightmare, impulse, darkness...with that said if probably end up using Westwood, deadline, and interactive or maybe bbr, maple, and darkness if it worked well.
These are suggestions and if you add any I'd be thankful and if you don't I'm still happy you put this out for us to use!
Big thank you for spending time on this project!
Click to expand...
Click to collapse
I Just enabled Westwood TCP , pegasusq isn't working well i Will see for other but i think that the original One Is optimized very well.
Great Rom for Grouper
I like this rom very much
it is almost perfect
I just want to use proper Gapps with it.
So I will wait for a final release.
johndaog said:
I like this rom very much
it is almost perfect
I just want to use proper Gapps with it.
So I will wait for a final release.
Click to expand...
Click to collapse
Hi, you can use old gapps posted in the op for builds before 11\04 , now you could be able to install last gapps on 11\04 build but Is a Little bit bugged.

Categories

Resources