yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] jineshpatel30:
[MENTION=4684315]flar2[/MENTION] you probably know from previous posts by other members that 6.14 is warmer than 6.12 and you replied that you have changed some parameters. so is there any thing we can do on app level to make it cooler ? (except using stock cooling bcz i feel stock cooling is also warmer than stock cooling on 6.12 )

and i don't want to be on previous releases so if there is some tweaks we can do on user level please share :)
[Nexus 5 Original Android Development] grep_i:
This is weird man, I did never overclock before but I did now with 6.14 and even though it is still not warmer than without overclocking, very weird issue.
[Nexus 5 Original Android Development] flar2:
Update!!!

A small change to only boost low frequencies when headphones are plugged in. This should reduce power consumption and heat while still allowing smooth playback with Viper4Android.

Download

ElementalX-N5-6.15

Changes:

-only boost while headphones are plugged in
[Nexus 5 Original Android Development] Hatshipuh:
That's the first thing I saw when I open Tapatalk after finishing a clean install lol, another flash right away!

Edit: And it's much better!

Tap-a-talked from my Nexus 5
[Nexus 5 Original Android Development] xeraphael:
Is anyone else facing the problem of the aroma installer not applying the kernel settings after flashing? Flashing EX from CM13 + CM13 stock kernel.
[Nexus 5 Original Android Development] The-Droidster:
Hi [MENTION=4684315]flar2[/MENTION], 2 things I noticed:

1. Occasional excessive heating while in the pocket or even during normal use. That was on 6.14. Can't say about 6.15 as I just installed it. Will observe and notify.

2. I have been using DirtyUnicorns ever since Cataclysm shutdown. The kernel seems to revert to the stock on-demand governor after a reboot no matter what. Both on 6.14 and 6.15. I tried setting it to EX governor in the EXKM app and set it to apply on boot and still it reverts to stock on-demand after reboot. Also I did NOT check the "use stock ondemand governor" option in the aroma installer. I don't know if it is the ROM that is resetting it at each reboot or something else. I couldn't find any CPU control settings in the ROM. What could be the problem? Or am I doing something wrong?

EDIT: None of the settings made in the aroma installer are actually sticking after a reboot. Now why its reverting to on-demand is baffling me. Might be an AOSP thing, can't say. Just letting you know.
[Nexus 5 Original Android Development] jineshpatel30:
so far so good !

testing for 3-4 hours and with normal use temperature raise is not that much noticeable as 6.14 :)
[Nexus 5 Original Android Development] chester0:
can i use this kernel with cm13 caf?
[Nexus 5 Original Android Development] xeraphael:
Unfortunately, no.
[Nexus 5 Original Android Development] seilogeo:
Excuss my noob question but what if someone uses bluetooth to listen to music. Does this boost apply too. I am talking about 6.15

Thanks
[Nexus 5 Original Android Development] xeraphael:
Some more details.

/data/local/tmp/elementalx.log does not exist, even after reboot.

/system/etc/elementalx.conf exists and values are set correctly per user-selected options in aroma installer.

TWRP 3.0.0.0

My own guess is that /sbin/elementalx.sh is not getting executed upon boot by CM13.

[MENTION=4684315]flar2[/MENTION], another question. Will the express installer zip set elexcool thermal and L2 cache boost options? Or do I need the aroma installer for those? Because if the aroma installer doesn't work for CM I was thinking I might as well just use the express zip for convenience. Thanks.
[Nexus 5 Original Android Development] flar2:
Yes, those are command line options
[Nexus 5 Original Android Development] MatVekk:
Who are you? a God? [emoji12]

Inviato dal mio Redmi Note 2 utilizzando Tapatalk
[Nexus 5 Original Android Development] Joy Bangla:
del
[Nexus 5 Original Android Development] tuncan:
Any idea why my phone is "charging slowly"?

Stock ROM, ElementalX 6.15 (it was the same with previous versions), setting for Fast charge is enabled ...

But, when on USB cable, I can see:

"Charging slowly (xx mins until full)" on my phone. Why "slowly"?

Any idea? How can I delete an old configuration file and start with default settings?
[Nexus 5 Original Android Development] fedex2go:
Hi!

I'm on 4.09.

Is there any way to set SELinux to Permissive?

I remember such an option in 1.13...

Thanks!!!
[Nexus 5 Original Android Development] grep_i:
Are you absolutely sure that you still have the ElementalX kernel after reboot.

It's quite possible your default kernel has been restored.

It sometimes happens to me too and I'm always have to reflash the ElementalX kernel when that happens I have no clue yet as why this happens and how to prevent it.

Because it does not happen all the time I did not even spend time researching the issue yet.

It could also possibly have to do with that I do not reboot my phone very often sometimes it takes more than a month before I reboot
[Nexus 5 Original Android Development] The-Droidster:
Just rechecked, and the kernel is still EX after the reboot. The settings now stick after I chose apply on boot in the EXKM app, but I have no clue why the aroma installer config isn't working.:confused: Earlier I just had to make the appropriate selections in the aroma installer and those settings would be preserved every boot. Now I have to explicitly do that in the app.
[Nexus 5 Original Android Development] Gorgtech:
I have a strange problem. I´ve updated Android to the latest base and I also use MultiROM ( Android 6.0.1 + Android 4.4.4 ). Only 6.12 is still working fine, all newer Kernels result in a bootloop. It doesn´t matter if I inject MultiROM or not, the results are the same. Anybody else facing the same errors?
[Nexus 5 Original Android Development] RedNXL:
I've got the same problem. I suppose issue can be related to removing selinux permissive option from kernel.

Tried to install zip (permissive.zip) that flar2 posted sometimes ago for some previous version of kernel, but it didn't help.
[Nexus 5 Original Android Development] flar2:
This is due to thermal daemon or your cable. If it's the thermal daemon, it will resolve on its own.

Lately cm and dirty unicorns are causing a lot of complaints in my threads about this. I don't know what they do differently.

I would guess it's due to selinux. Something you have installed is preventing boot. Do a clean install.
[Nexus 5 Original Android Development] suspended.brooklyn:
This may sound like a stupid question. I'm running CM13 nightly on my Nexus 5. Can i use elementalx? or is it only meant for Stock Android Marshmallow?
[Nexus 5 Original Android Development] ssauger:
If you installed the AOSP CM13 and not CAF CM13 then you can use this kernel.
[Nexus 5 Original Android Development] fedex2go:
Is permissive.zip (link was posted by OP) compatible with ElementalX 4.09 (5.1)?

Should I just flash it with TWRP to set SElinux to Permissive on boot?

Thank you!

Link: https://www.androidfilehost.com/?fid=23991606952602503
[Nexus 5 Original Android Development] vijaysivakula:
Manager already purchased

HI,

I remember purchasing this kernel manager earlier. Now when I am trying to download this again Play Store says I have to pay for this. Did something happen to my earlier purchase?

Regards.
[Nexus 5 Original Android Development] maortrol:
The answer to your question, here:

https://plus.google.com/+AaronSegaert/posts/1EJVMpmEns1

http://xdaforums.com/google-nexus-5...lx-n5-0-44-t2519607/post62027083#post62027083

;)
[Nexus 5 Original Android Development] tuncan:
Tnx Flar2 ...
[Nexus 5 Original Android Development] gregfrankenstein:
For the record, I'm not having this issue. I reflash the aroma installer after every CM13 update and Kernel Audiutor reports my underclock is exactly where I set it.
[Nexus 5 Original Android Development] xeraphael:
If you're willing - can you clear Kernel Adiutor app data (as well as whatever other kernel managers you have installed) and see if the settings are actually preserved after a reboot?
[Nexus 5 Original Android Development] gregfrankenstein:
Done. Same frequency.
[Nexus 5 Original Android Development] xeraphael:
Sorry. Looking at the EX script, the underclock is set in the ramdisk AFAICT, not using the scaling_max_freq tunables. Which means this particular setting is irrelevant to the issue.

Again, if it's not too much trouble, could you try changing something else and see if they stick? The io scheduler settings, for example. Again, do clear Kernel Adiutor data first of course.
[Nexus 5 Original Android Development] gregfrankenstein:
Hm, odd. It does seem to use deadline no matter what. Though I can only imagine setting it through EX Kernel Manager would make it stick.
[Nexus 5 Original Android Development] xeraphael:
It will, as will using other kernel control apps like Kernel Adiutor. Although the EX script also does some other things like running fstrim on the internal partitions, so it'd be nice if it got executed on boot like it's supposed to. Although this is most likely a CM problem, and not EX's fault.
[Nexus 5 Original Android Development] Subrad5446@aol.com:
I can comfim this issue. DT2W settings not sticking. Only when I install the app and change through there.
[Nexus 5 Original Android Development] xeraphael:
ROM?
[Nexus 5 Original Android Development] suspended.brooklyn:
It Worked. Thank you :)
[Nexus 5 Original Android Development] fabio000:
Do you have supersu installed?

forget about it, I was confusing the elementalx.conf file (wich is placed on system/etc) with the permissive file (wich is placed on su.d folder and requires supersu)
[Nexus 5 Original Android Development] xeraphael:
I've always wanted to love EX, but it's always been a bit too heavy on battery use for me. Now I think I've found a way to make it work, though - by killing cpu hotplugging entirely and running 4 active cores all the time.

This is after an entire day on 3G, hope it's useful for other people as well.

#!/system/bin/sh

stop mpdecision
echo 0 > /sys/devices/platform/msm_sleeper/enabled

echo elementalx > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1728000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 422400 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu1/online
echo elementalx > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 1728000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 422400 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu2/online
echo elementalx > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo 1728000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 422400 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu3/online
echo elementalx > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo 1728000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
echo 422400 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

echo 5 > /sys/devices/system/cpu/cpufreq/elementalx/down_differential
echo 0 > /sys/devices/system/cpu/cpufreq/elementalx/gboost
echo "422400,422400,422400,422400" > /sys/devices/system/cpu/cpufreq/elementalx/input_event_min_freq
echo 0 > /sys/devices/system/cpu/cpufreq/elementalx/input_event_timeout
echo 422400 > /sys/devices/system/cpu/cpufreq/elementalx/optimal_freq
echo 40000 > /sys/devices/system/cpu/cpufreq/elementalx/sampling_rate
echo 422400 > /sys/devices/system/cpu/cpufreq/elementalx/sync_freq
echo "1267200,1267200,1267200,1267200" > /sys/devices/system/cpu/cpufreq/elementalx/two_phase_freq
echo 30000 > /sys/devices/system/cpu/cpufreq/elementalx/ui_sampling_rate
echo 99 > /sys/devices/system/cpu/cpufreq/elementalx/up_threshold
echo 99 > /sys/devices/system/cpu/cpufreq/elementalx/up_threshold_any_cpu_load
echo 99 > /sys/devices/system/cpu/cpufreq/elementalx/up_threshold_multi_core

echo 1 > /sys/module/mdss_dsi/parameters/color_preset
[Nexus 5 Original Android Development] looney_tkp™:
wow will test this

is it better than when hotplugging was enabled ?
[Nexus 5 Original Android Development] jaibar:
I am not sure, but I think the core power consumption steeply rises with frequency, thus one single core at 2.25MHz may actually use much more power than four cores at 1.2-1.4MHz, whereas in regular use one will barely feel a difference in performance (i.e. lag-wise).
[Nexus 5 Original Android Development] wkwkwk:
Hi,

I'm trying to compile from source and add the usb-keyboard patch.

Normally, when applying the patch on franco's kernel it works fine (it doesn't compile but that's another story):

:~/android/kernel/franco# patch -p1 < ~/android/kernel-3.4.patch
patching file drivers/usb/gadget/Makefile
patching file drivers/usb/gadget/android.c
Hunk #1 succeeded at 75 (offset 1 line).
Hunk #2 succeeded at 2141 with fuzz 1 (offset 50 lines).
Hunk #3 succeeded at 2207 with fuzz 2 (offset 51 lines).
Hunk #4 succeeded at 2507 with fuzz 2 (offset 25 lines).
patching file drivers/usb/gadget/f_hid.c
Hunk #7 succeeded at 403 (offset -9 lines).
Hunk #8 succeeded at 422 (offset -9 lines).
patching file drivers/usb/gadget/f_hid.h
patching file drivers/usb/gadget/f_hid_android_keyboard.c
patching file drivers/usb/gadget/f_hid_android_mouse.c
:~/android/kernel/franco#

However, with ElementalX I get the following error for all files:

:~/android/kernel/ElementalX-N5# patch -p1 < ~/android/kernel-3.4.patch

patching file drivers/usb/gadget/Makefile

Reversed (or previously applied) patch detected! Assume -R? [n] ^C

:~/android/kernel/ElementalX-N5#

Any idea why?

Thank you
[Nexus 5 Original Android Development] Joy Bangla:
can any one give any info on gboost and what it does?
[Nexus 5 Original Android Development] haseoxth:
Thanks for sharing your knowledge, but after using this profile I encountered some severe lags on my device everywhere compare with the original elementalx governor also the hotplug option (Or maybe it only happens on my phone.).
[Nexus 5 Original Android Development] flar2:
I've already added that patch
[Nexus 5 Original Android Development] smsmasters:
Is 6.15 compatible with MMB29V?
[Nexus 5 Original Android Development] xeraphael:
In my experience, yes, although admittedly I've only tried it for two days so far. I also do not play intensive games. YMMV.

I've dialed the governor to behave as conservatively as possible, since 1) all cores are always online, and 2) I find EX to be more biased towards performance by default than I'd like, it's not as battery hungry as ondemand, but it IS still based on ondemand. If my settings are too conservative for you, the first thing I think you should probably try is to re-enable input boost:

input_event_min_freq

input_event_timeout (set these to whatever input boost freq and duration you want, the default values should work well).
[Nexus 5 Original Android Development] wkwkwk:
Ah, thank you so much, I do recall asking a while back if it's possible to merge it but haven't heard back so I assumed it was not.

Thanks again, really appreciated.

---------- Post added at 12:23 PM ---------- Previous post was at 12:19 PM ----------

Is there an official changelog? I can't seem to find it..

Thank you
[Nexus 5 Original Android Development] farsight73:
[MENTION=4684315]flar2[/MENTION]

Just noticed that in ElementalX-N5-6.15 aroma settings, it doesn't have the Selinux Enforcement check box anymore? Any reason for this?

Tried also looking in ElementalX App settings but none in there as well.
[Nexus 5 Original Android Development] nathanchance:
This is the reason.
[Nexus 5 Original Android Development] farsight73:
Thank You..!

So all I need is the permissive.zip here.

Well I need to disable Selinux for my call recorder app(TotalRecall) to work in root mode.
[Nexus 5 Original Android Development] Subrad5446@aol.com:
Dirty Unicorns, the 6.0.1 one.
[Nexus 5 Original Android Development] tamkhanh:
does anyone have the password for recovery? it asked me a pwd to decrypt when i go into recovery
[Nexus 5 Original Android Development] drive2droad:
I just switched from AOSP to CM13 , Can i use ElementalX on CM too ?
[Nexus 5 Original Android Development] Joy Bangla:
Yes. make sure its CM13 and not CM13-caf
[Nexus 5 Original Android Development] looney_tkp™:
[MENTION=4485711]xeraphael[/MENTION]

i tried your setting and it drained faster when using it, i even UC to a lower ghz yet the drain was a bit more...but it sleeps very well. i dont know how you made your setting exactly, maybe i didnt do it right

but for now i enabled custom hotplugging with 2 maximun cores online and 1 minimum core in sleep mode at 1.5ghz..am testing to see what i get
[Nexus 5 Original Android Development] Achilles.:
Can you please elaborate on how I can use it. Should I just save it as .sh in system/bin ??

Sent from my Nexus 5
[Nexus 5 Original Android Development] cattel:
What's the best governor for battery saving without losing too much power

Enviado de meu Nexus 6P usando Tapatalk
[Nexus 5 Original Android Development] nathanchance:
I decided to pick up a used Nexus 5 just to toy around so I had to load up the best off the bat. Thank you for the constant support [MENTION=4684315]flar2[/MENTION], it's always appreciated.
[Nexus 5 Original Android Development] j_dee:
You need a terminal emulator and then type line after line after line until you're through with it ;) or a text editor to read the parameters from the quoted commands and manually write them into the configuration file into which the commands echo the configuration parameters.

I'd recommend you do it with ADB on your computer.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] looney_tkp™:
[MENTION=4485711]xeraphael[/MENTION]

how do i know it working ? i did again but mpdecision is still enabled in ex app
[Nexus 5 Original Android Development] flar2:
If you have EXKM, just go to the hotplug settings and disable hotplugging. That will turn off mpdecision and run with four cores online.
[Nexus 5 Original Android Development] fastjohnson:
I installed elementalx and my phone got taken over with game ads and battery drain, personally I don't see it worth installing.
[Nexus 5 Original Android Development] chykal:
Seriously... That's your 1st post?
[Nexus 5 Original Android Development] flar2:
That has nothing to do with ElementalX, that is something else you installed.
[Nexus 5 Original Android Development] looney_tkp™:
lmfao hahahaha really ?

game ads ? battery drain ? and you dont see its worth installing lol [emoji23] [emoji23] [emoji23] [emoji23] [emoji23] [emoji23]

this clearly says you shouldnt be on XDA or probably not use an android phone [emoji12]

---------- Post added at 07:03 PM ---------- Previous post was at 07:00 PM ----------

thanks [MENTION=4684315]flar2[/MENTION]

i installed kernel again, updated busybox like in the first post and did [MENTION=4485711]xeraphael[/MENTION]'s method again

now am running all cores and about to reboot

will post what i come up with in a few days time [emoji106]
[Nexus 5 Original Android Development] fastjohnson:
Tried it twice offen the same apk file and the same problem happened possibly a bad patch file idk, user experience. Im not a dev I'm a user and still green. Btw your emojis didn't show up loo ney
[Nexus 5 Original Android Development] flar2:
The kernel is not an apk, it's a zip you flash in recovery.

If you're talking about EX Kernel Manager, you should not install any apk except the official one from the Play Store, which has no ads. Otherwise it is pirated and who knows what you're getting. The ads would be the least of my worries, cracked apps can have trojans and steal your personal information.
[Nexus 5 Original Android Development] fastjohnson:
Your right, just looked and it wasn't from the playstore, that brings to light why the trash flowing in. My apologies on saying it wasn't worth installing I got a bad file. And yes its a zip not a apk. Like I said I'm not new to xda but I'm green to some things. Thanks for the advice and that's why xda is worth its weight in gold.
[Nexus 5 Original Android Development] xeraphael:
Thanks for the feedback. I'm just a noob tinkering around like a lot of other folks here, and I'll see if I can figure out why this setup seems to work for me but not for other people. I'll report back if I find anything.

All the same, I suspect that flar2 chose to enable mpdecision by default for a reason. After all, disabling hotplugging is neither a new nor novel idea at this point...
[Nexus 5 Original Android Development] Tagtag123:
Stock boot.IMG needed for MMB29S

I flashed Franco kernel and that ruined my phone's battery life. Want to come back to elementalx 6.15, flashing over Franco leads to bootloop. I am sure this is because of not having the stock kernel to flash over.

I have a 32kB/s internet connection right now, downloading only stock the boot.IMG is the only option.

Kindly upload only the stock MMB29S boot.IMG.

Thanks in advance.
[Nexus 5 Original Android Development] looney_tkp™:
[MENTION=4485711]xeraphael[/MENTION] you are welcome.. i did it right this time and i must say am impressed, performance is top, drain is a bit better but one problem is it cant go into deep sleep or doze never kicks in :(

in my screenshot is what i had after i applied your settings and rebooted...am sure [MENTION=4684315]flar2[/MENTION] enabled mpdecision to enable a better deep sleep so am going to try out your setting with mpdecision and see what i can find... lest i forget, its amazing how even on 3G and downloading with utorrent over an hour my device was as cool as it could be, dont know how tho....thanks once again
[Nexus 5 Original Android Development] ThrowingKs:
There is a midmonth security image coming out for Nexus devices.

https://source.android.com/security/advisory/2016-03-18.html

Does this patch need to go into ElementalX, or will updating and reflashing ElementalX on top be enough?
[Nexus 5 Original Android Development] xeraphael:
AFAIK neither the cpu governor nor mpdecision should have anything to do with sleep, bugs notwithstanding.
[Nexus 5 Original Android Development] looney_tkp™:
Cool, i see then there is something else preventing it from going into sleep ,:(

its been two days, better battery but no sleep hehe :D
[Nexus 5 Original Android Development] xeraphael:
Play Services seems to be taking up a lot more battery than it should. If you're using CM, try preventing it from keeping wakelocks via "Privacy" settings and see if that helps.
[Nexus 5 Original Android Development] looney_tkp™:
after enabling mpdecision i now have deep sleep

i will disable wakelocks for play services :)
[Nexus 5 Original Android Development] reS28raM:
[MENTION=4684315]flar2[/MENTION]

In your experience which is the most reliable way to keep the minimum frequency of all cores to 422Mhz for Viper? I use ElementalX gov and now I set the "best frequency" to it. The issue is that both EXKM and the sys interface seems to apply only to cores that are currently inline? Too soon it happens that cpu1 is at 422 and cpu2 is at 300 even using EXKM so I have audio issues on my setup. Thanks
[Nexus 5 Original Android Development] fedex2go:
Can somebody comment?

Why so much battery drain with DT2W enabled (about 2% per hour).

My kid has LG L70 D325 phone, very low end.

It has DT2W built-in. But it looses only about 4% per 10 hours (with DT2W enabled).

Why such difference?

Or just LG programmers are smarter?
[Nexus 5 Original Android Development] Mrcactuseater:
The Nexus 5 doesn't have native DT2W, so the screen remains powered all the time IIRC, that's why the power consumption is so high

Tapatalk'd from my Twisted, Yank'd Nexus 5
[Nexus 5 Original Android Development] fedex2go:
What is IIRC?

My understanding it's not a "native" or "not native" question, it's a kernel support.

Correct me if I'm wrong.
[Nexus 5 Original Android Development] Mrcactuseater:
IIRC: if i remember correctly. Firstly, you are wrong. The Nexus 5 does not have DT2W from Google/LG, so it's implemented by flar2 in a more hacky method.

Tapatalk'd from my Twisted, Yank'd Nexus 5