yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Dvdxploitr:
I am gonna be picking up a Nexus 5 off eBay tomorrow.....be my first nexus since the Samsung Galaxy Nexus (which I hated, and from what I gather, a lot of others hated the Samsung Galaxy Nexus as well).....hard to believe its the same price as a Nexus 4 on eBay...I look forward to playing around with all the ROMs and this kernel...
[Nexus 5 Original Android Development] Tarcis:
Whats the best way to donate?

Buying the EX Kernel Manager?

Thanks
[Nexus 5 Original Android Development] nathanchance:
There is a donate link on his profile and there is that option through the EXKM if you decide to get it (I highly recommend it).
[Nexus 5 Original Android Development] hjjiang:
Turning on Performance Mode did the trick, which is doing the above settings. just need to remember to do this every time i use my headphones =(
[Nexus 5 Original Android Development] tingljjdehua:
Is there anything we can play around in the new EXKM's Memory Option?
[Nexus 5 Original Android Development] razr003:
battery

using latest build with chroma rom

pls suggest some tweks for best battery

should i undervolt or should i reduced frequency pls for best battery and decent performance

and i battery page showing charging over usb even after i m charging through charger ac

thanks in advance
[Nexus 5 Original Android Development] reS28raM:
For me it worked as flar2 suggested: I put cpu minfreq to 422Mhz and augmented the priority of poweramp's process, that long-standing issue is gone at least and no battery drain. But this is just in case, real fix is to find the app which sucks CPU cycles, in my case it was AppLock from Playstore, I spotted it in a terminal window using the 'top' command. As flar2 explained this come from apps not from kernel. Tnx flar2 for putting your attention on this and for renewing faux's sound.[emoji23]
[Nexus 5 Original Android Development] ab4nk:
What is f2fs mean ? Guys sorry for dumb question?
[Nexus 5 Original Android Development] ssauger:
https://en.wikipedia.org/wiki/F2FS
[Nexus 5 Original Android Development] kmar22:
I have yet to have any battery issues with this kernel. Latest working pretty well so far
[Nexus 5 Original Android Development] :
Yup there's definitely something wrong with an app you've installed I'm on stock ROM + xposed and I get 1% battery drain overnight on 2G + location off
[Nexus 5 Original Android Development] sicutero:
Hmmm, I've just realized that the drain happened while the phone was on Airplane mode.
[Nexus 5 Original Android Development] flar2:
logcat output is controlled by the ROM. I think there is a debug setting in the default.prop include in ramdisk, I think I leave it enabled, but if you use existing ramdisk, it will be whatever the ROM dev set. There is some other way to change it, but I don't know much about ROM stuff.

If you get this reboot regularly on two different kernels, there is definitely something non-kernel related causing your reboots. There are no other reports of reboots here, and there shouldn't be, as I haven't changed anything that would make the kernel unstable. The only kernel related thing that could cause these unexplained reboots is undervolting or overclocking. Make sure you don't have a kernel app applying settings.

There is no way to achieve this colour with the gamma app. The option simply changes one of the panel commands. This command can be changed to any number with the same result, nobody knows what it does.
[Nexus 5 Original Android Development] kmar22:
I'm really on the fence about over clocking I know that flar2 mentioned that it's not recommended but who doesn't want to see their device pushed a but? I'm on stock clock right now and it's flying but the itch is becoming unbearable lol. I'm on the dalvik patch and its running really nice.. Haven't tried ART on latest yet. This is definitely the kernel to go with.
[Nexus 5 Original Android Development] Alfonso87:
[MENTION=4684315]flar2[/MENTION] how Can i see the changes between various I/O scheduler? I'm using row right as you suggested

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] flar2:
I think it's very difficult to see the difference.

To notice any difference, you would have to use it for a few days, then switch to another one and see if you notice anything different.
[Nexus 5 Original Android Development] DoesntPostAThing:
OK, thanks. I didn't think it has much to do with kernel, but after a kernel completely disabled logging on my captivate had to make sure.

Sent from my Nexus 5
[Nexus 5 Original Android Development] katsuru:
I see, is there a way to modify this paramter and make it permanent, in a way that I can flash my cellphone bck to stock and still have this color temprature? I see my phone still looks yellow on recovery & Bootloader and when I first get into the OS.
[Nexus 5 Original Android Development] flar2:
The only way is to download the kernel source, change that parameter and compile. Unfortunately module loading is disabled on the stock kernel, otherwise it could be done with a kernel module.
[Nexus 5 Original Android Development] tlf55:
[MENTION=4684315]flar2[/MENTION]

Sorry to come back with this Flar but i think GPU freq is really blocked to 200 mhz, i make a test.. 450 Ondemand (with faux app) and ran Antutu only checked GPU test, finished with 8500 score, changed to 200 max still ondemand, finished around same score, then changed to 450 simple, still same score, and 200 simple too ..

and in faux app in GPU section i don't see gpu freq go to higher freq even if i touch screen or do something ..

You might look at it ?

Sorry disturbing you :)
[Nexus 5 Original Android Development] Alfonso87:
[MENTION=4684315]flar2[/MENTION] Ok thx i'll notice any changes and will refer.

I would ask you about the l2 bus OC feature, how does it work? With the idea to save my battery i have turned it off, but really i dunno if this feature is battery hungry or not..I can just say that games are still smooth; i just got some micro shutters, but i also haven't enabled gboost (which i have read, impact the battery life for about 1hr of sot )
[Nexus 5 Original Android Development] ganeshp:
Any app to check Gpu frequencies?
[Nexus 5 Original Android Development] flar2:
I don't have the phone with me right now, but I'll check tonight. I don't think there is a problem though, games are smooth and it was definitely scaling just fine when I was developing the elementalx governor (the gboost feature is tied to gpu freq). I haven't changed anything since then.

How are you checking this? Maybe it's gone back to 200 when you try to look at it. It only ramps up when there is a load on the GPU and then quickly goes back to 200.

There might be a tiny battery gain from using the stock bus freq, but I haven't tested it. I don't think it's very power hungry, as all the higher freqs use the same voltage.

You might have some stutters with gboost disabled, but if long screen time is important to you and you don't game much, it might be worth it.

Can't remember the exact path (and don't have the phone with me right now) but it's something like this:

cat sys/class/kgsl/kgsl-3d0/gpuclk
[Nexus 5 Original Android Development] :
Unless you're checking the GPU frequency DURING gameplay or something taxing then your tests are useless, wait till System Monitor gets updated to show GPU frequency then you'll be able to get a definitive answer that it really doesn't scale (noticed some posts on G+ that its in beta testing or something), switching from an intensive app to check the GPU frequency probably causes it to scale down cause the load reduces
[Nexus 5 Original Android Development] tlf55:
This is what i thought, but like i said i was septical about the GPU freq that didn't change in Faux App (i thought like you that it was because it goes down too fast to see something) then i tested my GPU, i blocked it to 200 and did a GPU test in antutu benchmark (game also fluid in my phone ..) then i blocked it to 450 (like stock) and run another GPU test in antutu, and i got the same score, which is not normal because higher GPU freq should give a lot higher score ! (i just did the GPU test, the other test wasn't checked so the score is only about the GPU) that's why i think that the GPU is locked to 200 by default in kernel ..

Edit : [MENTION=4029335]asasione[/MENTION] : Yes i don't trust Faux Clock app about the GPU freq because i know it may go down that fast that i can't see something ! but try by yourself a benchmark (i don't give a **** about bench but it's the only way to test if GPU is really used to it maximum freq by checking the final score for now ..)
[Nexus 5 Original Android Development] Alfonso87:
Yes i got micro shutters, but games are still enjoyable, more than with other kernel voted to battery saving :p
[Nexus 5 Original Android Development] DoesntPostAThing:
I use Trepn profiler as it lets me float the monitor over what I'm doing, so I see the frequencies as I'm testing.

I also recorded a video with Trepn running while I ran the AnTuTu benchmarks and played some Riptide. Uploading right now.

---------- Post added at 11:24 AM ---------- Previous post was at 10:43 AM ----------

Ok here it is. https://app.box.com/s/14g86m6zz4bbyi9dfpvb

As you can see, the first AnTuTu test is rather 2D so the GPU stays at 200. For the more intensive tests it ramps up to 450 as expected. The first time I ran it without screenrecord it mainly used 320 and 389 rather than 450, I guess screenrecord puts additional strain on the GPU. Nonetheless, it still looked smooth during the test so I guess the GPU is doing it's job well. Same thing goes for Riptide.

Conclusion: GPU works just fine, it will increase the frequency when needed. Higher frequencies not needed when just scrolling around.

For those of you who want to do more testing, here's the download for Trepn: https://developer.qualcomm.com/mobile-development/increase-app-performance/trepn-profiler You have to create a Qualcomm account first, then download the apk and install.
[Nexus 5 Original Android Development] Koersten:
Would you mind to upload the apk here or anywhere else. I don't want to create such an account just to download this.

Thanks in advance.:)
[Nexus 5 Original Android Development] tlf55:
That's very strange, can you try blocking the freq to 200 mhz with faux app or other app then try antutu again ? Maybe the kernel overwrite the app ? That would answer to the fact that even with 200mhz in faux app the bench gave me the same score !

One more question to Flar2 then.. wouldn't 320mhz when idle give better smoothness in UI ? Maybe we can give a try with a future beta and see how it react with battery life .. :)

Anyway [MENTION=4960727]ickboblikescheese[/MENTION] Thanks for this ! it oppened my eyes :)
[Nexus 5 Original Android Development] HiM@L:
i do use mpdecision...i leave all defaults in the kernel except for selinux to permissive, color and vibration level....i even raised my min cpu freq to 422 didnt help..anyway, there's new idea indicating faux sound might be the culprit as it is deprecated now. is it true..??
[Nexus 5 Original Android Development] flar2:
It's not fauxsound. I can't make that any clearer. Faux sound is simply a sysfs interface to change the hardware gain controls. Nothing special going on at all and it causes no conflict with V4A.

V4A adds a bunch of extra processing, which requires computing power, but not quite enough to make the CPU governor increase. If the CPU can't keep up, there are audio glitches. This is guaranteed to be fixed by using ondemand governor (which ramps up very easily). If the problem persists, it is something else (perhaps your gain is too high and you're hearing distortion from it being overdriven).
[Nexus 5 Original Android Development] HiM@L:
Hi,

thank you for the reply....i got your point that faux sound is not the culprit but as soon as i turn V4A on without turning any other settings on....it starts getting crackling sounds....i guess i can use ondemand governor but i love elementalX governor.

apologies if this topic is giving u headache, in advance.

thanks
[Nexus 5 Original Android Development] grep_i:
Please set SELinux to enforced it had absolutely nothing to do with your problem.

I find it strange you disable security just in favor of some sound function.
[Nexus 5 Original Android Development] Seppel007:
OK I deleted the data and app. Reboot. Also removed any Viper audio traces. Then I flashed 6.12 again. Installed the app and set all settings. Works now.... Weird but good.
[Nexus 5 Original Android Development] isolove:
best values for stock 6.0.1,testet and good battery?
[Nexus 5 Original Android Development] yung40oz84:
This is crazy, I use viper and have gain up and don't get any crackling anywhere, so maybe something else all together, maybe bad speakers.
[Nexus 5 Original Android Development] HiM@L:
i use headset not speakers....anyways, i switched to ViperAudio from ViperAtmos and problem seems to be gone.
[Nexus 5 Original Android Development] yung40oz84:
I use headset too and yes I only use Viper4android by itself no other mods or dolby or tweaks, they usually cause more problems than anything
[Nexus 5 Original Android Development] t3al:
Define "best".

Stock settings are your best option (for general phone use).
[Nexus 5 Original Android Development] isolove:
You mean instal the kernel with out aroma,?
[Nexus 5 Original Android Development] magnamentis:
not that hard to understand LOL there is a stock setting which is self explanatory, there is a cool setting which as well is self explanatory and logically the remaining one, which is ElementalX must be slightly HOTTER, while of course, according to flar2's general quality work is within a very safe range
[Nexus 5 Original Android Development] GjorgiDxc:
Had a random reboot while playing the Lightsaber escape game. Nexus 5 on latest PureNexus build.

https://dl2.pushbulletusercontent.com/D04UJlWKXNMV7rwHtoPvPcfI6OiEnNXS/last_kmsg.txt

https://dl2.pushbulletusercontent.com/ZU34Gk8cDJC4HN0WPNYU0pahjWe8iLqA/dmesg.txt
[Nexus 5 Original Android Development] grep_i:
You know this thread is about elemental X kernel which works best on stock rom, don't you ?

A game crashing is I guess not the right place to discuss here.

Have you for instance tried the game with stock kernel and did this issue occurred only once or does this happen all the time.

I wouldn't blame the kernel right now with this information you gave.

You really need to test some more and pin point the issue before blaming kernel.

For all I know it could even be the rom you did not rule it out yet.
[Nexus 5 Original Android Development] looney_tkp™:
+1 for that, and even so random reboots when playing games isn't kernel fault

or maybe you made a setting that's causing this reboot

its true you need to test
[Nexus 5 Original Android Development] Hatshipuh:
You know he didn't specifically blame the kernel, don't you?

Besides logs are there, just take a look and tell him what's the issue.

Tap-a-talked from my Nexus 7
[Nexus 5 Original Android Development] looney_tkp™:
but he posted it in a kernel forum

so his point is on the kernel..i wont call that blaming btw

i dont believe its kernel fault, cos i play games alright..never had a ramdom reboot
[Nexus 5 Original Android Development] GjorgiDxc:
I thought that random reboots were caused by kernel issues, and I thought that logs can provide more information than I can give, that's why I posted them. I was discussing the random reboot actually and thought that it would be nice for the dev to know what state was the phone in atm. Thanks for the input.
[Nexus 5 Original Android Development] GjorgiDxc:
Lightsaber escape is not actually a mobile game. You connect your phone with Chrome by a link from Google and you use it as a lightsaber. The actual game is played on the PC and only the chrome browser was opened on the device. I provided the logs so someone can tell me what the issue is and because by some logic kernel logs should be posted in a kernel thread ???? I had a random reboot this morning too while browsing Google +, but I was not able to take the logs atm.
[Nexus 5 Original Android Development] flar2:
This reboot was caused by the game. It was doing something with graphics that triggered a watchdog bite, which reboots the phone as a precaution when there is a repeated error.
[Nexus 5 Original Android Development] grep_i:
Even the developer steps in this little discussion about game crashes.

I hope this clarifies for everyone, this is not a kernel issue but a game issue.

Might get fixed in next version of the game or not, you should have gone to the developers of the game in the first place, maybe with this information you can help them find the error and fix it before next release.
[Nexus 5 Original Android Development] ej8989:
My ambient light sensor is stuck at 0lux when I updated to 6.12. Any idea how to fix this? I flashed boot.img, then supersu, then kernel.

EDIT: I flashed supersu stable and it works fine now.
[Nexus 5 Original Android Development] Hatshipuh:
And this is why logs are posted here, since nobody could give a reasonable answer based on the logs before that ;)

Tap-a-talked from my Nexus 7
[Nexus 5 Original Android Development] isolove:
I have stock rom 6.0.1

Where are can find the best setings for better battery?

Tested setings for stable work......
[Nexus 5 Original Android Development] seilogeo:
The best settings on this kernel are default settings . Trust us......
[Nexus 5 Original Android Development] udnekzl:
+1 to seilogeo. unless you want extreme 'performance-sacrificed settings', default settings work well.

trust flar2. the developer usually knows more than common users:p
[Nexus 5 Original Android Development] kiefferbp:
Would you be able to add proprietary charger detection to ElementalX? With blu_spark and Franco, my iPad charger and my car charger will say that they are "charging via AC," but with ElementalX they both say they are "charging via USB." I have fast charging enabled, and while it charges faster than stock USB it isn't as fast as AC charging.

Thank you so much for your kernels! I just bought you a beer through the app.
[Nexus 5 Original Android Development] magnamentis:
as a rule of thumb one could say that if your device boots into bootanimation it's a rom/app related reboot and if your device boots into boot level (android logo) it's perhaps a kernel issue but even then only perhaps because an app can as well cause the kernel to default as far as i know.

hence the first part can be consider a fact while the second scenario leaves open questions.
[Nexus 5 Original Android Development] isolove:
ok,but i want to down the frequency and volt for better battery.......

so i need testet setings like 1900ghz to 1500ghz
[Nexus 5 Original Android Development] flar2:
I had this in an earlier version and it caused issues for some users, can't remember what exactly.
[Nexus 5 Original Android Development] seilogeo:
Noone can answer this question.

Test yourself, the kernel settings are very personal choices.

Test, test, test!!
[Nexus 5 Original Android Development] dechronic:
If you want good battery use the default settings, if anything try it with hotplugging enabled and another couple of days with it disabled and see which one your prefer.

Lowering the voltage doesn't always save you battery and what may work on one phone may not work on the next.

Lowering the voltage can cause random reboots at times or may cause boot loops.

Lowering the frequency may actually drain the battery faster as opening apps and running their processes may take a lot longer to run.

There is a lot that can be changed but it doesn't mean you should.

Number one piece of advice I can give to anyone with a Nexus 5. If your phone is more than a year or two old from the manufacture date, replace the battery!!!

Since I replaced my battery last year I have never run out of battery before I go to sleep at 11pm - 1am or later.

I am a tech by trade and this is my work phone, I am the sole owner and employee so all calls go to this phone. I generally take and made 20+ calls per day. I also use my phone to diagnose and troubleshoot wireless problems, research tech info, etc. I have my WiFi always on, location at high accuracy, Bluetooth off. I do keep my phone on 2G unless I need to research or download something then I switch to LTE, it saves battery. I do not use greenify or any such app. I do not game on this phone however. If it is a particularly busy day I may see my phone get into battery saver mode sometime during the night.

ElementalX + Android 6.xx + a recently manufactured battery can make the world of difference.

---------- Post added at 10:17 AM ---------- Previous post was at 10:07 AM ----------

P.S. I also use my phone for all my work and personal emails, spreadsheets, PDF documents, reading world news, calendar, taking notes, Bible reading and research, remote access to computers, performing network file management tasks, some brain games like sudoku, chess, or just being on XDA.
[Nexus 5 Original Android Development] KyloRen:
Right so I private messages you about the max frequency settings for the 6P which is 1958 on cluster 2. When I use your kernel I set the max and min as the stock values but when using the app it sets itself 1824 for the cluster 2 and won't use the 1958 frequency at all.
[Nexus 5 Original Android Development] Mrcactuseater:
This is for the subforum for the Nexus 5 mate.

Tapatalk'd from my Twisted, Yank'd Nexus 5
[Nexus 5 Original Android Development] KyloRen:
Oops sorry, just realised. My bad!
[Nexus 5 Original Android Development] isolove:
Thanks for your...loooong answere! :)

I flash the simple elenentalx.

first I THING i see a lag by browser scroling.......

i test an i see in the cpu down to 2200GHz,i dont know the voltage.

I gona test for one week ten days to see.........

are you have any idea where can find the stock kernel from 6.0.1 MMB29Q ?
[Nexus 5 Original Android Development] grep_i:
It is included in the stock firmware package as boot.img you can download it from Google developers site
[Nexus 5 Original Android Development] looney_tkp™:
i see browser lags too when scrolling

1267 ghz underclock

700mhz undervolt
[Nexus 5 Original Android Development] gregfrankenstein:
EDIT: Disregard this post. I'll be over here getting mhz and ghz mixed up.
[Nexus 5 Original Android Development] marcusva79:
Is this normal? WiFi is off but is still on.
[Nexus 5 Original Android Development] nathanchance:
If scanning is off in Settings > Location > Menu dots > Scanning, then it is a graphical bug.
[Nexus 5 Original Android Development] marcusva79:
Dang thought I turned it off. That shouldnt drain battery correct? Again thanks nathan
[Nexus 5 Original Android Development] onesolo:
Guys, isn't with this kernel supposed to read/write a NTFS USB drive over OTG?! When I plug one, it says that it doesn't recognize it, it has to format it. Have stickmount installed.

Any clues?!
[Nexus 5 Original Android Development] Arstoien:
As to wether it's draining battery, I don't know but it's a known bug on Android. Basically you can get it (I can reproduce consistently) if I first run out of coverage from my wifi router (disconnect) and Then turn Wifi off. That's usually the case if you automate it with say Tasker. That'll keep the graph showing it's on. If I turn off the wifi before being out of reach of the router, then I see no continuous line.

Either way, even if you DO have it running, I doubt it'll be more than like 2% over a whole day of running. Wifi isn't that big of a battery hog.
[Nexus 5 Original Android Development] flar2:
Get StickMount. The kernel supports it, but Android needs help mounting it.
[Nexus 5 Original Android Development] onesolo:
did u just read what I've said?!? I said that I have Stickmount installed!!! He even mounts the usb flash drive!! But the system blames that it wont recognize the usb flash and need to format it...
[Nexus 5 Original Android Development] flar2:
I don't know then. Kernel has the ntfs driver, but it needs userspace support for mounting. Stickmount usually works.