yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] razorloves:
The true fix for the broadpwn vulnerability (CVE-2017-9417) is to get updated firmware, that's been patched for it, from Broadcom (the manufacturer of the wifi chip).

Google has already done that and released those firmware updates for the supported nexus devices that have a broadcom wifi chip.

Nexus 6, Nexus 9, & Pixel C

Nexus 6P

So, we're just waiting for an oem to release a security update for a device that has the same wifi chip as our phone (BCM4339), so that we can snag the updated wifi firmware.

The patches that I did last night were for numerous other vulnerabilities in broadcom's wifi driver in the linux kernel. One of them just so happens to help mitigate the broadpwn vulnerability. I'm not sure how much it helps though. From what I'm hearing, from a qcom/hardware expert, it should help a lot.

I'll keep you all up to date on any more info or news on the matter.

The BROADPWN Saga Continues ....
[Nexus 5 Original Android Development] olejonbj:
Yes, thanks. Bought the tools today and will try to repair tomorrow. The chips doesn't like melt but more separates from the motherboard, and such the suggestion of opening the lid covering the motherboard and put some scotch tape or something to put pressure on it when the lid is put back on. As the main thread about the problem says it may take an hour or something and some reboots, basically I think after putting pressure on it the heat generated by the device will eventually cause it to recognize/connect physically to the chip again.

I'll keep you posted.

[MENTION=614507]razorloves[/MENTION] as always, great work
[Nexus 5 Original Android Development] pluto123:
Wow! Thank you very much! :good::D
[Nexus 5 Original Android Development] mooiemeneer:
Great performance with latest nightly

Is it me or is the Nexus 5 indeed significantly faster with the latest nightly (14.1-20170815)? Notably the speed with which internet connections over WiFi are established is amazing and a huge improvement over the previous builds.

A big thank you to razorloves! :good:
[Nexus 5 Original Android Development] olejonbj:
[MENTION=7928541]espresso70[/MENTION] [MENTION=4544860]osm0sis[/MENTION] Hurray Hurray Wi-Fi working again after flashing 20170816 LineageOS ZIP! Guess it was software after all!? Strange. Like 30 mins until I was about to try to fix it physically.

Awesome [MENTION=614507]razorloves[/MENTION] !

[MENTION=2883550]mooiemeneer[/MENTION] : For me I find it as fast as before (that's a compliment). It's been really fast since the first nightly I installed basically, in June I think. I remember I did notice better performance after one particular nightly, maybe the bump to Android 7.1.2. I use OpenGapps (Aroma which is a GUI app for TWRP which allows you to pick apps individually) with the Pixel Launcher, Google Assistant (and the non-GUI Google-apps one can install with Aroma) and the typical Google apps from the Play Store. Maybe the various LineageOS apps has gotten improvements I don't see since I don't use them (I disable all of them except Messaging that still can't be disabled... (why?) and AudioFX (great) Recorder (great)).
[Nexus 5 Original Android Development] Jeeza:
Hi! Sorry for quoting an old post, but I'm facing your same problem, but I'm running LOS CAF version.

Since I didn't update my system very often, does the most recent nightly solve the problem? Or have you found another way?

Thanks!
[Nexus 5 Original Android Development] Disrupthor:
[MENTION=614507]razorloves[/MENTION] Hello, on regards to wi-fi is it possible to enable channel bonding on 2.4GHz? On 5GHz is enabled already.. Thanks
[Nexus 5 Original Android Development] JudoLudo:
hi guys, great work.

I'm on D821 and just changed to Wind (Italy), but can't use LTE.

- I changed Settings > Networks > Preferred Network to 4G

- rebooted many times the phone

- tried to manually re-add Wind in Network Operators

- I digged in Hidden Settings (*#*#4636#*#*) and changed from LTE/UMTS auto PRL to LTE Only: without network for some seconds, then been able to have 4G but at -120 dBm/18asu (whereas LTE/UMTSautoPRL had -99 circa, or anyway had no problem of internet)

- did a SpeedTest.net scan and these were the results:

under H+:

1. 39ms/5,15DL/4,51UL

2. 38mb/14,86DL/4,63UL

under WiFi:

1. 11ms/12,62DL/0,98UL

under 4G (LTE Only on hidden settings):

1. 31ms/2,38DL/0,95UL

2. 24ms/2,48DL/0,98UL

The last I can do is resetting internet settings, dunno. Is anyone having problems with LTE in EU (or maybe even Italy)? Does this ROM have problems with LTE? Trying to understand if it's my phone's problem, before calling Wind. Thank you.

JL
[Nexus 5 Original Android Development] olejonbj:
Nope, it worked for quite a while then stopped. Tried the physical tape trick and it worked, but dropped after a while. Putting physical pressure with my hands there (with a little bump because of the added height) made Android recognize the Wi-Fi chip again so appareantly it is hot-pluggable. Anyway, after adding more tape it was steady, but too much tape so the vibration motor didn't get contact (it is in the main back panel and must touch metal in the big hole, so removed some tape and started over because of the amount of tape. But now I haven't been able to get it back working. Maybe I have done to much too it. Too much pressure or whatever. Maybe the chip is physically damaged now, not just bad contact. I will keep on trying, nothing to lose.
[Nexus 5 Original Android Development] razorloves:
It's disabled on a most devices for good reason. It causes severe channel overlapping and interference. It's even off by default on most routers, for that reason. This was mandated by the Wifi Alliance.

Aside from that, yeah, there's probably a way to do it. I looked briefly but didn't find how exactly.

It's really easy to do it on qualcom wifi chip, like here.

But we have broadcom wifi. some info here might help.
[Nexus 5 Original Android Development] olejonbj:
I managed to get it working again...! I used the oven solution (last resort!), probably using the hairdryer solution someone has posted in the thread is safer. My oven thermostat does not currently work (says 50 celsius no matter what), so goes to maximum, which I noticed when it got really hot and I put a baking paper in and it catched fire immediately :P . So I used common sense instead, and since I know that that particular baking paper can tolerate 220 celsius and starts to turn brown at about 200, I kept the door open for a while, put 3 layers of (white) baking paper below and above the Motherboard (reflects heat) on a grill plate and checked regularly just touching the Motherboard and moving it around to one part not be on the same please on the grill plate at all times.

Afterwards I removed the metal case around the Wi-Fi chip, pressed the circle metal piece over the Wi-Fi chip down with a flat tool for 30 seconds as suggested by the hairdryer solution, then put 2 pieces of transparent Scotch tape covering the empty space under the metal case, but not its borders, put the metal case back on, put a piece of carton from a contact card on top of the metal case and put a piece of Scotch tape over it to keep it in place.

Before one has to remove the SIM card holder, disconnect everything from the Motherboard, the 2 antennae cables, the camera cable, the 2 battery cables (to remove the battery which is glued on but can easily be removed with just a little force). When putting the Motherboard back on make sure to put it on so that the power button is in the right place (slide it in from the side is what I did), and that the camera cable is sticking up through the hole so you can connect it, and make sure the proximity/light sensor is in place before pushing it down (I did not disconnect it before putting it in the oven, probably a good idea, but it works fine!). Screw the Motherboard lid well on and then the main back lid. If the vibration does not work, push down where the circle is when the lid is off (more or less 0,5 cm top-left of the S in nexus on the back lid and you should hear a click sound, then there is contact, if not, you may have used too much tape or something and it is impossible to get contact, so you have Wi-Fi but no vibration, opening it again and starting over get you back to start in my exprience so be careful).

It is the first time I have disassembled my Nexus 5 completely, and as the thread suggests even just removing and/or replacing the battery can fix it. I do not know exactly what fixed it. Maybe it will stop working again.

Could not avoid to lose some black plastic parts during this whole operation (opening the phone many times), like a few pieces of the teeth that keep the lid on (but enough are left) etc. A little to eager with the sharper tools, but the only visible thing from the outside is 50 % of the plastic piece above the SIM card slot missing.
[Nexus 5 Original Android Development] razorloves:
New post on our site. https://www.lineageos.org/Summer-Survey/
[Nexus 5 Original Android Development] Disrupthor:
Well I'm using that on my tablet lg-v500 but would love to have that on my phone but can't find what to edit and where..
[Nexus 5 Original Android Development] olejonbj:
Google Camera 3.2 works very nice and better than the included Camera app. Of course it would be nice to get a newer version. I hope it can happen in the future? AFAIK HDR is faster + several other features. I also fear version 3.2 sometime will stop working with it's integration with Google Photos that is updated for this device.
[Nexus 5 Original Android Development] kkruglov:
What integration (with Google photos) you are talking about ?

In general, it seems that Google makes HDR as a feature for specific device. That's why it is available only on Nexus devices. And the way this guy from 4pda made it work on other Snapdragon devices - he modified apk making it think that device it's on is 3rd unreleased Google pixel.
[Nexus 5 Original Android Development] pluto123:
I've just noticed that the privacy guard looks a bit different since last nightly (I think it affects all lineage devices not only our nexus). It's a bit "difficult" to see if something is "allowed" or "ignored". Generally, would it be possible to mark the words e.g. "allowed" green, ignored red or something like that?

Anyway, I love the privacy guard! :D
[Nexus 5 Original Android Development] Hindolam:
Lineage OS with Freedompop Sprint service

I finally managed to get Lineage OS working on Nexus 5 with Freedompop. Yay!

I gave up after few tries and went back to stock firmware from Google. Although SIM was recognized right away under the stock firmware, there was no Internet access.

I followed the "How to perform a carrier reset on a Sprint phone" to get that going

Google Nexus Phones

Connect to Wi-Fi (if available)​

Go to the phone app​

Enter *# *# 72786 #* #*​

Confirm the reset​

Allow device to restart and go through the activation process​

The phone got registered under Sprint network and data started working after this. This got me to think that maybe activation was the key and I said let me try flashing lineage os again. Some of the other posts on Lineage OS with sprint asked for the EFS partition from stock firmware to be backed and restored after flashing lineage OS. I did that. But when Lineage OS started after flashing, I still got the "No SIM Card found" error right in the beginning. This time I briefly removed the sim card while the lineage os was waiting for SIM card to be inserted and then inserted it back. The SIM card was recognized and I got the LTE back again. Either the EFS partition or the briefly removing the SIM Card and reinserting - one of the two worked.

Thanks a lot for this ROM and also for your prompt reply. I really like the fact that along with PICO Gapps, it is as minimalistic as possible.

Note for Freedompop I also had to flash this FreedomPop APN fix
[Nexus 5 Original Android Development] lukss12:
It seems like Android O will be presenting a new challenge for our N5. Will we be capable of enabling new embms support in it?
[Nexus 5 Original Android Development] osm0sis:
Can someone post the contents of /sys/module/lowmemorykiller/parameters/minfree ?

I'm working on something and don't have access to my hammerhead.
[Nexus 5 Original Android Development] lynnux:
18432,23040,27648,32256,36864,46080
[Nexus 5 Original Android Development] osm0sis:
Thanks! These hammerhead values improve multitasking dramatically on bullhead, crazily enough; Google had the last 2 jacked up: 18432,23040,27648,32256,55296,80640
[Nexus 5 Original Android Development] mooiemeneer:
Oreo

Don't know if this was already posted: according to this link there will be no Oreo love for Nexus 5.

Summary:

List of Google devices won’t be getting Android 8.0 update:

(...)

Google Nexus 5

(...)

Confirmed by this link from Lineage.
[Nexus 5 Original Android Development] besmirch:
Does Android Pay work with official lineage builds?
[Nexus 5 Original Android Development] henningspruth:
That's no big surprise, given that the Nexus 5 is out of support and didn't even get Nougat from Google.

I'm not sure if any of this implies that there won't be a LineageOS 15 for hammerhead.

---------- Post added at 01:51 PM ---------- Previous post was at 01:50 PM ----------

Yes, works on my Nexus 5 like a charm.
[Nexus 5 Original Android Development] razorloves:
Um... duhhh. Lol. Google ended support for for the Nexus 5 in October 2016. Of course they're not making Oreo for it. They didn't make Nougat for it either.

Lol. Smh. that's not from lineage. That's some fake clone clickbait bullcrap site
[Nexus 5 Original Android Development] manojks256:
Santhosh who manages AOSP for Nexus5-AndroidN able to boot 8.0.0 Oreo successfully:good:

https://xdaforums.com/google-nexus-5/orig-development/wip-aosp-nougat-nexus-5-t3446875/post73538437
[Nexus 5 Original Android Development] razorloves:
yes... it's coming along.

cdesai (the same awesome dev that got nougat working on nexus 5) got lineage 15.0(oreo) booted up on it a few days ago. :good:
[Nexus 5 Original Android Development] thogz11:
I have a feeling that Oreo is gonna run on Nexus 5 because some low ends phones out there (which Nexus 5 has better specs) got official Nougat. It is just Google and Qualcomm really want to dump old flagship devices.
[Nexus 5 Original Android Development] davidshen84:
I have always been wondering why the hammerheadcaf 14.1 build is not in the official list.
[Nexus 5 Original Android Development] armando_rod:
Wrong reply. Deleted.
[Nexus 5 Original Android Development] MontiBurn:
Hi, i know it's while ago but i got the same problems. I'm at "nightly	14.1	lineage-14.1-20170822-nightly-hammerhead-signed.zip" and tried the code you post. After entering "su" i'm getting "su not found". Super User is installed but no root atm. I had read that it's not necessary while using lineageOS.

"set enforce 0" will give me just a new empty line. Do i have to root my phone or is there another fix atm?

Thx a lot. :good:
[Nexus 5 Original Android Development] osm0sis:
It's "setenforce 0" not "set enforce 0" ... to check if it worked you can type "getenforce"
[Nexus 5 Original Android Development] MontiBurn:
Sorry my bad, tried this also at first try "setenforce 0"

"couldn't set enforceing status to 0 Permission denied."

getenforce: "Enforcing"
[Nexus 5 Original Android Development] osm0sis:
That's because you didn't type su to get to a root prompt like he told you. Please read.
[Nexus 5 Original Android Development] lukss12:
Root has never being necessary to run LOS or CM, it becomes necessary when you need to do some things like this... The difference now is that su is not bundled in the ROM anymore, you need to flash it using LOS addon or any other approach like Magisk - if you use addon remember to enable root for apps under Developer Options -
[Nexus 5 Original Android Development] manojks256:
Android 8.0.0 from Santhosh

https://xdaforums.com/google-nexus-5/orig-development/aosp-oreo-8-0-0-nexus-5-t3664033

Not to promote anything, just an information :)
[Nexus 5 Original Android Development] MontiBurn:
Yes i do. Wrote it before " After entering "su" i'm getting "su not found". Super User is installed but no root atm."

I'll try to install root via Magisk and Co.
[Nexus 5 Original Android Development] osm0sis:
Then it's obvious you're not rooted correctly, or it's disabled in Developer settings like the other user mentioned to you.

Lineage's su addon, SuperSU and Magisk have all always worked fine.
[Nexus 5 Original Android Development] crisis_trustee:
Wait lineage-15.0.?
[Nexus 5 Original Android Development] nadeemsyd:
Launcher 3 crashes after clicking on wallpapers from home screen..can someone pls explain how to fix this.
[Nexus 5 Original Android Development] juke_001:
Hi,

I noticed the usb connection method "charge only" in dev settings stopped working a couple builds ago. I mean the setting doesnt stick. Anyone else?
[Nexus 5 Original Android Development] Byronbgs:
Lineage OS did not have Wallpapers installed.

Install Wallpapers by Google from the play store.
[Nexus 5 Original Android Development] Green Daddy:
Simply because there is no official maintainer. It was official just before Christmas last year, then myfluxi detected an unfixable HW/FW issue with CAF and stopped. Now some great folks keep it in good shape based on the previous work done, there are even Kernel changes for LOS 15 in the commmits, yet noone volunteered to go bigtime with it (which I understand).

Tbh I am happy that there is a build, official or not., because CAF is great.
[Nexus 5 Original Android Development] Co.Tibi:
Is Google assistant working for everyone? Mine stopped showing up a couple of updates ago.
[Nexus 5 Original Android Development] TioCareca:
Mine works, ok google hotword is flawless...
[Nexus 5 Original Android Development] Newmanl:
Hello I'm having issues connecting Miracast in my PC (HP 245 g5) I don't know if something is wrong..can anyone confirm if Miracast works just fine? Thanks
[Nexus 5 Original Android Development] gr-e:
No issues on 20170822 nightly with Asus USB-N13.
[Nexus 5 Original Android Development] Newmanl:
It might be Windows issue. Thank you.
[Nexus 5 Original Android Development] rolex0815:
I recently noticed that when turning on the screen, the ambient light sensor doesn't seem to work prior to unlocking the device. On home screen and in apps etc. everything is working.

Problem is, when it's really light, the drawn pattern to unlock is barely visible.

And I'm also not sure if this always was the case or is it occurring only the last time?
[Nexus 5 Original Android Development] Jeeza:
Has anybody recently switched from caf to non-caf or viceversa & can report any differences on everyday usage?
[Nexus 5 Original Android Development] GopalKaul:
Yeah me. CAF has THE BEST PERFORMANCE!! but is now buggy since [MENTION=1394147]myf[/MENTION]luxui stopped building .. The community is now on phoval's builds. I loved CAF.... It's max clock speed was 2.7 GHz... I used to get 4 to 5.5 hours SoT. But non-CAF is smooth and non buggy
[Nexus 5 Original Android Development] Jeeza:
Thanks for the reply! I'm now on caf, but I care about stability than performance...do you use any custom kernel? Any thoughts about battery life?
[Nexus 5 Original Android Development] GopalKaul:
No custom kernel on CAF, except TrueSight and of PA
[Nexus 5 Original Android Development] ssauger:
What is buggy on CAF builds? I am on phovals builds and and everything is working great. There are also some guys who bring kernel patches up for the CAF version.
[Nexus 5 Original Android Development] mooiemeneer:
Wrong thread guys...
[Nexus 5 Original Android Development] sirzur:
Is there any special trick to selecting sounds (ringtone) in this ROM?

I have just flashed the LineageOS 5-Sept-2017 nightly build for hammerhead. Was on stock ROM and did system, data and cache wipe before flashing the nightly build zip and then followed by the minimum Beans Gapps zip. Already had the latest radio and bootloader and the latest TWRP.

When the phone first boots up, it looked like it was in factory default and everything had to be set up again. No probs.

So now I am trying to set up the phone. In settings, sound the 3 ringtones (Phone, Default notification and Default Alarm) are already populated. When I try to select a different ringtone, a dialog box pops up (Header is "Choose path") giving me a path selection to /storage/emulated/0. No other ringtones shows up that will allow a selection. Is this the default behaviour? Even after rooting the phone, the path selection does not allow me to choose from /system/media/audio where I know the sounds are stored

So then I rooted the phone with the zip from OP. Navigated to /system/media/audio and copied the alarms, notifications and ringtones folders to /storage/emulated/o/download. Now I can chose ringtones. But there is no preview of the ringtone I select. That also does not seem like 'normal' behaviour.

So back to my question. Is there a trick to choosing ringtones in LineageOS or is this a bug?
[Nexus 5 Original Android Development] greytroy:
Need a way /storage/emulated/o/Ringtones, if it does not exist, create a folder Ringtones and put your ringtones on it...
[Nexus 5 Original Android Development] santi1993:
Hi, thanks for the rom afterall [MENTION=614507]razorloves[/MENTION] ur work is really awesome.

But ATM im managing a "long time ago" (like star wars lol) bug, the bug is related to whatsapp and i think it has something to do with Doze, the problem is that the phone disconnects the access from whatsapp to the RIL, disconnecting completely that application when phone is with screen off.

Here's a proof , i was chatting normally and then randomly the phone disconnects whatsapp from RIL or maybe messages come hours after or maybe they come normally, its random but i dont know how can i detect specifically the part of the android system that's failing via logcat, that exceeds me at the moment, but i want to try and ill be so thankful if someone guide me to find the best way to report it!

cheers!
[Nexus 5 Original Android Development] lukss12:
Disable battery optimizations for wapp. Of course this will drain your battery a little more.
[Nexus 5 Original Android Development] sarcokiller:
Hi all, I'm on the latest nightly and for me it's all working fine, except for 1 thing that I noticed from a while... when I'm on a call I'm having low audio volume and this happens only when I'm not using earphones. Is there a way to increase audio volume?
[Nexus 5 Original Android Development] tom0769:
Could be a problem with the noise canceler mic
[Nexus 5 Original Android Development] sarcokiller:
Do you think it may be hardware related?
[Nexus 5 Original Android Development] tom0769:
Maybe, I had some issues with one of my n5 with speaker while calling as well as the other one could hardly hear me.

This was when I newly received the phone from ebay.

Cleaning the case fixed it.
[Nexus 5 Original Android Development] utfluc:
Check for dust in the microphone openings at the bottom of the case, that solved it for me
[Nexus 5 Original Android Development] roshan2989:
guys anyone able to download apps in play store,sometime we need to reboot the phone in order to install from play store?
[Nexus 5 Original Android Development] TioCareca:
No issues here, i install all fine...
[Nexus 5 Original Android Development] martialaw:
Hi folks... I think about upgrading my CM13 to LOS14, but I see there are only nightlies available?

Any reason not to use them? How's smoothness and stability? Any issues besides the google camera? GPS working?

Thanks!
[Nexus 5 Original Android Development] ssauger:
I use the CAF variant, but tested AOSP LOS14 for hammerhead also. All is running fine. GPS is working and also google camera is working great. You only have to use a older version (3.2.0.45) that HDR is working. I think there was a link in this thread to this version that is also invisibel for the playstore.
[Nexus 5 Original Android Development] martialaw:
Thanks! I guess I give it a go as long as it's smooth and all hardware working. You never know with nightlies...