yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Gallardo994:
Yes, loops once and boots TWRP
[Nexus 5 Original Android Development] Riddle5:
Any profile for the best battery life?
[Nexus 5 Original Android Development] wangdaning:
The profile you create based on your use I would guess. I use pretty much default settings, but my deep sleep is about 98% of battery and my phone goes for about 5-6 days.
[Nexus 5 Original Android Development] Shiestie:
Marshmallow kernel won't work on a nougat rom
[Nexus 5 Original Android Development] vin4yak:
Do you even read the posts? I tried it since the dev said to give it a go.
[Nexus 5 Original Android Development] Gallardo994:
I may try to compile it for 7.0 if [MENTION=4684315]flar2[/MENTION] gives me permission.
[Nexus 5 Original Android Development] flar2:
It would be a great help if you did and then made a pull request on github
[Nexus 5 Original Android Development] Gallardo994:
Booted. RIL doesn't seem to work yet, sorting out.
[Nexus 5 Original Android Development] Gallardo994:
Sadly can't get RIL to work. Not that much experienced at this.
[Nexus 5 Original Android Development] vin4yak:
Well, at least you gave it a shot! Thanks.
[Nexus 5 Original Android Development] Co.Tibi:
Ask [MENTION=4684315]flar2[/MENTION] for advice. Maybe he has time.
[Nexus 5 Original Android Development] flar2:
Time is something I don't have enough of.

Is everything working on the Nougat ROMs? Last week someone posted a link to a Nougat port. Their kernel sources were not synced up to Google's latest, but I noticed a few selinux commits. That may be all that's needed.
[Nexus 5 Original Android Development] Gallardo994:
That is right, this is what makes it boot: https://github.com/Gallardo994/ElementalX-N5/commits/ElementalX-6.00/nougat

Meanwhile RIL gets broken and I'm no specialist in kmsg log which is just huge.

Originally I thought it was something with ramdisk (as [MENTION=3873953]eng.stk[/MENTION] said in his thread), but i got no clue what to do with it.

EDIT: gonna try rechecking all commits, maybe even something breaks it.
[Nexus 5 Original Android Development] Gallardo994:
Can't test it cause I need my device for some important calls. If someone is willing to give it a try, I've set my server to build a zip with changes from nitrogen kernel (might work perhaps?):

http://er-mta.net/subweb/android/elex/work/EX-n-hh-Tue 6 Sep 14:45:13 CEST 2016.zip

If it even boots (?), tell me if things are working (RIL, camera, ...)

Don't forget, make all kind of backups. I am making things blindly at this moment.
[Nexus 5 Original Android Development] a g bell:
Cool l will test
[Nexus 5 Original Android Development] Gallardo994:
According to logs, cameraserver & audioserver still can't pass selinux causing a bootloop now.

[ 27.142730] [ 20.576736] type=1400 audit(1473166808.604:129): avc: denied { read } for pid=998 comm="audioserver" name="hw_platform" dev="sysfs" ino=5057 scontext=u:r:audioserver:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
...
[ 20.800022] type=1400 audit(1473166808.824:130): avc: denied { write } for pid=997 comm="cameraserver" name="cam_socket1" dev="mmcblk0p28" ino=24579 scontext=u:r:cameraserver:s0 tcontext=u:object_r:camera_socket:s0 tclass=sock_file permissive=0
...
init: Service 'cameraserver' (pid 997) killed by signal 9
[ 27.142909] init: Service 'cameraserver' (pid 997) killing any children in process group
[ 27.143642] init: Service 'audioserver' (pid 998) killed by signal 9
[ 27.143781] init: Service 'audioserver' (pid 998) killing any children in process group

EDIT: yep, built with selinux permissive and the kernel boots & works just fine. But this is not the solution, I think. Working test build:

http://er-mta.net/subweb/android/elex/ElementalX-6.20-N-Hammerhead-permissive.zip
[Nexus 5 Original Android Development] a g bell:
Sorry did test yeah would not boot pass google splash for me after moving folders in the zip

---------- Post added at 06:17 PM ---------- Previous post was at 06:10 PM ----------

Didn't get a boot loop just straight back to recovery couldn't get any useful logs
[Nexus 5 Original Android Development] Gallardo994:
Made pull request. [MENTION=4684315]flar2[/MENTION], maybe you can do something about SELinux thing later on, I am not sure that I'm able to fix it (this is my first work with kernels ever)

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

That is an old testing kernel. Consider running latest one (last post at the previous page)
[Nexus 5 Original Android Development] yyz71:
Good job
[Nexus 5 Original Android Development] philipped346:
good job , work fine .
[Nexus 5 Original Android Development] maortrol:
New Build MOB31E:

https://dl.google.com/dl/android/aosp/hammerhead-mob31e-factory-90504514.zip

;)
[Nexus 5 Original Android Development] a g bell:
Forgive me new build of elementalx ?
[Nexus 5 Original Android Development] SH1M4BD3:
its still permissive ???
[Nexus 5 Original Android Development] SH1M4BD3:
trying to download but theres nothing happened, only blankscreen, broken link???
[Nexus 5 Original Android Development] Nevermindthelabel:
The link is for the September factory MM image, nothing kernel related
[Nexus 5 Original Android Development] SH1M4BD3:
o god ok im not read whole post, sorry
[Nexus 5 Original Android Development] Nevermindthelabel:
All good, I was a little confused when I saw the link too. Think there was a build uploaded a few posts back that might work with N, haven't tried it
[Nexus 5 Original Android Development] flar2:
Update!!!

Download

ElementalX-N5-6.21

Changes:

-September security update
[Nexus 5 Original Android Development] SH1M4BD3:
it worked,am flashed few hours back
[Nexus 5 Original Android Development] cmr_noob:
It works. I flashed it last night and so far no problems, works like a charm
[Nexus 5 Original Android Development] Shiestie:
I was just stating that a nougat kernel won't work on a marshmallow build =)
[Nexus 5 Original Android Development] Gallardo994:
Just rechecked. Seems like none of the current 7.0 kernels run enforcing mode. So not only I faced that problem.

---------- Post added at 11:08 AM ---------- Previous post was at 10:44 AM ----------

6.21 build for nougat (permissive kernel): http://er-mta.net/subweb/android/elex/ElementalX-6.21-N-Hammerhead-permissive.zip
[Nexus 5 Original Android Development] akapolips:
Flashed it and it works only thing it broke my wifi. I had to Flash wifi-fix from Blue spark kernel.

Verstuurd vanaf mijn Nexus 5 met Tapatalk
[Nexus 5 Original Android Development] Gallardo994:
I'm running MCAOSP and wifi is working out of the box with the kernel. Maybe wifi fix is integrated into the rom already, who knows.
[Nexus 5 Original Android Development] akapolips:
I'm running bokrom latest build.

Verstuurd vanaf mijn Nexus 5 met Tapatalk
[Nexus 5 Original Android Development] I.m.Tuga:
To those who flashed 6.21 version, are you having YouTube errors and/or WiFi not working?

I'm asking because as soon I flashed bluespark, YouTube errors started to occur and had to to flash WiFi fix .zip.

None of this is happening with the default kernel from Santhosh M built.

Enviado do meu AOSP on HammerHead através de Tapatalk
[Nexus 5 Original Android Development] akapolips:
Yes YouTube and wifi problems here.

Verstuurd vanaf mijn Nexus 5 met Tapatalk
[Nexus 5 Original Android Development] Gallardo994:
Is 6.20 ok with it?
[Nexus 5 Original Android Development] philipped346:
It break vidéo on facebook or YouTube.
[Nexus 5 Original Android Development] a g bell:
Not tried YouTube but WiFi can be fixed with a flashable zip in that other kernel thread l wonder can the contents of the zip be incorporated into the kernel don't worry link to zip coming up
[Nexus 5 Original Android Development] Gallardo994:
The thing is, youtube isues happen on blu_spark and, according to reports, on stock 7.0 kernels by rom devs.

If that thing never happens for you on a certain kernel, please link me to github repo they got for it.

Speaking of wifi stuff, you can either use the fix or try MCAOSP rom: no probs there.

This is probably why we need permissive kernel:

New services don't pass selinux checks.
[Nexus 5 Original Android Development] clkehl:
The YouTube issues are permissions related just give YouTube storage permission. It is NOT kernel related.
[Nexus 5 Original Android Development] a g bell:
Still not playing granted every permission available?

Oops l am a dumbass working now after reboot?
[Nexus 5 Original Android Development] grep_i:
Flashed September patched firmware for my Nexus 5 device and Supersu, ElementalX and Xposed systemless all in one go without loosing data or having issues afterwards.

Not with YouTube which seems kind of unrelated and also not with wifi it's just stable.
[Nexus 5 Original Android Development] bagou01:
Had to remove elementalx.

I had it installed on cyanogen 13 (last snapshot), but i got told that most of the time my phone sent to my voicemail without even ringing. Not had issues (that i know of) since i removed it...
[Nexus 5 Original Android Development] grep_i:
Have no clue how that's related.

Guess something in the rom messes things up if it's really true what you say.

You don't have the problem right now ain't you ?

Try installing ElementalX again and see if the problem returns if so we need to figure out how is this even possible maybe you are using an alternative dialer app.
[Nexus 5 Original Android Development] bagou01:
ok sure, i'll wait like a few weeks to see if that happens again or not. if yes, i'll come and say so :) i'll keep you up to date.

If nothing happens in a few weeks i'll reinstall elementalx on top of cyanogen, then wait again to see if that comes back :)
[Nexus 5 Original Android Development] flar2:
I don't think that has anything to do with the kernel
[Nexus 5 Original Android Development] I.m.Tuga:
I had to return to the stock kernel because bluespark gave me YouTube errors. Since I returned by flashing again Santosh M nougat built with it's included kernel I had no more YouTube issues nor WiFi by the way.

But I really miss using the display control app

Enviado do meu AOSP on HammerHead através de Tapatalk
[Nexus 5 Original Android Development] Gallardo994:
Can you attach kmsg & logcat at the moment right after the problem with yt happens?
[Nexus 5 Original Android Development] buffal0b1ll:
6.21 working fine on 6.0.1 Pure Nexus Mod with August security patches. No issue with Wi-Fi. Did have an RR when I opened YouTube and pressed play, but after enabling all YouTube app permissions all is well.
[Nexus 5 Original Android Development] vin4yak:
Here you go.
[Nexus 5 Original Android Development] a g bell:
And here too? https://drive.google.com/folderview?id=0ByRlwtAJ0pz0ZWJuUkdNUHR2cDg
[Nexus 5 Original Android Development] shad876:
Thing is, it works well at first and then after watching a couple vids it starts acting up. Works after a reboot but soon after the cycle starts all over..all permissions have been granted. Not saying it's a kernel issue by the way...
[Nexus 5 Original Android Development] I.m.Tuga:
Which kernel is it installed?
[Nexus 5 Original Android Development] a g bell:
Elex of course ?
[Nexus 5 Original Android Development] grep_i:
[MENTION=4684315]flar2[/MENTION] is it possible you forgot to include the quadrooter vulnerability commits in this kernel release.

Because if I test on this my device still seems to be vulnerable
[Nexus 5 Original Android Development] nathanchance:
The commit is already there: https://github.com/flar2/ElementalX-N5/commit/f512a6b8e2ff3263ef07bc1ae39b595b39b7f3ba

Those apps don't check for the vulnerability itself, I wouldn't trust it.
[Nexus 5 Original Android Development] Gallardo994:
Author of bokrom posted youtube fix which replces media_codecs inside the rom. Try that maybe.
[Nexus 5 Original Android Development] thereal_bigjake:
I've been using it for the last hour or so and so far so good. We'll see how it goes
[Nexus 5 Original Android Development] grep_i:
OK before it found 3 vulnerabilities and now only 1, I'm talking about the zonealarm app.

You think it's a fake app ?
[Nexus 5 Original Android Development] mooiemeneer:
Oops.
[Nexus 5 Original Android Development] occtec:
Here's a fix for those having issue with YouTube http://xdaforums.com/google-nexus-5/orig-development/wip-aosp-nougat-nexus-5-t3446875/post68581627 tested and working. Just flash zip in recovery & reboot, you're all good to go. Cheers..
[Nexus 5 Original Android Development] Ruben8ap:
anyone knows how to fix battery drain when the screen is off?
[Nexus 5 Original Android Development] flar2:
Your phone is being held awake by something. It's not kernel related, check your apps because one of them is misbehaving. And not only is it not sleeping, it's actually doing something. Your drain would only be 2-3% if the phone was awake and idle. Over 5%/hr means the CPU is working.
[Nexus 5 Original Android Development] flar2:
Security and antivirus apps are pretty much useless on Android. They are trying to scare everyone into paying for protection.
[Nexus 5 Original Android Development] grep_i:
So your saying that being vulnerable to CVE-2016-2504 is just to scare me into using or buying a security application.

It might be I'm not really affected at all or does it mean the affection is not a big problem ?
[Nexus 5 Original Android Development] nathanchance:
That vulnerability was fixed with this commit: https://github.com/flar2/ElementalX-N5/commit/15701ca335357e98a0eb98ef079fe45e3b830591

Here is CAF's post on the matter: https://www.codeaurora.org/use-afte...tions-kgsl-module-cve-2016-2504-cve-2016-2503
[Nexus 5 Original Android Development] flar2:
The problem is these apps can't really do anything. Apps on Android are highly restricted, unless they are root apps, they are basically sandboxed and can't look too deeply at the system. They definitely can't seriously test for these exploits. If they tried, they would get banned by Google for being exploits themselves. Google's own app verification is much more effective than any of these antivirus apps.

As long as you're getting your apps from trusted devs on the Play Store, and not installing pirated/cracked apps or downloading weird stuff or clicking unknown links in spam emails, you don't have anything to worry about.
[Nexus 5 Original Android Development] Gallardo994:
Come on, such security on mobile devices is simply exaggerated. I've never been using SELinux on my home machine & my dedicated server and I've never had any problems for all 7 years I've been working with Linux.
[Nexus 5 Original Android Development] psydex:
I'm having trouble disabling "mpdecision".

It re-enables itself therefore can't set permanent max/min cpu frequencies.

Sometime it sets min cpu frequency to 1000Mhz+ and makes my battery cry
[Nexus 5 Original Android Development] a g bell:
Do you have a file manager?go to system/ bin/ mpdecision and delete that phone heater
[Nexus 5 Original Android Development] Eduardo C.:
Is EX 6.21 compatible with SanthoshM Nougat 7.0 ROM?

Thx
[Nexus 5 Original Android Development] occtec:
If your read a few pages back others are running this Kernel with Nougat without any issues. So to answer your question yes.
[Nexus 5 Original Android Development] amnher:
Are there any mirrors? Androidhost seems having problems
[Nexus 5 Original Android Development] drive2droad:
There's an unofficial version of the same kernel which has been compiled to work on Android N.
[Nexus 5 Original Android Development] occtec:
I believe that some have also used 6.21 without issue..
[Nexus 5 Original Android Development] a g bell:
Is there anyways someone could add the WiFi fix to the kernel For N ?
[Nexus 5 Original Android Development] cobyman7035:
Some one please link me to nexus9 lte forum please.. Think I just bricked it... Won't turn on... Tried holding power and down.. Does not do anything.. It's white blinking flash on led where it plugs in... I have it on charge... Not sure if battery is completely dead
[Nexus 5 Original Android Development] maortrol:
Is this what you need?

http://xdaforums.com/nexus-9
[Nexus 5 Original Android Development] Saad Shaikh01:
Can anyone tell me if this version is performing properly, without any bugs or heating issues?

I cannot read through all 2000 pages
[Nexus 5 Original Android Development] grep_i:
What do you think yourself ?
[Nexus 5 Original Android Development] AndroidBR:
Hey guys, just wanted to touch base with you all and definitely give [MENTION=4684315]flar2[/MENTION] all praise for his relentless support for our Nexus 5 and many other flagship phones. Thank you Aaron, you're my (our) hero!

I've been happily using my N5 since March 2014, always with CM ROMs + EX kernel / kernel manager combo from the very beginning with the best possible results. I'm very satisfied with this device and feel no need to replace it with something newer (yet).

Although, less than a month ago I came across an Amazon subsidized phone called BLU R1 HD, which currently is the hottest unlocked phone on Amazon right now. It only costs 60 bucks for Prime members for the 16GB Storage / 2GB RAM device with Amazon ads in the lockscreen.

In just a few hours I was able to root it, flash TWRP, removed the annoyance of those Amazon ads, plus some of the useless apps that came with it. I'll be honest with you all, this is one heck of a deal. Dual SIM, decent performance and great battery life with a near stock Android experience. It's just hard to beat that.

I understand this is not the place to be talking about this other device, but I just wanted to let the rest of the world know and benefit from such a great deal for a backup phone.

Hopefully some recognized developer(s?) here will be able to get their hands on one of these and start developing custom kernels and ROMs for it. I believe kernel source code has been made available for it. Some other developers are trying to port CM13 for it as well.

http://xdaforums.com/r1-hd/development/blu-r1-hd-ready-devs-t3439272/page1

http://xdaforums.com/r1-hd/development/alpha-testing-cm13-r1hd-t3459143

It's a MediaTek powered device so I'm not really that enthusiastic about it ever getting a decent ROM / custom kernel. But who knows...?! Nothing is really impossible to accomplish for someone like flar2! Haha!

Cheers everyone!
[Nexus 5 Original Android Development] ck.chunkeat:
Not sure if this is the correct place to post. But using the latest elementalx 6.21 along with latest pure nexus, I face some issues.

1) the screen will be not responding to any touch. i can only interact with navigation bar and notification bar. ( i can slide down notification bar and press on the notifications or toggle the settings)

2) I'm using slide left or right to sleep at navigation bar (elementalx kernel feature). From time to time, I can't slide to sleep. At this point, I couldn't even use power button to sleep. The power button does nothing at this point. The whole screen including the back, home and recent button at notification bar can still function normally. I had to use double tap on the notification bar to sleep the device(pure nexus feature)

Note: My bro who had the exact same rom and kernel as I do, faces the exact same problems in his nexus 5 as well.
[Nexus 5 Original Android Development] flar2:
These are not kernel related. I recommend the stock ROM for this device and ElementalX.
[Nexus 5 Original Android Development] ck.chunkeat:
Thanks for the prompt reply. I too, believe that it shouldn't be kernel related as it was working fine before i switched over from cataclysm rom.
[Nexus 5 Original Android Development] GjorgiDxc:
The power button issue is a known PN bug, just disable the volume wake feature. Also, either use the kernels swipe to sleep feature or the roms double tap to sleep on nav bar one. That way you won't have any conflicts.
[Nexus 5 Original Android Development] a g bell:
Even Franco is getting some n action now ?
[Nexus 5 Original Android Development] LVME:
what apps are you using, greenify, amplify, etc? can you share your amplify settings

would really appreciate it
[Nexus 5 Original Android Development] wangdaning:
I just don't have very many apps that drain and yes, I use greenify. I also use xposed module bootmanager to keep things from starting at boot. Only thing that really drains my phone is google play services, well, and screen on of course.
[Nexus 5 Original Android Development] Jaizu:
How many hours scot do you get? What Rom are you using? Did you replace your battery? When did you bought your phone?

I hope you don't mind all of this questions, I'm sorry if you do, have a nice day!
[Nexus 5 Original Android Development] creeve4:
[MENTION=4684315]flar2[/MENTION] With 6.21, several settings that were selected during installation are not matching with what is shown in the EX app.

I cleared the app data and re-flashed the kernel, but the problem persists.

In the Aroma installer I selected the following options:

Backlight dimmer: enabled

Readahead: 256

USB fastcharge: enabled

As you can see in the screenshots below, the EX app is showing different settings for these. Also, I noticed that when flashing EX, the elementalx.backup file is not created at /sdcard. Attached is the elementalx.conf file. There is no log file here: /data/local/tmp/elementalx-kernel.log.

I'm running stock MOB31E rooted with phh's latest superuser release, r242.

Edit: the problem appears to be with phh's superuser, after switching back to SuperSU everything is working correctly.
[Nexus 5 Original Android Development] flar2:
I haven't tried phh superuser yet. Hopefully there is an easy workaround.
[Nexus 5 Original Android Development] Co.Tibi:
[MENTION=4684315]flar2[/MENTION] i received a notification to update your kernel to 6.22 (with support for nougat). Upon flashing the phone only boots to recovery. I had the modified 6.21 kernel for nougat so I managed to revert to it. Is 6.22 an official build because I can't find anything about it in this thread...
[Nexus 5 Original Android Development] flar2:
It doesn't work? Damn. I was just throwing it out there.
[Nexus 5 Original Android Development] Co.Tibi:
LOL :):):) Awesome... I'm on Santhosh M ROM, AOSP. As I said before, I had previously flashed that modified version of your kernel (6.21) and when I saw the update, flashed the express version of 6.22. After that it only booted to recovery. Is there anything else I can tell you that might help? Thank you for your effort and the surprise!
[Nexus 5 Original Android Development] flar2:
Try version 7.00
[Nexus 5 Original Android Development] George35000vr:
Worked for me. (itigr nougat build)
[Nexus 5 Original Android Development] TheSharkzfan:
Updated to 7.00, WiFi and the any app that uses the Camera wasn't working.

The wifi fix.zip fixed the wifi problem, but I'm guessing something is still not playing well with CameraService

Edit: Realized the kernel wasn't permissive, so changing that fixed the camera. So this is working 100% on Nougat.
[Nexus 5 Original Android Development] Co.Tibi:
I'm not seeing the 7.00 update. It isn't showing up in the update section of the app. Where do I have to look for it?
[Nexus 5 Original Android Development] haseoxth:
Seems this update is pushed to EXKM app and only can be seen by users running nougat roms
[Nexus 5 Original Android Development] Co.Tibi:
I am on a nougat ROM ... maybe flar2 pulled it due to bugs
[Nexus 5 Original Android Development] flar2:
No, is still there
[Nexus 5 Original Android Development] Co.Tibi:
I don't see it... What am I missing?
[Nexus 5 Original Android Development] yyz71:
It's there
[Nexus 5 Original Android Development] Co.Tibi:
It obviously isn't there, that's why I posted the screenshot.
[Nexus 5 Original Android Development] yyz71:
And that's why I posted its there in my screenshot!
[Nexus 5 Original Android Development] Co.Tibi:
Can someone please upload version 7.00? I can't seem to be able to get it through EX kernel manager.

edit * nevermind
[Nexus 5 Original Android Development] sam.balia1012:
where is 7.0 dl Lnk:o

---------- Post added at 01:43 PM ---------- Previous post was at 01:37 PM ----------

can someone post or point to where 7.0 is
[Nexus 5 Original Android Development] Nevermindthelabel:
Right now it's only in the EX Kernel Manager app afaik