yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nandrew:
I took a few minutes this morning getting gpay to work for fun. Magisk out of the box will not pass cts check even with "MagiskHide" enabled. You need to install a couple magisk modules which pretty much automates the process of changing your build fingerprint to a verified version based on your on Android version and phone. Instead of downloading a terminal app, just enable the LOS terminal found in the phone's Dev settings.

Follow this guide:

https://xdaforums.com/apps/magisk/fix-magisk-manager-20-3-ctsprofile-t4080921

[MODULE] MagiskHide Props Config:

https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228

Credit: Didgeridoohan
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
I am not on this ROM right now, so I cant personally test but I always had CTS and safetynet fixed with just ROOT (MAGISK) and using a reset script at boot (my steps are found earlier in this thread):

resetprop ro.build.version.security_patch

I am mainly developing at this point so I am not testing and using ROMs as much so hopefully others will chime in. I am only using GSI at this point so I cant reproduce anything for users anymore (unless on GSI's). If the reset script still works with the latest release, then its much easier and less work to use it than to use MAGISK plugins (no plugins required so no modules to install, just the boot script with the proper permissions are needed). To each his or her own, I am just throwing it out there for others so they can either confirm its still working, or let me know its not so others know.

-EDIT, resetting security_patch works and passes safetynet, I was able to test it with the latest LOS 10 ROM (this one).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] baxxter106:
Hi and thank you very much for this ROM after official support is gone. I am not sure if i am right here but i want to ask how do i get the boot.img to patch Magisk without TWRP? I took the last official Q boot.img but now device is not starting - just the loading image from Lineage. So, was this a fault or how can i get the boot.img without reposync and build via git? Thanks

Sorry, i figured it out myself by extracting payload.bin and used this boot.img so now magisk ist working. Let's see if gpay will work again...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
If patching boot.img isn't working then install magisk from recovery using zip. Root worked when I was testing 18 (this ROM). Yes you python extract boot.img using payload but you could also just dirty flash the same version over top and achieve the same thing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] baxxter106:
Thanks for hint but i wanted to avoid using recovery. i just want to try "as clean as possible". Today i made my own lineage build and now i have a boot.img, too ;)

I tested safety net and it works by editing fingerprint of device. gpay also works.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
No worries, there's many ways around using TWRP (adb) but ideally the way I do it is just boot TWRP (.img) but not install it as a recovery nor the system app. I keep it temporary and only used when needed. I used TWRP to do that installs but nothing else then when it's booted, it's not installed so the default recovery is left in tact. Either way works though just keep in mind that by booting TWRP doesn't install TWRP so it's still a clean method leaving defaults in place (so it's clean).

You can also just reset the security level and not touch the fingerprint to pass safetynet, which in my opinion is cleaner than using fingerprint changes but to each his/her own.

Building your own OS is a tremendous amount of fun so keep at it! It's a great accomplishment to run your own OS you built from code!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TBacker:
Just installed this and everything went well / is working well EXCEPT:

The damn screen won't stay off!!

Whether by button or timeout, the screen will fade, shut off, then immediately come back on.

I have a minimal compliment of apps on this at this time, and nothing I haven't used before with no problem.

Very weird. Anyone ever experience this?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] user602:
I flashed the latest version (20201117) on Walleye today, and do not have this problem.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TBacker:
I found the culprit - may be a bug?

If I disable Smart Lock, it stops misbehaving.

I had Smart Lock enabled and was in a safe zone. Screen time out 30 seconds.

I played with the lock timeout and determined that the screen comes back on when the lock timeout expired (when the phone locks in the background).

Seems like some kind of conflict between the auto-lock wanting to lock the device, and the Smart lock wanting to keep it unlocked.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] republicano:
i was having a similar issue but on a old build (august?).

i didnt have smart lock enabled but the screen would wake up randomly even in flight mode i couldn't find out if it was an app or a notification of background use even though there was no text.

i was playing with the screen time and the screen would wake up after i pressed the power button to turn off

then i played with screen timeout and lock after timeout and if i was using Gcamera and used the power button to turn of, the screen would wake up in its lowest brightness with adaptive brightness turned off so i couldn't see the screen outside.

I updated to the latest build and did a factory reset so it appears to be working but im not going to play with those settings again to find out if its fixed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
Please remember for GAPP choices for custom ROMs, I always encourage and recommend OpenGapps. I am saying this now, mainly to remind everyone that you can customize the GAPPs install using the natively built-in OG install feature (Advanced Features and Options):

Advanced Features and Options

The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.

github.com

"You can choose either the apps you WANT installed or the apps you DON'T WANT installed.

"Include" install: To select ONLY the apps you WANT installed, add the keyword Include to your gapps-config file. The installer will now install ONLY THOSE APPS you have listed in your gapps-config.

"Exclude" install: To select ONLY the apps you DON'T want installed, no keyword is necessary, because the default behavior is an Exclude install."

Not many users know or speak of this so I am bringing it back into focus. You can customize all but the aroma GAPP package, make it smaller, remove/add apps, replace AOSP, ETC., I know a few of you have asked for this recently througout the taimen forums so I am adding it to the LOS 17.1 (10) ROM. This is usable on any ROM that needs GAPPs. There are a ton of advanced options that I encourage users to review so they can customize the GAPPs installation process to better serve their requirements (GAPP choices).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SGH-i200:
My Google Assistant won't "read aloud" the website which is opened in Chrome, but says "sorry, I don't see a web page on your screen"!?

Can't someone check that this feature is working? On stock I had no problems using this feature.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] palimatix:
yes, same here.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Hawkeye77:
Total Noob here, Sorry....

1. Do i need to re-lock the bootloader once i've flashed the ROM?

2. Just Flashed on my Pixel2 with Magisk, Also failing Magisk Checks. Can someone point to a thread that i can fix this please?

Thank you to the Dev's, great ROM :)

Cheers.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Lughnasadh:
Never, ever re-lock the bootloader after flashing a custom rom. You will brick your device. You should only re-lock your bootloader while being completely on stock, and even that isn't advised because you leave yourself with little options if something goes wrong.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sebacestmoi:
Hi,

Yesterday I've tried to install ViperFX but even after doing all the steps correctly it wasn't working.

I've uninstalled it but since that I can't pass the ctsProfile check. Do you know what I should do to pass it again ?

Kind regards.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Hawkeye77:
It seems, people are guessing, an update from Google has triggered this check not to pass.

This issue has also aligned with an update of Magisk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Lughnasadh:
Google indeed do something server-side on many phones (including most if not all Pixels) the other night whereby ctsProfile now fails even when your evalType is basic and whether or not you are on a stock or custom rom or kernel. It doesn't appear the update to Magisk the other day has anything to do with it as many (if not all) people were still passing after the Magisk update and then failing after Google did their shenanigans the other night/morning.

There is a Magisk Mod just released to fix this problem that works on Android 11. Android 10 not officially supported yet but being worked on as I understand. Go over to the Magisk thread for more details... https://xdaforums.com/t/magisk-general-support-discussion.3432382/page-2169#post-84281821
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wmatheney:
I've attempted to install this on my pixel 2xl. The first time it worked but I'd installed nano GAPPS. I then decided to follow the instructions again without installing GAPPS and it bootloops and then goes back into TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] btbs:
G'day all,

I've just flashed lineage-17.1-20210209-nightly-walleye-signed.zip on my Pixel 2. According to the changelog it should have security string 2021-02-05. However, when I look at the phone it shows both "Android security path level" and "Vendor security patch level" at "5 August 2020". Any ideas on why it's not showing "5 February 2021" or what I might be doing wrong?

Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] user602:
I'm on the same build on walleye; my phone lists Android security patch level February 5, 2021 and Vendor security patch level August 5, 2020.

I don't know what the fix is, but it shouldn't hurt to try re-flashing the ROM.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] btbs:
@user602, thanks for the feedback. I was about to do a re-flash but read in the walleye LOS18.1 thread (here) that depending on how safety net fix was installed gave the symptoms in my original post. I've just updated to the latest version of safety net fix (see here) and after reboot my device is reporting same patch levels as yours.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Colibridesmontagnes:
Hi,

Many problems like a lot of people today cause of Magisk 22.

I wasnt able to to Direct Install and Magisk returned an error when I was trying to patch boot.img.

I've made the decision to flash it with TWRP but when I enter TWPR I can't see the files on my storage...

I am doomed ? I did the un-hide Manager procedure before doing all te previous steps.

Now my phone bootloop, I can't find my files to flash from Recovery and ADB Sideload from the Lineage Recovery is stuck at 47%.

Anyone can help me ? I gladly pay a beer or two with PayPal :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lg_g3_d855:
I am on Android 10 and can't install this rom, I boot recovery(twrp 3.0), then sideload zip file but screen goes black, what's the problem?

edit:

I finally managed to flash lineage os directly via twrp recovery and zip file, but during the installation process, the screen went completely off, I had to manually reboot the phone and then it booted, is this normal?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] noob924:
Anyone else having an issue watching HDR content on YouTube? Not sure if ROM or kernel related as I'm using elementalX
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mikeskid07:
Are the symptoms of the issue you're having:

Multiple media/ high RAM apps running at once and then one sends the phone into reboot?

Or battery lower than 40%, and opening even one of those same types of apps causes the same behavior?

If so- yes, I've experienced this for around 8 months on the Pixel 2, using unofficial LOS 16 w/ ElementalX until a few weeks ago, and now this ROM w/ ROM Kernel & ElementalX.

I had hoped that it was a low storage issue, so I migrated all my music & photos off the phone when I upgraded. Within the first few days it did it with ElementalX, so I 'downgraded' back to the LOS kernel. It happened again last night as I went to take a photo around 40% battery. Ironically, later in the evening I was able to watch Newpipe down to 1%.

I have followed the 'battery meter reset' tutorials online.

I have Magisk running, so I haven't yet logcatted. Any of this sound familiar?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
Glad you're enjoying it, this is also my daily driver atm. Lineage 17.1 isn't accepting devices for official at the moment as its still in beta so it'll at least be a while before I consider it. But given the overall stability of our builds presently, I don't think pursuing official is out of the question.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] draekko:
[MENTION=9116297]Eamo5[/MENTION] FYI new minimal-manifest-twrp for v10.0 was pushed 5hrs ago to the Teamwin github account.

Saw you asked Deestroy for some help a couple of months ago, did you add hardware/qcom/bootctrl and hardware/qcom/msm8998 to your roomservice to get it to build at the time?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
That's great news, thanks for informing me! It's still very clearly a WIP branch but nonetheless I'll take a look and see what I can build today. I don't recall what I did anymore, it's been a few months since I last built TWRP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] draekko:
You're welcome, will be interesting to see what you come up with. I'm still trying to get it to finish the repo sync, it's drop dead slow right now for some reason, guess i'll go read a book or something lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
Don't bother with syncing it yet. Tried building with it this morning and yeah the branch needs a lot of work still. Nonetheless, still something to look forward to in the future.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] draekko:
Thanks for the FYI.

The only problem with TWRP (well the major one lol) is the current version needs to be recompiled with the same kernel version used for android 10 version due to a missing flag and why it won't load/mount partitions. I tried yesterday but could't even get that compiling. Hence my prior question about what to include in the manifest. I saw a forum thread for twrp for the marlin device yesterday, guess i'll go re-read what they did there and see if i find anything not so obvious on self compiling twrp.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
Lineage OS 17.1 (01/03/20)

Removed Pixel Gapps build

Added system r/w support

Fixed OpenGapps being unable to mount /system for installation

Trebuchet is now the default launcher

Updated vendor/google to blueprint format and cleaned up proprietary blobs

Cleaned up device trees

Huge thanks to [MENTION=614507]razorloves[/MENTION] for his help with this release! Please use his builds of OpenGapps which are attached in OP as they will work on Pixels until his pull request is merged.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] draekko:
Thanks. Downloading relevant files and giving this another go :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Neverfalter2015:
Loving it so far. Just curious, why does LOS seem to have such good battery management? Every one of these Roms seems to have amazing battery life.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
Lineage has a pretty large community and rigorous review process for each and every change that gets merged, which generally speaking results in higher quality code. Lineage has high standards and it shows. This is why its not uncommon to see other ROMs based on or merging most of Lineage's commits.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] draekko:
[MENTION=9116297]Eamo5[/MENTION] Works good so far, great job. Seems to charge faster than 16.1. Only thing i had to do different from the instructions was boot once into the OS before i could get Magisk to not cause a bootloop. When i tried it per instructions i was getting a bootloop.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
Thanks for noting this, I've updated steps in OP to reflect this. Glad everything is working well
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Do you know if Android Auto works with this rom.? I need it for work and it has been hit or miss with android 10 custom roms. it works on AOSIP.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] draekko:
Dont know, I have no way of testing that.

---------- Post added at 11:05 AM ---------- Previous post was at 11:02 AM ----------

[MENTION=9116297]Eamo5[/MENTION] Question about the kernel, there was a governor called conservative in 16.1 and it seems gone in this build, was it removed? I need that due to a hardware bug with my P2 XL else the battery drains too fast as the other options kick the governor into max freq all the time. Using powersave for now but that's sub-optimal :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Neverfalter2015:
I see. That's good info. I ran cyanogen mod on my nexus 7 back in the day and I loved it as well, this is kind of a throwback to that. Thanks again for bringing this to p2xl/android 10 for us.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
It also works here AFAIK. I don't use Android Auto but i'm able to launch the app and set it up successfully without issues
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
It must've been removed from the stock kernel with Android 10. Understandably yeah that is less than ideal. Have you tried using Sultan's kernel and limiting your Max freqs with a kernel manager. Sultan's adjusted EAS costs should negate most of the negatives of running at such high frequencies all of the time.

I know this probably isn't an ideal solution but I ideally wouldn't like to ship that governor unless I have to. I'd like my kernel here to be a close reflection of stock.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] draekko:
Yeah i figured that was probablly the situation, figured i'd asked just in case. Yes i tried Sultans but it removes powersave, the min. freq was 1827 (or some such), and the GPS performance when in device only mode is worse than your kernel so i switched back. LOL when i reverted back i forgot to remove the -w flag when flashing Googles images, fun times, doh.

I was wasn't the only one with clocks getting stuck at max I forget the Google bug report i'd commented on the the situation and my workaround, they closed it last year; last time i checked, guess the bastards took it out for good now :(
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] BarryPooter:
Finally an android 10 rom with r/w support:o

Rom is running great, Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] draekko:
I just ran diff on the source code and as far as i can tell the only thing that was done was the removal of the option from defconfig files so it doesn't get compiled by default, the source code is still there. Still has ondemand, interactive, conservative in there just not enabled by default.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] draekko:
[MENTION=9116297]Eamo5[/MENTION] I tried compiling with it on and i guess i was partially right, the files are in there but some of the macros don't seem to be in the code anymore so the code wasn't updated as it fails to compile on those.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] njd.sina:
Trying to follow install instructions but keep getting errors. Flash March 'flash-all.bat', reboot into that, transfer over ROM and other files, fastboot recovery, factory reset (system mount error which I believe is considered normal at this point), then flash lineage. The issue is when I reboot to bootloader after it flashes and fastboot twrp again, it does the thing where it's 'encrypted' so all the folder names are cyphered. Then if you try to reboot to system it comes up with an error saying to 'try again' or 'factory reset' being the only options. Even tried factory reset but it seems to be the stock build when it boots up. Any ideas? I've run it about 3 times or so now with the same result, does it have something to do with device encryption? Really want to run this as my daily driver. Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
I believe the latest build is based on February image. it hasn't been updated to March yet.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] njd.sina:
Yup just flash February instead and working as expected, thanks. Saw March in the title and got carried away, lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
If you're going to the efforts of building a kernel for yourself, it might be worth cherry-picking only Sultan's adjusted EAS costs and seeing if your GPS issue is still present. Sultan reworked the EAS energy model to allow the device to consume far less power at those higher frequencies so running at such a high frequency all the time shouldn't be very detrimental. In your shoes, I'd choose this any day of the week over running a different governor.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] draekko:
I'll keep that in mind, right now just trying to get everything to compile as is + governors. Turns out it was on the interactive governor that had the compilation issue, ondemand and conversative compile fine once i removed that other one. The problem with my hardware bug is keeps the everything on like it was running in performance mode. Would have to test those mods at some point but not sure it would help me. It took me months of tinkering to figure out that much. Once i know that i have a working fallback with the conservative governor (since i know that fixed 80% of my battery issues in AOSP 9.0 and LOS16.1) i'll probably try his EAS mod there-after. Also note to self don't delete your user data when upgrading/downgrading especially when TWRP won't do a backup of data, smh, lol.

As for the GPS it's weird on your kernel on any given day my phone see's between 18 to 25 satellites and i'll usually get a sub 10 second position fix. With his i was barely seeing 9 of them and it would take up to a minute to get a fix. Since i often need device GPS only that was a biggy for me.

The other thing i've been looking into for the last few months is where in the code (or in some binary blob) are the supported camera resolutions. I need to add 2560x1440 (QHD) front and back, and for the front i want to 3264x1836 to get close to UHD. I did it for my old A5 2017 model where i added both QHD and UHD resolutions by hex editing the cameras binary lib but for the life of me can't figure where that info is for this device. Maybe you'd know something about that?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] tripLr:
Aargh

I hate mega.nz
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] njd.sina:
MMS messages aren't downloading on Sprint (3-1) build. Any tips? Toggled between home only and automatic as well as preferred network being global or LTE.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
Lineage OS 17.1 (06/03/20)

March ASB

Updated device trees and proprietary blobs for March ASB

Disabled some excessive userdebug logging
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Eamo5:
Try the latest build and let me know if you're still having issues. A logcat in PMs would also be nice