yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] digitalcircuit:
As someone just tinkering (i.e. take my word with a grain of salt), there appears to be no difference to the bootloader and radio/modem firmware versions between the October 2022 and February 2023 factory images.

From what I understand (someone correct me if wrong!), that's the only thing you ever needed to upgrade for LineageOS on recent Pixel devices. LineageOS bundles the other firmware/vendor contents with itself, removing the need to flash the other aspects of the upgrade (flash-base vs flash-all).
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ralfbergs:
Thanks. Let's see whether anyone else responds.

I would really suggest to add a comment to the official installation page to elaborate what these files are, and if and when to use them.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
What's your specific question, I will answer it and help you through getting LOS 20 on your device (with or without data loss). It depends on where you are now, and what ROM/firmware you are on, but you can probably just flash the latest boot.img/ROM.zip and OTA upgrade, but dont do that until you answer my questions. Whats the status, what ROM are you on, and what's the specific question or concern?

Your original question is a little confusing, so I am just trying to sort out what you really need. I would NOT revert to stock, no need. Flash the latest boot.img, enter recovery, apply update, then on PC send the update. This is the usual process so where are you hung up, or what's the issue you face (or concerns you fear happening)?
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Google Pixel 4

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

Introduction:

This is the Official Lineage OS 20 thread for the Google Pixel 4.

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.

flame - Official builds​

flame - My unofficial with Google Apps/Pixel goodies included. Passes SafetyNet by default. 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_msm-4.14
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] Roybabu:
Do I need to install dtbo files?
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] npjohnson:
nope
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] KShion619:
It seems that your build download page is just sending errors outside of the Extras and the Changelog pages.
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] muhammad.bilal.azfar@gmai:
Hi All... L20 :love:. How is it? did anyone try it yet? I have been looking for a stable rom for my Google Pixel 4. Stock A13 has so many bugs. Installed lineage 19. So far so good.
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] npjohnson:
runs fine for me. No major issues.
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] adaire05:
how's the performance and battery? since the stock rom has very bad battery management. thanks in advance, gotta try it soon
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] npjohnson:
we don't do anything different from stock for battery
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] edall:
I have an app that crashes when it ask to select a folder for permissions and i noticed that when I download files it doesn't show a notification (the file is downloaded correctly btw). Is it possible that is because of missing file/download system app?

Edit: same thing with sync for reddit, when I try to download an image for example, it ask me to select a directory, and then says "there's no app installed for this function"
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] napkin41:
What are the consequences when the official LOS 20 will publish a rom ? just upgrade to the offical one without losing any data or a wipe all will be needed ?
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] Jairbear:
Just tried this rom, works brilliantly.

Things like OLED dark mode and custom squeeze is brilliant, and paired with pixilify it is almost as good as stock rom.

After updating all the apps I have not had a single issue!
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Confusing. Not really sure?

You will probably need to wipe to go to official.

Happy to hear.
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] pucgenie:
I think this would be the target of the links: https://github.com/ods-releases/flame/releases

... but these files just contain a README and no binaries.

Seems to have been deleted from multiple servers.

EDIT 2022-12-18: Thanks for the new version!
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] pucgenie:
MindTheGapps arm64 13.0 - how to install?

"Low resource device detected, removing large extras"

"Not enough space for GApps! Aborting"

EDIT: MindTheGapps requires around 4MB (or even 16MB) on system_ext but there is only 1.1MB available.

EDIT 2: Oh, "with Google Apps/Pixel goodies included".

May there be a problem because wiping Titan M failed and/or because of "open failed: /metadata/ota"?

Spoiler content hidden.
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] dvdram:
A happy new year to everyone, developers and readers!!

There is no "official" thread yet, so I am posting my question here:

This morning my P4 told me there is LOS 20 available. Upgrading (from 19.1) went smoothly, without any trouble. But I forgot to flash the new recovery. Can I leave it for now and will it be updated automatically, when the first OTA update is available, or do I need to install the recovery manually any way?
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] Jairbear:
From my experience the OTA updates do update the bootloader, HOWEVER I am not sure if this happens if you don't already have the correct recovery installed.

However I recommend flashing the recovery anyways as you won't lose any data, and if you chuck it through magisk first you can have a rooted device while your at it ;-)
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] dvdram:
I see. What would be the correct adb command line, to flash just the recovery? I have to admit I can't remember any more and the instruction pages only seem to deal with the installation of the ROM itself.

Since the upgrade to LOS 20 there's a message popping up every now and then, urging me to activate Google's backup service. I don't want that, but there are only two buttons: "not now" and "activate". There is no way of telling "no thank!" and disabling it forever. How do I get rid of this message and this service?
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] Jairbear:
adb reboot fastboot

Then:

fastboot flash boot <recovery image here>

I use Google backup so not sure how to turn it off, but check backup settings under Settings>System>Backup

Hope this helps 😊
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] Eadn33:
Great news for Pixel 4 as Google support reaches its end.

Just FYI, see https://wiki.lineageos.org/devices/flame/install#booting-a-custom-recovery-using-fastboot for the instructions on installing Lineage Recovery.
[Google Pixel 4 ROMs, Kernels, Recoveries, & Other ] dvdram:
Jairbear, Eadn33: thanks a lot! I was following the blog entry "Changelog-27" and landed on this page. The information about how to install the recovery is missing there.

The pop up message about the backup service seems to have been caused by the wrong option under "Systen > backup": somehow the default was set to Google. After changing this to "Seedvault", the message has not returned yet. :)
[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 20 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. Passes SafetyNet by default. 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 ] github-wang:
hi

Downloads: link no20,only 19.1
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
yup, minor issues, rebuilding tonight
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] github-wang:
Thank you for keeping my old device up to date.

The recovery image does not seem to work. Flashes fine onto the device. Fastboot output:

Code:

target reported max download size of 536870912 bytes

sending 'boot_b' (32768 KB)...

OKAY [ 0.091s]

writing 'boot_b'...

OKAY [ 0.161s]

finished. total time: 0.253s

But when I reboot the device, it says "ERROR: BootLinux Failed: Bad Buffer Size" and I am unable to boot into recovery or into the System.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] github-wang:
lineage-20.0-20221109-recovery-walleye,the boot damage ,But when I reboot the recovery， it says "ERROR: BootLinux Failed: Bad Buffer Size" and I am unable to boot into recovery or into the System.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] DrupadSachania:
try booting into the recovery rather than flashing. same issue on PE13 just booting into it worked out fine
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] github-wang:
good i try thanks
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
Hi @npjohnson , I've just downloaded your latest build for lineageos 20.

I'm getting the same Error BootLinux error.

When i follow the guide, it won't allow me to boot into the latest '....20' recovery.

Thankyou for all your work.

I even tried installing your latest 19.1 and following the upgrade guide. ADB reboot sideload, adb sideload package ....20.

I had the error about downgrading, but after installation, same error at bootloader
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Working on it, should be an easy fix.

taimen works fine
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
Thankyou @npjohnson , just installed the Latest unofficial LOS 20 13th.

It ran faultless.

You are a magician.

Edit: only thing I've found so far is it's not passing safety net. Play store is not certified and wallet won't allow bank card.

Will this, or can this be fixed in future updates? Or do you suggest the Magisk route?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Aware, this build as "Get it out there for feedback" the next several will tune all that stuff.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] tblr0ne:
Thank you very much @npjohnson for your continued work on this old device.

Could you please share your change for this "bad buffer size" boot error. Magisk has got the same problem. Thanks.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
It's published. Download newest.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] tblr0ne:
I meant the code, so that Magisk could be fixed as well.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
it's not code, I included too many things lol - our boot image is too small.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] tblr0ne:
Hm, do you see a possibility on your side to get root working? That would be great.

(Magisk installs fine, but afterwards there is this "bad buffer size" boot error again.)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Likely no. I can look.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] github-wang:
Hello, you can try this, with magisk can be rooted，i use it on lineages os 20-11.13 ，can boot ，it for tg groups

Google Pixel 2/XL | Chat，Of course, I still hope that sir can fix it​
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] tblr0ne:
Thanks, but since LOS is shipping with its own recovery this might lead to update issues.

And more important, please don't be offended, I won't recommend installing (pre-rooted) images from untrusted sources!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] github-wang:
yes,I still hope that sir can fix it
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
We fixed it, next build will work.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
Hi @npjohnson , could you also check the call volume please when testing?

I have the volume turned up but it seems very low. Not sure if thats something that can be fixed?

Cheers,
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Is it lower than on stock?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
I have found it to be lower, yes.

I'll monitor and return with more details.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] kurokuroninja:
@npjohnson the vibration intensity is too strong and make weird noise on LOS 19.1 and 20. Especially when receive chat notification or receive call..

Can you look into it?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
It's the same as stock - chicken stock - is your Motor going bad?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] github-wang:
thanks sir,really fixed.new can root，the boot is good
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] kurokuroninja:
I dont think so..

Because when i flash all A11 rom (pe, los) the vibration for notification was normal..

But, when i flash A12 and A13 rom, the vibration for notification goes too strong and make noise.

I dont know if it just mine or not..
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
@npjohnson Hi Mate, just installed the latest version of Walleye Unofficial 19th.

So, the playstore is showing not cert but Google Wallet seems to be working. Is that normal?

I thought it at least would show its certified......anyway

Have noticed some screen flicker when scrolling socials. Other than that, it's very snappy and is working well.

ALso, is this medium ok for us to notify you of issues or is there something else?

Thanks again 😍
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Certified doesn't equal safetynet.

We pass safetynet.

Yup fine to report issues here.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
Since last update, setting services issues.

Not all the time, just reboot and everything seems fine.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
yeah it's a race condition, no clue why.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Krzeszny:
Hello. WIll it be possible to easily upgrade unofficial LOS 20 to official? And will you stop updating your builds once the official ones come out?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
No, and they will keep going monthly.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Krzeszny:
One of Android 13's new features is being able to modify vibration intensity in Settings. It's possible that it's at 100% by default.

Do you have more details now?

Hmm... what would make me choose one over the other? I see you're LOS developer. How will your version differ from the official one once it gets released (and in the future if you have plans)?\

EDIT: formatting
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
Gapps built in and pixel goodies plus bleeding edge device changes.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Krzeszny:
Thanks for clarification, but I don't fully understand "bleeding edge device changes". Does it mean the official LOS will be stable, while your version will be experimental?

Anyhow, today I gave LOS 20 a try. Here comes, I suspect, the first failed installation of your ROM (and it had to be me... because of course!):

With its custom recovery successfully installed, the recovery screen showed a suspicious spam of errors not mentioned in the guide when I tried sideloading the zip from my computer through USB:

Transcription:

ERROR: recovery: Failed to read 16777216 bytes data at offset [9-10 random digits here]: I/O error

ERROR: recovery: error: 21

Fastboot shows:

serving: 'lineage-20.0-20221119-UNOFFICIAL-walleye.zip' (~6%) adb: failed to read command: No error

I pressed Yes anyway, assuming all these errors could be from the verification error. The device ended up stuck on the white Google startup screen with an open padlock and I restarted after 30 minutes. The bootloader shows this:

ERROR: Slot Unbootable: Load Error

By the way, the guide says "NOTE: If you want the Google Apps add-on on your device, you must follow this step before booting into LineageOS for the first time!" but you've mentioned your version included pre-installed Gapps.

EDIT: these errors were being caused by the computer I was using.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
@npjohnson

Latest build installed : 12/12/2022 on walleye.

When i click an application, i have loss of screen sensitivity for a couple of seconds before it comes alive.

Previous installs didn't have this.

Other than that, everything works great. 👌
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Robin94:
I think it is more like a general freeze.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
@npjohnson

Even when unlocking, either from code or finger print - it sometimes takes a while to 'Wake up'

Also when plugging the charger in, the animation freezes, screen goes black than back to clock. sometimes without the battery % and charging info down the bottom.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
I think the next build will fix that.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
HI @npjohnson Is it normal for the phone in standby mode, ie/ black with clock showing, sometimes the clock is big in the middle of the screen, other times little but up the top left?

Mine seems to bounce between the two.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
It's AOD vs ambient display, a bug I'll fix. Good find.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Krzeszny:
@npjohnson could you suggest where I should look for help with the I/O errors I get when trying to sideload LOS 19 and 20?

I've only found one slightly similar post but there's no explanation, no solution and it was caused by Android Auto, where a second user mentioned it's a Pixel 2 XL issue. However, in my case it's neither.

This issue could be on the level of LineageOS or custom recovery, or Pixel 2, or partitioning, or ADB, or Android 12/13, or drivers, or something else. I don't even know where to start.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
sounds like it could be a hardware issue? do other roms flash fine?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
@npjohnson On the latest 21st build Walleye.

I understand this is still a build in progress, i just wanted to let you know that the charging bug is still there (ie/ no animation, it seems to freeze.

ALso, still some freezing/lock ups occuring. These occur from finger print wakeup also (sometimes) general app opening.

Thank you again for your efforts in keeping this great phone alive.

Merry Christmas!
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
charging bug? Not sure which one you're talking about?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Hawkeye77:
(ie/ no animation, it seems to freeze before the animation starts. The battery % information disappears and reappears after a while.

The phone charges, it's just the cosmetics.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Krzeszny:
In short, maybe, and no.

In full:

I've tried to install PixelExperience several times but its recovery won't even boot (only TWRP boots.)

I couldn't sideload Proton AOSP from TWRP:

Spoiler content hidden.

I've just flashed stock Android 10 successfully (from the official .bat file) and it works.

wat

I'm open to suggestions. Merry Xmas.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
That sounds hardware related - maybe bad UFS sectors or something?
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Krzeszny:
I've been trying to find a way to check for bad sectors and it seems too complex and dangerous. However, I've benchmarked read/write speed and got 772 sqRead from 850 expected and 195 sqWrite from 250 expected. If you add the fact that stock Android installs and works, and that NAND manages bad sectors, I think it's safe to assume it's something else.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Krzeszny:
@npjohnson can I flash the ROM without sideloading? Either from a flash drive or from internal memory.

90% sure the problem is caused by sideloading.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
That's not why. It flashes using the same backend either way.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] ph0ec:
Hi, thanks for working on the Pixel 2!

I tried to flash the image from 2023-01-10 several times, always got stuck in a bootloop after flashing. Flashing the image from 2022-12-21 worked perfectly.

BR
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Krzeszny:
Yay, I've found a workaround!

I knew the sideloading errors were write errors, so I tried pushing the file to the device to see what other errors I could get. I got these:

'adb error failed to read copy response' and 'adb no response broken pipe'

Reinstalling the ADB driver, USB drivers and using different cables didn't help, so I thought it could be a problem with the USB port or the OS (I only have one type C port).

I went to a different computer and installed it successfully! (still doesn't mean it works)
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] Krzeszny:
Same here. It tries to boot for several minutes, then it reboots to fastboot on its own.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] b00ster23:
Good Day @npjohnson and very much appreciate the work on bringing LOS to the Pixel2. I know you've assisted with standing up the official LOS V20 on other hardware platforms (ie. Pixel 4, Pixel 4a, etc) I'm curious if you had any insight on how the project is going. Certainly providing an ETA is probably out of scope, but perhaps a general statement on how things are going. If there are any major gotcha's, or if things are just generally progressing as normal. I'd like to consider installing the official release, but would might consider the unofficial release if we believe it'll be some time. TIA
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] npjohnson:
ESIM is broken and physical SIM sometimes flakes out - no clue why.
[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] js-xda:
Thank you for all your work and the heads-up - very much appreciated!