[ROM][OFFICIAL] Lineage OS 18.1 for Pixel 2 / 2 XL

Search This thread

Eamo5

Recognized Developer
yUIn6TF.png

LineageOS is a free, community built, aftermarket firmware distribution of Android 11.0, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the changelog for a full list of changes & features.

What's working

  • Active Edge
  • RIL (Calls, SMS, Data)
  • Bluetooth
  • Wi-Fi
  • Camera
  • Video Recording
  • Video Playback
  • Audio ( Record and Playback )
  • Sensors
  • Flash
  • Led

What's not working

  • Feel free to report any issues you may encounter with relevant logs

Installation

  1. Download the latest supported Lineage OS build, TWRP image and optionally the TWRP installer zip.
  2. Reboot to bootloader
  3. Wipe userdata for initial install (fastboot format userdata)
  4. Fastboot into TWRP recovery (fastboot boot twrp.img)
  5. Flash the latest build of Lineage OS
  6. Reboot to bootloader and fastboot TWRP again
  7. (Optional) Flash gapps of choice (MindTheGapps are recommended)
  8. Reboot to system and don't install the TWRP app
  9. (Optional) Flash custom kernel / TWRP / Magisk

A more detailed installation guide can be found on the wiki.

Updates

Simply repeat steps 4 - 7. You shouldn't need to flash factory images as all partitions (firmware, vendor etc.) are updated with the lineage zip.

Downloads


Credits

  • razorloves
  • javelinanddart
  • RaymanFX
  • Sultanxda
  • LineageOS Team

Source


Feel free to join my Pixel 2 telegram group here.
 
Last edited:

Eamo5

Recognized Developer
Changelog

2/4/21


  • Initial official release

5/3/21

  • March ASB
  • March kernel security patches
  • Fixed rare app not installed toast
  • Fixed crashes when installing without gapps
  • Revamped Lineage OS recorder app
  • Added Trebuchet icon pack support

3/2/21

  • February ASB
  • February kernel security patches
  • Now Playing and Live Captions now work out of the box
  • Added support for bluetooth hearing aid devices
  • Added support for addon.d v3
  • Fixed spell check on AOSP keyboard
  • Bug fixes and improvements

8/1/21

  • January ASB
  • January / December kernel security patches
  • Bug fixes and improvements

17/12/20

  • December ASB
  • Rebased on r19 tags
  • Added Active Edge support (credits to kdrag0n)
  • Added battery light / notification LED customisation
  • Added new Styles customisation from AOSP
  • Lots of bug fixes and general improvements

9/11/20

  • November ASB
  • Switched to gappsless builds
  • Added Seedvault (open source backup / restore tool)
  • Added QuickWallet support (thanks kdrag0n)
  • Added more Trebuchet launcher settings
  • Fixed SetupWizard bugs when flashing gapps
  • Added the ability to hide the gesture navigation bar
  • Fixed power button torch controls
  • Added expanded volume panel
  • Fixed AOSP keyboard crashes
  • Various updates to AOSP dialer, messaging, contacts, clock, camera and keyboard
  • Lots of bug fixes and improvements
  • CTS will fail again because of fingerprint mismatch this month. Either use another device fingerprint or set the platform security patch back to October.

10/10/20

  • October ASB
  • Added music, recorder and updater apps
  • Added per app wifi data, cellular data, background data and vpn data control
  • Added Lineage Customiser (font, status bar icon, accent colour selection)
  • Enabled conversations support for supported apps (thanks kdrag0n)
  • Added black theme support to Settings
  • Added system profiles support
  • Added status bar brightness control
  • Added network traffic monitor to status bar
  • Added custom charging sounds
  • Added volume panel location option
  • Added Trust HAL
  • Fixed 3rd party app fingerprint authentication (thanks kdrag0n again)
  • Updated pinner service configs from coral and tweaked for better memory management (thanks kdrag0n.. again)
  • Updated AOSP webview to 86.0.4240.75
  • Fixed settings search breaking when taking an update
  • Fixed settings crash when rotated and searching
  • Added AOD, caffeine, sync, heads up notifications, sync, volume panel, ambient display, USB tethering, reading mode, VPN and profiles QS tiles
  • Added QS auto-brightness and brightness slider options
  • Lots of minor bug fixes and improvements

28/9/20

  • Added status bar clock / battery customization
  • Fixed lineage about info
  • Added Lineage SetupWizard to gappsless build
  • Added inverted 3 button navigation
  • Added quick QS pulldown
  • Added status bar double tap to sleep
  • Added NFC QS tile
  • Added support for per-app minimum time between notification sounds

23/9/20

  • Added Lineage OS clock, calculator and terminal apps
  • Added system wide dark theme for Phone, Messaging and Contacts
  • adb rooted debugging support
  • Added display rotation settings
  • Removed ancient QuickSearchBox in Trebuchet
  • Removed Google and Digital Wellbeing apps from gapps build
  • Added LiveDisplay colour calibration and reading mode
  • Added Lineage Trust
  • Added Lineage button settings panel (some options don't work)
  • Cleaned up proprietary vendor blobs

21/9/20

  • Initial release
  • Added lineage-sdk and about info
  • Added Etar and Jelly apps
  • Added launcher grid options to Styles
  • Added scramble pin support
  • Added linked notification and alarm volume toggle
 
Last edited:

Eamo5

Recognized Developer
Lineage OS 18.0 (23/9/20)

  • Added Lineage OS clock, calculator and terminal apps
  • Added system wide dark theme for Phone, Messaging and Contacts
  • adb rooted debugging support
  • Added display rotation settings
  • Removed ancient QuickSearchBox in Trebuchet
  • Removed Google and Digital Wellbeing apps from gapps build
  • Added LiveDisplay colour calibration and reading mode
  • Added Lineage Trust
  • Added Lineage button settings panel (some options don't work)
  • Cleaned up proprietary vendor blobs
 
Last edited:
I have to ask, why do you immeditely think you need to fiddle with an alternate kernel?

I agree, I never understood why users are so quick to try/use 3rd party kernels. I normally test drive the built-in kernel for whatever ROM I am using for at least a week or so, then if anything, I will use EX Kernel (through the paid app) but its also freely available I believe.
 
Last edited:
  • Like
Reactions: SGH-i200

Eamo5

Recognized Developer
Lineage OS 18.0 (28/9/20)

  • Added status bar clock / battery customization
  • Fixed lineage about info
  • Added Lineage SetupWizard to gappsless build
  • Added inverted 3 button navigation
  • Added quick QS pulldown
  • Added status bar double tap to sleep
  • Added NFC QS tile
  • Added support for per-app minimum time between notification sounds
 
Last edited:
  • Like
Reactions: palimatix
Can someone, anyone, try to (re)mount /system in RW? I need to know if /system is dedup'd and not able to remount in RW. I need to write files to /system and thats only possible in RW. I am not 100% on this ROM yet (back and forth) and right now on a different OS and forgot to check. This is the deciding factor so if anyone could just simply try to remount /system in RW, I would greatly appreciate it! I use FX File Explorer with ROOT add-on for RW, but any file manager will work. Its not so easy for me to flip back and forth with my work MFA profiles otherwise I would just redo LOS 18 and test it myself. I literally rolled over the OS last night and it took a few hours so I am not ready to redo the work again unless /system is RW so thats why I cant do it myself right now. If no one answers in a few days, I will probably try it again but I would rather make it a final build attempt, not a test build attempt as it takes hours to redo the MFA's.

Thanks in advance!
 
Last edited:

Eamo5

Recognized Developer
Can someone, anyone, try to (re)mount /system in RW? I need to know if /system is dedup'd and not able to remount in RW. I need to write files to /system and thats only possible in RW. I am not 100% on this ROM yet (back and forth) and right now on a different OS and forgot to check. This is the deciding factor so if anyone could just simply try to remount /system in RW, I would greatly appreciate it! I use FX File Explorer with ROOT add-on for RW, but any file manager will work. Its not so easy for me to flip back and forth with my work MFA profiles otherwise I would just redo LOS 18 and test it myself. I literally rolled over the OS last night and it took a few hours so I am not ready to redo the work again unless /system is RW so thats why I cant do it myself right now. If no one answers in a few days, I will probably try it again but I would rather make it a final build attempt, not a test build attempt as it takes hours to redo the MFA's.

Thanks in advance!
Yes it works. System is able to be remounted rw.
 
  • Like
Reactions: palimatix

AndroidClone

Senior Member
May 22, 2010
57
88
Kernel support

A lot of people are asking why alternate kernels. I have a valid reason and its for Kcal support. @Eamo5 will this ever happen? :) I absolutely love night light and can't live without it at night. (late night surfer)


Thanks again for all of your hard work!
 
  • Like
Reactions: SGH-i200

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    yUIn6TF.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 11.0, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the changelog for a full list of changes & features.

    What's working

    • Active Edge
    • RIL (Calls, SMS, Data)
    • Bluetooth
    • Wi-Fi
    • Camera
    • Video Recording
    • Video Playback
    • Audio ( Record and Playback )
    • Sensors
    • Flash
    • Led

    What's not working

    • Feel free to report any issues you may encounter with relevant logs

    Installation

    1. Download the latest supported Lineage OS build, TWRP image and optionally the TWRP installer zip.
    2. Reboot to bootloader
    3. Wipe userdata for initial install (fastboot format userdata)
    4. Fastboot into TWRP recovery (fastboot boot twrp.img)
    5. Flash the latest build of Lineage OS
    6. Reboot to bootloader and fastboot TWRP again
    7. (Optional) Flash gapps of choice (MindTheGapps are recommended)
    8. Reboot to system and don't install the TWRP app
    9. (Optional) Flash custom kernel / TWRP / Magisk

    A more detailed installation guide can be found on the wiki.

    Updates

    Simply repeat steps 4 - 7. You shouldn't need to flash factory images as all partitions (firmware, vendor etc.) are updated with the lineage zip.

    Downloads


    Credits

    • razorloves
    • javelinanddart
    • RaymanFX
    • Sultanxda
    • LineageOS Team

    Source


    Feel free to join my Pixel 2 telegram group here.
    12
    Lineage OS 18.1 (5/3/21)
    • March ASB
    • March kernel security patches
    • Fixed rare app not installed toast
    • Fixed crashes when installing without gapps
    • Revamped Lineage OS recorder app
    • Added Trebuchet icon pack support
    11
    Official builds are now available for downloading. The migration process from my unofficial builds is as follows:

    1. Download the latest version of Lineage OS and the lineage recovery image for your device from here.
    2. Reboot to bootloader
    3. Flash the recovery image to your boot partition (fastboot flash --slot all boot /path/to/recovery.img)
    4. Reboot into recovery
    5. Flash the official build of Lineage OS (adb sideload lineage.zip)
    6. If you have gapps installed, reboot to recovery again and ensure you flash gapps again before booting into Lineage OS
    7. Reboot your phone and enjoy!
    Or if you use TWRP you can just follow the normal updating steps and skip flashing the new recovery image.

    If you are coming from a previous version of Lineage OS, please refer to the wiki.
    10
    I've uploaded a slightly updated build to amend the missing live captions button when adjusting volume. Apologies for the inconvenience.
    10
    Lineage OS 18.1 (8/1/21)

    • January ASB
    • January / December kernel security patches
    • Bug fixes and improvements