yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
Please read the OP before posting, everything is in the OP, except Navigation Bar, which is just an OxygenOS feature.

TWRP v9.91 is for Pie!

Calendar support is mentioned in the OP.

Share feature is mentioned in the OP.

Navigation Bar > Settings > Navigation > Buttons > Navigation bar & gestures.

If you don't read in the future, you are just causing yourself more problems, like messing up your recovery partition with the wrong version of TWRP.

The information in the OP is there for a reason... ;)

To make sure your recovery partition is not screwed up, follow these steps below! (Don't flash just the recovery.img)

1. Boot into TWRP > Wipe > "Format", then "Advanced Wipe", wipe all of them.

2. Then flash OxygenOS 5.1.7, then boot into recovery to make sure the original recovery appears, sometimes it doesn't and you have to Wipe and Flash OOS all over again!

3. Then do all the Wipes in the Android/OxygenOS recovery.

4. Next boot to fastboot and flash "twrp-3.2.3-x_blu_spark_v9.85_treble-op5_op5t.img".

5. Next boot into TWRP and wipe everything again as I mentioned before.

6. Now flash OOS[microG]!

[MENTION=9707940]Stavros Pro[/MENTION] OP > FAQ ;)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] robertut:
Hello!

Is DriveDroid working ok with this Rom/Kernel? Anybody tried?

Thanks in advance.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
Unless it has some unusal GSF/Play Services dependencies that microG won't support, then it should work.

Try and see, it doesn't take long to BACKUP a ROM in TWRP and flash a new ROM... ;)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] rednit:
Waiting impatiently for the next release
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] racinmason001:
I CAN'T WAIT TO FIRE THIS UP ON PIE!!!! Great Word my Dude!!!!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
I'd love to release it, I'm just trying to figure out if there is any reality to making the "Share" feature work in Gallery apps. It appears in situations like this with Google ROMs, they have to be installed and running, then debloated and then microG installed.

Hit that THANKS button, it keeps me happy! :)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] fl4ian:
Just wanted to share my appreciation to [MENTION=8949533]DoR3M3[/MENTION] for making this available.

I'm not an expert by any means, but I got still got it installed using Linux and stock phone (including the wipes, installing the oneplus official, wiping again, etc.).

Couple things:

1) the setup wizards did not appear for me at all - I was expecting them to from your notes, but they didn't appear (which was fine/great).

2) GPS seems to be working fine without performing the post-setup steps related to location.

3) I'm not in need of root, so I didn't complete the post-setup steps on SafetyNet/Magisk.

4) I did complete the dev options > drawing modifications, and it seemed to make the response a little snappier.

The only thing that I have run into that didn't work so far was installing the app Shelter, which is supposed to provide a sandbox so any Google accounts (for instance) will not have access to the entire device. It utilizes "work profiles" which are apparently baked into Android, and of which I was unaware until I read Shelter's description.

In any case, Shelter installed successfully via F-Droid, but it fails at the configuration of the "work profile."

Is it possible that completing something in the post-setup instructions would make it function properly? The reason I ask instead of simply doing them, is that I don't know what all the steps mean - for instance Google Device Registration. I don't know what kind of privacy risk it is, etc. I simply don't know enough about it.

Anyway, again, many, many, many thanks for this. It was exactly what I was looking for.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
The Android & OnePlus setup wizards are disabled, this is mentioned under the "Features" section. microG doesn't support running the Android Setup Wizard that is why it's disabled and the OnePlus wizard is not needed.

OOS[microG] is a "Converted" Google ROM into a microG ROM, which is not the typical way you apply microG. With Google ROMs you run them, then debloat them of Gapps and then install microG.

So I wrote a guide on debloating OOS and installing microG;

https://xdaforums.com/oneplus-5t/how-to/guide-microg-deodex-signature-spoofing-t3862961

OOS[microG] will lack some features, running a Google ROM, debloating it and then installing microG, typically ends up with better support. Converting a Google ROM is something I am reaching out to microG on, hoping in the near future to see better support, so people can just use something like this, instead of doing it on their own, like the guide...

Shelter works for me on this new release version I am working on.

It automatically cloned the Contacts, Downloads and microG, microG cloned is not something we want so I froze it. Shelter also created on the HOME page a Work icon with Contacts and Downloads inside it.

I also tested a clone for the Gallery and it work, then I froze it.

For a short test I also created two different contacts in each Contacts app and this worked...

Shelter did seem to hang when I first started it, but I've read this is a bug it's had in the past, so I'm not sure about this. I just closed and reopened it and it's working fine. Have a look at the attached screen shot...
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] fl4ian:
Thanks for the response [MENTION=8949533]DoR3M3[/MENTION].

As to Shelter - I haven't used it before, but was interested in the ability to sandbox Gmail for instance. I don't have any additional info besides what's posted at their listing on the Play Store or F-Droid... https://play.google.com/store/apps/details?id=net.typeblog.shelter&hl=en_US.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
Ok so I went back and tested this, since you are talking about a Google Account, I'm assuming having two accounts is the objective here?

A regular Goolgle account and a "Work Profile" Google account?

You need to unfreeze microG and have a "Work Profile" microG, and if you want to experiment, you can try setting up everything in this "Work Profile" version of microG to see how much works. For now I see that the "UnifiedNlP is registered in the system" is unchecked. UnifiedNlP is a "Location Provider", so I don't really see this creating much of an issue, especially when you consider from a security point of view you don't want Google to know your Location anyways. ;)

Please see the attached screen shots, that I was successful creating two Gmail/Google accounts, now two microG in the App Drawer, and as I mentioned "UnifiedNlP is registered in the system" is the only thing unchecked in microG.

P.S. You mentioned before that with shelter it fails at the configuration of the "work profile." Please explain by what you mean fails, what did you do?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] fl4ian:
I was actually wanting to use Shelter to put a Google account on the phone in the first place (as opposed to using two Google accounts).

You have gotten much farther than I have! When I was saying that Shelter fails at the the configuration of the "work profile" - what's happening is I install Shelter, let it be a device administrator, then I press the "Continue" button so that Shelter will set up a Work Profile for me.

The next step is to press Accept & Continue to start the creation of the Work Profile, the words "Setting Up Work Profile..." are at the top with a progress indicator, but then the progress indicator stops, the window disappears and a pop-up on the screen says "Work profile setup has stopped" and gives me a button that says: Open App Again.

When I choose open app again, it starts me at the beginning where I press Continue, and then a new screen says "Delete existing profile? You already have a work profile . It's managed using the following app: Unknown. If you continue, all apps and data in this profile will be deleted." And it gives the option to Cancel or Delete. Pressing Cancel exits the setup with the notification: "Cannot provision Work Profile. You may try again by restarting Shelter." If I press Delete instead of Cancel, it brings me back to "Accept & Continue."

I never get farther than the failure to setup the work profile.

I will test tomorrow by putting a fake Google account on the device before trying to set Shelter up, and see if it will allow me to finish the Work Profile config.

Many thanks for the attention you've paid to this.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
If you can wait, it looks like I'll be releasing the next version in a few days.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] fl4ian:
I did put a Google account on the phone and it didn't improve the situation. I'll look forward to trying the next edition as well.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
So as I mentioned before, even in this release I am testing, after I tap on "Activate this device administrator" I get a popup saying; "Please wait while we prepare Shelter profile for you..."

The message just sits there, so I close Shelter and reopen it and it seems to work just fine, and when I looked at the Shelter development repo on issues, this has happened in the past for others too...
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] maeries:
What are the benefits of this rom compared to lineage with microg?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
This is mentioned in the FAQ.

Q: Isn't it better to just use Custom ROMS?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MsuatafaKhatab:
thanks for your efforts , I missed only screen shot share, is there any apk do same?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] maeries:
One more question: There are some problems with OnePlus killing apps running in the background to save battery, so that apps that, for example, sync files or track movement don't work properly. How is that handled on your rom?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
Not that I know of, I tried many gallery apps, none of the share works, it appears the reasons is that OxygenOS is a Google ROM, needing GSF and OOS[microG] doesn't have any support for this at the moment, it's something I posted about that I am researching.

OOS[microG] has no changes in regards to "Battery Optimization".

All I am aware of that you can try if you see problems;

Battery > Battery optimization > app > Don't optimize

Battery > Battery optimization > three dots upper right > Advanced optimization > make sure both are off...

Advanced > Recent app management > Normal clear
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] rednit:
been running this rom for a few hours now

two issues that i have noticed:

1. audio and video is broken on all apps - no audio at all and video is lagging

2. notification are not showing on the lock screen
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MsuatafaKhatab:
Bro, please advise which file to download and shall I flash from tarp directly
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
You said you ran the ROM for a few hours, then you were looking through the ROM, which requires the usage of the video firmware and chipset. Your video chip could be bad on your phone, so when you put a load on it, it's not handling the load.

I tested the ROM hundreds of hours before releasing it, the ROM is good, however converting a Google ROM into a microG ROM, there will be things like the Gallery Share feature and Parallel Apps not working. For a few other things not working, these have been mentioned in the OP and will be corrected in the next release.

I've listened to music on the ROM, watched videos on it, played games on it, and the list goes on, along with many other various apps I've tested... If you've been following the post I've even tested PUBG in the ROM, gaming is a lot more demanding then a video and the game never lagged once. Any DEODEX ROM however can lag until it's been rebooted once or twice.

Audio & Video is related to OnePlus' own firmware, it's in their control, it has nothing to do with the ROM and I didn't touch any of this firmware, so it's impossible for audio and video to be broken, there is clearly something odd going on with your device, hardware going bad, or the /vendor parition or firmware is corrupt on your device.

If you've been using Custom ROMs, upgraded to PIE, dirty flashed, etc., one of these might of screwed up the partition or firmware, if your hardware isn't starting to go bad.

Give me some examples of Notifications not appearing, I've not seen any issues with the Lock Screen Notifications.

If you wish to try again, do all these; (You need to do all these Formats/Wipes twice as mentioned in the instructions)

1. Boot into fastboot - fastboot -w

2. Boot into TWRP - Wipe - Format Data - Next - Advanced Wipe (Check All except USB)

3. adb sideload OxyxgenOS

Now does OxygenOS audio/video work ok?

4. Boot into fastboot - fastboot -w

5. fastboot flash recovery twrp

6. Boot into TWRP - Wipe - Format Data - Next - Advanced Wipe (Check All except USB)

Now adb sideload OOS[microG]

Not sure what you are asking for? So I'll assume you want DroidGuard or the Play Store, download NanoDroid-microG.

P.S. Who said I was a Bro? ;)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
NEW VERSION RELEASE: OOS[microG]-5.1.7-3185.030319

Be sure to read the RELEASE NOTES at the link below;

https://xdaforums.com/showpost.php?p=78827858&postcount=2

Download the new version at the Download section of the OP!

ENJOY! :)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MsuatafaKhatab:
What's the newest, please?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] rednit:
thank you very much for the new release
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] fl4ian:
Hi [MENTION=8949533]DoR3M3[/MENTION],

Many thanks for the next version!

When upgrading/installing the new version, what is the recommended process?

Just flashing the new .zip in bluspark or do I need to do some wiping, etc.?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
Boot into Fastboot > fastboot -w

Boot into TWRP > Wipe > Format Data

TWRP > Advanced Wipe > Check all except USB - (Be sure to backup any Data, as you are also wiping "Internal Storage")

TWRP > Advanced > ADB Sideload > adb sideload OOS[microG]-5.1.7-3185.030319.zip

Enjoy :)
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
New Announcement just after the release!

See New Announcement at the bottom! :)

https://xdaforums.com/oneplus-5t/development/rom-oos-oneplus-5t-t3896706/post78827858#post78827858
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
Another New Release!

https://xdaforums.com/oneplus-5t/development/rom-oos-oneplus-5t-t3896706/post78827858#post78827858

Download the new version at the Download section of the OP!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MsuatafaKhatab:
Waiting pie version.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bluegrass55:
System Setting Crashing

Was really looking forward to this but unfortunately on 2 separate fresh installs the phone crashes with system error pop-up.

The first time was without any user apps installed. The Setup thing kept coming back after each reboot followed by Android setup has stopped. Finally System setup crash then a blank screen.

The second time the Setup thing came only once after selecting never (like before) followed by Settings isn't responding. This time it was with all user apps installed.

Install method was:

1-Format

2-Wipe everything (except USB)

3-Reboot TWRP (blu_spark's "twrp-3.2.3-x_blu_spark_v9.85_treble-op5_op5t.img)

4-Insatll OxygenOS 5.1.7

Then,

1-Format

2-Wipe

3-Install OOS[microG]

4-Reboot

I suspect that I'm doing something wrong. Also in Wipe does the vendor image have to be wiped also? On the first install I did & not on second attempt.I didn't sideload anything since TWRP remained installed.

Edit: After installing stock ROM booted and did the setup→rebooted to TWRP→Format→rest of guide. After boot had to select preferred launcher after Titanium restore & problem solved. However now most apps now force closing.Going back to the manual install version of this.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
I'm not sure there is now going to be a PIE release.

OnePlus has it more heavily intergrated into Google, even so much, that I haven't even figured out a way to make it start with microG the first time the phone starts up.

I'm not impressed with PIE, OxygenOS 5.1.7 Oreo is still a good rom/version...

Which version of OOS[micoG] are we talking about, since there are now 3 versions released?

The only time I have ever had the "Android setup has stopped" is when I had something incorrect in the ROM when I was testing it and making changes, after making the correct changes, I've never seen it since.

If you want to install the latest version follow these steps;

Boot into Fastboot > fastboot -w

Boot into TWRP > Wipe > Format Data

TWRP > Advanced Wipe > Check all except USB - (Be sure to backup any Data, as you are also wiping "Internal Storage")

TWRP > Advanced > ADB Sideload > adb sideload OnePlus5TOxygen_43_OTA_040_all_1811051816_115c75d257934eea.zip - (You need to flash OxygenOS 5.1.7 first, there is a link for it in the Download section of the OP if you need it.)

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 - (Be sure to backup any Data, as you are also wiping "Internal Storage")

TWRP > Advanced > ADB Sideload > adb sideload OOS[microG]-5.1.7-3185.030819.zip
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bluegrass55:
Followed this to the letter and managed to to setup & restore apps without issue, however a lot of apps such as BBC iPlayer, Iplayer Rdaio, Guardian,DuckDuck Go, which never had issues with any microG versions force close. I'm using AFwall+, Xposed, Xprivacy Lua. With the manual install version the only issue was that I had to update GsfProxy and Gms Core once a month.

Should have stayed with it. Now to work out the restore.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
OOS[microG]-5.1.7-3185.030819 is using the latest version of dirty-167 microG.

BUT, from what I'm reading you are saying that you are having this "Force Close" issue on these apps with Xposed and Xprivacy Lua installed? If so, then one of these could be the issue and not the ROM, especially Xprivacy Lua, AFWall has also created app issues in the past, but more rare and typically more with internet access problems...

Running AFWall+ is all you need, Xprivacy Lua is just adding an unnecessary layer.

BBC iPlayer? Don't you mean the BBC Media Player, because you mentioned the BBC iPlayer Radio... BBC Media Player hasn't been updated in 3 years... :(

BBC Media Player is not working for me and it hasn't been updated in 3 years, so I wouldn't put much faith in this app. The Guardian Reader, if this is the app works for me, BBC iPlayer Radio works and DuckDuckGo work...

By the way there are 2 versions of WebView, AOSP & Google, be sure in PlayStore, Yalp or Aurora to update Android WebView and then in the; Developer Options > WebView implemention - be sure to tap on the version you want to use. I've personally not had any provblems with either version on various apps, but if you ever run into problems, then switch and see if the other version helps. I am talking more about WeBView support which is not microG support, if you ever run into WebView issues.

Apps are working fine here, except BBC Media Player, see the screen shots attached.

I've also run into these types of issues when I've added in "Security Layers" into Android, so it's always best, when you know your apps are downloaded from a trusty source, to first install, run/test them, then add in the Security Layers and see how things work after.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] sleepwalking0593:
OOS Oreo have nougat like interface. OOS pie is alot better
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bluegrass55:
Thank you for the detailed reply.

I have installed again (4th time) and the app causing all the issues was the built in Files app.I uninstalled it and installed MiXplorer_v6.33.10. I was wondering why the phone was stuttering even with the new Drawing settings. Now phone is on rocket fuel:D::D

Good old Xprivacy is happy and even AFWall+ has stopped misbehaving. Strange how a basic app was the cause.

The only thing I don't understand is the ROM install method. Since TWRP is already installed why the need to re-flash it or Fastboot into it when flashing MicroG part?

I've also uninstalled all the Google stuff as per the manual install list and was wondering why you've left the Sensor Test Tool? I normally remove this as well.

Will use it for a week and report back.Also if I run into an app wanting updated GMS core and Proxy can I do it like before?

The BBC apps I mentioned are regularly updated.

https://play.google.com/store/apps/details?id=bbc.iplayer.android&hl=en_GB

https://play.google.com/store/apps/details?id=uk.co.bbc.android.iplayerradio&hl=en_GB
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
This is a Fully DEODEX ROM and it can stutter sometimes until it's been rebooted a few times, or if any corruption or a bad flash.

What made you think the "Files app" is a problem? if you thought this was the problem, in what way, please explain? As you mention "Files", I'm starting to think, why did I ever leave it in the ROM... But I'm still curious as to why you though you had issues with it?

Files is the UI for the Download Manager. The more I consider it, it seems redundant to leave it installed when OOS already has a File Manger.

Don't think about microG, think about the "Entire ROM", so like any ROM, when you flash one, you should be wiping all partitions, then flashing first the "Stock ROM", then wiping all partitions again, and flash the Custom ROM. Everyone has different ways about it, what they show, I'm just showing you to flash everything is all...

TWRP will not be installed when you flash Stock OxygenOS, it will put in the Stock Recovery...

The "Basic ROM" is what I test everything in when I flash it to the device, and I've never had any crash issues.

See the OP, last section; Updating microG.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bluegrass55:
Regarding the Files apk.

I found out it was the cause because when I tried to restore backup for both AFWall+ & Xprivacy the phone would freeze and go into a black screen like my previous post attachment. Once removed this issue was gone.

Also AFWall+ would be stuck in constant "checking for Root" message when applying a new restriction for an app. Once Files apk was removed no more issues.

With Xprivacy Pro when selecting restore nothing happened. Then when I pressed the back button phone would freeze & enter black screen. Actually it was this that led me to the Files apk thing.

Regarding TWRP. If you don't boot into stock ROM TWRP is still active. That is where I got confused with your instruction to flash TWRP. Throughout my install process TWRP was never removed.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] DoR3M3:
Ok on Files, and you want to boot into OxygenOS as part of this install process...
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bluegrass55:
Thanks for the continued support and hard work.

The longer I use this ROM the better it becomes.Minor glitches seem to work themselves out and the ROM itself has become slicker & faster as time goes on. Great job.:good::good::good:
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] maeries:
I just got my 5t today and noticed that, since nougat, apps have to show a notification if they run in the background and don't use firebase. Is it the same on your rom?