yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] rachanta:
[MENTION=2976216]stewartk[/MENTION] - If you don't intend using phone for a while use power key to shut screen. This will stop phone from remaining awake. Deep sleep is not a problem with racer. You need to find out which app is keeping the phone awake. s2w, dt2w can keep the phone awake. The screen shot shows condition when s2w dt2w is on, but screen shut with power key. This can be enabled with synapse kernel setting app.

Attached it a screenshot of deep sleep in powersave mode with screen off using power key before I went to sleep.
[Nexus 5 Android Development] rachanta:
[MENTION=3132657]mzimmer88[/MENTION] - most kernel setting apps like faux clock, trickster mod, kernel tweaker or synapse have the option to choose governor.
[Nexus 5 Android Development] mzimmer88:
Thanks is there one you'd recommend for battery life?
[Nexus 5 Android Development] rachanta:
Battery life has nothing to do with kernel app. If you intend to mainly use phone functions using powersave or racerps governors should give you good battery life.
[Nexus 5 Android Development] mzimmer88:
Thank you. I wasn't clear; I meant which governor is good for battery and you gave me that. Thanks again!
[Nexus 5 Android Development] rachanta:
[MENTION=4404203]daniel84cs[/MENTION] you have been talking about getting good battery life. If you have time could you please post some tips to get good battery life. I will also add my experience once you post.
[Nexus 5 Android Development] eluspo:
Can i just flash and leave settings without changing anything? Is this still mp decision? What the max and min freq by default and also gpu freq. Thanks!
[Nexus 5 Android Development] rachanta:
[MENTION=4704871]eluspo[/MENTION] - if you are coming from racer on the same ROM, no changes are required. Your previous settings will stay especially if you have enabled 'set at boot'. mpdecision is disabled and has no role at any stage with this kernel. The default max min are 2265 & 300. default gpu freq is 533 .These should be the values if both ROM and kernel are installed clean with data wipe. You can set any freq value from 96 to 3014 MHz. For stable operation choose 96 to 2419. If max is lower that 2419 stability is 100%.

For the last 12 hours I am running with powersave governor, which fixes freq at 729MHz. Battery drain is very low, and I can use phone as normal.
[Nexus 5 Android Development] daniel84cs:
To increase battery life I recommend using a conservative governor (smartmaxeps, racer_ps), reducing the CPU clock and GPU (eg. 96/1497 MHz CPU, 320 MHz GPU) to perform the UV CPU trying their limit (this reduces the CPU heat and power usage combined), disable the DT2W or use a timeout of 1 minute. Extreme choice to use energy saving android L which dramatically reduces performance.
[Nexus 5 Android Development] rachanta:
Here is a small note from OP:

Note - While s2w, dt2w and s2s are really cool features, enabling them will cause the battery to discharge faster as the phone needs to be listening for these inputs continuously. You can use power key to shut screen when you do not intend to use the phone. This temporarily disables s2w-dt2w-s2s function and greatly increase battery life with no compromise in fluidity. Synapse is the kernel settings app that has this control in 'Wake' panel. You have the choice of enabling or not.

I discovered in the last 2 days that shutting screen with power key (settings in Synapse app) has the most dramatic effect on improving battery life. The drain reduces to a mere trickle. The new powersave and racerps governors where frequency gets fixed to 729 and 960 (your max min freq settings are ignored) are also really helping in getting more juice out of the battery with no loss in racer's buttery fluidity. The latest racer builds are giving me the best ever battery life. ;)
[Nexus 5 Android Development] eluspo:
Thanks for the quick response. I just dont wanna mess up settings and just use the kernel as is.
[Nexus 5 Android Development] eluspo:
This is what i see in trickster, i havent change anything except uv and fast charge enabled.
[Nexus 5 Android Development] rachanta:
[MENTION=4704871]eluspo[/MENTION] the last few posts have useful setting tips depending what you want. The most common concern is battery life, and posts do talk about ways to get better life. Synapse app is may be the only app that has power key off to disable s2w-dt2w whenever you don't need. That improves battery life dramatically.
[Nexus 5 Android Development] daniel84cs:
Synapse not is The only app,with kernel manager you can control timeout and power key toggle.
[Nexus 5 Android Development] rachanta:
Is it devil kernel manager?
[Nexus 5 Android Development] rachanta:
[MENTION=2976216]stewartk[/MENTION] check from Settings/Battery what is keeping your phone awake
[Nexus 5 Android Development] stewartk:
there`s only fb /messenger runner app wise, there`s google services and android os .

its not a problem now ive got the underclock settings to stick,
[Nexus 5 Android Development] rachanta:
So deep sleep is OK?
[Nexus 5 Android Development] stewartk:
no still not working.
[Nexus 5 Android Development] rachanta:
Now I don't have a clue. No problem reported by anyone else. May be you should check this overnight.

Edit: [MENTION=2976216]stewartk[/MENTION] fb messenger and google+ can prevent sleep. Pl try after closing fb messenger.
[Nexus 5 Android Development] rachanta:
Use smartmax_eps or smartmax depending on your need - battery life or performance. In both cases you get the best possible for the other.
[Nexus 5 Android Development] rachanta:
gamma

Working on gamma control

Today's AICP Unofficial builds are up. Also checkout latest RACER with with CPUQUIET tweaks! Go to OP:

http://xdaforums.com/google-nexus-5/development/racer-unofficial-cm-kernel-multirom-t2726080 :D
[Nexus 5 Android Development] rachanta:
RACER v3.0 - Gamma Control added

RACER KERNEL v3.0 UPDATE 27-04-2014:

Latest build:

http://www.androidfilehost.com/?fid=23329332407589623 :cowboy:

A big thank you to [MENTION=4635674]n3ocort3x[/MENTION] and [MENTION=4152171]myfluxi[/MENTION]
[Nexus 5 Android Development] n3ocort3x:
Im really happy u keeping urself busy and provide a kernel for community :)
[Nexus 5 Android Development] DarkFantasy6:
So its CAF? :)
[Nexus 5 Android Development] ghismo83:
yes it s awesome caf kernel

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] t1.8matt:
For some reason this is still failing to install as a secondary rom in Multirom. Just tried the 4/26 build and it fails right away with the same error I gave in the log earlier. Anyone have any ideas because this is the only rom that is giving me problems installing.
[Nexus 5 Android Development] rachanta:
I have no clue ATM. I suppose you use latest TWRP from MultiROM thread by Tasssadar. If no, please upgrade through multiROM app (this is simplest way to upgrade TWRP).
[Nexus 5 Android Development] t1.8matt:
Yes, it is the latest. I flashed an unofficial AICP rom from your Google +, and it flashed fine as secondary. I'm pretty sure that one doesn't have your Racer kernel built inline with it, but I'm not sure how that would make a difference with causing the one build to fail.
[Nexus 5 Android Development] rachanta:
Thanks for patiently trying out and reporting. Its very easy to junk it and move on.

I am going through the log and found out that twrp is latest. The log says 'incomplete ROM' . It is possible that zip upload did not complete properly. Does the same ROM get installed without problems as primary?

Edit: The file size of 191 mb is suspect for the ROM at:

http://www.androidfilehost.com/?fid=23329332407589342

It should be 199 mb.

Can you please try this:

http://www.androidfilehost.com/?fid=23329332407589534

I am atm downloading from anroidfilehost to try doing exactly what you have done with the uploaded ROM myself.

This should get resolved soon. Thanks for trying out. I really appreciate this.

Edit: Confirmed that the zip upload was incomplete. I have exactly the same problem with that zip, with exactly the same message in log. Works fine with other zips. You should have no problem with the zip for which I have given you the link above.

I am relieved that it is not a bigger problem with the build and look forward to your confirmation..;)
[Nexus 5 Android Development] rachanta:
Update 28 April 2014: RACER Kernel & ROM Builds

KERNEL: RACER KERNEL v3.0 UPDATE 28-04-2014:

Latest build:

http://www.androidfilehost.com/?fid=23329332407589762

Changelog

- V3.0 branding and defconfig verification

- Gamma Control

- Live: https://github.com/rachanta/kernel_h..._racer/commits

ROM: Official RACER ROM (AICP Unofficial with RACER_v3.0 Kernel), UPDATE 28-04-2014

http://www.androidfilehost.com/?fid=23329332407589765

Live Changelog:

http://gerrit.aicp-rom.com/#/q/status:merged,n,z
[Nexus 5 Android Development] rachanta:
AICP Unofficial ROM & Kernel Update - 28-04-2014

AICP Unofficials

UNOFFICIAL AICP KERNEL - UPDATE 28-04-2014:

http://www.androidfilehost.com/?fid=23329332407589785

Changelog:

https://github.com/AICP/kernel_lge_hammerhead/commits

UNOFFICIAL AICP ROM - UPDATE 28-04-2014

http://www.androidfilehost.com/?fid=23329332407589784

Live Changelog:

http://gerrit.aicp-rom.com/#/q/status:merged,n,z

Enjoy! :D
[Nexus 5 Android Development] habitformer:
Thanks.I got your pm since you posted new builds I'll use them instead of the older 1.For some reason I can't follow you on g+

Edit I'm subscribed to this thread.Thanks for all the feed back you've given already
[Nexus 5 Android Development] razrlover:
Will be flashing. Thank you my friend for continuing evolution and improvement
[Nexus 5 Android Development] t1.8matt:
I'm gonna try this AICP build and let you know. If it doesn't work then I'll try the one you posted earlier.
[Nexus 5 Android Development] rachanta:
Knock knock, double tap to wake, sweep to wake, sweep to sleep implemented in latest build. Testing features now. Will upload in a few hours if I find it working OK.

Edit: Its working... Doing a fresh repo sync and build before uploading.:D
[Nexus 5 Android Development] rachanta:
KNOCK..KNOCK...RACER v4.0 is up

KERNEL: RACER KERNEL v4.0 UPDATE 30-04-2014:

Latest build:

http://www.androidfilehost.com/?fid=23329332407590222

Changelog v4.0 on 30-04-2014

- v4.0 branding

- Sweep2Wake | DoubleTap2Wake | Sweep2Sleep (Many thanks to [MENTION=4195844]show-p1984[/MENTION])

See for details: https://github.com/rachanta/kernel_h..._racer/commits

Features:

- Cyanogenmod base

- Faux Sound

- MultiROM

- CPUQUIET Hot plug works

- smartmax CPU Governor

- Gamma control

- Sweep2Wake | DoubleTap2Wake | Sweep2Sleep

ROM: Official RACER ROM (AICP Unofficial with RACER_v4.0 Kernel), UPDATE 30-04-2014

http://www.androidfilehost.com/?fid=23329332407590224

Live Changelog:

http://gerrit.aicp-rom.com/#/q/status:merged,n,z
[Nexus 5 Android Development] rachanta:
AICP Unofficial ROMs - Update 30 April 2014

AICP Unofficials

UNOFFICIAL AICP KERNEL - UPDATE 30-04-2014:

http://www.androidfilehost.com/?fid=23329332407590278

Changelog:

https://github.com/AICP/kernel_lge_hammerhead/commits

UNOFFICIAL AICP ROM - UPDATE 30-04-2014

https://mega.co.nz/#!OVF2HKoA!n77UbM...iltnabto8dvN2M

mega file key: n77UbMDYCY08IsOXI5cVVUgHdy-2Hiltnabto8dvN2M

Live Changelog:

http://gerrit.aicp-rom.com/#/q/status:merged,n,z
[Nexus 5 Android Development] eluspo:
Why is it that i cant change the max cpu freq, it just stays between 1.5 - 1.9ghz automatically. Tried changing it to 2.4ghz but it doesnt.
[Nexus 5 Android Development] rachanta:
[MENTION=4704871]eluspo[/MENTION] please read op and previous posts. This is not a kernel problem and people have solved it with different methods.
[Nexus 5 Android Development] eluspo:
Idk if its thermal throttle but i still cant set max freq to 2.4ghz and this is a clean install btw.
[Nexus 5 Android Development] rachanta:
Try faux clock and do read previous posts.
[Nexus 5 Android Development] stewartk:
it was deepsleeping on linear 3.2
[Nexus 5 Android Development] eluspo:
I will let it settle for a bit then will observe since this is a clean flash and i havent changed anything, i also see the gpu set @ 650 instead of 533 as stated in your op.
[Nexus 5 Android Development] rachanta:
As I have said before I get deep sleep, so I have no way to find a solution for you. In fact last night the phone was in deep sleep for many hours. You saw the screen shot.
[Nexus 5 Android Development] Ben36:
Maybe you should install better battery stats?
[Nexus 5 Android Development] rachanta:
Have you tried? It did not work on LPV81C. May be it does on B7
[Nexus 5 Android Development] eluspo:
[MENTION=1863016]rachanta[/MENTION] what do you recommend as max screen off freq? 96mhz or just leave dafault?
[Nexus 5 Android Development] rachanta:
In order for the phone to respond when you wake it above 600 MHz should be OK. By the way I could run the whole day with all functions OK with powersave at 729 MHz.
[Nexus 5 Android Development] eluspo:
I put 96mhz seems okay to me. About the powersave, do i just select the governor and just leave it?
[Nexus 5 Android Development] rachanta:
Yes, after ensuring set at boot is selected. Powersave is currently programmed to fix cpufreq at 729 ignoring all other freq settings. This address general complaints that the phone is very laggy with powersave.
[Nexus 5 Android Development] Ben36:
How would 652 mhz (or maybe even the next step down?) dual core work as a power saver option?
[Nexus 5 Android Development] rachanta:
First cpuquiet makes phone work as single core until the point a second core is required. 652 Hz may also be fine. I thought I will observe 729. The idea is to make powersave usable.
[Nexus 5 Android Development] Ben36:
I have no idea if it's possible but my idea is..

A governor where it only has 2 frequencies. 96mhz and 652 mhz (or 422 if it works) dual core hotplugged. So if you're simply reading its on 1 core @ 96mhz when you touch the screen it instantly boosts to 652 and if needed the second core comes in too giving a bit better smoothness and task handling but still a very power efficient governor
[Nexus 5 Android Development] rachanta:
New build R2.5 - under the bonnet improvements

New build is up. Please visit:

http://xdaforums.com/showpost.php?p=52078023&postcount=1

Changelog 26-09-2014 - mostly behind the scenes enhancements that should enhance cpu operations - many thanks to [MENTION=3292224]franciscofranco[/MENTION]:

Updates to random number generator, arm platform, kernel tasks scheduler, input/output memory management unit

Added workqueues to scheduler, neon multimedia and signal processing accelerator and serial peripheral interface bus driver for qualcomm universal peripheral engine
[Nexus 5 Android Development] maxstep:
Throttling

Phone heavily throttles. I couldn't find any settings which would allow me to disable the throttling or to at least raise the ceiling of throttling. I've read that some kernels allow it. Nothing in synapse, I unchecked all the thermal drivers in there to no avail. All would be good, but phone throttles without getting hot! Bad benchmark scores, and the seeming inability to raise frequencies is due to hardcore thermal throttling. It throttles on the default 2.2 while -90mv undervolted! Could you please give some feedback, include a force-off thermal throttle toggle? Very distressful. All kernel versions, past 5 betas at least for sure, including the latest 26. I tried fiddling with /sys/module/msm_thermal but it's all off by default.. Ideas? 3rd PVS variant
[Nexus 5 Android Development] rachanta:
[MENTION=259618]maxstep[/MENTION] - it could be some artefact data from some setting app. I 've not had any such problem nor had anybody complained so far

Here were my settings at the time I saw your post:

Using Faux

CPU Freq - Max: 2419, Min: 96, Governor: Slim,

GPU Freq - Max 533, Governor, Ondemand

Voltage - no undervolting - my minimum for 96MHz set at 775mV

Battery Throttling off, emmc entropy on

Fast Charging on

S2W/DT2W/S2S - All on

FSync: on

Vibration: 63%

IO Scheduler - FIOPS

Read ahead buffer: 512MB

Power Suspend: on - Hybrid

Kernel Tweaker & Trickstermod-

CPUQUIET Plug: loadstat

Synapse:

Wake - Powerkey S2W disable - on

Antutu benchmark: 34493

I would wait for more feedback on this to act ;)
[Nexus 5 Android Development] daniel84cs:
[MENTION=1863016]rachanta[/MENTION] you can add screenshot of the details to see that the maximum frequency used ..... I also yesterday I did some tests but actually has a thermal throttle too high and the bench does not exploit the full power ...
[Nexus 5 Android Development] rachanta:
[MENTION=4404203]daniel84cs[/MENTION] - Ok attached pl see. higher frequencies do get used in my case
[Nexus 5 Android Development] JahSam:
R2.6 ??

Is it normal it's write 2.6 in the tittle and the OP but still 2.5 on the download page ? :/

BTW : had some problem with low frequencies and deep sleeping but seems to be OK since the 2.4 or 2.5. Soooooo well played and thanks for sharing your work with us :)
[Nexus 5 Android Development] rachanta:
Corrected now. I loaded 2.6 but it turned out to be bad, so got back to working kernel link in a hurry. ;)
[Nexus 5 Android Development] JahSam:
:D god bless you, you and all your familly :')
[Nexus 5 Android Development] daniel84cs:
I meant the details of the benchmark, you have to go to the item details of AnTuTu, I wanted to see during the benchmark that the maximum frequency used, to see if you have problems with thermal throttle .... now if you go on history should find the details of the benchmark.
[Nexus 5 Android Development] rachanta:
[MENTION=4404203]daniel84cs[/MENTION], this is what I have in details:
[Nexus 5 Android Development] maxstep:
daniel84cs is right, antutu shows my N5 as 1.54 ghz for example. 2.5 freqs get used of course but as soon any load hits the phone if throttles.

---------- Post added at 03:06 AM ---------- Previous post was at 03:06 AM ----------

!!

how .. just how? mine shows 1.54
[Nexus 5 Android Development] PAIIITET:
Oh, another programmer, with a fake overclock GPU .....
[Nexus 5 Android Development] maxstep:
stopped throttling, need governor info

Faux clock allows to manage the throttle temp! I finally got 37k in antutu by upping the throttle temps! Thank you rachanta! Could you please explain the new slim governor? And wheatley if you've got time? Which governor is best for what? What would you recommend for daily snappy usage? For daily powersaving usage? For benchmarking? Thank you for your hard work and incredible user support!! Edit: Antutu still throttled to 2ghz actually, but it's much better than 1.5. Is there a way to raise cpu temp ceiling? Ive maxed out the battery throttle ceiling at 55 in faux clock. Thanks again
[Nexus 5 Android Development] rachanta:
[MENTION=259618]maxstep[/MENTION] that is very tough to answer. In the last few days I found that in order of conservativeness -

smartmax > wheatley > slim - Antutu of Slim is highest for the same amount of oc and uv. So possibly for normal use smartmax could be most fuel efficient.

I also found the new powersave (which I have tweaked to operate at fixed 729MHz) may be most economical. You could probably do everything other than play demanding 3D games. If I get user feedback, I can even lower this frequency to make it even more economical.

In Faux there is a note in Battery Settings, which I am sure you have read, that says that Li-ion batteries are optimised to operate below 55 C. I can possibly find the part of the code where this temp is set and tweak it, but am not sure whether it is safe.
[Nexus 5 Android Development] maxstep:
Thank you rachata!

I have a weird update - antutu throttles again. I turned phone off for 15 min even stuffed in a cold spot for few minutes - to no avail. Throttles all the way down to 1.5 from 2.419 with -60mv undervolt. Battery ceiling raised to 55. Is there a way to up the CPU throttle ceiling? I think that would do it in my case. I can't find any information regarding upping the thermal limit on CPU even in sys/dev. Tried all the governors (slim, wheatley, performance, ondemand, interactive etc while allowing the phone to cool down in between the tests)

Please advise if you have any ideas, and truly, thank you! You are an amazing and carding dev.
[Nexus 5 Android Development] MARKOZD15:
Hello!

What's the best performance guvernor to use with this kernel??

I'm using interactive but when I set max frequency to 2,2ghz, it goes back to 1,5ghz again, I've tried several guvernors but why is that? tnx
[Nexus 5 Android Development] ohad129:
Link for 2.6 please
[Nexus 5 Android Development] maxstep:
Throttling

Throttles again! I left the phone overnight in a cool spot, tested antutu at 2.4 only, UVed by 36mV, and antutu throttled to 1.5 again! Battery temp ceiling raised to the max allowed in the fauxclock app, 55 C. Please advise.. Only once did it not throttle and I got a good result, once. No clue why, that one time was in-between other tests too, so the phone wasn't particularly cool. Don't recall which governor I used sadly, GPU is/was always at 650 with ondemand.

---------- Post added at 02:00 PM ---------- Previous post was at 02:00 PM ----------

Because of throttling most likely.
[Nexus 5 Android Development] rachanta:
[MENTION=259618]maxstep[/MENTION]

[MENTION=5617999]MARKOZD15[/MENTION]

[MENTION=4404203]daniel84cs[/MENTION]

The throttling behaviour could be due to cpuquiet hotplug which has a powersaving bias in its basic design, where it is designed to switch one core at a time, only if another core is required. I once complained about low antutu scores to n3ocort3x (he has used this hotplug in n3ohammer kernel on which racer used to be based when I started off), and got a good dressing down about how Antutu was junk. Basically if you are able to play demanding 3D games without any hitch the kernel is good and Antutu does not matter.

I am still figuring this out, but at worst I may have to junk cpuquiet and grab intelliplug or any other hotplug.

About max min frequency setting, please read op and old posts in the last 5 pages. Various people have solved it in various ways and it is not a problem with the kernel.

I am working on a massive under the bonnet update R3.0, and will take a shot at hotplug change for R4.0. Meanwhile please try to play some demanding 3D game and let me know how the phone fares. As I am not into games at all (kernel building is my game :)) I am unable to say which one.
[Nexus 5 Android Development] daniel84cs:
[MENTION=1863016]rachanta[/MENTION]

In fact, the problem is only with AnTuTu, monitoring the CPU it uses all frequencies properly. I do not think is a problem of thermal throttle, it is a problem of HotPlug and as you say may be caused by cpuquiet, you should use a different technology hotplug (faux, franco, bricked) .... in my opinion definitely solve the problem .. of course I leave the word to you who are much more competent than me in terms of the kernel.

I'm sure this solved the problem this kernel on AnTuTu safely reaches 40000 points.

I forgot 3.4.104 is out......:)
[Nexus 5 Android Development] ohad129:
Where is 3.4.104?
[Nexus 5 Android Development] rachanta:
Including in R3.0 getting built now [emoji4]
[Nexus 5 Android Development] daniel84cs:
New linux patches from kernel.org

[MENTION=1863016]rachanta[/MENTION]

How about making a ROM with your kernel ... ??? I prepare the ROM and you the kernel.. :)
[Nexus 5 Android Development] rachanta:
daniel84cs - I used to do that for AICP. I had a f2fs version not offered officially. I stopped as I found there is not much value add from me. Anyone can flash a kernel in minute.

I have no problem you using my kernel source to build. [emoji106]
[Nexus 5 Android Development] daniel84cs:
OK wait for your new version and do a simple and reliable ROM and share it with everyone. The ROM is ready since I used as the base LPV 81C enhanced , just waiting for your kernel.
[Nexus 5 Android Development] rachanta:
I know your interest from bbw thread [emoji106]
[Nexus 5 Android Development] Ben36:
Performance governor I'd assume
[Nexus 5 Android Development] rachanta:
[MENTION=5617999]MARKOZD15[/MENTION] by design performance gov as Ben says.