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

Search This thread

dcarvil

Senior Member
Apr 20, 2016
582
332
Hi guys, I just read:
Google allows custom ROM users to register their Google Services Framework (GSF) ID on their certification page in order to continue using Google Play Services on their LineageOS device.

- I want to install LOS but don't know if this certification will make you pass SafetyNet and be able to use banking apps and Netflix? Has anyone tried this?
AFAIK, that will not allow you to pass SafetyNet. However, you can currently pass SafetyNet on LOS by installing Magisk, MagiskHide Props Config module, and Universal SafetyNet Fix module. I'm using Magisk V23.0, Universal SafetyNet Fix V1.2.0, and the latest MagiskHide Props Config.



 

Olito

New member
Nov 29, 2021
3
1
AFAIK, that will not allow you to pass SafetyNet. However, you can currently pass SafetyNet on LOS by installing Magisk, MagiskHide Props Config module, and Universal SafetyNet Fix module. I'm using Magisk V23.0, Universal SafetyNet Fix V1.2.0, and the latest MagiskHide Props Config.



Thank you so much !!!
 

wbgenetic

Senior Member
Oct 5, 2009
314
30
Funny thing after the update I installed yesterday.my phone now charges with regular adapters only. cannot charge it with the original adapter.also sometimes when I plug in it reboots...
 

baikal2

Member
Aug 10, 2008
33
1
This is the changelog from

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

Can anyone tell me what the text in Red means. Does the notification LED customization mean that the LED notifies(blinks) when there is a call/text etc ?

I am looking of this feature. Light flow worked till yesterday and today it does not work. Not sure what chnaged overnight.

TIA.
 
  • Like
Reactions: g000n

neilth

Senior Member
With LOS 18.1 for the Pixel 2 & 2 XL, there’s an option to have the notification LED illuminate with custom colors for specific apps and their notifications. This can be setup by a user for any installed apps on their phone, a very useful option.
 

deathblade

Senior Member
Dec 19, 2011
1,550
404
Nexus 7 (2013)
OnePlus One
Hi,

I'm having some issues installing LineageOS on my taimen. I've done it before but it doesn't seem to want to work now. I initially tried to use TWRP but i could sideload or access any zips on the device so I flashed Lineage Recovery and I can intiate Sideload but its just stuck at Verifying.. any advice?

EDIT: ok figured it out. Had to place the zip on an external drive, make sure my phone was in Slot A, boot TWRP, mount the external drive and flash from there, I got a few errors saying it couldn't mount /Vendor but it seems to work
 
Last edited:

MrBrady

Senior Member
Oct 26, 2010
3,336
903
AFAIK, that will not allow you to pass SafetyNet. However, you can currently pass SafetyNet on LOS by installing Magisk, MagiskHide Props Config module, and Universal SafetyNet Fix module. I'm using Magisk V23.0, Universal SafetyNet Fix V1.2.0, and the latest MagiskHide Props Config.



This is exactly what I'm trying to do. Which props signature did you use?
 

cb474

Senior Member
Oct 25, 2010
1,043
390
Do you really have to wipe internal storage to install Lineage? I see some guides saying to just wipe data, cache, system, and dalvik cache with TWRP, but leave internal storage alone. Other guides say to do a factory reset or wipe userdata using fastboot (which I assume wipes internal storage). What's correct?
 

MrBrady

Senior Member
Oct 26, 2010
3,336
903
Just updated to Magisk 24.1 (release) and it's bootlooping. Anybody else experience the same on this ROM?

EDIT: I flashed the Magisk uninstaller via TWRP and then reinstalled Magisk 24.1. Works fine now.
 
Last edited:

MrBrady

Senior Member
Oct 26, 2010
3,336
903
I installed the Unicornblood kernel on top of this and now my phone won't connect to my Macbook in data transfer, ADB or Fastboot. When the device is booted and I plug in my phone to the laptop, it shows the Notification about USB debugging and connected, but then those go away after about 1/2 second. My phone is kind of finicky, so it could be unrelated to the kernel, but that's the only thing that's changed since this issue came up.

Is there a way to re-flash the ROM while the device is booted? Similar to taking a LineageOS OTA update? I'd like to get the stock kernel back on here, but am unsure how to do it since I can't connect to my laptop.
 

dcarvil

Senior Member
Apr 20, 2016
582
332
I installed the Unicornblood kernel on top of this and now my phone won't connect to my Macbook in data transfer, ADB or Fastboot. When the device is booted and I plug in my phone to the laptop, it shows the Notification about USB debugging and connected, but then those go away after about 1/2 second. My phone is kind of finicky, so it could be unrelated to the kernel, but that's the only thing that's changed since this issue came up.

Is there a way to re-flash the ROM while the device is booted? Similar to taking a LineageOS OTA update? I'd like to get the stock kernel back on here, but am unsure how to do it since I can't connect to my laptop.
If you just want to flash the kernel (not a ROM) EX Kernel Manager can flash boot.img. It's in the Play Store.

Have you tried different USB cables and ports? Also, remove any hubs or adapters.
 

MrBrady

Senior Member
Oct 26, 2010
3,336
903
If you just want to flash the kernel (not a ROM) EX Kernel Manager can flash boot.img. It's in the Play Store.

Have you tried different USB cables and ports? Also, remove any hubs or adapters.
Strangely enough I got it to work as soon as I plugged in a hub instead of direct. Maybe my phone doesn't like M1 Macs? I dunno.

Thanks for the reminder about EXKM. I had forgotten about that.
 
  • Like
Reactions: dcarvil

Carmageddon1984

Senior Member
Oct 8, 2010
161
11
My phone had the LineageOS rom for about a year now - I didnt run any updates or anything.
Now I've got a new phone, and tried to setup a Google Child Account which I can control - all worked well, until she needed YouTube which wasn't showing even after I explicitly enabled it, so I tried rebooting the phone - and it went into a Reboot Loop :(

I can get into the Fastboot with Power+VolDown, adb doesn't see the device, but fastboot does - I tried erasing user data with -w no success, I tried reflashing latest version, no success. tried to boot TWRP 3.5.2 - no success still goes into reboot mode.
(Choosing Recovery Mode just goes back into boot loop)

Nuclear option I tried is flashing stock Android rom: https://gist.github.com/Carmageddon/41134b3c52ef3a6b531e528997842606
The log looks good, but the phone immediately reboots and is still in a boot loop mode :(

It seems after that nuclear options though, its automatically boots back into the Fastboot mode, after one attempt (the Google Logo showing on white background for a few secs)

I am at a loss, what to do/try next?
 

Attachments

  • photo_2022-02-08_14-02-47.jpg
    photo_2022-02-08_14-02-47.jpg
    85 KB · Views: 15

dcarvil

Senior Member
Apr 20, 2016
582
332
My phone had the LineageOS rom for about a year now - I didnt run any updates or anything.
Now I've got a new phone, and tried to setup a Google Child Account which I can control - all worked well, until she needed YouTube which wasn't showing even after I explicitly enabled it, so I tried rebooting the phone - and it went into a Reboot Loop :(

I can get into the Fastboot with Power+VolDown, adb doesn't see the device, but fastboot does - I tried erasing user data with -w no success, I tried reflashing latest version, no success. tried to boot TWRP 3.5.2 - no success still goes into reboot mode.
(Choosing Recovery Mode just goes back into boot loop)

Nuclear option I tried is flashing stock Android rom: https://gist.github.com/Carmageddon/41134b3c52ef3a6b531e528997842606
The log looks good, but the phone immediately reboots and is still in a boot loop mode :(

It seems after that nuclear options though, its automatically boots back into the Fastboot mode, after one attempt (the Google Logo showing on white background for a few secs)

I am at a loss, what to do/try next?
This worked for me last time I saw that screen - https://www.blogtechtips.com/2017/0...ngle-error-symbol-on-android-recovery-screen/
 

MrBrady

Senior Member
Oct 26, 2010
3,336
903
I've tried following the instruction:

But it goes back into Fastboot - no change
Sounds like maybe an A/B issue.

If you go nuclear and flash factory images, make sure you're doing it on both the A and B partitions.

As for the Family controls, I tried doing the same thing about a year ago and it didn't work on LOS for some reason. I don't know if they've fixed it since then.
 

Carmageddon1984

Senior Member
Oct 8, 2010
161
11
Sounds like maybe an A/B issue.

If you go nuclear and flash factory images, make sure you're doing it on both the A and B partitions.

As for the Family controls, I tried doing the same thing about a year ago and it didn't work on LOS for some reason. I don't know if they've fixed it since then.
I've checked and it says
(bootloader) current-slot:a
I've issued command fastboot --set-active=b
I removed -w on the flash-all.bat script so it doesnt wipe the old a, but this time I looked at the output, as well as the old output I posted on gist - it still flashes and re-sets to b:
Setting current slot to 'b' OKAY [ 0.009s]

After this, it still is in a boot loop and boots back into Fastboot :(

I've even tried to manually re-set active to a and eventually I did manage to have it set current slot to a during flashing - but it goes back into a loop as well
 
Last edited:

rebelpixel

Member
Oct 31, 2010
45
14
I've checked and it says
(bootloader) current-slot:a
I've issued command fastboot --set-active=b
I removed -w on the flash-all.bat script so it doesnt wipe the old a, but this time I looked at the output, as well as the old output I posted on gist - it still flashes and re-sets to b:
Setting current slot to 'b' OKAY [ 0.009s]

After this, it still is in a boot loop and boots back into Fastboot :(

I've even tried to manually re-set active to a and eventually I did manage to have it set current slot to a during flashing - but it goes back into a loop as well

Have you tried using fastboot format userdata?
 

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