[OFFICIAL] LineageOS 18.1 for the Google Pixel

Search This thread

npjohnson

Recognized Developer
lineage-os-logo.png

Google Pixel

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

Introduction:
This is the Official Lineage OS 18.1 thread for the Google Pixel.

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.
If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

Known Bugs:
  • Sound Trigger (Screen-off "Hey Google" detection) is nonfunctional due to incompatibilities with older proprietary binaries, and lack of system space for needed Google Apps.
  • Find any? Report them according to this guide.
Notes:
  • Firmware is shipped in the ROM package for this device, so no need to worry about updating it on your own!
  • The only supported GApps package at the moment is OpenGApps pico, linked on our Wiki page about gapps.
Kernel Source: https://github.com/LineageOS/android_kernel_google_marlin
 
Last edited:

spiral777

Senior Member
Oct 21, 2011
659
251
35
Chicago
Nexus 6
Google Pixel
lineage-os-logo.png

Google Pixel

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

Introduction:
This is the unofficial Lineage OS 18.1 thread for the Google Pixel.

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.
If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

Known Bugs:
  • IMS (VoLTE/ViLTE/WFC) is nonfunctional due to incompatibilities with older proprietary binaries
  • Sound Trigger (Screen-off "Hey Google" detection) is nonfunctional due to incompatibilities with older proprietary binaries.
  • Find any? Report them on this thread, and make sure to include logcat/dmesg as applicable.
Notes:
  • GApps are baked in, alongside other Pixel goodies - No, I will not be building without GApps included for this device. These builds are built, packaged, and signed by me, and not affiliated with LineageOS whatsoever.
  • This will likely never be official. At minimum, IMS would need to be fixed, and I haven't cracked it (yet). If you can get IMS working, please contact me, and we can work together!
  • 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/npjohnson/android_kernel_google_marlin
Thank you so much 🤗
 
  • Like
Reactions: npjohnson

DirtyAngelicaSecured

Senior Member
Mar 30, 2020
96
13
Paris
Thank you for great work!

Bugs:
- WiFi MAC randomization toggle in Developer Options is not working, but AFAIK MAC randomization isn't even supported by original Pixel devices
- sRGB toggle in Developer Options not working
- Brightness/dimming acts funky and sometimes reduces brightness to 0 by itself, then the screen becomes unresponsive for a short time
 
  • Like
Reactions: spiral777

npjohnson

Recognized Developer
Thank you for great work!

Bugs:
- WiFi MAC randomization toggle in Developer Options is not working, but AFAIK MAC randomization isn't even supported by original Pixel devices
- sRGB toggle in Developer Options not working
- Brightness/dimming acts funky and sometimes reduces brightness to 0 by itself, then the screen becomes unresponsive for a short time
1. Expected, I disabled the function, it's broken, but there's no easy way to hide it.
2. Yeah, but color profiles through LiveDisplay should work in it's place?
3. I've hit this on stock a few times, wondered if it was my device or what - maybe a hardware digitizer bug?
 

spiral777

Senior Member
Oct 21, 2011
659
251
35
Chicago
Nexus 6
Google Pixel
1. Expected, I disabled the function, it's broken, but there's no easy way to hide it.
2. Yeah, but color profiles through LiveDisplay should work in it's place?
3. I've hit this on stock a few times, wondered if it was my device or what - maybe a hardware digitizer bug?
Thank you so much for the Sailfish July 2021 update 🤗

Edit: what computer 🖥 and OS do you use to compile your Rom's? Would you be so kind to make a guide with the commands you use to compile? I can't get the one from the LOS website to work :/ ty
 
Last edited:

npjohnson

Recognized Developer

Melionix

Member
Aug 1, 2021
19
8
Does this work with unlimited Google Photos storage? If so, I'm instantly installing it. Thanks in advance.

Edit: It does!! 🎉🎉🎉
 
Last edited:
  • Like
Reactions: npjohnson

spiral777

Senior Member
Oct 21, 2011
659
251
35
Chicago
Nexus 6
Google Pixel
1. Expected, I disabled the function, it's broken, but there's no easy way to hide it.
2. Yeah, but color profiles through LiveDisplay should work in it's place?
3. I've hit this on stock a few times, wondered if it was my device or what - maybe a hardware digitizer bug?
August 2021 unofficial update for Sailfish is working great 😁 ty
 
  • Like
Reactions: npjohnson

rinaldimj

New member
My experience these first weeks: the phone is very fast and responsive, battery lasting longer than last official stock firmware (Android 10). The following are the only issues I've found:

  1. Automatic brightness going too low in the dark: This was present at least in the past two releases.
  2. Android Auto not working in the car ("Test App" appears on screen when connecting to car USB). There's a workaround in the forums where you need to copy the .apk to a system folder here, or re-flashing gapps. This was also present in the last releases.

Great job!
 
  • Like
Reactions: spiral777

Melionix

Member
Aug 1, 2021
19
8
I've found issues that the settings app seems to crash if you enter the permission screen on some (all?) apps. Just go into Facebook or Messenger or whatever and try to disable the microphone and there's a good chance for a crash

Also, I've definitely noticed what was mentioned above. This ROM seems to have 0% screen brightness as an option. The official LineageOS 16.1 does not.
 
Last edited:
  • Like
Reactions: spiral777

npjohnson

Recognized Developer
My experience these first weeks: the phone is very fast and responsive, battery lasting longer than last official stock firmware (Android 10). The following are the only issues I've found:

  1. Automatic brightness going too low in the dark: This was present at least in the past two releases.
  2. Android Auto not working in the car ("Test App" appears on screen when connecting to car USB). There's a workaround in the forums where you need to copy the .apk to a system folder here, or re-flashing gapps. This was also present in the last releases.

Great job!
1. I can take a look into this. Nothing has changed in auto-brightness since 18.0's initial push, so it must be device specific. Does it just go black?
2. Yeah, we can't fit full GMS - AA is one of the things I sacrificed to get GMS to fit.
I've found issues that the settings app seems to crash if you enter the permission screen on some (all?) apps. Just go into Facebook or Messenger or whatever and try to disable the microphone and there's a good chance for a crash

Also, I've definitely noticed what was mentioned above. This ROM seems to have 0% screen brightness as an option. The official LineageOS 16.1 does not.
Permissions: Doesn't happen for me - do you have Magisk or something?
 

rinaldimj

New member
1. I can take a look into this. Nothing has changed in auto-brightness since 18.0's initial push, so it must be device specific. Does it just go black?

Not absolutely black, but so low the screen is unreadable. The firsts times it happened I thought adaptative brightness will correct it according to my selection, but it doesn't - at least for the lower end. The very next step in the scale is perfect for a minimum.

2. Yeah, we can't fit full GMS - AA is one of the things I sacrificed to get GMS to fit.

I undestand. I though this wouldn't be the case when I noticed that the required system app for Android Auto is very small (~3MB), but the truth is our devices really suffer the low storage.

Again, thank you very much, amazing job!
 
  • Like
Reactions: npjohnson

DirtyAngelicaSecured

Senior Member
Mar 30, 2020
96
13
Paris
Has auto-brightness been fixed? It really did set itself to 0% last time I tried this ROM. Was there some way to get it back up? What about MAC address randomization and sRGB toggle?

MAC Randomization should be controllable by the OS itself, not hardware.

Your signature says "Lineage OS Developer Relations Manager". Does that mean that you know whether there is a plan to officially bring Lineage OS 18.1 to Pixel Sailfish in the future?
 

npjohnson

Recognized Developer
Not absolutely black, but so low the screen is unreadable. The firsts times it happened I thought adaptative brightness will correct it according to my selection, but it doesn't - at least for the lower end. The very next step in the scale is perfect for a minimum.



I undestand. I though this wouldn't be the case when I noticed that the required system app for Android Auto is very small (~3MB), but the truth is our devices really suffer the low storage.

Again, thank you very much, amazing job!
I have sailfish, and took it in a pitch dark room, sure it got dark but I could still read it?

Maybe it's panel degradation? Do you see this problem on stock?

And yeah, it's not the devices fault really, LineageOS has grown like 50 mb in the last few weeks.
Has auto-brightness been fixed? It really did set itself to 0% last time I tried this ROM. Was there some way to get it back up? What about MAC address randomization and sRGB toggle?

MAC Randomization should be controllable by the OS itself, not hardware.

Your signature says "Lineage OS Developer Relations Manager". Does that mean that you know whether there is a plan to officially bring Lineage OS 18.1 to Pixel Sailfish in the future?
1. See above, I can't recreate.

2. I hid it, LIveDisplay offers an alternative that actually works.

3. MAC Randomization - nah, it's more complicated than that - the controller and firmware have to play nicely - and they don't - so I disabled it.

And lastly, there's a note in the OP about why this won't (likely ever) be official.
 
  • Like
Reactions: spiral777

DirtyAngelicaSecured

Senior Member
Mar 30, 2020
96
13
Paris
Thank you for a prompt response! I never had auto-brightness issue with any ROM's, be they official stock images or Lineage OS official images. This ROM was the only one with that issue.

I hope you don't mind me asking, but why is it necessary for IMS to work? VoLTE doesn't work for some devices with official Lineage releases, but it doesn't get in the way of such releases either.
 

npjohnson

Recognized Developer
Thank you for a prompt response! I never had auto-brightness issue with any ROM's, be they official stock images or Lineage OS official images. This ROM was the only one with that issue.

I hope you don't mind me asking, but why is it necessary for IMS to work? VoLTE doesn't work for some devices with official Lineage releases, but it doesn't get in the way of such releases either.
Given that the pixel is a US centric phone, and the US is shutting down everything except for voice over LTE this year, we don't want to ship something that's not going to work as an "upgrade".
 
  • Like
Reactions: spiral777

anujmankotia

Senior Member
Jan 17, 2017
137
42
Hii everyone
Thanks for this rom
Working nicely on sailfish
just one problem

a particular app is not working ( banking app )
i have attached the logs
kindly assist
 

Attachments

  • logs.txt
    5.3 KB · Views: 15

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    lineage-os-logo.png

    Google Pixel

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

    Introduction:
    This is the Official Lineage OS 18.1 thread for the Google Pixel.

    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.
    If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

    Known Bugs:
    • Sound Trigger (Screen-off "Hey Google" detection) is nonfunctional due to incompatibilities with older proprietary binaries, and lack of system space for needed Google Apps.
    • Find any? Report them according to this guide.
    Notes:
    • Firmware is shipped in the ROM package for this device, so no need to worry about updating it on your own!
    • The only supported GApps package at the moment is OpenGApps pico, linked on our Wiki page about gapps.
    Kernel Source: https://github.com/LineageOS/android_kernel_google_marlin
    5
    I got Android 12 running on my Pixel 1 (32GB)! (Sorry npjohnson if this is off-topic but a lot of people here are wondering if Android 12 will ever come to the OG Pixel and this confirms the Pixel can definitely run Android 12 (and probably even Android 13 that just got released))
    After an entire day of tinkering and debugging, I managed to install the Android 12 GSI system image.

    Edit: Google Photos unlimited storage works! Google camera also works!

    Screenshots:

    Screenshot_20220815-204132.png


    Screenshot_20220815-204201.png


    Instructions can be found here: https://github.com/phhusson/treble_experimentations/wiki/Google-Pixel-and-Pixel-XL#procedure-used

    System partition size can be increased with these commands: https://forum.xda-developers.com/t/guide-expand-the-system-partition-on-pixel-xl-pixel.4097839/

    Make sure to use the vndklite GSI image. Other images won't boot.
    4
    IMS (VoLTE/Wi-Fi Calling) are fixed. Next build will have it remediated.
    3
    I went to the Nehus 6 forum and was surprised that even he has a Lineage 19.1 😶Why the OG Pixel is always the last
    Because the Nexus 6's Android 12 has _dun dun dun_ Broken BPF! Like I said, we can get m1s1 running 12, but **** will always be broken. No working around it unless someone back ports BPF.
    3
    thanks~!!! was looking to see someone mention that it still works with the unlimited Google Photos storage~!!!

    i am still hoping that there will be an android 12 version for this device.
    There will not be unless someone ports a newer kernel version.