[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
I am no longer working on this, or updating any information here! This was created back in the day of Oreo.

I've personally moved on and I'm presently using /e/ which you can see the info here and get the ROM for OP5T.

/e/OS documentation - OnePlus 5T

Info about OnePlus 5T - dumpling

As of this post edit on 10/20/22 I'm using 'e-1.4-r-20220922220394-dev-dumpling' and /e/ uses microg. It runs quite nice, so check it out!

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_and_open-source_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.

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_115c75d257934eea.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.amaz...3_OTA_040_all_1811051816_115c75d257934eea.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! :)