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

Search This thread

z3DD3r

Senior Member
Feb 9, 2016
296
1,509
Minsk
Google Nexus 5
OnePlus 9R
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: Alpha

Created 2022-11-24
Last Updated 2023-01-25
 
Last edited:

z3DD3r

Senior Member
Feb 9, 2016
296
1,509
Minsk
Google Nexus 5
OnePlus 9R
ROM Installation

To install rom you should increase the /system partition size
This can be done for example with TWRP HH.R

GAPPS Installation

LineageOS Team have recommendations about GAPPS
My recommendation is BiTGapps for Android 13.0.0 for arm devices.

Google apps should be installed via recovery immediately after installing LineageOS. If you reboot into LineageOS before installing Google apps, you must factory reset and then install them, otherwise expect crashes.
 

AbahAdam007

New member
Apr 27, 2021
1
2
Comment with google nexus 5 lineage os 20 android 13..just camera and video suddenly stuck..but overall all perfect..smooth ui..this is the most fastest and smooth os i use on my nexus 5..tq so much for make my nexus 5 more powerfull :)
 
  • Like
Reactions: MVelte and tiendas

bluetooth-bug

Member
Jan 11, 2019
35
25
The only issue I have is that I cannot turn on Bluetooth. I wiped the phone and clean installed it with BiTGApps. Even in the setup wizard I got the Bluetooth keeps stopping message. Apart from this everything I tried seems to be working. I tried to wipe cache in TWRP, but that didn't fix it. Also wanted to clear cache in Apps but Clear storage and Clear cache is grayed out.

Edit: Here's a logcat. Is this some more SELinux policy issue? Because in the logcat I see this:

Code:
11-29 00:19:09.309  1586  1586 E SELinux : seapp_context_lookup:  No match for app with uid 1002, seinfo default, name com.android.bluetooth

I'm just guessing blindly. That line caught my eye.
___________________________________________________
Edit 2: Did some more digging and found out this is because com.android.bluetooth is signed with a different certificate?

I found that for another device: https://github.com/phhusson/treble_experimentations/issues/58

Then I found this patch on LineageOS Gerrit: https://review.lineageos.org/c/LineageOS/android_packages_modules_Bluetooth/+/344542
That topic has two more patches: https://review.lineageos.org/q/topic:bluetooth-cert

Is this what we need? Does this build have these patches?
 

Attachments

  • bt.txt
    4 MB · Views: 33
Last edited:

bluetooth-bug

Member
Jan 11, 2019
35
25
@z3DD3r I dirty flashed it from previous build and Bluetooth is working now. Something was definitely missing from the previous build and somehow com.android.bluetooth was still not signed with the proper certificate.

I knew something was wrong because I dirty flashed the previous build as well and Bluetooth was still borked. (lineage-20.0-20221124-UNOFFICIAL-hammerhead-experimental.zip)

Thank you for all the hard work! This ROM definitely has potential. I think I am going to keep it.
 
  • Like
Reactions: z3DD3r

bluetooth-bug

Member
Jan 11, 2019
35
25
@z3DD3r @androcib
Of course I can check. And cannot confirm the issue, because camera works for me. And works as intended.

I opened the Camera app, took a picture, and I was able to view the picture as well. Next, I switched to video and recorded one. Then I was able to play it back.

@androcib keep in mind that if you play a video you shot for the first time then you will need to raise the volume. Every LineageOS is like that.

Sure the preview window is a bit tiny but that's just how the app is. So yeah. Push volume up and you will see that you will have sound if that's what you mean. This is not a bug.
 
  • Like
Reactions: ze7zez and z3DD3r

dahawthorne

Senior Member
Nov 15, 2014
2,102
1,905
Brighton
I was excited to see Android 13 for my Nexus 5, but is it really discontinued already...? :(
I'll be trying it anyway. The feedback above seems positive. Thanks for giving us more toys to play with. 😊
 
Last edited:

Top Liked Posts

  • 1

    Well it isnt as complicated as it seems. Im providing some local manifests as well, but I dont really guarantee them working.
    Correct local manifest provided in the third post of this thread ;)
  • 8
    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.
    3
    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.
    1
    Sorry a second question, perhaps z3DD3r can clarify: what about the ROM with link
    Is this a newer version or smething diffrent?
    1
    Any comments regarding gcc12 boot image?
    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
    1
    @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.
  • 12
    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: Alpha

    Created 2022-11-24
    Last Updated 2023-01-25
    8
    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.
    5
    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...
    4
    This is hands down the best ROM for the Nexus 5 I have ever installed. It's near perfect. It's a shame development stopped because this ROM is so good as it is. Please reconsider.