yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] marleyfan61:
Hi. After reading so many people raving about your kernel I thought I'd give it a try. I also downloaded KControl. In the KControl compatibility test my sound control color control both failed. Is this normal? If not what could be causing it? I'm on stock rom rooted and using TWRP. Thanks.
[Nexus 5 Original Android Development] WTFD4V1D:
Try downloading Root Browser, go to /sys then android_touch, right click sweep2wake, and change permissions so that all of read and execute are checked and only owner is checked for write. Then download terminal emulator, and type in "echo 1 > /sys/android_touch/sweep2wake" (without the quotes). It should work then.
[Nexus 5 Original Android Development] Sayan1987:
Just did a data wipe, installed new rom(cataclysm) and bricked kernel.

With trickster control i found 960000 to be min default, while in op it says it' should be 300000.

Is it normal? Probably

I'm getting kcontrol anyway to support your awesome work, but just to know...
[Nexus 5 Original Android Development] WTFD4V1D:
What app are you using to control all of this?
[Nexus 5 Original Android Development] DevShaft:
Yes that's normal. For more info on this, please read and search the thread a bit more...put some effort in before requesting effort ;).
[Nexus 5 Original Android Development] erpalma:
Kcontrol
[Nexus 5 Original Android Development] noonecanhide:
I tried a lot now to get bricked kernel running on cm11-unofficial, but i can't get it working - stuck in a bootloop before the cm boot animation.

do i have to flash the stock kernel image ?

CWM 6.0.4.5, cache wipe -> bootloop
[Nexus 5 Original Android Development] olus:
try twrp! i have cm11 and bricked worked just fine. why wipe cache? i dont wipe anything when flashing kernels!
[Nexus 5 Original Android Development] Sayan1987:
Volume boost flashable zip is compatible with bricked or can cause some issues?
[Nexus 5 Original Android Development] Deegan87:
Make a backup and test it so you can report back.
[Nexus 5 Original Android Development] Sayan1987:
Already did, i didnt' flash the zip, i changed manually the values as developer said, it's just an xml file, so it's all good.

I want to ask another question, with kcontrol i found gpu default freq set to 450, i switch to 320 and set it to apply on boot, but when i restart phone it goes back to 450, bug?
[Nexus 5 Original Android Development] assasin34:
flashed on droid kang but it always loops..
[Nexus 5 Original Android Development] rockingondrums:
I believe you and I need a CAF kernel which I am also trying to hunt down
[Nexus 5 Original Android Development] PippoX3:
Strange, I was able to boot on DroidKang with Bricked and ElementalX too...
[Nexus 5 Original Android Development] corwinmortac:
Have to say I'm loving the battery time I'm seeing on this kernel.

SlimRom

Bricked OC and UV

Screen at around 20%
[Nexus 5 Original Android Development] edisepic:
I'm using Droid Kang with latest beta no problems here
[Nexus 5 Original Android Development] fradbari:
Fleshed on stock firmware, all works well :D

I'm waiting 3days after battery stats

doubletap2wake doesn't works always... is only my problem?

Inviato dal mio Nexus 7 con Tapatalk 4
[Nexus 5 Original Android Development] coyote968:
Use the Kcontrol ...tap on the K (top left) released a menu, there you will find the option to activate doubletap.
[Nexus 5 Original Android Development] Nickamina:
You can't show stats like that and not share your kernel settings! That's just teasing. :)
[Nexus 5 Original Android Development] fradbari:
Thanks, so there are differences to enable slide2wake or knock between changing manually the parameters or with Kcontrol?!

Inviato dal mio Nexus 7 con Tapatalk 4
[Nexus 5 Original Android Development] DamBadz:
Sorry for asking but I had to enable double tab to wake every time I reboot? Thx guys
[Nexus 5 Original Android Development] Nickamina:
Do you mean "sorry for asking" or do you actually mean "sorry I can't be bothered to search"?

Read the thread. This has been answered.
[Nexus 5 Original Android Development] DamBadz:
Thx for reply mate my English is not so good so sorry for that I juz loss the way and don't know where to start and I try to search with XDA app and noting is show up if you know the way plz show me
[Nexus 5 Original Android Development] Nickamina:
PM'd you. Let's not clutter this thread any further. When we've found a solution, please edit your original post to include it so that others may learn.

Cheers
[Nexus 5 Original Android Development] olus:
use trickster mod app to activate d2w. there you can "set on boot"!
[Nexus 5 Original Android Development] flameinthefire:
Love your kernel!!! The latest beta I have is from the 25th I was just wondering are these built nightly? Also is it possible to include the franco's color In the next build?
[Nexus 5 Original Android Development] corwinmortac:
Im oc'd up one step on 2 cores, running stock on the other two cores.
[Nexus 5 Original Android Development] jdiddy_ub:
I flashed this yesterday..great kernel..question...my battery was dropping like 4%/hr while idle..I had tap to wake on..is that normal?

Tap to wake is nice but certainly not worth that kind of battery drain

What kind of battery are you guys seeing while your phone is in deep sleep..mine used to be like 1% on stock kernel..I turned off tap to wake..hope it will be better
[Nexus 5 Original Android Development] lomniom:
Yes, it's normal.
[Nexus 5 Original Android Development] Alfonso87:
We should wait for some new skill from showp to be able to use the dt2w!

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] Sayan1987:
Guys i got a really strange issue, i can't charge my phone while power off anymore!

I mean, i power off phone, plug the charger, the battery icon appear, then it should start the battery animation that goes up and down meaning it's charging, but this animation doesn't come anymore and instead the phone starts.

The phone charges ok, but so i can't power it off.

Is it kernel related??

Didn't happen to me on stock..
[Nexus 5 Original Android Development] fradbari:
Hi,

why when i set 1 on /sys/android_touch/sweep2wake or /sys/android_touch/doubletap2wake, after some times (also when restart) it return to default settings??
[Nexus 5 Original Android Development] coyote968:
I managed to have him standing with the Kcontrol application.. ;)
[Nexus 5 Original Android Development] george241312:
Yes it is kernel related its called LPM mode working on mine though using the 25th stable
[Nexus 5 Original Android Development] Sayan1987:
How can it be disabled?

I don't find any option to do it in kcontrol..
[Nexus 5 Original Android Development] fradbari:
:(

I must pay for Kcontrol....

But this kernel control application works on all the kernel?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] coyote968:
I do not know to tell you if you can use it with other kernels.I have not tried ...someone will say or show-p1984
[Nexus 5 Original Android Development] OptimusVDarwin:
Very curious what ur setup is.. ROM, kernel, governor, scheduler if you don't mind?
[Nexus 5 Original Android Development] nicob:
Yay! 3 days and 28% left with some undervolting (-75 mV overall, and did some optimizing on the lower frequencies, all stable) and ondemand powersave_bias to 220 and ondemand base & sync freq to 96 mhz. No underclocking!
[Nexus 5 Original Android Development] FlolB:
ähm... When I shut down my device, the battery lasts forever. :D

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Ajseter:
Can You make it as a Module for Xposed, by doing this All phone users can Enjoy this great feature
[Nexus 5 Original Android Development] Alfonso87:
Umh...useful: 350€ to stop a door...or better, as a paperweight!
[Nexus 5 Original Android Development] erpalma:
I wrote my config a few post after that. I have this kernel and cataclysm rom.
[Nexus 5 Original Android Development] Phazmos:
You don't have to change any settings to get that that kind of battery life when the device isn't being used.

PS - how do you know it's stable if you didn't use it?

Not to be a pain, but one must wonder the significance of these numbers. They are great, but who fires up a device and let's it sit for 3+ days without using it? I can't go 10 minutes without doing something on it (but I'm unemployed so I don't have anything better to do!).
[Nexus 5 Original Android Development] fbf2201:
And 1 minute screen on?

What do you have your phone for?
[Nexus 5 Original Android Development] Remoteconcern:
Calm down everyone. Idle battery usage is important, and people's needs vary. Good to hear the idle life is great.

Showp, is the minimum brightness adjusted on this kernel? Thanks .
[Nexus 5 Original Android Development] IharpI:
But this is the wrong thread for such screens.

The kernel/governor has no influence if the device is in deep sleep.

A rom or the apps might influence wake locks but the kernel really has a small impact on that.

No, all default in stock bricked kernel.
[Nexus 5 Original Android Development] fradbari:
I'm the only one that on stand by mode have a 2%/hour battery drain?!

Inviato dal mio Nexus 7 con Tapatalk 4
[Nexus 5 Original Android Development] rogem_kk:
No, BUT it all depends on your widgets, live wallpapers, etc... Untouched stock will go almost 4 days if you don't touch it.

The standby battery stats are as useful as benchmarks.

I am a light user (20 min calls, 5-10 texts, 30-40 emails, 2+ hours screen, some light games, BT, GPS, Wi-Fi always on). My phone lasts about 30 hours. Can't complain.
[Nexus 5 Original Android Development] fradbari:
I'm old user, I've tested lot of kernel, rom, etc...

Seams that this kernel (3days and battery calibration, 2 flash of this kernel), with my stock firmware have an accessive battery drain...

No widget, no intensive use o background process

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] mandaman2k:
Hey all,

First of all thanks to the dev for his hard work on the kernel.

I just have a quick question, I'm on stock rooted rom, I've been using trickstermod for monitoring the CPU States.

On the stock kernel, when the phone is with the screen on and only trickster opened, usually core 3 and 4 where hotplugged to offline state. On this kernel they are always on running at 960mhz.

Any idea why is this? Does it affect a lot battery drain and please correct if I'm wrong, I imagine when screen is off unused cores do go offline?

Thanks in advanced for your time

Cheers
[Nexus 5 Original Android Development] nicob:
I am not sure why I get this kind of reactions. Without optimisations the most you get out if this phone is 2 days and 2 or 3 hours.

I really didn’t left my phone in a corner to get these result. Yes, I don’t check my screen every ten minutes and yes, I am a light user. I have a work mobile, a work and home tablet, but that doesn't mean I don't use my phone. My screen on time is definitely more than 1 minute.

I know that my phone is stable because stress tested the settings before I charged it the last time. I also don’t think this is the wrong thread for such screens as it clearly shows you can let the governor make more use of the non-stock lower frequencies, undervolt lower frequencies as much as -200mV. I think this can help people. Also, 90% deep sleep also means more than 7 hours on higher mhz.
[Nexus 5 Original Android Development] J000rg:
[MENTION=4195844]show-p1984[/MENTION]

Since you just have released the stable KitKat Bricked Version for Nexus 4 with that new optimised s2w/dt2w method, which fixed unresponsive screen-egdes and so on..you wrote, that you "updated to Kitkat with all backports from [your] hammerhead work".

Can I assume, that the latest Nexus 5 Bricked Kernel already has this optimisations?

I'm asking, since the latest N5 Bricked Kernel is from 25th of november...

btw: are you german? If yes: Servus :D
[Nexus 5 Original Android Development] Phazmos:
The test is unrealistic, so you can expect these types of reactions.

But, don't let that stop ya, keep on playing. See if you can get Google's stated 300 hrs stand by time!
[Nexus 5 Original Android Development] Mootarjim:
Anyone know if I'd be safe selecting "Set on boot" with CPU AND voltage settings? I know it says to use caution, but my CPU settings are really basic, and I only dropped the child by the lowest possible increment across the board. Used to use "Set on boot" all the time with Franco's kernel on my N4 with no issues, but I've never undervolted in the past, not even by this relatively small amount. Any insight would be appreciated.
[Nexus 5 Original Android Development] OptimusVDarwin:
You should set on boot if you feel that your set up is stable meaning no random reboots or freezes
[Nexus 5 Original Android Development] Mootarjim:
Thanks!
[Nexus 5 Original Android Development] show-p1984:
Small kernel update + kitkat 4.4.1 merges are up :)

Happy flashing.
[Nexus 5 Original Android Development] FlyinGrub:
hi, glad to see you here after using your kernel for one s :)

but it seems that pocket detection with S2W (i use your amazing app) isn't working here .... (on the build vefore 4.4.1 change)
[Nexus 5 Original Android Development] parkson:
Awesome! Stable or beta? There are newly dated kernels in each folder :P
[Nexus 5 Original Android Development] show-p1984:
There never was a pocket detection.

Both :)
[Nexus 5 Original Android Development] parkson:
Random reboot occurred. 4.4.1 with xposed/gravitybox installed, using bricked_hammerhead_20131206_183835_exp-516a802.zip

Kmseg attached

http://pastebin.com/xhteDuAk
[Nexus 5 Original Android Development] show-p1984:
The kernel version is not extractable from that log. If you are on pre 20131206_184334_master-927b88f an update should fix that.
[Nexus 5 Original Android Development] parkson:
Should I be using the most recent stable instead of beta?
[Nexus 5 Original Android Development] show-p1984:
In this one case, yes. :)
[Nexus 5 Original Android Development] hanschke:
difference between both will nice - a matrix :laugh:
[Nexus 5 Original Android Development] coyote968:
Hello show-p1984, upgrading the kernel always works with 4.4?

Inviato dal mio Coyote5
[Nexus 5 Original Android Development] Remoteconcern:
Anyone else's video recording really dark on 4.4.1?

Latest stable.
[Nexus 5 Original Android Development] gpvecchi:
Is this for CM11, too? Thanks!
[Nexus 5 Original Android Development] jwhyte:
Yes. I'm not sure if 4.4 vs 4.4.1 makes a difference I'm using 11/25 stable on droid kang with no issues
[Nexus 5 Original Android Development] phishstics:
Stable 184334 running great on stock 4.4.1 so far. Thanks again for dt2w and way better battery life!
[Nexus 5 Original Android Development] mjs2011:
Please excuse my noobish question, but is there a post here that gives a recommendation for the best settings to chooses in the kcontrol app?
[Nexus 5 Original Android Development] FlyinGrub:
it seems there is problem with camera related to your kernel, is it true ? :confused:
[Nexus 5 Original Android Development] show-p1984:
It seems that this does not seem to be true.

What kind of question is that btw? Either you have an issue or you don't.

(I have no issues, stock 4.4.1 rom with 20131206_184334_master-927b88f)
[Nexus 5 Original Android Development] boomer8403:
No issues whatsoever (including camera) on your latest kernel and updated Cataclysm.

Sent from my Nexus 5
[Nexus 5 Original Android Development] interqd:
hi... i am using your latest stable kernel with kitjat 4.4.1 stock.. love the tap to wake feature.. but battery life is worse than stock 4.4.1 .. hope better in future
[Nexus 5 Original Android Development] show-p1984:
Explained a 100 times. Due to corner cutting in production the display and touch controller are linked. That's why battery drops like a stone when either s2w or dt2w ( or both ) are active.

There is currently no fix, mainly because we don't have the data sheets to set the correct registers to send the display controller to sleep without impacting the touch controller. But it may also be possible that it isn't even fixable and a hardware limitation.

Don't use those features and your battery will be fine.
[Nexus 5 Original Android Development] interqd:
thumbs up for the quick response..

how to deactivate the feature ? is it just by setting off the option in trickster mod ? i am using that for the feature.. thx..
[Nexus 5 Original Android Development] show-p1984:
It's deactivated by default. So just undo what you did to activate it.
[Nexus 5 Original Android Development] fradbari:
Hi,

there are some works in progress for slide2wake/touch2wake battery drain?

Actually the battery decreasing is very significant
[Nexus 5 Original Android Development] psxsnake:
after one day on brickedkernel, this morning I got a GUI restart, i see mail notification, swipe down and got restart

first time on my N5 Cataclism all kernel settings are default
[Nexus 5 Original Android Development] IharpI:
Is it easy to compile this kernel within cm11 build environment?

Will all features be activated or do i have to run the script from the flashable zip for that?
[Nexus 5 Original Android Development] davide136:
Hi all :) are your nexus overheating while playing games? I tried this kernel and its even hotter than stock kernel...I mean games like asphalt 8, but even candy crush ... playing like 5 mins on candy crush makes the cpu about 60°C...and battery drops about 1% per minute, even locking the cpu speed at 700mhz !

What may I do? :(

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] Nickamina:
I'm finding the same. Phone seems to get very hot quite easily compared to stock..
[Nexus 5 Original Android Development] show-p1984:
Kernel files are virtual files, hence they are reset to kernel defaults after a reboot. You will have to install busybox and add a script to /system/etc/init.d/ with your override commands so they will be applied on each boot.

If you really don't care if your phone melts or bricks:

echo "0" > /sys/module/msm_thermal/parameters/enabled

Let me be absolutely clear here: THIS WILL DISABLE THE THERMAL PROTECTION COMPLETELY. YOUR PHONE WILL OVERHEAT SOONER OR LATER AND BRICK. DO NOT DO THIS UNLESS YOU HAVE A MILLION BUCKS ON YOUR BANKACCOUNT AND YOU REALLY DO NOT CARE ABOUT 350 BUCKS.

Just fyi: I never ever did, nor would, disable it on one of my phones, ever.

GUI restarts, aka soft reboots are usually not kernel related. I don't get them on stock, which highly suggests your custom rom to be at fault. But without logs we will never know.

Yes. It is possible to build this kernel in line with cm. You will need to modify the ramdisk in the device tree as listed in my scripts inside the install zip to auto-insert the modules and modify the ondemand values which should be a no brainer though. (edit_ramdisk.sh)

Stock barely goes to max clock because it seems that the n5 is intentionally being throttled to keep performance down. In fact after bootup the stock n5 only reaches about 1.9Ghz. If you keep using your phone it goes down to 1.4Ghz for long times. After my first day on stock on my n5 it had a total usage of 11 seconds of the max clock. Even Qcom's in kernel definition specifies to start throttling at 90°C, bricked is 5°C below that with all temperatures and stock at least 25°C. That is one major reason why the n5 sucks in benchmarks on stock and the only reason I can give for that is: <LG>: "See, SEE!!! N5 performance sucks! Buy an LG G2!"

To heat in general: If you use your phone and expect performance it will get warm. It will get hot. Nobody can bend the laws of physics. It's not overheating when your phone feels warm. It's overheating when my msm_thermal shuts down your phone because it got too warm. But that should only happen in the summer in the sun (with an ambient temperature of 60°C+) while running a cpu stress test for 2 hours. And if you do that you are either crazy or just have no idea how to treat your electronics :)

You are free to tune my msm_thermal to start throttling the phone earlier. It will then keep cooler, but expect performance issues compared to bricked default.
[Nexus 5 Original Android Development] P.Mobile:
if im coming from another kernel should i wipe cashe and dalvik cashe??
[Nexus 5 Original Android Development] show-p1984:
*cache and no.

The zip wipes /cache for you and the dalvik cache has nothing to do with the kernel.
[Nexus 5 Original Android Development] psxsnake:
@ show-p1984 may you add a date to thread, so we can understand when you release a new version :D
[Nexus 5 Original Android Development] show-p1984:
Then I will have to edit the thread each time and xda will spawn new conversations in gmail because the mail subject changes.

Is it really needed?

If you have to keep track of new versions then just stalk the rss feed with your favorite rss reader. Should be 'nuf? :)
[Nexus 5 Original Android Development] IharpI:
Thanks for your reply.

Just tried building showp1984/bricked-hammerhead -> master.

Unfortunately it fails with:

/media/android/android/system/kernel/lge/hammerhead/arch/arm/mach-msm/cpufreq.c: In function 'msm_cpufreq_init':
/media/android/android/system/kernel/lge/hammerhead/arch/arm/mach-msm/cpufreq.c:301:16: error: 'CONFIG_MSM_CPU_FREQ_MAX' undeclared (first use in this function)
/media/android/android/system/kernel/lge/hammerhead/arch/arm/mach-msm/cpufreq.c:301:16: note: each undeclared identifier is reported only once for each function it appears in
/media/android/android/system/kernel/lge/hammerhead/arch/arm/mach-msm/cpufreq.c:302:16: error: 'CONFIG_MSM_CPU_FREQ_MIN' undeclared (first use in this function)
make[3]: *** [arch/arm/mach-msm/cpufreq.o] Error 1
make[2]: *** [arch/arm/mach-msm] Error 2
make[2]: *** Waiting for unfinished jobs....
[Nexus 5 Original Android Development] show-p1984:
Android tries to build with the hammerhead defconfig, change the defconfig to bricked_defconfig.

EDIT:

To be precise, here: https://github.com/CyanogenMod/android_device_lge_hammerhead/blob/cm-11.0/BoardConfig.mk#L103
[Nexus 5 Original Android Development] IharpI:
Thanks again.

Now i get:

/media/android/android/system/kernel/lge/hammerhead/lib/bitmap.c: In function 'bitmap_scnprintf':
/media/android/android/system/kernel/lge/hammerhead/lib/bitmap.c:401:1: internal compiler error: output_operand: invalid shift operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://source.android.com/source/report-bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:4701: Warning: end of file not at end of a line; newline inserted
{standard input}:5280: Error: undefined local label `.L1051'
{standard input}:5283: Error: undefined local label `.L1051'
{standard input}:5288: Error: undefined local label `.L1051'
make[3]: *** [lib/bitmap.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC lib/lzo/lzo1x_compress.o
CC lib/lzo/lzo1x_decompress.o
LD lib/lzo/lzo_compress.o
LD lib/lzo/lzo_decompress.o
LD lib/lzo/built-in.o
make[2]: *** [lib] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/media/android/android/system/kernel/lge/hammerhead'
make: *** [TARGET_KERNEL_BINARIES] Error 2
[Nexus 5 Original Android Development] show-p1984:
That's a compiler error because of -O3 and the used toolchain (ICE = Internal compiler error). Try switching the optimize options in the bricked_defconfig or the used toolchain to linaro 4.7/8.

############

The uninstaller that was requested is live in the #1 post. (http://bricked.de/downloads/kernel/hammerhead/bricked_uninstaller_hammerhead.zip)

A new stable will be uploaded any second now, fixing the undervolt issue.

Happy flashing.
[Nexus 5 Original Android Development] safendi:
Thai kernel nave che color setting for the display?
[Nexus 5 Original Android Development] asdf002:
Can't wait for s2w feature.
[Nexus 5 Original Android Development] psxsnake:
flashed new version... all ok will test it (fastest boot)