yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] IharpI:
The Toolchain seems to be 4.7 already:

CROSS_COMPILE=" /media/android/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-"

commenting out CONFIG_CC_OPTIMIZE_ALOT in the defconfig did not change anything as well.

How can i check which flags are actually set at compile time?

Or how to change the toolchain to the same that you are using?

Sorry again for spamming your thread.

But i am really learning a lot from you right now.
[Nexus 5 Original Android Development] wera750:
Got a random reboot here is the last_kmsg https://db.tt/XDcvDjia
[Nexus 5 Original Android Development] nikeman513:
Kernel is great for performance, but deepsleep seems to be worse than stock. Since Trickster isn't working properly, I can't fix it, but instead of .5-1% while sleeping, it was averaging 6%. Antutu scores went up to 30,000 from 25,000 before. I'm sure with time and update trickster thus Kernel will be perfect, but for now it can't be a daily Kernel. I didn't expect perfection so soon anyways. Just letting you know OP. Thanks for what you're doing!
[Nexus 5 Original Android Development] show-p1984:
Looks like too much uv or the device didn't like the frequencies (too much uc/oc).

(No error visible in that log)

Lets continue this via mail.

6% in sleep? O.O

How... What... Are you running SETI in background?

I get 1-2% (worst case scenario) in sleep on wifi, with everything enabled except BT.
[Nexus 5 Original Android Development] Cruzfire:
i'm a big fan of s2w/s2s feature as my spigen case sux balls at touch feeling with power button.

anyways,i was testing with/without bricked and i din't notice much difference on battery,maybe at the beginning,once the rom settles you berrly notice.

ty sir,made my life easyer :good:
[Nexus 5 Original Android Development] rogem_kk:
Just read 3 posts above yours (#777)
[Nexus 5 Original Android Development] HTCore:
The battery drain is not significant in my phone.

If you want to use these feature you better to look somewhere else for your huge battery drain. Check your apps for instance. Have you checked s2w with or w/o feature on?
[Nexus 5 Original Android Development] fradbari:
unfortunately there aren't apps to consume so much; on my old galaxy s2 this function did not consume so much battery

however I have not checked the permissions, I have seen that worked, but with a big battery drain

Do you think if I set the parameters r / w consumes less?!?!
[Nexus 5 Original Android Development] HTCore:
I'm not quite sure but it could be a solution. Blocking some permissions could prevent apps to check network connection frequently or other battery drain(er) services. However, I liked your idea.

Regardless of that I do not touch my permissions, unless I find something suspicious. Since I got my N5 i haven't touched them yet. I have more than 90 apps installed, not counting default apps or services coming with ROM (160?). Even, I haven't configured Greenify. But I usually keep WiFi and Bluetooth turned off.
[Nexus 5 Original Android Development] jackmort:
I like d2tw also but what I don't like is its sensitivity in pocket... It makes my phone live its own life and do strange things ^_^

Could there be a way to disable d2tw when proximity sensor detects pocket and enable back when proximity sensor detects out of pocket?
[Nexus 5 Original Android Development] Rashiel:
Hey,

little question..

I like d2tw - but not over night because it's eating much battery..

Is there any chance to implement from ElementalX, that when I press the power button it's deactivated? ;)

BR

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] gpvecchi:
Installed the kernel (on fresh rom install), run Antutu with stock kernel setting and got a reboot...
[Nexus 5 Original Android Development] IharpI:
Is Vibration strength control broken? If I move the slider in kcontrol it feels like same strength in every position?!
[Nexus 5 Original Android Development] boomer8403:
Nope, works fine on my end.

Sent from my Nexus 5
[Nexus 5 Original Android Development] yumcax:
show-p1984, why am I getting such good battery life? I've been stock kernel, Franco's, faux', yours etc. and even without changing any settings I get much better battery life in yours than in the others. Are you a wizard?

Also, do you have any recommended settings tweaks? What are the first things you change in KControl or whatever app you are using?
[Nexus 5 Original Android Development] tomciopaluch357:
Any particular ROM that works good with this kernel looking for good battery life and should i use stable or beat for 4.4.1 KK

r
[Nexus 5 Original Android Development] show-p1984:
Well I hate to say it, but putting over a year into my mpdecision is something else than other people throwing their hotplug solutions together in a few months. Don't forget that my in kernel mpdecision was the first in kernel solution, long before anyone else thought that that's a good idea. Furthermore it's still being actively developed. :p (take a look at https://github.com/showp1984/bricke...exp/arch/arm/mach-msm/msm_mpdecision.c?page=1. development started on the pyramid, Thu, 21 Jun 2012 06:06:47 +0200)

My mpdecision is very good at fast reaction to sudden loads and unplugging when that load goes away. Which gives a a good performance boost and saves battery.

There is a huge delay with the stock mpdecision (since it's a binary sitting in user space that has to be called by android and then adjust kernel settings from user space) so qcom just let's it plug in the second core as soon as the screen is touched, and it keeps it quite a long time online. That is just inefficient, but given the limitation necessary.

Stable.

I use stock ROM, but then again I only do that to ensure that developing goes smoothly and since cm decided to go incompatible to stock/aosp there isn't really any compelling ROM besides PA. But PA is a bit too feature loaded for my taste and stock updates quicker :p
[Nexus 5 Original Android Development] ausaras:
Show-p, I love s2w feature you developed. Since my Sensation and One S days, s2w is the feature I must have in custom kernels.

Can you please tell me what corner did LG cut that makes N5 drain more battery than Sensation and One S? On Sensation and One S, s2w drain almost no battery at all! But on Nexus 5, it drains quite quickly compare to the HTC devices.

It's just for my curiosity. If the cause takes too long to explain, just ignore my question. Thank you!
[Nexus 5 Original Android Development] KingDani1997:
Then Cataclysm is your ROM. It is like Stock ROM with more features.
[Nexus 5 Original Android Development] Rashiel:
http://xdaforums.com/showthread.php?p=48242525

Showp? Any idea?

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] tomciopaluch357:
Well i yryed you beta kernel with latest carbon Rom and I'm very impresses you did some magic with that kernel here is my An tutu score was 34361 second place on benchmark i will try to post a screen, now lets see how it performs thank you .:D i don't know how to properly attach screenshot
[Nexus 5 Original Android Development] Sayan1987:
Ehy guys, need some tips about temp limit.

I played some games and my device got really hot, other kernels throttled me at like 56-60°, with bricked i check with kcontrol and i was at 80°+!

So kcontrol offers 6 option (low limit, low clear, mid limit, mid clear, high limit, high clear) , which should i modify to make temp control start throttling me for example at 65°?

I don't wanna risk to burn my device eheh..
[Nexus 5 Original Android Development] interqd:
hi.... having good battery life here..

but i see wifi is the second biggest battery drainer with 10%.. is it normal ?
[Nexus 5 Original Android Development] estallings15:
My Wi-Fi is at 4% because of my usage. If you're not really using your phone for much, it makes sense. How do you use it?
[Nexus 5 Original Android Development] mpkothari:
Before I flash this kernel, I understand I need to go back to stock kernel because I'm on Franco right now and uses its own ramdisk. Two questions.

1. Can I flash the stock kernel zip flashable posted in the Android Development section or does it have to be a boot.img?

2. If it needs to be a boot.img, is the one linked in the OP updated to one from 4.4.1?
[Nexus 5 Original Android Development] cmilldrummin:
Great kernel so far, any chance of fast charge being integrated in the future? Thanks for all the hard work.
[Nexus 5 Original Android Development] F1reEng1neRed:
http://xdaforums.com/showthread.php?p=47430539&highlight=fast+charge#post47430539

That took about 30 seconds.

Please perform a search prior to asking questions that have have been asked over and over...
[Nexus 5 Original Android Development] 0xScott:
I had previously hoped for fast charge to be enabled with this kernel before reading about the reason you're not including it. Is there any way to give us a charge-only mode for those of us who don't want adb access/storage mounting when we connect to a computer for charging? It'd also be safer for using public charging stations like the ones showing up in airports.

Thanks for all the hard work you've done developing this kernel.
[Nexus 5 Original Android Development] show-p1984:
The touch controller and panel controller seem to share to same gpio to enable/reset them and are either behind another chip that hooks them up to i2c, or even on a single chip.

Registers are set to said chip when the panel goes off/on, effectively also dis/enabling the touch panel. The optimal case for us would be to get some specification sheet that tells us how to put said chip into a low power interrupt mode and disable only the panel stuff. (The registers are not known, nor what they do. Flar2 changed 1 number, but my guess is that he just invalidated a checksum, making the whole command invalid)

I could implement it, but I will probably give it a sysfs switch.

Even though I think it's quite useless I can see why some people might use it.

There is no risk of that. We are 5°C BELOW the Qcom limit.

But if you want to have a cooler phone, sure. Lower all (except shutdown) temperatures of msm_thermal by the same amount, eg: 20°C.

Short explanation:

low/mid/high are the throttling phases. Low being the first to be triggered.

_clr is an indicator when the throttling should end.

E.g.:

CPU reaches trip temp 75°C for low.

Throttling [low] starts.

CPU drops to 72°C.

CPU drops to 70°C and hits the clear threshold.

Throttling [low] ends.

if you are [mid] throttled and the cpu drops to mid clear, msm_thermal will switch the throttle phase to low. Same goes for high->mid.

So the usual should be:

Load stops at high:

no->low->mid->high->mid->low->no

persisting load:

no->low->mid->high->mid->low->mid->high->mid->high->mid->etc...

Always flash the boot.img of your current rom. The boot.img in #1 is from 4.4, I edited the post to reflect that.
[Nexus 5 Original Android Development] Rashiel:
That means, that the feature won´t be implemented, right? :(
[Nexus 5 Original Android Development] cjwaggsrx8:
Is the download link down for everybody or just me? No biggie just curious.. Tia
[Nexus 5 Original Android Development] show-p1984:
I just dist-upgraded the server. (took 30 minutes or so)

It is back up again.
[Nexus 5 Original Android Development] ad78:
its still down..
[Nexus 5 Original Android Development] show-p1984:
php5-fpm was misconfigured. Working now (hopefully) :p
[Nexus 5 Original Android Development] interqd:
hi....

can i flash ota 4.4.2 zip via twrp if i using this kernel ?
[Nexus 5 Original Android Development] projectzero_droid:
Flash bricked_hammerhead_20131206_184334_master-927b88f.zip

after i flash 4.4.2 build KOT49H then i flash Flash bricked_hammerhead_20131206_184334_master-927b88f.zip after reboot it's not work for me. any suggestion for this problem.
[Nexus 5 Original Android Development] Remoteconcern:
Yes.
[Nexus 5 Original Android Development] show-p1984:
Just flashed it without an issue. The kernel wasn't modified for 4.4.2.

Unless you give us some more information than just: "No work!", I am going to ignore you.
[Nexus 5 Original Android Development] montbazon:
Try to flash stock kernel then flash the kernel
[Nexus 5 Original Android Development] phishstics:
Confirmed 4.4.2 works with the mentioned version of bricked. Try again.
[Nexus 5 Original Android Development] lexxa83:
Guys how's your battery life compared to stock?
[Nexus 5 Original Android Development] Michealtbh:
Amazing, I consistently get 5-6 hours screen on time over around 20 hours
[Nexus 5 Original Android Development] lexxa83:
Wow. Any special settings?
[Nexus 5 Original Android Development] Remoteconcern:
Exactly the same kind of thing I can get. All I have is under volt -62.5mV across the board. PVS1 though so that's not a huge under volt.

I also raised the mpdecision boost to 1GHz.

All other settings stock.
[Nexus 5 Original Android Development] davy917:
Is there a stock 4.4.2 .img file we need to flash before flashing Bricked?
[Nexus 5 Original Android Development] show-p1984:
4.4.2 = 4.4.1 as far as the boot.img is concerned.
[Nexus 5 Original Android Development] davy917:
Is there one for 4.4.1 then? The one in the OP says flash only on 4.4

Or can I just extract the boot.img from stock ROM? Asking because I remember the one in the OP was about 20mb vs 8mb extracted from stock so wasn't sure if anything was different

Also in the Bricked uninstaller still valid for the 4.4.2 version?
[Nexus 5 Original Android Development] show-p1984:
Nope atm I don't have one uploaded.

Indeed, that's only for 4.4.

Yes, you should be able to do that, if stock is 4.4.1 or 4.4.2.

That one is bigger because I pulled it from my phone with dd. That makes it as large as the partition, no matter the data it has stored. (the rest will just be zeros to fill it up)

Yes.
[Nexus 5 Original Android Development] davy917:
Thanks dude, for answering every single one of my questions lol really appreciate it!
[Nexus 5 Original Android Development] phantomEVO:
hi to all guys, i'm a newbie to android modding . i've a nexus 5 with cataclysm rom and nothing else. i would love to have the DoubleTap2Wake feature. my questions are:

1) is it simple to flash this kernel?

2) could i remain with cataclysm rom?

3)if i flash the kernel, should i modify or flash something else because the phone to work? i've read about the wlan but i havent understood very well

4) OFFTOPIC question: if i donwload last android update, will i lost the cataclysm rom

sorry for my very bad english and mistakes, i try to do my better!|
[Nexus 5 Original Android Development] Remoteconcern:
1) yes :)

2) yes :)

3) no, WiFi will work :)

4) you cannot flash latest update over cataclysm, wait for a ROM update :(

Your English is perfectly good! One correction - you try your best, not try your better ;)
[Nexus 5 Original Android Development] gpvecchi:
Is the volume patch from 4.4.1 merged on latest beta?
[Nexus 5 Original Android Development] phantomEVO:
thank you also for the english correction :)

i've flashed the new kernel but it don't understand and abilitated doubletap2wake but sweep2wake doesn't work :(

and PLEASE HELP ME: after flashing the new kernel, my sounds became horrible like theY have an ECHO!!! REBOOTED THE NEXUS AND NOW I HAVEN'T DOUBLETAP!!
[Nexus 5 Original Android Development] show-p1984:
Yes, everything of 4.4.1 is merged. Since there are no kernel changes for 4.4.2, there won't be a merge.
[Nexus 5 Original Android Development] Phazmos:
Flash your rom again. This will install the default kernel again and things should be ok.
[Nexus 5 Original Android Development] mtw4991:
As I understand the OP, due to the kernel modifying ramdisk on the fly, this can be flashed over CM 11 4.4.1, correct?
[Nexus 5 Original Android Development] rutgerhoorn:
Yup!
[Nexus 5 Original Android Development] mtw4991:
Thx!
[Nexus 5 Original Android Development] Farva0412:
I am coming from faux kernel. Are there recommended settings for this kernel? And what should I use for a kernel manager?
[Nexus 5 Original Android Development] Remoteconcern:
Kcontrol is made by the dev and works best. It's a nice app that gives you full control over this kernel which has unique features like it's own in kernel mpdecision.

Default settings work very well for this though, so no need to buy anything if you don't want to.

Dennis, thanks so much for reducing the minimum brightness with latest beta. I'm the guy who bothered you on G+ about it :P
[Nexus 5 Original Android Development] Alcibiade:
I have been checking with CPU Spy and it seems very few speed steps are actually used when using On Demand with this kernel

Is this normal (A feature) or I miss some settings somewhere. It's kind of an issue when I lower significantly the minimum speed of the processor, it ends up jumping straight to the max speed, the intermediary steps being too low and not numerous enough (Which I suspect costs some battery life)
[Nexus 5 Original Android Development] phantomEVO:
What do you mean? i've to flash cryogen, then the kernel again?? why?
[Nexus 5 Original Android Development] Remoteconcern:
It's by design really. It's mostly to get the race to idle benefits (where the processor working at max frequency for a short period of time is more efficient than longer times at intermediate frequencies) and to keep it smooth with the input boost.
[Nexus 5 Original Android Development] Phazmos:
It sounds like your issues are related to the kernel. Flashing your rom again will put back the original kernel.

And I just thought, there is an uninstaller in the op. That'll work too.
[Nexus 5 Original Android Development] lethalboy:
Coming from other kernel and now I'm running this with Cataclysm Rom & Kcontrol app... So far its very smooth :D
[Nexus 5 Original Android Development] Alcibiade:
Thanks. Actually the issue was letting CM11 handle the governor. I switched to SetCPU and now it is much more balanced
[Nexus 5 Original Android Development] Deegan87:
Because flashing cyanogenmod again will reset the ramdisk to its default settings. You don't need to wrote our anything, just flash on top of what you have.
[Nexus 5 Original Android Development] NuxMortis:
I Instantly flashed new beta after reading this.

Thanks, thanks, thanks Show-p, no more sunbeams from the N5 burning my eyes in bed... :cool:
[Nexus 5 Original Android Development] phantomEVO:
so you suggest to "uninstall" the modded kernel without reinstall it????

will i lost all my appe and music flashing the rom?

what do you think about the fact the as sonn as i've rebooted nexus, i've lost the tap2wake feature?
[Nexus 5 Original Android Development] montbazon:
Nope, it wouldn't.

Do not reset or format anything.

Just flash rom that you are using.

Then flash bricked kernel.

Enjoy!
[Nexus 5 Original Android Development] OptimusVDarwin:
How would I enable dt2w without the app?
[Nexus 5 Original Android Development] laggo:
From the OP:

Use a terminal emulator app to execute these commands. You will need su perms.

S2W:

echo 1 > /sys/android_touch/sweep2wake

DT2W:

echo 1 > /sys/android_touch/doubletap2wake
[Nexus 5 Original Android Development] OptimusVDarwin:
I don't know where to go to edit that lol

Edit: Nvm got it.

Terminal emulator

Su

echo 1 > /sys/android_touch/doubletap2wake
[Nexus 5 Original Android Development] :
Just came from Franco kernel and took Bricked for a spin, on latest stable on stock ROM

These are my settings for mpdecision tweaked slightly the boost_freq and thermal temps

I'm surprised this kernel isn't more popular, it's smooth (gaming performance is actually better than Franco's albeit with some dropped frames when it gets hot (specifically referring to/after a long run on Beach Buggy Blitz) hence the tweaked thermal)and I get great battery life, but it was confusing as hell tweaking things. Great work show-p1984
[Nexus 5 Original Android Development] OptimusVDarwin:
Every time I reboot my phone dt2w and s2w get rested back to disabled. I then have to enable it through terminating emulator. Any way to leave it on on permanently?
[Nexus 5 Original Android Development] deadwilder:
use some kernel control app or create init.d script to enable it at boot
[Nexus 5 Original Android Development] interqd:
after installing the 1.7mb kitkat 4.4.2 updates, my battery drain worse, and i lose root :(

how can i regain root?

thx..
[Nexus 5 Original Android Development] hipojarty:
Use KControl > App Settings > On boot, there you can have everything set running still even you have restarted =)

---------- Post added at 09:38 PM ---------- Previous post was at 09:35 PM ----------

This is not Kernel related, I think

I know you have gain root before the update :)
[Nexus 5 Original Android Development] Phazmos:
Flash chainfires su - 1.80 should be the latest - and you will have root again.

---------- Post added at 09:12 AM ---------- Previous post was at 08:56 AM ----------

Use the uninstaller in the op or flash your rom again. Won't lose anything. Flash the kernel again if ya like, see of you have the same problem.

T2w needs to be set on boot. Use trickster from market to set this on boot.
[Nexus 5 Original Android Development] feedhead:
I jump between faux and Bricked kernels / apps... Pretty similar results. Loving the battery life.
[Nexus 5 Original Android Development] show-p1984:
Last stable has lowered minimum screen brightness, as well as slightly lowered default screen brightness for the darker light levels.

http://bricked.de/index.php?action=kdownload&device=hammerhead&release=stable&type=aosp

Have fun :)
[Nexus 5 Original Android Development] ricky56789:
Hey guys,

I'm trying to get a tasker profile set up to turn on s2w/dt2w when screen turns on, then turn off s2w/dt2w 15 seconds after the screen is off.

It seems to work, s2w turns off after the timeout but I still get a battery drain as if s2w/dt2w was on all the time when the screen is off for a few hours. Otherwise without this tasker profile on, battery drain is much less.

Tasker screen off profile is:

1. Wait 5 seconds

2. Run shell command - echo 0 > /sys/android_touch/doubletap2wake

echo 0 > /sys/android_touch/sweep2wake

Any suggestions would be appreciated!
[Nexus 5 Original Android Development] Pithism:
is new 12/12 kernel compatible with 4.2.2
[Nexus 5 Original Android Development] desmoloch:
Working :)
[Nexus 5 Original Android Development] Pithism:
Horrah!!!
[Nexus 5 Original Android Development] IIMaxII:
Just curious, but do you plan to update the Linux kernel to 3.4.72?
[Nexus 5 Original Android Development] gpvecchi:
I just switched to Bricked and I find it very good! Except for lack of Vegas TCPIP algorithm...:p

Edit: bug with latest stable. If I set 96Mhz for minimum frequency, it returns to 960...
[Nexus 5 Original Android Development] FlyinGrub:
It just the boost frequency, when you touch the screen the min value is 960mhz

envoyé depuis une tête de marteau (hammerhead).
[Nexus 5 Original Android Development] gpvecchi:
No, I mean that in trickster even if I set 96, when I re-open the app is set to 960...
[Nexus 5 Original Android Development] show-p1984:
Because you touched the screen to re-open the app -.-
[Nexus 5 Original Android Development] Sayan1987:
I got the same "problem", it's a bit confusing.

I mean, with kcontrol it's flawelss, if you check cpu min/max it says 300/2.2

In trickster says 9.6/2.2 (which shouldn't, as you said 9.6 it's the min freq when screen touched, not overall), but so i guess it's the app that it's not fully compatible with bricked to display the correct informations.
[Nexus 5 Original Android Development] FlyinGrub:
Yes, you need kcontrol and have multi kernel app at the same time is not a good idea

envoyé depuis une tête de marteau (hammerhead).
[Nexus 5 Original Android Development] show-p1984:
Well, that's because KControl doesn't suck :p

I put some effort into it so it always displays accurate information, especially regarding the different cores. As it stands it is the only app in the market that allows that level of control and shows information this accurately.

(/sales-speech)

Nobody 'NEEDS' KControl, but don't bug me if your favorite kernel app has bugs and sucks :p