yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] szucsgf:
If that's almost entirely asleep with only 1 minute screen on, why is Youtube at the top of your battery usage list? My best guess something Youtube-related is causing a constant wakelock. Install BBS or Wakelock detector to verify and to identify the specific wakelock(s). Do a Google search for the wakelock names to find suggested solutions. Maybe look through Youtube settings to see if there is something wrong, or through your Google account sync settings, or anything else that might be related. Also, try to think if you disabled/froze any system app that might be related; that can cause things to get stuck.

This is not kernel related; battery life on this kernel is excellent. But this is a nice kernel community so if you post those wakelock stats here someone might offer their help.
[Nexus 5 Original Android Development] paychex:
that's 24 hours. What do you want?
[Nexus 5 Original Android Development] miguepereira77:
Interesting OT, seems like KK 4.4.3 changelog is out if any one wants to check it out:

https://android.googlesource.com/pl...f71f/src/source/changes/KK-MR2_changelist.txt

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] drawde40599:
He ever come back ?

---------- Post added at 07:24 AM ---------- Previous post was at 07:22 AM ----------

U try reboot ?
[Nexus 5 Original Android Development] ralpheboyo:
.... Nope.... He might very well do so soon....
[Nexus 5 Original Android Development] FuMMoD:
He did for the Nexus 4 when he left so judging by that I'd say most likely. It gets updated based on Google updates which people can't seem to grasp the concept behind it.
[Nexus 5 Original Android Development] shayan1103:
Art and stock setting
[Nexus 5 Original Android Development] Paddington:
Wakelock detector has never been accurate for me. Neither has BBS. BBS seems to use more battery than it helps with anything. I'll try Wakelock again just to see if my results are different this time. I'm not bothering with BBS ever again.

I would generally agree with you about YouTube, except I've been experiencing weird things like this with different apps only on Elemental. For example, yesterday, Fleksy showed up as 10% of my battery drain. I've never even seen it on the list before. I haven't opened YouTube in days, but somehow it suddenly consumed a bunch of battery without running. I confirmed that it wasn't even in my recent apps. As far as frozen system apps, there shouldn't be any. If there are, the freeze was so long ago that I've forgotten about it, so it would have to be something that does not conflict with stock or Franco but does conflict with Elemental. And the fact that I update my ROM and reflash GApps once a week should counteract any freezes.

I agree that battery life on the kernel is generally excellent, as I switched over because of the amazing stats my friend gets with stock + elemental. However, I do believe this issue is kernel related, as that is the only change I've made since this all started. I haven't heard of anyone experiencing AOSPA + Elemental incompatibilities, but does anyone think running Paranoid Android could be the cause?

24 hours without touching my phone is not good battery life. 5% drain in 7 minutes of use on Tapatalk is not good battery life. So I think it's safe to say I want and can get much better. This is the worst battery life I've ever experienced. I could stream video on a Galaxy Nexus and get better battery life. That is why I am posting here. I have a problem, and I'm looking for a solution. I've gotten over 30 hours with 3 hours of screen on time on stock kernel in these same conditions, so 24 hours with less than 1 minute screen on time is unacceptable for me.

I tried it twice the first day and once the second day. Didn't seem to help.
[Nexus 5 Original Android Development] szucsgf:
It can sometimes be time consuming to figure out problems like this. I gave you some suggestions in my last post, and I hope they help. It is a confusing issue.

Another way to try to locate source of problem might be:

0. TiBu backup and Nandroid

1. Complete wipe (data, system, dalvik, cache)

2. Flash only ROM, GApps, ElementalX, keeping everything default and don't install personal apps

3. Leave overnight to see if there is unusual battery drain

If drain happens, try same procedure the next night without ElementalX. That way you've removed as many variables as possible to see if kernel is the problem.

If drain doesn't happen, then most likely it's one of your apps. I would then:

4. Do the same 0-3 above, with the addition of re-installing a sub-set (Maybe 1/4) of my apps with default settings, repeating every night until I narrow down the app the causes the problem. Once I found the right sub-set I would then re-install a sub-set of that sub-set of apps, and repeat until I find the one app causing the issue.

You can of course restore your Nandroid every morning so running your phone without any apps won't interfere with your usage.

This sounds incredibly tedious I know. I once did it with a very mysterious wakelock that I couldn't find the source of so I took this "brute force" approach. Took 6 nights and I found it was caused by Evernote. Uninstalled Evernote and no more mysterious drain. Maybe you've got something similar. But honestly I would start with just Wakelock detector for now. And the fact that Youtube is at the top of your battery list when you haven't even used it still seems like the first place I'd start looking.
[Nexus 5 Original Android Development] :
Try gsam then. Accurate or not....those apps should still point out your issue.

If it were kernel related....there would be 100 posts about it by now.

You have an issue for sure, but it is app or services related. Or really bad signal. Something.

No way is your phone deep sleeping, something is keeping it awake.

Actually, WiFi is really high. You could have the WiFi bug where something on your network is polling your phone constantly....keeping it awake. Just a thought to look into. Anything you do won't matter if that's the case. You would have to sort that network issue out for it to stop. Any new devices on your network recently?? Or devices software changed/updated?
[Nexus 5 Original Android Development] anshmiester78900:
Guys I want to try elementalX kernel with this rom but which one should I install ? Stock/AOSP or Cyanogenmod/CAF ?
[Nexus 5 Original Android Development] huizingajm:
What ROM are you talking about?
[Nexus 5 Original Android Development] fullmetal509:
What version kernel are you running?

Via Nexus 7
[Nexus 5 Original Android Development] Paddington:
I recharged to 100% and flashed back to stock kernel, and my battery is fine again. 11% drain in 5 hours with 25 minutes screen time. Either Paranoid Android or some app I have downloaded just doesn't play nice with Elemental X. Same exact conditions as before (in my apartment, same WiFi connection), but no drain.
[Nexus 5 Original Android Development] leafs44:
It's either that your phone doesn't "like" the kernel, or you recently installed it and it drains pretty fast, just let it settle. I am using ElementalX on PA, and I get 1% idle drain every 2 hours. So it definitely is not PA. It's probably something to do with your phone or something going on in the background, as YouTube shouldn't be running when you're phone is off.
[Nexus 5 Original Android Development] letmedanz:
are you using DT2w options?

if you are, have you checked the power button to toggle this feature off or the time out?

it wouldn't account for all that drain you are seeing, maybe an additional 3-5% every hour..

also once you flash a kernel, it usually takes 3 full charge cycles for the kernel to settle in...
[Nexus 5 Original Android Development] Jimmy_Jo:
PA 4 Beta 2 was fine with ElementalX but it seems like Beta 3 isn't playing nice right now. I've got quick drainage too. I'm thinking of flashing back to my stock kernel
[Nexus 5 Original Android Development] thereal_bigjake:
Anyone using this with AICP make sure you rename system/bin/mpdecisionRENAMED to mpdecision and delete the corresponding init.d script.
[Nexus 5 Original Android Development] magnamentis:
thousands of times mentioned

just confirming for the umpteenth time what [MENTION=5426807]grumpyfuzz[/MENTION] is saying:

you can expect betwenn 0.3 and 0.7% drain in idle per hour if you wifi and your phone signal is good

and you don't have any apps and/or config that goes bunkers. everything beyond the 1 or 2 known

issues which settle with a reboot are caused by the users's configuration and/or usage.

everyone who is really reading through this and other kernel and nexus 5 threads knows that it has nothing to do with

the kernel and how to search for the culprits and solve the problem nice and alone at home with the phone :)

Current Devices:

I9100, PAC-ROM 4.3.1 ( Formerly Omni, PA, Dorimanx, etc. )

N7000, 4.1.2 TouchWizz All Stock ( very motivating to continue flashing custom roms further haha.... )

N7100, Cyanogenmod 11-M6, Agni Kernel 2.7.7, Xposed Framework ( Formerly AOSNP, PAC, Omni, PA, Devil, Thor, etc. )

Nexus 4, Cataclysm 4.4.2, Franco Kernel r203, Dalvik & Bionic Patched, Xposed Framework ( Formerly PAC, PA, Cataclysm, Faux, etc. )

Nexus 5, Cyanogenmod 11-M6, ElementalX, Xposed, ( Formerly Cataclysm, Franco & FKU Color Control, Dalvik & Bionic, Faux, Bricked, Chaos etc. )
[Nexus 5 Original Android Development] Travelawyer:
LED light on CM11

I flashed CM 11 on my Nexus 5 and the LED light settings worked okay. The LED shone bright when charging the phone.

I then flashed the latest elementalx 0.38 for CM and now the LED stays dark.

Any ideas? Is this a known bug? If this has been discussed before I am sorry. I am new to this kernel.

Thanks!
[Nexus 5 Original Android Development] leafs44:
Running beta 3 here and the battery drain is fine. I am running elemental version 0.34, though.
[Nexus 5 Original Android Development] Jimmy_Jo:
Maybe I should roll back to that
[Nexus 5 Original Android Development] drawde40599:
Theres No point in going back to 34 its the same as 38
[Nexus 5 Original Android Development] walpurgisnacht30:
0.38 IS exactly the same with 0.34, no need to going back. The only different is slight change in backlight dimmer. Everything runs fine here with 0.38 + PA beta 3.

Sent from Hammerhead
[Nexus 5 Original Android Development] adl:
Really like the Kernel, lost 1% over 9,5 hours during night in airplane mode. DeepSleep was over 90%.

Keep up the great work!
[Nexus 5 Original Android Development] harrykc:
ElementalX is compatible with GravityBox?

so the step should be Stock room -> elementalx -> gravitybox?

Thanks guys
[Nexus 5 Original Android Development] Tylog:
Kernel has nothing to do with gravity :) you can use this combination, yes.

Tapatalk Team SlimRoms
[Nexus 5 Original Android Development] pokol:
Hi, i also have problems with drain battery and heat with 0.38, but with 0.36 too, i change it to franco r48 and all fine.
[Nexus 5 Original Android Development] harrykc:
Awesome, stock rom+elementalX only?
[Nexus 5 Original Android Development] walpurgisnacht30:
What do you mean with battery drain and heat? Try to check wakelock or maybe you have some rogue apps. Never had one of them unless bam_dmux_wakelock (bad mobile data coverage) which is not kernel related.

PS: Thanked accidentally lol

Sent from Hammerhead
[Nexus 5 Original Android Development] adl:
Nope, Slimkat ROM weekly 4.9.

Kernel settings all the recommended ones, so no undervolting or anything.

I make my own version of Slimkat where i include already the apps (from the gapps zip file) which i want to have and delete everything i don´t need from the ROM zip file. This way my version of Slimkat is only 182mb big and has already everything included,so i only need to flash 1 zip file.
[Nexus 5 Original Android Development] vishpoison:
USB OTG and TV OUT

Hey,

I am not able to use USB OTG and TV OUT with the kernel. Is any one else facing the same issue?

I was earlier on version 2.6 on which USB OTG used to work.. But it is not working anymore since version 3.4 .. :(

Except that its all good !!! :)
[Nexus 5 Original Android Development] notbrodie:
OTG works fine for audio out (with cm). can't comment on storage, but lots of people use it without problem. are you using stickmount or similar?
[Nexus 5 Original Android Development] pokol:
Thanks for the información, the Android keyboard through download manager produced the wakelocks.

I Hibernated the keyboard and all ok :laugh:
[Nexus 5 Original Android Development] Moh_Jay:
Just wondering if you could add this fix for the n5 color calibration in your next release http://xdaforums.com/showthread.php?p=52562567
[Nexus 5 Original Android Development] :
Keyboard hibernation isn't necessarily the best option. It makes the keyboard take a VERY long time to get ready.

I had something like that at one point. I just force closed my keyboard app and all was fine.
[Nexus 5 Original Android Development] pokol:
Hi i try to force close and not resolve the problem. Restart the device and nothing. I Hibernate and install SwiftKey :)
[Nexus 5 Original Android Development] fkloznica:
Sorry to ask but what is this fix for ? What does it fix ?

Sorry for bad eng
[Nexus 5 Original Android Development] FuMMoD:
Nothing for us. It's a fix for franco kernel not elemental.
[Nexus 5 Original Android Development] Spinergy02:
For anyone complaining about this kernel having bad battery life:

On 0.38 with cm11 m6 overclocked to 2.75Ghz.
[Nexus 5 Original Android Development] yorici:
You must turn screen off and on to see difference on kernels like this one.

Faux kept a patch of myfluxi to immediately refresh the display. This way the result is immediately shown after applying. Other kernels threw the patch away as it was considered buggy.

[MENTION=4684315]flar2[/MENTION] Your kernel has also been flawed by a little bug in the Kcal RGB mod. It multiplied the colour channels with 256/255. RGB-255 was this way lost and the colour control parameters acted differently. Please update the code according to this fix by Faux and me:

https://github.com/faux123/Nexus_5/commit/3f404a3420918a5093d9f97947a33ed740546b53

---------- Post added at 12:20 PM ---------- Previous post was at 12:17 PM ----------

Thx for spreading the word!

Elementalx is certainly affected by it! Every kernel that implemented the KCAL colour controls is affected.
[Nexus 5 Original Android Development] vimesUK:
Thanks for that :)

I did as you noted, more so as it mentioned that when using the Display Control App, before I bought the one made by Faux.

Switching between the iphone profile (with the screen being turned off and then back on) and the Perfect 2.2 (for example) and still turning off and on the screen made absolutely no difference when using this Kernel and the Slimkat build 4.9 that I'm using.

Maybe if the next Slimkat weekly pushes the build up to a 5 stable release I might do a clean flash (although the other build was) and be tempted to try out the ElementalX kernel again. The only reason that I'm a little hesitant is that the phone is running very well with the Faux kernel and Slimkat build so far and I'm not sure if I will gain much, but to find out would only be a nandroid away, at most :)

The fix to the bug you have noted would need to be applied to the Faux kernel as well as this one...?
[Nexus 5 Original Android Development] yorici:
Not applying profiles has nothing to do with the bug. The bug modifies the way the values work and the amount of colours the screen can display.

Your issue is rather odd. Can you try installing Faux Gamma App and changing some values to 255. Pm me the result so we won't clutter this thread;)
[Nexus 5 Original Android Development] vishpoison:
yup i am using stick mount.. it used to work earlier.. :|
[Nexus 5 Original Android Development] bobby janow:
Color controls work for me with FKU.
[Nexus 5 Original Android Development] Deeco7:
Is tap to wake really a noticeable battery drainer? I'm on Franco, but I really want this feature.
[Nexus 5 Original Android Development] t1.8matt:
I'd imagine it would be like S2W and you would see some battery drain but I don't think anything big like active display pocket mode on our phone. Try it out, worst case you dirty flash your ROM and go back to Franco.
[Nexus 5 Original Android Development] szucsgf:
About 2-3% additional drain per hour while screen is off I believe, unless you set a time limit or disable it with power button (which are options you can activate in Aroma installer).
[Nexus 5 Original Android Development] psp9000333:
What theme is that?
[Nexus 5 Original Android Development] bobby janow:
Not at all. Load it and set the timeout for minimum. It's awesome.
[Nexus 5 Original Android Development] jayplusone:
http://xdaforums.com/showthread.php?t=2523629 my personal favorite twrp theme as well. OT ending now ;)
[Nexus 5 Original Android Development] FuMMoD:
The kitkat multirom theme in the twrp theme thread.
[Nexus 5 Original Android Development] rezzo:
Hi, I'm using this kernel for a few days, I like it!... but today I need share internet using tethering and it doesn't work, display a error message status. I forgot select something in the installer? :confused:

Nexus 5 D820

ElementalX-N5-0.38, standard Aroma installer with the default recommend options

Android 4.4.2 stock rom

rooted
[Nexus 5 Original Android Development] FuMMoD:
It's not a kernel issue. Android does this at random. I haven't found a way to fix it. It fixes itself for me at random too or with a clean flash.

http://xdaforums.com/showthread.php?t=2707718
[Nexus 5 Original Android Development] ZANGETSU786:
It works mate.
[Nexus 5 Original Android Development] flar2:
I added a few things that might improve battery life. When the screen is off it is limited to one core running at 730MHz (this is also configurable in sysfs, but I recommend you don't make it any lower). I also changed the GPU to use the 200MHz frequency step (previously the lowest step was 320MHz). I await your feedback.

I also added an option for the simple GPU governor and overclocking frequencies up to 3GHz. I recommend the stock ondemand GPU governor. Use frequencies over 2.5GHz at your own risk!. I really don't recommend running that high all the time, it's fast enough already. It's just for people who like to push their hardware to the limits during testing.

Let me know if there are any problems.

Download:

ElementalX-N5-0.3 *ALPHA*

Changes:

-max screen off freq 730MHz

-shut down cores while screen off

-use lowest GPU frequency (200MHz)

-restore early_suspend

-simple GPU governor

-overclocking up to 3GHz
[Nexus 5 Original Android Development] Lancez:
1 quick question, have a pro version of tricksterMOD and can I use it on your kernel or it's not necessary at all? Thanks

P.S. swipe2wake? :p

Sent from my Nexus 5
[Nexus 5 Original Android Development] flar2:
You can use it.

The installer is made to be "set it and forget it" but there are lots of options if you prefer to tweak.
[Nexus 5 Original Android Development] flar2:
I haven't had time to fix up my OP yet, but for those not familiar with my kernels, there is a configuration file where you can change some settings

/etc/elementalx.conf

Whatever you set in that file will be applied at boot

There is also a log file:

/data/local/tmp/elementalx.log

The log file will show the settings applied at boot time. It also shows your PVS bin.

If you don't have this file, there is something wrong with the installation. Let me know.
[Nexus 5 Original Android Development] myprecious27:
So far it's been my favourite kernel for n5, thank you sir:)
[Nexus 5 Original Android Development] infernum:
Excelent kernel!!!

Enviado desde mi Nexus 5 usando Tapatalk 4
[Nexus 5 Original Android Development] akaHardison:
I love your work on Nexus 7 2nd.So keep update.Thank you
[Nexus 5 Original Android Development] fix-this!:
The battery life and smoothness of this kernel is awesome. Thanks dev!
[Nexus 5 Original Android Development] ethantarheels123:
Hey flar, really enjoyed your work on the One XL. I was wondering if you are thinking about the possibility of releasing a bulletproof version some time down the road with stock frequencies and stability but all the kernel optimization/tweak goodness?
[Nexus 5 Original Android Development] cherrytontonne:
Got your kernels running on my One, N7, and now N5. Everything runs great. Quick question though: can we expect the s2w etc options for the N5 anytime soon?
[Nexus 5 Original Android Development] tandxcstar1:
[MENTION=4684315]flar2[/MENTION] what is the Ultra setting for CPU provide over elemental? Thanks
[Nexus 5 Original Android Development] mrro82:
I installed and wiped cache/dalvik and got into a bootloop. The Google logo pops up with a vibration then keeps doing the same thing. Am I doing something wrong? Should I wait longer as this is normal boot procedure when wiping the cache?

Sent from the jaws of my Hammerhead!
[Nexus 5 Original Android Development] dying4004:
flar2 : mate is it possible to enable the modules in your kernel so that it supports touch control to enable swipetowake?

cheers
[Nexus 5 Original Android Development] duckied:
Dude you are so cool!

Thank you for this awesome kernel.
[Nexus 5 Original Android Development] teshxx:
Is the config modules enabled in the kernel for Screen Dimmer ?
[Nexus 5 Original Android Development] Lancez:
U got N5 too? :D

Sent from my Nexus 5
[Nexus 5 Original Android Development] teshxx:
Of course I do :)
[Nexus 5 Original Android Development] shinigenEddy:
What app are you guys using to tweak the kernel settings? I'm not seeing GPU governor controls with trickster :(
[Nexus 5 Original Android Development] Vortex1969:
Same here great kernel but not much control over settings after install.
[Nexus 5 Original Android Development] Lownita:
Thanks! Just getting some stutter here and there with the animation from opening an app from the recents menu.

Tapatalked from my Nexus 5
[Nexus 5 Original Android Development] stumpy352:
Pvs of 2. Cm11. Oc to 2726. Uv to 750. This is the first kernel I've been able to oc this device with, without it crashing. Awesome.
[Nexus 5 Original Android Development] mrimage:
Does it kernel work with faux sound app
[Nexus 5 Original Android Development] notbrodie:
Yes

Sent from my Nexus 5

---------- Post added at 06:32 PM ---------- Previous post was at 06:30 PM ----------

@flar2

does your ElementalX support USB Audio out? franco said he added it in his kernel, but it's not available in Stock

Sent from my Nexus 5
[Nexus 5 Original Android Development] flar2:
Sure I can add it. It's just config options, I'll try to remember for the next release.
[Nexus 5 Original Android Development] retaliator:
Very nice kernel, thanks a lot! :highfive:
[Nexus 5 Original Android Development] salzheld:
Thanks for this fantastic kernel. It just works.

Would love to see a double tap to sleep option.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] carlese:
Hi guys.. I'm trying this kernel right now.. when selecting UV, i see 750min, 725min etc.. usually i choose in trickster mod -50v, should i select 700min then?

What about other frequencies, they get undervolted to or should i use an app for that?
[Nexus 5 Original Android Development] ganeshp:
if you are using trickster for UV'ing then better keep the voltage value in aroma as stock only ...as the UV's in kernel aroma script only affects the the minimum frequency of processor and the rest all voltages stay the same :)
[Nexus 5 Original Android Development] monkboy24:
Oc at 2.5ghz. UV -125 x4 with trickster
[Nexus 5 Original Android Development] carlese:
What do you mean with x4?
[Nexus 5 Original Android Development] meangreenie:
-125 uv? Can you get through antutu with that uv? And what is your PVS thing if you don't mind telling me?
[Nexus 5 Original Android Development] monkboy24:
It means i took the overall volts down -125 four times :p:sly:

---------- Post added at 08:24 AM ---------- Previous post was at 08:18 AM ----------

---------- Post added at 08:46 AM ---------- Previous post was at 08:24 AM ----------

Yep it ran just fine
[Nexus 5 Original Android Development] carlese:
so it's -50 not -125 ;)