[ROM][UNOFFICIAL] LineageOS 17.1 for Nexus 5 (hammerhead)

z3DD3r

Senior Member
Feb 9, 2016
168
1,027
123
Minsk
LineageOS 17.1 is a free, community built, aftermarket firmware distribution of Android 10.0 (Q), 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:
Fantom icons in launcher after installing/updating apps. Fixed since 2020-03-18 build.
Expanded desktop doesn't work. LineageOS team planning to remove this feature entirely. This feature was removed in latest builds.
For some users phone won't boot after installing Magisk. Right now there is no solution. Use rom without Magisk. Fixed since 2020-02-22 build. Credits to @Sashko98 for help!
Screen timeout does not work if the Screen lock is set to none. Fixed since 2020-05-31 build.
Random drops of the bluetooth connection. Fixed since 2020-06-13 build.
Screen mirroring via slimport HDMI adapter doesn't work.
PMF aka 802.11w doesn't work.

Downloads:
ROM: https://sourceforge.net/projects/hammerhead-lineageos/files/17.1/
GAPPS: https://opengapps.org/?arch=arm&api=10.0&variant=pico

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

Contributors:
@z3DD3r, @EnesSastim, @Sashko98, @razorloves, esa-n, jprimero15 and others

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

Android version: 10.0.0 (Q)
Kernel version: Linux 3.4.113
Status: Beta

Created 2020-01-23
Last Updated 2020-06-23
 
Last edited:

z3DD3r

Senior Member
Feb 9, 2016
168
1,027
123
Minsk
GAPPS Installation

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

Also LineageOS Team have recommendations about GAPPS
Here are the most important two copied from LineageOS WiKi:
  • If you opt to use Open GApps, they offer a variety of sizes of packages that include and overwrite different apps. We only recommend package sizes up through nano. If you use a larger package, we can not guarantee that everything will function on your device, as in many of these cases our included apps are overwritten in favor of the Google App equivalents.
  • 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.
 
Last edited:

anilspice

Senior Member
Oct 28, 2006
50
12
0
New Delhi
www.ani-soft.com
Hardware Macaddress

Thanks for this amazing rom which is super fast. I am unable to connect to my home WiFi with static ip.

My configuration is - Nexus 5 32 GB, Rom 24 Jan, Open Gapps Nano 23 Jan, TWRP system repartioned to 2GB..

Unable to disable Mac randamnization....can’t find any toggle.hence unable to use hardware MAC address.

Kindly advise a fix. Thanks in advance.
 

eupalino

Member
Mar 10, 2019
13
3
0
Encryption working flawlessly !!!

Beta TWRP decrypts DATA in recovery !!! (carefully read instructions and posts.)

Excellent work, everybody.
 
Last edited:

aa84

Member
Dec 20, 2010
40
13
28
Thanks for this amazing rom which is super fast. I am unable to connect to my home WiFi with static ip.

My configuration is - Nexus 5 32 GB, Rom 24 Jan, Open Gapps Nano 23 Jan, TWRP system repartioned to 2GB..

Unable to disable Mac randamnization....can’t find any toggle.hence unable to use hardware MAC address.

Kindly advise a fix. Thanks in advance.
Static ip works for me and I dont have mac randomization.

I dirty flashed from lineage-16.0-20191225 to 17.1-20200124 and wiped cached/davik. Everything seems fine (old apps, lte, camera, wifi). Only thing I miss is homescreen icon grid is max 5x5, I liked 5x7. Nice work!
 

Toedels

New member
Jan 25, 2020
3
0
0
I'm trying to flash the rom to my nexus5 with twrp. The installation went ok, but when i boot, it seems to stuck at the loading screen (blue ball going from right to left). Am I doing something wrong?
 

z3DD3r

Senior Member
Feb 9, 2016
168
1,027
123
Minsk
Thanks for this amazing rom which is super fast. I am unable to connect to my home WiFi with static ip.

My configuration is - Nexus 5 32 GB, Rom 24 Jan, Open Gapps Nano 23 Jan, TWRP system repartioned to 2GB..

Unable to disable Mac randamnization....can’t find any toggle.hence unable to use hardware MAC address.

Kindly advise a fix. Thanks in advance.
Mac randomization is disabled cos our device doesn't support it. Have u been able to connect to your WiFi on LOS 16? Can u send me logcat?

I'm trying to flash the rom to my nexus5 with twrp. The installation went ok, but when i boot, it seems to stuck at the loading screen (blue ball going from right to left). Am I doing something wrong?
Looks very strange. Have u wiped your partitions before installation? Tell me version of TWRP and versions of ROM, GAPPS and Magisk you tried to install.
 
  • Like
Reactions: eupalino

Toedels

New member
Jan 25, 2020
3
0
0
Mac randomization is disabled cos our device doesn't support it. Have u been able to connect to your WiFi on LOS 16? Can u send me logcat?


Looks very strange. Have u wiped your partitions before installation? Tell me version of TWRP and versions of ROM, GAPPS and Magisk you tried to install.
I'm a little further. I've installed lineage-17.1-20200119-UNOFFICIAL-hammerhead.zip and it's booting. But when i want to install open_gapps-arm-10.0-pico-20200124.zip, it says there's not enough space.
 

Somebod y

Senior Member
Aug 20, 2012
251
110
73
Did you resize your partition?
As 07/19 u have to resize, here is the tutorial:


How to increase system (assuming that u have unmodified partitions):
1. Flash twrp-3.3.1-HH-hammerhead.img
2. Open terminal (TWRP -> Advanced -> Terminal)
3. Type hh_repart -m
4. Wait until your phone reboots.

How to revert everything:
1. Open terminal (TWRP -> Advanced -> Terminal)
2. Type hh_repart -r
3. Wait until your phone reboots.
4. Install original TWRP (3.3.1-0 at the current moment)

Download: https://mega.nz/#!x840QaZT!zjxqy1mK07u--T0Jt4451BLiwmpELe4GFdgW-20s4zc

Credits: @z3DD3r
 

z3DD3r

Senior Member
Feb 9, 2016
168
1,027
123
Minsk
I'm a little further. I've installed lineage-17.1-20200119-UNOFFICIAL-hammerhead.zip and it's booting. But when i want to install open_gapps-arm-10.0-pico-20200124.zip, it says there's not enough space.
This old build is permissive and device is not certified in Play Market. Use build 20200123 or newer cos they are enforcing.
 
  • Like
Reactions: eupalino

anilspice

Senior Member
Oct 28, 2006
50
12
0
New Delhi
www.ani-soft.com
Mac randomization is disabled cos our device doesn't support it. Have u been able to connect to your WiFi on LOS 16? Can u send me logcat?

Thanks for response. Had earlier been using crdroid pie rom till Nov 2019 with system partition extended to 1.5 GB and Micro gapps. All was fine till then. As I usually keep on updating the apps regularly..In Dec 19 wifi stopped working. I thought had a hardware failure. The hammerhead kept on going without wifi as it was not a daily driver. In Jan I repartioned the sys again to 2GB using TWRP 3.3.1-2.0GB HH and installed LOS 17.0 with stock gapps as I had enough space. It worked with few minor issues then i kept on upgrading every day as you kept on building now on 25 th Jan 17.1 LOS with 16jan stock gapps.

All builds worked perfectly...but without wifi, which used to trun on sometimes after I copied .mcaddr from /persist to /data/misc/wifi folder through TWRP file manager...but is still unable to download or update data and automaticaly switches back to cellular data.

As far as logcat...kindly advise how to!! As I had never done that.
I am not a developer or IT guy. Hope above helps.
Regards

Added info: Had gone back to stock and installed TWRP HH 1.5 Gb few times. Installed LOS 16 to but the same issue remains...unable to connect to my home static IP as my wifi is hidden and all devices on my home network have individual IP address.
 
Last edited: