yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] P4Block:
Honestly I wouldn't be surprised if the networking stack wasn't omega-borked after being tossed and patched and passed around for more than 4 years at this point. WiFi hostspot isn't working in this rom, I discovered yesterday, which could be a symptom.

Thing is with this crap embedded consumer hardware platform known as phones, the only way to get a properly working and modern stack is to simply buy a newer phone, or have some kind of crazy maintainer that can backport thousands of lines of kernel patches.

If the remaining Nexus 5 survive for a year or two longer, this will be their future. Once mainline kernel fully works, Linaro Android could be ported to a new "mainline hammerhead" device tree.

I doubt I'll ever see that though. My own Nexus 5 is almost dead at this point, random shutdowns and its fourth new battery. I'm just hoping it survives until I can get a Treble-enabled phone like the next "budget Pixel" or a cheap Mi A1 to hold until then.
[Nexus 5 Android Development] GopalKaul:
Hey if we get the remaining 1% upstream, it will become official?
[Nexus 5 Android Development] linuxct:
---------- Post added at 19:53 ---------- Previous post was at 19:49 ----------

Come to the Razor dark side, we have GSIs :D
[Nexus 5 Android Development] GopalKaul:
Zuk z2 plus has got treble support unofficially and is very similar to nexus 5! Check it out!
[Nexus 5 Android Development] feierabend:
Franco Kernel still has ridiculous battery drain. Elemental X still not booting as well.

.. Just for those who can make use out of this information.

Thank you and cheers
[Nexus 5 Android Development] Johnfoo19:
Dirty flash over previous build, Google camera not working and Snapcamera crashes. But hey, everything else is working good.
[Nexus 5 Android Development] szili9992:
Did you wipe your cache after flashing? Google camera is working for me and I also dirty flashed over previous build.
[Nexus 5 Android Development] Johnfoo19:
Actuallly i didn't.

I've just wiped caches and both cameras are working. In addition i wiped / deleted android/data folder in internal storage.
[Nexus 5 Android Development] swapnildixit3:
Experiencing heavy battery drain on this build
[Nexus 5 Android Development] Locura18:
Same here. Previous build had decent battery life. But not this one. But the OP mentioned that he had changed the kernel source or something along those lines.
[Nexus 5 Android Development] swapnildixit3:
Rozerlove had made many changes recently. Will that improve battery life?
[Nexus 5 Android Development] GianniDPC:
Does widevine work on this ROM?
[Nexus 5 Android Development] P4Block:
I am not experiencing any abnormal drain (in fact, I am not using gapps atm and getting 1.5-2 days of battery life out of this thing, which is insane)

I will post a build tomorrow with the latest android security patch. We'll see.
[Nexus 5 Android Development] JekaPinsk:
What kernel will you use? I see wifi tethering seems to be broken and battery life is worse with "official" kernel. This actually is the reason why I haven't updated to latest build.

Currently I have full day run from one charge, and loose 1% if forget to connect charger for night. Hope official lineage will do at least as good as your builds! Thanks.
[Nexus 5 Android Development] P4Block:
I am using the kernel that comes with the build (so, lineage kernel)

Don't use gapps guys

https://cloud.fosc.space/s/kepfQYe42X92M7Q

Probably not. I deleted my DRM keys from /persist so I can't test it either.

F DRM
[Nexus 5 Android Development] Locura18:
What are you using then. If I may ask?

Thanks
[Nexus 5 Android Development] eyeconic:
"Don't use gapps guys"

What does that mean? I was about to install this + Open_Gapps (pico)
[Nexus 5 Android Development] swapnildixit3:
Not gapps then how we will install things? Manually? N update?
[Nexus 5 Android Development] P4Block:
I use nothing. I used to use MicroG to be able to use Maps and Inbox, but not anymore.

I sync my contacts to Nextcloud, download apps through F-Droid/Yalp and use maps as a webapp. Telegram and Whatsapp both support polling messages themselves (without google cloud messaging/google play services) and thanks to Doze, battery lasts insanely long.

The N5 has severe firmware bugs in its radio that are also worsened by a broken kernel. But it's not broken "lately", it's been always broken. Snapdragon 8xx phones are a ****show. If your phone suddenly decides to go full oven mode in your pocket and your battery lasts 6 hours, say thanks to Qualcomm and the entire industry for not learning to upstream their poor quality code.

Google Play Services is an immense CPU, RAM and battery drain, but it's even worse on this broken phone. Don't use it if you don't need it.

Anyhow, building June security patch...
[Nexus 5 Android Development] P4Block:
Update

June security patch

25 whole levels of media volume adjustment

Charging "rapidly/slowly" message now works, (it didn't?)

Trust now properly mentions that this device has ancient firmware and should be borderline unusable for security minded people

Camera recording is fixed-er++

Is bluetooth audio calling working properly now?

Swapped battery on my phone and stopped using gapps, it doesn't shut down anymore and I get 4hr SoT and 2 days usage. I recommend.

Download
[Nexus 5 Android Development] shri_chanakya:
May I ask which battery did you buy?
[Nexus 5 Android Development] P4Block:
A friend gave it to me because his nexus 5 was destroyed on a hard impact but the battery was salvageable. I actually have no idea. Manufacture date is around 2015. Probably a fake one, but it's working extremely fine.
[Nexus 5 Android Development] naitikgolakiya:
Mobile hangs while unlocking pattern lock
[Nexus 5 Android Development] feierabend:
yes, dont set pattern lock - had to wipe /system

anyhow, thanks for update
[Nexus 5 Android Development] Ahkah:
With "Don't use gapps guys" he meant that you shall not use gapps guys.

So just get a dictionary and find out what a gapps guy is.
[Nexus 5 Android Development] Huexxx:
It's still broken.
[Nexus 5 Android Development] Vanquish17:
Is this rom going to be official in future?
[Nexus 5 Android Development] GopalKaul:
Why not? With [MENTION=614507]razorloves[/MENTION] and [MENTION=4473900]amaces[/MENTION] are working waaay hard to get a stable device tree. once we get all bugs fixed, we will get official LOS 15.1 . Thank you devs for helping us! And for working on this old beast!
[Nexus 5 Android Development] JeekWay:
it seems that i can't set any types of screen locks except None or Swipe, or my phone won't work until i use TWRP delete the screen lock files.
[Nexus 5 Android Development] feierabend:
Again what learned :D - i wiped whole system :cyclops:
[Nexus 5 Android Development] Prototype18:
Super ROM . Everything works fine, been using it for a month + very happy with performance and battery life. Getting 3+ SoT with OEM battery. Any updates on bluetooth audio ?
[Nexus 5 Android Development] P4Block:
Updatelord

Hammerhead changes:

New GCC 4.9 built kernel with specific krait optimizations, no placebo this time, actually faster. Programs can now use hardware divide (wow, such an advanced operation!)

Re-adds treble OMX, again.

Upstream lineage changes:

Ultra fast hosts file parsing due to memory caching. Adaway should work much better now.

No wallpaper tint anywhere polluting lockscreen, notification shade and others.

Download
[Nexus 5 Android Development] devin2:
Hi

Is this rom support DRM Widevine ?
[Nexus 5 Android Development] P4Block:
Working on it, it's there but buggy on the latest build I think. I can't test due to wiped DRM keys.
[Nexus 5 Android Development] kingkhan2843:
Hello sir please add LCD KCAL in your new update and thanks for your great rom.
[Nexus 5 Android Development] devin2:
I test this ROM and "DRM widevine not supported"... Sorry
[Nexus 5 Android Development] Jeeza:
Interested too.
[Nexus 5 Android Development] naitikgolakiya:
Can anybody confirm if pattern lock issue solved in new build?
[Nexus 5 Android Development] Hubird:
You tell us!
[Nexus 5 Android Development] Nt0G:
If you mean the phone hanging after using pattern unlock then yes, it doesn't happen.
[Nexus 5 Android Development] klikit:
Fantastic rom

This rom has improved a lot since the last time I tried it, especially as regards the autonomy.. congratulations and thanks to [MENTION=5567986]P4Block[/MENTION]
[Nexus 5 Android Development] P4Block:
Update

Upstream Lineage changes:

A lot

Hammerhead specific changes:

Disabled radio debug driver and multi-SIM daemon that we apparently had

Widevine DRM should work now

Wipe caches and reboot at least once (camera won't work first boot as usual)

For some reason I feel this build is extremely snappy. Can anyone confirm there is a difference?

Download
[Nexus 5 Android Development] corumuk:
Just the Bluetooth audio bug (distortion during calls) preventing me from using this ROM for now. Be good to get a fix at some point.
[Nexus 5 Android Development] rnadomuc:
I'd really like signature spoofing to be implemented for NanoDroid use... being able to pass SafetyNet checks would be so much more convenient than using stuff like FakeGApps.
[Nexus 5 Android Development] JekaPinsk:
Thanks for the build!

Is selinux enforcing now?
[Nexus 5 Android Development] wbedard:
No, not yet.
[Nexus 5 Android Development] P4Block:
Use Magisk
[Nexus 5 Android Development] rnadomuc:
Magisk does not help with signature spoofing. It will tell you if you can pass a SafetyNet check or not.

Signature spoofing is necessary to use MicroG plus the official Play Store together, i.e. what NanoDroid does.
[Nexus 5 Android Development] P4Block:
Magisk WILL pass you SafetyNet. You can inject signature spoofing with root too if stuff hasn't changed since I last used microG. You should also have no reason to use the Play Store+microG when Yalp or Aurora exist.
[Nexus 5 Android Development] rnadomuc:
microG uses significantly less system resources. It's all custom code. That's why you can't pass SafetyNet with microG unless you have signature spoofing. Magisk won't fix that.
[Nexus 5 Android Development] eyeconic:
I am delaying the inevitable. Can I go from Hammerhead-CAF 14.1 to this build?

Thanks

---------- Post added at 03:36 PM ---------- Previous post was at 03:34 PM ----------

I am delaying the inevitable. Can I go from Hammerhead-CAF 14.1 to this build? Oh, apparently there is a bluetooth problem. Music, voice or both?

Thanks
[Nexus 5 Android Development] P4Block:
Update

Upstream Lineage changes

Android July security patch!

Sexy pure #000 black theme that is worth upgrading to anyway

Hammerhead specific changes

The rom can now run SELinux enforcing, but there are a few unwanted denials (such as not being able to read temperature sensors), disabled for now.

Own stuff

Playing with the kernel, I enabled the dynamic voltage regulator option that is enabled in other msm8974 platforms. Doesn't appear to cause harm, but I can't tell if there is a measurable long term difference. Trepn is showing 0mW drained by the CPU at times with the patch, so it may be doing something?

Battery life and new theme shown here.

DOWNLOAD
[Nexus 5 Android Development] linuxct:
Amazing work!
[Nexus 5 Android Development] dm1980:
Excellent work. His rom is very light. I would just like to know why it does not let me install Dolby Atmos as I did with Los 14.1
[Nexus 5 Android Development] rnadomuc:
[MENTION=5567986]P4Block[/MENTION] NanoDroid is a Magisk module that includes microG. It is all custom, open source code meant to replace OpenGApps

By default, microG cannot pass SafetyNet by default because it replaces Google Play Services.

There are two ways around this issue. The less effective one is using an Xposed module called FakeGApps. While this allows you to use the official Play Store, it does not allow you to pass SafetyNet - particularly because you have to install Xposed.

The more effective way is to add 'signature spoofing', which enables microG to appear to be the official Google Play Services and thus the phone passes SafetyNet.

This is why I would like if you could add signature spoofing to the ROM. The only other ROM I know of that has this feature is AOSP Extended, which has not been receiving hammerhead updates regularly. And this ROM offers much better performance on top of that.
[Nexus 5 Android Development] Maxx247:
Hi guys, can someone please tell me if the whatsapp (especially seeing the status of people) works on this Rom? I've saw some people saying they are not able to watch other people's status on whatsapp. Thank you so much Developer for giving us the Oreo treat!
[Nexus 5 Android Development] safato:
Amazing work! This ROM offers excellent performance. Thank you so much P4Block!
[Nexus 5 Android Development] 95A31:
[MENTION=5567986]P4Block[/MENTION] what is missing / not working to have this ROM official ? Can we help you in some way ?
[Nexus 5 Android Development] jobayer:
How i can eneble the theme ??

Edit: nevermind, got it ? thanks a lot
[Nexus 5 Android Development] ttocs99:
Installed this and its really fast.cheers
[Nexus 5 Android Development] ttocs99:
Is face unlock supported on this lineage version also would I have to install it via majisk
[Nexus 5 Android Development] gxfuzion92:
This rom have a center clock?
[Nexus 5 Android Development] Syaani:
Afaik none of the LineageOS ROMs has this feature. It seems to be missing on Oreo. Maybe there is Substratum theme that allows you to change clock position on status bar?

Edit: Some discussion about the topic and help https://xdaforums.com/pixel-xl/themes/center-clock-8-1-t3728957
[Nexus 5 Android Development] eyeconic:
Bluetooth

Briefly, what works and doesn't work with bluetooth?

Thanks

---------- Post added at 06:07 PM ---------- Previous post was at 06:03 PM ----------

I tried to go from HammerheadCAF to ordinary Hammerhead 14.1. No go without first restoring factory image. Would that apply here?
[Nexus 5 Android Development] axelgr:
Pretty nice rom! Well done!

The only thing that doesn't work for me is vibration. I don't get vibration when phone is ringing. Tried both aosp phone and google phone.

In settings Also vibrate for calls is on. Also if I enable Vibrate on tap I don't get any vibration.

Any idea?
[Nexus 5 Android Development] P4Block:
Your phone is broken
[Nexus 5 Android Development] DiamondJohn:
Am I blind? I can't see the Kernel and Device source links within the OP
[Nexus 5 Android Development] samir.gasymov:
Can somebody use audio in bootanimation?

It was possible (on Linageos 14.1) to play audio that bootanimation.zip may contain during bootanimation. File in link below.

Maybe this option not allowed by kernel?

Sorry, can't insert links yet.

File name is Pixel_Bootlogo_+_Bootanimation_+_Bootloader_(Black).zip
[Nexus 5 Android Development] P4Block:
There is no custom anything at this point. The device tree, kernel source and and vendor blobs are all in Lineage's repos, fully working without intervention.
[Nexus 5 Android Development] eyeconic:
A new back (Amazon carries them) will probably fix the issue (IWFM)
[Nexus 5 Android Development] axelgr:
Thanks for the help! Actually it was much easier to fix it. I just pressed the back of the phone where I saw in a YouTube video. I can't post links, sorry.

It just happened the vibration to stop working when I installed this rom. That's why I thought there was a bug.
[Nexus 5 Android Development] Chin_hebbar:
Would be helpful if you enable signature spoofing pre built in the rom like AEX getting xposed on just for fakegapps is not very useful just for using microg and it also breaks safetynet.
[Nexus 5 Android Development] ttocs99:
Use aex then as it all ready has what you need
[Nexus 5 Android Development] Chin_hebbar:
Aex thread got closed by the moderators and I kinda like this rom over it Aex has too many customisations for our 4 year old beast and this rom has everything I need.
[Nexus 5 Android Development] wolftail:
I see there are 2 new builds on the server not mentioned in the first post. Any reason for them not being mentioned? The first one runs ok for me and I am downloading the second one to test right now.
[Nexus 5 Android Development] ttocs99:
Didn't notice will have to check
[Nexus 5 Android Development] ttocs99:
My setup on los 15.1
[Nexus 5 Android Development] ttocs99:
Any chance you can link the 2 new ROMs can't seem to find them
[Nexus 5 Android Development] wolftail:
ROMs download link

Can't post links... :|

Take the posted rom download link and delete the filename. This should give you access to the whole folder.
[Nexus 5 Android Development] lulli1:
https://download.fosc.space/lineage/
[Nexus 5 Android Development] ttocs99:
Cheers for that wonder why op hasn't been updated?
[Nexus 5 Android Development] szili9992:
Maybe it's a test build. OP usually notifies us if there's a new build available.
[Nexus 5 Android Development] ttocs99:
I guest that new in the 24th build. Android patch and vendor patch
[Nexus 5 Android Development] JimPeck13:
Are u using pixel experience module magisk?
[Nexus 5 Android Development] ttocs99:
No just changed system accent colour to blue
[Nexus 5 Android Development] P4Block:
apdeit

The downloads dir is where jenkins spits out the builds I do no matter what, unless I post them here those builds may have whatever / breaking changes. One of them I think doesn't have a working keyboard, lol.

That said the past two builds have been flawless, I was testing some changes. I didn't want to release before meaningful additions were made.

It's time.

Lineage Changes

Clock position customization

Revamped and working stock email app (now properly works with Oreo battery saving)

QoL improvements in Phone and Contacts (now it can ask you which account to phone from, among other things)

Volume hold to skip music track / long press power to turn on torch while on ambient display

SMS limit in Trust

DOWNLOAD

Note for people who want the signature spoofing patch: I won't add it while there are no official Lineage builds as I want this release to be as stock as possible. I have used microg in the past and currently I don't run any gapps or microg at all, so I see your pain. I recommend you just build your own zips as it currently works ootb to do so.
[Nexus 5 Android Development] JimPeck13:
How do it that?
[Nexus 5 Android Development] ttocs99:
Settings, display, advanced, style ,accent colours
[Nexus 5 Android Development] eyeconic:
Very nice - my thanks and congratulations

I am too cheap to replace this phone which does everything I need.

I disregarded advice and installed GAPPS. I tried both the pixel and trebuchet launchers, preferring the latter. The only thing that I cannot get to work is "OK Google." Google assistant works and once activated by a long press on the home button it responds to voice. I just cannot activate it by voice. No big deal.

I am having no problems with bluetooth or networking. Everything seems to work as it should. I just need to re-root the damned thing.

Again, many thanks
[Nexus 5 Android Development] Jeeza:
Still no changes for bluetooth audio call quality?
[Nexus 5 Android Development] kingkhan2843:
hi respected developer please add LCD KCAL feature in kernel please please.Thanks
[Nexus 5 Android Development] P4Block:
I just bought a Mi A2 and suggest anyone still using the N5 does the same. It's had a good run.

It could've been much more if it wasn't for the sad state of affairs on the open source world. (blame qcom and google) Maybe one day linux-mainline fully supports the device and something can be done, but at that point few N5s will even be alive. Check out postmarketOS wiki and links on the matter.

I will keep posting builds until official 15.1 is released. My N5 is still alive, now living his retirement as a dedicated TOTP device.
[Nexus 5 Android Development] Prototype18:
Guys im having huuuuuge battery drain from mobile network standby. What can i do
[Nexus 5 Android Development] DiamondJohn:
Have you tested what effect switching to 2G has?
[Nexus 5 Android Development] Prototype18:
I could try it buy i need LTE at all costs. Maybe i need to change carrier ?
[Nexus 5 Android Development] Locura18:
I have stock kernel and everything is working normally in terms of battery drain. In the previous build I had switched to Franco kernel because of the drain. But now it's fine. Maybe try reflashing again.
[Nexus 5 Android Development] DiamondJohn:
However, do you need LTE while the screen is off?
[Nexus 5 Android Development] Prototype18:
I tried with 2G still huge drain. Like 48% from mobile network standby. I open to other suggestions before reflashing. Im on stock kernel also.Rooted with magisk.
[Nexus 5 Android Development] Krizthian:
Try with Greenify, disabling some services or apps.

Greetings.
[Nexus 5 Android Development] Prototype18:
I did tweak some settings in privacy guard / advanced and also on greenify. The standby is awesome now 3% overnight ~11 hrs but that mobile standby always comes up first in usage even if SoT is 2 hrs.
[Nexus 5 Android Development] P4Block:
Update

Untested new build, someone please post if it works (it should).

Pulled upstream Lineage changes for the month. Been a bit busy, no idea what those are. Activity seems centered on 16.0.

Could definitely have August Security Patch if the old one didn't. I'm pretty sure I built one back when it was merged and has been laying in the buildserver since.

Download
[Nexus 5 Android Development] forb'S:
This is funny. But for me personally there is no other option. I study the actual offers and I could not make a decision for several reasons on the specifications. But that's not on topic.

I would like to thank you for your work until now and for sharing your work here. :good:

Perhaps, if there is a need, I would convey my N5 red edition to some devs. But only to devs!
[Nexus 5 Android Development] wolftail:
I installed the latest build. Seems to be working fine.

My only (minor) issue so far was that after installation, the Magisk addon.d script failed and I had to reinstall Magisk manually. Not sure if related to this build or somethig else happened.
[Nexus 5 Android Development] szili9992:
[MENTION=5567986]P4Block[/MENTION] any chance we could get an updated build? I know you bought a new phone and all. If you have the time and patience of course :) Cheers.
[Nexus 5 Android Development] P4Block:
Sure, I'll build another.
[Nexus 5 Android Development] P4Block:
Here:

https://download.fosc.space/lineage/lineage-15.1-20181112-UNOFFICIAL-hammerhead.zip

Test it, and if it works fine I'll promote it to the main post.
[Nexus 5 Android Development] szili9992:
Cheers for the build mate. I've been using it a for a few days. It seems okay. My only problem is that the vibration motor seems weaker then before. Has anyone else noticed this, or i'm imagining it?
[Nexus 5 Android Development] edu24lal:
Whatsapp working fine here? Videos? Is it faster than nougat?
[Nexus 5 Android Development] Poor Grammar:
Strike//Weird I can't update magisk or uninstall?:confused:..... Tried to flash updated version in twrp got error 20 I think///strike question... I figured it out
[Nexus 5 Android Development] Poor Grammar:
Nexus 5 given a NewLife:cool:
[Nexus 5 Android Development] Harley101:
I get "404 Not Found" on clicking the download link. Could you please update the file download link. Thanks.
[Nexus 5 Android Development] P4Block:
Forgot about this, I deleted all roms the other day to free up space for other projects. I will rebuild when I can.
[Nexus 5 Android Development] HighBomber:
Hey, just a friendly reminder to please reupload these builds. Thanks!
[Nexus 5 Android Development] rjmohit:
Now that 15.1 is almost done getting new changes, can we please get a new final build? Thanks!!
[Nexus 5 Android Development] musajeehuzeifa:
Firstly, thanks devs for your awesome work, if there's a PayPal link please post.

Secondly, does this build support ElementalX? And can we map volume rocker to wake screen?

Thanks.
[Nexus 5 Android Development] solace mukhtar:
Thanks to devs for this wonderful job, pls how can i activate root, i tried installing lineageos super su add on but it didn't work.