yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] rachanta:
New releases - AOSP and CAF

RACER_024_20150515

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

RACER_CAF_011_20150515

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

AOSP Changelog - RACER_024_20150515

More hotplugs - msm_frequency delimiter, intelliplug, msm hotplug; basic msm hotplug from myfluxi enhanced with io_is_busy interface; msm_mpdec hotplug replaced with bricked_hotplug ( a squash of msm_mpdec)

get_cpu_idle_time removed from code of various governors and now added to cpufreq module

Update - cpufreq_interactive - now updated to with cm-12.1 level

cpu-boost added, mpdec_inputboost removed

msm_rq_stats module updated

scheduler updated

CAF Changelog - RACER_CAF_011_20150515

Removed zzmove cpufreq governor that was causing RRs

Update - cpufreq_interactive - now updated to with cm-12.1 level

cpu-boost added

msm_rq_stats module updated

cm-12.1-caf upstream update

thermal driver - intelli-therm v2 added with many thansk to faux123

overcloking cpufreq to 2572 MHz
[Nexus 5 Android Development] willybarca:
Mate, you are our hero, I love your caf builds, how can I donate
[Nexus 5 Android Development] rachanta:
Paypal link at op
[Nexus 5 Android Development] Fransis88:
that recomend setting for maximum battery saving even some sacrifice in performance? currently led governor "smartmax eps" Zen and hotplug msm mpdecision of showp1984, AICP caf ROM version.

Thanks

Enviado desde mi Nexus 5 CAF mediante Tapatalk
[Nexus 5 Android Development] rachanta:
RACER_CAF Overclocked - 2880 MHz - Test and find phone's limit

Source: https://github.com/rachanta/kernel_n5_racer/commits/racer-caf-test

Build: https://www.androidfilehost.com/?fid=23991606952604085

Max cpufreq 2880 MHz possible, but we need to check what the highest stable frequency is and it may vary for people.

Users can check and let me know what your speed and pvs are so that I can include overclocking is possible in your pvs - speed table. My phone has speed1, pvs3 bin.
[Nexus 5 Android Development] Dr.Pepper:
When i set 2.5gghz on latest caf version,my phone freezes every few minutes and reboots itself!

I think,its better to delete OC at all to bring better stability)
[Nexus 5 Android Development] rachanta:
That's the same case with racer aosp. I run that at 2649, anything beyond that is unstable, but some users could take it to 2880 and beyond. I suspect same with caf, so I'll let users determine their limit. The choice is there.

BTW it took me while to figure this uncharted course out, so I won't let go so easily. Lol! ;)
[Nexus 5 Android Development] montbazon:
I'm using 2.5ghz for now and it works very well. No reboot and no subtle. I love OC.

But I have experienced reboot when I try to change voltage. Without that alles good.

I'm on cm12.1 CAF and I did use kernel adiutor.

Thanks for your masterpiece.
[Nexus 5 Android Development] FunkyRasta:
Had a SOD on 24 AOSP build, posting kmsg in case anything has changed , it got a little corrupted https://drive.google.com/file/d/0B1HaxfvSV_XkV1FLaEtwalJjTDQ/view?usp=sharing
[Nexus 5 Android Development] willybarca:
why don't you use faux's turbo boost, it goes to 2888 for all pvs types, my phone freezes after 2572 with other kernels but not a single reboot using his kernel,
[Nexus 5 Android Development] rachanta:
Good idea, I ll try
[Nexus 5 Android Development] rachanta:
[MENTION=5106530]FunkyRasta[/MENTION]

If you are using mpdec hotplug, what is your idle freq. I set the default to 422MHz, but it can get changed. > 422 MHz may be better.
[Nexus 5 Android Development] rachanta:
[MENTION=2482202]willybarca[/MENTION] . I tried that, but its not an option, because we cant remove cpu-boost that many other things depend on, including stock governors. I think ultimately, it would help in restricting to one hotplug. Franco has customised eveything to use touchboost. From that point of view msm_hotplug and intelli-plug should be most compatible with cpu_boost than mpdec.

Edit:

I am running racer_caf with 2803 and msm_hotplug to see what happens. As of now from the code, the caf can go up to 2899 at the most, but I have limited it 2803.
[Nexus 5 Android Development] rachanta:
RACER_025_20150516 - test build

Build: https://www.androidfilehost.com/?fid=23991606952604757

Source: https://github.com/rachanta/kernel_n5_racer/commits/racer-test

Pl see if does any better on SODs, RRs etc
[Nexus 5 Android Development] neoandresk:
Is this stable version?
[Nexus 5 Android Development] rachanta:
For the last 90 minutes. Needs dalvik and cache wipe, as the change from previous is major.
[Nexus 5 Android Development] neoandresk:
Too late. I had dirty flashing an hour ago..

No problem at all. Thx
[Nexus 5 Android Development] ChongoDroid:
Love the hotplug options, very cool.
[Nexus 5 Android Development] rachanta:
New build at OP

AOSP Changelog - RACER_026_20150517

revisited frequency-voltage table; added defconfig and kconfig hooks for underclock and overclock

Edit: This is freq-volt is different from test build posted last. We are back to flar2's values of previous OP releases. The defconfig and kconfig hooks are under the hood features
[Nexus 5 Android Development] rachanta:
All credit to [MENTION=3795148]neobuddy89[/MENTION]
[Nexus 5 Android Development] neoandresk:
Love this kernel.. Alot of choice for gov and io..Im using kernel auditor and i can not uc. It is always go back to standard freq 2.200. Except for the ubermand gov..i hope u understand what i mean. Tq
[Nexus 5 Android Development] rachanta:
[MENTION=4107421]neoandresk[/MENTION]

I am able to set all frequencies and governors with adiitor, but in any case you should use synapse to set freqs and governors of each core separately. Pl search for synapse in this thread and visit:

http://xdaforums.com/android/software/zip-synapse-script-universal-kernel-t2736986

Synapse app comes from play store. UKM 3.8.1 from above link. You also need Chet Kener's permissive patch for f2fs kernels.

You can visit:

https://www.androidfilehost.com/user/?w=settings-dev-files&flid=14089

for both ukm and new f2fs permissive patch.
[Nexus 5 Android Development] ianoob:
The test from yesterday is awesome, I tried turning off all the hotplugs and my phone is loving it. 300min, 2.5max, smartmaxesp, absolutely no lag
[Nexus 5 Android Development] rachanta:
Choice is a key value for both racer aosp and caf. You try different things and settle for what works best. Today's release has 2694 freq, which is my favourite max cpufreq, that was missing in n the test, that had a freq-volt table lifted straight from Cl3Kener. Today's has the best of both flar2's finetuned values in Chet's structure that has oc-uc hooks.
[Nexus 5 Android Development] ianoob:
Exactly why I use your kernel. I'm flashing today's shortly, thank you.

Any news on why ZZmove was broken? It sounds interesting with as much music as I normally listen to
[Nexus 5 Android Development] rachanta:
I am a fan of ZZ Top myself, but move turns out to be a dud for me. :laugh:

I took it lock stock and barrel from neobuddy89's lollipop-caf git hub repo. No problems in merging or compiling, but it created freezes in both the caf and aosp builds. I dont know if it works in neo's chaos kernel which I havent tried.

Btw talking about music you guys should try racer_caf out. Its music reproduction is a class apart. You'll never use aosp again if you get hooked. ;)
[Nexus 5 Android Development] rachanta:
New CAF update at OP

CAF Changelog - RACER_CAF_011_20150515

overcloking - align visible frequencies (qcom,cpufreq-table) with my pvs speed / bin (qcom,speed1-pvs3-bin-v0)

if users let me know their pvs speed and bin, I can code for other pvs tables too; right now overclocking is only for speed1-pvs3-bin

Important Note: I would need to know your speed and pvs bin to get you overclocking if you dont find it in the kernel.

Unfortunately the info in synapse and adiutor do not show this info for a caf kernel. For aosp kernels synapse definitely shows this info

use these commands from terminal or adb shell:

shell@hammerhead:/ $ su

root@hammerhead:/ # cat /proc/last_kmsg | grep acpu

and post your output please

Edited (2880 MHz gave me SOD)

I am right now running overclocked at 2572 MHz. No problem so far. But this time I am not so sure. All these overclocking builds are experimental and I have posted in OP basically to get more feedback. If you have any problem return to stock values of 300-2265 MHz and report please.
[Nexus 5 Android Development] FunkyRasta:
Wanna test CAF now as I installed AICP CAF ROM. Could you mirror it ? It seems androidfilehost is having some problems :/
[Nexus 5 Android Development] rachanta:
Welcome. There could be problems. Read the note at OP about known issues, just below the link.

My google drive copy or latest build:

https://drive.google.com/file/d/0B7ih1FLEwU05SXIzVTR5eEdhRGM/view?usp=sharing

use stock frequencies if toverclocking causes problems.

[MENTION=5106530]FunkyRasta[/MENTION] (again in case you missed this)

Edit: I am uploading the antidote for this poison, the stock CAF, that you might need to recover if you get a stubborn freeze.

CAF Stock kernel

https://drive.google.com/file/d/0B7ih1FLEwU05U1l3OVpEaGhLb0k/view?usp=sharing

https://www.androidfilehost.com/?fid=23991606952606084
[Nexus 5 Android Development] rachanta:
Edit: I am uploading the antidote for this poison, the stock CAF, that you might need to recover if you get a stubborn freeze.

CAF Stock kernel

https://drive.google.com/file/d/0B7ih1FLEwU05U1l3OVpEaGhLb0k/view?usp=sharing

https://www.androidfilehost.com/?fid=23991606952606084
[Nexus 5 Android Development] rachanta:
I'll include the native hotplug as well in the next build.
[Nexus 5 Android Development] ianoob:
I'm hooked on Cataclysm still, so solid. I keep downloading CM and AICP, but never flash lol.
[Nexus 5 Android Development] FunkyRasta:
Shiiiiteeee :D On latest AICP hammerheadCAF nightly it just reboots right after bootlogo and keeps loooping , no kmsg either :/ Gonna try catch some logs or sth.
[Nexus 5 Android Development] ianoob:
I'm actually enjoying running with all 4 cores always running lol
[Nexus 5 Android Development] FunkyRasta:
It is actually not bad idea, thats how nexus 6 runs. More cores on = cores are running at lower frequency = not much higher battery drain or even less, when using good governor . Tested it myself. However without Hotplug you can not restrict it to only one core on when Screen is off, which drains battery unnecesary.

[MENTION=1863016]rachanta[/MENTION] here is the kmsg of racer CAF failing to boot on AICP CAF https://drive.google.com/file/d/0B1HaxfvSV_XkajhnNGhHVjB3b0k/view?usp=sharing
[Nexus 5 Android Development] ianoob:
Very true, but my phone is never idle while I'm awake.... I stream 10hrs of music a day, let fit do it's thing, etc. In my case, I don't need a hotplug :p
[Nexus 5 Android Development] rachanta:
[MENTION=5106530]FunkyRasta[/MENTION] before I take a look at the log, racer_caf will not work as primary ROM. As secondary, it will work without bootanim or aicp is upgrading. Phone will go to sleep after the processes are completed. Wake it up with pwr-key and enjoy.

Edit:

I honestly dont know why you get into a bootloop. I hope you are using tasssadar's latest twrp and multirom.

First install the caf stock kernel to the caf secondary and boot as secondary

then install racer_caf

The boot log shows some issue with intelli-therm driver which I will replace with franco thermal solution if possible
[Nexus 5 Android Development] Dreamliners:
Can someone tell me how to f2fs on caf?

After many failed attempts, I decided to do everything from the beginning and here is what I have done.

1. Apply factory nexus firmware

2. Install caf recovery (unofficial twrp 2.8.6.1)

3. Change partition to f2fs on data and cache and format system to ext4

4. Reboot and move necessary zip files via mtp

4. Install cm-12.1-20150517-NIGHTLY-hammerheadcaf.zip

5. Install NEW_F2FS_Support_Patch_Permissive.zip

6. Install RACER_CAF_013_20150517.zip

(Skipped Gapps to be sure)

7. Reboot and leave the phone for 30 mins.

The result is still a black screen with the backlight on. Any suggestions?

Man, I used f2fs during kitkat era without any problem and now I feel like I am an idiot...:confused:
[Nexus 5 Android Development] rachanta:
currently racer_caf can work only as secondary; bootanim is missing

i use latest normal twrp from:

twrp: https://github.com/Tasssadar/Team-Win-Recovery-Project

multirom: https://github.com/Tasssadar/multirom/tree/master

While you are on your primary with the caf rom zip and other zips in the internal sdcard, enter twrp

install hammerheadcaf rom, gapps, permissive patch, racer_caf kernel, ukm, su and any other zip you want

in advanced wipe, format cache and data to f2fs

boot as secondary

wait till boot and android upgrading is complete (a backlit black screen will be there all the while)

backlight goes off

phone sleeps

wake up with pwr-key

I havent actually tried f2fs with racer_caf so I am eager to know if it works
[Nexus 5 Android Development] EnginEAR:
Kernel Settings

Hi,

I installed the CAF version of RACER kernel on my phone (see signature for details).

Used the terminal to switch SELinux to Permissive (su setenforce 0).

When I open Synapse I get a "No UCI support detected." message; and the recommended "Kernel Auditor" just shows me a splash screen with a nice spinning sprocket animation, but nothing more...

Anybody know how to get either (or both) to work?

Thanks in advance!!
[Nexus 5 Android Development] rachanta:
Look a few posts behind for left links. You need ukm.
[Nexus 5 Android Development] mariio85:
Loving this kernel but since build 018 i'm facing audio problems such as low system sounds and bad audio quality for some ringtones, as is my speaker was faulty [emoji16]

Is anyone experiencing this as well?

However keep up the good job rachanta! I'm loving your kernel [emoji4]
[Nexus 5 Android Development] cocchiararo:
have you checked at the end, that cache/data remain F2FS?
[Nexus 5 Android Development] rachanta:
There should be a marked improvement in music clarity. For volume use fsux, synapse or Adiutor to jpump it up.
[Nexus 5 Android Development] dox81:
Even if we set the volume higher with some app, we still don't get the level of loudness compared to stock. Also we get distorsions if we increase the volume with more than 5-6db. There is definately an increase in quality but also a terrible decrease in speaker loudness. It's a show stopper for some users, since the speaker in the nexus 5 is already pretty poor quality.

[MENTION=1863016]rachanta[/MENTION]

I don't know the implications, but is it possible to have a kernel version without caf sound? This only if it's not a big headache. If not, there is no problem, we'll stick with racer in the way that is now.

Thanks again for your hard work.
[Nexus 5 Android Development] michelD:
[/COLOR]

Thanks FunkyRasta, I feel a lot less alone now.
[Nexus 5 Android Development] rachanta:
RACER_027_20150519 - Loud sound restored

RACER_027_20150519

Pl visit op for link: http://xdaforums.com/showpost.php?p=52078023&postcount=1

Changelog:

cm-12.1 sound updates removed - loud sound is back - feedback on whether sound volume is now satisfactory or not will be much appreciated
[Nexus 5 Android Development] dox81:
Thanks for this version. On my end seems ok now: as loud as it can get. I'll let you know if any problem will show up. :highfive:
[Nexus 5 Android Development] rachanta:
Caution with F2FS Permissive patch

For the last two nights I have been sleeping with the secondary CAF rom active. I wake in the morning to find that the primary AOSP rom is active. The CAF went into SOD and afetr some time rebooted itself, and then I have primary running. Lucky that the AOSP racer is stable, or I wouldnt have got up in time to get to work on time as I heavliy dependent on the alarms from the phone.

In last_kmsg logs, I found that that kernel panic occurred because there is no f2fs partition. The f2fs permissive patch as you may know modifies fstab.hammerhead. When you run this patch without an f2fs cache or data partition, there is a possibility of first SOD followed by RR. To make your ROM permissive use SELInux Mode changer or do it from within Synapse/Tools.

Edit: LOL After taking care of this I again got a SOD with my latest racer_caf build, where I have removed oc and intellitherm. I wil now check with msm_mpdec hotplug. So far I used msm_hotplug.
[Nexus 5 Android Development] holigan360:
To that overheating Mobile is? and why I love this kernel ...
[Nexus 5 Android Development] pandza88:
Well the only reason I didn't used racer till now is solved. That's my feedback to new sound :). Really satisfied now, thank you.
[Nexus 5 Android Development] dox81:
[MENTION=1863016]rachanta[/MENTION]

CPU minimum frequency value do not stick. I set it to 300 mhz and after a while it goes back to 96mhz. Using goold old pegasusq governor. I tried with kernel adiutor and 3c toolbox.
[Nexus 5 Android Development] rachanta:
[MENTION=5015908]dox81[/MENTION]

Have tried setting the freq limiter in synapse?
[Nexus 5 Android Development] rachanta:
Racer_caf users can try setting boost and input boost times to 2500 ms if you encounter SOD
[Nexus 5 Android Development] mariio85:
Thank you mate, now i'm 110% satisfied :D

Sound is back to normal :)
[Nexus 5 Android Development] willybarca:
the constant SODs are fixed after enabling input boost with caf builds, thanx for the tip
[Nexus 5 Android Development] rachanta:
Unfortunately I was on caf before I slept, but woke up with aosp. I am trying to see if i can eliminate all current hotplugs and have msm_mpdecision and bricked thermal in their original showp1984 versions.
[Nexus 5 Android Development] Mranggapo:
sir rachanta, can you add intelli_thermalv2 as a thermal throttle ?

i know for some of lazy guys (like me) just want to choose and run while bricked thermal require a lot of tweaks and everything

just my suggestion thanks :D
[Nexus 5 Android Development] FunkyRasta:
Well you dont really have to fiddle with settings, stock are good, maybe too hot a litlle. Anyway, you have my settings posted in first page of this thread, copy them and you are ready to go cool and fast ;)

---------- Post added at 06:48 PM ---------- Previous post was at 06:46 PM ----------

As far as nexus scene goes... Nothing better than bricked hoplug ever existed IMO [emoji14] In case I missed something, what causes Racer CAF to be working only as secondary ROM, quite unique I would say ;)
[Nexus 5 Android Development] Mranggapo:
i already read your settings since android 5.0 sir :D kudos to you

but im too lazy to tweak it hahhaa -_-

i will try it now (again)
[Nexus 5 Android Development] rachanta:
[MENTION=5106530]FunkyRasta[/MENTION] any luck with caf. Your problem is intriguing, because I am usually in sync with user reported issues, and do find out if I have it, and very often I do.
[Nexus 5 Android Development] FunkyRasta:
Sorry for lack of the updates ! I had a busy week, so I sticked with stock CAF kernel from AICP. My issue was caused by me because I didn't read that I have to set it up as a secondary ROM, sorry ! Perhaps in the evening I will have sometime to fiddle with multirom ;)
[Nexus 5 Android Development] rachanta:
RACER_CAF Updated

RACER_CAF Updated

Pl visit OP

Changelog: cm-12.1-caf upstream updates
[Nexus 5 Android Development] rachanta:
RACER_CAF users pl note. Native mpdec (first hotplug option) is the fall back in case other hotplugs cause sod or rr. Other hotplugs need tuning to work properly. I am working to see if it is possible to preset the hotplugs. Intelliplug so far has worked well with no sod/rr.
[Nexus 5 Android Development] cocchiararo:
I wonder why the boot screen is broken with your kernel.

On the SOD/RR issue, cm 12.1 caf stock kernel has them, so, dunno how guilty you are of them.
[Nexus 5 Android Development] rachanta:
Dt2w implementation or Boot animation. I had to make a choice. According to neobuddy89, the mdss code for caf and aosp is very differently. Even savoca has looked at the code of a specific function called mdss_dsi_panel_reset(), where the dt2w code interacts with bootsplash. No solution so far. I need help here.

BTW there is no sod/rr so far if native mpdec is enabled. Bricked, intelliplug, msm_hotplug all have issues, and I am planning to remove them in the next release.
[Nexus 5 Android Development] willybarca:
I've been on bricked hotplug for the past 3 days and not a single sod or reboot , but I've been using the input boost else it would reboot every hour or something
[Nexus 5 Android Development] rachanta:
What are the hotplug and cpu-boost settings? BTW I have made a racer with full msm_mpdecision along with its own input boost, removing cpu-boost completely, but it no where close to native, minimal mpdec. All hotplugs in their current tuned state cause lag, and wake issues. I am currently with a test kernel that has cpu-boost, native mpdec and bricked thermal. Its running like a charm. I'll release it as stable, fluid and fast build.
[Nexus 5 Android Development] or965:
Hi, you will remove the cpu-boost and Intelliplug only in caf ?

I using Intelliplug ,cpu-boost and I didnt have single sod or lag ,I using it for week.
[Nexus 5 Android Development] j.llorente:
I don't have RR with intelliplug. And here is my last cycle (img) and here is my last configuration.

I don't have lag, but with intelliplug and intellidemand hybrid kernel (neobuddy89) is more fluid, but the battery drain is much higher. Antutu 38647 with racer and the following configuration.

CPU: max freq screen off 960, suspend max freq 960. Wakeup unabled. CPU multicore power saving aggresive. CPU Input boost (all) disabled. All Intellidemand default tune.

HOTPLUG: Intelliplug 5.0 Enable ,profile conservative 4. Cpus boosted 2,.

CPU VOLT:Las 3 primeras a 750, lo demás tal como está para evitar problemas de lags y de no despertar.

I/O: bfq 2048

GPU: default

GAMMA: Backlight dimmer 7

BUILD.PROP: Wifi scan interval 30s
[Nexus 5 Android Development] rachanta:
Are you using racer_caf or racer_aosp?
[Nexus 5 Android Development] rachanta:
[MENTION=4452182]j.llorente[/MENTION]

Could you please post screen shots of your cpu and hotplug settings, so that I am fully clear. I knew intelli was working better, but your tuning seems to have helped.

The two most significant things you have done are:

Disabled input boost (for all 4 cores it was at 1457)

MSM Limiter suspend freq 960 (Mine was at 1728)

Of these settings the msm_limiter setting is the one that is common across hotplugs.

I suspect that with these settings all hotplugs may actually work fine. Is cpu-boost actually redundant hot air? LOL
[Nexus 5 Android Development] willybarca:
I'm using interactive, input boost 500ms, cpu0 boost freq 1190, disabled the other three cores boost, unchecked load based sync and hotplug boost, enabled wakeup boost, show-p hotplug with idle freq upped to 1728mhz, disabled dt2w completely as I have noticed some battery drain while sleep, even though I used power key suspend all the time to test it, uncheck gentle fair sleeper and enabled arch power , by the way I use interactive for core 1 and 2 and conservative for 3 and 4,
[Nexus 5 Android Development] rachanta:
racer_caf did not have max screen off freq setting interface. This is giving me a sense of what could be going wrong.

There is build I am testing with following defaults set in the code:

msm_limiter-suspend max freq=960

max screen off freq=960

bricked_hotplug: idle freq=422

So far so good. :fingers-crossed:

Will post results with different hotplugs enabled.
[Nexus 5 Android Development] j.llorente:
Here the screenshots. I'm using racer_aosp (I love your kernel!). If I enable cpu boost I have lag. You can see mi configuration following. I change the screen off freq and msm limiter suspend freq (doing changes for better :))I hope help you. I'm trying to tune the kernel to obtain your kernel as smooth than hybrid. The 'trick' with intelliplug and intellidemand is a ramp down very fast. If I don't touch screen a few moments, cpu is: CPU0 96Mhz and CPU1,2,3 Disabled.