yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] drivel2787:
Any difference battery wise
[Nexus 6  Original Android Development] wrongway213:
I still can't figure this kernel out to get battery increase like a lot of you have been reporting :confused:
[Nexus 6  Original Android Development] rignfool:
Not that I have really noticed...
[Nexus 6  Original Android Development] beyeond:
I'm still learning too. Everything is kinda new to me with all this adb stuff. I feel like I'm starting to understand a little more but I can relate to your frustration.

I decrypted my phone but don't have any idea if it's still decrypted. I did the factory reset after and it worked, but I've since flashed Slim and this kernel. I'm assuming it's still decrypted but I don't even know how to verify this.

But anyway, just using this kernel right out of the box, along with greenify has definitely helped my battery life.
[Nexus 6  Original Android Development] rignfool:
Go to settings > security...

There's an option to encrypt phone...

If your encrypted... It will say so there... Otherwise you are not encrypted
[Nexus 6  Original Android Development] wrongway213:
i have the roms and all that stuff figured out alright, but i don't know anything about setting a kernel or making settings stick.. trying to increase battery life but so far no luck
[Nexus 6  Original Android Development] old_fart:
Here is an excellent thread . http://xdaforums.com/showthread.php?p=31974989#post31974989

And I believe this battery thread is ( Super Duper ! ! ! ) excellent stuff too . . . http://xdaforums.com/google-nexus-5/help/battery-life-help-troubleshoot-battery-t2785128

( if I was of any help, please click thanks )
[Nexus 6  Original Android Development] Nalix:
Thanks for the clarification. I thought wipe was the same as format in this community. By "FORMAT", do you mean a total wipe, i.e. check all boxes in the wipe screen in TWRP?
[Nexus 6  Original Android Development] Xelphos:
New to Nexus from Samsung. Is this Kernel safe to use with AOSP ROMs like CyanogenMod on the Nexus 6?
[Nexus 6  Original Android Development] frenchy714:
Absolutely. Lean is extremely stable. Backup (in case) and flash.

I pooped my pants once, it's a long story....
[Nexus 6  Original Android Development] wrongway213:
Both good threads .. I meant more that I don't know how to set up this (or any) kernel up to achieve improved battery life though, not battery life in general. I'm looking to fine tune this kernel to get a boost like others have in SOT
[Nexus 6  Original Android Development] Imoseyon:
Should work fine. There may be a few minor incompatibilities when in comes to stuff like adb, USB storage etc but I'll fix those as I encounter them.
[Nexus 6  Original Android Development] simms22:
even though cm is aosp at the moment, i bet they will switch to CAF after some time, like they did with kitkat. at that point, aosp kernels will probably not work with cm anymore.
[Nexus 6  Original Android Development] Circaflex:
I've been told this go around they plan to stick with aosp after the issues on the nexus 5
[Nexus 6  Original Android Development] ScumDroid:
Yo man. picked up my nexus 6 yesterday. Stellar device. This is a solid kernel too. :good:
[Nexus 6  Original Android Development] simms22:
nice :)
[Nexus 6  Original Android Development] noneabove:
I'm slightly confused by some readings, it seems by CPU bin is 2, which I know isn't good, but based on the I know what the voltage table should be, but trickster is reporting that my voltages are set to the same as the cpu bin 10 voltages, what's going on here?
[Nexus 6  Original Android Development] simms22:
huh? where, in trickster, does it say that youre voltage table is the same as bin 10? whats your voltage for 2880mhz?
[Nexus 6  Original Android Development] Lewis2100:
I noticed this also. I'm PVS7 but the first 8 or so frequency steps are the same voltages as PVS10. (300 MHz is 680 mV and so forth...) Then after that it switches to the voltages for PVS7 for example 2649 MHz is 1080 mV and so forth.
[Nexus 6  Original Android Development] noneabove:
Okay yeah nvm my high frequencies are different, but as the user above me said all the first values are the same as bin 10, also i just set all of my voltages to the same as bin 10 and while it's only been 5 minutes it hasn't crashed yet which seems interesting. Either it can stand the much lower voltages or trickster didn't actually set them.

Edit: ran antutu benchmark and got it to crash, dam. maybe a happy middle ground though will be fine. Very unfortunate I got bin 2 :( I know it's not worth of RMA but I really wish it was haha. it's pretty huge difference in voltages... 1000000 vs 1130000 for max frequency? that's huge.
[Nexus 6  Original Android Development] knitler:
I have bin 5 and AnTuTu makes me crash at -75, -50. -25 is stable. In normal use -50 and -75 work just fine for me though.

-35 benchmarks fine for me though. I'm keeping it at -75 until I see issues with my normal use.
[Nexus 6  Original Android Development] simms22:
not really huge. that bit of voltage you won't even be able to tell any difference, when it comes to battery life. ok, you night get 2-3 minutes less sot. all this pointing out bin number is all just a game, whether it makes a difference to you is all imaginary, lol. even in yout bin, the voltages will vary for all those devices. heck, im a bin 5, not much different than you. yet i see from 6-7 hours sot daily, and i raise my max cpu speed voltage.
[Nexus 6  Original Android Development] ScumDroid:
Does undervolting really make that big of a difference in battery time, or is it just people feeding their OCD? serious question, ive never undervolted.
[Nexus 6  Original Android Development] simms22:
yup, all ocd. dropping even 100mV is such a tiny amount of current that even it "saving" battery doesnt save enough to afect your battery time. so yea, all other peoples ocd.
[Nexus 6  Original Android Development] knitler:
Not necessarily. On idle the 680mV if you take away -75 that's over a 10% savings. The gains go down the more you use the high er CPU scaling, but if you rarely use over 1.5GHz like most people people do unless they are gaming then they should easily see a minor gain.

Grant it that is ONLY from CPU use, and the 10% on CPU is not 10% over all. It can/does result in a bit cooler running, and minor battery savings. Just not as much as people what to think it does. Not being encrypted probably helps more as its saving on SW and HW resources.
[Nexus 6  Original Android Development] ScumDroid:
Figured as much.I have no more thanks today, so I have to say it here Thank you :P (Whats with 8 thanks per day limit XDA?)
[Nexus 6  Original Android Development] simms22:
generally, if you ask any random person if itll save battery, they will say yes. and technically they are right, it does "save" battery. but then ask them how much it saves, and they are clueless. it saves so little battery that you waste your time by spending energy on on setting it up, and you get nothing in return(except a little less heat).
[Nexus 6  Original Android Development] old_fart:
Sound level testing with a digital sound level meter.

Used android app called "Wave - Tuner". ( is a second generation app by this dev - for tuning your / my guitar. )

Quiet room ( 34.6 DBa ) and meter placed 12 inches away from the nexus.

Using latest Euphoria Rom with LeanKernel 1.2

Note . . . Sound Level

A . . . . 87.4 . . . pretty steady

B . . . . 85.1 . . . pretty steady

C . . . . 67.7 to 59 . not so steady

D . . . . 70 to 66 . wavy up and down

E . . . . 74 to 68 . wavy up and down

F . . . . 75.7 to 69 . wavy up and down

G . . . . 79 to 68 . wavy up and down

It is difficult to see to bottom mark when it is cyclic up and down. . Goes louder and quieter. The B to the C drops to a different octave on this app

.

using the wugfresh NRT to remove Lean and put in Stock kernel. O.M.G. Look at that "please stand by while we're encrypting your phone" message . . . Boo . . .

Still using the Euphoria rom for these tests. . . Very nice [MENTION=2906672]dsmitty166[/MENTION] and team ( Mahdi786, manelscout4life, teeseeuu, eurochild ) . Bravo Zulu !

New values . . . . . . . . .

Note . . . Sound Level

A . . . . 89.4 . . . pretty steady

B . . . . 80.4 . . . pretty steady

C . . . . 68.5 . . . . pretty steady

D . . . . 71.5 . . . . pretty steady

E . . . . 78.5 . . . . pretty steady

F . . . . 79.9 . . . . pretty steady

G . . . . 83.8 . . . . pretty steady

( please click on thanks if this revelation is of any help ! )
[Nexus 6  Original Android Development] frenchy714:
So the sound is much better on the stock kernel?

I pooped my pants once, it's a long story....
[Nexus 6  Original Android Development] arcanexvi:
Shh you're on vacation. Go hide ?
[Nexus 6  Original Android Development] noneabove:
eh, back in my desire z days it made a noticeable difference to battery life but a much larger difference to heat generation. and at the highest clock speed that 10% difference in voltage will make a difference. I know it's a drop in the bucket compared to screen for battery, but it's really all in the heat for me. You'll notice I never said a word about battery life until now....

And before you say heat is negligible, I was just using an HTC One for a long time and just playing Clash of Clans for over 30 minutes would result in an incredible amount of heat before I started undervolting
[Nexus 6  Original Android Development] Lewis2100:
Heat generation in turn leads to thermal throttling which ultimately slows down the device. This is the reason I undervolt, not to reduce battery consumption, but to reduce heat generation.
[Nexus 6  Original Android Development] Lostatsea23:
Anyone know why half the screen goes black when I rotate my device?
[Nexus 6  Original Android Development] Skripka:
Because you're using a custom DPI...only known ones that work flawlessly on this phone are stock 560, 500, and 460 OTTOMH.

This bug is a problem with Android 5.0.x
[Nexus 6  Original Android Development] rev89:
This was probably answered already and I just didn't use the right keywords to search, but in fastboot I would want to format userdata, correct?

**Never mind, I ended up going through TWRP.
[Nexus 6  Original Android Development] simms22:
heat it will reduce, by several degrees celsius(depending how much you drop voltages). thats what i said lowering voltage is best for.
[Nexus 6  Original Android Development] wrinklefree:
Anyone else having trouble deep sleeping on 1.2?
[Nexus 6  Original Android Development] old_fart:
Nope. . But what is that wake lock app saying about the 'deep sleep' loss ? . You got a good TiB backup ? . Just go for the 'factory reset / reload'. . It doesn't take 'too' long . . .
[Nexus 6  Original Android Development] wrinklefree:
Google play services was the App. I didn't get a chance to dive deeper into the kernel wake locks because I reverted to 1.1 and the issue is gone.
[Nexus 6  Original Android Development] knitler:
Personal experience with v1.1

Stock ROM - decrypted, -50mVm double tap to wake modification from: Here

Charged to 100% @ Noon and went on drive to a family party. Turned off Location/Bluetooth/Wifi. All Google apps actively polling to sync.

Yellow/Red Signal strength (E/H/LTE) the whole way there and back (cow country) no Wifi @ the party.

Took a few photos that auto uploaded, used a website to chat to a few people the whole ride there and back.

Skype and Yahoo Messenger in back ground. Hangouts for a few texts.

Showed off Ok Google to a few people a couple of times.

Got home about 8:30PM

5:05hr SOT

Chrome was higher in Battery stats than my Screen

Still had 38% battery life left.

I was on goal to hit 7+ hours SOT. (I was using about 12.4% for every 1 hour SOT so really I could have expected 8 hours total SOT assuming it stayed on course with that burn rate)

Came home, put my ear buds in, put it on the Wifi/Location./Bluetooth and streamed 8hrs of music while I slept. I woke up, checked my email on my phone, turned off the music (single 20 song playlist on repeat). Still had 10% left.

That 10% with light usage could have almost lasted me the rest of a 24 hour day. I can not be ANY happier with this phone or Imoseyon's work!
[Nexus 6  Original Android Development] battlecrow:
What were your brightness settings?
[Nexus 6  Original Android Development] knitler:
I'm normally 30-50% with auto-brightness on.
[Nexus 6  Original Android Development] warrenis1234:
there seems to be a perfect storm combination of settings that lead to abnormally high battery life, that changes from phone to phone. a few people I see in the forums trickle out showing their >7 hrs sot including myself, and I wonder how many of them are able to recreate the results after flashing new versions of their ROM/kernel.

knitler please report back your results after flashing the next update to this kernel
[Nexus 6  Original Android Development] FuPete:
Puh.

Keep in mind that it is

In the optimal case, you can save up to about 15-20% of battery.

Depends on the phone. I have a LG G3 atm, waiting for my Nexus 6.

Stock Voltage at 300mhz is 775mV (far too high).

610mV is still stable.

610²/775²= 0,635

1-0,635=0,365=36,5%

Means nearly 40% less power consumption when in the 300mhz state. And this is by far the most used one in my LG G3.
[Nexus 6  Original Android Development] old_fart:
Pretty Much Off Topic : What do you use ( play store app ) to validate the device will cooperate with low voltage. . Like in OOP programming there is : try - catch - recover constructs, is there an app that'll do a try - catch ? ? ? . . ( antutu just went from version 5.3 to 5.5 )
[Nexus 6  Original Android Development] badpanda:
To whom ever had random reboots on your stock nexus 6 with stock kernel. I'm happy to report that this kernel fixed it. 5 days going strong without a single random reboot.

Thanks!
[Nexus 6  Original Android Development] FuPete:
Lock the frequency and run a benchmark. Or just look how it operates in everyday use, but some freaks will complain about this "solution".
[Nexus 6  Original Android Development] mscion:
Hi. Is SELinux set to permissive on this kernel? Thanks!
[Nexus 6  Original Android Development] zephiK:
Use https://play.google.com/store/apps/details?id=com.mrbimc.selinux and make it permissive.
[Nexus 6  Original Android Development] mscion:
Ah so that app works on Nexus 6? I actually have a Note Edge and it does not work with it as the instructions say. Was thinking of picking up a Nexus 6 try. Maybe all the more reason to do so!
[Nexus 6  Original Android Development] zephiK:
Yep it works the custom rom I have shows it as enforcing and then to permissive with the app. Viper didn't work on enforcing so I tried that app and it worked.
[Nexus 6  Original Android Development] Imoseyon:
xmas update!

Turns out I use my phone a lot when i'm on vacation. I noticed that you can't go hiking/climbing with the nexus 6 in your pocket. ;) Already dropped it once and cracked the bottom of the screen. :(

Anyway, also noticed a couple of things 1) Selinux policy is a bit broken on stock (which may have been causing random minor issues), and 2) I suspect that there's a memory leak in stock kernel. I tried to address both by tweaking selinux policy and doing a massive update to the SLUB memory allocator to mostly match mainline Linux v3.18.

BTW, I kept selinux enforcing to stay true to stock. You can easily disable it via app or init.d.

v1.3: https://github.com/imoseyon/leanKernel-shamu/wiki/Lollipop-ChangeLog
[Nexus 6  Original Android Development] sykopompos:
Damn, sorry to hear about your n6. I just got mine yesterday and since I do those kinds of activities, thanks for the heads up on that (looks like I might be swapping to my n5 for those types of activities)

What were the selinux issues so I can address them also in frank? I'm gonna be running a dontaudit policy on mine for a bit to get an idea of any hidden denials happening
[Nexus 6  Original Android Development] Imoseyon:
Ah don't have access to my notes at the moment. Check your dmesg (or audit logs) for denies. I think there are a couple of interesting ones there. One of them I think was GPU related. I still need to spend some time to dig into them.
[Nexus 6  Original Android Development] badpanda:
I'm sorry to hear that mate. I know how that is I work outdoors... Best thing is to get a rugged case and tempered glass if you are an outdoor person. Ballistic, supcase... Hope you get it fixed soon.
[Nexus 6  Original Android Development] sykopompos:
I haven't even fastboot unlocked mine yet so it will still have the restricted dmesg.

I normally keep up with new gerrit commits on the device and sepolicy for aosp and cherry pick them unless it is something that will block root.

There has been a bunch of new sepolicy commits and I'm pretty sure a couple where GPU related
[Nexus 6  Original Android Development] sykopompos:
I've been case shopping for the past week and what sucks is case selection is really slim so far and most have small nagging issues with them out right now
[Nexus 6  Original Android Development] badpanda:
I know... Not too many choices.

I ordered from amazon the tempered glass screen protector from jelly comb and the rugged case unicorn beetle from supcase in black. I'm very please with both. I dropped it a couple of times and not even a scratch on the case.

Anyway I don't want to go off topic so check the options online or on the general thread here in XDA. Have fun mate.
[Nexus 6  Original Android Development] saddog5523:
I'm going to play around with undervolting. What's the best way to test? Antutu?
[Nexus 6  Original Android Development] wrinklefree:
Sorry to hear about your N6. Just posted a donation to help out with a replacement. :)
[Nexus 6  Original Android Development] jackpollard:
Dang brother, sorry to hear that. After all the great work you do for us on LK, it was also my pleasure to send a donation, hopefully towards a new N6.
[Nexus 6  Original Android Development] Cheater912:
Where can I donate?!?
[Nexus 6  Original Android Development] jackpollard:
Hit the "Donate To Me" yellow button on the left under his name. It will take you to paypal.
[Nexus 6  Original Android Development] wrinklefree:
First page on the left underneath the OP profile.
[Nexus 6  Original Android Development] knitler:
You can use that. Personally I play the most intensive games I play for about 30-45min.

I find benchmarks will crash when my actual usage does not. As I use my phone and don't benchmark it all day I prefer my way of testing more than benchmarks.
[Nexus 6  Original Android Development] Cheater912:
Thanks, I'm on Tapatalk so I couldn't see it.
[Nexus 6  Original Android Development] saddog5523:
I'm using trickster, and I undervolted everything by 50. I used it for part of a day just fine and then decided to try Antutus stability test. It rebooted at around 14%. Scared me a bit. I don't play any hardcore games. The most resource intensive would be Clash of Clans lol. So I'd like to squeeze out a bit more battery life if I could.
[Nexus 6  Original Android Development] knitler:
Yeah I can use my phone fine at -75, I can game [Hearthstone] at -60, and i cant run that benchmark unless I am only -25.

I run at -60 daily and never have any real issues.
[Nexus 6  Original Android Development] matrox00612:
Hi. Imoseyon

First Donation for new Nexus 6 Phone 3K687042XK089132E.

Merry Christmas, Guys lets make a better Christmas day.

Matrox00612
[Nexus 6  Original Android Development] saddog5523:
I'll try to keep bumping down. I'm sitting at -25 right now, may try -75 since I was running -50 fine before my reboot during the Antutu stability test. Strange that it failed so quickly. I have a 9 out of 15, so I figure I can push it a little bit.
[Nexus 6  Original Android Development] knitler:
I'm just a 5.
[Nexus 6  Original Android Development] Cheater912:
I'm fine at -60. I have a 1 lol
[Nexus 6  Original Android Development] saddog5523:
I was typing a response back on here at -75 and had a reboot, so I guess that's a sign that I have it too low. :p -60 right now like most on here I've seen. Maybe that will stick just fine. And I guess I should be grateful for the 9 I was given haha. I just wonder how much of a difference 1-15 makes. Doesn't seem like that big of a deal.
[Nexus 6  Original Android Development] Damon13:
Hello and Merry Christmas to all, I am pretty new to the Android community. I have a question and please excuse my ignorance but I would like to flash a Lean kernel and was wondering if the new v1.3 is UC for better battery life. I also see that he has version v1.3 Oc Uc as well. Thanks and also where do I donate, its a shame about his phone.
[Nexus 6  Original Android Development] simms22:
its not. it just shows you the voltage table for your device, thats all. everything else about it is just made up by people, for their own beliefs.
[Nexus 6  Original Android Development] oak:
Kernel's great. I'm in for 5 toward the cracked screen. 7R49858980954330P
[Nexus 6  Original Android Development] Imoseyon:
Wow no worries guys and thanks. The phone is fine, just a small crack on the bottom. I'm keeping it. :)
[Nexus 6  Original Android Development] nexicon:
So I have 1.2 set up with mpdecision off. I've enabled my custom kernel settings this way. Is that ok? Do I still need to disable cpu_boost? And should I now install the patched mpdecision kernel or just the plain Jane 1.3?
[Nexus 6  Original Android Development] sabbotage:
Just curious what app most people are using to tweak kernel settings?
[Nexus 6  Original Android Development] codygs83:
Trickster for me
[Nexus 6  Original Android Development] zetsumeikuro:
I feel like a stalker... Flashing lean kernel since the T-Bolt days haha. Can't deny it's the best!
[Nexus 6  Original Android Development] michmeister:
I just flashed this and it encrypted my phone and lost cellular service
[Nexus 6  Original Android Development] Zenzr:
I flashed it as well, and am still unecrypted along with cell service being 100% just fine. Maybe try flashing it again?
[Nexus 6  Original Android Development] lainemac:
I was just watching a YouTube video and got a random reboot. On stock rooted rom with 1.3. Can someone tell me what the command is to pull a log. Or would that even be relevant? Also, is it recommended to leave mpdecision on?
[Nexus 6  Original Android Development] warrenis1234:
if the issue continues, get the lollipop radio from the nexus 6 general forum and flash via fastboot or using the wugfresh toolkit
[Nexus 6  Original Android Development] eep2378:
If you have BBS(better battery stats) then you can pull a log right from within the app after a random reboot. If you flash the no-mpdecision zip then leave it on. If you didn't you can disable it with trickster, terminal command, etc. If you leave it on, and try to lower you min freq, be aware that it won't stick.
[Nexus 6  Original Android Development] Imoseyon:
I also got a random reboot (for the first time ever on my kernel) with the google maps navigation on and listening to google music in the car. I cannot reproduce the issue any more and the console logs were empty. BTW, you can pull the console logs from /sys/fs/pstore - the files in there replaced /proc/last_kmsg.

It could be due to the SLUB updates which I considered to be somewhat experimental anyway. If the reboots are new to you on v1.3 (and you've been on leankernel for some time without reboots) please report it here. I might revert at least some of the SLUB stuff in v1.4 if that is the case.