yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sysak:
Oooh thanks. I'll be having that!

Do you expect to release the 9.0 version when LOS 16 for 3T is ready?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Eventually yes - but not immediately, as I need some time to investigate to port the features.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] phoberus:
Maybe you can work together with nvertigo67, he has a rock solid los16 build. In the past, he has also promoted Android without Google Apps.

His thread: https://xdaforums.com/oneplus-3/oneplus-3--3t-cross-device-development/rom-nlos-16-0-t3879405
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Thanks for the information. I am aware of his thread and also his very knowledgeable feedbacks in the 'official' OP3T thread and I think I'll definitely try to get in touch with him.

For the time being however, I would like to concentrate on the "stable" LineageOS 15.1 (building also for the 'amami' device from same sources) to be used as a daily driver rather than bringing up a device for a new android version (I am actually not that good in this area). So I am somehow a little bit more "conservative" :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] vip57:
this is something new ?

I'm new to this so my question is google playstore included??

and how is the gaming performance
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] ajithzres:
Playstore not included

Google play store is not included, but it had Pre installed yalp store. About gaming performance I can't comment because I don't play games.

Incase you are Intrested more info regarding micro g can be found here. https://microg.org/
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MXIIA:
Can you provide some additional information on how each step was done?

I'm specifically curious about the changes to Privacy Guard, changing the default DNS, and not submitting IMEI/IMSI/phone number on GPS requests

Thank you!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
The source code is linked in the OP (the link leads to the local build manifest) - you will find the commits for the features you've asked for always in the 'lin-15.1-microG' branch of my frameworks/base fork, for the sensors in PG additionally in frameworks/native and to make the PG switches visible, obviously packages/apps/Settings, always the 'lin-15.1-microG' branch.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Ahki767:
Location services doesn't seem to be working and trying to access the location settings just fc the settings app.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
I am using this build myself w/o issues. Do you have a log?

One general advice: After 1st install, you should enter the microG settings and perform the setup as described in the link "LineageOS for microG" in OP. (I'll add a line telling this to the installation instructions)

EDIT: In short, click on 'unified NLP' and configure the location providers. Afterwards go to 'Self test' and click on each "unchecked" item and follow the instructions.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] eightfiveseven:
Huge thanks for the extra effort you gave to this. I was so excited when I week ago found this thread and yesterday got my Oneplus 3T and installed this.

Few questions: When I activate Iptables block script it breaks Spotify. I know spotify tries to connect graph.facebook.com so is this the cause? And can I edit iptables script somehow? I am quite newb with this stuff. Or maybe just disable script and edit Hosts file to add graph.facebook.com (its not there)? Though I would like to use this script.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
graph.facebook.com is FB's track&spy server, so unless you use an "original" FB product like their spy app or one of their messengers, there is no reason to allow any connection to FB. (OK, some people also allow their Login services spying on them...)

The reason, why Spotify breaks, is that Spotify is hosted on Google servers. I may think about adding the Spotify app to the exception list for Google (from its permissions however, this app seems also quite invasive, so not sure yet) This would mean that this app would still send tracking data to the Google trackers Ads, Crashlytics and DoubleClick and others (Spotify uses 9 trackers, according to Exodus, which is a lot!)

Yes, you can edit the script, but for this you need a root shell (e.g. via adb) - the script file is /system/bin/z_iptables and you would need to add the line com.spotify.music into the list under list_apps()

Regards, M.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] eightfiveseven:
Thanks for the info! I edited z_iptables to bypass Spotify and now its working. I also added graph.facebook.com to hosts file and to the z_iptables (graph.facebook.com IP is 31.13.71.1 and it was missing from iptables) and now its blocked (dont know which one is blocking it). Btw what does the number after IP mean? Example 31.13.24.0/21

But I still get some calling to settings.crashlytics.com, app.adjust.com and clients3.google.com according to my Pi-hole (which are blocked in it).

Might have to add them too.

Though my adb pull command for the Hosts file stopped working... (freezes in 14%) Any ideas why? This is first time I am doing anything like this :) so I'm bit nervous.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Be careful!

The "/21" in 31.12.24.0/21 means range 31.12.24.0 . . . 31.12.31.255 and the also specified blocking entry 31.13.64.0/18 means 31.13.64.0 . . . 31.13.127.255, which includes 31.13.71.1 - further explanation of the subnets can be found e.g. here

Therefore, if you could still reach graph.facebook.com resolving to 31.13.71.1, the iptables config may not be effective at all (the calls to adjust and goole indicate so)! Please open a browser on your device and simply enter 'facebook.com' as address - if you are redirected to FB for logon, the firewall-blocking is inactive - in that case, please try to deactivate and reactivate the iptables block script and try again. If it persists, open an adb root shell, cd to /system/bin and execute the command ./z_iptables set and watch out for error messages.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] eightfiveseven:
Yes you were correct. Script was inactive but after I removed the IP I added the script started working again. Thanks again!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] QUBiCA:
Hi,

Thank you for your work! I just have two questions: do you spread updates via normal OTA or do we have to go to this thread to check for updates? I will definitely root it too with Magisk, would I need to redo this after every update?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
No OTA, you would have to check this thread (Updater app is even not part of the build).

Magisk has got an updater script to "survive" updates (I.e. re-install after flashing), so it does not make any difference whether you would regularly flash or - if it was available - do OTA. So after flashing new build (as long as you don't wipe anything), Magisk will still be there.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
New build with February 2019 ASB

Hi all,

a new build is available for download with the February '19 security patches.

https://www.androidfilehost.com/?fid=1395089523397888325

EDIT: Please use this link

ASB Security string 2019-02-05

Bromite System Webview updated to M72

Kernel: merged CAF tag LA.UM.6.5.r1-10600-8x96.0 plus sec. patches of the February 2019 Android Security Bulletin

Happy flashing,

regards M.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] hauckk@sfreserves.org:
I know it is not meant to be used with gapps but would this room work if I flashed gapps would it crash/ perform badly etc issues
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
I expect issues because of the stricter sepolicy. Further, Gapps will replace some system files and thus a big portion of the hardening will be lost. It could also be, that safety net may fail. Or it could be, that it seems to work, but sporadic weird things happen sometimes.

So you can try, if you want, and report here. I haven't tried myself yet. If it indeed works (or mostly), it could be also interesting for others. However, I can't and I won't provide any support for this setup.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] hauckk@sfreserves.org:
Thanks I might give it a try later and I understand that you are not going to provide support:highfive:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] hauckk@sfreserves.org:
So I gave it a try didn't work setup wizard froze at searching for updates

I used open gapps nano 8.1

1/19/2019

And magisk 18.1

Clean flashed
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] eightfiveseven:
So just to make sure because I'm doing this for the first time. Just reboot to recovery and install new build? No need to wipe anything? Some guides tell to wipe dalvik cache and cache and some to just install the update.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
If you have my build installed, and you would like now to update to get the February ASB: All you need to do is to flash the new ZIP file in TWRP and choose "Install" - no need to wipe cache/dalvik.

The system will recognize by itself, which apps need the cache to be renewed. But if you wipe cache/dalvik, e.g. because TWRP usually offers this step directly after flashing, it won't harm anything. The next boot will take longer then. (As said, not necessary)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Thanks for testing this. Surprised that already the Google Setup Wizard, which is called by the LineageOS SUW, goes on strike...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mumapizza:
Hi, could you please merge linux stable into this kernel. We have an up to date linage15.1 tree from [MENTION=6842057]nathanchance[/MENTION] here: https://github.com/android-linux-stable/op3/commits/lineage-15.1
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
I have started a while back to upstream the kernel to a local test branch, but this is less trivial than it may sound... Tbh, has not the highest priority: the sec. patches are in and the overall behavior is ok.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Stupidshark12:
Hi, loving the ROM so far.

A question: is it possible to get SafetyNet passing with at least basic integrity (if not CTS) with the microg included, or is this a lost cause?

I've heard SN has been spotty with microg in general lately, wondering if anyone has had luck on this ROM.

I'm using Magisk and the DroidGuard Helper from f-droid, but I'm willing to drop everything if I can get this working. I can't live without Snapchat
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Thanks :)

Well, not an easy question to answer.

Short answer:

I can't do anything about it.

Longer answer:

Maybe you could to do some researches and try-flashes on your side:

Does SN also fail with an "official lineageos4microg" ROM? Does it even fail with an official LineageOS build and pico or nano Gapps?

This should help to isolate your issue, whether it is related to a) the OP3T device + LieageOS as such, b) microG or c) my build in particular

If it relates to LineageOS as such, there is nothing we can do right now. If it relates to microG, you can basically only hope that the guys behind microG will find a solution.

If it really relates to my build in particular (I don't think so, but I can't 100% exclude that possibility), then the "official lineageos4microg" ROM might be the better alternative for you, especially if you "can't live without Snapchat"

What you could also try (I have no clue whether it'll work, but if you don't try, you won't get an answer):

- Try without droidguard installed

- Appy 'MagiskHide' also to the droidguard app

- Build a droidguard apk including this (not yet merged) pull request

Regards, M.

EDIT:

"Build a droidguard apk including this (not yet merged) pull request"

>> This one I could indeed give a try . . .
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Good news regarding SafetyNet

Hi, I think I have good news:

I was able to create a test build with a prebuild and pre-installed RemoteDroidGuard (including the discussed pull request within the microG project).

When I disable root access ("official" LineageOS root addon), the SN test app from Play store shows full compliance.

I have uploaded the test build here

Please perform a test on your end and tell me, how it went. If all goes well, I'll publish a new build.

(Note: If you use Magisk 18.x, you may need to apply Magisk Hide also to the "microG DroidGuard helper app")

Regards, M.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Stupidshark12:
It works! Magisk manager hidden and MagiskHide enabled on the DroidGuard Helper and the SN attest app. Both Basic Integrity and CTS profile pass!

Using Magisk 18.1 and the 2019-02-12 test build.

This just became my daily driver, thanks for all the hard work.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] eightfiveseven:
Hi

I'm getting some really weird behavior after the new february build. Sometimes phone just gets stuck and and when I reboot it goes sometimes as far as unlocking decryption and then black screen and white information led lit and sometimes not even that far.

And then I have to reboot again and maybe after 2-3 reboot phone will boot correctly.

Also yesterday I booted to recovery and adb devices showed me device offline.

Yet again few reboots and got it working.

And iptables script blocking spotify again even when its on whitelist.

Should I just clean install feb build and use something like titanium backup to recover apps?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Thanks for reporting this! I remember having once had such an issue in the middle of Feb testing, but it vanished after one reboot, so I somehow saw it due to a "dirty test build".

But now, after having read your report, I was able to reproduce the behavior - when I tested everything, I never wiped cache & dalvik (not necessary). Now, I explicitly rebooted to recovery to only wipe cache&dalvik and rebooted, and I had a similar ****ty behavior! And always the same after wiping cache/dalvik (this also explains, why it starts to be okay after some reboots).

So I have now reset the three last commits for the kernel and it looks better now. I'll upload the new build, which now also contains the fixed SafetyNet stuff, and will put a new link into the OP.

Seems I will need to priotize 'upstreaming' the kernel as [MENTION=6468900]mumapizza[/MENTION] has asked in this thread a couple of posts before . . .

Regarding the iptables blocking script:

You are aware that after flashing an update, your edits in the script are gone and need to be re-applied?

Regards, M.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Coming back to that topic (see my last post):

Is the linked kernel tree "ready to use out of the box"?

EDIT: I gave it a try and it looks good - will test it the next days and if all goes well, this will be the kernel from next release onwards :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] eightfiveseven:
Now when you said it of course it makes sense :). Gonna edit that again..
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
New build available

Hi all,

a new build with kernel fix (reverted 3 last commits) and pre-installed microG Droid Guard helper app to pass SafetyNet attestation (if used w/o root/Xposed) is available:

https://www.androidfilehost.com/?fid=1395089523397892144

Regards, M.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mumapizza:
You can find more infos on [MENTION=6842057]nathanchance[/MENTION] thread https://xdaforums.com/oneplus-3/one...erence-oneplus-3-kernel-source-linux-t3738742

Pre bundling microG into the rom is not the best idea imo, microG has no security audits as far as i know. I imagine many people dont even want microG, for those who want to go completely google free. What do you think about a modular approach. We have packages from fairphone which can be flashed easily for those who need it.

https://github.com/WeAreFairphone/flashable-zip_microG
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Thanks for the links. I am testing the OP3 upstreamed kernel by [MENTION=6842057]nathanchance[/MENTION] right now, and I am 99.9% sure already, that I will simply continue with it for this build (fork).

The ff repo also looks interesting in general. I however prefer to keep my build with microG bundled. I don't want to work on having to maintain a separate ZIP and I don't want to depend on others when it comes to microG updates or features not yet officially merged like the SafetyNet thing right now.

If somebody does not want microG at all, all it needs is to disable the 4 core apps and the 2 bundled loc. providers, the stuff does not really take away any space. I will update the "Tipps & tricks" post accordingly.

(And should I really get many feedbacks showing interest in a hardened "naked" LineageOS, i.e. my build w/o microG, I can provide a flashable removal ZIP with an addon.d script, that is less work and test effort for me than the other way round)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Thanks for the logs - to make a long story (which would anyhoiw fall into the TL;DR category :) ) short, I have tried the upstreamed op3 kernel from here and used my device since Wednesday late night with it, it really behaves smoothly (also after reboots) and I am going to use this kernel going forward (forked it into my repo). I have done today a clean build with it again. Please feel free to test it and let me know.

Not sure what the issue really was (I think, the CAF merge must have something to do with it - but as said, why deep dive, if a better alternative exists?)

EDIT: To avoid misunderstandings, after my fix, the ROM behaved ok again for me, but since I was concentrating on testing the upstreamed kernel, I did not deep-dive into the issue, tbh. Once I receive further positive feedback regarding the linked test build, I will link it into the OP.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] eightfiveseven:
Thanks!

I will try this build but if it doesnt work I guess I have to make clean flash when I have time....
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] eightfiveseven:
Third time does the charm! This build is working! Thanks M!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Thanks, OP updated
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] kHAW17:
Congrats to you for this build. This question might sound a little silly, but I am relatively new to flashing and therefore I am unfirm. So I apologize in advance. Is it possible to continue with previously purchased apps with your rom? Many thanks in advance.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
The bundled Yalp Store is not from me, so better verify yourself here

In short: You should be able to continue using your already purchased apps, if you use your true credentials to access play store, but you can't purchase new apps from play store. Further, features like in-app purchases or license checks via play store won't work.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] kHAW17:
Many thanks.

Lucky me, you saved my day. :laugh:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] benp12:
Hi there, can you give me any insight into why I'm having this issue when trying to install rom zip?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Yash reddy:
Use latest twrp
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] benp12:
It doesn't resolve the issue, I've tried several now, none of them fix the issue, but yes have tried the latest, as linked to in the first page of this thread, from this site https://twrp.me/oneplus/oneplusthree.html

Also tried several other lineage Os roms (lineage os micro g and official) and they have same error. So I followed the advice of a youtube video to remove some lines from the begginning of the updater script and it allows me to install successfully, and go through the setup sequence.

However the Home button does not work, on any of those roms. (the button does work though on stock firmware btw)

UPDATE: Resolved Issue. Problem was related to the phone being new and being on android 6 when I first flashed TWRP, seems that once the rom installed the button issue was also a hang up from that. I went back to stock. Updated to latest Oreo, and then installed TWRP again and this time it would accept the rom in a non modified way. Upon install the home button is working fine.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Hi, I think I have to update a specific part in the OP, which is also mentioned in other threads:

The firmware (e.g. modem etc.) must be on 5.0 level, see e.g. LineageOS 15.1 official thread (quote: "You need at least OxygenOS 5.0 firmware, otherwise you'll get error 7 when installing the zip. Latest firmware is recommended.")

There is two ways to update the firmware: Either, as you did, update the Stock ROM. Or, there is e.g. this thread . . . (I haven't yet updated my own firmware, but I got my OP3T with Oreo on it and updated last June to the most current Stock version before flashing LineageOS - as I did not have any issues so far, I did not look into this yet)

Regards, M.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] benp12:
Hi , thanks, yeah I just got the phone and went straight to this thread as this rom has preinstalled the things I was going to add anyway, so hadn't read all the info from the official thread. But had a hunch it might have be causing the issue.

I''ve found that under "Updates" in Yalp there is Google Play services. I thought there was no google play services installed on this rom, does it make sense for me to be seeing that there? Cheers.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
The so-called "play services" in this ROM is from microG, it only spoofs being the G Play Services, so that is normal and expected.

Important: NEVER-EVER "update" the play services, instead, put it in Yalp's black list!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] benp12:
Cool, thanks for the clarification. I suspected it might be part of the spoofing as I couldn't find play services installed under the app list in settings. I didn't update it. Good to know what it is though. Cheers.

---------- Post added at 10:40 PM ---------- Previous post was at 10:10 PM ----------

@MSe1969 BTW, really appreciate all the additions you made to this ROM, its pretty much everything I was wanting to do to my Lineage OS setup, so was really convenient to have it all setup in one ROM ready to go. So thought I'd shout you a burger or beverage, sent a little gift via paypal. Cheers.

---------- Post added at 10:45 PM ---------- Previous post was at 10:40 PM ----------

Oh wait that's dumb, didn't realize that was how it worked, so you don't get the cash, you just get ad free for 3 months, oops
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] MSe1969:
Thanks anyway :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] benp12:
PM'd
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] kHAW17:
Hi there,

still impressed of this ROM. Anyways, any idea how I can export my XING-contacts to the contacts-app of this ROM?

XING is a german network similar to LinkedIn. It has a function to export its contacts to androids contacts. Since I flashed this ROM the app is crashing every time I try to use it export.