yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] nathanchance:
Super happy to see more and more developers adopt upstreamed kernels :) The primary reason being these patches are important due to the bugs and security vulnerabilities they fix and they are only allowed under these circumstances. They are stable.

Now I have gotten flack or scoffed at by several developers for this for a few reasons which I will (try to) debunk now:

1. Linux upstream causes instability

This CAN be true, if your upstream merge is done improperly. But this is also the case with something like a Google security update; any time there are conflicts, there is a risk that you may do a mismerge and cause instability. If you are smart and confident in your ability to look at code and understand the context (which I am), you will have no issues with this. Furthermore, I always recommend people go version by version, testing to make sure nothing breaks. There is only one commit in 3.10 that I know for sure breaks something and it is not even needed due to the way Qualcomm chips are setup. Same thing with 3.18.

2. We don't use 99.9% of upstream commits

Just yesterday a developer said this, which is completely and utterly inaccurate. Almost every single version has at least a few commits that are relevant to us. Just in the last few versions of 3.10 and 3.18 there have been SEVERAL CVE fixes, mostly to the networking stack, bugs that have been present since 2007. While I will concede a lot of the patches aren't relevant to us, they aren't going to do anything if they are in the source. It's very easy to do upstream on top of stock source then add your custom modifications on top of it so you don't get overwhelmed (that's what I do). I can go through and probably pick out at least 5-10 CVEs that are patched in upstream but not Google's source.

3. You'll never feel a difference

This is pretty much true; you won't. However, that's not the point. Most if not all of these fixes are to certain subsystems that don't impact performance, like ext4, filesystems, sound, networking, arm64, etc. These are to prevent vulnerabilities and prevent crashes or oops. Not all problems are a user visible issue. The kernel is massive and may be experiencing internal issues without you realizing it.

Ultimately, I don't want people to buy into the notion that upstreaming isn't important; it is. It's taking relevant bug fixes from paying companies for free (even though they may not have a visible user impact but it's rare that any kernel patch does). If a kernel developer doesn't want to do this, it's usually because they don't have the time or are lazy, which I disagree with. This is about security and the user experience, it's worth the time to do as I did.

Do realize if your custom kernel isn't upstreamed, you are losing out on this.

More reading: https://xdaforums.com/android/software-hacking/reference-how-to-upstream-android-kernel-t3626913
[Nexus 5 Android Development] deathmachined:
Thanks DEV
[Nexus 5 Android Development] Passaralho:
Dirty flash ok?
[Nexus 5 Android Development] Achi Shukuteki:
I dirty flashed. All is well. However...

---------- Post added 30th July 2017 at 12:02 AM ---------- Previous post was 29th July 2017 at 11:59 PM ----------

Ever since the June update, the camera keeps crashing. Any tips? I can try and reflash again but I tried that last month.
[Nexus 5 Android Development] #sharath:
I'm getting Themer interface crash after dirty flashing the latest update, substratum themes are not installing anymore. Using Ex Kernel.
[Nexus 5 Android Development] Schnuffel2008:
Hi,

I am having the same problem.

Whenever I open substratum I have a message thattheme interfacer will be shutting down and I can't apply any overlay. Trying it with root ( magisk 13.3) and rootless. Tried different happy beans mini and full 072517. I've done a clean flash (two times). (Substratum 815, interfacer version 62).

Everything else seems okay.

Thanks for this new version of a great ROM
[Nexus 5 Android Development] Stevica Smederevac:
Obviously, pure Nexus is also missing some substratum commit/s and it won't work. No workaround, as far as I know.
[Nexus 5 Android Development] davin3377:
The theme interfacer keeps stopping.

Even though clean flash, still remains the same and doesn't apply to theme. :p
[Nexus 5 Android Development] MarioPhantom:
is working pokemon go in this update?
[Nexus 5 Android Development] shadyshadow:
Anybody get substratum up and running? Try uninstalling?
[Nexus 5 Android Development] thenugdestrroyer:
So on this update we just wipe caches and flash?

---------- Post added at 07:26 PM ---------- Previous post was at 07:25 PM ----------

I ain flashing this until the issues are resolved, good to know ??
[Nexus 5 Android Development] Schnuffel2008:
I've tried different themes and uninstalling and reinstalling substratum. Nothing worked for me...
[Nexus 5 Android Development] GtrCraft:
I am working on the subs issue
[Nexus 5 Android Development] Schnuffel2008:
Good news.?
[Nexus 5 Android Development] Schnuffel2008:
Meanwhile I have found a workaround for the subs-issue that helped me. But you need root access for it.

Make a backup of theme interfacer with titanium backup after the installation of the ROM. Then install it again ( I use install app and data). After that you can install substratum and the themes and everything works as it should be (for me).

After having a closer look what has changed I noticed that before the reinstallation of theme interfacer the app was missing in menu: settings/apps. After the reinstallation it is listed there and everything works. Maybe this is helpful...
[Nexus 5 Android Development] lion_2006:
I tried this method but it didn't work , can you give the procedures in more details
[Nexus 5 Android Development] Schnuffel2008:
I thought that I've told everything in detail.and that it would help.

So once again.

I have installed a clear version of the newest pure nexus image with the latest version of the bean mini happy. Then I've installed the latest version of magisk manager (5.1.1) and magisk (13.3).

Then I've made a backup of theme interfacer with titanium backup (8.02).

Afterwards I've reinstalled theme interfacer with titanium backup and made a reboot.

The next step is to reinstall theme interfacer with titanium backup again. When I've tried this titanium backup keep working without ending (spinner turns round and round. Maybe this is because theme interfacer is a system app).

So I've reboot again and strictly after the reboot I've try to install theme interfacer with titanium backup again and now the backup works. Afterwards I've installed substratum theme engine and Belo and now it works ( I believe it is important that theme interfacer is listed under menu/settings/apps after the reinstallation!)

I attend a screenshot to show you that it works...

Best wishes
[Nexus 5 Android Development] ibnu jafar:
What the theme?
[Nexus 5 Android Development] Schnuffel2008:
Belo (De Jan)
[Nexus 5 Android Development] davin3377:
Thanks, It works well !

It works well!

The point is that the 'theme interfacer' should be moved from the system app to the user app.
[Nexus 5 Android Development] lion_2006:
I tried and nothing happen , When I open substratum it keeps saying that theme interfacer stopped working
[Nexus 5 Android Development] Schnuffel2008:
And you can see the icon of theme interfacer in the app list as in the screenshot?
[Nexus 5 Android Development] lion_2006:
Yes here it is
[Nexus 5 Android Development] Schnuffel2008:
Maybe you have to go to the app menu and delete data for the theme interfacer, reinstall substratum again and make a reboot.

Sorry that it did not work for you...

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

By the way, what theme are you using. Maybe I have this too and can try that it not belong to the theme (even though I don't believe that there could be a correlation between the issue and a special theme)
[Nexus 5 Android Development] Schnuffel2008:
When you go to substratum/settings how does this look like? Do you have the same information as in my screenshot?
[Nexus 5 Android Development] lion_2006:
I tried and the same issue , theme interface force close message appears
[Nexus 5 Android Development] Schnuffel2008:
Strange and you have installed a clean ROM?

So maybe there is another problem...

Meanwhile I've tested more themes and everything works fine so far. So let's see if my workaround will work for others too.

For all others GtrCraft promised to take a look at the issue. So a proper working new version is not far away I think...
[Nexus 5 Android Development] lion_2006:
Problem SOLVED !!

here is the procedure

Using titanium backup app ( rooted ) take a backup of theme interface , then clear data , then long press on theme interface in titanium app and select ( convert to a user app ) .

Reboot and restore app and data of theme interface

, you will notice that the red color of theme interface covered to white (user app)

Then install substratum and it will work

Thanks all for your response and your tries to help me .
[Nexus 5 Android Development] Schnuffel2008:
Glad it finally works...

Have a nice day.

PS: It seems that it works for me without changing it to a user app since I still have the option to change it to an user app in titanium. So it must still be a system app I think...

Strange...
[Nexus 5 Android Development] Achi Shukuteki:
I hit them up on G+ they're working on the fix.
[Nexus 5 Android Development] GtrCraft:
Update:

https://www.androidfilehost.com/?fid=961840155545585997

-Fixed Theme Interfacer FC
[Nexus 5 Android Development] Schnuffel2008:
Tested the new version with clean install and latest full BeansGapps. No more problems with theme interfacer and substratum. Everything works as it should be.

Thank you very much for the quick update and the fantastic ROM...

Have a nice day ?
[Nexus 5 Android Development] psydex:
The previous version that has TI FC was quite laggy compared the the last month version. Not sure why. Flashing 31/07 now - hope performance is back to normal for Pure Nexus
[Nexus 5 Android Development] lion_2006:
Yes that's true but I flashed Ex kernel v 8.02 and it's way faster and smoother

I didn't try the 31/7 version , please try it and give me your feedback about performance .
[Nexus 5 Android Development] Vaizen:
Ok guys I'm about to update my Gf's N5 it has an old build if pure nexus (still a marshmallow build) a mm d I've been away from the N5 community for a long time.

My question is : do I have to flash a bootloader/modem update for N to work?
[Nexus 5 Android Development] dahawthorne:
No. Do a full wipe (cache, Dalvik, system, data, but not internal/userdata), and flash PN (the 31st July one), Gapps, and Magisk/SuperSU if you want.

And do I need to say - take a TWRP backup first and store it on your laptop...?
[Nexus 5 Android Development] m_zet:
Phone app FC.

---

Actually it works well, my fault because it did not asked for permissions automatically.

I granted and ok.
[Nexus 5 Android Development] jordi_e:
Thanks dev and have a nice day!
[Nexus 5 Android Development] Achi Shukuteki:
I'm still getting a crashing camera app! I flashed Tesla last night; the camera held but only on the "selfie" side, Dark Rom - crash, back to PN latest - crash. My camera hasn't worked since May. I'm going to check to see if if it's a hardware issue. Any pointers would be appreciated.
[Nexus 5 Android Development] tuncan:
I tried camera only twice (with latest version from monday) and I can also confirm camera app crash.
[Nexus 5 Android Development] little_bigwinner:
I'm currently running the Marshmellow Pure Nexus. I guess then I should be doing clean install, ¿am I wrong?
[Nexus 5 Android Development] PhilD41:
That version is for the Dialer App. Pure Nexus and Their GAPPS come with version 3.0.0.0. The play store currently has version 4.1.x.x and the new "Pixel" dialer is version 5.x.x.x. I don't remember all the minor revision numbers. I have been unable to get anything other than the oldest, included 3.x version to work.
[Nexus 5 Android Development] paradoxiumwind:
Ah ok, well my Phone app updated from the play store and is apparently v4.1, so I guess it does work.
[Nexus 5 Android Development] AbuSufiyanGeek:
This Rom Looks amazing

killer design and look gotta try this ROM
[Nexus 5 Android Development] Tone Deco:
Using it as my daily driver for 1 day now. Very satisfied!

I think I've got the video recording working with the OnePlus Camera.

Phone app problem can be solved as mentioned here.

Thanks dev!!!
[Nexus 5 Android Development] quimbexa:
What is this ROM you're talking about? :) I Googled it but only found a Google + page in Russian. Is this safe? What are the features?

Regards
[Nexus 5 Android Development] PhilD41:
Thanks for that link, it solved my dialer issue as well!
[Nexus 5 Android Development] iluhin:
When will the new version of the PN and how to install the update?

I use the latest version of the dialer.

The problem with the video recording remains in the chamber.

!!! Pls talk me... If I flash any other ROM, I lose my data?
[Nexus 5 Android Development] maksimus0021:
Hi. :) Yes, you are right. Developer MCAOSP ROM from Russia. I think it would be not correct to now in this topic to discuss a completely different ROM. It would be disrespectful to the developer Pure Nexus ROM. I do not want it. If you are interested, I will write to you with the information in the PM. Regards. :)
[Nexus 5 Android Development] paradoxiumwind:
Strange because I did that too but my dialer wouldn't work.
[Nexus 5 Android Development] PhilD41:
That is odd. I had already reflashed everything yesterday so I was back to the AOSP Dialer 3.0.0.0. I installed 4.1 from Play and updated permissions and the default phone app and it worked like a charm. I haven't flashed 5.1 on yet (and probably won't for a bit) but I at least have a play updated dialer. For what it is worth, I am using the dynamic GAPPS recommended in this thread.
[Nexus 5 Android Development] stark_br:
Its rude to ask about updates, if you dont know...

for the camera, please read the forum, its been posted before

http://xdaforums.com/showpost.php?p=69129896&postcount=224

I use it and solves all problems
[Nexus 5 Android Development] paradoxiumwind:
Ah well, I got it sorted anyway :)

Now.. I tried to create a Wireless AP before and when I turn it on it just says 'error' under the toggle, then turns back off.. I'm going to assume that's something to do with the wifi issues with custom kernels requiring the wifi_fix patch? It fixes connecting to wifi, but wireless AP is still broken? Or is there anything I'm missing?

Thanks again
[Nexus 5 Android Development] fKm:
Resynced but still no luck. Seems that there is one tiny thing I have to change [emoji53]
[Nexus 5 Android Development] iluhin:
Do You talk about I must to set the oneplus camera? This isnt the solution ??? :(To record video, I have to use CameraMX :mad:
[Nexus 5 Android Development] stark_br:
Yes, you can use the oneplus camera, working fine here for pics and video
[Nexus 5 Android Development] iluhin:
=(((

It is not the solution !!! trouble walking - sitting. I have no words :mad::eek::rolleyes:
[Nexus 5 Android Development] 19Gonzo82:
I'm somehow facing FC when trying to access battery stats. I can see that graphics, but when I try to open the more accurate listing it FCs. Tried using a downloaded battery stats app,too, with the same result. Anybody facing the same problem or knows a solution to this problem?
[Nexus 5 Android Development] AndresOrue:
I just discover this version for our phone and i will a try, i am still on version 6 (20160709) so i am bookmarking this thread... Thx for you hard work OP...
[Nexus 5 Android Development] questionquince:
The smoothest Nougat ROM for hammerhead. :good:

Tips for those who still struggling with Google Camera bug, just use Open Camera. It has lots of features for video recording, such as continuous focus and exposure lock for better video.

And I got my Pixel Dialer working. Disabled my old Dialer, and then make Pixel Dialer as default phone app (on Settings > App)
[Nexus 5 Android Development] nigelhealy:
Hi i just dug out of a drawer an old red N5, put in a fleabay replacement battery (harder to do than on the N4), installed this ROM. FYI the current opengapps does a FC during setup, tried a few times, so had to use the recommended PN gapps, seems to work fine.

Just now started playing...

If it weren't for the pitifully bad battery life I could happily use as a daily driver. Thanks for the ROM, from other devices I seem to seeing better battery life from N relative to M.
[Nexus 5 Android Development] dahawthorne:
You are correct. A clean install is required.
[Nexus 5 Android Development] jordi_e:
Have you try to push this .apk on the system to replace the original one?

https://basketbuild.com/filedl/devs?dev=osm0sis&dl=osm0sis/osmods/n5_nougat_gcam3_fix-signed.zip
[Nexus 5 Android Development] tuncan:
No. Should I only install this APK?

And - BTW - If I check file with VirusTotal, some engines reports virus! Could be false alert, but be careful.
[Nexus 5 Android Development] clkehl:
I have been using this zip to downgrade google camera for almost a year, there is no virus. It works great to enable HDR.
[Nexus 5 Android Development] tuncan:
Maybe it is false alarm, but we have to be careful today :)
[Nexus 5 Android Development] ilmostro7:
So, apparently some people have had success with this, and others haven't?

I tried to flash this onto my old Nexus 5 phone, after being impressed by the PureNexus ROM on my Google Pixel. Unfortunately, however, flashing through TWRP leaves the phone unable to boot; resulting in an endless boot animation on the screen. Curious to know if I would need to flash a boot image or something else to get this to work.
[Nexus 5 Android Development] jordi_e:
It's safe, all you need to do is replace the original .apk on system/app/GoogleCamera with this one. Yeah it would downgrade the version but it worked
[Nexus 5 Android Development] psydex:
Sooooo I was trying to

full wipe

and flash latest 31/07 but there wasn't any keyboard in the initial setup after flashing. And if I skip the initial setup - i'm stuck on Android is starting. Why?
[Nexus 5 Android Development] freya09:
Shows "Charging slowly" on the lockscreen even though I am using a 2A wall charger. Is this just a text/graphical glitch?
[Nexus 5 Android Development] rockerblood:
i have poblem updating google contacts apps from playstore and thru offline after dirty flash to new build. any way to update?
[Nexus 5 Android Development] vycecrash:
Full wipe, format system partition, and then flash again.

Do you make a clean install?
[Nexus 5 Android Development] SwissBeef:
Delete flashed ZIP-Files

Hi [MENTION=535343]all[/MENTION],

i installed the latest version with the "BeansGapps-Mini-7". After flashing i root the device; SuperSU succesfully installed. All works fine.

The SD-Card contains the folder "!ReadyTo-Flash". This folder contains the flashed ZIP-Files (BeansGapps-Mini-7 & the PureNexus ZIP-File).

How can i delete the 2 ZIP-Files? I use the ES-Explorer, root are granted for this explorer app. When i want to delete the files with the ES-Explorer a message are displayed: "You can not delete this file". Is an other root app needed for delete the 2 files?

Thx in advance for help!

EDIT: OK, booting in TWRP and delete the files in the TWRP-Explorer :)
[Nexus 5 Android Development] thenugdestrroyer:
Can we just wipe caches and flash update?
[Nexus 5 Android Development] thenugdestrroyer:
Didn't buff out for me, wizard setup crash and tried another gapp package then only voice keyboard was available so I was kinda Sol.. O well back on older version
[Nexus 5 Android Development] Routh:
Hi, I just did another clean flash with Gapps and Camera fix posted here. Unfortunatelly its year 2017 and Android 7.1.2 but the problem with Camera bug is still present.

How to reproduce: turn on build in torch, keep it on for at least two minutes.

Try to turn on again or open any of Camera apps.

It will fail because till this day nobody didnt fix this stupid thing. I would really appreciate and make donate for that person which will finally solve this without suggesting to restart the phone. Many thanks.

If you want some log from me just let me know.
[Nexus 5 Android Development] Pshemo__:
Man, it's true (happened to me once in time of 3 years) but I think nearly noone does it in this order so... nobody cares really much :P
[Nexus 5 Android Development] Routh:
But it sucks. I can reproduce it very simply in real life. Mouting screews need fast light but few minutes after I need to take photo or turn on light back. But with this stupid bug/behaviorální of torch and cameras its impossible.

Android sucks more and more... What a shame.
[Nexus 5 Android Development] karandpr:
Thread cleaned

Stay on topic

-XDA Staff
[Nexus 5 Android Development] Jeevank444:
Bug in the rom.

Rom is working nice on my phone but with a single bug. The bug is that screen goes blank and I can't able to detect what's happening with my phone. I can actually use the phone but I can't see what I am doing on my phone. please fix this bug.

Thanks in advance
[Nexus 5 Android Development] Fuscus69:
Hello I've just clean installed this Rom and gapps without the camera fix and I have a problem with the power button. It sometimes doesn't work. I have enabled volume rocker to wake the screen and tapping on status bar or navigation bar closes the screen. Is this a known problem or is it just me?
[Nexus 5 Android Development] KennyG123:
As no one else has reported this, it seems to not be a bug in the ROM. You should describe your procedure used to clean flash the ROM installing no other apps. Also to properly report a bug, you should provide a logcat of what is happening.
[Nexus 5 Android Development] Fuscus69:
I've disabled the volume button wake function and now the power button works properly. Seems like there's a conflict between buttons if the option is enabled
[Nexus 5 Android Development] lion_2006:
I opened Kernel manager app and I am shocked by all these cpu governos and options of the rom Default Kernel ,

Does anybody knows what is the Best adjustment of the Kernel for heavy multitasking , smoothess and battery balance ?
[Nexus 5 Android Development] lion_2006:
What to choose !!!!
[Nexus 5 Android Development] Aswin08:
Seems to be the common power button failure in Nexus 5 devices. Would cost around Rs.500.
[Nexus 5 Android Development] Fuscus69:
It's not power button failure. Ive disabled the volume rocker wake function and it works perfectly now. It worked on stock flawlessly too. I've already had my power button replaced last year.
[Nexus 5 Android Development] Aswin08:
Oh fine. Not yet updated to 31/7 build but never had such issues so far with this ROM as i have always enabled volume rocker wake function.
[Nexus 5 Android Development] Viksz:
Anyone got viper for android working with latest version of this rom ?

i flashed guitarded's viperfx but i get IO error when instaling driver for viper.
[Nexus 5 Android Development] Achi Shukuteki:
Which Gapps are you using? I'm wondering if it's something missing in a library. Otherwise, I just ordered a new camera module to see if it's a hardware issue. If not, I'm gonna try and downgrade to the May build which was the last time the camera (rear) worked for me.
[Nexus 5 Android Development] R!pper:
Failure since 7.1.2-20170729-UNOFFICIAL.zip and still at 7.1.2-20170731-UNOFFICIAL.zip

I have somtimes a black screen and i can´t wake up the LCD with power & volume buttons, and wake up at start and stop loading dont work.

I must hold the power button and the volume key to restart.
[Nexus 5 Android Development] Jeevank444:
thanks for your response. I have installed the rom as per the suggestions give in XDA forum and there is no problem after the installation. but whenever i tried to open any high graphic games like CLASH OF CLANS or ASPHALT 8 my screen suddenly goes blank and the process is running background. this problem doesn't occur whenever i use any small games or any apps. so please fix it.

thanks in advance