yashsingh1/xdaforums huggingface dataset:
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] MengJobs:
I always fail when trying to flash LineageOS. I'm not sure why. I can successfully flash the boot.img, and after that, I formatted the data and also successfully executed adb -d sideload to flash the system installation file. After it successfully flashed, it prompted me to restart my phone.

The problem arises right here.

After restarting, I cannot enter the system, no matter how long I wait. Eventually, I had to re-enter fastboot mode and start the flashing process again, but it still didn't work. The issue remains that after rebooting, I can't enter the system. What should I do in this situation? Should I just keep repeating the process until the flashing succeeds?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Google Pixel 2

- Your warranty is now void.
- You have been warned.
- Use at your own risk.[/CENTER]

Introduction:

This is the Official Lineage OS 21 thread for the Google Pixel 2.

Downloads:

Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.

walleye - Official builds​

walleye - My unofficial with Google Apps/Pixel goodies included. OTA's roll roughly once a month. Support not guaranteed or implied.​

If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

Known Bugs:

None.​

Find any? Report them according to this guide.​

Notes:

The only supported GApps package at the moment is MindTheGapps, linked on our Wiki page about gapps.​

Firmware is shipped in the ROM package for this device, so no need to worry about updating it on your own!​

Kernel Source: https://github.com/LineageOS/android_kernel_google_wahoo
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] seanahan:
I adb sideloaded the unofficial ROM on top of the final unofficial LineageOS 20 ROM. TL;DR: Google Fi will no longer activate eSIM service on my Pixel 2.

I have Google Fi, and I think just through unfortunate timing, Android had just revoked some of the Google Fi app's permissions, which were leading to some strange behaviors like texts coming in with gibberish appended on the end and Wifi calling glitches. Anyway, I didn't realize it was a permissions issue until after I went ahead and tried to remove the eSIM. Now the phone is in limbo. The eSIM is listed as Inactive. Tapping it momentarily locks the settings app, but then a toggle shows up "Use SIM:", which is visually in the disabled, left state. There is also a button to "Erase SIM". Tapping the "Use SIM" toggle freezes up the settings app for a few moments, and then a prompt pops up: "Turn on Google Fi xxxx?" Tapping "Turn on" pops up an error: "Can't disable carrier: Something went wrong and your carrier could not be disabled."

I'm going to collect some logs. I have a physical Google Fi SIM on hand, but it doesn't appear to do anything when inserted, even after rebooting. I vaguely recall the Pixel 2 only working with Fi via eSIM though. I also don't have another phone on hand to test the physical SIM with at the moment.

I appreciate your helping keep this phone alive!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Rayfen Windspear:
I just flashed this first build last night. I'm having the same problem with physical SIM cards. Nothing shows up or changes on SIM eject/insert. Nothing in ADB logs, or elsewhere. It appears to ignore the interface altogether.

I don't have an eSIM, but I have half a dozen old SIMs I use for testing carrier locks on phones that cross my desk. None of them show up at all. Have tested my actual SIM in 3 other devices, and all work, so it's definitely a regression for moving to LOS 21.

Probably the only thing I have yet to try is factory reset, which I'm not 100% prepared to commit to, not yet at least. 99% of the time I'm wifi calling on google voice, so I'm not in any rush to blow it away. I'm willing to wait for the next build to see if anything changes.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Rayfen Windspear:
EDIT: So I see the install instructions are the same in both locations, so the last sentence of the below is irrelevant. The question I still have though, is are the normal upgrade instructions (as it is in both guides) supposed to work properly? Sounds a dumb question, but the radio was working with 20, but now does not on 21 (upgrade, not fresh). </EDIT>

So I just read through the install guide for your UNOFFICIAL LOS 21 build. Does it not work to go from running stable LOS 20 to LOS 21? Do we need to wipe and flash the old latest firmware as your install guide says? That would have been nice to know beforehand. The instructions on the LOS page are just the usual install/upgrade path. If you really do need to jump through all those hoops to get on 21, then please update the install/upgrade guide on the device page!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
What? Yeah you can upgrade in line from 20 to 21 without wiping your user data partition, not sure you got the idea you would need to, the wiki guide is accurate.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Rayfen Windspear:
Thanks for the reply. I was only assuming the instructions might possibly be off due to losing SIM functionality on an upgrade from 20 to 21. I did just as I have always done for the upgrade process and the only thing not working is that it can't use SIM cards. For me I'm talking physical SIM cards, but the guy above about a month ago had problems with eSIM. Just trying to figure out if it's just me (and him) or if anyone else has the same problem and a fix for it.

I guess I'll just wait a bit and see if any more instances come out of the woodwork. It is hot off the press, afterall.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Thank you for continued support of this phone with the latest Android version!

JUST FOR INFORMATION: Running into issues using NikGapps with the official build 240216 on a clean installation. Tested different builds of NikGapps and shared information incl. logs with maintainer - see here and follow-up posts. Haven't tested other GApps (yes, I am aware of the MindTheGapps recommendation - that's why just FYI but I fancy lower profile GApps) and LOS 21 runs fine without any GApps. Just want to avoid others reinventing the wheel.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Rayfen Windspear:
Updated to the build last night. Still no SIM card recognition.

I'm not going to bother to ask you to debug, I can do that myself. What I'd like to ask is what led you to the cause for the initial LOS install instructions for SIM problems? What red flags tipped you off as to why and how things were broken unless the last firmware was installed first?

I'd like to try debugging first before I blow everything away. Likely a waste of time and I'll mostly likely have to nuke it anyway, but let's just say I'm a masochist... for SCIENCE! I'm also just really curious what caused this state... and I use Google Voice, so it doesn't matter to me much that my SIM card isn't registering, I can just drop it in another device and hotspot.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
UPDATE - JUST FOR INFORMATION: Issue persists also with latest build (lineage-21.0-20240223-nightly-walleye-signed.zip) and NikGapps-core-arm64-14-20240210-signed.zip - no boot to system possible. With MindTheGapps-14.0.0-arm64-20240223_175358.zip, it is possible to boot to system.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
PixelBoot reached out and told us which commit fixes it. The SIM issue should be resolved in the next build.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Rayfen Windspear:
Oh, so it wasn't just me? Well, here's hoping. Thanks! You guys rock!

Edit: Also, has anyone noticed better battery on 21? I can't say the RAM situation has improved (it's worse), but there are definitely improvements to compensate. I'm also getting notifications for Gmail again. I can't say how long I've been trying to get those working again. Probably was a regression from 19 -> 20. Anyway it's better all around.

it will be interesting to see how the future unfolds for Android 15. I've read that snapdragon devices won't get it. I can only assume that's just Google deciding to stop pushing updates instead of some kind of limitation in 15. It does have to work for other device manufacturers after all.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Rayfen Windspear:
Hmm, definitely starting to think I should just factory reset. Latest build, still not seeing my physical SIM. Got too much on my plate this week+end, but I'll probably get around to it next weekend.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Question: Does LineageOS (specific to LOS 21 for walleye but also in general) support the use of an USB-C-to-3,5-mm-jack adapter? Using an adapter formerly functioning with a OnePlus 7T on stock doesn't function with Pixel 2 running LOS 21. The same OnePlus 7T running on LOS 20 now is missing the function as well. See post here.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ian1182:
Working fine for me on my pixel 2 running LOS 21 using a generic usb-c to 3.5mm jack purchased from Amazon.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Thank you for sharing! Does Pixel 2 require a DAC chip in the adapter? This is not the case for OnePlus 7T. Could be an additional factor in my case.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ian1182:
This is the one I purchased https://www.amazon.co.uk/dp/B0BTHHGVTV

and looking at the specs it does have a DAC chip.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Thank you - that helps at least to narrow down. Will start first with the OP7T using the old adapter and might buy a new with DAC for the Pixel.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Resolved - missing DAC chip in adapter was the issue for Pixel 2.

No clue why the adapter without was initially not functioning on OP7T but also resolved by itself in the meantime.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ilpolpi65:
the problem of the SIM not being recognized (for me) persists with lineage-21.0-20240308-nightly-walleye-signed.zip
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ilpolpi65:
the link to the unofficial one goes nowhere "This device does not exist"

Odd Solutions Downloads

updater.oddsolutions.us
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Just wondering: Has something changed with the official build scheme? "Normally", I would have expected an build for walleye last Friday but it was not even on the list (so, it is not due toa failed build). Also, it seems like less builds per day overall.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
I am redoing my infrastructure and it will be done by the end of this week
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
We paused builds because the March security bulletin was the largest thing we've ever seen, and has taken weeks to adapt properly
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Sadly, this device utilizes android.hardware.radio@1.3 (or below).

This means that the March security bulletin - known as QPR2 - fully killed this device.

We (LineageOS) are trying to write a wrapper to make older radio HAL versions compatible with newer radio HAL versions.

With that said, we may or may not be successful and we're entirely unsure how long it would take.

So, sadly, for now, this device has 21 builds disabled - I have deployed one final February ASB unofficial build people can use in the intermediary (or you can use the final official build).

I will announce here if/when the device is re-added to the roster.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Thank you for sharing - quite impactful news. I see that also at least three other devices (based on missing new builds) in my scope are apparently on hold. Basically all daily drivers. :-( Thank you and everyone else involved for looking into options how to overcome this!

Is there anywhere a public overview on the overall build roster?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
It will be in the Hudson repo in the next day or two.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Rayfen Windspear:
I'd be interested in taking a look at the scope of the undertaking. If there's anywhere you could point me to anything underway, or if there isn't any active development, a link in the right direction or to the right people would be appreciated.

I've not done much android specific work, but I have a lot of experience building (and rebuilding) interfaces and wrappers.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
There's actually a work in progress on the lineage OS Gerrit that you can take a look at, might give you a good idea of where we're at.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ST-2008:
Hi all

is it possible to roll back to the previous lineageos (20)? Since the latest lineageos is very buggy, I wish to go back to the 20. But the problem is Lineageos keeps only the most recent os version in their site and I can't find anywhere the 20. For myself, the 21 drains my battery like hell if the cellular is activated. In fact, even if the phone is in a standby mode for a whole day, the battery will drop from 100 to 0 in only 8 hours. This is my backup phone line. So I barely use it and normally, I charge it only after 4 or 6 days.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ian1182:
LineageOS Build Archive

google is your friend
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ST-2008:
I already did several google searches. But so far, I found nothing. Usually, lineageos has a web page for older lineagesos version as archive. But it's gone now.

Edit: Oh I just notice your link for the archive. Thanks a lot!!! Very appreciated your helps!!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ST-2008:
Thanks again for the link. I tried to download their zip files, but doesn't work at all. If I click in one of the zip files, it shows only a web page.

Edit: OK it works now. I use another browser and it shows a download link. Thanks again.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] bobcote:
A bug I have is that most of the time (but not always) notifications don't appear in the top bar. So I have to pull the top bar down to see notifications.

I had upgraded in place from official 20 to official 21 as per Lineage instructions.

There are other graphical glitches, like switching between applications is sometimes visually broken and not smooth.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ST-2008:
OK guys.

I had another problem now. I try to sideload the LOS20, but the system denies any downgrade. The exact message I got is "ERROR: recovery: Denying OTA because It's SPL downgrade"

What should I do now?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
you need to use the matching recovery and you can

t go back without wiping data.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ST-2008:
Hi npjohson.

Do you have a link which I can follow step by step how to do it? thanks
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Nope, we don't officially support downgrades
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Rayfen Windspear:
You just blow everything away and install everything fresh, but using 20.

On the note earlier on battery usage. I've seen my battery go through the roof after going 21. It's amazing how sweet the usage is now. Could be just my own settings, but it's been great for me.

I still haven't gotten around to wiping to restore my SIM card usage, so it's not perfect. I use Google voice anyway, so I only need the SIM for leaving the house, which I rarely do anymore. So I'm cool to just have that SIM in another phone, I can hotspot from.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ST-2008:
I just reflashed the stock android 11 rom. I don't want to create any fuzz. But from my point of view, I don't see any problem to reflash an older stable rom if the newer one is so buggy that the phone is unusable.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ST-2008:
My SIM card is working with the 21. The problem is If I use it as a phone, I need to recharge it almost every 8 hours, even if I'm not using it.. If the phone is on airplane mode or the SIM is removed, it becomes "normal" again.

I already tried many ways to install the 20. What is missing is the boot.img for the 20. The boot.img for the 21 doesn't allow you to install the 20. The problem is the boot.img for the 20 is missing in the achieve web page.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Rayfen Windspear:
Interesting. I'll find some time to wipe mine (inconvenient just now) and see how the radio is. Even with sim in the phone, I only take it off airplane when out and about, as I don't use the carrier number. Definitely interested in finding out for myself though.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Niroman:
Hey

First off all thanks for the effort you put in keeping this phone alive

I installed your build of lineage 21 with the google add ons but I can't get the select feature in the recents menue to work i tried the ( select→then X→select again) i remember it used to work in lineage 20 but no luck, is there anything i can do to get it working im rooted with magisk.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Yeah, known issue, I don't know how to fix it
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] schneibva:
I have a boot image for LOS20 (20230509), SHA256SUM is a4923df489562cb39bd3288212a7d803cae25bdf99182a6e3cedeb7d24d1e574
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ST-2008:
Thanks a lot!! Really very appreciated for your help!!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] frunsel:
Can you say something about the status of the wrapper and whether the updates will continue at some point? Besteht regards frunsel
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
No progress, no ETAs.

I will let you all know when/if it works.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ilpolpi65:
Thanks again npjohnson for your unofficial builds!👏🙂
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Oh, hadn't noticed that the unofficial ones receive updates incl. (if I read it correctly) the March, April and May Android updates! :)

I take this as a hint that also official LineageOS 21 might receive again updates in due time (I guess some testing and quality checks still required). 🤞
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
No, they don't include those patches lol
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Why does the changelog state it then? 🤔

E. g. (pending next build) "391927: vars: May 2024 Security update | https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/391927" but also same for April and March.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
I built it myself, I'm well aware

The change log is and has largely been partially inaccurate for a long time, I'm building the exact same source pinned from QPR1 with device side fixes, I've described this already. That changelog is going to be inaccurate and I will not be changing it because it's a fair amount of work it's just not necessary
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
OK, no worries - I don't take it (something being stated in the changelog) as a right to claim something but I wanted to understand as it didn't match what I had assumed (and is correct after all - no Android updates beyond February). Seems I missed the part about "source pinned from QPR1 with device side fixes" - sorry for that misunderstanding. Very thankful as well for what you and others provide to the community! :) And yes, I am aware that you know probably best what you do. ;)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Coxswain:
Just want to thank you for all the hard work you guys put into keeping this thing going. Got mine brand new at launch and thanks to LineageOS it's still as smooth as the day I got it, albeit with one battery replacement along the way.

Just found out about the current compatibility issues today when I went to the wiki and it was no longer there. Hopefully something gets worked out for the continued security updates, but if not I suppose I'll finally get a new phone whenever this battery wears out.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Rayfen Windspear:
I did that battery replacement, myself. Never wanted to do it again, so I installed ACC through magisk and set my max charge voltage to 4v. That was over two years ago and I've lost 0 capacity since. The $10 battery I got will far outlive any of the other components. Sure it "cost" me capacity upfront, but I never have to worry about it again.

I could go on about how sick I am about lithium battery abuse, but I digress. Suffice it to say that your battery needn't be a replaceable component, but the functionality and marketing is all about selling more hardware.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Not asking for ETA, not asking for status.

I want simply to express that I would be more than happy with any solution to re-gain regular updates on the Pixel 2:

Functioning wrapper for the older radio HAL in LOS 21. Obviously, this would be the platinum solution in various ways ...

As indicated somewhere (can't find it back): Re-activate LOS 20 builds which appear not be affected by QPR2 to the best of my knowledge. Unfortunately coming with the next question on the horizon when it will be sunsetting ...

You name it ...

Bottom line: Whatever you decide to go for as solution - you will have at least one but I guess many more people being very happy. And anyway - even if not succeeding - you have many thankful users of your work so far! Thank you!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
wrapper is mostly done, just waiting on final testing
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Wow! Take your time on testing but thank you and everyone involved for this great news!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] BICfeuerzeug:
Hi, i also wanted to thank you much for the work to get this running. I also had some trouble with the last official LOS21 build (Wifi and VoLTE wasn't working), then came over to see your version and installed this.

With the current May build from you, everything works: SIMcard (T-Mobile Germany) finds Network, mobile Data works (had to correct the APN settings but no drama), ims registration aka VoLTE works too, Wifi works... just nice!

The only question i have is, will future builds always be bundled with the Google stuff? Sub-question, was that needed to get full simcard functionality? Just asking since i was happy about LOS's literal barebone state it came with.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
The may build for this device from me is still the March ASB with extra device fixes.

Officials for this device are coming back soon tho.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
We have fixed radio - builds resume on Sunday.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ilpolpi65:
no Pixel Launche in lineage-21.0-20240622-UNOFFICIAL-walleye.zip ?

Thanks for your job npjohnson!!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Niroman:
the phone restarts the moment i enter my pin in the latest update.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
works here, probably corrupted /data?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Niroman:
yeap it seams so, i flashed stock then the latest update and its working now, maybe the data corrupted because i skipped 11/5 update and installed the latest directly from 13/4