yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] ipdev:
I should have known you had a script for it. ;)

The only hiccup would be the initial install or a clean flash since no backup scripts are installed or run.

PS.

Odds and Ends is an essential bookmark in my opinion. :silly:

I should have remember that it was brought over to Lineage proper.

Anything you and/or amaces is involved in is almost a guarantee. :D

Thank you for the test build. :D

For me it works properly.

The system image is resized if required.

TESTING ...

I tried most everything I could think of.

I even reverted the partition(s) back to stock size for testing.

All testing was done starting from a clean install.

fastboot erase [boot, cache, system and userdata]

TWRP-> Wipe-> Format

TWRP-> Wipe-> (Select all)

TWRP-> Reboot recovery.

Installs were done by adb sideload.

Files used in testing:

twrp-3.3.1-0-hammerhead.img

lineage-14.1-20200217-UNOFFICIAL-hammerhead.zip

lineage-14.1-20200331-UNOFFICIAL-hammerhead.zip

open_gapps-arm-7.1-pico-20200325.zip

Stock partition size.

lineage-14.1-20200217 + OpenGapps Pico -> Dirty flash/update to 20200331.

lineage-14.1-20200217 -> Dirty flash/update to 20200331.

lineage-14.1-20200331.

Modified partition size.

Same as above but, testing included both expanding and NOT expanded 20200217 to fill the system partition prior to dirty flashing.

I did not run into anything broken or ForceCloses.

I did not try everything, just the main parts and what I use.

The only oddity I noticed, was under Developer options and only between using gapps or no no gapps.

Lineage only, the option to toggle off Verify apps over USB is greyed out.

With gapps installed, this option becomes available to toggle off/on. Not a problem though.

If you (or anyone) is interested in a look.

TWRP log of dirty flash with pico installed.

So a few errors at the end when the OpenGapps backup scripts runs.

Most likely OpenGapps issue. OpenGapps seem to always dirty a TWRP log.

Stock Partition layout

Recovery log - Dirty flash 20200331 over 20200217 + Pico

PastBin N5_L141_Stock_Update - Link

Modified Partition layout

Recovery log - Dirty flash 20200331 over 20200217 + Pico

PastBin N5_L141_Resized_Update - Link

I am quickly testing and may have miss something but, for now I'd say it seems to be working without error.

Only using Pico for testing at the moment for other reasons. Will do some better testing this weekend using older builds of OpenGapps or MindTheGapps.

Cheers all. :cowboy:
[Nexus 5 Original Android Development] osm0sis:
I'll see what I can do about those Open GApps addon.d errors.. I fixed similar ones in the installer not that far back: https://github.com/opengapps/opengapps/commit/50103179813edf09894b6bbcda0fa051f0ac9f6f :)
[Nexus 5 Original Android Development] osm0sis:
Aaand done. ;)

https://github.com/opengapps/opengapps/pull/828
[Nexus 5 Original Android Development] razorloves:
New build with March 2020 security patches ?

lineage-14.1-20200407-UNOFFICIAL-hammerhead.zip

changes:

https://review.lineageos.org/q/topic:n-asb-2020-03

https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/269676

https://review.lineageos.org/c/LineageOS/android_external_p7zip/+/264933

https://github.com/LineageOS/androi...mmit/489fa08a73d6e1d121ee39cb343ce05a7e41a5fa
[Nexus 5 Original Android Development] razorloves:
New build with April 2020 security patches

lineage-14.1-20200502-UNOFFICIAL-hammerhead.zip

changes:

https://review.lineageos.org/q/topic:"n-asb-2020-04"

https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/271078

https://review.lineageos.org/q/topic:"CVE-2020-8597_cm-14.1"
[Nexus 5 Original Android Development] ridvanb:
Has anybody been able to download?

It says no mirror to download.
[Nexus 5 Original Android Development] retry0001-coffee:
Nope. Same problem here.
[Nexus 5 Original Android Development] razorloves:
updated download link
[Nexus 5 Original Android Development] Poor Grammar:
Same here Download link broken for us at least
[Nexus 5 Original Android Development] scjorge:
thanks for updating the link!

I got it installed and I am reviving the hammerhead.

until now all is good except for one thing:

I can't find my ChromeCast...

Settings>Display>Cast>TopRightMenu>Activate is ticked

the device is rooted with magisk

how can I fix this?
[Nexus 5 Original Android Development] razorloves:
need gapps for that
[Nexus 5 Original Android Development] ChongoDroid:
Bless all those who keep this device updated. ?
[Nexus 5 Original Android Development] scjorge:
oh! I see, thanx!

but... I'll keep this hammerhead google-free
[Nexus 5 Original Android Development] razorloves:
new build with May 2020 monthly security patches from google :good:

lineage-14.1-20200609-UNOFFICIAL-hammerhead.zip

changes:

https://review.lineageos.org/q/topic:n-asb-2020-05

https://review.lineageos.org/q/topic:tzdb2020a_N
[Nexus 5 Original Android Development] razorloves:
new build with June 2020 monthly security patches from google :good:

lineage-14.1-20200629-UNOFFICIAL-hammerhead.zip

changes:

https://review.lineageos.org/q/topic:n-asb-2020-06
[Nexus 5 Original Android Development] Me,You,and Daigorou:
Thanks

I created XDA account to say thank you.

I've heard that the Official LineageOS14.1 development will be stopped, so I understand that your Unofficial LOS14.1 will also be stopped one of these days.

In any case, I sincerely thank you.

---------- Post added at 08:10 AM ---------- Previous post was at 07:59 AM ----------

I forgot it...

TWRP-3.4.0-0 was released a week ago, but we can't flash LOS14.1 with it. (error 7 )

So I advice you stay 3.3.1-0.
[Nexus 5 Original Android Development] sant514:
[MENTION=614507]razorloves[/MENTION] is the former official developer for the official Lineage 14.1 Hammerhead.

From the March 2019, he builds and uploads once per month, the unofficial 14.1 with monthy security patches from Google.

The only differences with this build compared to official build is, it's not signed with lineage private key and the su addon is included..

Please read the post 2994

.
[Nexus 5 Original Android Development] Me,You,and Daigorou:
I misunderstood that the unofficial ROM is completely corresponded to the official ROM, that means that LOS Team develops the source of ROM including Security Patchs, and then everyone builds their own ROM, for Nexus, Galaxy, etc..

In the case of Nexus5, we've been abandoned by LOS Team, so I thought razorloves was building new ROMs from the source including Security Patchs every month. (but actually, no)

Thank you razorloves and sant514.
[Nexus 5 Original Android Development] mandayugana:
I did update LOS 14.1 with TWRP 3.4.0 today. It worked.
[Nexus 5 Original Android Development] Me,You,and Daigorou:
I have two Nexus5 and both showed me the same error 7 using TWRP3.4.0.

So I re-flashed TWRP3.3.1 and I could flash ROM.

It may be that my environment of Nexus5 is abnormal, but I can't find out why.

I asked a same question on another site in Japan, and I received a response that it succeeded in flash with TWRP3.4.0.

Did the everyone succeed?
[Nexus 5 Original Android Development] razorloves:
new build with July 2020 monthly security patches from google :good:

lineage-14.1-20200728-UNOFFICIAL-hammerhead.zip

changes:

https://review.lineageos.org/q/topic:n-asb-2020-07

https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/281454
[Nexus 5 Original Android Development] Me,You,and Daigorou:
Thanks razorloves for build new ROM.

I understood why I couldn't flash a ROM using TWRP-3.4.0-0.

I always wiped ART Cache and Cache before flash ROM. In this case, we'll get error 7.

I tried to not wipe before flash ROM, and it works.

Gapps, we can flash it after wiping ART Cache and Cache.
[Nexus 5 Original Android Development] ritchie_z:
NFC

Hi All,

has someone managed to make an NFC payment app work? On the stock ROM I could register my bank card and use it for NFC payment, but with the ROM above the registration of my card starts, but it never finishes.
[Nexus 5 Original Android Development] razorloves:
new build with August 2020 monthly security patches from google :good:

lineage-14.1-20200902-UNOFFICIAL-hammerhead.zip

changes:

https://review.lineageos.org/q/topic:n-asb-2020-08
[Nexus 5 Original Android Development] Gaeguri:
Something that I do not understand so far, as I am new to all of this Android development stuff: Are these monthly security updates backports from newer Android versions that you (and maybe other Lineage developers) do by hand? Because as far as I see it in their security bulletin page, they do no longer release updates to AOSP 7.1.2.
[Nexus 5 Original Android Development] Gaeguri:
And to add another question, as I am trying to understand the build process a bit more: What kernel version do I actually get when I do "breakfast hammerhead"? It just identifies itself as 3.4, with no sublevel version given in the makefile or the final build. Is it 3.4.113? With additional backportet patches? Or is it just an earlier 3.4 revision? Thanks for explaining any of this, as it is super confusing when you start with these things! :)
[Nexus 5 Original Android Development] razorloves:
new build with September 2020 monthly security patches from google :good:

lineage-14.1-20201012-UNOFFICIAL-hammerhead.zip

changes:

https://review.lineageos.org/q/topic:n-asb-2020-09

https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/285265
[Nexus 5 Original Android Development] Me,You,and Daigorou:
Thank you razorloves.
[Nexus 5 Original Android Development] razorloves:
new build with October 2020 monthly security patches from google :good:

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

all changes:

https://review.lineageos.org/q/topic:n-asb-2020-10

https://review.lineageos.org/q/topic:tzdb2020b_N

https://review.lineageos.org/q/topic:webview_86.0.4240.114
[Nexus 5 Original Android Development] Bilalll:
OOPs

OOPS!

no mirrors found.

Please re-upload?!
[Nexus 5 Original Android Development] emrahcelik:
I'm receiving a corrupt zip error with this one. Can you check the file, please? Thank you.

P.S. already tried redownloading the file! This error is only the case for the latest version.
[Nexus 5 Original Android Development] razorloves:
sorry about that. happened to several of my files on androidfilehost . they've really been screwing up lately.

new link in post above. switched over to sourceforge. :fingers-crossed:
[Nexus 5 Original Android Development] Me,You,and Daigorou:
Oh, really? I've already downloaded the latest version from Androidfilehost and flashed it without error. MD5 also matched. It seems to be a normal file.
[Nexus 5 Original Android Development] razorloves:
New build with December 2020 security patches from google (y)

razorloves-lineage - Browse /hammerhead at SourceForge.net

sourceforge.net

changes since last build:

https://review.lineageos.org/q/topic:n-asb-2020-12

https://review.lineageos.org/q/topic:n-asb-2020-11

https://review.lineageos.org/q/topic:N_CVE-2020-15999

https://review.lineageos.org/c/LineageOS/android_packages_apps_Email/+/289682

https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/293123
[Nexus 5 Original Android Development] kkjb:
Excellent gift ! Thank you very much. I am so happy to power up my smallest device. Like a old reliable car ...

I have more than a few... It runs, its current and it works.. Nothing more

to say :)
[Nexus 5 Original Android Development] arc_knight:
Oh wow, this ROM is getting updates again? Man its been over 2 years since I installed this ROM and I have not updated it since 2018. I dont remember anymore how I did, what I did to install ROMs lol. Guess I feel old smh.

Anyone can gimme a quick steps to follow to update my 2018 build to 2020, in case I want to?
[Nexus 5 Original Android Development] Mr.FREE_Bird:
Well since it's a long time ago since you flashed a ROM you may need to update TWRP too. I can highly recommend this one:

https://xdaforums.com/t/recovery-unofficial-twrp-hh-for-nexus-5-hammerhead.4047653/

I'm not completely sure if you can flash the new unofficial builds on top of an old official version of this ROM so don't forget to take a backup before flashing the ROM.

Flashing the ROM is very simple:

Updating without wiping data instructions, aka dirty flashing:

1. Copy the ROM zip, Gapps zip and the Magisk zip to your device. (both Gapps and Magisk are optional)

2. Boot into Recovery.

3. Flash the ROM zip.

4. Optional: Flash the Gapps zip.

5. Optional: Flash the Magisk zip.

6. Wipe Dalvik / Art Cache & /Cache.

7. Reboot to System.

Clean flashing instructions for in case dirty flashing does not work:

1. Copy the ROM zip, Gapps zip and the Magisk zip to your device. (both Gapps and Magisk are optional)

2. Boot into Recovery.

3. Wipe Dalvik / Art Cache, /System, /Data & /Cache.

4. Flash the ROM zip.

5. Optional: Flash the Gapps zip.

6. Optional: Flash the Magisk zip.

7. Reboot to System.

That's it, good luck!
[Nexus 5 Original Android Development] arc_knight:
Lovely. Just the guide i wanted. Now about that battery of Nexus 5. I just don't know what to do about the really ruined battery.
[Nexus 5 Original Android Development] tmihai20:
Get a replacement battery. I bought a (new for me) 32 GB Nexus 5 and 2 batteries to replace batteries on both of them. There should be some around for low prices. There are guides on how to take the back panel out (just don't rush it and take your time to slowly get the adhesive to un-stick).
[Nexus 5 Original Android Development] canpolat28:
Can I keep on the hotspot 24 hours this rom ?
[Nexus 5 Original Android Development] razorloves:
New build with January 2021 security patches from google (y)

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

changes since last build:

-https://review.lineageos.org/q/topic:n-asb-2021-01

-https://github.com/LineageOS/androi...mmit/0c714fb2b2b812256b4120fe428d26ac8e490904
[Nexus 5 Original Android Development] pluto123:
Thank you!!!
[Nexus 5 Original Android Development] NetIHeCat:
Thank you for supporting the build for our device
[Nexus 5 Original Android Development] razorloves:
New build with February 2021 security patches from google (y)

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

changes since last build:

- https://review.lineageos.org/q/topic:n-asb-2021-02

- https://review.lineageos.org/q/topic:n-iptables
[Nexus 5 Original Android Development] NetIHeCat:
New build! Cool!
[Nexus 5 Original Android Development] ridvanb:
Thank you very much for your support. When will you release the new build with march 2021 securty patches?
[Nexus 5 Original Android Development] razorloves:
New build with March 2021 security patches from google (y)

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

changes since last build:

- https://review.lineageos.org/q/topic:n-asb-2021-03

- https://review.lineageos.org/q/topic:tzdb2021a_N

- https://review.lineageos.org/q/topic:n-netd
[Nexus 5 Original Android Development] NetIHeCat:
The settings menu opens with a delay of 3-4 seconds. This is a trifle but not very pleasant. I would like to ask you to fix this.
[Nexus 5 Original Android Development] srepole:
I have no delay, i' m running March 2021 update. I recommend to check your installation.
[Nexus 5 Original Android Development] NetIHeCat:
But I have a clean install (also March)
[Nexus 5 Original Android Development] razorloves:
New build with April 2021 security patches from google (y)

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

changes since last build:

- https://review.lineageos.org/q/topic:n-asb-2021-04

- https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/305088
[Nexus 5 Original Android Development] td32:
would really appreciate if you post the hash also.

Thank you
[Nexus 5 Original Android Development] Me,You,and Daigorou:
You can get hash from here.

View attachment 5284723

View attachment 5284725
[Nexus 5 Original Android Development] NetIHeCat:
twrp error 7
[Nexus 5 Original Android Development] mandayugana:
Is there a way to change ro.debuggable to 0 without installing Magisk?
[Nexus 5 Original Android Development] razorloves:
New build with May 2021 security patches from google (y)

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

changes since last build:

- https://review.lineageos.org/q/topic:n-asb-2021-05

- https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/308057
[Nexus 5 Original Android Development] razorloves:
New build with June 2021 security patches from google (y)

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

changes since last build:

- https://review.lineageos.org/q/topic:n-asb-2021-06

- https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/312860
[Nexus 5 Original Android Development] razorloves:
New build with *most but not all* July 2021 security patches from google (y)

There are 2 security patches that haven't been backported yet. (1 & 2)

So the patch level date in settings will still say June 2021.

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

changes since last build:

- https://review.lineageos.org/q/topic:n-asb-2021-07

- https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/313782
[Nexus 5 Original Android Development] razorloves:
New build with August 2021 security patches from google (y)

Note: There are 2 security patches that haven't been backported from July ASB. (1 & 2)

So the patch level date in settings will still say June 2021.

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

changes since last build:

- https://review.lineageos.org/q/topic:n-asb-2021-08

- https://review.lineageos.org/q/topic:webview_94.0.4606.71
[Nexus 5 Original Android Development] NetIHeCat:
Thanks for supporting our device! Now I will install a new assembly.
[Nexus 5 Original Android Development] tmihai20:
I own 2 Nexus 5 and I installed this ROM on my old 16 GB Nexus 5. It is unbelievably smooth. The other (32 GB variant) is running Android 11 CrDroid and it is good, but not as smooth and as easy on resources as Android 7 aka Nougat (LineageOS 14.1). I noticed that the newer the Android base is, the less smooth is Nexus 5. Please keep adding patches. I am using the latest available release right now which is lineage-14.1-20211021-UNOFFICIAL-hammerhead.zip.
[Nexus 5 Original Android Development] MilkisFTW:
I agree that this is the best ROM for this device by far. You will not get better performance than with this one. I really hope that razorloves continues to work on it! But I guess it becomes more and more time-consuming to backport all of the changes as the AOSP 7 source tree is no longer maintained.
[Nexus 5 Original Android Development] razorloves:
I haven't made new builds because the newer monthly security patches haven't been merged into lineageos source yet.

But they're on gerrit and have positive reviews (see links below), so i'll cherry-pick them and make a new build.

https://review.lineageos.org/q/topic:n-asb-2021-09

https://review.lineageos.org/q/topic:n-asb-2021-10

https://review.lineageos.org/q/topic:n-asb-2021-11

https://review.lineageos.org/q/topic:tzdb2021c_N
[Nexus 5 Original Android Development] razorloves:
New build with Sep/Oct/Nov 2021 security patches from google (y)

Note: There are 2 security patches that haven't been backported from July ASB. (1 & 2)

So the patch level date in settings will still say June 2021.

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

changes since last build:

- https://review.lineageos.org/q/topic:n-asb-2021-09

- https://review.lineageos.org/q/topic:n-asb-2021-10

- https://review.lineageos.org/q/topic:n-asb-2021-11

- https://review.lineageos.org/q/topic:tzdb2021c_N

- https://review.lineageos.org/q/topic:webview_96.0.4664.104
[Nexus 5 Original Android Development] tinolino12:
Thank you so much for keeping this up to date!

System Uses 17GB

After installation I checked the disc usage and saw that system is using around 17GB of space on a freshly installed rom. How can this be - given that the nexus 5 comes also in a 16 GB version which wouldn't even hold that much space. Is this normal? Any hints why my system folder is so huge?
[Nexus 5 Original Android Development] kkjb:
Sorry for pic, so used to screenshot!

Here is a dirty install and it's same as always. Working fine here. View attachment 5515717
[Nexus 5 Original Android Development] tmihai20:
Just dirty flashed lineage-14.1-20220121-UNOFFICIAL-hammerhead.zip in recovery, wiped Cache and Dalvik Cache and rebooted. My Nexus 5 was also rooted. Everything seems to be quite ok.
[Nexus 5 Original Android Development] NetIHeCat:
My settings open with a two second delay. (clean install) Do you know how to fix this?
[Nexus 5 Original Android Development] tuxayo:
Hi :) Does anyone know if it's possible to migrate without wipe from an unofficial built of Lineage 14.1 to this one?

Do the migration zips need to be specific for the source and target ROM? Or is there a zip that allow to migrate from any (relevant) ROM to this one?

Or is there another way to not wipe to migrate to this ROM? Maybe something like tweaking a TWRP data backup to replace the keys?

It amazing to see maintenance the Nexus 5 :D
[Nexus 5 Original Android Development] razorloves:
New build with Dec/Jan/Feb/Mar security patches from google (y)

Note: There are 2 security patches that haven't been backported from July 2021 ASB. (1 & 2)

So the patch level date in settings will still say June 2021.

https://sourceforge.net/projects/razorloves-lineage/files/hammerhead/

changes since last build:

- https://review.lineageos.org/q/topic:n-asb-2021-12

- https://review.lineageos.org/q/topic:n-asb-2022-01

- https://review.lineageos.org/q/topic:n-asb-2022-02

- https://review.lineageos.org/q/topic:n-asb-2022-03

- https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/327689
[Nexus 5 Original Android Development] johndoe901:
OpenGapps Nano don't fit into the system partition on my 16GB nexus 5. Is there a working repartition script?
[Nexus 5 Original Android Development] ssauger:
Use Pico and install missing apps in plystore.
[Nexus 5 Original Android Development] NetIHeCat:
Long time no updates. Tell me, will there be new builds?
[Nexus 5 Original Android Development] mruibal:
I have a problem with sensors, all dissapeared. Is there any fix for this?
[Nexus 5 Original Android Development] mruibal:
I solved this problem the solution is:

Boot into twrp, mount persist partition and remove /persist/sensors folder

It must be erased the whole folder, not just erase all files inside this folder.

All works fine now!!! Many thanks to all rom maintainers!!!
[Nexus 5 Original Android Development] mruibal:
Now I realiced that gps does not work. It is unable to get a fix. No gps satellites detected. Any solution?
[Nexus 5 Original Android Development] sunnysky:
Thanks for this!

My compass hasn't been working since I changed the main board (2 years ago) I thought I must have damaged something. But I tried this, and now it works.

GPS is still OK too.
[Nexus 5 Original Android Development] MilkisFTW:
Since it has been almost a year since the last update: Can we still hope for a release with recent security patches?
[Nexus 5 Original Android Development] sanchitgangar:
Is there a detailed step by step guide somewhere that I can follow to install this ROM on my phone? I am a newb at this but can follow along instructions if listed somewhere.

I am not a developer/coder
[Nexus 5 Original Android Development] curiousrom:
See https://wiki.lineageos.org/devices/hammerhead/install besides the post #1 in this thread.

***
[Nexus 5 Original Android Development] SimoTRU7H:
Noob question: just downloaded the last nightly through cm ota updates, do i need twrp to apply the update? Because i still have the standard recovery right now..
[Nexus 5 Original Android Development] 7-down:
Yeah, you'll need TWRP