yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] 12Fully:
I tried doing what they did by reversing the google play services permissions and removed/added my google account. I wait and see what happens. Thanks for the help.

Sent from my Nexus 5
[Nexus 5 Original Android Development] scrack26:
Hi guys, just want to share this, never reach this screen time on the other kernel i use before. Thank you for this awesome kernel!
[Nexus 5 Original Android Development] indigo888:
Look at this:;)
[Nexus 5 Original Android Development] nmlssit:
O.O Rom and tweaks please?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] Brushstroke:
Looks like Mahdi. I haven't used Mahdi much but I know it gives excellent battery life.
[Nexus 5 Original Android Development] styago:
It is Mahdi 2.8, indeed.
[Nexus 5 Original Android Development] topgeardave:
To get anywhere near battery life like that, make sure wifi and data are turned off every time you turn your screen off. And turn off autosync, location off unless you need it and screen brightness on lowest. ROM has no impact on battery life unless it has bloatware causing wakelocks. Oh and greenify any heavy apps like FB, Twitter etc. Use BBS to check for any wakelocks you can get rid of.

That should get you at least 4hrs SOT
[Nexus 5 Original Android Development] nmlssit:
Well, WiFi always connected, auto brightness, auto sync on, GPS off and greenify already give me 4hrs SOT, with the suggestions you wrote I think I can make more for sure :)

Actually using PA + Pico gapps + obv EX

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] indigo888:
All cores 1497, udervolting 700,disk setting 512,s2w/dt2w-disable,USB fast charge,slightly cooler colours, backlight dimmer-enable.Reboot and flash EX Express no wipes.Use Juice Defender profile extreme.And don't forget to tweak Display automatic brightness.;)
[Nexus 5 Original Android Development] failly:
For people suffering from the Play Services wakelock to the following:

1. Open AppOps and choose Google Play Services.

2. Turn off 'location' and 'keep awake'.

3. Download 'Disable Service' from the Play Store.

4. Choose Google Play Services.

5. Disable the following services:

* Every service with the word 'wearable' in it.

* Every service with the word 'fitness' in it.

* Something like gmx.authorization etc. Can't remember the name, if you're suffering from this wakelock the name is states in BBS.

This fixed it for me. Google Play Services doesn't even appear in my battery usage list anymore :D
[Nexus 5 Original Android Development] sjknight413:
Didn't mean to thank that, damn XDA premium app.

Just an FYI in my experience disabling play services' access to the wake up and keep awake permissions actually makes things worse. Not to mention it will eventually cause play services to fc a lot.

Sent from my CyanogenMod + ElementalX powered Nexus 5
[Nexus 5 Original Android Development] thereal_bigjake:
I've been disabling play services from wake and keep awake for the last month or so and the only result has been that my device sleeps like a baby. No force closes or any other ill effects so far.
[Nexus 5 Original Android Development] drawde40599:
I get 4 hours + doing none of that stuff , u should be able to get 3-4 hours using the phone 100% as google intended us to , ( using all its features ) . u don't need any fancy apps for battery either . but that's another thread .
[Nexus 5 Original Android Development] scrack26:
[MENTION=4392703]indigo888[/MENTION]: That looks awesome! Although i think it will not be the same as your result. I'm just sharing because never reach that screen on time on the other kernel. Same apps and same use. Thankful for this kernel. Thanks!
[Nexus 5 Original Android Development] topgeardave:
Battery life is subjective, upon leaving everything on I'm lucky to get 2 and half hours SOT in my case
[Nexus 5 Original Android Development] drawde40599:
Agreed, but If your not playing games and don't have your screen full blast , i don't know y u would get such ****ty battery , specially with this kernel. I have everything running and syncing , now on . GPS on , crap LTE signal , WiFi on , brightness is on auto . 24/7 ... Stock ROM , NO hacks , mods , "patches " no GPU updates . and can pull at least 3.5 hours . must be something installed on your phone .u shouldn't have to dumb down your phone , and if you do dumb it down u should be getting 6-7 hours like these battery guys do . JMO
[Nexus 5 Original Android Development] ArcMage:
On the subject of battery life, flar2:

rroot@hammerhead:/ # getevent

add device 1: /dev/input/event9

name: "msm8974-taiko-mtp-snd-card Headset Jack"

add device 2: /dev/input/event8

name: "msm8974-taiko-mtp-snd-card Button Jack"

add device 3: /dev/input/event7

name: "hs_detect"

add device 4: /dev/input/event5

name: "touch_dev"

add device 5: /dev/input/event4

name: "wakefunc_pwrkey"

add device 6: /dev/input/event3

name: "dt2w_pwrkey"

add device 7: /dev/input/event2

name: "wake_gesture"

add device 8: /dev/input/event1

name: "s2w_pwrkey"

add device 9: /dev/input/event0

name: "qpnp_pon"

add device 10: /dev/input/event6

name: "gpio-keys"

[IMG="WLD screenshot"]http://imgur.com/uCUwNkX.jpg[/IMG]

Those four wakelocks are nailed firmly to the s2w/dt2w function.

I'll disable it and see if they don't clear out, but this is a little frustrating because it seems to be recent.

It occurs to me that they might be popping so often because I have the timeout set so short, but that's pretty much the opposite of what anybody would want with this functionality.

I'm sure I'll be back with another round of uninterpretable logs and screenshots, but I'm going to test a 60 minute timeout and disabling the functionality.
[Nexus 5 Original Android Development] Jax Teller:
[MENTION=4684315]flar2[/MENTION] why did you revent the i2c update commits in your last build.

I'm just curious.:)
[Nexus 5 Original Android Development] failly:
You're right in some cases. In this case if you have a smartwatch it won't work because you disable the services.

If you don't own a smartwatch you can disable those services. It's a known issue in the latest Google Play Services update.

Have disabeled mine and my devices sleeps like the following pictures.

Even if you encounter fc's you can re-enable the services.

Good luck!
[Nexus 5 Original Android Development] batam:
No more Aroma in the last release ?

I tried with CWM and no Aroma to choose options. It simply installs the zip via the shell.

How do you activate Aroma ??
[Nexus 5 Original Android Development] lovendsuicide:
Aroma installer is still present... Just make sure you didn't install the express version.
[Nexus 5 Original Android Development] batam:
Shame on me.... thanks for pointing my dumbness.
[Nexus 5 Original Android Development] sjknight413:
It clearly isn't a bug in the latest play services because I have nothing disabled and my device is sleeping better than it ever has before, I'm also getting four and a half hours screen on time which is again better than I have ever gotten before, but this is down to flar2's excellent kernel.

Sent from my CyanogenMod + ElementalX powered Nexus 5
[Nexus 5 Original Android Development] failly:
That's why it's a a bug. Not everyone encounters a bug that's why it is one. I haven't made that method up myself. I had huge drains and users had the same thing One+ and MIUI forums which used the latest GPS.

Anyway, im glad it works now. If you don't encounter trouble from GPS then it's indeed unrecommend to do that method. It's just a last resort.
[Nexus 5 Original Android Development] swat4samp:
Latest play services causes configfetchservice and userpresenceservice wakelocks (found in BBS) Just disable those from disable services app and forget about idle drain.
[Nexus 5 Original Android Development] flar2:
I have stock ROM and do nothing and have 0.2%-0.3% per hour idle drain consistently. Earlier this summer I left my Nexus 5 sitting there doing nothing and it lasted for 10 or 12 days while I was on vacation.
[Nexus 5 Original Android Development] willgare:
flar2 - Excellent Kernel, the best.

I have decent battery drain, 3.5 to 4hrs SOT and I have all location on etc, I do not disable anything other than system apps I do not need, stock email, play music, play movies, foreign keyboards etc.

I have High Accuracy on, wifi on, GPS on, and still the battery life is amazing.

All stock, not even root, I flash your kernel using Wugfresh NRT.

Keeping it simple seems to be the best approach, an ethos you seem to adopt in your Kernel.

Many thanks,

EDIT: I have Google now on as well.
[Nexus 5 Original Android Development] ArcMage:
It looks like setting an extremely short dt2w timeout was causing the continual wakelocks. My performance has matched that since I adjusted it.

For whatever that's worth to anyone.
[Nexus 5 Original Android Development] magnamentis:
there could indeed be a relation

thanks for bringing the thought to our attention.

i'm not tech savvy enough to confirm but i can support your opinion in the way that i had my suspend timeout for a very long time set to 6 hours and after changing it to 3 hours i had 3 nights in idle with strange drains albeit the dt2w was even off via power button.

now 4 or 5 days later all is back to normal. so i we want to find out whether there is a connection between changing setting or any setting in

dt2w timout option we could just wait for a period of regularity and change the time out to a shorter time and look what happens. as i said i cannot

underline this with proof or tech-knowhow but it's an interesting thing to look into, at least for those with sudden battery drains over night while nothing else really was changed.
[Nexus 5 Original Android Development] mikkis2k:
Hi, i am looking for a kernel to run with a stock odex 4.4.4 rom! (http://xdaforums.com/google-nexus-5/development/rom-4-4-3-ktu84m-nexus-5-untouched-t2622831)

wich one is the most"stable" when it comes to reboot and running on stock roms? I've seen alot of ppl using this one and franco.. but i need a reboot free one.. if that is possible:)
[Nexus 5 Original Android Development] kendallc123:
I love this kernel and get exceptional battery life. I've never had a reboot with this kernel that wasn't my fault when tweaking things. But that's how it works on my phone. The best answer to your question is try them out for yourself. Everyone's phone is different and everyone has different results.
[Nexus 5 Original Android Development] mikkis2k:
So if i install the kernel with stock settings without tweaking anything i should be ok? i mean.. the clock speeds etc are stock, but disable the sleep2wake thingie..
[Nexus 5 Original Android Development] flar2:
Unless specifically noted, all versions of this are 100% stable, guaranteed.

Make sure you start out with the stock kernel installed and just install the express version.
[Nexus 5 Original Android Development] mikkis2k:
ah. if i just knew that before i installed the aroma one:P will reinstall stock again and redo:P
[Nexus 5 Original Android Development] kendallc123:
no need to redo. if you just clicked next on the aroma options and didn't change anything, it's the same as the express
[Nexus 5 Original Android Development] mikkis2k:
i changed some.. to "stock" :P so ill just redo.
[Nexus 5 Original Android Development] skttrbrain:
How do you get such decent battery life? ElementalX has been fantastic for me, averaging about 1% every 1-2 hours (which is still great), but I'm not getting anything that extreme! I assume because I'm using stock settings.
[Nexus 5 Original Android Development] aaron.bufc:
Running simply beautiful with latest PA. Great as always. How's the app?
[Nexus 5 Original Android Development] pnut22r:
I wonder what apps he has installed. Also it matters if Wi-Fi was on or not. When it comes to idle, if I have Wi-Fi off, LTE actually has better standby for me.

I'm curious if he could elaborate on setup a little more.
[Nexus 5 Original Android Development] drawde40599:
Battery drain
[Nexus 5 Original Android Development] Hannibal226:
Hey guys,

I didn't write anything here since a long time, but always was happy with the ElementarX kernels.

But now on newest version I recognized a strange behavior, which I want to have confirmed before saying it's definitely a (kernel) bug.

So since I'm on newest version 1.10 (stock), I see after some time the display shortly going on an directly back of again. So u only see the animations and that's why I never was sure if this was just a shiny effect or it really was the phone itself.

So I'm quite sure it's not a rom bug, but maybe anyone can tell me more about this behavior....?

CHEERS ;)
[Nexus 5 Original Android Development] rhamej:
If you have DT2W set and the timer on to disable it, turning the screen on and off is the only way to disable it. So what you are seeing is normal.
[Nexus 5 Original Android Development] Hannibal226:
Sorry I should have mentioned it, this time this was the first time I didn't use anything.

So before I always had the dt2w with double tab and 15minutes, but now also this completely disabled.

And over this I never had this behavior before.
[Nexus 5 Original Android Development] flar2:
That's still most likely what it is. Make sure it says "0" in /sys/android_touch/wake_timeout otherwise it will flash like that when the timeout occurs.
[Nexus 5 Original Android Development] Hannibal226:
[MENTION=4684315]flar2[/MENTION]

So yeah seem like this was the problem.

It was still on '15'

But shouldn't overwrite the "Disable DT2W" setting the wake_time, too?

CHEERS
[Nexus 5 Original Android Development] ZacksBuilds:
About to flash this for the first time :D
[Nexus 5 Original Android Development] danarama:
Thanks for the info ;)
[Nexus 5 Original Android Development] ZacksBuilds:
10:37: *responds to rootSU*
[Nexus 5 Original Android Development] drawde40599:
My opinion , leave everything ( including UV ) at stock Elementalx settings use for few days before making opinion or tweaking anything , I think u'll find you don't need change anything and u won't be leaving any time soon ;)
[Nexus 5 Original Android Development] ZacksBuilds:
I did :D I just lowered min freq to 300.

One question, does this kernel use all cores all the time?
[Nexus 5 Original Android Development] drawde40599:
Min freq is already 300 , whatever app your using is "lying " to u . use prefmon app to watch in realtime , u can search this thread for more info .

No it uses 2 then 3-4 kick in as necessary .
[Nexus 5 Original Android Development] ZacksBuilds:
Okay thank you!
[Nexus 5 Original Android Development] flar2:
I was experimenting with the app automatically turning on powersave mode when the battery is low, and I get these wakelocks if I disable s2w/dt2w while the screen is off. I forgot that to truly disable s2w/dt2w, the screen needs to turn on and then off. Maybe some kind of race condition exists, I will experiment.
[Nexus 5 Original Android Development] flar2:
No, I didn't create a dependency on dt2w/s2w being enabled
[Nexus 5 Original Android Development] Hannibal226:
May I'm wrong, but I wasn't ask for time when saying no dt2w, so this is already a dependency or not?

And if yes, why this won't just write a 0 into file?

Hope this doesn't sound rude. Just wondering and asking ;)

CHEERS
[Nexus 5 Original Android Development] hectormcesar:
What about this com.android. systemui?? In the last 5 days it seems that is draining my battery, I have to charge at least twice and some days even 3 times. And SOT is only like 2:20hrs.

Any ideas, suggestions will be appreciated. Thanks.
[Nexus 5 Original Android Development] walpurgisnacht30:
That's not kernel issue, that's your rom.

Sent from my Nexus 5
[Nexus 5 Original Android Development] GialanG:
Turn off Lockscreen Notifications and Peek
[Nexus 5 Original Android Development] Edge330:
I noticed fast draining from 100% to ~ 93%.

Anyone else?
[Nexus 5 Original Android Development] sjknight413:
With all that information you gave I'm sure someone can fix your problems.

Work out what is draining your battery with wakelock detectors and the battery screen in settings and get back to us, I can tell you now this kernel has some of the best battery life in the business so it's likely something up with your setup.

Sent from my Cyanogenmod + ElementalX powered Nexus 5
[Nexus 5 Original Android Development] swat4samp:
Can someone tell me how to change values like sampling rate, touch boost etc? I tried synapse but the values won't stick. They revert as soon as i reopen the app. I searched in thread and found that i should first delete /system/lib/hw/power.msm8974.so and then edit values. But where should i edit those values?
[Nexus 5 Original Android Development] jordirpz:
OK thanks, maybe we can use this patch too?

Thanks

vía Nexus 7 (2)
[Nexus 5 Original Android Development] tusshar.gaba:
please any suggestions Flar ??? anything why my google search is eating my battery ..bcos the screenshot of the battery stats shows it didn't go to deep sleep but only for 22 min ..but for 7 hours as shown in the stats ..i was sleeping ,so no phone use :( :(
[Nexus 5 Original Android Development] jordirpz:
http://xdaforums.com/showthread.php?p=47913987

vía Nexus 7 (2)
[Nexus 5 Original Android Development] CyberScopes:
Probably cause your using d2w.

Sent from my GN5 [D821]
[Nexus 5 Original Android Development] gonzalo8642:
elementx governor result

Amazing! Great work!

I used the same setting that I posted about 2-3 pages before this and the results are great

Performance didn't feel laggy while playing dead trigger 2

I played dead trigger 2 twice as much than my 0.14 test.

I also have 3 hours of SoT and still have about 10% battery left

I could get 3.5 to 4 hrs of SoT. Amazing. Now to update to 0.16 lol

I will so buy you a beer when I get my pay check. Keep up the good work
[Nexus 5 Original Android Development] notbrodie:
on this kernel, 300mhz freq can undervolt A LOT. I have global set at -75, but 300mhz is stable at -150. hot damn!

Sent from my Nexus 5
[Nexus 5 Original Android Development] z31s1g:
Thanks heaps for adding MR support. Unfortunately it does not work yet.

MR manager app reports kernel as not patched. Trying to boot a secondary rom also gives an error message saying kexec-patch is missing.
[Nexus 5 Original Android Development] :
Is show-p's mod always on? In aroma there isn't the option to activate it..
[Nexus 5 Original Android Development] Snuffalofagus:
Seems like it, I was curious about this as well after I couldn't locate the option while going through the installer. I don't see it as a problem though :good:
[Nexus 5 Original Android Development] Grondinm:
So i am not sure why but kexec harboot does not work for me at least....unable to boot secondary roms...
[Nexus 5 Original Android Development] fireproofrev:
[MENTION=4684315]flar2[/MENTION]

With elemantalX you are still able to set the "wrong timing parameter" from francos "cooler colors".

I know this is not recommended because it is not made to change the colors but I gave it a try again.

I noticed:

With the wrong timing parameter and WP23 I get wonderfull saturated colors, it is REALLY PERFECT for me (like an HTC one or an amoled screen). I love it but there is an issue, the WP don't survive an screen off/on.

After you turn the screen off and on again you see the WP is back to normal (in app it still shows the customized value). When I click apply again I have the wonderful colors back. I know this "reset" comes from the timing parameter but because it is possible to set it by app there must be a coding possibility to have both settings (wrong timing parameter) and the customized WP all the time.

I don't think we can get good saturated results with the "normal" values without banding so it would be nice if some kernel developer or app devolper can combine these two settings.

This combination would be very awesome!! (I compared side-by-side with an HTC one screen and it is almost the same)
[Nexus 5 Original Android Development] Grondinm:
[MENTION=4684315]flar2[/MENTION] I think i may have identified why kexec hardboot does not work. i assume you use elementalx_defconfigto build and if so it has 2 config options that are not set the way they should be according to the kexec hardboot patch.

1. CONFIG_ATAGS_PROC=y should be set to n according to Tasssadar

and

2. # CONFIG_PROC_DEVICETREE is not set should be set to y

i will admit that i am not 100% sure what these 2 options do in the grand scheme of things but these are the only differences i have found between the patch by Tasssadar and the options set in elementalx_defconfig
[Nexus 5 Original Android Development] kurnis:
v16 working PERFECTLY here.

GREAT WORK as always :D
[Nexus 5 Original Android Development] italia0101:
Can someone testing playing some music, does it skip?
[Nexus 5 Original Android Development] Snuffalofagus:
Poweramp: no, not that I can tell and I listen to music almost all day.
[Nexus 5 Original Android Development] flar2:
That's exactly it, I have wrong config options. Will release a fixed version tonight.

I can try changing the order in which they are applied. I'll take a look.

Did you try rebooting? Maybe wipe dalvik and cache as well.

It's always active. The screen screen has the ability to be much dimmer than stock, and will be slightly dimmer in low light situations with auto brightness.
[Nexus 5 Original Android Development] letmedanz:
Is this normal?

Don't see any unnecessary wake locks..

Dt2w installed..

Running 0.14

Basically lost 21 pcnt battery when I was asleep and the phone was too
[Nexus 5 Original Android Development] notbrodie:
do some research. s2w/dt2w modes increase idle drain significantly

Sent from my Nexus 5
[Nexus 5 Original Android Development] letmedanz:
i understand that.

just wondering if this is the kind of battery life that others with dt2w & s2w have too..

phone idle & cell standby seem to be pulling a lot of the juice.. and as you can see network is pretty much good..
[Nexus 5 Original Android Development] fireproofrev:
Maybe it is needed to set the customized whitepoint value as kernel default. For that it would be good to be able to set an custom whitepoint in the aroma installer.

Maybe I am wrong (unfortunately I don't have much "under the hood" knowledge) it is just an idea.
[Nexus 5 Original Android Development] soumojitdas:
Guys. Please help me out.

Please tell me what is the difference detween "Stock/AOSP" and "Cyanogenmod/CAF".

Please help!
[Nexus 5 Original Android Development] danarama:
Really?

If your ROM is stock based or AOSP based, use the stock/AOSP kernel

If your ROM is cyanogen or CAF based, use the cyanogen/caf kernel

Read your ROM thread to find out which you need.
[Nexus 5 Original Android Development] soumojitdas:
I thought all ROMs besides stock is CM based. My bad.

So, PA is AOSP, right?
[Nexus 5 Original Android Development] danarama:
Yes. PA is AOSP. Heavily modified AOSP but AOSP all the same.

CM technically is also a heavily modified AOSP however, they use CAF which means they need a special CAF kernel.

Most AOSP ROMs don't use CAF unless they are CM based (clones etc). That's why we have AOSP and CM/CAF.
[Nexus 5 Original Android Development] soumojitdas:
Thanks for enlightening me. :)
[Nexus 5 Original Android Development] ZacksBuilds:
Report after last night! This kernel + optipurity makes my phone grow wings and fly! I've never seen it this smooth! Still testing battery life but it looks promising!
[Nexus 5 Original Android Development] 12Fully:
I noticed that today, but I was playing Clash of Clash's during the drain. It still seemed to drain pretty quick though.

Sent from my Nexus 5
[Nexus 5 Original Android Development] flar2:
Using the phone will cause drain
[Nexus 5 Original Android Development] drawde40599:
Your watching your battery way to close. Not trying to be a A$$ but just go enjoy your phone stop watching it under "magnify glass" .