FORUMS
Remove All Ads from XDA

[ROM] OOS[microG] for Oneplus 5T [8.1.0]

1,228 posts
Thanks Meter: 365
 
By DoR3M3, Senior Member on 4th February 2019, 03:07 AM
Post Reply Email Thread




NEW VERSION RELEASE: OOS[microG]-5.1.7-3185.041719 - (Read the second post for changes!)


OOS[microG] - Better performance, basic and simple, customize it your way!

No more proprietary Google Framework & Play Services!

No more OnePlus Data Analytics!

OOS[microG] comes with native support built in for microG and Signature Spoofing!



OOS[microG] is based on 1 year of experience on several devices, also hundreds of hours went into the preparation and making of OOS[microG]!

OOS[microG] is OxygenOS stripped down and more basic, allowing you to start installing it your way! There's not even a browser in OOS[microG], install what you want!

The point of OOS[microG] is to be as Google Free as possible, to offer better Performance, Security, Privacy, and Freedom without the Google Framework & Play Services!

OOS[microG] is not as complete a Google ROM as OxygenOS, but it still uses and requires a few Google applications because of how OnePlus created the ROM.

OOS[microG] uses F-Droid to access "Free Open Source Software", you can also install Aurora Store or Yalp Store which downloads directly off of the Play Store servers for any other applications you want.

Please be aware that OOS[microG] plays no part in the development of any application installed!

If you have any problems please be specfic, with as much detailed information as possible, so that issues can be investigated properly!


Please read this entire post before making any replies, as it may answer your question(s).




Features
  • Full ROM Deodex
  • Android & OnePlus setup wizards disabled
  • AOSP WebView & Google WebView
  • App permissions - "Spoof Signature" listing
  • boot.img patched - sepolicy for Oreo Deodex
  • EasterEgg removed
  • framework-res.apk patched - microG, signature check, signature spoofing
  • Gapps & OnePlus applications debloated
  • Google backup removed and disabled
  • Google Calendar & Google Contacts Sync support enabled
  • OnePlus Account removed
  • OnePlus bug reports/log removed and disabled
  • OnePlus Data Analytics applications removed and disabled
  • OnePlus Forum removed
  • OnePlus Photos Online removed
  • OnePlus Weather removed - not supported in microG
  • OnePlus "Notifications" "User experience program" and "System stability improvement program" removed and disabled
  • open.oneplus.net added to the "hosts" file to help block online Data Analytics
  • OxygenOS OTA update removed and disabled
  • RZ v3.7.0 Kernel - suspicious OnePlus services patched
  • services.jar patched - signature spoofing
  • System permissions added for microG support
  • 8 new wallpaper added



Additional Applications
  • AOSP Keyboard - UI changes and Mic removed
  • AOSP WebView
  • DejaVuNlpBackend
  • FakeStore
  • F-Droid
  • F-Droid Privileged Extension
  • microG - NanoDroid version
  • MozillaNlpBackend
  • NominatimNlpBackend



Not Working

Because OOS[microG] is OxygenOS stripped of the Google Framework & Play Services, some applications and features will not work at present, these issues are being investigated, maybe in time they will be supported! Hopefully the lack of these few features will not discourage those from the many other benefits of OOS[microG]!
  • Gallery applications - "Share button & "Set as"
  • OnePlus Weather - (removed)
Because of the modifications needed for the framework-res.apk, the Gallery "Share button" & "Set as" will not work. Without these changes to the framework-res.apk the alternative would be the need for Xposed in the ROM, maybe in time this situation might change.



FAQ
  • Q: What is OOS[microG]?
  • A: OOS[microG] is a stripped down version of OxygenOS 5.1.7 that uses microG instead of the Google Framework & Services!

  • Q: What is this Performance, Security, Privacy, and Freedom being mentioned?
  • A: The Google Framework & Services do not offer the same Security, Privacy, and Freedom, mainly because of the "Proprietary Nature". The Google Framework & Services are also heavier on system resources, whereas microG is much lighter, so they lack the Performance that microG offers!

  • Q: OOS[microG] is for Oreo?
  • A: Yes - At the moment this is Oreo 8.1.0

  • Q: Can I Root OOS[microG]?
  • A: Yes - OOS[microG] can be Rooted like any typical ROM, it was tested on Magisk 18.0!

  • Q: Is OOS[microG] completely free software?
  • A: No - it still has OnePlus' proprietary software to support their hardware, and a few of their own proprietary applications, also a few Google applications are still installed because of how OnePlus created the ROM.

  • Q: Will OOS[microG] pass SafetyNet with microG?
  • A: Yes - Please see the "SafetyNet" section below!

  • Q: What is microG?
  • A: microG is basically a replacement for the Google Framework and Play Services, to allow you to still access all of Google's services, and use applications that rely on them, please see https://microg.org/

  • Q: Does everything work with microG?
  • A: It is not 100% perfect, so you might run into an issue with either an application or functionality that relies heavily on the Google Framework & Services.

  • Q: Is battery life better with OOS[microG]?
  • A: Yes - microG is lighter on resources which improves battery life, whereas the Google Framework & Services are heavier on resources causing more battery drainage.

  • Q: Why do you use the NanoDroid's version of microG and not the Official microG?
  • A: The Official microG sometimes doesn't get development as fast, and thanks to the great work of the NanoDroid project, NanoDroid-microG is getting faster development. Please be aware this is still the Official microG with fixes/changes added in by the NanoDroid project!

  • Q: Isn't it better to just use Custom ROMS?
  • A: It depends - If Custom ROMS are not using microG, then you don't have the same Performance, Security, Privacy, and Freedom, they are still reliant on the Google Framework & Services which are proprietary and not free, so less Performance, less Security, less Privacy, less Freedom, also heavier on resources, with microG it's the complete opposite! Custom ROMS also need good development to support a manufacturer's hardware, like the camera on the OnePlus 5T as an example. The hardware from manufacturers is typically supported by proprietary software, and depending on the Custom ROM development, trying to support this hardware can be easy or difficult. Using a ROM developed by the manufacturer offers the best hardware support, but of course manufacturers all use Google. For those looking for alternatives away from Google, and the best hardware support, this is where OOS[microG] steps in!

  • Q: Can't I just run a ROM without any Google or microG and still have it all work the same?
  • A: No - If you want an Android phone with a lot of features and functionality, otherwise it's going to be very limited. At the present moment you need either the Google Framework & Services or microG. The job of microG is to replace the Google Framework & Services so that you have all the same features/functionality, localization services, push notifications, Google Cloud Messaging, Maps API, etc., not to mention all the applications that are reliant on the Google Framework & Services, that won't work if you don't have either the Google Framework & Services installed or microG!

  • Q: I thought Android was Open Source and Free?
  • A: Yes and No - The core of the Android source code is known as Android Open Source Project (AOSP). However, proprietary software developed by Google known as the Google Mobile Services (GMS), is not a part of the Android Open Source Project (AOSP).

  • Q: Why does Free Open Source Software matter?
  • A: There are of course Pros & Cons between Proprietary and Free Open Source, but if Freedom, Security, or Privacy, along with Performance on the subject of microG, if any of these matter to you, then you need to investigate this for yourself. This subject matter is to indepth to fully explain here. These are a few links to point you in the right direction;

    https://www.fsf.org/
    https://en.wikipedia.org/wiki/Open-source_software
    https://en.wikipedia.org/wiki/Free_a...ource_software

  • Q: What is F-Droid Privileged Extension?
  • A: It allows F-Droid to install and uninstall applications without needing the unsafe "Unknown Sources" to be enabled. F-Droid can then install updates in the background without user intervention needing to click "Install".

  • Q: How can I get paid applications?
  • A: For some applications you might be able to download them through your account on either Aurora Store or Yalp Store, for others you might need to have the Play Store installed. If you need to use the Play Store, please visit the NanoDroid project on XDA for help with replacing FakeStore with the Play Store. It is recommened that you use the NanoDroid version of the Play Store which has been patched to work with microG for paid applications.

  • Q: Why do I see the Play Store listed for update when I add in the NanoDroid F-Droid Repo?
  • A: The FakeStore spoofs the Play Store as a replacement this is why you see it, you can ignore the update in F-Droid so it doesn't appear!

  • Q: What is this version of WebView installed and how do I update it?
  • A: This is the AOSP WebView, you can also install the Google WebView if you want to use it too. Whichever version you use be sure to enable it in the "Developer options" > "WebView implementation". Updates for AOSP WebView will appear on this post for you to download and install when they become available.



Installation instructions

Before installing OOS[microG]-5.1.7-3185.041719 you should check that it has the correct signatures.

Code:
MD5: 3d58a7ec85ba5d4e267c666f497a1643
SHA1: 30f8285caccd27acfc96e8a429ee31e9972b36f4
SHA256: a2ba548b75ddff1d31abd9a84e6f8f0528f81e3a553d725237bd0954463ec507
OOS[microG] is made from OxygenOS 5.1.7 Oreo!

Before installing OOS[microG] you need to wipe all of your partitions including the Storage, backup any data you have, then flash OxygenOS 5.1.7!

Next wipe all of your partitions including the Storage again, then flash OOS[microG]!

Install Steps:
  • Boot into Fastboot > fastboot -w
  • Boot into TWRP > Wipe > Format Data
  • TWRP > Advanced Wipe > Check all except USB
  • TWRP > Advanced > ADB Sideload > adb sideload OnePlus5TOxygen_43_OTA_040_all_1811051816_115c75d2 57934eea.zip
  • Boot into OxygenOS and allow it to run!
  • Boot into Fastboot > fastboot -w
  • fastboot flash recovery twrp-3.2.3-x_blu_spark_v9.85_treble-op5_op5t.img
  • Boot into TWRP > Wipe > Format Data
  • TWRP > Advanced Wipe > Check all except USB
  • TWRP > Advanced > ADB Sideload > adb sideload OOS[microG]
Please do not post any problems you encounter if you don't follow the steps above, these problems might be related to doing a dirty flash, you've been warned!




Download

Be sure to download the latest version "OOS[microG]-5.1.7-3185.041719"!

Thanks to their generosity OOS[microG] is hosted for download at Android File Host!

https://androidfilehost.com/?w=files&flid=289145

OxygenOS 5.1.7 from OnePlus' Official Server.

http://oxygenos.oneplus.net.s3.amazo...d257934eea.zip



Post Installation

The Android Setup Wizard has been disabled, even though it's disabled it still runs in the background helping to complete the installation. When the phone first starts, if you notice an overhead notification from the "Android Setup", tap "NOT NOW" then "Never", there is nothing further you can do with the Wizard!

OOS[microG] comes with the DejaVuNlpBackend, MozillaNlpBackend, and NominatimNlpBackend for the Location Services for microG. The NominatimNlpBackend uses MapQuest's Nominatim service. For the NominatimNlpBackend you'll need to sign up for a free account at MapQuest to get an API key. There are also other plugins available through F-Droid to use besides the ones installed in OOS[microG], if you wish to use!


https://developer.mapquest.com/

  • Phone > Settings > "Location ( Mode - High Accuracy)"
  • microG - "Google device registration" - ON (Enabled)
  • UnifiedNlp Settings - check mark all - DejaVU, Mozilla, Nominatim
  • "Address lookup" - Nominatim - pick MapQuest!
  • F-Droid > Settings - enable "Expert mode" - "Privileged Extension" will now be enabled at the bottom of the Settings.
  • F-Droid > Settings - Repositories - Add the NanoDroid Repo - https://nanolx.org/fdroid/repo so that you can update microG and the applications it uses!
  • Highly recommened for better performance/speed! - "Developer options" > Drawing - "Window animation scale" (Animation off) - "Transition animation scale" (Animation scale .5x) - "Animator duration scale" (Animation scale .5x)

Changing the "Drawing" settings in the "Developer options" might appear jumpy to some people, that is because the windows and applications will respond faster. If you don't like it, play with the settings to find what's comfortable to you. These settings that have been recommended are for people that want the ultimate speed.

Once you have completed all of the "Post Installation" steps, you should now see all the sections check marked under "Self-Check" in microG. Under the "UnifiedNlp status" section you should have 6 sections now checked, sometimes you have to give it a few seconds for all 6 to appear checked, either go out of "Self-Check" and return, or scroll up and down a few times. At any time, if you disable the Phone Location, or change the Mode, then you will see the "UnifiedNlp status" section with sections unchecked, and it will take a moment for them to all appear checked again, once you have all your Phone Settings for Location correct! "Google device registration" is also required for the Location Services!




SafetyNet

SafetyNet was tested and working with Magisk 18.0 & 18.1.

OOS[microG] doesn't come installed with Google's proprietary binary DroidGuard.

You'll need to download NanoDroid-microG from the NanoDroid Project on XDA for DroidGuard. It is located in the "/system/app/DroidGuard" folder.

You will then need to boot into TWRP and mount "System", from your computer run; adb push DroidGuard /system/app

Use the file manager in TWRP to verify that you now see /system/app/DroidGuard/DroidGuard.apk

In microG make sure that "Google SafetyNet" is ON and upper right, "3 dots > Advanced" - make sure "Use Official Server" is marked!

Open Magisk, in the menu tap "Magisk Hide" and check "microG DroidGuard Helper" & "microG Services Framework Proxy" to hide them! Now tap, "Tap to start SafetyNet check", it should pass! SafetyNet passed in OOS[microG] testing, see the screen shot below!




Updating microG

OOS[microG] uses the NanoDroid-microG version, to keep it updated, place the NanoDroid F-Droid repository in F-Droid.

F-Droid > Settings > Repositories > Upper Right + > https://nanolx.org/fdroid/repo/

FakeStore spoofs the PlayStore, so you will first notice an update for the PlayStore, which can be ignored in F-Droid. Do not install this update with only the FakeStore installed!




Parallel Apps

If you use Parallel Apps it will create a second version of microG in the App Drawer. The second version of microG is not needed and should be removed. To remove it, press and hold on the icon, when the menu appears tap on "App info", then it will take you to microG's "App info" page, tap "Disable" to disable it. You should no longer see the second version in the App Drawer.



Hit the THANKS button it keeps me happy and motivated!
Attached Thumbnails
Click image for larger version

Name:	Home.jpg
Views:	2334
Size:	34.3 KB
ID:	4699211   Click image for larger version

Name:	App Drawer.jpg
Views:	2360
Size:	30.9 KB
ID:	4699212   Click image for larger version

Name:	About.jpg
Views:	2314
Size:	28.4 KB
ID:	4699214   Click image for larger version

Name:	microG_1.jpg
Views:	780
Size:	29.9 KB
ID:	4716260   Click image for larger version

Name:	microG_2.jpg
Views:	766
Size:	53.9 KB
ID:	4716261   Click image for larger version

Name:	microG_3.jpg
Views:	756
Size:	54.0 KB
ID:	4716262   Click image for larger version

Name:	Sig Spoof Check.jpg
Views:	756
Size:	19.1 KB
ID:	4716263   Click image for larger version

Name:	Magisk_SafetyNet.jpg
Views:	732
Size:	29.7 KB
ID:	4716264   Click image for larger version

Name:	Magisk_SafetyNet_2.jpg
Views:	716
Size:	39.0 KB
ID:	4716265  
The Following 21 Users Say Thank You to DoR3M3 For This Useful Post: [ View ] Gift DoR3M3 Ad-Free
 
 
4th February 2019, 03:18 AM |#2  
DoR3M3's Avatar
OP Senior Member
Flag Portwenn
Thanks Meter: 365
 
More
Watch this section for Announcements, Updates, ChangeLogs, ToDo, etc...




April 18 2019 - NEW VERSION RELEASE: OOS[microG]-5.1.7-3185.041719

ChangeLog:
microG Dirty-227 that was updated in the last release of OOS[microG] was crashing the Gallery application, so the previous version of micoG Dirty-167 was put back into this OOS[microG] release!

To update to a new version, read the Install Steps under the Installation instructions in the OP!




April 17 2019 - New Announcement

The latest update to Dirty-122 microG that was added in the latest release of OOS[microG]-5.1.7-3185.040519 has been found to crash the Gallery application.

A new release will come out shortly reverting microG back to the last version of Dirty-167 which is working fine!




April 06 2019 - NEW VERSION RELEASE: OOS[microG]-5.1.7-3185.040519

ChangeLog:
  • A few OnePlus & Google apps that were originally debloated have been added back in to help improve system performance.
  • NanoDroid microG updated to the latest version Dirty-227
  • AOSP WebView updated to version 72.0.3626.121

To update to a new version, read the Install Steps under the Installation instructions in the OP!




March 08 2019 - NEW VERSION RELEASE: OOS[microG]-5.1.7-3185.030819

ChangeLog:
  • Parallel apps is now working!

To update to a new version, read the Install Steps under the Installation instructions in the OP!




March 05 2019 - New Announcement

I've come to realize through more testing that the reason the Gallery Share button & Set As will not work, is because of modifications to the framework-res.apk, which are needed! Without these changes then Xposed would be needed in the ROM. Hopefully many will agree, that a lack of a few features such as these in the Gallery is a better choice, instead of needing Xposed. I'll keep looking into this situation, maybe in time I will be able to figure out a work around.

Parallel apps is now working, and I will release another update in a few days!

Have a look at the screen shots I've attached for Parallel apps!





March 03 2019 - NEW VERSION RELEASE: OOS[microG]-5.1.7-3185.030319

ChangeLog:
  • Additional apps removed for better performance, privacy, security - (mainly suspicious apps)
  • App permissions - New listing added for "Spoof Signature"
  • AOSP Keyboard added - UI changes and Mic removed
  • AOSP Webview updated - 71.0.3578.99
  • Calendar & Contact Sync added - Tested with Gmail
  • EasterEgg removed
  • Gallery - Share button & "Set as" not working
  • Google Webview added back in - (Now 2 Webview choices to use between AOSP & Google)
  • microG updated to the latest version
  • microG and GsfProxy both now have matching signatures for better support
  • microG Signature Spoof native support updated
  • Parallel Apps removed, not working in microG
  • Simple Keyboard removed
  • System permissions updated

Now you have the choice of using either AOSP or Google WebView! Before using Google WebView be sure to update it to the latest version!

To switch between WebView versions: Developer Options > WebView implementation

SafetyNet also tested and working in Magisk 18.1 - (Screenshot added in OP)

To update to a new version, read the Install Steps under the Installation instructions in the OP!

ENJOY!
Attached Thumbnails
Click image for larger version

Name:	parallel_apps_1.jpg
Views:	422
Size:	11.5 KB
ID:	4718247   Click image for larger version

Name:	parallel_apps_2.jpg
Views:	420
Size:	36.7 KB
ID:	4718248  
The Following 4 Users Say Thank You to DoR3M3 For This Useful Post: [ View ] Gift DoR3M3 Ad-Free
4th February 2019, 04:26 AM |#3  
dakotah2468's Avatar
Senior Member
Thanks Meter: 48
 
More
Thanks! I'll test it right now
4th February 2019, 02:02 PM |#4  
siliwangi's Avatar
Senior Member
Flag tegal
Thanks Meter: 13
 
More
im try it Now.. thanks..

how to fix cst profile & basicIntegrity in magisk 18.1?
4th February 2019, 06:35 PM |#5  
Member
Thanks Meter: 14
 
More
Yeah, that's the kind of ROM I was looking for ! I'm just gonna wait for the android pie version

Thanks for your job !
4th February 2019, 07:55 PM |#6  
siliwangi's Avatar
Senior Member
Flag tegal
Thanks Meter: 13
 
More
Quote:
Originally Posted by draentor

Yeah, that's the kind of ROM I was looking for ! I'm just gonna wait for the android pie version

Thanks for your job !

made for the most stable OOS firmware, in PIE OOS stable 9.0.3 is not the latest, because the PIE ROM base is too early
4th February 2019, 08:24 PM |#7  
Member
Thanks Meter: 6
 
More
Is it only 5.1.17 we can install on... That's quite far back for Oreo..
Also do you mean 5.1.7 or 5.1.17 because you mentioned both
4th February 2019, 09:07 PM |#8  
DoR3M3's Avatar
OP Senior Member
Flag Portwenn
Thanks Meter: 365
 
More
Quote:
Originally Posted by siliwangi

how to fixed cst profile & basicIntegrity in magisk 18.1?

The post has been edited over, see the new "SafetyNet" section!

Please don't make one post after another; known as "Double Posting", try to keep posts contained to one at at time, thanks...



Quote:
Originally Posted by dali786546

Is it only 5.1.17 we can install on... That's quite far back for Oreo..
Also do you mean 5.1.7 or 5.1.17 because you mentioned both

That was a typo, thanks for pointing that out, fixed now, and it's 5.1.7
The Following User Says Thank You to DoR3M3 For This Useful Post: [ View ] Gift DoR3M3 Ad-Free
4th February 2019, 09:13 PM |#9  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by DoR3M3

Even LineageOS microG doesn't come with DroidGuard installed, which is suppose to be needed for SafetyNet, they don't even talk about SafetyNet either on their website.

OOS[microG] doesn't come with DroidGuard becasue it's a Google Properitary Blob, and the point is to try and stay away from Google as much as possible, but it doesn't mean someone can't use it and work with SafetyNet on their, it's just not supported in OO[microG].

SafetyNet is difficult at times to pass, given Google is always making changes, you'll have to Google or check on XDA for SafetyNet.




That was a typo, thanks for pointing that out, fixed now, and it's 5.1.7

Is it only from main Oxygen OS branch, not the beta?
And any idea on ETA to pie?

Look at me asking a bunch of questions to a ROM that I tried to do manually. (I have disabled all Google tracking downloaded Firefox with extensions, disabled Google history... This solutions seems a hundred times better)
4th February 2019, 09:32 PM |#10  
DoR3M3's Avatar
OP Senior Member
Flag Portwenn
Thanks Meter: 365
 
More
Quote:
Originally Posted by dali786546

Is it only from main Oxygen OS branch, not the beta?
And any idea on ETA to pie?

Look at me asking a bunch of questions to a ROM that I tried to do manually. (I have disabled all Google tracking downloaded Firefox with extensions, disabled Google history... This solutions seems a hundred times better)


I've been so busy working on OOS[microG], that when I started the Pie firmware was not released and I haven't been paying attention to it, but now that I see it's been released when I get a chance I'll start working on a Pie version to release, don't have an ETA at the moment.

It's great to see replies and excitement, did you read my "microG - Deodex - Signature Spoofing - Debloat Gapps!" guide when you did all this manually?

https://forum.xda-developers.com/one...ofing-t3862961
5th February 2019, 06:07 AM |#11  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by DoR3M3

I've been so busy working on OOS[microG], that when I started the Pie firmware was not released and I haven't been paying attention to it, but now that I see it's been released when I get a chance I'll start working on a Pie version to release, don't have an ETA at the moment.

It's great to see replies and excitement, did you read my "microG - Deodex - Signature Spoofing - Debloat Gapps!" guide when you did all this manually?

https://forum.xda-developers.com/one...ofing-t3862961

No i didnt use your guide to do that.
Feedback on the ROM
Love the concept and idea
It is however quite jumpy and lavgy (when scrolling or switching apps)
It didnt come with a browser and initially F-droid wouldnt install anything... Parse error. I rebooted disabled the extension then it worked. Re enabled it

Parallel apps isnt working and some apps that require Oneplus Framework crash.... OnePlus Weather

Apps that require GSF dont work. I tried loggijg into snapchat (it cpuld also be safetynet issue with snapchat tho)

Magisk returns safetynet error.... SNot failed safetynet... Just error i think to load it
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes