yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Farva0412:
Does anyone who have been getting Killer battery, have recomended kernel settings? are you using trickster or Kcontrol to manage your kernel?
[Nexus 5 Original Android Development] carlese:
This kernel is awesome.. One thing I noticed is that it drains more than franco overnight (2% vs 4% for 8 hours circa).. If you have time have a look into that.. Btw performance are great ad well as battery drain :D
[Nexus 5 Original Android Development] show-p1984:
It depends on a lot of factors how much power your device uses over night. (Cellular signal, wifi signal, apps running, push notifications you got like gmail or g+ or whatsapp or or or...)

Nevertheless, I am working on several wakeup hacks. They have brought down power consumption over ~8 hours to ~1% consistently over 4-5 nights till now.

They are far from ready, so don't expect to see them soon. (There are issues with push notifications on cellular atm)
[Nexus 5 Original Android Development] IharpI:
I use CM11. I compiled it myself with direct integration of this kernel.

Thanks to show-p who helped me a lot with this!

Runs really great so for. Stable and Fast.

I can not say much about battery yet as i had the phone often on my PC during weekend for debugging and such which charges ofc.

In general i think all these battery comparisions where you took only one or two days are not saying pretty much.

If you played a game on the one day and the other day you only read some mails make this comparison really worthless...

But i think there are some wifi patches out there which have the potential to reduce power draw on idle.
[Nexus 5 Original Android Development] Nickamina:
Been on this kernel for a week now (always latest stable) - loving it. Thanks for such a great kernel. Only problem I've noticed that's started to become a bit of an annoyance is some sound glitching/distortion when listening to high-bitrate audio like 700kbps+ VBR AAC's / FLAC files when the screen's off. It only lasts for a second but it's still a bit annoying. Seems to happen at random times during tracks. Didn't have this issue on the stock kernel.

I found this in franco's thread:

Could something like this help maybe? Cheers
[Nexus 5 Original Android Development] DevShaft:
That's not needed when coming from stock kernel. When coming from another kernel read first post (which you should have done already).
[Nexus 5 Original Android Development] ChongoDroid:
17 stable is very stable for me.. great balance of power and battery life. I'm OCd all day and still getting roughly 3.5 hours screen on
[Nexus 5 Original Android Development] nisha86ge:
mic volume

Hi, did u do anything to improve the volume during the calls? each time i call someone they always repeat that they not hear me loud enough
[Nexus 5 Original Android Development] bradputt:
Hi show p

Does your k control app have and sound control?

Currently I'm using trickster mod app but it doesn't have any sound settings.

If yours works I'll gladly buy it.
[Nexus 5 Original Android Development] akaHardison:
No sound control at all.It doesn't have faux's blahblahblah

---------- Post added at 11:34 PM ---------- Previous post was at 11:15 PM ----------

Question:How to enable fast charge.

Only 500ma when plug in computer.
[Nexus 5 Original Android Development] marc0902:
Will You update The kernel to 5.1 sources ? I like your kernel...
[Nexus 5 Original Android Development] show-p1984:
5.1 incoming --> 20150315_194523_exp-b254226

http://bricked.de/index.html#down
[Nexus 5 Original Android Development] marc0902:
Thank You very much for updating. I have read that overclocking the GPU is fake so far. In other words its just not working for our devices. If i overclock with kcontrol it is also not working ?

Your kernel runs very good...
[Nexus 5 Original Android Development] Dr.Pepper:
Simple placebo effect
[Nexus 5 Original Android Development] russian392:
Have a few requests.

Fiops io scheduler

Westwood TCP control

Zram compression

A few more CPU governors to play with (smartass v2 and such)

GPU idle 27mhz

Max screen off frequency

great kernel, runs smooth and I love the hot plug customizing I can do with synapse!

Great work
[Nexus 5 Original Android Development] show-p1984:
Fiops io scheduler -> sure

Westwood TCP control -> sure

Zram compression -> should be supported. Not at home so can't check. But it's also useless. We have more than enough ram, zram would actually increase overhead, CPU and battery usage. EDIT: Not supported. Still in staging on current android linux kernel version.

A few more CPU governors to play with (smartass v2 and such) -> nope

GPU idle 27mhz -> nope. The GPU shuts down completely when it's idle (called napping) so there is literally close to no point in this change)

Max screen off frequency -> nope. This interferes heavily with some apps doing stuff with screen off (for example a car video cam) and also lollipops features that allow app developers to schedule some tasks at a later point, eg: sync, upload/download, enhancing photo/video effects, etc etc...
[Nexus 5 Original Android Development] russian392:
Wow thanks for the great reply (most devs don't bother).

Zram to fix the ram leak (in synapse it could be enabled but usually disabled on kernels by default)

I use max screen off on elemental x, haven't had any issues with the new hot plug (2 cores on at all times).

I have an issue with the min frequency sticking due to touch boost constantly changing it and locking it at like 900mhz
[Nexus 5 Original Android Development] show-p1984:
That issue is because of crappy oc apps. Don't use them and you will be fine.

KControl is an example of how to handle cpu frequencies the right way, albeit, atm not very esthetically pleasing. (The current beta will take care of that)
[Nexus 5 Original Android Development] russian392:
I use UKM with synapse. So that's not the issue. Ukm works on all devices really with no bugs.
[Nexus 5 Original Android Development] show-p1984:
Well something gets your min frequency stuck. I have discovered that over 80% of so called "CPU/Kernel control" apps are so badly written that they either inadvertently

set the current min freq as scaling_min_freq while observing the CPU undergo normal frequency changes

or just care about CPU core 0. Or both. Usually both.

My min frequency never got stuck to touchboost frequencies, so something must be causing this issue for you.

However I can still change my min freq in KControl, without disabling touch boost first. (and KControl also doesn't disable touch boost covertly) The kernel will detect min freq changes and apply them accordingly. See @ https://github.com/showp1984/bricked-hammerhead/blob/master/arch/arm/mach-msm/msm_mpdecision.c#L375
[Nexus 5 Original Android Development] shri_chanakya:
Using trickster for controlling minimum frequency never got stuck to touch body.

Switch to some other app and try.
[Nexus 5 Original Android Development] russian392:
Then you obviously haven't heard of ukm or universal kernel manager script. Look it up its on XDA and is the most reliable one out there. You flash it into your ROM and it reads all kernel parameters on boot and hands them off to synapse which is an app capable of reading the script.

I'm shocked you haven't heard of it.

---------- Post added at 01:08 PM ---------- Previous post was at 01:07 PM ----------

Here's the link http://xdaforums.com/showthread.php?t=2736986
[Nexus 5 Original Android Development] show-p1984:
Why are you shocked? Am I supposed to know every script, app, hack, library and idea out there? :rolleyes:

Why haven't I

obviously

not heard of it?

How come it's the most reliable? (we've just uncovered evidence to the contrary :cool:)

Anyway, if KControl sets CPU min without an issue and ukm/synapse don't then Occam's razor tells me that it isn't a kernel issue.
[Nexus 5 Original Android Development] russian392:
Intwesting theory. Luckily I bought kcontrol back before I found UKM
[Nexus 5 Original Android Development] shri_chanakya:
check out uber kernel. Has all the features you requested except for smartass I guess.

The kernel probably has taken features from bricked too.
[Nexus 5 Original Android Development] morfances:
support for 5.1?
[Nexus 5 Original Android Development] show-p1984:
https://git.bricked.de/bricked/hamm...a4...91415f7bbb07203c810bd8bec14be15488d2f205
[Nexus 5 Original Android Development] hodragon:
I can't browse the site from my PC with Firefox.

From my mobile it seems to work, but I can't zoom in/out the page.

Is this normal?
[Nexus 5 Original Android Development] shri_chanakya:
try starting firefox in safe mode. one of your addon is creating issue.
[Nexus 5 Original Android Development] californicated:
Stable update on 23.03. and nobody mentions it? ;)
[Nexus 5 Original Android Development] fix-this!:
will this kernel work on the cataclysm google rom? also the site seems to be down for download.
[Nexus 5 Original Android Development] show-p1984:
The site is not down (for download or anything else) and I have no idea what the "cataclysm google rom" is.
[Nexus 5 Original Android Development] fix-this!:
http://xdaforums.com/google-nexus-5/orig-development/rom-cataclysm-nexus-5-t2518660

its based on stock . and im trying to download but your download page is blank, on my end.
[Nexus 5 Original Android Development] jwhyte:
Yes. Cataclysm is stock based.
[Nexus 5 Original Android Development] CrashOverride1995:
I flashed it on 5.1 LMY47I but kernel doesn't change...

Gets flashed without any error in TWRP but can't see it in Settings and Kcontrol App.
[Nexus 5 Original Android Development] show-p1984:
Which version?

I just tested the 20150315_194523_exp-b254226 beta & the 20150323_084642_master-91415f7 stable. Both work fine.
[Nexus 5 Original Android Development] CrashOverride1995:
I flashed it using TWRP v2.7.5.2 but TWRP v2.8.6.0 doesn't seem to work with the zip.

I got it working after flashing with TWRP v2.7.5.2.

Thanks.
[Nexus 5 Original Android Development] Citizen_Snips:
Official 2.8.6.0 for hammerhead is broken from what I've heard. Didn't include busybox. There was a fixed version in the TWRP Materialized theme thread. Now 2.8.6.1 is out which I assume fixed busybox. Haven't checked the changelog myself yet, just saw it updated.
[Nexus 5 Original Android Development] californicated:
It's so quiet in this thread, that I must give some feedback. Latest release is stable and smooth as always, getting the best battery life out of the kernels I tested. It's the same with every Android release: I'm trying stock for a few days and then some custom kernels, but will always come back to bricked kernel. I appreciate your work show-p1984 :fingers-crossed:
[Nexus 5 Original Android Development] Notechis:
Blazing fast ;) and rocking stable. 1 st time for me

Cataclysm + Elemental X
[Nexus 5 Original Android Development] solfly7:
Im sure of the last stable kk version. Im on DU 4.4.4. but cant tell from the dates on the downliad page which ones are for kk and when they merged to lolipop. Can someone point me in the right direction please?
[Nexus 5 Original Android Development] californicated:
No guarantee, but it looks like it was stable 20140708
[Nexus 5 Original Android Development] Notechis:
Freakin stable after a few days.... Performance is stunning

Bricked Cataclysm
[Nexus 5 Original Android Development] solfly7:
But the november version syill KK? Or is that a lolipop kernel?
[Nexus 5 Original Android Development] show-p1984:
last kitkat beta is 20140605_083038_exp-9bcd40e

last kitkat stable is 20140708_180811_master-e147f0e
[Nexus 5 Original Android Development] FlyinGrub:
from the main post :
[Nexus 5 Original Android Development] Tylog:
Edit

Delete, i was to slow xD old people need more time.
[Nexus 5 Original Android Development] efan3719:
can't figure out how to make s2s only work. even when applying the settings via echo sweep2wake is sort of active. ie, sweep2wake wont actually wake the screen but when i had phone and camera as lock screen short cuts and do sweep2wake then wake the screen with some other method, the device goes straight to the app. only way i made it stop was to remove the lockscreen short cuts.
[Nexus 5 Original Android Development] show-p1984:
I didn't quite get your issue.

What exactly did you do?

What were you trying to achieve?

What happened instead?
[Nexus 5 Original Android Development] efan3719:
sorry. i'll try to explain better.

>What exactly did you do?

I tried to enable s2s only via trickster mod and it kept automatically switch it to either off or s2w+s2s. so i tried to set it manually using terminal.

>What were you trying to achieve?

I wanted the s2s option enabled, with no s2w, instead using dt2w.

>What happened instead?

After i manually set s2s only the device would successfully s2s. When trying to s2w the screen wouldn't turn on, which is correct because it was disabled. But it seems as though the lock screen still reacted to my touches and when i did actually wake the screen it would go to whatever shortcut i had swiped to.

so, swipe left, screen doesn't wake = good. wake screen using any other method, left lock screen shortcut (dialer) is what i unlock to. so even though the screen didnt wake with s2w it seems like device was still registering my touches and launched the app without waking the screen.
[Nexus 5 Original Android Development] show-p1984:
You successfully circumvented s2s. Congrats. :)

If you take a look at KControl, the s2s checkbox is called "Sweep2Sleep

only

" and KControl will automagically enable Sweep2Wake if you tick that checkbox. This is intended. Because for something to only work for sleep, you have to enable the whole deal.

So: Sweep2Wake enables wake & sleep, since that is the common understanding for what that term does. "Sweep2Sleep only" will override Sweep2Wake and only allow S2S.

Hence you will need to echo a 1 to both, Sweep2Wake and Sweep2Sleep only.

(or use KControl, or Trickster, which behaves correctly)
[Nexus 5 Original Android Development] lmulli:
I noticed that you had updated the Flo kernel, any chance the Nexus 5 might be getting an update too? Thanks.
[Nexus 5 Original Android Development] show-p1984:
Hammerhead is up2date with Google sources.
[Nexus 5 Original Android Development] Notechis:
Never change a running system ;) This kernel works... No need for nightlys ... Flash it and forget the rest

God hates us all
[Nexus 5 Original Android Development] Emilius:
M?
[Nexus 5 Original Android Development] show-p1984:
N!
[Nexus 5 Original Android Development] Dr.Pepper:
W?
[Nexus 5 Original Android Development] Emilius:
+1
[Nexus 5 Original Android Development] jordan.harris01:
Just a quick question, I'd love to try out this kernel as my first but will it run fine without much modifying to begin with? Or is there some place to find the best values to set? Any help is appreciated.
[Nexus 5 Original Android Development] show-p1984:
The default settings should be more than sufficient for most users. Everyone else can either tune it over sysfs, or through kernel control apps, like my KControl.
[Nexus 5 Original Android Development] ursubpar:
Been a user of your kernels since the sensation days. Love the way it works on the nexus. :) Flash it, then forget it. Nothing to mess around with.
[Nexus 5 Original Android Development] jordan.harris01:
Does the kernel have anything to do with how active brightness functions? Pardon my ignorance.
[Nexus 5 Original Android Development] show-p1984:
What is "active brightness"?

The kernel has a lot of influence on brightness levels (what level of light causes how much background illumination of the display), adaptive brightness however is partly controlled by android as well.
[Nexus 5 Original Android Development] jordan.harris01:
I did mean adaptive brightness, yes. I've just noticed that the brightness levels change far too drastically now that I'm on this kernel. No big deal, I just switched that off. The kernel is great so far! Really appreciate all of the work you've put in to it.
[Nexus 5 Original Android Development] show-p1984:
That's not possible. The only thing I changed brightness wise is to lower minimum brightness in absolute darkness and very low light environments.

These changes smooth out the brightness curve at the lower end.
[Nexus 5 Original Android Development] solfly7:
Just curious if I can still use your kernel with the new H bootloader for 5.1.1?

Running blisspop 3.5...
[Nexus 5 Original Android Development] Curiousn00b:
Adaptive Brightness really bugs me, so I disabled it. Sometimes, I guess it selects one specific brightness level, so sliding the brightness slider back and fourth has no effect on the screen. Unless it's just a bug in facing with a ROM.
[Nexus 5 Original Android Development] Pajaro_Azul:
Does this work for 5.1.1 lollipop?

Does it work on all roms?

Cheers!
[Nexus 5 Original Android Development] shri_chanakya:
yes it works.

---------- Post added at 01:41 PM ---------- Previous post was at 01:39 PM ----------

i have run it on omni (maintainer's build), Cataclys (May-21 beta). It works without any issues.
[Nexus 5 Original Android Development] imneveral0ne:
Faux
[Nexus 5 Original Android Development] Pajaro_Azul:
Android M, here I come!

Wow, thanks. I'm thinking on going over the board and testing it on Android M... wish me luck! :D
[Nexus 5 Original Android Development] shri_chanakya:
Doubt it will work with M. Might loose root too. Best of Luck...
[Nexus 5 Original Android Development] Pajaro_Azul:
[UPDATE] Bootloop with android M

I did flash it, though it bootlooped. I belive that maybe the following process will work. Unfortunately I don't have the time, maybe till next weekend:

a clean install,

boot up with stock kernel,

set up,

flash custom recovery,

flash kernel,

wipe cache and/or data

Boot(?)

It has worked before with other kernels, maybe with this one also
[Nexus 5 Original Android Development] shri_chanakya:
Kernel doesn't work with Android M. I wouldn't waste my time flashing in M till it gets updated to have M support.

The steps you listed are correct though.
[Nexus 5 Original Android Development] lmulli:
I'm using the M Preview as my daily driver with no issues whatsoever. I would suggest either sticking with the default kernel or trying one of the numerous other kernels available for this device that support M. I certainly wouldn't advise you that it's a waste of time flashing M because ShowP hasn't created a kernel for it yet!
[Nexus 5 Original Android Development] rand0m_insanity:
Is there a way to only activate d2w when charging or automatically disable it after a certain timeout on this kernel? Leaving d2w on is horrible for my battery. :(
[Nexus 5 Original Android Development] bo0gietrain:
You can change most of the kernel settings with a shell command right? Tasker should be able to identify when your phone is charging and enable d2w for you.
[Nexus 5 Original Android Development] OhDae-su:
[MENTION=4195844]show-p1984[/MENTION]

Can it be?! Am seeing an update on your website! ;)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] show-p1984:
If you see one, then it can be. It is. It has to be. Otherwise someone broke the universe, which would have adverse side effects.
[Nexus 5 Original Android Development] OhDae-su:
...phone boots, no time shifts, still crab on TV - so universe is intact and update is real.

Thanks show-p!

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] show-p1984:
That will change in January. The 100 S3!

Warning, SPOILER

Clarke as a grounder incoming! :)
[Nexus 5 Original Android Development] OhDae-su:
The 100?! Thought you would be more likely one of the Bosch type of guys. Just kd. So, the 100 is worth to watch?!

Bc Bosch is! The best I've seen lately.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] shri_chanakya:
thanks for the update. since hells moved to mako was looking for kernel with show-p1984's implementation of mpdecision. Going to give it a try. Thanks.
[Nexus 5 Original Android Development] parkson:
I see a 9-15 beta and also master. What are the differences in the two?
[Nexus 5 Original Android Development] J_Whit85:
Beta is obviously beta and master is stable version
[Nexus 5 Original Android Development] parkson:
How constructive and helpful. Proud?
[Nexus 5 Original Android Development] J_Whit85:
No sarcasm was meant, just answering your question
[Nexus 5 Original Android Development] show-p1984:
Haven't seen Bosch. It's not yet on my track... ehhh, I didn't buy it yet.. *coughs*

(and German Amazon Prime doesn't get you American Amazon Prime, which blows.)

They are currently the same.

The beta was tested by myself and a few others and pushed to stable so I can throw out a M beta soon(tm). (that's why they are currently the same, I just needed the exp branch :) )

You can check this yourself with a simple compare on github:

https://github.com/showp1984/bricked-hammerhead/compare/0f78550...a3284b7
[Nexus 5 Original Android Development] shri_chanakya:
Any plans for android M?
[Nexus 5 Original Android Development] show-p1984:
I did not yet get around to flashing m on my n5. It is planned for tomorrow.
[Nexus 5 Original Android Development] shri_chanakya:
Early waiting for beta kernel...:)
[Nexus 5 Original Android Development] show-p1984:
either tomorrow or at the weekend. Had to work last weekend. :(
[Nexus 5 Original Android Development] Overdose1986:
Can I flash it on stock android 6.0?
[Nexus 5 Original Android Development] show-p1984:
The soon-to-be-beta, yes. The stable: No. It's for lollipop atm.
[Nexus 5 Original Android Development] show-p1984:
The MM beta is building now --> http://jenkins.bricked.de/job/bricked-hammerhead/19/console

Caution: (!!!BETA!!!)

I haven't tested it yet, as my Nexus 5 is still flashing / updating / syncing / needs root / twrp / etc...

Works.

shell@hammerhead:/ $ uname -a
Linux localhost 3.4.0-bricked-hammerhead-exp-g81ead37 #1 SMP PREEMPT Fri Oct 30 16:52:23 CET 2015 armv7l
[Nexus 5 Original Android Development] shri_chanakya:
Latest beta working good.

On cataclysm ..root and everything works.

Only issue I'm facing is none of my previous kernel setting app like trickster or kernel adiutor are working. Might need to go command-line.
[Nexus 5 Original Android Development] rachanta:
Kcontrol the best app for this kernel and it also supports the developer.
[Nexus 5 Original Android Development] show-p1984:
MM beta is now being pushed to stable.

Happy flashing.
[Nexus 5 Original Android Development] lmulli:
Used it since it was released. About ready for an update though I think! (about a year since last updated)
[Nexus 5 Original Android Development] show-p1984:
The next update will be a full rewrite, which is why it's properly tested. :)

And there is no rush, the "old" app still works flawless.
[Nexus 5 Original Android Development] lmulli:
It works okay, however, on the two devices that I use it (Nexus 5 and Nexus 7) both running Marshmallow, under the Scheduler section I have around 25 schedulers listed, all of which are set to None and from the drop down selection there is nothing to select, so it's not quite flawless. Image attached.
[Nexus 5 Original Android Development] show-p1984:
I don't see that on neither my Nexus 5 (hammerhead) nor Nexus 7 2013 (flo). So how should I have fixed it without someone reporting it?

In an effort to fix this:

What kernel are you running?

What root type? (systemless root by any chance?)

What rom? (Stock? cm? some aosp clone?)

KControl version?
[Nexus 5 Original Android Development] lmulli:
Kernel on both devices is your latest. (Hammerhead and Flo)

Root - normal Supersu 2.52, not the new systemless method.

Rom - Flo is Mohammed Rom v1.3 (based on stock) and for Hammerhead it is xTraSmooth (latest, also based on stock)

Kcontrol on both devices is 1.9.8.1

Scheduler is picked up fine in other kernel control apps. Its certainly not an issue for me, only reason I mentioned it was in reply to your post.

Thanks.