yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] xeraphael:
Because this "let people decide" thingy is the same archaic mentality that plagued Microsoft for years when they were trying to implement UAC in Windows and made things a lot more difficult and unsafe than it should have been.

The developer is correct in trying to enforce proper security measures. It's his philosophy, and it's app developers who should be updating their apps to play nice with SELinux. And even if you don't agree with it, like the developer said, disabling enforcing mode is just literally one single-line script away. And if you don't even know how to do that, chances are you shouldn't be trusted to mess around with Android's inbuilt security mechanisms either.
[Nexus 5 Original Android Development] J3:16:
The "the developer decides" mentality is just the reason why people drop Windows for Linux, and I've stopped walking with someone holding my hand and bringing me wherever he wants since I'm not a baby. The point is not skills, it's simplification. I never said I'm not able to. Your conclusions based on nothing perfectly show your polemic attitude, and I'm not going to follow you in this.
[Nexus 5 Original Android Development] xeraphael:
Riiiiiiight.

Don't want the developer to decide? Want to be the one in charge? You have the source code and all the required blobs. Build your own kernel, problem solved.

Sheesh.
[Nexus 5 Original Android Development] 1119553797:
I hope set of the minimum frequent can under to 1036 MHz
[Nexus 5 Original Android Development] till22:
I hope so too! (?)
[Nexus 5 Original Android Development] flar2:
RE: selinux mode

A) this isn't even a kernel setting

B) it's dead simple for any user to change selinux mode, there are apps, a zip I created for convenience, or a simple one line command. Even better, you can change the policy to allow exactly what you need

C) if an app needs permissive mode, it means the developer is either incompetent or doesn't care enough to update his/her app or the app is doing something that it probably shouldn't be doing.

Selinux has been enforcing since Lollipop came out. It's time to move on and accept it.
[Nexus 5 Original Android Development] grep_i:
Totally agree with this vision, whenever I say this to people on this forum they become quite agitated. There's a tendency here that permissive is better than enforcing based on number of apps you can start in the different modes.
[Nexus 5 Original Android Development] flar2:
Sorry [MENTION=4485711]xeraphael[/MENTION] I meant to quote the post above yours
[Nexus 5 Original Android Development] magnamentis:
i not only was running permissive but AM running permissive and will not change that without reason, because it's the way nothing ever did "not work" and i usually choose the path that always works over checking each time whether the reason for a glitch could be SELinux. (while i agree with you that it's app dev's responsibility)

concluding from your words i assume that there were changes made that interfere with permissive which then would proof me wrong and permissive would be the reason for the trouble, which by the way would be a major and not a minor change IMO :) LOL (i'm smiling)

however if that is the case, especially for the nexus 5 where cooler colors are the last thing i would like to loose i would be willing to change to

enforcing as long as i don't run into any issues later on.

hence i just ask you to please confirm that your kernel does not run permissive anymore? because i was reading something about a checkbox

which by the way i was searching in aroma installer and it did not show, but it was there before ?

just if you would be so kind and make a very clear and final statement on that matter so that i know what i either can do or "have to" do, thanks

for helping me out and for the kind reply and last but not least for the hassle free experience over so many years now. :good:

EDIT: i know you tend to convince people to go enforcing and once i have to, so what but as long as i don't have to i prefer the other approach :D

EDIT2: since i never changed to enforcing would i have to change to enforcing BEFORE flashing the latest kernel, just asking because you wrote that this could

happen when running permissive BEFORE so what exactly does that mean, hence my question to verify my suspicion that that's the way to go.
[Nexus 5 Original Android Development] :
can make a man go insane.
[Nexus 5 Original Android Development] flar2:
Yes, version 6.13 could not run permissive, it was a bug (something I forgot to revert). I just pushed an update that will fix it.
[Nexus 5 Original Android Development] flar2:
Update!!!

March security update, minor changes.

Selinux could not be set to permissive in 6.13, that was something I forgot, It's now fixed.

If you must run permissive, then use the permissive.zip found here: https://www.androidfilehost.com/?fid=23991606952602503

Download

ElementalX-N5-6.14

Changes:

-March security update

-fix selinux modes
[Nexus 5 Original Android Development] magnamentis:
uhhh..... thank you so much, it really doesn't matter, just happens :) i'm just glad that i didn't miss something stupid and that it was real. all great and thanks a lot for looking into it that quick.

:good:
[Nexus 5 Original Android Development] thereal_bigjake:
Thanks for the update, everything is working now.

I confirmed wireless adb only works on permissive. Maybe something needs to be added to the rom for it to work on enforcing, idk.
[Nexus 5 Original Android Development] magnamentis:
yep, that's it, all back to normal, many thanks again, will no head over to N6 and check :)
[Nexus 5 Original Android Development] flar2:
The n6 should never have had a problem. But you will need the permissive zip
[Nexus 5 Original Android Development] nexttjme:
After flash 6.14 build. My status bar and navigation bar look like this. Np with 6.13 build.

Ps. I'm on DU rom.
[Nexus 5 Original Android Development] starkly_raving:
Are you sure its not the theme and or launcher you're using?
[Nexus 5 Original Android Development] nexttjme:
Yes. No problem with 6.13 so i think it's kernel issue.
[Nexus 5 Original Android Development] nathanchance:
The kernel has no effect over that, it is not in its domain. Have you tried resetting the wallpaper?
[Nexus 5 Original Android Development] nexttjme:
Lol. It's my bad. Resetting the wallpaper solves the problem. Thanks!
[Nexus 5 Original Android Development] Charles_l:
Hi, got 2 random reboots in 3 hours.

I think it is relative to the game "Clash Royale".

Here is the log.

I used SAOSP.

thanks.
[Nexus 5 Original Android Development] Chitown021:
Had to switch back to 6.12. I seem to have lost the ability to boost volume, unless that had something to do with the loss of being able to select permissive mode. Using it with Pure Nexus ROM.
[Nexus 5 Original Android Development] Hatshipuh:
6.13 and upwards run pretty hot during games and throttle quickly compared 6.12.

Tap-a-talked from my Nexus 7
[Nexus 5 Original Android Development] chykal:
Are you using Faux Sound to boost volume? If so you will need the EX kernel manager app from the play store (paid app) according to flar2 here http://xdaforums.com/showthread.php?p=65692726.

If anyone knows of another way let us know.
[Nexus 5 Original Android Development] magnamentis:
i'm using selinux changer and from latest build it kicks in a bit late, hence i see a few FCs which stop the moment SELinux changer does it's job upon boot after a bout 20 seconds. hence no big issue but it's probably better from now on to go with the permissive zip that makes everything permissive on boot. will consider ( probably take) that path, thanks for mentioning it.
[Nexus 5 Original Android Development] techinv:
Updated to March security update and EX 6.14 last night. Purely unscientific results here, but after about 30 minutes of playing music today, V4A is sounding the smoothest that I have ever heard on my device :good:
[Nexus 5 Original Android Development] Chitown021:
I used to use V4A, but recently I've stopped using it. I was able to boost the volume by going into the kernel auditor, selecting sound, and then kicking the speaker gain up.
[Nexus 5 Original Android Development] flar2:
I've made extensive changes to fauxsound in the past few weeks to make it finally work correctly. You can use EX Kernel Manager now, or wait for Kernel Adiutor to implement the new settings. It's not going to work with the fauxsound app either.
[Nexus 5 Original Android Development] Chitown021:
Thanks for the info. So it's likely an issue with Kernel Auditor then? I need to just bite the bullet and buy the EX app. It's the least I can do to support all the awesome work you guys do!
[Nexus 5 Original Android Development] Charles_l:
Hi, I tried to find out what cause those random reboots.

Clean flash Pure nexus, flash 6.14 kernel.

Install Clash Royale , got another reboot after playing the game for 15 minutes.

last_kmsg shows errors:

....
[ 5024.890122] type=1400 audit(1457442396.114:717): avc: denied { search } for pid=25506 comm="ell.clashroyale" name="31" dev="proc" ino=10859 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
.....
.....
[ 5744.198819] Kernel panic - not syncing: Fatal exception in interrupt
[ 5745.761470] SMP: failed to stop secondary CPUs
[ 5746.761905] Rebooting in 5 seconds..
[ 5753.326113] SMP: failed to stop secondary CPUs
[ 5753.326262] Going down for restart now
[Nexus 5 Original Android Development] flar2:
I saw the log from earlier and it had completely different errors. Make sure you are not overclocking or undervolting. Can you see if the game crashes on the stock kernel?
[Nexus 5 Original Android Development] Charles_l:
Thanks for reply, I have clean install another rom(from Simple AOSP to PureNexus), the latest log was record under PureNexus.

I have read the PureNexus thread, someone said this issues was connected with google play games, not the game itself actually.

I will try uninstall google play games to see if this issue still happen.
[Nexus 5 Original Android Development] Chitown021:
I purchased and installed the EX app but it can't gain root for some reason. Most of the time root apps will pop up the first time I run them and ask me to grant permission.
[Nexus 5 Original Android Development] Charles_l:
Update:

Phone doesn't crash when plun in, Ex kernel manager just got an update, all default settings, uninstall google play games, reinstall Clash royale, try playing game for 20 minutes, no reboot so far.

weird...

I post the dmesg log when I am playing the game then phone crash , if it helps.
[Nexus 5 Original Android Development] Joy Bangla:
device gets too hot for me using 6.14 with moderate use(no gaming). it wasnt so on 6.12
[Nexus 5 Original Android Development] jineshpatel30:
+1 for this

it gets very hot compare to 6.12 while playing games as well ( all kernel parameters were set as recommended on both versions )
[Nexus 5 Original Android Development] Hatshipuh:
+1 Both 6.13 and .14 feel already hotter after reboot than 6.12 and noticably hotter while playing games.

Especially in games I found it spending a lot more time throttling to 652 MHz than 6.12 and makes gameplay suffer lag spikes.

Flashing back to 6.12 fixes it immediately. Both with stock settings.
[Nexus 5 Original Android Development] flar2:
Alright, I will have to make some adjustments to the governor again. I have an idea that should work.
[Nexus 5 Original Android Development] malek_anas_97:
Google released a developer preview of android N and no love for the Nexus 5 ?

I know we still have custom roms and active development but it just makes me sad to see my most loved phone ever lose support like this ??

If you look at the bright side at least there's no flashing factory images and my OCDs of wiping everything anymore ???

#LongLiveNexus5
[Nexus 5 Original Android Development] flar2:
Well, it is a 2013 device, so it looks like Marshmallow is the end of the line.

But, this is still my favourite device for app development. It's so snappy, everything is quick and easy. The newer devices are more complicated and take longer to flash new system images and stuff like that. I will miss the simplicity of this device.
[Nexus 5 Original Android Development] looney_tkp™:
Nexus 5 has come a very long way

i had a feeling marshmallow will be the last...its a fact
[Nexus 5 Original Android Development] Chitown021:
Same here. I was expecting it would not be included, but I guess in the back of my mind I just hoped it'd still be there...
[Nexus 5 Original Android Development] till22:
I'm currently using a N5X but will sell it and go back to the N5. I Installed the EAS kernel and am using the sched governor, so far battery life is really good and I haven't noticed any decrease in performance. Will the N5 also receive this, or is this not possible due to the N5 having the SD800 and not the SD808? I don't remember if EAS was CPU dependant or not.
[Nexus 5 Original Android Development] flar2:
EAS is not for this chip.

I would wait and try the very latest 5X update before selling it. I haven't updated the kernel yet, they made a lot of changes.
[Nexus 5 Original Android Development] till22:
Ok, that's a shame.

I'm not selling the N5X because I don't like it. I live in Argentina and due to importation limitations I can sell the N5X for about 2 or 3 times what I've paid for it. I bought a used 32GB N5 for $150 which friends will bring back in April.

I really loved the compactness of the N5, and in terms of performance it's not slower in my day to day usage than the N5X. Battery life is not so good, but that's why I always have a battery pack with me.
[Nexus 5 Original Android Development] looney_tkp™:
Guys a quick question please..

which scheduler works very well with eleX governor in terms of super battery saving ?

and which works perfectly with eleX governor in terms of pure performance ?

i just wanna know when to switch :)
[Nexus 5 Original Android Development] Mawtin:
Just use the battery saving and performance modes on the app
[Nexus 5 Original Android Development] Statist:
Nope. This is our hope. https://android.googlesource.com/device/lge/hammerhead/+/android-n-preview-1
[Nexus 5 Original Android Development] gverma1:
Getting error 404, Page not found :(

Edit: the link is working now. :)
[Nexus 5 Original Android Development] looney_tkp™:
deleted

---------- Post added at 05:33 AM ---------- Previous post was at 05:29 AM ----------

its working on mine..no errors

I do use it but i want a powersaving scheduler and a performance scheduler... specifically

awww....i love Nexus 5

i hope its no faking
[Nexus 5 Original Android Development] ryanwalexander:
Also returning 5x to go back to n5. 5x was too laggy. Loved the camera and batt life though.

---------- Post added at 11:33 PM ---------- Previous post was at 11:31 PM ----------

Where can I download 6.12? My devices gets hot enough.

---------- Post added at 11:39 PM ---------- Previous post was at 11:33 PM ----------

Never mind it seems like I have it.
[Nexus 5 Original Android Development] looney_tkp™:
flar2..sensor_ind wakelock enable's itself after reboot

6.14 overheats pretty bad and just this morning i have a 4hour approximation...

it used to be 8 hours, or higher

in my opinion 6.10 and 6.11 were far cooler than its successors :)
[Nexus 5 Original Android Development] dechronic:
I haven't seen that problem myself but I do use the thermal throttle setting at Cooler, between EX and stock. It seems flar2 is going to make some changes. Try that thermal throttle setting and see if there is a big difference. Report back as it may help flar2.

For all who read this.

The more we as a community can help isolate the cause of a problem the less time flar2 has to spend troubleshooting it and then the faster he can modify or fix the kernel. Especially as he supports multiple devices with very different kernels.
[Nexus 5 Original Android Development] flar2:
There is no issue with sensor_ind wakelock, it is enabled by default. You can disable it with an app if it bothers you, but this wakelock doesn't even show up with stick ROM, afaik.

As for overheating, I know what I changed there and it will only affect certain situations. For my usage, there is no overheating and battery is same as before.

6.14 is perfectly fine, you may be experiencing other issues.

I've been using the N5 a lot this week:

https://goo.gl/photos/86khu8H8V5ustp8V7
[Nexus 5 Original Android Development] till22:
Wow, almost 21% per hour is a lot. Is that your normal drain since you have the N5 or do you see the battery getting weaker?
[Nexus 5 Original Android Development] looney_tkp™:
i always use cooler temperature throttling

i will change it to Stock for a day

woooow...21°C?

my lowest battery temperature is 32°C i think..i wish i could go that low

i will wait for an update sir :) thanks for repling so quick
[Nexus 5 Original Android Development] Hatshipuh:
Yeah as long as you don't play games, you won't have problems with overheating.

Tap-a-talked from my Nexus 5
[Nexus 5 Original Android Development] flar2:
I've always had 18-21% per hr on this device. I get closer to 30 % per hr with one of the other kernels. I type a lot and barely ever stop touching the device, constantly scrolling and flipping between web pages. I don't tweak anything. For reference, I avg about 15-18% /hr on my 6P.
[Nexus 5 Original Android Development] till22:
That's awful. Never got so much on my N5, even when doing what you described I got something between 15-17%. Is your brightness very high; is this outdoor use?

I got about 10-13% on my Moto E and now between 10-14% on my N5X (with the 1.08 EAS kernel). This screenshot is from this charge, this is almost completely on 3G and using AP mode during the night:
[Nexus 5 Original Android Development] flar2:
It's just because of my frantic flipping between tabs in Chrome and constant refreshing and typing.
[Nexus 5 Original Android Development] chazall1:
6.14 working fine here, Great Job.
[Nexus 5 Original Android Development] acat550:
Must agree. Keep it up!
[Nexus 5 Original Android Development] fedex2go:
Using 4.09 with Cataclysm 5.1.1 (r14 Stable Final).

Trying to save my Power Button, so I enabled DT2W, S2W and S2S.

Just found out that DoubleTap2Wake and Sweep2Wake features don't work during call in progress (but Sweep2Sleep works).

Is this a feature or a bug?

Thx!!!!
[Nexus 5 Original Android Development] flar2:
Feature. You don't want your cheek to turn on the screen and start pushing buttons while on a call.
[Nexus 5 Original Android Development] looney_tkp™:
[MENTION=4684315]flar2[/MENTION]

Entropy is high when screen is off, its around 80-91%

When screen is on after a minute or two then it reduces to 5%+....is it normal ?

and am still on MM2BQ...maybe that's the reason for overheating and the entropy

Temperature 11 is always static at 37°...is that also normal ? tho at that temp. its still hotter..

I changed the I/O scheduler from noop to row and the overheating reduced..its a bit better now..
[Nexus 5 Original Android Development] fedex2go:
Thank you!!!
[Nexus 5 Original Android Development] luca.giannatiempo:
Hi, which app are you using for the battery? I can find this "battery monitor" on play store..please can you tell me where to find that app or how it's called?thanks!

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] till22:
It's the kernel manager for ElementalX. Search "EX Kernel Manager" on the Playstore, it will be the first result.
[Nexus 5 Original Android Development] DoesntPostAThing:
No problem. I don't think benchmark scores are a great indication of GPU frequency though. As for 320, why? Its already really smooth. Idling is when nothing is moving at all, so there's nothing to smooth out at all. If you want it to use 320 or higher more often just switch to simple governor, then turn off gboost or switch to ondemand CPU governor.

Sent from my Nexus 5
[Nexus 5 Original Android Development] DoesntPostAThing:
I've also attached the Trepn apk for whoever wants it.

Sorry for the double post, found out I couldn't attach from XDA app after typing out the previous post.
[Nexus 5 Original Android Development] tlf55:
By saying 320, i wanted to say a bit less agressive, like when opening an app at 320 mhz should give us better smoothness, then ramp down to 200 when idle

Little less agressive = good battery + better smoothness , i just say that to give it a try, if it's not good then revert the code :)
[Nexus 5 Original Android Development] Koersten:
Thank you very much for sharing the apk:D
[Nexus 5 Original Android Development] 54cerkez54:
Hi dudes!

I have fc's on YouTube when wanna share a video. Can anybody confirm that. I'm on the latest elementalx kernel and on cataclysm rom

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Karmavore:
No issue for me but I'm on stock ROM.
[Nexus 5 Original Android Development] garu12:
Nope. Works fine here. That really shouldn't be kernel related. I'm using omni
[Nexus 5 Original Android Development] Karmavore:
Getting proper idling drain of .3%!! It was kernel tweaker that was causing kernel distress. .22 works great! I'm happy my problem is now fixed.
[Nexus 5 Original Android Development] DoesntPostAThing:
I don't really like to use kernel apps for that reason. They auto start a lot to set on boot, and other things. Init.d scripts are the way to go :good:
[Nexus 5 Original Android Development] 54cerkez54:
Ok! Thx a lot for quick answer. I'll try in room section

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] drawde40599:
Works fine , I'm on cataclysm also , no issue. That wouldn't be kernel related anyways tho .
[Nexus 5 Original Android Development] ReAnimat:
First kernel with 4hours+(Only 2G/3G) ost on my n5 and no lags with gta sa. Brilliant work. :thumbup:
[Nexus 5 Original Android Development] dead0:
i also prefer the old init.d scripts. have you been able to set the cpu voltages by script as ive been unable to do it. currently using trickster to set voltages and everything else controlled by init.d
[Nexus 5 Original Android Development] DoesntPostAThing:
I don't undervolt usually. Only undervolting on this kernel because it's default, otherwise I don't touch those. Try the undervolting commands found in 99elementalx though.

EDIT: Sorry for OT, but it'd be appreciated if you guys could take a look at the app I've been making. It's called Pedometer, and it's a pedometer app that uses the hardware step sensor in the Nexus 5 to count your steps without making all the battery saving optimizations of this kernel go to waste :P

If you want here's the links: Free version, Pro version
[Nexus 5 Original Android Development] drawde40599:
Uv ,Yes works just fine with script , I'll send u mine in a Lil
[Nexus 5 Original Android Development] suneet mehta:
I don't know why but my gallery app kept my phone awake all night yesterday and I lost about 10% battery. I have prevented the app to get wakelock now. But can anyone tell me why does the gallery app keep the phone awake?!:confused:

Check out my custom backplates for the spigen ultra hybrid case for the N5 here :- https://mega.co.nz/#F!xd8lGYSS!J9vcXf3IWOqlcng1zE4bpA .
[Nexus 5 Original Android Development] drawde40599:
Can't c y that would be kernel related I would head over to your Roms thread .

[MENTION=4684315]flar2[/MENTION] after using 21 for few days then 22 for 24 hours personally I'm liking 21 better , not sure how much was changed but getting better results with 21 I no not the best feedback but 21 just feels a Lil smoother and seems Lil less heat playing games , not sure how much was changed between the versions , could be all in my head but .... ;)
[Nexus 5 Original Android Development] DoesntPostAThing:
Both feel the same to me.
[Nexus 5 Original Android Development] drawde40599:
That's what I thought till I played a few games , both had same performance but it seemed to heat up a Lil more than 21 . could just be my phone
[Nexus 5 Original Android Development] natzakaria:
Somehow I get smoother performance on .22

I/O as row
[Nexus 5 Original Android Development] Sage:
damn this is quick! if battery life is good ill be very impressed!