Need advice to Ominrom with microG! OxygenOs Cam , Clock widget! - OnePlus 6 Questions & Answers

Hello Mates,
after many hours and sleepless nights i got Omnirom+MicroG worked. I am very glad about it.
Omnirom is a very good rom but i miss few things:
1-) Clock widget as OxygenOs Clockwidget! Any advices?
2-) OxygenOs Cam
3-) OxygenOs Gestures
4-)Oneplus Launcher
5-) Parallel App
in official omnirom thread there have been a oxygenOs. cam.zip and i did flash via twrp but after i got dumprep ......crash and i flash all the rom and apps from beginning. Hope you guys can make me advices without risk
thank you in advance
Regards
Coktail

Ciao
# OxygenOs Clock Widget "net.oneplus.widget" (and wheather "net.oneplus.weather") you can find It on apk repository like apk mirror (or others)
# I don't know if OOS Cam runs on omni, but, you can find someone running OOS that shares the apk in order to give It a try
# Gesture should be integrated in the rom - it's not an Add-ons, (however, there Is also "xda navigation gesture" apk if you want to check an alternative)
# Launcher... Tipically It does not run on custom roms, maybe you can try a patches version (there are magisk modules, but i have never tried)
if you like "left panel option" maybe you can try if "Microsoft Launcher" fits your needs
otherwise "lawnchair" Is the most used nowadays
# parallel apps, there are apk in the PlayStore for that, like "multi space" or "Island" i used It, but since i Need It Just fornwhatsapp i opted for "FM Whatsapp" nowadays
since you are trying microG, I am trying to build a magisk module for It... If you want to give It a try, i'll be happy to have feedback on it

Thank you

Related

SM-T310 CUSTOMIZATIONS - Until some custom ROMs come along

Hi community. I bought my Galaxy Tab 3 8.0 some weeks ago, and (being a flash-o-holic, as many of you) have been eager to flash some new ROMS for stretching the capabilities of my new beloved device. Since of course it takes time for developers to create a ROM, I started testing some customizations and found them to work successfully, so I wanted to share in case you are in a similar situation.
First of all, none of the software in this thread has been developed by me, so credit goes to their legitimate authors
Also very important, this is all result of testing on my own device. i cannot guarantee this will work on your device, and I take NO responsibility on the results of replicating this procedures nor installing these applications on your devices. Since it's mostly about apks, it pretty safe anyway.
In order to be able to execute any of the instructions in this thread, your device must be rooted. Instructions to root your device can be found here:
http://forum.xda-developers.com/showthread.php?t=2386098
I have tested this on my SM-T310, but I see no reason why it should not work on the T311 or T315
Please, make sure to perform a nandroid backup before you perform any of these actions. I found I applied some modifications I wanted to rollback, and it was not possible,. That led me to the need to flash stock firmware and start over from scratch (for not following my own advice) :silly: In case this happens to you, you can always find the stock firmware at http://samsung-updates.com/
Great news is that Xposed Framework can be installed and works perfectly on the Galaxy Tab 3 8. And also, since the newest version includes the ability to download modules directly from the Xposed APK, you'll have the possibility to experiment a lot. Please be careful, always perform a Nandroid backup before intensive testing. The latest version of the Xposed Framework APK can be found at it's authors site:
http://forum.xda-developers.com/showthread.php?t=1574401 (Thanks to Rovo89)
Once installed, follow the authors instructions. You will be able to find and install new modules in the DOWNLOAD section of the application. Please remember that once you install a new module, you will need to go to the MODULES section of the application in order to enable it, and then reboot your device.
So far I have tried the following modules:
- App settings v1.5 (it will allow you to modify DPI for each application independently). It's very safe to use. Works great
- Boot Manager V1.1.3 (it will allow you to select apks you don't want your tablet to load during boot). Mostly safe, if any apks related stops working you need to just remove it from the Boot Manager list, and it should go back to normal.
- Wanam Xposed v2.0.5 (It includes many of the customizations from the Wanam ROMs for other devices such as the S4). In this case, you should be slightly careful. This APK was designed for a different device, and includes options that are not valid (such as disabling increasing ringtone), others that might generate issues (such as Enable Keyboard symbols, which is anyway useless, but can conflict with TAB 8 Samsung Keyboard APK), but mostly, it works great, and adds functions such as 4 way reboot, select multi windows applications, modify the number of tiles in quick settings, battery icon, and other very useful ones
- Nottach Xposed: which has many options in common with Wanam Xposed. This one did not show on the download section of the xposed framework apk, but you can find and download it from its author's thread. Same considerations applies as with Wanam Xposed. I am not sure if they can conflict with each other, so be careful.
As you can see there are many improvements we can already use in our dear Tab 8, you just need to try and verify (After performing a nandroid backup).
I also found a ZIP including the Sony Xperia Launcher and Walkman APK, created by Team Nocturnal for the Galaxy S3, that so far seems to work properly.
http://pc.cd/5z
I hope you will find this thread useful, and I encourage you to test different modules and alternatives and include your own experiences in this thread, so that we can all improve our Tab 3 8 experience.
Happy Testing!!!
thx ..the App Settings is just what i needed ....i am a fan of PAC rom .....and i just love to change the DPI of apps..... some apps are just to big :laugh: thx again

Google Pixel/Nexus Experiance TWRP Installer/Magisk Module

I put together a small TWRP Installer/Magisk module for our OP3 devices
Whats included:
Google Dialer with working Location and Caller ID and Visual Voicemail
Google Contacts
Google Messages
Google Calculator
Carrier Services
Google DeskClock
Dialer Framework
This module removes:
Stock Messages
Stock Dialer
Stock Calculator
Stock Deskclock
Fetures coming soon:
Pixel 2 Launcher (having issues getting it to not force close after install)
Pixel 2 Live Wallpaper
Wallpaper
Pixel 2 Boot Animation
Pixel 2 Sounds
Pixel 2 Accent color
Google Pixel/Nexus Experiance Magisk Module
Google Pixel/Nexus Experiance TWRP Installer(Coming Soon)
I have not tested it on a OP3T since i dont have a 3T but it should work as well
Ive only tested this on OP3 Open Beta 29 but i dont see why it wont work on other versions
If anyone wants to test on 3T and report back that would be much appriciated
Credits:
Wr3ckd90
dustintinsley (for the idea and the base from his OP5 module)
if it didn't touch anything from kernel etc. then should its work on op3T too
also Its only for Hydrogen OS/Oxygen OS?
anyone tried it on other roms (AOSPA oreo/Nitrogen OS)?
is the module for LOS - Based roms or for AOSP and what android version ????
RKBD said:
if it didn't touch anything from kernel etc. then should its work on op3T too
also Its only for Hydrogen OS/Oxygen OS?
anyone tried it on other roms (AOSPA oreo/Nitrogen OS)?
Click to expand...
Click to collapse
I've only tested it on Oxygen OS.. I'll load a version of Hydrogen OS today and try..
ele95 said:
is the module for LOS - Based roms or for AOSP and what android version ????
Click to expand...
Click to collapse
I haven't tried it on LOS yet but you can get all the same fetures this offers if you use the aroma opengapps you can put everything this offers right now
When I try and install via magisk it fails, when I install via TWRP it installs fine - think you have the above the wrong way round
The phone pops up an error each time I open it, says the phone is not compatible and may not work - quite annoying to see it each time. Anyone else have this issue?
When can you give support for twrp?i have super su not magisk
instarobuk said:
When I try and install via magisk it fails, when I install via TWRP it installs fine - think you have the above the wrong way round
The phone pops up an error each time I open it, says the phone is not compatible and may not work - quite annoying to see it each time. Anyone else have this issue?
Click to expand...
Click to collapse
That's weird because it installed perfect in magisk for me I'll run it through a few more test on different versions of Hydrogen/Oxygen
ZeroVirus said:
When can you give support for twrp?i have super su not magisk
Click to expand...
Click to collapse
I'm working on that now I'm running into the problem of it saying not supported if you install via magisk it shouldn't show that message though the magisk installer should install just fine through twrp but you will have a not supported message when opening phone
Wr3ckd90 said:
That's weird because it installed perfect in magisk for me I'll run it through a few more test on different versions of Hydrogen/Oxygen
I'm working on that now I'm running into the problem of it saying not supported if you install via magisk it shouldn't show that message though the magisk installer should install just fine through twrp but you will have a not supported message when opening phone
Click to expand...
Click to collapse
Thanks, look forward to trying again very soon ?
please add support for LOS - Pixel accent clolor , navigationBar animation and round icons , this thread can help you https://forum.xda-developers.com/nexus-6/themes-apps/cool-pixel-mod-android-7-1-1-t3532951
Id love a TWRP flashable zip too (better than Magisk imo)
I'm working on a TWRP flashable I'm just running into the issue with the method I used to remove the pop-up in dialer isn't working in TWRP only Magisk I'll release the TWRP once I figure that out
I tried it on RR and I can't make and receive calls. Almost at all. How can I uninstall it? Is there another way apart from flashing my rom again ?
femiro said:
I tried it on RR and I can't make and receive calls. Almost at all. How can I uninstall it? Is there another way apart from flashing my rom again ?
Click to expand...
Click to collapse
If you installed it via Magisk just uninstall by removing it in the Magisk installer.. I'll create uninstallers for both Oos and AOSP today to restore the removed apps.
Wr3ckd90 said:
If you installed it via Magisk just uninstall by removing it in the Magisk installer.. I'll create uninstallers for both Oos and AOSP today to restore the removed apps.
Click to expand...
Click to collapse
I flashed the zip to install it and then I removed the module from Magisk. Still phone app crashes though.
Edit: I gave manually the permissions to phone app and it seems to work now.
Hi ! I use it on ExperienceOs based on OxygenOs 5.0.1 and work fine but this custom use busybox and don't know if are on permissive SeLinux ? But they had an App to choose it.
After clean Flash and use FreedomOs 3.2.1 based on OxygenOS 5.0 I had always the message in Google Dialer "The Dialer may malfunction on your version..." I had test it again after use Magisk mod "Google Framework" but always the mistake with Google Dialer ??? I don't know why ? Rrrr. I had just remove it in Magisk and use Oneplus App but I don't understand work fine with ExperienceOs and not with FreedomOS perhaps just OxygenOs ? work on 5.0.1 and not on 5.0 ? I stay the update of FreedomOs for see.
Another I had test in my computer to remove Google clock after extract it and compress in zip but won't work with magisk ? It's not a magisk mod.
How can remove exemple Google clock because Oneplus Ckock is better with the calendar option for alarm
But thank you a lot for your work it's the only one work on OOS Oréo
Hi, if I flash it via magisk and I remove it after it will restore stock deleted applications ?
Bryandu13 said:
Hi, if I flash it via magisk and I remove it after it will restore stock deleted applications ?
Click to expand...
Click to collapse
If you remove it after you just loose Clock And Calculator App ! But you can install it with Apk mirror for have Oneplus Clock and Calculator.
For Dialer just choose Oneplus Dialer again and work fine for me same for Oneplus Contact don't uninstall it.
I do to reinstall Google messager too because I use it and when I remove the mod Google messenger are delete too.
The mod had work fine with the custom rom ExperienceOS R32 Stable OOS 5.0.1 no message when use Google dialer all work fine and can apply substratum theme
But I had change and return to FreedomOS 3.2.1 OOS 5.0 and always message in Google Dialer
I stay a TWRP zip or update
So quick update... I'm still working on this I've hit a few more roadblocks I want to fix before releasing anything else
Mms on messages sends but can't use the mms part of messages weird also I'm still having issues with twrp with the dialer message trying to fix that still I hope I'll have something to release this weekend but not 100% sure..
Wr3ckd90 said:
So quick update... I'm still working on this I've hit a few more roadblocks I want to fix before releasing anything else
Mms on messages sends but can't use the mms part of messages weird also I'm still having issues with twrp with the dialer message trying to fix that still I hope I'll have something to release this weekend but not 100% sure..
Click to expand...
Click to collapse
Thanks for the info/update, and for bringing this to us. I love this mod, and prefer using Google's Dialer and Messages over OnePlus.
When you say "Mms on messages sends but can't use the mms part of messages", what do you mean? I thought I was able to send/receive MMS through Google Messages just fine. Are you talking about group messages, pics, etc...
I'm not currently on an OOS ROM, but will probably be moving back soon (today, probably) and can try to verify that for you if you want.
Thanks again!
Hi ! Thanks for your mod. I had rollback to ExperienceOs R32 and flash with Magisk your mod and work fine.
But I had a question if I want Oneplus clock and uninstall google clock how I do ? Please.
I had install the apk of Oneplus clock but isn't System App and google clock are System App and can't uninstall it.
Thanks

[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]-[10-04-2020]-[microG] Unofficial LineageOS 17 w/ microG support

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.

[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.

Categories

Resources