yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] cawith:
Hi everyone,

I moved over from Franco when he decided to start over and remove the most of his implemented tweaks. I tried r36, but it gave me much worse battery life than what I had on r33.

Well, I'm not big on tweaking the kernel anyway, so that is why I'm very keen about your concept of just setting up during installation and then leaving the kernel alone as long as it's working as intended.

I've now run a couple of battery cycles on 0.34 using stock rom, but I still can't seem to get the standby and screen on time, that I've had before. BBS shows no worrying kernel wake locks, but GSAM show me that Kernel uses a lot of power (if I understand GSAM correctly).

I've attached some screenshots.

I was wondering if I should get some log files from my device, before it runs out of juice..? And if so, how do I do that? Kind of a noob in that area...

Cheers

EDIT: Btw, I used to be able to get up to over 2 days of stand by with 5h - 6h30 screen on time...
[Nexus 5 Original Android Development] Elluel:
For some reason it made me download 0.26 a week ago. :eek: Updated to 0.34, changelog not updated?
[Nexus 5 Original Android Development] absoluterebirth:
[MENTION=4684315]flar2[/MENTION] are you planning to readd the option to change our governor in the aroma installer? I think that add most, if not all the tweakables from Trickster to the aroma installer, that way, there would be no need for an app to mess around with the kernel. Just flash and forget :)
[Nexus 5 Original Android Development] bobby janow:
What does "partial wakelock" in BBS show from "charged"? IOW what is waking the device?
[Nexus 5 Original Android Development] cawith:
The two top ones in partial wakelocks are Gmail and Google Drive sync, which sometimes hang for me. I've no clue why, but it just happens randomly during background sync. This time Gmail sync held it awake for 57min (36,1%) and Drive for 18min (11,3%). The next one is NlpWakeLock with 17min (11,0%). And that is out of a total uptime of 31 hours now, so not really a big thing.
[Nexus 5 Original Android Development] bonedriven:
Me too. It's the first kernel I tried. I can't say the battery is better than stock at all (if not less). Only good thing is the phone is indeed much snappier than stock kernel. I too have kernel using considerable battery than stock.

Stock rom+elementalX default setting+optimized dalvik+gravity box+greenify

Anyway, since the battery life is similar to stock but phone is much snappier, I am really not complaining. I just don't see how people are saying they have better battery life than stock.
[Nexus 5 Original Android Development] bobby janow:
That is a lot of wakelocks. See if you can reduce those. Nlpwakelock means something is waking the device too. That's a hard one to figure out but the donate version of greenify did it for me. Turned out to be Google voice.
[Nexus 5 Original Android Development] GSLEON3:
Sense 5???

[MENTION=4684315]flar2[/MENTION] just curious about the OP changes... Lol... I didn't know you could run Snese 5+ on the Nexus 5.

BTW, the links take you to the HTC One S kernel...
[Nexus 5 Original Android Development] flar2:
I accidentally trashed the entire OP :crying:
[Nexus 5 Original Android Development] danarama:
May be wrong but I believe on this platform mods can see what a post looked like pre-edit if configured correctly
[Nexus 5 Original Android Development] nikosrs4:
Wi-Fi and then 3g

Sent from my Hammerhead
[Nexus 5 Original Android Development] flar2:
I couldn't find anything in the editing tools, but Google cached it so I can copy and paste it back.
[Nexus 5 Original Android Development] panart:
Hail the almighty Google...:)
[Nexus 5 Original Android Development] ck.chunkeat:
Hmm, guys. I'm facing a problem with the sound. I'm not sure whether it has something to do with the kernel or not but I'm on stock rom and elementalx .34 kernel.

This is the third time its happening so far but the first 2 times when it happened was 1 month ago.

The problem is that the phone will randomly not output any sound from the speaker and earpiece. I had to restart to have the sound again. I did install a soundmod though but i had it since i got the phone and I installed elemental x like 1.5-2 months ago.
[Nexus 5 Original Android Development] ali262883:
Which kernel u recommend for good battery life?
[Nexus 5 Original Android Development] cawith:
Well, I don't think that a total of 1h 40min partial wakelocks is a lot, as I am now on for 33 hours. And around 1h 15min is due to the sync error, which isn't happening all the time, so I think that this is pretty good. And that is exactly my problem, that I can't figure out, why I can't get more screen on time anymore.

I already have the donate version of greenify but turned of xposed some time ago, when I decided to try ART. But I think I'll activate it again, which should give me better battery info and full use of greenify :)
[Nexus 5 Original Android Development] ilaf0106:
I recommend .32 I really got great battery life after a couple life cycles
[Nexus 5 Original Android Development] ali262883:
Have u tried 0.34 or never updated?
[Nexus 5 Original Android Development] eug89:
For the secure setting you just need to install it from the market. Then in tasker I made a task that if the screen is off it runs the shell command echo 1 > /sys/android_touch/doubletap2wake followed by a secure setting action that wakes the screen (wake device > Screen & keyboard lights on. duration 1s) and then another secure setting action that locks the device (between the 2 secure settings i used a wait of 150ms just to be sure that the two actions don't get overlapped). Then the same thing for when I want to disable dt2w (For this I used another if statement that if the screen is on it doesn't need to do the wake & lock thing).

Now it works as I wanted, still need to test the effects on the battery though.
[Nexus 5 Original Android Development] netinetinet:
I tried all versions from 0.15 after 0.34 .. best in Antutu(34k) and battery life for me is 0.31
[Nexus 5 Original Android Development] ali262883:
Hmm.. Gotcha try it out [emoji4]
[Nexus 5 Original Android Development] danmaman:
Hey Guys

Is 3 days and 5 h SOT yeahhhhh it's real.....good or not good?:p:good::cyclops::good::good::good::good::good::good:

just kidding:p:p:p:p:fingers-crossed:

cheers
[Nexus 5 Original Android Development] tlrsax54:
So nothing but airplane mode and leaving your screen on? ;p
[Nexus 5 Original Android Development] danmaman:
no no my friend

my personal use..

airplane only if i go to sleep

it is all included.....hangout surfing listen to music Telefone.... SMS .........but no gaming

wifi at home is always on
[Nexus 5 Original Android Development] FuMMoD:
Yeah but the airplane mode gives you a ton more hours though.
[Nexus 5 Original Android Development] androiduser44:
good kernel :)

crom deadline interactive

no oc/uc/uv
[Nexus 5 Original Android Development] jumparound246:
Why in hell is your device active all the time? Did you listen to music all of the time or something equal? If not i'd guess that your battery life could be much better :)
[Nexus 5 Original Android Development] AndrasLOHF:
Wakelock is a helluva drug
[Nexus 5 Original Android Development] ali262883:
What's the difference between deadline, interactive and elementalx governors ?
[Nexus 5 Original Android Development] androiduser44:
youre right i ve listen permanently music today :)
[Nexus 5 Original Android Development] AndrasLOHF:
This kernel IMO has the absolute best battery life for music playback. Has cut usage by half or more compared to other kernels for me.
[Nexus 5 Original Android Development] nadiros:
http://xdaforums.com/showthread.php?p=27955261

Governors explained.
[Nexus 5 Original Android Development] pispuso:
This is maybe not the place to ask about this, but lets try :D.

I have set up ElementalX to shutdown Double Tap 2 Wake after 30min. What I want to do is to disable this when my phone is on the wireless charger.

Is there any way to do this with something like Tasker? And how can I do it?

Maybe someone here use Tasker more than me and can teach me a way.

Or is it possible to add an option like this kernel wise? That would be awesome, but I don't want to annoy flar with requests.

Anyway, thanks who can give me some tips!
[Nexus 5 Original Android Development] Sparx639:
Elementalx is not on the list
[Nexus 5 Original Android Development] bluegizmo83:
[MENTION=4684315]flar2[/MENTION] not sure how difficult it would be, but would it be possible for you to incorporate shutdown scripts at the kernel level in your kernel?

As far as I know, no Android kernels have the feature enabled. I found an XDA thread for devs about incorporating a shutdown script routine in custom ROMs, but the OP in that thread talks about UNIX provides a via for running scripts at shutdown, but that no Android kernels currently incorporate that feature.... This is the thread I'm referring to: http://xdaforums.com/showthread.php?t=1387692
[Nexus 5 Original Android Development] danarama:
No, however it IS in the OPs of this thread.
[Nexus 5 Original Android Development] nadiros:
[bangshead][facepalm][bangshead]
[Nexus 5 Original Android Development] kong:
I believe it has to be implemented on the ROM side.

Can't think of the situation when we would want to execute a script on shutdown though :/
[Nexus 5 Original Android Development] bluegizmo83:
It may have to be done on the ROM side... I'm not sure...

As for why you would want to run a script at shutdown... I'm wanting setup a script for an app called AndroidLost. If your not familiar with the app, its a tracking app that will allow you to find your phone if it is lost or stolen. It has a ton of feature, but it will not survive a factory reset by a would-be thieve... I found a link on google by someone describing how to use a script to have the app automatically reinstalled after a factory reset, and he used a script for copying the old app settings to the newly installed app after a factory reset. However, he described how much better the setup would be if you could have the script run at each shutdown to copy the correct settings everytime the phone is shutdown. Here is the link I'm referring to, and just below the first code section there is a edit for the OP about the shutdown script: http://www.reddit.com/r/ladfrombrad/comments/154dc6/androidlost_and_persistence_after_a_factory_reset/
[Nexus 5 Original Android Development] Sparx639:
I know haha, i'm just giving you guys crap. I know how to use xda
[Nexus 5 Original Android Development] Venomous Viper 119:
There's a much better app than trickster mod. The name is kernel tweaker. No functionality is restricted as in case of the trickster mod free version & also the app is ad free!
[Nexus 5 Original Android Development] anshmiester78900:
Hey guys I'm currently using purity rom. So which one should i download the stock/aosp or the cyanogenmod version ?

Also what is the difference between the normal and the express one ?
[Nexus 5 Original Android Development] bonedriven:
I feel the battery life is about the same as in stock kernel. Yet the phone is much snappier.
[Nexus 5 Original Android Development] ali262883:
umm ok.. i was on stock just for 2 days so cant really agree with you.. which kernel u on?
[Nexus 5 Original Android Development] Savant:
I'm assuming this one.
[Nexus 5 Original Android Development] danarama:
Can we maybe try to keep away from kernel comparisons please?
[Nexus 5 Original Android Development] howard bamber:
One thing when you all measure "screen usage" Are you taking about a static screen? A movie? Internet? Kindle reading? These all alter the amount of "screen usage" time plus if you have a ton of apps on your phone, doing stuff in the background that's gonna screw up the figures. People should be happy and content we have a kernel with superb battery life, without sacrificing performance. Anything else turns into a pi##ing contest. BTW pay the guy a $£€¥ whatever. He has earned it.

Sent by mobile telephone.

---------- Post added at 03:20 PM ---------- Previous post was at 03:10 PM ----------

What's wrong with paying people? I've Trickster donate and kernel tweaker. Trickster is way better on some kernels it has way more features but the point of this one is to set and forget. It's hard at first, granted, to stop messing, but that's a main point of this kernel.

BTW does your dislike of paying for people's work stop at apps, or include the 100s of thousands of Man hours put in by devopers on this site?

Sent by mobile telephone.
[Nexus 5 Original Android Development] drawde40599:
Drama

Besides having a great kernel/ Dev , This thread has been Drama free since day one ,let's try keep it that way .
[Nexus 5 Original Android Development] Venomous Viper 119:
Yo brother! chill. Not everyone is a rich man like you are. We the unprivileged unlike you support the developers by our motivating words if we can't by donating them at least. I'm not an anti-trickster guy. And neither am I against people that donate to the developers. I myself could have donated to many developers heartily if my earning were good. And I'm sure the majority of the people here envy the same. If you like the app, use it or else don't. Stop discriminating unnecessarily.
[Nexus 5 Original Android Development] mateenf:
Why am I only getting 2 hours of SOT with this kernal? I'm on CM11 nightlies...
[Nexus 5 Original Android Development] ollidiemaus:
Just check your wakelocks ;)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] NovaSlim:
Get Gsam monitor or Better Battery Stats and see to see if any wakelock is really killing your battery, you could also been hit by the "mm-qcamera-daemon" bug that google is going to fix with 4.4.3
[Nexus 5 Original Android Development] drawde40599:
Do u flash every nighty ? My n5 running CM got crap battery until I stopped updating CM everyday . After couple days went from 2.5 to almost 4 with same setup . But I would also try what the other two guys mentioned ^
[Nexus 5 Original Android Development] mateenf:
I was on stock ROM and I got 4 hours of SOT on that one. This is my first flash on my N5. The CM's are having issues I guess. May switch to Catacalysm or Carbon
[Nexus 5 Original Android Development] drawde40599:
Maybe try few cycles then before leaving . Or have u tried gravity box on stock ? If not u should try it . Best combo available IMO
[Nexus 5 Original Android Development] r0cky0790:
If you really wanna use CM just flash M4. I've been running it for a while with the last few Elementalx updates.
[Nexus 5 Original Android Development] hooliganx:
try SlimKat

N5*SlimKat.b3.8*bricked.exp-cf73f13*ART*TWRP.2.7*0.23
[Nexus 5 Original Android Development] raycaster3:
+1 SlimKat is legit. Battery friendly, light smooth (in part thnx to elementalx), and even the weekly "unstable" builds are more stable than other ROM's RCs.

Anyhow... Cant lose with slimkat I've run em all. The only thing I even remotely miss is theme engine, but there is trds so you're not left to total stock.
[Nexus 5 Original Android Development] kufikugel:
Well next stable slimkat is less then 48h away :D a lot prefer the stable builds even though the weeklies are pretty stable....but ya weekly can contain bugs when we test something etc.
[Nexus 5 Original Android Development] AquilaDroid:
You just never know where Kufi will be lurking...

From my Nexus 5
[Nexus 5 Original Android Development] choosetobelieve:
How is the screen on time and stand by time from this kernel? Thanks I am using franco at moment.
[Nexus 5 Original Android Development] bobby janow:
I am so thrilled that you will be off this thread. Please, why are you posting here?
[Nexus 5 Original Android Development] howard bamber:
I'm NOT rich. Using a second hand phone. Been unemployed since I had chemo for liver disease 18 months ago.

Sent by mobile telephone.
[Nexus 5 Original Android Development] kufikugel:
Lol

I read most of the original threads and try to help or to post sometimes a bit OT is something is discussed about slim or about god and the world lool. Someone said something about weekly and stable versions...I can understand user who differentiate it so I just added the hint that next is coming soon.

See above :p do not think [MENTION=4684315]flar2[/MENTION] will kill me :p
[Nexus 5 Original Android Development] nadiros:
Uhhh... Seriously?
[Nexus 5 Original Android Development] bobby janow:
No..
[Nexus 5 Original Android Development] Venomous Viper 119:
I'm sorry to hear that. I hope & pray that you get well soon.
[Nexus 5 Original Android Development] jayplusone:
Selling my HTC One after my Nexus 5 arrives. Happy to see flar's work here :)
[Nexus 5 Original Android Development] drawde40599:
I'm guessing there friends screwing around ;P don't take seriously
[Nexus 5 Original Android Development] armyboy11b:
You have to let the kernel settle in and wouldn't judge battery if you haven't even cycled it fully yet
[Nexus 5 Original Android Development] cferra:
Anyone having random Bluetooth issues with this kernel? I really love it but seems like there are some weird glitches here and there.. Another one is that sometimes my phone audio stops working and I need to reboot the phone in order for it to work again.
[Nexus 5 Original Android Development] ssro:
i went to bed immedaitely after stop charging, that why os, systemui, etc not show
[Nexus 5 Original Android Development] drawde40599:
Don't remember seeing anyone reporting those issues . What Rom , what version of kernel ?
[Nexus 5 Original Android Development] cferra:
I'm not using anything special - stock ROM and latest release kernel
[Nexus 5 Original Android Development] ali262883:
Will I get a better battery life on slimkat+elementalX.. ? Now m on a different rom with elemental x.. So will I get a better battery life with same usage?
[Nexus 5 Original Android Development] choosetobelieve:
If only for battery purpose, franco kernel is better.
[Nexus 5 Original Android Development] ali262883:
Naa no Franco.. The recent builds have no significant improvement in battery life.. No noticable difference between elemental x and Franco as of now.. Just that elemental x is little more smoother..
[Nexus 5 Original Android Development] choosetobelieve:
Do you usually use default value in elementary x?
[Nexus 5 Original Android Development] ali262883:
Yes and I always get 5 hours onscreen time.. With little more than moderate usage
[Nexus 5 Original Android Development] raycaster3:
It's all relative. Like I said, I've run em all, well ok not all the 7-zip dev "ROMs" but the respectable ones, and some are better than others. It really comes down to usage. You may see a Rom here or there that has feature that are cool, but kill battery, like active display and pocket mode...Heck, even this kernel (which has been known to just sip battery ?) has the option to use one of the most battery hungry features you can get on an N5, but the choice is yours, you don't have to use it.

Like I said, all relative.
[Nexus 5 Original Android Development] ali262883:
Hmm.. Like u said it depends on the usage.. Them I'm very happy with my current combo.. Getting great performance with pretty decent battery life.. I would say more than decent.. I just love this kernel.. And i love my Nexus 5 more [emoji4]
[Nexus 5 Original Android Development] anshmiester78900:
Guys I'm on purity rom. Which one should I download the AOSP or Cyanogenmod version ?

Also what is the difference in the normal and express version ?
[Nexus 5 Original Android Development] dead0:
with elemental 0.31 on latest Mahdi rom. 90 mins music 4+ hrs web browsing/fb/whatsapp with mobile data, some calls and texts
[Nexus 5 Original Android Development] noloukos:
Download the aosp and normal. With normal you set the kernel through aroma installer. Express is if you have used previous version of the kernel and you want to keep your settings.
[Nexus 5 Original Android Development] yukkio:
Dalvik plus qualcomn patches?
[Nexus 5 Original Android Development] choosetobelieve:
Do you change cpu in the kernel in order to gain battery life? I inow that the op mentioned to retain the default cpu. But I would luke to know if someone has changed? Thanks
[Nexus 5 Original Android Development] PetritH:
I tested in couple of kernels, lowering the freq to gain battery eats more than it gains, so since im running stock settings with a bit UV its much better than when i had it on 1.7
[Nexus 5 Original Android Development] howard bamber:
Thanks dude

Sent by mobile telephone.
[Nexus 5 Original Android Development] choosetobelieve:
The Op said that the min cpu is not 1267, it should go back to 300 when the system is idal. But I have not seen the system goes down to the 300. I am intetesting to see the battery life if this kernel on so high min cpu.
[Nexus 5 Original Android Development] cc16177:
My phone goes to 300/deep sleep no problem on 34...
[Nexus 5 Original Android Development] Johnny424:
I use trickstermod to set my freq at boot. 422 min and 2300 max ..slightly over clocked then stock..I have no problem getting 3-4hrs actual sot.. and according to BBS less then 1.0 an hour idle drain..to be more precise 0.9%
[Nexus 5 Original Android Development] magnamentis:
2 ways

hi,

just don't question everything out of the blue and/or at least mention how you check on that one ?

the moment you look at it, your phone is not idle, so you would have to get some kind of history to check

what happened in the past but you don't mention that.

further a few experienced users mentioned it already, use your device and enjoy and only

consider to take action if something seems out of the ordinary, not look for problems without

reason upfront just out of simple pessimistic curiosity

however, to answer at least your question, this kernel has very good battery live,

woke up this morning after 8 hours of sleep with 0.8% usage. no way that this would be possible

if the device would stay at anything higher than the 300 where it is supposed to be in deep sleep.

should you ever feel that the device does not deep sleep, again you have to use an app which tells

you what keeps it awake, wakelocks, keep awake etc.

there are simply too many unfounded questions of that kind recently, no offense meant.

enjoy

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, AGNI Kernel 2.7.5_r3, 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, ElementalX Kernel 0.34, Xposed, ( Formerly Cataclysm, Franco & FKU Color Control, Dalvik & Bionic, Faux, Bricked, etc. )

_________________________________________________________________________________________________________________________________________
[Nexus 5 Original Android Development] HighRidas:
Liking this kernel.

min:300 max:2650

OnDemand

ROW 512
[Nexus 5 Original Android Development] r0cky0790:
You might need something like CPU Spy to notice the drop to 300. I have mines @ 300 to 2956 (heats isn't as bad as you may think unless your a power user). Device is super snappy with good enough battery life for my daily which is just about 4 hours maybe less sometimes. Before I had my min @ 1267 and honestly my battery life wasn't bad while set @ that minimum frequency.

"CyanogenMod 11 M4 + ElementalX .34 + Dalvik Patches + Greenify + Exposed + Gravity Box & Candy shop Mods + DPI 440 + Apex Launcher w/ Morena Icons + Jishnu's Camera Mod/LG G2 Camera Port + OC @ 2.956 GHz " My Nexus Is The ?,┌П┐[◣_◢]┌П┐!
[Nexus 5 Original Android Development] drawde40599:
I'm watching it right now with prefmon app and if your not touching the screen it go's back to 300 every time . So It's something on your end . I no others that have had your issue a kernel control app was to blame for most of them
[Nexus 5 Original Android Development] nickporwal:
Can i ask which theme are you using?