yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] lulli1:
Delete all assert lines in flashing script and put it back into the ROM zip .... Now try again.

Or simply update bootloader, radio baseband, etc to latest version before flashing the zip.
[Nexus 5 Original Android Development] Nolfer:
there are no assert lines in either updater binary or updater script, updater script is void, except for

"# Dummy file; update-binary is a shell script."

already updated radio and bootloader to latest version
[Nexus 5 Original Android Development] rogers11:
Wipe cache and try again.
[Nexus 5 Original Android Development] Nolfer:
Wiped cache and dalvik, still same error
[Nexus 5 Original Android Development] lulli1:
There is one assert line, but that line shouldn't be a problem as long as you flash to a hammerhead :p

There's a filesystem check in the script, if I'm right. Did you ever switch to f2fs or are you still on ext4?
[Nexus 5 Original Android Development] Nolfer:
Ah, dammit, I kept searching for the assert lines on the unsigned archive.

I then found them and eliminated them on the lineage unofficial zip. Re-flashed the unsign zip and then the lineageos zip, but I still get the same error.

I'm on F2FS on cache and data, and on EXT4 on system.
[Nexus 5 Original Android Development] lulli1:
Hmm maybe that's the point. See line 14 in the script. Mount ext4 data partition....

You could try to reformat to ext4 but you will loose everything on SD. So backup before....
[Nexus 5 Original Android Development] Nolfer:
Well, I'd try, but I'd really like the opinion of someone like [MENTION=614507]razorloves[/MENTION] first before changing back to EXT4, especially when this would mean losing time, and the performance gains that F2FS provides, and especially when I had no problems whatsoever when flashing older builds.

Razorloves, I'm curious as to why I still get this error
[Nexus 5 Original Android Development] lulli1:
Ok wait. I've switched to f2fs as well. Will try to flash this latest unofficial and we will see....

BTW, you don't want to switch to this unofficial from official LOS without wiping data, do you? If so.... klick on Razorloves migrations tool link in this post... https://xdaforums.com/showpost.php?p=79287980&postcount=3050

Edit: OK tested to flash the latest unofficial from 07.04. a minute ago. No problems at all. Booted up fine. So it can't be the data filesystem, since I formatted data with f2fs as well. Sorry bro. Would you like to share the exact error text here, please. I'm sure we will find out what causes the flashing failure on your side. BTW you could try to flash latest stock image and restart from the scratch....
[Nexus 5 Original Android Development] razorloves:
i pm'd him to get some details. it has nothing to do with f2fs. he's not on an official build, so that's why the migration zip isn't working. lol
[Nexus 5 Original Android Development] Nolfer:
My bad, I'm using the microG releases of LineageOS. They sign their releases with their own custom keys, so that's why the unsign zip probably didn't work.

They stopped updating after 2 March, so that's why I was looking here, but I got confused with another device and forgot about the differences. I understand that 16.0 is out and they officially stopped rolling out 14.1 updates for hammerhead.

Edit: successfully clean flashed the ROM. Works flawlessly
[Nexus 5 Original Android Development] Nolfer:
Edit: nvm
[Nexus 5 Original Android Development] stuffed_tiger:
i don't know if this was fixed upstream in the latest unofficial, but there is a small bug in the lastest official version. i'm not sure exactly what caused it, but i can tell you what i did that made it happen. after a clean install, i removed all suggestions from the top of the settings page. somewhere along the line of everyday use i cleared all cache from Settings -> Storage. after doing that, the Step Detection suggestion appeared again in settings and i can't seem to completely get rid of it. i can remove it temporarily by the usual method, but it will eventually come back.

currently i have the april unofficial installed, but i don't want to test by clearing cache because i really don't feel like setting up from scratch again.
[Nexus 5 Original Android Development] tuxayo:
Can someone confirm that this should not happen? That cache != data.
[Nexus 5 Original Android Development] lulli1:
Wiping cache will do no harm to data. Data is a completely different partition.
[Nexus 5 Original Android Development] stuffed_tiger:
hmmm... maybe i worded that wrong. basically what i'm saying is, if i clear cache and the problem comes back, the only way i have found that fixes it is to do a full wipe from recovery, therefore starting from scratch. sorry if i mislead anyone :o

in other news, my settings app started crashing and i don't know why. i recently did a full wipe to switch from the latest official to the april unofficial 14.1. that was about a week ago. the phone had been running fine until yesterday when i tried to open the settings app and it crashed right at start. since then it will crash every time i try to open it. not knowing why that would happen, i went into recovery and wiped cache. that didn't fix it, so i went back into recovery and wiped cache + dalvik cache. still no dice. at some point i thought that the Google app might have gotten an update and broke something, but i "uninstalled" it back to its original state and the crashing still happened.

i don't need to do a full wipe right away since i can work around the issue by pulling down my notification bar and using one of the tiles to jump to a specific settings page, since that will load just fine. from there i can use the quick jump feature to get to any settings page.
[Nexus 5 Original Android Development] lulli1:
And why don't you simply take a log of the crash and find out what causes it? You need root. And a logcat app. That's all. Post your log here if you don't know how to read it. What gapps do you use? Did you try to.simply dirty reflash the ROM and gapps. You won't lose any data in that case.
[Nexus 5 Original Android Development] stuffed_tiger:
i got a log of the crash, but i don't understand it. here is the paste: https://pastebin.com/UMk11qUb. the magic happens at line #138.

i tried dirty reflashing the ROM and GApps like you suggested, but it didn't fix the issue.
[Nexus 5 Original Android Development] ridvanb:
Try "Clear data" for the "Settings" app (com.android.settings), then it'll be OK.
[Nexus 5 Original Android Development] stuffed_tiger:
i know you were helping me with a different problem, but this fixed my current problem (the settings app crashing)! i may do some tests to see if this will also fix the other problem (Step Detection coming back as a settings suggestion).
[Nexus 5 Original Android Development] lulli1:
Glad you solved it by wiping settings app. I would say it was a ringer mode thing...

android.media.RINGER_MODE_CHANGED} to ReceiverList{499d3ef 12404 com.android.settings/1000/u0 remote:c6ba8ce}: process crashing

05-09 15:14:06.377 W/BroadcastQueue(786): Skipping deliver [foreground] BroadcastRecord{b1d83da u-1 android.media.INTERNAL_RINGER_MODE_CHANGED_ACTION} to ReceiverList{499d3ef 12404 com.android.settings/1000/u0 remote:c6ba8ce}: process crashing

Did you change a ringtone to one that wasn't delivered with system? Anyway... It's solved. :svetius:
[Nexus 5 Original Android Development] konsoleto:
No security updates this month?
[Nexus 5 Original Android Development] razorloves:
New build with May security patches.

lineage-14.1-20190518-UNOFFICIAL-hammerhead.zip

Here are the details on the patches.

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

This build also contains a security patch not yet on android's security bulletin.

https://review.lineageos.org/248344
[Nexus 5 Original Android Development] ANDARIAL:
Thanks for the update :)
[Nexus 5 Original Android Development] tuxayo:
Is there a way to fund such maintenance work? Even modestly trying to compensate for the time would be the least of the thanks.

Something like

- Liberapay (one can pledge to donate when a given GitHub or Twitter account will be linked, for example https://liberapay.com/on/github/razorloves/)

- Bountysource https://www.bountysource.com/

- Open Collective https://opencollective.com/

I would be very happy to recurringly pay even at my modest level for the maintenance of the libre software that I use everyday.
[Nexus 5 Original Android Development] ReedN:
Issues with Apps on Unofficial Releases

With the new unofficial releases I'm seeing the issue that I try to start up an app and it will start to open, but then it will suddenly close, failing to open. If I try over and over again it will eventually launch.

Anyone know why this might be?

---------- Post added at 07:33 AM ---------- Previous post was at 07:12 AM ----------

While debugging a problem with 'Android for Work' I was able to follow the instructions for building the image on my computer fairly easily.

I'd be willing to help create the new security release updates in the future if I had some guidance on getting setup and integration of the new security patches. I'm imagining it would be mainly getting everything setup initially then pulling the security updates into the setup and recompiling on a regular basis.
[Nexus 5 Original Android Development] reeshu93:
cant upload a image by jelly browser !! how to fix it ?
[Nexus 5 Original Android Development] razorloves:
Thanks very much but i don't accept donations.

But you can donate to lineage, if you'd like. We have close to $200 (US) bill each month for infrastructure. Without donations, we'd have to pay for that stuff out of our pockets.

https://www.paypal.me/LineageOS

Thanks
[Nexus 5 Original Android Development] Tuffiglig:
Is there another to donate than Paypal?

IBAN would be nice.
[Nexus 5 Original Android Development] razorloves:
New build with June security patches. :good:

lineage-14.1-20190615-UNOFFICIAL-hammerhead.zip

These are the changes.

https://review.lineageos.org/q/topic:n-asb-2019-06
[Nexus 5 Original Android Development] M Asad Khilji:
Hey [MENTION=614507]razorloves[/MENTION], Please take a look at this: https://xdaforums.com/showpost.php?p=79751310&postcount=11

Now, Can we have official Pie LOS build for our hammerhead? :D
[Nexus 5 Original Android Development] razorloves:
It's looking like it will finally happen :fingers-crossed: :highfive:

All thanks to [MENTION=7268092]z3DD3r[/MENTION] and [MENTION=7412373]Sashko98[/MENTION]
[Nexus 5 Original Android Development] M Asad Khilji:
OMG !!! I can't believe it.

Thanks to [MENTION=7268092]z3DD3r[/MENTION], [MENTION=7412373]Sashko98[/MENTION], [MENTION=614507]razorloves[/MENTION] and all the Developers for supporting our beloved Nexus 5.

Cheers :fingers-crossed:

P.S Cant Wait :D
[Nexus 5 Original Android Development] GopalKaul:
Damn! Really unexpected! Great job BTW!
[Nexus 5 Original Android Development] scorpeeon:
Hi there,

I'm looking for the most stable ROM for the Nexus 5 now. I'd use it as a wifi router (as a temporary solution) by tethering mobile data either through wifi or through USB to a (Asus) router.

Ideally I want it to be able to run for months without any interaction needed - so that it wouldn't reboot or even if it does, it'd continue tethering after it's rebooted.

Currently it's running a pretty old version of LineageOS 14.1. It's fairly stable, but sometimes the mobile internet stops working, and only continues to work after a reboot.

Do you guys have any recommendations? I saw versions 15 and 16 too, but they're all unofficial with known bugs - I guess if I want a stable ROM, this is still my best bet, right? Should I just grab the latest UNOFFICIAL one posted in here?

Any tips on how to make the tethering as stable as possible?

Regards
[Nexus 5 Original Android Development] Naudiz:
Now this came unexpected ?
[Nexus 5 Original Android Development] KJannot:
"Cannot Read"

Hi folks--

I'm late to this party, and I apologize if this question is elementary or has already been answered elsewhere, but--I'm trying to sideload one of these roms, and every time I do, the command prompt tells me, "cannot read" the zip. Is there any reason why this may be true?

I've been running the Lineage 14.1 on my Nexus 5 for a couple of years now, and after trying one of the latest unofficial 16's and discovering that my Nexus was basically unusable, I tried going back and restoring a previous version and reinstalling my earlier 14.1. The restore didn't work, and I'd had the lack of foresight to remove the 14.1 zip from my device to free up space. I was thrilled to find this thread with regularly updated versions of the 14.1. Now if I can only get it to work!

Any help is appreciated. You guys rock.

--Ken
[Nexus 5 Original Android Development] Mr.FREE_Bird:
I would recommend to just put the zip on the internal storage of your Nexus 5. Doing that never failed for me. Why would you want to use sideload?
[Nexus 5 Original Android Development] KJannot:
I'd love to be able to do that, but right now I am not able to get the device to boot up properly. It's stuck on the Google splash screen. So I was assuming that sideload is the only way to do it. If there's another way, I'd love to know! :D
[Nexus 5 Original Android Development] sant514:
[MENTION=3895471]KJannot[/MENTION], you may give a chance with http://www.wugfresh.com/nrt/
[Nexus 5 Original Android Development] Mr.FREE_Bird:
Ah now I get it, didn't know about that. You aren't able to boot into the bootloader? Because if you can you should be able to flash TWRP via fastboot.
[Nexus 5 Original Android Development] KJannot:
I am able to boot into the bootloader, and through that I am able to boot into TWRP. It's not recognizing any OS on the device. I think the Nexus Root Toolkit may be able to do the trick, though I just tried to flash the latest 14.1 zip from my computer and it couldn't find my Nexus. I now plan to try a 'flash stock and unroot', then a reroot. Any suggestions? Do I need to run the driver installation/initial setup in order to do anything else? I'm sorry if these questions are elementary--the NRT looks amazing, once I get used to it.
[Nexus 5 Original Android Development] Mr.FREE_Bird:
Oh good, so that works fine. It sounds like your PC doesn't recognize your Nexus 5 as an adb or mtp device. Are you sure you have the right drivers installed on your PC? You should be able to put the zip on the internal storage of your Nexus 5 via your PC. I am not a fan of toolkits but they never caused me issues so you could give that a try to start fresh. It's no problem to ask for help, that's one of the reasons why XDA exists.
[Nexus 5 Original Android Development] lulli1:
I have a problem with voice messages or calls over ip. For example WhatsApp voice messages are very often distorted with latest build here. If I send another one it sometimes worked without distortion. Cell phone voice calls are brilliant clear. I read that this has to do something with kernel. My question is if I'm the only one here, or if there are others with that problem? Any ideas for fixing this?
[Nexus 5 Original Android Development] ridvanb:
https://xdaforums.com/google-nexus-5/development/mod-camcorder-audio-quality-fix-t2837930
[Nexus 5 Original Android Development] lulli1:
Thanks. Which of these variants or fixes will work. The OP is not just a bit confusing. I tried out the method with the extra file in system/etc, but that doesn't work. It killed the complete tone instead.

Do you have a concrete solution, that worked for you?
[Nexus 5 Original Android Development] riza.pasha:
hello my brother, it was long ago, that your solution is working. now new Application still detecting Rooted apps.

could you examine it?

https://play.google.com/store/apps/details?id=id.co.bni.digitalopeningaccount
[Nexus 5 Original Android Development] razorloves:
New build with July security patches. :good:

lineage-14.1-20190714-UNOFFICIAL-hammerhead.zip

These are the security patches.

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

Edit:

A new feature was added. Per-app VPN data restriction - https://review.lineageos.org/q/topic:nougat-data-restriction

Also, Chromium Webview was updated to latest version - https://review.lineageos.org/250940

And Vim was updated from version 8.0.0133 to 8.1.1511 - https://review.lineageos.org/251314
[Nexus 5 Original Android Development] M Asad Khilji:
Thanks [MENTION=614507]razorloves[/MENTION]. Can you please tell us about the feature of official los pie for hammerhead ?
[Nexus 5 Original Android Development] qwyjibof:
Hi, [MENTION=614507]razorloves[/MENTION]. What i have to do to back to last offecial signed lineageos release?
[Nexus 5 Original Android Development] qwyjibof:
Hi guys! More and more often I have a glitch with unlocking the screen, it happened before, but not so often. This is expressed in the delay in unlocking the screen, press the power button, the screen lights up, swipe my finger to activate the keyboard to enter the password and nothing happens, again turn off and on, sometimes it helps, and sometimes not. Noticed that no animation lock icon as soon as the circle begins to pulse turns to unlock, but sometimes you just have to wait until the start of the animation icon.
[Nexus 5 Original Android Development] sant514:
[MENTION=5549058]qwyjibof[/MENTION], Run this script called lineage-migration-signed.zip in TWRP.

Then install the official ROM zip.

---

You can see the razorloves' post #2994

and this post from cvxda
[Nexus 5 Original Android Development] Naudiz:
Are there any news about the plan to bring LOS for Hammerhead back to OFFICIAL?
[Nexus 5 Original Android Development] ski522:
+2, the nexus 5 is definitely a phone whose technology is still standing up pretty good in 2019!
[Nexus 5 Original Android Development] mandayugana:
[MENTION=614507]razorloves[/MENTION] Is there a way to make native two-way call recording working? I have enabled call recording with xposed, but only my voice was recorded. As far as I try, the only custom ROM with working call recording is MokeeOS 7.1.2 CAF. I don't even need xposed to enable call recording. It is already there.

---------- Post added at 08:13 PM ---------- Previous post was at 08:13 PM ----------

[/COLOR [MENTION=614507]razorloves[/MENTION] Is there a way to make native two-way call recording working? I have enabled call recording with xposed, but only my voice was recorded. As far as I try, the only custom ROM with working call recording is MokeeOS 7.1.2 CAF. I don't even need xposed to enable call recording. It is already there.
[Nexus 5 Original Android Development] konsoleto:
True that! The LOS16 build available in another thread is very stable for a daily driver. Nothing should hold the official LOS support for this device back now.
[Nexus 5 Original Android Development] lulli1:
C'mon guys. It's comments like that, that keeps devs away from supporting devices and developing for old devices. Why is there allways someone that makes pressure? Flash the unofficial LOS 16 from the mentioned thread and wait for updates patiently. Why do you need official support, if there are unofficial versions with update support available. Lineage kicked N5 out of support some time ago. I'm sure, they won't take up the official support again now. Don't get me wrong please, but this posts won't help and won't effect anything.
[Nexus 5 Original Android Development] osm0sis:
It's not about "getting kicked out" at all, it's about meeting a set of criteria. Nexus 5 wasn't meeting those criteria anymore, but once it meets criteria again official support could be restarted. Happens all the time.

I agree people need to be patient. One person already asked appropriately if there was any update, no need for 5 other people to pile on with redundant posts. Now, let's all hang out and wait for [MENTION=614507]razorloves[/MENTION] to get back to us.
[Nexus 5 Original Android Development] GopalKaul:
I think you may have misinterpreted the message. He meant that unofficial builds are very stable. So no bugs. We have met all official requirements. So he (and me too) are sure that we will get the official tag soon!
[Nexus 5 Original Android Development] konsoleto:
It's about providing feedback and that's what I did. If more people can report stability then it's a path to ride on next.

Jeez...no one is pounding on to make someone work. It's FOSS and we know the pains DEVs take to help us out. As a user I'm also obliged to let the DEV know the kind of stability/issues I'm getting. I think it helps them in a way to decide the next course of action.
[Nexus 5 Original Android Development] leqacy:
LineageOS 14 is no longer supported, so no matter how stable the build is, there won't be any official LineageOS 14 version (for any device). The only chance to get an official version for hammerhead is to make it official for LineageOS 15 or 16.

According to the changelog there are a few developers committing changes for LineageOS 16 on hammerhead.
[Nexus 5 Original Android Development] Somebod y:
My Nexus died, when it hit the ground. But i want to say thank you [MENTION=614507]razorloves[/MENTION] and all the devs, who kept it alive for such a long time. Great work!
[Nexus 5 Original Android Development] tuxayo:
Is BT calling working in that unofficial build? Because that's in the official requirements.
[Nexus 5 Original Android Development] M Asad Khilji:
Yes it is working and BT fix commit has been merged.

Meanwhile [MENTION=614507]razorloves[/MENTION] is working on los 16 for hammerhead. Check los gerrit to see WIP.
[Nexus 5 Original Android Development] tuxayo:
https://xdaforums.com/showpost.php?p=79989368&postcount=217

It is happening !!!
[Nexus 5 Original Android Development] razorloves:
New build available with August security patches :good:

lineage-14.1-20190820-UNOFFICIAL-hammerhead.zip

Changes:

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

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

https://review.lineageos.org/q/topic:spellcheck+branch:cm-14.1
[Nexus 5 Original Android Development] Ammako:
I don't know what changed, but I dirty flashed this as I usually do, and the encryption on my phone broke. It would ask for my password in TWRP and decrypt fine, but it never asks for my password when booting Android. Instead it brings me to a screen saying that my data was successfully decrypted (doubt it) but is corrupted. A factory reset was required, re-flashing the previous build was not enough.

Or I guess maybe you could restore a backup if you have one, but I don't personally bother with making a backup every time I update, since I don't really have much to lose from a factory reset anyway, it's all easily reinstalled and set up again. Not a complaint, btw. If I cared enough then I would make backups before doing stuff like this.

If the contents of your phone are important enough that you can't afford to lose any of it though, then don't skip making backups if you're going to install this update, just in case this also happens to you. YMMV.
[Nexus 5 Original Android Development] qwyjibof:
Does anyone have issue with notification sound? All notification sounds played cutted, i mean that i hear just a part of sound, not a full one.
[Nexus 5 Original Android Development] nadia p.:
Please pardon my ignorance. I would like to install this OS build on my Nexus 5. I've read this thread however I'm still unsure how to install it step-by-step since I haven't found the instructions to follow.

Can someone please explain how this is done? The ZIP archive file doesn't contain the standard files and installation methodology of the Factory Image which I'm used to.

Edit 1: Do we have to unpack lineage-14.1-20190820-UNOFFICIAL-hammerhead.zip someway to get to the installation files?

Edit 2: My Nexus 5 has currently installed 6.0.1 (M4B30Z, Dec 2016) from the factory image, unlocked, with TWRP 3.3.1-0.
[Nexus 5 Original Android Development] nadia p.:
I assume we need to flash lineage-14.1-20190820-UNOFFICIAL-hammerhead.zip however I'm not sure if we're supposed to use FASTBOOT commands or it's preferred to install this using TWRP a particular way.

Edit: Sorry please let me clarify. FASTBOOT by unpacking the zip file or TWRP or ADB SIDELOAD to install the zip file.