[ROM][OFFICIAL][sunfish] LineageOS 18.1

Search This thread

PeterCxy

Senior Member
Jul 15, 2013
296
867
2okPze5.png

LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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. LineageOS does still include various proprietary hardware-specific code.

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

Notes
  • Before the initial installation, please make sure your Pixel 4a has already been updated to Android 11 official firmware so that the recovery can function correctly.
  • This ROM comes with latest firmware bundled, so after the initial flash you don't need to worry about updating firmware manually.
  • This ROM comes with source-built kernel and modules
  • eSIM functions without GAPPS, but to manage (add / erase) eSIMs you will need to have GAPPS installed
Installation
  • Update your Pixel 4a to official Android 11
  • Download the latest boot.img and rom zip
  • Boot to bootloader
  • fastboot flash boot boot.img
  • Boot to recovery
  • Format data
  • Flash LineageOS zip
  • Optionally flash any addons:
    • Advanced > Reboot to recovery
    • Flash the addons
  • Reboot
Updating
  • Boot to recovery
  • Flash LineageOS zip
  • Flash the same addons you had previously installed:
    • Advanced > Reboot to recovery
    • Flash the addons
  • Reboot
Downloads

Official: https://download.lineageos.org/sunfish

Reporting bugs
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /sys/fs/pstore/* (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved.

Known Issues
  • On the first boot, you might be presented the message "SIM Manager has crashed". You can safely ignore it.
Source Code

 

Raj Pandiyan

Senior Member
Jul 25, 2018
187
71
Xiaomi 11 Lite 5g NE
2okPze5.png

LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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. LineageOS does still include various proprietary hardware-specific code.

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

Notes
  • Before the initial installation, please make sure your Pixel 4a has already been updated to Android 11 official firmware so that the recovery can function correctly.
  • This ROM comes with latest firmware bundled, so after the initial flash you don't need to worry about updating firmware manually.
  • This ROM comes with source-built kernel and modules
  • eSIM functions without GAPPS, but to manage (add / erase) eSIMs you will need to have GAPPS installed
Installation
  • Update your Pixel 4a to official Android 11
  • Download the latest boot.img and rom zip
  • Boot to bootloader
  • fastboot flash boot boot.img
  • Boot to recovery
  • Format data
  • Flash LineageOS zip
  • Optionally flash any addons:
    • Advanced > Reboot to recovery
    • Flash the addons
  • Reboot
Updating
  • Boot to recovery
  • Flash LineageOS zip
  • Flash the same addons you had previously installed:
    • Advanced > Reboot to recovery
    • Flash the addons
  • Reboot
Downloads

Official: https://download.lineageos.org/sunfish

Reporting bugs
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /sys/fs/pstore/* (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved.

Known Issues
  • On the first boot, you might be presented the message "SIM Manager has crashed". You can safely ignore it.
Source Code

Using it now... ROM is stable, smooth and fast... as of now...

Initially, I couldn't call or text but after resetting the apn and switching it once to 2G and reverting back to 4G should fix that...( Jio users India).

Used nikgapps

 

Raj Pandiyan

Senior Member
Jul 25, 2018
187
71
Xiaomi 11 Lite 5g NE
2okPze5.png

LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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. LineageOS does still include various proprietary hardware-specific code.

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

Notes
  • Before the initial installation, please make sure your Pixel 4a has already been updated to Android 11 official firmware so that the recovery can function correctly.
  • This ROM comes with latest firmware bundled, so after the initial flash you don't need to worry about updating firmware manually.
  • This ROM comes with source-built kernel and modules
  • eSIM functions without GAPPS, but to manage (add / erase) eSIMs you will need to have GAPPS installed
Installation
  • Update your Pixel 4a to official Android 11
  • Download the latest boot.img and rom zip
  • Boot to bootloader
  • fastboot flash boot boot.img
  • Boot to recovery
  • Format data
  • Flash LineageOS zip
  • Optionally flash any addons:
    • Advanced > Reboot to recovery
    • Flash the addons
  • Reboot
Updating
  • Boot to recovery
  • Flash LineageOS zip
  • Flash the same addons you had previously installed:
    • Advanced > Reboot to recovery
    • Flash the addons
  • Reboot
Downloads

Official: https://download.lineageos.org/sunfish

Reporting bugs
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /sys/fs/pstore/* (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved.

Known Issues
  • On the first boot, you might be presented the message "SIM Manager has crashed". You can safely ignore it.
Source Code

Any way to use banking apps bro... (Like in descendent without magisk)
 

Fung-i

Member
Aug 11, 2013
18
0
I happened to install the last unofficial LOS (lineage-18.1-20210308) on a new phone an hour before this was released. I have everything setup and installed, safetynet passes etc etc, is it worth upgrading to this? Are there any big differences?

Also, is it possible to use twrp with this or lineage-18.1-20210308?

Thanks.
 

PeterCxy

Senior Member
Jul 15, 2013
296
867
I happened to install the last unofficial LOS (lineage-18.1-20210308) on a new phone an hour before this was released. I have everything setup and installed, safetynet passes etc etc, is it worth upgrading to this? Are there any big differences?

Also, is it possible to use twrp with this or lineage-18.1-20210308?

Thanks.
The unofficial build will still be updated, but if you don't need microG it might be a better idea to switch to the official build for more timely updates and official guarantees. Of course, to switch to the official build, you have to wipe all data and start over.

I have no experience with TWRP on Pixel 4a.
 

miko12312

Senior Member
Sep 11, 2009
1,172
118
Google Pixel 4a
Google Pixel 6
has anyone had issues flashing rom using adb sideload and it failed , when loading recovery after reboot from data wipe , has failed mount emulated/0/
will try again and post imgs , have been able to flash unofficial and any other roms besides grapheneos, same issue upon flashing rom ,on latest stock android 11 unlocked bootloader
 
  • Like
Reactions: Finn1sher

Edmontonchef

Senior Member
Nov 30, 2016
821
360
41
edmonton
Google Pixel 6
has anyone had issues flashing rom using adb sideload and it failed , when loading recovery after reboot from data wipe , has failed mount emulated/0/
will try again and post imgs , have been able to flash unofficial and any other roms besides grapheneos, same issue upon flashing rom ,on latest stock android 11 unlocked bootloader
No problem here, flashed with mindthegapps.
 
  • Like
Reactions: pocketrule

mma1162

Member
Jan 12, 2011
12
11
Hanau
Google Pixel 4a
The unofficial build will still be updated, but if you don't need microG it might be a better idea to switch to the official build for more timely updates and official guarantees. Of course, to switch to the official build, you have to wipe all data and start over.

I have no experience with TWRP on Pixel 4a.
hi,
first of all, i want to thank you very much for your hard work on this rom. I have installed it yesterday and it runs perfectly showing almost 50% battery life increase and much better performance comparing to stock. I just noticed one strange thing: I can not monitor the kernel wakelocks using BBS as well as GSAM Battery monitor utilities. Both got root permission but don't show Kernel Wakelocks at all. Do you have any idea what could be the reason? I can access the /sys/kernel/debug fs, but don't see anything helpful in logcat...
 

Raj Pandiyan

Senior Member
Jul 25, 2018
187
71
Xiaomi 11 Lite 5g NE
any idea why nikogapps stock package doesn't work (device does not boot ) but Core package does?
It replaces many of LOS stock apps and stuff... So download omni variant, extract and edit nikgapps config file ( It is self understandable when you open and read it.. basically change variable from 1 to 0 which affect LOS framework and default apps like dialer etc...)... Again zip them and now sideload... It should work fine...
 
  • Like
Reactions: wawap68

mma1162

Member
Jan 12, 2011
12
11
Hanau
Google Pixel 4a
hi,
first of all, i want to thank you very much for your hard work on this rom. I have installed it yesterday and it runs perfectly showing almost 50% battery life increase and much better performance comparing to stock. I just noticed one strange thing: I can not monitor the kernel wakelocks using BBS as well as GSAM Battery monitor utilities. Both got root permission but don't show Kernel Wakelocks at all. Do you have any idea what could be the reason? I can access the /sys/kernel/debug fs, but don't see anything helpful in logcat...
fugured it out. It was the Magisk Fault. After reconfiguring BBS using ADB everything worked fine.

BTW the battery life is gorgeous comparing to stock ))
 

Attachments

  • Screenshot_20210404-074138_Trebuchet.png
    Screenshot_20210404-074138_Trebuchet.png
    212.7 KB · Views: 673
  • Like
Reactions: pocketrule

mma1162

Member
Jan 12, 2011
12
11
Hanau
Google Pixel 4a

droncheg

Senior Member
Aug 18, 2016
82
80
Krasnodar
Firstly, I want to thank the Lineage team and those who accompany our device.
I have been using this firmware since April 1 and have not seen any particular problems. However, it lacks some features that were in the RR 8 - a charging indicator when displaying a textual charge level, an extended reboot menu (recovery and bootloader). Or maybe I didn't find it =)

And as far as I understand it is now impossible to update LOS 18.1 via OTA, but only through recovery?
 

mma1162

Member
Jan 12, 2011
12
11
Hanau
Google Pixel 4a
Firstly, I want to thank the Lineage team and those who accompany our device.
I have been using this firmware since April 1 and have not seen any particular problems. However, it lacks some features that were in the RR 8 - a charging indicator when displaying a textual charge level, an extended reboot menu (recovery and bootloader). Or maybe I didn't find it =)

And as far as I understand it is now impossible to update LOS 18.1 via OTA, but only through recovery?
Advanced restart option is there.
 

Attachments

  • Screenshot_20210404-082122_Trebuchet.png
    Screenshot_20210404-082122_Trebuchet.png
    84.5 KB · Views: 466

roxy1712

Senior Member
May 31, 2012
53
5
Washington, DC
Anyone coming off the unofficial build... tips? I nuked everything: went back to stock, flashed Lineage recovery, wiped/data reset, flashed zip, rebooted to recovery, then flashed MindTheGapps as OpenGapps won't install due to a version mismatch. Been stuck on the boot screen for eons.

Went back and repeated the process only to still be stuck on boot screen. Is there any log I can record/provide to figure out what's going on?
 
  • Like
Reactions: rodrigo granemann

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    2okPze5.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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. LineageOS does still include various proprietary hardware-specific code.

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

    Notes
    • Before the initial installation, please make sure your Pixel 4a has already been updated to Android 11 official firmware so that the recovery can function correctly.
    • This ROM comes with latest firmware bundled, so after the initial flash you don't need to worry about updating firmware manually.
    • This ROM comes with source-built kernel and modules
    • eSIM functions without GAPPS, but to manage (add / erase) eSIMs you will need to have GAPPS installed
    Installation
    • Update your Pixel 4a to official Android 11
    • Download the latest boot.img and rom zip
    • Boot to bootloader
    • fastboot flash boot boot.img
    • Boot to recovery
    • Format data
    • Flash LineageOS zip
    • Optionally flash any addons:
      • Advanced > Reboot to recovery
      • Flash the addons
    • Reboot
    Updating
    • Boot to recovery
    • Flash LineageOS zip
    • Flash the same addons you had previously installed:
      • Advanced > Reboot to recovery
      • Flash the addons
    • Reboot
    Downloads

    Official: https://download.lineageos.org/sunfish

    Reporting bugs
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /sys/fs/pstore/* (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved.

    Known Issues
    • On the first boot, you might be presented the message "SIM Manager has crashed". You can safely ignore it.
    Source Code

    6
    4a LineageOS 18.1 Update 2021-11-18 - Security Bump

    Using the built-in Updater, I OTA-updated Pixel 4a (Google Ed) LineageOS 18.1 sunfish build 2021-10-14 + lineage-18.1-20211014-recovery-sunfish to build 2021-11-18. I have no GApps, no custom-kernel, and Magisk is not installed. Everything went smoothly.

    There are a bunch of changes as you can see here: https://download.lineageos.org/sunfish/changes/

    After the reboot, I went to Settings->About phone->"Android version". The "Android security update" now shows "November 5, 2021".
    The Vendor security patch level (just below) is now "October 1, 2021".
    The Build number at the bottom is "RQ3A.211001.001 10036888".
    This appears to be the last Vendor security patch for Android 11. The 1105 firmware is for Android 12.

    See Android Security Bulletin - November 2021 for details about the security fixes.

    I rebooted to recovery to verify that it was also updated. It now shows version "20211118" and active slot 'b'.

    Thank you to the Lineage Team, PeterCxy & cdesai for their work.
    6
    please tell us what method worked for you

    please tell us what method worked for you!
    1. extract the boot from LOS payload.bin
    2. install Magisk 22 by patching the extracted boot image
    3. hide the magisk from: google play store, play services, gpay, clear data for all these apps.
    4. install magisk module safetynet-fix-v1.1.1.zip
    5. reboot
    4
    There is no hope, the quality of the asocial media is as bad as with stock ROM.
    4
    4a LineageOS 18.1 Update 2021-05-13 - Security Bump

    Using the built-in Updater, I OTA-updated Pixel 4a (Google Ed) LineageOS 18.1 sunfish build 2021-05-06 + Magisk 23.0 + lineage-18.1-20210506-recovery-sunfish to build 2021-05-13. Everything went smoothly & Magisk survived the update.

    There are a bunch of changes as you can see here: https://download.lineageos.org/sunfish/changes/

    After the reboot, I went to Settings->About phone->"Android version" (see screenshots). The "Android security update" shows "May 5, 2021".
    The Vendor security patch level just below it is now "May 5, 2021".
    The Build number at the bottom changed from "RQ2A.210405.005" to "RQ2A.210505.003".

    See Android Security Bulletin - May 2021 for details about the security fixes.

    I rebooted to recovery to verify that it was also updated. It now shows version "2021-05-13" and slot 'a'.

    Thank you to the Lineage Team, @PeterCxy & @cdesai for their work.


    In a poor man's homage to @curiousrom, I have used his postings as a template for mine.
    They have been very helpful with my daily driver (S5) for a loooong time. :geek: