yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] AhmedFaiz:
It will be nice to add a 5min option to timeout in aroma in the next update. Thanks all for sorting it out for me. Will post a feedback on this setup in few days.

Nexus5/PA4.3 Beta6/ElementalX v0.40
[Nexus 5 Original Android Development] Laggalot:
can i change the therm throttle to 80°C? if so , how and with which app

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] notbrodie:
you have three choices for thermal throttle: Elementalx (which is high temp throttling), Cooler (which is mid-temp), and Stock (which is low-temp).

Beyond that, you'd have to edit the thermal config file yourself.

You shouldn't need to raise thermal throttling above the elementalx level
[Nexus 5 Original Android Development] bobby janow:
Can someone please check if the dt2w timeout gets set from elementalx.conf and put into /sys/android_touch/wake_timeout. It's going back to 0 after reboot no matter what I put in. This happened to me once before and I updated busybox and it fixed it. No more updates from what I can tell. TIA.
[Nexus 5 Original Android Development] flar2:
I'm not done developing yet, there will be at least one or two more versions before I release for CM.

Unfortunately, I can't be switching ROMs back and forth while I'm working on stuff.
[Nexus 5 Original Android Development] notbrodie:
it's all good, flar2. it's not like 38cm is wanting of anything
[Nexus 5 Original Android Development] drawde40599:
The OP will always have last stable build, it will never have "testing" builds like 39 and 40 are, he releases a build into the thread for feedback and work bugs out then adds it to OP after its stable, then comes CM build around that time.
[Nexus 5 Original Android Development] BabboDemonio:
No problems so far with 0.40. Thanks flar!
[Nexus 5 Original Android Development] mdprfsr:
Zero problems with 0.40. Working great smooth as can be and sleeps like no other.
[Nexus 5 Original Android Development] adl:
I enabled "sweep2wake" and choose "sweep up" to wake the phone but nothing happens.

I enabled it within the config file and also enabled "wake gestures" as well, so this should work, or do i need to set up any parameter else? I am on version 0.40 btw.
[Nexus 5 Original Android Development] c3v1t:
On CM11 Nightly 0526 and 0527, the kernel 0.40 is working with no problems, BT, WiFi, GPS are working well.

I don't see battery rain with some calls, some play, Pebble always connected with notification, some use of BT handset, data is working great.

Kernel settings almost standard, undervolt to 750.

Have a nice day!

Cesare
[Nexus 5 Original Android Development] gpvecchi:
I can't remember, wasn't the problem with CM appeared after dual Sim commits, even on phones with just one Sim?

If so, I think they are reverted...
[Nexus 5 Original Android Development] jumparound246:
Read the update changelog carefully. Don't enable wake gestures as stated there and you'll be fine. If you test the new versions you should follow the thread closely to avoid posts of the same questions over and over...or at least read the few words coming with every test version.
[Nexus 5 Original Android Development] maatsby:
I've noticed a small bug with 0.40, let me know if I'm the only one and I'll flash the kernel again

I selected the sweep2sleep option that should allow screen off if you sweep in either direction, but it only works when sweeping from right to left

I've checked the log file, the script has picked up that I chose the "both directions" option, but it's definitely not working

Update: it just started working! Wouldn't u know it. Not sure what happened there
[Nexus 5 Original Android Development] Laggalot:
1 hour SOT and on 59%..... phone gets very warm too.... first cycle

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] :
.40 running great on RastaKat!! Tks. :)

Sent from my Nexus V
[Nexus 5 Original Android Development] flar2:
It must be the kernel then.
[Nexus 5 Original Android Development] letmedanz:
Hey man i hope you haven't run into the same issue again!

here's my busybox-
[Nexus 5 Original Android Development] BrandoHD:
There is definitely an app or something keeping your phone awake....
[Nexus 5 Original Android Development] Laggalot:
i just checked

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] flar2:
That was sarcasm, sorry. You just need to give more info. However, I don't think the kernel is responsible and I think you should reboot and give it a day or two. Sometimes the battery indicator goes out of whack. If heat is being generated, something is making your phone work. This should show up in Better Battery Stats.
[Nexus 5 Original Android Development] Enkiduz:
Nothing that keep phone awake to me. I feel this too. On .39 phone is warmer.
[Nexus 5 Original Android Development] Chochiwpg:
Yesterday was my first full day on 0.40 and I was pleased with the results.

16hrs off charger, on LTE for majority of the time. Still had 50% left at the end of the day with 1hr 20mins of screen on time. That's very reasonable to me considering it was off the charger for 16hrs. Could probably get 2 days on one charge with my use, but don't want to push it, like a full charge overnight to start fresh the next day.

Thanks for all the hard work. :good:
[Nexus 5 Original Android Development] shadowdevil:
anyways to disable led blinking on incoming call?
[Nexus 5 Original Android Development] bobby janow:
Unfortunately, yes. Lol. I'm reinstalling the kernel now to see if I messed anything up. That's the version of busybox I have too. Ok, uninstalled busybox, reinstalled it then reinstalled the kernel (.40) and now it's working. Whew.. that was annoying. Thanks for confirming.

Edit: I think I know what happened. On the first install I forgot to chose 'set timeout' in aroma (it's at the very bottom and I might not have scrolled down) and when I went to edit the conf file it never took because permissions were not r/w. I know, I know. It's the fault of the kernel. ;)

---------- Post added at 09:40 AM ---------- Previous post was at 08:50 AM ----------

Maybe Gravity Box?
[Nexus 5 Original Android Development] Laggalot:
i mean.... yea i never get more than 3 hours if i dont go crazy with underclocking and stuff, but common, this kernel claims to have the best battery life out there , so gimme a piece of that cake ;)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] walpurgisnacht30:
Open your Gravitybox -> Ultimate notification control, if I recall.
[Nexus 5 Original Android Development] shadowdevil:
Well its unchecked by default and 'm not using ultimate notification control..!

Is you guys have the same is led blinking on incoming calls by default?
[Nexus 5 Original Android Development] ralpheboyo:
v40.....1st cycle...... 1day 2. Hrs...... 6hrs sot.....

No complaints here and smooth as butter keep up the great work....

Flar don't get distracted..... There are a lot of people who value your efforts and contribution....
[Nexus 5 Original Android Development] bobby janow:
Yes, although I changed the color. Isn't there a way to turn it off completely in the UNC? LED Override off? Give it a try.
[Nexus 5 Original Android Development] lolcopter:
Generic USB fast charge question : when enabled will that work on qi wireless chargers also? Or is it just allowing more power from PC USB outlets?

Seems like it helps speed things up but it's all anecdotal from here right now. Thx
[Nexus 5 Original Android Development] danarama:
It's only for usb.

Explanation in faux clock.
[Nexus 5 Original Android Development] Haidary.T:
Running this kernel mpdecision free and a Trinity kernel optimized ondemand and deadline. Really smooth;) This kernel doesn't have hotplugging right?
[Nexus 5 Original Android Development] drawde40599:
39 and 40 feel cooler here . I noticed it when I was using plugged in and phone wasn't getting warm . off charger no heat at all for me .
[Nexus 5 Original Android Development] absoluterebirth:
Since this kernel uses faux sound, is it possible to set the sound values to our preferences so that upon booting up, the values will take effect without any outside apps?
[Nexus 5 Original Android Development] drawde40599:
Radio signal ? My signal lte signal is pretty crappy 90% of the time so probably not , its usually an app or something running that casue issues , but I no any time I had heat issues that no one else did with any phone or kernel I always had to full wipe to fix it . just one those things

---------- Post added at 01:34 PM ---------- Previous post was at 01:31 PM ----------

If u search the thread i remember someone else asking this and there being directions for this or a user that new how , something about fauxs code makes it difficult if I remember right
[Nexus 5 Original Android Development] szucsgf:
Or maybe it's just that for some people the weather is a lot warmer now than when 38 was released because summer is coming? [emoji14]

40 is working flawlessly here. Temperatures are normal and s2w/dt2w are working in every direction. Velocity ROM. [emoji106]
[Nexus 5 Original Android Development] Haidary.T:
Is fauxsound enabled by default? I installed Viper. Will it conflict?
[Nexus 5 Original Android Development] Laggalot:
bing bing bing, ten points to griffindor! yep i have quite weak H+ and G and E signal most of the time, but thats the one thing i use when i use my phone, so i cant turn that off..... if my phone is in my pocket its no problem, and on wifi like now the temps are just fine!

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] kayl2:
Am I the only one noticing the kernel in my battery usage?

I'm very happy with the usage I got yesterday, but don't understand why the kernel shows up so high in the stats.

Today was horrible, I plugged in at 60% with 45 min SOT and 6 hours off charger.

Thoughts?
[Nexus 5 Original Android Development] kayl2:
Forgot to attach these.
[Nexus 5 Original Android Development] notbrodie:
i'm going to go out on a limb and say: dt2w or s2w. if you don't like the drain, turn them off
[Nexus 5 Original Android Development] demolatorul:
I'm on carbon rom, anybody knows why faux sound won't stick to the value selected by me, actually everything sticks but the speaker won't. Using 0.38 by the way
[Nexus 5 Original Android Development] magnamentis:
will it ever happen ?

when will everyone have understood that there is not one reknown kernel that causes battery drains of that kind ?

albeit some are better on perfomance and others on battery life, ( this one is great on both ) it just never came

to my knowledge that any major kernel on xda would cause battery drain out of the ordinary. so if someone

has a drop in battery which seams out of the norm, this is nothing to post here but first one should check his

configuration, make a restart, go back to last working nightly etc. etc.

in cm11 on my n7100 i have a battery hog from time to time and it's fully rom related, just each time go back to

last nightly and it's gone. further there are apps who go havoc and often a "clear app data" and/or restart does the

job and in case of the rare cases when a real kitkat bug hits, like camere deamon bug etc. a restart will

do, but anyways, i've seen this about 3 times in 7 months.

so it would be really nice if people would stop complaining about battery life in kernel threads, often with

obscure or open blame on the kernel. it is not the kernel and solutions about how to solve battery hogs

have been posted across xda and this thread in particular over and over again.

EDIT: only exeption is touch2 and tap2 features but that is not kernel as such, but feature related.
[Nexus 5 Original Android Development] LiquidSolstice:
Don't feel intimidated by posts like that. Based on your posting history, you do a lot of reading and not a lot of posting, implying to me that you are fairly intelligent and you are willing to figure things out for yourself, and you only ask when you think you don't know. There are several things you can do to check what's going on. Your first bet would be to take a look at your apps and see if any of them have been recently updated or if any of them have been in your recent apps list for a long time (I say this not because you should be regularly killing apps, but because some apps which are not properly coded can stay stuck in active memory for much much longer than they should be).

Second, any time you feel like you have excessive battery drainage, always check and see what's going on using Wakelock Detector. https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector

It is free and will tell you exactly what is waking up your device and what's keeping it awake (aka, refusing to let it deep sleep). Once you figure out what's causing the offending issue, depending on what it is, you can either uninstall the offending app, or Greenify it (which on-the-fly hibernates it) instead. Greenify is also free and in the market.

Finally, since you said you upgraded from .34, it's possible that some config file is simply messed up, in which case dirty-flashing your ROM to restore the stock kernel and then flashing over the new kernel on top probably can't hurt.

Let us know what you find.
[Nexus 5 Original Android Development] pierrep56:
In this case the simplest would be to download and flash the AROMA installer instead. When flashing you will see a menu where you can choose your options and configuration.
[Nexus 5 Original Android Development] jayplusone:
Looks like it was held awake for a while. Possibly a rogue app.. Download greenify and install xposed. More than likely it'll fix the problem.
[Nexus 5 Original Android Development] SynnyG:
Oh god, I'm so exited to receive my N5 just for test your kernel on it ! Before I had your kernel on my one M7 but I had bricked it ... Thanks for the work you do for us [MENTION=4684315]flar2[/MENTION] :)

Just a question: it's impossible to add swipup2wake gesture like on M7 for waking the device ? It's a very cool feature that you've done !
[Nexus 5 Original Android Development] Saqib Nazm:
I have read more than 10 previous pages, cleaned up lots of off-topic posts which I don't think is required anymore or some didn't require at all. I have also found some discussion about other Roms/Kernel in this thread by some people, Please keep the thread clean and into Development related topic.

Also most importantly, Please stop asking about a CM version, I have got many posts requesting for a CM version. The Developer already said that he will build a CM version after one or two builds of this Kernel. We appreciate your interest for this Kernel but Please understand that asking/requesting for the same thing over and over again is kinda frustrating. I hope everybody understand my point.

Thanks, have a good day ahead..
[Nexus 5 Original Android Development] flar2:
Here is some important info about new features in 0.39+

Wake Gestures

This is a new feature similar to the Motion Launch Gestures on the HTC One m8. It is already implemented using the xposed framework on the HTC One m7 but will require a different app or xposed module to work on the Nexus 5. The kernel part is done, but unfotunately, I don't have the time to do the userspace part of this. Is anyone interested in working on this? Spread the word and let me know.

Here is the idea: if wake_gestures are enabled, gestures will send an input event that can be used to trigger specific actions. For example, you could have swipe down turn on the flashlight, sweep right might go to your lockscreen, sweep up might unlock the phone, doubletap might open your web browser or some other app. There are many possibilities.

How it works is very simple. I created an input device called "wake_gesture" that generates the following codes for the each gesture when the screen is off:

00000001 -> sweep right

00000002 -> sweep left

00000003 -> sweep up

00000004 -> sweep down

00000005 -> doubletap

For example, if I sweep left to right across the screen, the following input event is generated:

adb shell getevent -lt /dev/input/event2
[ 97.560570] EV_REL 000b 00000001
[ 97.560570] EV_SYN SYN_REPORT 00000000

Set /sys/android_touch/wake_gestures to 1 to enable input events for wake gesture actions. Set to 0 to use traditional sweep2wake or doubletap2wake (wakes up the phone and turns on the screen only).

Note that if you enable wake_gestures, nothing will happen at this point because there is no userspace listener yet!!!

Sweep2Wake

Gesture........Value

Sweep right......1

Sweep left........2

Sweep up.........4

Sweep down....8

Add up the values for each gesture you want to enable and put the total in /sys/android_touch/sweep2wake. For example, to enable all gestures, the value is 15 (1+2+4+8). To enable sweep right, sweep left and sweep up, the value is 7 (1+2+4)

DoubleTap2wake

Set /sys/android_touch/doubletap2wake to 1 to enable DT2W half screen, 2 for DT2W full screen, and 0 to disable DT2W.

Vibration Strength

Haptic feedback can be enabled for the wake gestures in /sys/android_touch/vib_strength. This setting takes a number between 0 and 90. Default is 20. Setting this to 0 disables haptic feedback.
[Nexus 5 Original Android Development] C3C076:
Thinking about my gravitybox. I already have a pretty decent list of "gravitybox actions" which are basically shortcuts for doing many different things like controlling connectivity, network modes, location modes and many other system settings including standard launching of apps. I can imagine to have a submodule that could allow to assign those actions to those new input events. I could take a look if you can point me in the right direction.
[Nexus 5 Original Android Development] flar2:
Install latest version of ElementalX kernel ( http://www.androidfilehost.com/?fid=23501681358538140) and make sure to enable "wake_gestures" in the setup.

You would have to create some kind of listener thread that is ready to respond to input events.

The input device is called "wake_gesture" On my phone, it is showing up as /dev/input/event2

Whenever a gesture is performed, an input event will be triggered.

event type is EV_REL

event code is 000b

event value is 1 to 5 (depending which gesture was performed)

You may want to send a pm to Mikanoshi. He is the co-developer of Sense Toolbox, and implemented this on the HTC One m7.
[Nexus 5 Original Android Development] Haidary.T:
I know mpdecision should be on...but without it it's really smooth as s#!T and I don't see any battery gains with it on. Also, with mpdecision I get a few stutters every now and then so maybe it has to do something with the cores being turned on and off?

EDIT: I used to get 3 bars on 3g but now I get 2 bars or even 1 most of the time. I don't know if this kernel affect anything network related. Is this placebo??

Thanks!!
[Nexus 5 Original Android Development] paychex:
not the kernel
[Nexus 5 Original Android Development] H-Body:
Hey, first of all thanks for this great kernel. It runs flawless on my new n5 :fingers-crossed:

Should i use the aroma version only the first time to configure the kernel and after that simply flash the express version to upgrade the kernel or is ist recommended to always use the aroma version?
[Nexus 5 Original Android Development] CRIME INC.:
The express version is fine after the first flash. All your settings are stored on the config file.

Sent from my HAMMERHEAD
[Nexus 5 Original Android Development] letmedanz:
First time Aroma - all options available for configuring

First time Express - all default settings

second time onwards aroma - all options available

second time onwards express - picks up settings from .conf saved after first flash with your previous settings
[Nexus 5 Original Android Development] Jason78729:
[MENTION=298610]Flar[/MENTION], which ROM or ROMs do you personally prefer with your kernel? Also, is there a way to search thru the source code of a ROM to see if kernel is stock/asop or cm/caf based? Some don't mention it clearly and for some of us we'd rather just do the research rather than ask each time we want to try a new ROM.
[Nexus 5 Original Android Development] notbrodie:
go to their kernel source and check the branch. cm-based will normally show cm11 as the branch and aosp-based will show kk

an easier method would be a simple search for the term "based". there is about a 98% chance that someone else has already asked the question
[Nexus 5 Original Android Development] drawde40599:
With mpdecision off phone runs at 4 cores 24/7 and freq are all over the place (while screen on ) , phone never settles down never idles so if your feeling smoother its most likely because your running 4 cores that are maxed out all the time , I don't c how u can have even close to as good of battery when your phone acting like that . I had **** battery when I tried it while back .
[Nexus 5 Original Android Development] Haidary.T:
Just got 5h 38min SOT.
[Nexus 5 Original Android Development] drawde40599:
no disrespect but I don't believe that . but don't want to get into it . have good night/day
[Nexus 5 Original Android Development] Haidary.T:
I'm not trying to prove anything. If it works for me, then it works me :) That's all :)
[Nexus 5 Original Android Development] someonesim:
My setting on lowest voltage keeps going up ( higher voltage ) from early build to recent build. Anyone had similar symptoms ?
[Nexus 5 Original Android Development] AhmedFaiz:
Feedback on v. 40 since it was out being using it and performance has improved to the next Level. I have swithed on on double tap to wake +power button to turn it off and screen wake timeout of 15mins and I don't see much different in battery for SOT of 4.5hrs and above so far. Usually I used to get 5+ without switching it on. But this tap to wake is very user oriented that I forgot the power button ;) for this great performance and nice wake Feature. V0.40 running solid.

Hope to see a screen timeout option starting from 5min in aroma.

Nexus5/PA4.3 Beta7/ElementalX v0.40
[Nexus 5 Original Android Development] Sedge.One:
What brightness settings do you use for SOT of 5+?
[Nexus 5 Original Android Development] ralpheboyo:
There are other alternatives.....

https://play.google.com/store/apps/details?id=com.velis.auto.brightness
[Nexus 5 Original Android Development] AhmedFaiz:
I always switch on backlight dimmer in aroma. Only extra tweaks I use is display control app with YORICI3 profile and white UI theme for Paranoid Android.

Nexus5/PA4.3 Beta7/ElementalX v0.40
[Nexus 5 Original Android Development] paychex:
I dont believe it either
[Nexus 5 Original Android Development] lolcopter:
I'd believe it, if the screen is kept on and nothing else is actually being done on the device the entire time

Maybe
[Nexus 5 Original Android Development] flar2:
Trinity runs with four cores online and lots of people use it, so it can't be too bad.

I beleive Franco always runs with two cores online.

Cores can still idle even when they're online. Mpdecision and other hotplugging puts cores 1 to 3 offline. Core 0 is always online.
[Nexus 5 Original Android Development] jumparound246:
That's right, they don't go offline but they do idle. Trinity runs all cores online all the time with great performance and battery life. I use latest version of your kernel without mpdecision, too, and it's working fine for me. So the highly doubted 5 hours of screen on time are not doubtful at all imho. Short version: you're right [emoji6]
[Nexus 5 Original Android Development] bariz143:
Where can I find the betas/experimental kernels? :)
[Nexus 5 Original Android Development] walpurgisnacht30:
Simply type 0.39 or 0.40 on the search column.
[Nexus 5 Original Android Development] Haidary.T:
Which is the reason why I do so. I come from Trinity and I know that it isn't bad. I'm trying to make this kernel act somewhat like Trinity. You might be wondering why I don't use Trinity instead of doing this. Well that's because for some reason, on Trinity the camera opens two times slower than ANY other kernel which is quite frustrating.
[Nexus 5 Original Android Development] BabboDemonio:
I noticed some visual artifacts with 0.40. Anyone experiencing the same problem?