yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] rachanta:
New build R3.0

RACER R3.0 for Nexus 5 ROMs:

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

Changelog 28-09-2014 - many thanks to [MENTION=3292224]franciscofranco[/MENTION] for most of this update:

Linux 3.4.104 with many thanks to [MENTION=5105835]Cl3Kener[/MENTION]

Updates to OOM KILLER (that sacrifices one or more processes in order to free up memory for the system when all else fails).

MSM(mobile station modem by qualcomm) MDSS screen video driver updated

MSM platform update

Updates to KGSL 2D/3D qualcommm gpu driver

RCU (read-copy-update) driver update. RCU data structures in the kernel allow the same data to be replicated across cores in a multi-core CPU, guaranteeing that the data will be kept in sync

RTC (Real Time Clock) alarm manager updated

Added Symmetric Multi-Processor (smp) boot driver. All cores / any core can use all the memory. During boot core 0 has access to all cpu and kernel resources

Fixed some memory leaks due to slug memory allocator

Updates to mutex exclusion that ensures that no two concurrent processes are in their critical section at the same time

Updates to futexes (fast userspace mutexes) - locks that ensure that most processor calls are attended to in user space. System calls are made only when arbitration is required between processes
[Nexus 5 Android Development] Ben36:
Rachanta, do you run huff n puff?
[Nexus 5 Android Development] rachanta:
Yes. Current daily driver B7
[Nexus 5 Android Development] maxstep:
hardcore immediate throttling

Hey rachanta, could you tell anything about CPU hotplug options - they are not configurable in either fauxclock or synapse(nothing shows up in synapse at all for this option). Also in Synapse, under thermal category what do each of these 'drivers' do? core control, vdd restriction and soc temp throttle? I tried playing around with all possible configurations and it still throttles heavily. Heavy games throttle in few minutes to as low as 1 ghz. Overclock settings are 2.4 slim -48UV, 650gpu ondemand. Phone throttles within minutes sometimes. Like 2 mintues of gameplay. Is there a way to raise cpu throttling ceiling? I understand that the battery might get damaged it it gets over 55C as you said, but what about CPU thermal level? Sorry, I know I'm a pain but this constant throttling drives me insane - it happens without any overclock as well!..

And thank you very much for your hard work!
[Nexus 5 Android Development] rachanta:
[MENTION=259618]maxstep[/MENTION] does the game slow down or stutter?

Use Kernel Tweaker. Cpuquiet shows up there and is configurable.

Edit: I am doing a build with no hotplug. After that with intelliplug. Today's effort needed me to pinpoint the exact commits leading to fb videos not playing and shutdown freeze which was a herculean task for me. I am tired and sleeping.[emoji4]
[Nexus 5 Android Development] Ben36:
I saw you use faux clock. Do you get miscellaneous battery drain?
[Nexus 5 Android Development] rachanta:
Yes but it is very low / missing if s2w is dibbled with power key for screen off when phone is set aside and not used. You need to set it in Synapse wake panel, last entry in list.

I use faux, trickster, kernel tweaker, and synapse for different things.
[Nexus 5 Android Development] Ben36:
I only experienced it since installing faux clock you see
[Nexus 5 Android Development] rachanta:
R3.0 with no hotplug

No hot plug R3.0

https://www.androidfilehost.com/?fid=23681161096071214

I havent booted with it as yet
[Nexus 5 Android Development] Ben36:
Mp decision?
[Nexus 5 Android Development] rachanta:
mp decision is not disabled. try this link. I ve refreshed the link with the correction. file at earlier link has mp-decision renamer in init.d. but the file in /system/bin is still mpdecison.bak, so mpdecision is not active as yet:

https://www.androidfilehost.com/?fid=23681161096071214

Anyway pl wait till next test build which should have intelliplug
[Nexus 5 Android Development] maxstep:
Lag, throttling and waiting. Praise caring Devs!

0.) Dear rachanta, thank you for your replies! It means a lot when a Dev himself tries to help users, I truly appreciate the effort and time you put in this basically volunteering help to the enthusiast community!

1.) Kernel tweaker does allow to tweak cpuquiet, but tbh I have absolutely no clue what to alter there heh.

I'll wait for your new builds with different hotplugging mechanism.

And yes, heavy games do lag and stutter after only few mins of playing sadly.

2.) I am absolutely sure that it would be beneficial to agree on one app to tweak your amazing kernel - the more apps users run, the more memory/cycles get wasted and the more issues/bugs you might have to deal with.

I am running faux clock(Faux123 Kernel Enhancement Pro), Synapse with UKM, Kernel Tweaker, TricksterMod Premium and franco.Kernel updater. The only unique feature I found is the battery throttling ceiling in faux clock, so mostly (i wipe that phone fully and reinstall stuff like 10 times a day) I run only it. Faux clock with raised battery throttling ceiling sometimes allows me get ~37k in antutu at 1.98 ghzx4. - Official app or advice would be good, becuase I don't see any reason in running more than one kernel management program. They might even interfere and there is definitely a performance/battery hit to running all of them.
[Nexus 5 Android Development] rachanta:
[MENTION=259618]maxstep[/MENTION] I think that is a good reason to change. The first versions of lpv based racer had intelliplug. I thought cpuquiet was battery efficient apart from being distinctive, but acting on feedback is important and gives me an opportunity to try different things. Anyway the intelliplug conversion progressing well
[Nexus 5 Android Development] Ben36:
Went back to kernel tweaker and uninstalled faux clock and no more miscellaneous drain
[Nexus 5 Android Development] daniel84cs:
I have no problem with the kernel, the battery lasts long but as said by others, the CPU finds it difficult to overcome the 2.0 GHz under load. It should not be too conservative during the benchmark and games, this is "negative" because the kernel makes higher scores than the other kernel without using the full power ... It's called Racer and has to go really strong, solved this "problem" we really Excellence.
[Nexus 5 Android Development] Ben36:
Which version are you currently using, hotplug or no hotplug?
[Nexus 5 Android Development] daniel84cs:
Hotplug, I did not understand the version that is not hotplug system uses to manage the core.
[Nexus 5 Android Development] Ben36:
I tried it. It just permanently has all 4 cores online. Faster tho because of it. Lol
[Nexus 5 Android Development] daniel84cs:
It's no good without hotplug, at least if you use it you reduce the clock of the CPU otherwise you will have exaggerated consumption. Set in 1190 MHz and you will see that you will have excellent fuel economy. But it still takes work to make sure that the kernel is 100%, when it is completed we will have performance and power consumption at the top ..
[Nexus 5 Android Development] rachanta:
Hang on guys. I've benn busy with my bread earning work but have something cooking.
[Nexus 5 Android Development] Ben36:
Are you a baker? ?
[Nexus 5 Android Development] rachanta:
test builds for R4.0

With mpdecision as hotplug

https://www.androidfilehost.com/?fid=23681161096071405

With intelliplug as hotplug

https://www.androidfilehost.com/?fid=23681161096071414

intelliplug and mpdecision cannot work together. for intelliplug to work mpdecison gets renames as system/bin/mpdecision_bck

intelliplug is supposed to be superior to mpdecision. can you verify this

The builds are not perfect. test enthusiasts welcome to test and share results please :D
[Nexus 5 Android Development] rachanta:
release candidates for testing - mpdec and intelliplug

With intelliplug

https://www.androidfilehost.com/?fid=23681161096071453

With mpdecision or intelliplug choice

https://www.androidfilehost.com/?fid=23681161096071443

Happy testing folks :cool:
[Nexus 5 Android Development] Ben36:
Is choosing intelliplug in the second option any different from the 1st one?

Edit... - OH -
[Nexus 5 Android Development] maxstep:
mirrorrs

All download links are down and I'm dying to test it out :( Can anyone/dev mirror both RC versions? UP NOW
[Nexus 5 Android Development] maxstep:
Which soft to tweak kernel

Dear Dev, which program would you recommend to tweak your awesome kernel? If you had to choose one? Thank you!
[Nexus 5 Android Development] rachanta:
For most purposes I would choose Faux Clock

Synapse,to dibble power key to temporarily disable s2w-dt2w-s2s when I don't intend using phone for some time.

I would use Display control to set gamma profile even though it is included in Faux Clock to make sure that profile does get appllied properly irrespective of status of Faux Clock

And Faux Sound to increase sound volume

Set to boot not done for any setting that I do not want a setting app to control. Set to boot done only when I want an app to control that setting.

Theses are what I am using right now. In the Synapse I don not touch any other setting other than Power Key dibble in Wake Panel
[Nexus 5 Android Development] maxstep:
Thank you for such a prompt reply!
[Nexus 5 Android Development] Ben36:
Links are working now and new builds seem good! I'm on the mp or hotplug but I have hotplug ticked
[Nexus 5 Android Development] maxstep:
Throttling

Itelliplug throttles even harder than cpuquiet and the phone gets perceptibly hotter.. What the hell google why release a phone which can't work under advertised frequencies for more than 2 minutes..
[Nexus 5 Android Development] rachanta:
[MENTION=259618]maxstep[/MENTION] - Which one, with mpdec or without?
[Nexus 5 Android Development] maxstep:
Without mpdec - haven't tried mpdec one yet, thank you.
[Nexus 5 Android Development] rachanta:
I think I will strip the kernel of all non feature commits and see.
[Nexus 5 Android Development] JahSam:
Well I'm with intelliplug eco consertative (2) CPU intellidemand from 96 to 1574 Mhz, screen off 960Mhz with -50mV; 512KB Read-ahead size, GPU max at 533 Mhz, and for me everything is fine (same batterie than before, still smooth, not hotter...)

Juste sometime when i touch the screen when he became darker after few secondes, the screen light goes full for something like 0.5sec then back to normal.
[Nexus 5 Android Development] rachanta:
In intelliplug, performance mode, with Slim gov, CPU 2418, 96. GPU 450, I got highest ever Abtutu of 35112, and surprise 3014 got used in single and multithread.
[Nexus 5 Android Development] maxstep:
Yeah, but your CPU is severely underclocked. That value is exactly what mine throttles down to, Nexus 5 is/was advertised as 2.23 GHz capable smartphone. And you are running a powersave governor, I don't.
[Nexus 5 Android Development] JahSam:
Well try some other settings, maybe you'll see it's as smooth as usual but more battery friendly and cooler. ;)

Ofc you can go up to 2.23Ghz and even more if you need, but... do you really need it ? (except if you're a gamer i'm not sure...)
[Nexus 5 Android Development] rachanta:
Planning to release R4.0 with intelliplug + mpdec in few hours. Comments?
[Nexus 5 Android Development] maxstep:
3014 GHz? Maybe my phone is defective or something? I did get 37k in Antutu once with a GPU running at 650 with the performance governor with ? governor on CPU, cpuquiet 2.6 I think version kernel, but even then it throttled from 2.4 to 1.89 GHz. Now, on 4.0 intelli (stock governor), 2.4 650 I get around 32k and it throttles all the way down to 1.45
[Nexus 5 Android Development] rachanta:
Basically the hotplug and governor decide power delivery as per need. Why not try a demanding game with performance hotplug and Slim gov?

Edit: Slim has always given me the highest benchmarks. 35000 was barrier I have never crossed with any kernel, not just racer.
[Nexus 5 Android Development] JahSam:
Will it be the same as the one in the previous post or you've made some improvements ?
[Nexus 5 Android Development] Ben36:
Mahooosive undervolting ?
[Nexus 5 Android Development] rachanta:
[MENTION=5483519]JahSam[/MENTION] will have some changes. but none to intelliplug, governors etc. An i2c commit removed earlier will come back. After that change there has been a drop in benchmark performance. May be adding back the commit will help .;)
[Nexus 5 Android Development] rachanta:
RACER R4.0 Kernel for Nexus 5 Custom ROMS - link is up

RACER R4.0 Kernel for Nexus 5 Custom ROMS:

Please go to OP:

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

Changelog 01-10-2014:

Qseecom performance boost from CAF (qseecom is qualcomm's proprietary firmware engine running in ARM TrustZones). Many thanks to [MENTION=3332811]faux123[/MENTION]

Intelliactive and Intellidemand cpufreq governors added

Performance governor tweaked to operate at a fixed frequency of 2419MHz and by pass thermal throttling

CPU Hotplug - CPUQUIET replaced by INTELLIPLUG. Many thanks to [MENTION=3332811]faux123[/MENTION]

exFAT file system enabled

Benchmark: Antutu 37842

Performance Gov

Intelliplug - Performance

UV - 50mV
[Nexus 5 Android Development] Ben36:
What governor do you recommend?
[Nexus 5 Android Development] rachanta:
Slim is what I use for normal operation ;)
[Nexus 5 Android Development] Ben36:
What's slim do? Never heard of it before
[Nexus 5 Android Development] rachanta:
Try it. Try all governors for fun.[emoji4]
[Nexus 5 Android Development] arthos7:
Nexus display control FC with latest v4.0 and the test v4.0 mpdec&intelliplug but in test v4.0 intelliplug only it's workin fine...:confused:
[Nexus 5 Android Development] XiaoBBB:
OP, I tried to flash racer 4.0 via twrp on +9001 (latest enhanced android l release), but after flash and booting up, the kernel doesn't change. Other +9001 kernels work though like arken and linear.
[Nexus 5 Android Development] rachanta:
[MENTION=4317844]XiaoBBB[/MENTION]

My mistake, there was a problem in the zip. I have refreshed the link at op. here it is for you:

https://www.androidfilehost.com/?fid=95747613655040796

:silly:
[Nexus 5 Android Development] rachanta:
R4.0 link updated just now

If the earlier zip did not work for you, please download now:

https://www.androidfilehost.com/?fid=95747613655040796

I made a mistake in zip/kernel/zImage. It was named zImage-dtb. I works sometimes, but could cause problems. :silly:
[Nexus 5 Android Development] rachanta:
Building 4.2 with thermal manager v2. Allows cores to bypass throttle.
[Nexus 5 Android Development] System of a pWne!^:
CM11 user here.

I expected a Kernel with a stable ondemand scheduler (CM11 ondemand crashes the phone time to time). I hoped for a fix for lags in Ingress (especially some super duper lags on attacks, causing the game to freeze for a second). And all I got was a super slow phone, starting about three times slower (also counts for apps). Flashing back to stock CM11.
[Nexus 5 Android Development] sinkster:
We all expect and hope for constructive feedback. If you judge a kernel within 24 hours of flashing it then don't post.
[Nexus 5 Android Development] larwindcunha:
Is this kernel compatible with sykopompos's Enhanced L preview version 9001?(b8)
[Nexus 5 Android Development] larwindcunha:
Could you send screenshots of the kernel settings optimized for best battery life. Thanks
[Nexus 5 Android Development] rachanta:
Try racerps gov or smartmax_eps governors with all cores throttled and UC -50 to -100mV.
[Nexus 5 Android Development] rachanta:
Release candidate

https://www.androidfilehost.com/?fid=95747613655041244

Changelog Oct 2, 2014:

Intelliplug cleaned up and rebased

Intelli-thermal driver for core and core frequency throttling control

All are invited to test and provide feedback.

[MENTION=2806843]System of a pWne!^[/MENTION] you are welcome to check this out. I am on CM11S latest build with ondemand gov and performance setting in intelli-plug with no reboot so far, booting was normal speed, I downloaded Ingress but don't know how to play. Antutu is 35377, which is better than performance I got on LPV.

Working well with LPV 9001.
[Nexus 5 Android Development] Ben36:
Will you stop making updates, i don't even get the chance for my battery to run out ?
[Nexus 5 Android Development] maxstep:
Don't listen to the crazy people, (/s) please keep churning out these updates!
[Nexus 5 Android Development] razrlover:
Too funny
[Nexus 5 Android Development] rachanta:
oh no
[Nexus 5 Android Development] rachanta:
N5 KERNEL: RACER_R5.0 20141003 is ready

KERNEL: RACER_R5.0 20141003:

https://www.androidfilehost.com/?fid=95747613655041584

Changelog 03-10-2014:

Thermal driver update. Full control of frequency throttling. Many thanks to [MENTION=3332811]faux123[/MENTION]

Upstream updates - many thanks to [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 5 Android Development] ohad129:
What about the memo drain? And the sudden boot?is it repair?
[Nexus 5 Android Development] rachanta:
No problems here :) Try it. No boot issues now.
[Nexus 5 Android Development] ohad129:
Im om +9001 with the latest patch no more sudden boot and stacks
[Nexus 5 Android Development] rachanta:
I am running Hammer-L-Stable-9001-Full.zip

Checkout the new thermal controls where you can switch frequency and core throttling for each core.

For stable operation throttling temperatures are to be set within Stock and Recommended.
[Nexus 5 Android Development] ohad129:
Is it by defualt set as stock ?

---------- Post added at 01:51 PM ---------- Previous post was at 01:40 PM ----------

Just adj the cpu max and min to 2265 and 96 sudden boot occers
[Nexus 5 Android Development] rachanta:
Pl check throttling temperature.
[Nexus 5 Android Development] ohad129:
I didnt mass with it at all its set for 80 and 90 as i download it
[Nexus 5 Android Development] rachanta:
I dont know why that happens, set it within range, and you should be fine
[Nexus 5 Android Development] ohad129:
And i got a lot of signs like FB stop working keyboards stops even tapatalk and again sudden boot going back to stock
[Nexus 5 Android Development] larwindcunha:
My N5 is running on L9001 rom by sykopompos. And r4.2 kernel. My phone turns off by itself. Sometimes reboots by itself. I do not known if it kernel issue or rom.
[Nexus 5 Android Development] ohad129:
Use the patch its stock rom no more sudden boots
[Nexus 5 Android Development] rachanta:
Pl follow instructions in OP. Thermal manager settings as per instruction are important.
[Nexus 5 Android Development] larwindcunha:
Which patch?
[Nexus 5 Android Development] ohad129:
https://www.androidfilehost.com/?fid=95747613655041534
[Nexus 5 Android Development] larwindcunha:
What does the test patch do? What issue does it solve? Sudden boots? And also procedure to flash it is just flashing without any wipes right?
[Nexus 5 Android Development] ohad129:
Yes to all you asked
[Nexus 5 Android Development] larwindcunha:
What's the range? Temp to start frequency throttling is set to 90 and temp to start shutting down cores is 80. Do I need to change them?

---------- Post added at 12:27 PM ---------- Previous post was at 11:59 AM ----------

Sorry was using synapse. Just figured it out with faux clock
[Nexus 5 Android Development] Ben36:
The new kernel doesn't seem to hotplug
[Nexus 5 Android Development] Ben36:
Also getting cores 1 2 3 locking at a frequency and only 0 is changing around

Smartmax

Slim

Smartmax eps
[Nexus 5 Android Development] rachanta:
New kernel has no problem. Use faux clock thermal manager.

Kernel tweaker cannot be used to set intelliplug.

Edit: Synapse also can be used
[Nexus 5 Android Development] Ben36:
Intelliplug works on 4.0 tho with kernel tweaker?

Edit - i flashed back to 4.0 then flashed 5 again and now all seems ok. Weird!

And in kernel in kernel tweaker you can set intelliplug ?
[Nexus 5 Android Development] rachanta:
[MENTION=4681015]Ben36[/MENTION], I did exactly what you did but in kernel tweaker I cant see intelliplug. Intriguing. :confused: I am happy if the kernel can be set by as many apps as possible. Kernel Tweaker is free, so Enjoy! :D
[Nexus 5 Android Development] Ben36:
Press the tab (top left) go to kernel (with the little beaker pic) and scroll down, tick the little box as well as the set on boot box
[Nexus 5 Android Development] rachanta:
[MENTION=4681015]Ben36[/MENTION] there are a next level of intelliplug settings which are visible in Faux clock and synapse. And then most importantly thermal manager can be set withe these apps. That is the key feature of this upgrade you could be missing.
[Nexus 5 Android Development] System of a pWne!^:
Well, I do not need 24h to see, that my phone was 3 times slower after the flash. Since there is a new version I will flash that and see if it is at least as fast as the default CM11 kernel (and hopefully doesn't have the lags in Ingress). But if it is again 3 times slower I will just go back to stock CM11 again.
[Nexus 5 Android Development] rachanta:
RACER 5.0 - Highest ever benchmark with 9001 + patch

Antutu 38513 - highest ever any of my kernels have achieved so far -with 9001 + patch .

May be these settings could be used to try demanding games which do not play with normal settings. [MENTION=4404203]daniel84cs[/MENTION], [MENTION=259618]maxstep[/MENTION] - invited to try. throttling problem is fully solved now with intelliplug and intellithermal ;)

Be prepared for a hotter than normal phone, but nothing to worry, if you don't run it always with these settings. I am next working on discovering best battery life settings. :D
[Nexus 5 Android Development] maxstep:
Will do, thank you rachanta!
[Nexus 5 Android Development] Ben36:
I went back to faux clock. Not getting miscellaneous drain on it now. Has it updated that I missed?

Just found my own colour profile on it too. It's soo much nicer now. Lol. White is actually white
[Nexus 5 Android Development] maxstep:
Brilliant job!!

No more throttling and the device is actually (I hereby solemnly swear) less warm than before. Go figure.
[Nexus 5 Android Development] maxstep:
Rachanta, would you recommend a governor? I researched all of them, but there is conflicting information available and you've added a few. Trying all of them out will take a few weeks of testing.. Say, best performance-wise governor , best governor for minimizing battery consumption and the best one for a compromise? Your favourite one? And thank you, the latest kernel iteration is awesome.
[Nexus 5 Android Development] rachanta:
[MENTION=259618]maxstep[/MENTION] for performance, use performance governor along with performance hot plug,

I have not yet researched best battery life governor, but would first try conservative eco hot plug, smartmax_eps gov with all freq-cores and all cores throttled.

My compromise gov in order of decreasing performance or increasing batt life - Slim, Smartmax, Wheatley. Hotplug setting balanced.

Old favourite was smartmax, current is Slim.
[Nexus 5 Android Development] larwindcunha:
Whenever I overclock or undervolt, there are sudden boots. It first lags and then reboots. Some times it keeps looping to 2 to 3 times.
[Nexus 5 Android Development] maxstep:
Weirdly, phone gets incredibly hot while charging and during phone calls. Nothing close to that degree of heat is observed during benchmarks and gaming. 9001+beta_patch and latest 5.0 kernel.
[Nexus 5 Android Development] rachanta:
Pl read op. The working range is 2419 to 96 with +/- 50 MV undervolting. Anything beyond that could be unstable.

Also check if thermal manager settings are within stock and recommended.
[Nexus 5 Android Development] rachanta:
Switch screen off with power key after connecting charger. For normal use thermal manager settings should be within stock and recommended.
[Nexus 5 Android Development] rachanta:
With smartmax_eps gov and conservative eco intelliplug and all freq and cores throttled, battery drain during overnight standby is 1% per hour.
[Nexus 5 Android Development] rachanta:
RACER inches closer to 40000

Latest Antutu from a build not yet released: 39085

Attached screen shots of settings: