[ROM][UNOFFICIAL] LineageOS 20.0 for Nexus 5 (hammerhead) [DISCONTINUED]

Search This thread

z3DD3r

Senior Member
Feb 9, 2016
304
1,537
Minsk
Google Nexus 5
OnePlus 9R
New build is out (20221220). December security patch included.
There are no any important fixes. This build was made only to fix build errors after merging the December Security Patch.

Build with December security patch. Just in case someone needs it :D
I don't mind such builds. But you should take in mind that other builds will be signed with different keys or even may use test keys. Keep it in mind and do a clean flash if your phone will not boot after updating from my builds...
 

dahawthorne

Senior Member
Nov 15, 2014
2,108
1,907
Brighton
This is great - thank you. But does this mean the the thread title ("discontinued") isn't accurate? Are you intending to continue for a while longer? Regardless, thank you for A13 on my favourite device.
 

Yotoprules

Senior Member
Oct 23, 2015
142
10
Hull
Lenovo P2
Thanks for this ROM! I will give it a try in my device.
Would you consider working on this ROM in the future if I donated towards a replacement nexus 5?
Thanks for your hard work.
 
  • Like
Reactions: xenonrider

JohannesL2021

Member
Feb 7, 2021
19
3
Thank you for this ROM and Lineage OS 18.1 20221111 which is smooth an stable. One question: Is Wifi with configuration 'WPA2 + WPA3' working with the ROM here ([EXPERIMENTAL] LineageOS 20.0 for Nexus 5)?
(With a different device and Android 12 Wifi is with combination WPA2/3 not working.)
 

dahawthorne

Senior Member
Nov 15, 2014
2,108
1,907
Brighton
Thanks for that pointer. There is a new version dated today (24th) which I've dirty flashed over LOS v20 December and it appears to work fine, though my N5 is my backup backup after my N6 and I haven't tried all the functionality.
Good to see continuing development.
 
Last edited:

eugenesan

Senior Member
Aug 25, 2010
86
15
@z3DD3r
Thank you for your work.

The 20230124 ROM works like a charm.
Except a couple of occasional graphic glitches with SystemUI, I could not find any issues.
 

bluetooth-bug

Member
Jan 11, 2019
35
25
I noticed that as well. They have been present in earlier builds as well. Nothing serious, Lately I have that for the navigation buttons and in the past I think I saw for an app icon in the app drawer. Something gets corrupted in memory, but if you turn off screen and turn it back on the those artifacts are gone.

One more tiny little issue is with charging sounds that I noticed. If you charge your phone and unplug the notification sound is very delayed. No big deal this one. I can just turn it off as a workaround.
 

z3DD3r

Senior Member
Feb 9, 2016
304
1,537
Minsk
Google Nexus 5
OnePlus 9R
Yes, there is a new build of LOS 20.0. It was built only to include fix for network traffic indicator (works in 20230124). But as you already noticed it has some graphical glitches. Sorry, i can’t test the rom myself, but i guess i know what is the problem. Today i will release another one build with fix and update my forks.
 

z3DD3r

Senior Member
Feb 9, 2016
304
1,537
Minsk
Google Nexus 5
OnePlus 9R
New LineageOS 20.0 is out.
Build 20230125.
Changes:
1. Fixed graphical glitches which were introduced in previous build
2. Fixed graphical glitches on Recent Apps screen
3. Fixed network monitor indicator
4. Added some changes to bluetooth (should fix audio output from speaker while bt is connected)
5. January security patch

Clean flash is recommender.
 

eugenesan

Senior Member
Aug 25, 2010
86
15
New LineageOS 20.0 is out.
Build 20230125.
Changes:
1. Fixed graphical glitches which were introduced in previous build
2. Fixed graphical glitches on Recent Apps screen
3. Fixed network monitor indicator
4. Added some changes to bluetooth (should fix audio output from speaker while bt is connected)
5. January security patch

Clean flash is recommender.
Thanks.
Any comments regarding gcc12 boot image?
 

eugenesan

Senior Member
Aug 25, 2010
86
15
This is the same kernel as in latest build but compiled with GCC 12.2.1. You can compare this kernel with stock kernel in latest release of LineageOS 20.0. Idk if there are will be any improvements/regressions. If anybody will test this kernel then please let me know how it works

I've tested the ROM and both Kernels.
Visual glitches seem to be gone.

Both kernels work but I can't think of a way to benchmark them.
I managed to run GeekBench once on the standard kernel with score 149 / 472.
Consequent runs crashed on both kernels. This is the error I see:
Code:
01-25 13:48:31.686  7995  8049 W libc    : malloc(134221831) failed: returning null pointer
01-25 13:48:32.091  7995  8114 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2000000 in tid 8114 (AsyncTask #1), pid 7995 (labs.geekbench5)
01-25 13:48:33.116  8119  8119 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-25 13:48:33.116  8119  8119 F DEBUG   : LineageOS Version: '20.0-20230125-UNOFFICIAL-hammerhead'
01-25 13:48:33.116  8119  8119 F DEBUG   : Build fingerprint: 'google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys'
01-25 13:48:33.116  8119  8119 F DEBUG   : Revision: '11'
01-25 13:48:33.116  8119  8119 F DEBUG   : ABI: 'arm'
01-25 13:48:33.116  8119  8119 F DEBUG   : Timestamp: 2023-01-25 13:48:32.559733731-0700
01-25 13:48:33.116  8119  8119 F DEBUG   : Process uptime: 317s
01-25 13:48:33.116  8119  8119 F DEBUG   : Cmdline: com.primatelabs.geekbench5
01-25 13:48:33.116  8119  8119 F DEBUG   : pid: 7995, tid: 8114, name: AsyncTask #1  >>> com.primatelabs.geekbench5 <<<
01-25 13:48:33.117  8119  8119 F DEBUG   : uid: 10115
01-25 13:48:33.117  8119  8119 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x02000000
01-25 13:48:33.117  8119  8119 F DEBUG   :     r0  a6aff290  r1  b000592b  r2  4f5d4d81  r3  e7230381
01-25 13:48:33.117  8119  8119 F DEBUG   :     r4  faf97dc4  r5  02000000  r6  000000b0  r7  f3f64ca9
01-25 13:48:33.117  8119  8119 F DEBUG   :     r8  4032650b  r9  88aba524  r10 88aba124  r11 80821b08
01-25 13:48:33.117  8119  8119 F DEBUG   :     ip  88ab9d24  sp  80821ad4  lr  fcfbd591  pc  86081e58
01-25 13:48:33.117  8119  8119 F DEBUG   : backtrace:
01-25 13:48:33.117  8119  8119 F DEBUG   :       #00 pc 002b4e58  /data/app/~~aiwp3EuYBGZNkYKm6Nb82g==/com.primatelabs.geekbench5-lTeNM78qnQK8NA-opk6ycQ==/split_config.armeabi_v7a.apk!libgeekbench.so (BuildId: 7113714cbbaa6067ae7f6878f472ed295ee66703)

Also seems like something is missing in WiFi HAL (which is expected since N5 kernel is old and doesn't support BPF:
Code:
01-25 13:48:29.146   677   808 E BpfNetworkStats: get ifaceStats map fd failed: Function not implemented
01-25 13:48:29.147   677   808 E BpfNetworkStats: get ifaceStats map fd failed: Function not implemented
01-25 13:48:29.150   348   348 I WifiHAL : Creating message to get link statistics; iface = 22
01-25 13:48:29.163   348   348 I WifiHAL : In GetLinkStatsCommand::handleResponse
 

z3DD3r

Senior Member
Feb 9, 2016
304
1,537
Minsk
Google Nexus 5
OnePlus 9R
@eugenesan,
Crash happens cos of memory allocation problem (not enough memory). We can’t do much here. Such is life on hammerhead with Android 13 and memory hungry apps.
Wi-Fi HAL has everything it needs to work. This error is shown because kernel doesn’t support eBPF. Ignore it. We can’t do anything here.
 
  • Like
Reactions: eugenesan

JohannesL2021

Member
Feb 7, 2021
19
3
@All here:
Could someone be so kind an write install instructions for this ROM an file
lineage-20.0-20230125-UNOFFICIAL-hammerhead-boot-GCC12.img ?
I use today Nexus 5 with twrp-3.7.0_9-HH.R.17 and
lineage-18.1-20221111-UNOFFICIAL-hammerhead-signed.
 
  • Like
Reactions: kwacorn

z3DD3r

Senior Member
Feb 9, 2016
304
1,537
Minsk
Google Nexus 5
OnePlus 9R
@All here:
Could someone be so kind an write install instructions for this ROM an file
lineage-20.0-20230125-UNOFFICIAL-hammerhead-boot-GCC12.img ?
I use today Nexus 5 with twrp-3.7.0_9-HH.R.17 and
lineage-18.1-20221111-UNOFFICIAL-hammerhead-signed.
Installation process is the same as for Lineage 18.1. Nothing changed. You don't need to install boot-GCC12.img as it doesn't have any benefits according to reports...
 
  • Like
Reactions: JohannesL2021

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I'm afraid it's your device. Mine on the same version has a functioning still & video camera.
    1
    Hello, just to say thanks you for your hard work ! ;)
    I'm happy to use my old Nexus 5 with a recent Android, it's not my principal phone but it's perfect for a secondary with LineageOS 20 vanilla + fdroid...



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

    Code:
    #include <std_disclaimer.h>
    
    /*
    * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    *
    */
    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.

    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. Your changelog is whatever was merged into gerrit.

    Known bugs:
    Screen mirroring via slimport HDMI adapter doesn't work. (won’t fix)
    PMF aka 802.11w doesn't supported. PMF SHOULD NOT be enforced in your wifi router! (can’t fix)
    Encryption doesn’t work. FDE encryption was removed completely in Android 13! (can’t fix)
    There may be a lot of other issues because these builds are experimental!

    Downloads:
    ROM: https://sourceforge.net/projects/hammerhead-lineageos/files/20.0/
    GAPPS: https://bitgapps.github.io/latest.html

    Credits:
    Many thanks to the LineageOS and LineageOS-UL team and all the contributors out there in the community

    Contributors:
    z3DD3r

    Source Code:
    Device tree: https://github.com/z3DD3r/android_device_lge_hammerhead/tree/lineage-20.0
    Kernel tree: https://github.com/z3DD3r/android_kernel_lge_hammerhead/tree/lineage-20.0
    Vendor tree: https://github.com/z3DD3r/android_vendor_lge/tree/lineage-20.0

    Android version: 13.0.0 (T)
    Kernel version: Linux 3.4.113
    SELinux: Enforcing
    Status: Beta

    Created 2022-11-24
    Last Updated 2023-02-20
  • 14
    LineageOS 20.0 is a free, community built, aftermarket firmware distribution of Android 13.0 (T), which is designed to increase performance and reliability over stock Android for your device.

    Code:
    #include <std_disclaimer.h>
    
    /*
    * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    *
    */
    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.

    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. Your changelog is whatever was merged into gerrit.

    Known bugs:
    Screen mirroring via slimport HDMI adapter doesn't work. (won’t fix)
    PMF aka 802.11w doesn't supported. PMF SHOULD NOT be enforced in your wifi router! (can’t fix)
    Encryption doesn’t work. FDE encryption was removed completely in Android 13! (can’t fix)
    There may be a lot of other issues because these builds are experimental!

    Downloads:
    ROM: https://sourceforge.net/projects/hammerhead-lineageos/files/20.0/
    GAPPS: https://bitgapps.github.io/latest.html

    Credits:
    Many thanks to the LineageOS and LineageOS-UL team and all the contributors out there in the community

    Contributors:
    z3DD3r

    Source Code:
    Device tree: https://github.com/z3DD3r/android_device_lge_hammerhead/tree/lineage-20.0
    Kernel tree: https://github.com/z3DD3r/android_kernel_lge_hammerhead/tree/lineage-20.0
    Vendor tree: https://github.com/z3DD3r/android_vendor_lge/tree/lineage-20.0

    Android version: 13.0.0 (T)
    Kernel version: Linux 3.4.113
    SELinux: Enforcing
    Status: Beta

    Created 2022-11-24
    Last Updated 2023-02-20
    12
    New build (20230220) with february security patch is out!

    Please don't ask me for OTA or any bug fixes.
    I don't have Nexus 5 anymore and can't provide proper support.
    9
    New LineageOS 20.0 is out.
    Build 20230125.
    Changes:
    1. Fixed graphical glitches which were introduced in previous build
    2. Fixed graphical glitches on Recent Apps screen
    3. Fixed network monitor indicator
    4. Added some changes to bluetooth (should fix audio output from speaker while bt is connected)
    5. January security patch

    Clean flash is recommender.