yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] olejonbj:
[MENTION=614507]razorloves[/MENTION] Completely clean install from stock. As I said same thing happens on my Samsung Galaxy S II.

Did you try choosing Europe? Then Power off, wait 10 secs and Power on.

This I have noticed since starting using LineageOS nightlies in May or something, and June for my Samsung.

It's the only System setting that is not conserved after reboot or flashing a new nightly.

I use OpenGapps Aroma (on the Samsung just Pico), just non-GUI APKs except Google Pixel Launcher (should be system app to for full functionality), Google App/Search and Wallpapers (all dependencies). I don't choose to uninstall any LineageOS apps or anything. This is my OpenGapps config:

Messenger=0

AndroidPay=0

BatteryUsage=1

Books=0

CalculatorGoogle=0

CalendarGoogle=0

CalSync=1

CameraGoogle=0

Chrome=0

ClockGoogle=0

CloudPrint=0

ContactsGoogle=0

DialerFramework=1

DialerGoogle=0

DMAgent=0

Docs=0

Drive=0

Duo=0

Earth=0

ExchangeGoogle=0

FaceDetect=1

FaceUnlock=1

Fitness=0

GCS=1

Gmail=0

GoogleNow=0

GooglePlus=0

GoogleTTS=1

Hangouts=0

Indic=0

Japanese=0

Keep=0

KeyboardGoogle=0

Korean=0

Maps=0

Movies=0

Music=0

NewsStand=0

NewsWidget=0

PackageInstallerGoogle=1

Pinyin=0

PixelIcons=1

PixelLauncher=1

Photos=0

PlayGames=0

PrintServiceGoogle=1

ProjectFi=0

Sheets=0

Slides=0

Search=1

Speech=0

StorageManagerGoogle=1

Street=0

TagGoogle=0

Talkback=0

Translate=0

VRService=0

Wallpapers=1

WebViewGoogle=0

YouTube=0

Zhuyin=0

inclorexcl=1

I also have Google Connectivity Services installed (from Google Play, and various other Google Apps that comes with stock).
[Nexus 5 Original Android Development] olejonbj:
[MENTION=614507]razorloves[/MENTION] Actually only activating Airplane Mode from the System notification drawer while the Settings app (main screen) is open and Wi-Fi is on causes the setting to be set no "null" (no setting). Don't even have to close the Settings app.
[Nexus 5 Original Android Development] sxrmafia:
Has anyone installed Viper 4 Android (V4A) on this rom ? I would also like to know which custom kernel do you guys prefer to use with this rom.
[Nexus 5 Original Android Development] TomK79:
Hi everyone,

I have used lineage for a while now (clean install of the first ever LineageOS build, every nightly OTA from thereon) and everything seemed the run very smoothly. Many thanks to the devs therefore. But recently, I have noticed that the preinstalled phone App (v 3.0) doesn't work properly anymore (I can hear everything from the opponents, but no one can hear me). I can not tell exactly since which build the problem occours.

After installing the newest version of the Google phone App from the play store (v 10.1.x), it seems to work fine. In other Apps I can use the microphone without any problem, too.

Is there any issue with the newer phone App from the play store, because of lineage doesn't use it as standard?

Many thanks

TomK79

---------- Post added at 05:19 PM ---------- Previous post was at 04:35 PM ----------

... ok, now I have the same issue with the new phone App.

The microphone doesn't work with the speech search either.

So, I guess it is a hardware defect. Which sadly means end of life of my good old Nexus 5.

---------- Post added at 05:26 PM ---------- Previous post was at 05:19 PM ----------

... if I shake the phone the mic works again. So, it seems to be hardware related.
[Nexus 5 Original Android Development] razorloves:
there's videos and posts around the net on how to fix that. it's usually just a loose cable.
[Nexus 5 Original Android Development] TomK79:
Thanks a lot, the PostIT-fix seems to work (so far). I hope it will stay.

Link: [youtube]P8XpdqOfZnM[/youtube]
[Nexus 5 Original Android Development] razorloves:
I'm not sure how stock rom works, but the region code is set based on the apn mcc code you're using for your cellular service. So if I try to change mine to europe, it won't stick and will change back to US (where I am). But if I remove my sim I can set it to any region and it will stick.

Are you using your phone without a sim (without cellular service)? That seems to be the only way you can manually change the region code setting to something different from where you are.

I would guess that it does not know what region your mcc code goes with so it's not being set to any of them.

Let me know what mcc you use. It's in your apn settings. And provide a log so that we can see what's happening.
[Nexus 5 Original Android Development] kkruglov:
i prefer stock (what comes with this rom), no perfomance issues at all. battery is usually the same +-20-30 minutes as with bluespark or franco (both of them sometimes cause problems for me, phone either hot or eats battery like crazy just because), so i usually stick to stock kernel.
[Nexus 5 Original Android Development] razorloves:
New blog post https://www.lineageos.org/Changelog-13/
[Nexus 5 Original Android Development] olejonbj:
Aha, didn't know that it depends on the MCC. Anyway my APN settings are 100 % correct (set manually according to my operator instead of LineageOS' built-in, which adds various (which I delete, just noted after latest flash that other APNs was back), and was not 100 % right, adding the details for another operator that uses my operator's network (biggest in the country) when I first flashed although I think it worked, but not MMS if I recall correctly).

My MCC starts with 2 which is Europe and is correct for my country. But then it makes a little more sense why Airplane Mode unsets the setting. So no to your question, I'm using with the latest 4G SIM and it's my main phone. I'm roaming now for a while (thank God for new roaming law in EU/EEA (Norway's in EEA), but have the same problem when not roaming as well. SIM also comes with some crypto thing that enables one to log in to all public services with the highest security level, like health services (a single sign on solution provided by the Agency for eGovernment, where I've worked various times). It basically uses the built in SIM toolkit (which is a GUI app in AOSP that for some reason still uses stock Android 2.3's ugly black/grey/orange design before coming to the enter 2-step auth PIN screen, that I've reported to Google but no change yet).

I cannot say 100 % the stock ROM conserved the setting, but if Android works like that (not a LineageOS thing), it should work anyway since my MCC starts with 2, and the APN is there, after rebooting or in Airplane Mode. What mechanism it uses if no SIM or APN I don't know. Maybe none, therefore it's conserved without a SIM. When linked to a Google account with Google Play Services etc installed I think it should use another mechanism to determine my region code. Google knows very well where I am after all (High Accuracy Location enabled). Because then if I go to the US my MCC will still start with 2 (Europe), so it's a bad mechanism to determine region. I've been to Silicon Valley various times but didn't check there...

Well, unless someone with stock can check if the setting is conserved after a reboot, I don't know if it's a LineageOS thing. I don't expect you to dig through the AOSP code to check. Maybe Android really sets it, it just appears not set in Settings, then just a GUI bug in Android.

I've also reported to Google that Android also still uses Android 2.3's ugly progress bar when going to Settings > About phone > Legal information > Google legal. Man I can't understand how Google has set that to a fixed widget for a specific Android API version instead of just using the default ProgressBar (code) in the current targetSdk which will always use the widget for the running API version/Android version. Nothing to do with LineageOS.
[Nexus 5 Original Android Development] Bhgprox:
Is the august security patched on our 08082017 release? thanks!
[Nexus 5 Original Android Development] Mangus_U*RA:
I noted that too
[Nexus 5 Original Android Development] abde4ind:
Can someone plz explain this volte confusion ? ☺️
[Nexus 5 Original Android Development] #sharath:
Probably they just added APNs for the network, i don't think we will ever get VoLTE in Nexus 5.
[Nexus 5 Original Android Development] 7-down:
Yeah, I just noticed this too. Weird :eek:
[Nexus 5 Original Android Development] SimoTRU7H:
I'm new to CM and i have a couple question before choosing it for my daily:

1. the rom includes OTA updates (for nightly builds now and snapshots later) or i need to flash it every time?

2. the rom includes Root or i need to flash it separately?

Thanks.
[Nexus 5 Original Android Development] manojks256:
Regarding your query on Root: You need to root from recovery, by default device won't be rooted by flashing this ROM
[Nexus 5 Original Android Development] ssauger:
This isn't true. On CM you have to enable root in developer options.

sent from Nexus5
[Nexus 5 Original Android Development] abde4ind:
Root is available
[Nexus 5 Original Android Development] mayankkhajnchi:
Dial *#*#4636#*#*,go to phone information. There is an option of enabling volte. But after hitting the switch is automatically turns off. Dont know why. Maybe because nexus 5 doesn't support volte.
[Nexus 5 Original Android Development] razorloves:
enhanced 4g/lte mode has to be turned on for volte to work. It's in cellular network settings. http://i.imgur.com/KMCdBOO.jpg
[Nexus 5 Original Android Development] simplicio11:
enhanced 4g/lte mode is also in caf version?
[Nexus 5 Original Android Development] razorloves:
That setting is in all cm roms, but hidden if device and network doesn't support it. But from what i've read the nexus 5 doesn't support volte, so it's probably hidden
[Nexus 5 Original Android Development] lapocompris:
Cannot access the Developer options in order to root, the screen just goes black when I click on Developer options.

Is there any workaround ?
[Nexus 5 Original Android Development] osm0sis:
Let me guess... MultiROM? It's something weird with the encryption options causing the crash when Settings attempts to populate them on MultiROM installations. Not sure if any CM devs are looking into it, but hopefully they will.
[Nexus 5 Original Android Development] Primokorn:
Do you think it's only a CM issue? Because I had this issue with CM14.1 CAF and DU (with the latest MultiROM version from Captain_Throwback).
[Nexus 5 Original Android Development] lapocompris:
I also got this problem with Santhosh M's ROM as secondary.

So far, I found one that does not have this probem : BOKROM where I can access Developer options, although if there were the same problem, it wouldn't matter because the root button is found in Security section not in Developer options.
[Nexus 5 Original Android Development] Rondeau7:
I can't seem to make Substratum themes work. Every time I reboot I get a bootloop. I have to flash a reduce zip to get back to normal. Another thing every time I flash a nightly I have to go back an reflash a custom kernel. Is there a way to have that kernel survive an ota update.
[Nexus 5 Original Android Development] DiavoloPowa:
Try to clear cache and dalvik, if it not works try a clean flash
[Nexus 5 Original Android Development] ozhan10:
for activating google now in this rom do this :

original topic here
[Nexus 5 Original Android Development] Bhgprox:
Awesome! A reason to update right away :)
[Nexus 5 Original Android Development] roshan2989:
[MENTION=614507]razorloves[/MENTION] any update on the twrp?
[Nexus 5 Original Android Development] Passaralho:
No changes on BT issues?
[Nexus 5 Original Android Development] razorloves:
Ok...it's finally ready for you guys. Sorry for delay. :D

A shiny brand new TWRP that 'JUST WORKS'.

No more issues with it failing to boot up. :highfive:

I did a lot of rigorous testing and everything worked great.

One thing I don't have is an otg cable, so if someone has one and can test that please. thanks. (test otg with different file systems, if you can. like ntfs, fat32, ext4, etc... etc...). I'm not even sure if those worked with official twrp.

Give it a go and let me know if you notice anything wrong or different. :good:

twrp-3.1.1-1-BETA1-hammerhead.img
[Nexus 5 Original Android Development] The_Chosen_One:
Out of curiosity how didn't anyone notice that build didn't work since 3.0.2?

Anyway thanks for the great job!
[Nexus 5 Original Android Development] razorloves:
What do you mean no one noticed? If no one noticed the problem then there wouldn't be complaints about it all over the nexus 5 forums and reddit. lol. And there wouldn't have been any reason for me to spend tons of time to fix it. lol
[Nexus 5 Original Android Development] manojks256:
Flashed with Flashify successfully without any issues. Thanks :svetius:
[Nexus 5 Original Android Development] Hindolam:
I am facing "No SIM Card" issue

I have

Nightly build 2017080 from official builds

Beans Gapps 20170725

bootloader and radio mentioned in the wiki.

no root app installed

Any idea what I might be doing wrong and how to resolve this. I have looked over the this thread as well as the unofficial thread. Almost no one seems to be facing this issue. I do see some reference to this "No SIM card" issue. But the issue normally is a wrong bootloader/radio. Which as far as I can see is not an issue for me.

Any help appreciated. Thanks
[Nexus 5 Original Android Development] guiquental:
I've noticed that latest builds doesn't pass SafetyNet anymore.
[Nexus 5 Original Android Development] razorloves:
are you on sprint or sprint mvno? if so, that's a known issue. you can do a search in this thread or older cm threads and see some workarounds you can try
[Nexus 5 Original Android Development] Hindolam:
Thanks for your answer.

Yes it is Sprint MVNO. I did try flashing radio and bootloader as suggested. Once in a way, the signal comes up if I do factory reset and reboot after several minutes. But does not stick around.

Will try some more. I appreciate you replying.
[Nexus 5 Original Android Development] drsaog:
Same here
[Nexus 5 Original Android Development] razorloves:
safetynet is passing like normal here.

what kind of drugs are you guys doing? lol. jk

you guys need to look at the crap you're flashing that's causing it to fail. lol
[Nexus 5 Original Android Development] guiquental:
Just Lineage OS official drugs, I mean, the addonsu zip. Even after flashing the official addonsu-remove I still have problems with SafetyNet apps. Mostly Nintendo stuff. But anyway, I'm just trying to give a feedback, since I keep everything stock.
[Nexus 5 Original Android Development] jnsson:
I think it is the addonsu that is the problem. You need to flash Magisk instead of addonsu :)
[Nexus 5 Original Android Development] jnsson:
Huh? I have LingeageOS and my Nexus is passing SafetyNet with Magisk

Skickat från min ONEPLUS A3003 via Tapatalk
[Nexus 5 Original Android Development] razorloves:
https://xdaforums.com/showpost.php?p=72405371&postcount=1921
[Nexus 5 Original Android Development] eric-volt:
Hey [MENTION=614507]razorloves[/MENTION] I saw that CVE-2017-9417 (Broadpwn) was patched for bullhead. Has hammerhead been patched for this as well? If not, is it on the near roadmap? Thanks! :good:
[Nexus 5 Original Android Development] razorloves:
Unfortunately, that cve requires a patch to the closed source proprietary firmware. Since google stopped supporting the nexus 5 last year, I don't see how we'll get a patch for that. Unless someone figures out how to disassemble the firmware and manually apply a fix... but I think that's a far stretch.

Side note: The nexus 5x (bullhead) was not patched, as it does not have a broadcom wifi chip. But the nexus 6 and 6p were patched.
[Nexus 5 Original Android Development] TKruzze:
That's really too bad. This vulnerability may very well lead to some vicious exploits since having WiFi enabled is all that's required for a bad actor to exploit it and take over a device. I have now added a Tasker mod to my wife's Nexus 5 that automatically turns off WiFi whenever she leaves our home. I'd strongly recommend anyone else to do the same as there will certainly be exploits in the near future targeting vulnerable Android devices.
[Nexus 5 Original Android Development] razorloves:
We might not be in too bad of shape.

There is a kernel patch that google released in the August security update that is suppose to mitigate broadpwn for older devices that have unpatched wifi firmware.

https://github.com/android/kernel_msm/commit/e7fdc1ca00f1e589df8542af7e7acaaa87370625

It's for 3.10 kernel version, so I'll have to analyze it and see if it can be backported to our 3.4 kernel.

Aside from that, it turns out there actually might be a way for us to dump/decompile the wifi firmware and manually patch it. :fingers-crossed:

You can read about it, and other recent wifi vulnerabilities on our phones, here:

https://googleprojectzero.blogspot.com/2017/04/over-air-exploiting-broadcoms-wi-fi_4.html

https://googleprojectzero.blogspot.com/2017/04/over-air-exploiting-broadcoms-wi-fi_11.html

https://www.blackhat.com/docs/us-17...S-Via-A-Bug-In-Broadcoms-Wifi-Chipsets-wp.pdf

https://www.blackhat.com/docs/us-17...-iOS-Via-A-Bug-In-Broadcoms-Wifi-Chipsets.pdf

There's some talented guys on the lineage team that are digging into this because it affects several devices that we support, so we'll see what can be done. I'll keep you all up to date on any progress or info. :good:
[Nexus 5 Original Android Development] olejonbj:
I was wondering if anyone has experienced this problem, which is exactly what I have except that my phone did not "close and restart and optimizing apps". I was at a mall with my GF and spent most of the day there... with mobile data enabled and had disabled Wi-Fi before leaving. I managed to get it connected once but now it seems completely stuck, and the Wi-Fi MAC address in Settings > About phone does not makes sense (something like 02:00:00....).

So could it be a LineageOS problem? I just re-flashed the latest LineageOS ZIP and the latest OpenGapps and wiped cache and Dalvik/ART, but the issue persists. Mobile data works just fine.

If it is a hardware problem, is there a way to fix it? Maybe people should be careful flashing the latest LineageOS (08082017), I don't know.

We have 5 years of warranty on all consumer electronics here (which trumps the manufacturers warranty unless it is better), so I can return it to any store that sells LG products (since I bought it in 2013) and ask for a free repair, and meanwhile they have to give me a phone just as good today as the Nexus 5 was when it was new, and if they can't repair it, a new one just as good today.

BUT

, it is a process, takes time etc, and I'm currently in another country. If there is a way to fix it in software or some hardware trick,

please tell me

.

BTW: Trying to enable hotspot force closes the Settings app.

Thanks!
[Nexus 5 Original Android Development] razorloves:
not sure what went wrong, but if you delete /data/misc/wifi and /data/misc/dhcp folders and reboot, should fix it.

if not, try resetting network settings, in settings -> more.
[Nexus 5 Original Android Development] olejonbj:
Thanks a lot for trying to help. I did various steps to try to fix it according to your suggestions.

First resetting network settings (less intrusive), did not work

Rebooted into recovery with "adb reboot recovery" and deleted the folders with "adb shell"

Deleted the folders while the phone was running with "adb shell", adbd in root mode, rebooted, did not work

Reset of network settings again, did not work

The wifi and dhcp folders appear again after boot.

Any other suggestions?

When I go to Settings > Wi-Fi > Settings Gear button it takes a while to load that screen, which it usually doesn't, and shows "MAC address: 02:00:00:00:00:00" and "IP address: Unavailable" (of course). The MAC part worries me... seems it can't find the Wi-Fi chip.
[Nexus 5 Original Android Development] malintzin:
No any Keyboard & stuck at "Android is Starting"

Well this both options render the phone a bit not useful.

Tried to add GApps-full and GBoard - nothing helps.

Since cant connect to any network - then probably cannot finish the profile and stuck to "Android is Starting" forever.

Any advise is appreciated.:D
[Nexus 5 Original Android Development] espresso70:
It's hardware. The Nexus 5 can't find the Wi-Fi chip. Here's a thread describing your problem exactly:

[Q&A] WiFi stuck on turning on; MAC 02:00:00:00:00:00; G2 G3 G4 G5 Nexus5 Nexus 7 etc

Given the fixes in this thread, you're probably better off bringing it back to the store.
[Nexus 5 Original Android Development] eric-volt:
Awesome! Hope there's some good news soon. I'm currently burning through my data for fear of turning on Wi-Fi, lol.
[Nexus 5 Original Android Development] osm0sis:
You could get a custom kernel and try lowering the thermal throttling point?
[Nexus 5 Original Android Development] olejonbj:
Maybe I'm misunderstanding you. As a Linux guy I'm pretty sure I can do whatever with this standard kernel as well with adb root shell. Also just using the extreme power saver puts it at a constant low frequency (and lowers system temperature a lot). Doesn't help. Thanks anyway. Don't know what good it would do if it has already done damage (total or fixable by pressure and/or tape as the main thread says works for many) to the hardware. See my post above (and the main post about the issue which is well known). Getting to the motherboard (just need the tools), should do the trick unless the damage is too severe. If so I'll send it to a free repair. It just takes some weeks and I'm just going to be in Norway for a few weeks now soon and coming back here. Need to get my parents or someone to mail it then when it comes back (repaired or new phone). I'll see, and tell :)

Thanks again [MENTION=7928541]espresso70[/MENTION] and [MENTION=4544860]osm0sis[/MENTION]! Great and quick help and guidance here as always.

For now, mobile data works perfectly and with the new EU roaming law I can use it here as in Norway. Bought a 5 GB extra package for basically nothing. Just bothers me when things don't work. I just need to fix things. I always try to repair. Never throw away unless absolutely last resort (or recycling to be precise, which they give you money for in Norway, doesn't matter if it doesn't work).
[Nexus 5 Original Android Development] osm0sis:
Ah I see, I skimmed too heavily, didn't realize the chip was already melted and was just trying to suggest a way to keep the device temp lower.
[Nexus 5 Original Android Development] Turtuga:
[MENTION=614507]razorloves[/MENTION] it's possible port HDR to our device like this http://www.androidauthority.com/google-camera-snapdragon-unofficial-port-793402/
[Nexus 5 Original Android Development] plittlefield:
Is it possible to have a setting to make the screen brighter when it wakes for a notification?
[Nexus 5 Original Android Development] razorloves:
I just finished doing a bunch of work on cve patches for our wifi driver. ;)

https://review.lineageos.org/#/q/project:LineageOS/android_kernel_lge_hammerhead

I also backported that one change I mentioned to you all the other day in this post. :good:

All those changes are merged, so they will be in the new nightly coming later today.

So we're sitting pretty good for now, in regards to BroadPwn, until we update our wifi firmware somehow. :fingers-crossed:

Something to look forward to is the fact that LG is still releasing security updates for the G3 and G4. Both have the same wifi chip as the nexus 5. So the next update they release should have updated firmware binaries that we can possibly use. :D
[Nexus 5 Original Android Development] utfluc:
You sir are just awesome, thank you
[Nexus 5 Original Android Development] kkruglov:
Use Google camera 3.2, it has working hdr for this device.
[Nexus 5 Original Android Development] eric-volt:
This is great [MENTION=614507]razorloves[/MENTION]! Thanks so much for your work on this. Just to clarify, will we be protected from Broadpwn with the nightly released today or do we still need to wait for the wifi chip updates coming from LG? Or did you just mean that going forward for other possible vulnerabilities we'll likely be able to use binaries coming from LG for G3 and G4?