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

Search This thread

KJ7LNW

Member
Jun 20, 2021
48
6
Honestly I'm not sure, I don't use microg (nor ever have). I stick with opengapps when GAPPs are needed and I NEVER have any issues with OG, ever. I'm not sure how to help since I can't reproduce it myself (and I am on ProtonAOSP android 12 now) so I'm not on LOS anymore either.
It turns out that I just needed to wait! I got on the phone with AT&T to troubleshoot, and it was working fine. Calling the phone stayed on LTE instead of switching to UMTS.

I'm guessing something on the backend carrier-side had to propagate after moving the SIM!
 
It turns out that I just needed to wait! I got on the phone with AT&T to troubleshoot, and it was working fine. Calling the phone stayed on LTE instead of switching to UMTS.

I'm guessing something on the backend carrier-side had to propagate after moving the SIM!
cool! Glad to hear you got it sorted out and working! I couldn't reproduce it nor did I have the issue so I was kinda useless to help but I am glad you got it working anyways!
 
Would banking app work on this ?
Sure does, once you hide magisk and root, I have NO issues with TD Bank, Netflix, ETC but you have to hide root and pass safetynet (which it does if setup right).
 

Attachments

  • Screenshot_20211201-131122_Magisk.png
    Screenshot_20211201-131122_Magisk.png
    85.5 KB · Views: 40
  • Screenshot_20211201-131108_Settings.png
    Screenshot_20211201-131108_Settings.png
    211.8 KB · Views: 41
Just installed it because after updating to android 12 i had some battery draining issues. Will come back with feedback

EDIT: It works without hidding anything. lol
awesome, I know for Netflix and TDBank I also had to hide ROOT from those apps specifically (pic) or ROOT gets detected, but I am glad yours worked out of the box! I use LOS (this ROM) as my daily driver because its so damn solid and no bugs, plus its weekly updated! I love LOS, and am VERY glad its so stable otherwise I would be using a LOS derivative but those aren't always stable.
 

Attachments

  • MAGISKHide.jpeg
    MAGISKHide.jpeg
    194.5 KB · Views: 28

MySelf_v1

Senior Member
Oct 27, 2010
229
20
Padua
HTC Desire
HTC Wildfire S
Actually, I've installed then ROM from LOS Website sideloaded with the recovery.

It's wonderful, stable and pretty much everything works out of the box.

No battery issues anymore . ATM phone its at 60℅ in 13 hours of usage while on the stock android 12 in 12 hours battery was empty. Upgrading to 12 from 11 was a bad idea.

Now the only thing i miss is Google Camera.
 
Actually, I've installed then ROM from LOS Website sideloaded with the recovery.

It's wonderful, stable and pretty much everything works out of the box.

No battery issues anymore . ATM phone its at 60℅ in 13 hours of usage while on the stock android 12 in 12 hours battery was empty. Upgrading to 12 from 11 was a bad idea.

Now the only thing i miss is Google Camera.
Agreed, LOS for the pixel 4 XL is rock solid, fast, stable, battery is AWESOME, and it has everything I need for my dailydriver.

Install GCam from playstore and any missing Google apps/services you need/want. Google cam works flawlessly with LOS/Pixel 4XL from the PlayStore!
 

MySelf_v1

Senior Member
Oct 27, 2010
229
20
Padua
HTC Desire
HTC Wildfire S
What options have you enabled under device simulation? I have google play services crashing after i've passed safetynet by using Pixel4XL Android 12 settings

btw, i don't even know why I'm struggling to get safetynet passed since I don't need it. It's just for "testing purposes".

EDIT: Done, only fingerprint was updated and everything seems to work now
 
Last edited:
What options have you enabled under device simulation? I have google play services crashing after i've passed safetynet by using Pixel4XL Android 12 settings

btw, i don't even know why I'm struggling to get safetynet passed since I don't need it. It's just for "testing purposes".
You shouldn't have any GPlay issues unless you didn't install GAPPs right or something got hosed after GAPPs install or something along those lines but without logs, or install process, I am left to guess and stab in the dark.

You installed LOS, then rebooted recovery directly after ADB SIDELOAD and completed the OS install, then installed (ADB SIDELOAD) the GAPPs you chose, yes? Now you have SafetyNet fixed and working, yes, you installed RIRU, Universal SafetyNet, MAGISKProps, and enabled MAGISKHide, yes and it passed SN now, yes?

I have ZERO issues with GAPPs for the Google framework with SN passing, so its something done (or not done) with your side, but its all guesses because you aren't telling me anything to go by. Give me your entire install process, with GAPPs and how you installed both, then the SafetyNet fixes (installed, chosen, used) please so I can ensure everything was correctly done (otherwise I cant really help as I don't know what is broken and where or not broken but missing).
 
  • Like
Reactions: MySelf_v1
The problem was I've enabled everything under device simulation. Now everything works perfectly. Thank you.
right on! glad to hear its solved! I purposely didn't tell you the props to use to force this exact thing (figuring it out). I usually give enough to teach the user where to look but let them solve it on there own and only give the answer if absolutely needed. That way its learned to cook (vs feeding for the day), that comes from my day job as a senior sys engineer/architect mentoring the senior engineers below me.
 

tuan2mbox

Member
Dec 7, 2021
9
5
Hi everyone! I'm new here. I just flashed LOS back from ANDROID 12 bt following the instruction in #1. It's very awesome! May I ask you guys: Should I relock the bootloader after everything is done?
 
Oh, I see, thank you so much. You've saved my phone!
Agreed with the other comments! DO NOT RE-LOCK your bootloader and accept the warning (who cares its a quick blip that you barely see on boot)!

Again DO NOT RE-LOCK your BL with a custom ROM EVER! You will royally F up your device and may not be recoverable from it.
 
  • Like
Reactions: tuan2mbox

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Yes you can fix both, your problem is safetynet and Google play seeing it as uncertified. Fix safetynet, then wipe play store data, reboot, try again and it will work. The key here is SAFETYNET, you must pass SN to get NF (and those types of SN checked apps) to show up as compatible once passing SN.

    Install LSPosed (zygote), then install the universal SAFETYNETFix, then wipe Play store data, reboot, test SN and give it an hour (maybe less l and NF will popup. The trick is SN passing, and being seen as certified in Play:

    Screenshot_20220426-111935_Google Play Store.png
    1
    I installed this ROM and i am super happy so far. However: My PayPal app (newest version crashes, older ones work just fine) crashes when trying to open the app.
    I cant install Netflix via Playstore, as it says "incompatible device". I guess thats because of an unlocked bootloader? Same for PayPal probably.

    My question:
    Could i fix these issues with Magisk? If so, how do i install it now?
    Sorry, thats my first custom ROM in ages :D
    I don't know what happened but my reply above this post, didn't reply to your comment so that was intended to answer your issues.
  • 26
    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
    • Face unlock
    • Screen attention
    • RIL (Calls, SMS, Data)
    • Bluetooth
    • Wi-Fi
    • Camera
    • Video Recording
    • Video Playback
    • Audio ( Record and Playback )
    • Sensors
    • Flash

    What's not working

    • Soli motion sense (proprietary)
    • New Google Assistant (proprietary)
    • Adaptive charging & extreme battery saver (proprietary)
    • Pixel Stand features (proprietary)
    • Feel free to report any issues you may encounter with relevant logs

    Installation

    1. Download the latest supported Lineage OS build and recovery (boot) image, and ensure you are on Lineage OS 17.1 or Android 11 already.
    2. Reboot to bootloader
    3. Flash the provided boot.img to both slots (fastboot flash --slot all boot boot.img)
    4. Reboot into recovery and factory reset for initial install
    5. Sideload the latest build of Lineage OS (adb sideload lineage.zip)
    6. (Optional) Reboot to recovery again and flash gapps of choice (MindTheGapps are recommended)
    7. Reboot to system
    8. (Optional) Flash custom kernel / Magisk

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

    Updates

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

    Downloads


    Credits

    • razorloves
    • cdesai
    • npjohnson
    • Sultanxda
    • LineageOS Team

    Source


    Feel free to join my Pixel 4 telegram group here.
    14
    Lineage OS 18.1 (20/1/21)

    • January ASB
    • Fixed inconsistent gapps install behaviour due to virtual a/b
    • Added the ability to reboot to fastbootd from advanced restart options
    • Various bug fixes and improvements
    Thank you for tolerating the frustrating gapps installation issues on the last build. This substantially delayed this months update but I'm pleased to finally be able to provide one with this fixed. Gapps installation should consistently work now.
    9
    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!

    If you are coming from a previous version of Lineage OS, please refer to the wiki.
    6
    Changelog

    2/4/21


    • Initial official release

    5/3/21

    • March ASB
    • Fixed rare app not installed toast
    • Fixed MindTheGapps installation issues
    • Fixed crashes when installing without gapps
    • Revamped Lineage OS recorder app
    • Added Trebuchet icon pack support

    9/2/21

    • Fixed motion photos in Google Camera
    • Fixed a bug in USAP refill pool logic
    • Slightly reduced system partition reserved size as only up to OpenGapps full will fit
    • A few minor bug fixes and improvements

    3/2/21

    • February ASB
    • Added support for OpenGapps packages up to full in size
    • Added support for MindTheGapps for when they are publicly distributed
    • Added support for addon.d v3
    • Added additional LiveDisplay options
    • Added Glove Mode for increased touch sensitivity
    • Screen Attention, Now Playing and Live Captions now all work out of the box
    • Fixed spell check on AOSP keyboard
    • Various minor bug fixes and improvements

    20/1/21

    • January ASB
    • Fixed inconsistent gapps install behaviour due to virtual a/b
    • Added the ability to reboot to fastbootd from advanced restart options
    • Various bug fixes and improvements

    1/1/21

    • Initial release
    6
    Lineage OS 18.1 (3/2/21)

    • February ASB
    • Added support for OpenGapps packages up to full in size
    • Added support for MindTheGapps for when they are publicly distributed
    • Added support for addon.d v3
    • Added additional LiveDisplay options
    • Added Glove Mode for increased touch sensitivity
    • Screen Attention, Now Playing and Live Captions now all work out of the box
    • Fixed spell check on AOSP keyboard
    • Various minor bug fixes and improvements
    EDIT: stock opengapps seems to not work, as it is too big despite OpenGapps thinking it will fit. Packages up to full in size should work fine however.