yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] razr003:
download link

i m using bliss 3.9

i cannot find download link for 5.1.1

can you suggest me some great setting for best battery life

my phones battery drain 20% in night

and i m only getiing 3hrs sot

thanks in advance
[Nexus 5 Android Development] rachanta:
Currently there is no setting in the setkernel scripts to handle krait states.

Here is the path to C0

/sys/module/msm_pm/modes/cpu0/wfi/

You can change it manually. I will add these settings to the script.
[Nexus 5 Android Development] rachanta:
This is my last non caf lollipop Kernel:

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

I am not developing lollipop Kernel anymore.
[Nexus 5 Android Development] rachanta:
Kernel adiutor works for almost all settings except msm_limiter. I don't know any other app other than Synapse for msm_limiter.

My preference is to use setkernel script. It has almost all settings. I will add krait c states as soon as time permits.
[Nexus 5 Android Development] rachanta:
No need. Just wait for next build. I was earlier setting permissions for power efficient workqueue in init.hammerhead.rc, which is no longer used in latest Kernel zip. I am moving this control to workqueue code in an overhaul of workqueue for next build.
[Nexus 5 Android Development] rachanta:
Updates

RACER_M_20160209

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

RACER_CAF_20160209 (Correct link now)

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

Fsync enabled by default (disabled earlier, leading to very high antutu Score). Without it there is a risk of data corruption.

Common changelog

Revamped workqueue - permissions issue if any should get resolved now. powerefficient_wq permissions were being set in init.hammerhead.rc which is no longer there in kernel zip - thanks neobuddy89 and [MENTION=5116457]lol4topnz[/MENTION] for pointing out the solution to the problem.

Setkernel Scripts with Krait C-State control: https://www.androidfilehost.com/?w=files&flid=44487

Edit: I correct the above link for RACER_CAF
[Nexus 5 Android Development] willybarca:
the latest build is so smooth and fluid [emoji5] , thanx man
[Nexus 5 Android Development] jugoslavpetrovic:
Biuld is enforced but workque is fine.
[Nexus 5 Android Development] rachanta:
Racer_caf_mf_20160210

RACER_CAF_MF_20160210

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

based on :

https://github.com/myfluxi/android_kernel_lge_hammerhead/commits/cm-13.0-caf-160209.

This is ahead of official cm-13.0-caf on which RACER_CAF_20160209 is based﻿
[Nexus 5 Android Development] rachanta:
Kernel does not change the status of selinux. The ROM may be enforcing. You should be able to set it permissive. Eg, AICP has a toggle in Development Options for "crybabies" quoting [MENTION=1184673]LorD ClockaN[/MENTION] :D
[Nexus 5 Android Development] jugoslavpetrovic:
Flashed 0208 permissive, flashed 0209 enforced, flashed 0208 permissive...

I wasn't complaining that's what I have just noticed and shared if some care. The rom is enforced but in my flashing routine I also flash your zip setpermissive and after that it basically depends of custom kernel further. One more notice, not a big deal but during flashing of your setenforced and setpermissive zips, in twrp both are giving info that are setting to enforced which confused me first time cuz I was sure which one I've chosen to flash, the permissive one says that too even though it sets to permissive.

Thanks for step forward, will flash of course?

---------- Post added at 18:10 ---------- Previous post was at 17:47 ----------

Flashed 0210, workque works, permissive without changing anything to selinux. Thanks
[Nexus 5 Android Development] rachanta:
setenforce and setpermissive are not foolproof, and may not do the job. The only ROM where I succeeded in making permissive to enforcing was Temasek caf. I never did any enforcing to permissive, and I dont think anybody reported success. Now that racer kernel code has nothing to change selinux status, I have stopped bothering about the issue.
[Nexus 5 Android Development] Junnie:
i flashed latest kernel CAF build MF 20160210 when i open synape it says SSeekBar has Failed , java.lang.NumberFormatException : Invalid int.

i flashed kernel and then UKM , install synapse from playstore...busybox installed too :)

Can any help ? thanks
[Nexus 5 Android Development] rachanta:
[MENTION=4159915]Junnie[/MENTION]

Have you installed Super Su? Have you installed Busybox separately? UKM afaik installs its own Busybox in data/UKM.
[Nexus 5 Android Development] Junnie:
super su installed and rooted , busybox installed , everythings UKM need is done...then whats the problem ? :confused:

thanks for your reply devs :) awesome kernel btw ... so i just using Kernel Adiutor :laugh:
[Nexus 5 Android Development] rachanta:
[MENTION=4159915]Junnie[/MENTION]

If you had not installed Super Su and busybox Synapse would have worked with CAF ROM. I run Synapse with AICP CAF, and it works perfectly.
[Nexus 5 Android Development] eternal70:
[MENTION=1863016]rachanta[/MENTION] hey, maybe you can make a test build from [MENTION=4487443]rmbq[/MENTION] source. He has CAF kernel updated with 3.10 wifi driver. Yea, i still didn't know whether it's stable or not. You can give it a shot [emoji6]

https://github.com/rmbq/android_kernel_lge_hammerhead?files=1

[MENTION=4159915]Junnie[/MENTION] maybe there's something that ruined your init.d . What supersu version do you use ? I'm using Temasek caf and synapse is working fine. But after i use app that modify my init.d folder, it failed to set at boot.

Mye step are flashing rom, gapps, ukm first, then kernel, and the last is supersu
[Nexus 5 Android Development] :
Just like to say thanks, I'm using this Kernel now, still learning all the different settings and hotplugs but it is really fast and good on battery so far. Is there anyway to turn on fsync though? It just auto turns off everytine I enable it. Not an issue if not, I kinda like the speed :P
[Nexus 5 Android Development] rachanta:
[MENTION=5127221]eternal70[/MENTION]:

With rmbq Kernel, phone is not fully functional
[Nexus 5 Android Development] rmbq:
i used new wifi drivers for 4/5 hours and they are stable, i think [MENTION=1863016]rachanta[/MENTION] can give them a try, or i can share a boot.img this everning (in 7 hours)

what's the problem? i use it everyday xD (he is talking about kernel 3.4, not the 3.10)
[Nexus 5 Android Development] eternal70:
Is there any noticeable improvement from 3.10 driver ?
[Nexus 5 Android Development] rachanta:
[MENTION=4487443]rmbq[/MENTION] I take back my words. It boots. Everything was fine till I started viper. It rebooted immediately. I also found no caller names when receiving call from a person in my contact list. I am now adding some features. BTW, I built with UBERTC gcc 6.0.0.

Thanks for your great effort! :D
[Nexus 5 Android Development] rachanta:
There could be a problem with the code. You can try setting with my setkernel zip. Without fsync data can get corrupted.
[Nexus 5 Android Development] rmbq:
i made here a post with my kernel!
[Nexus 5 Android Development] :
Ok thanks, I'll try when I get a chance, what data can it corrupt? Can I lose SD card data or just system?
[Nexus 5 Android Development] KingVlad:
I have a request. [MENTION=1863016]rachanta[/MENTION], please. if you can and have enough time, do something with Fauxsound. It works strange. I'm on AICP nightly from 7 of March, latest Racer and I use Synapse but i face problems with sound. I know that there is an easy solution of that problem. [MENTION=4684315]flar2[/MENTION] , who develops ElementalX, has cleaned FauxSonud maybe 2 weeks ago. Can you see what he has done or do that by yourself, if you can and if you want))
[Nexus 5 Android Development] rachanta:
What problems? Can you elaborate. Ok, I'll take a look to see. flar first removed faux, applied franco sound control, reverted franco and reapplied faux and then did some clean up.
[Nexus 5 Android Development] michelD:
Dear Rachanta,

I think there is an issue with Alucard hotplug in latest versions of your wonderful kernel (at least for me in CAF versions): even when selecting a Max number of CPU=4, only 1 is active (others hotplugs are working fine).

Thanks
[Nexus 5 Android Development] rachanta:
RACER_CAF_20160214 preview

I am on a racer-caf test build where it seems to work fine. I'll post in a few hours.

Edit:

[MENTION=1484187]michelD[/MENTION] check this out please: https://www.androidfilehost.com/?fid=24415232478676684

RACER_CAF_20160214

remove msm_hotplug enabled by default

applied flar’s tweaks to sound_control with thanks

add wake lock toggles - thanks to franciscofraco

reintroduce msm_sleeper hotplug - disabled by default
[Nexus 5 Android Development] KingVlad:
Thank you a lot. I'll give it a try in some minutes. I had problems with sounds like these: different volume of frequencies like a wave of sound during listening music. I had to restart sound in Synapse. Then not applied Headphone PowerAMP. But thank you a lot for your attention!
[Nexus 5 Android Development] michelD:
Thanks Rachanta,

Indeed, Alucard hotplug seems to work fine, but very strangely, only when I activate Synapse !!??!!

If I use only Kernel Audiutor I have still the same issue: only 1 CPU actif even if Max 4 are allowed.

Any idea?
[Nexus 5 Android Development] rachanta:
Release candidates

RACER-M: https://www.androidfilehost.com/?fid=24415232478677426

RACER-CAF: https://www.androidfilehost.com/?fid=24415232478677423

RACER-CAF-MF: https://www.androidfilehost.com/?fid=24415232478677424

Changelogs: https://goo.gl/NGY0GP

Latest kernel setting scripts - to be flashed: https://www.androidfilehost.com/?w=files&flid=44487 (Open zip /set folder and edit init.settings.rc, edit to your liking and re-zip if you dont like the preset settings.) These settings will survive reboots
[Nexus 5 Android Development] Unb0rn:
Hey, [MENTION=1863016]rachanta[/MENTION]! Had an SOD today on latest unofficial CM CAF and latest Racer CAF with custom setkernel. Maybe some hints what settings are unstable? It would be great! And thank you-this kernel rocks!)
[Nexus 5 Android Development] rachanta:
Try my settings from here. Sync threshold should be disabled.

https://www.androidfilehost.com/?w=files&flid=44487

These are flashable.
[Nexus 5 Android Development] rachanta:
Racer_caf_20160219

RACER_CAF_20160219

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

Kernel base updated from latest upstream cm-13.0-caf
[Nexus 5 Android Development] Dodgexander:
[MENTION=1863016]rachanta[/MENTION] made the move to caf running temaseks unofficial cm and racer caf mf works flawlessly with synapse. Thanks a bunch!
[Nexus 5 Android Development] rachanta:
RACER_M / _CAF / _CAF-MF with CPUQUIET Hotplug for extra battery life

RACER_M_20160220

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

RACER_CAF_20160221

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

RACER_CAF_MF_20160221

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

Kernel base updated to: https://github.com/myfluxi/android_kernel_lge_hammerhead/commits/cm-13.0-caf-160220

Common Changelog:

Added CPUQUIET Hotplugging alternative framework. No other hotplug should be enabled if CPUQUIET is enabled. Normally only one core will be on, till the load increases beyond what one core can handle - many thanks to maxwen

Bundled Kernel Tweaker app for configuring CPUQUIET

Default governor for stock set to smartmax_eps

ZRAM default preset

Instructions:

Disable any other hotplug

Enable and configure CPUQUIET using Kernel Tweaker app that is bundled with Kernel

CPUQUIET is not to be used for resource intensive games. You may experience lag

Please let me know about stability and battery performance

CPUQUIET was my first hotplug borrowed from AICP ROM in RACER Kitkat. Its battery performance has never been matched by any other hotplug. I moved to Bricked and other hotplugs at the insistence of gamers and bechmarking enthusiasts.

With these builds I am revisiting CPUQUIET after a very long time. Thanks again to [MENTION=4683552]maxwen[/MENTION] the author of this great hotplug.

Edit:

Latest setkernel scripts with cpuquiet stock settings included:

https://www.androidfilehost.com/?w=files&flid=44487

disabled cpuquiet: setkernel-caf-stock and setkernel-aosp-stock

enable cpuquiet / disabled all other hotplugs: setkernel-caf, setkernel-aosp﻿
[Nexus 5 Android Development] telekenetix:
I have been using cpuquiet since yesterday (CM13-CAF). It seems to work well. Although, there is one part I'm confused about.

All hotplugs are disabled, but I don't see any place to explicitly enable/disable cpuquiet in Kernel Tweaker.
[Nexus 5 Android Development] rachanta:
[MENTION=2838467]telekenetix[/MENTION]

Go to CPU Parameters
[Nexus 5 Android Development] Eltorito94:
what is the difference between load_state, rq_stats and runnable (in cpuquiet)?﻿
[Nexus 5 Android Development] rachanta:
Governor control using runnable threads, run que stats, or CPU load stats as input for cpuquiet's built-in governor actions. Google for more. Also see changelog for more on cpuquiet technology.
[Nexus 5 Android Development] Eltorito94:
For best battery life which you recommend? anyway your kernel is the best for caf rom and im very happy with this new hotplug.. keep it up! :)
[Nexus 5 Android Development] rachanta:
Keep it all default after enabling cpuquiet.
[Nexus 5 Android Development] KingVlad:
Good evening! I've done like you said and it seems to work good these minutes) I would like to ask you I think it's not so hard if you will have time for that: i'm using my phone with left hand, because of that, please, make it possible to use sweep2sleep from right side to left too. The other direction from current. I'm wondering because I saw 2 directions in ElementalX when i was non-caf. Thanks for attention))
[Nexus 5 Android Development] telekenetix:
[MENTION=1863016]rachanta[/MENTION]

Are you referring to the checkbox next to the cpuquiet governor entry? I think that just enables or disables whether or not that setting is applied at boot.
[Nexus 5 Android Development] BlazeForth:
I need to try this kernel...!! Can anyone anyone tell me how to disable hotplugging?? Because I love franco kernel's implementation by removing hotplugging... But am now using F2FS.....so i would love to try this kernel..!!
[Nexus 5 Android Development] rachanta:
[MENTION=2838467]telekenetix[/MENTION]

To apply at boot flash settings-aosp.zip or settings-caf.zip depending on you ROM. Cpuquiet is enabled there. As such if you enable in kernel tweaker, settings will remain after boot.
[Nexus 5 Android Development] rachanta:
[MENTION=5271795]BlazeForth[/MENTION]

Hotplug are diasbled by default.
[Nexus 5 Android Development] BlazeForth:
Thank you for the answer... Lemme try...!!
[Nexus 5 Android Development] BlazeForth:
[MENTION=1863016]rachanta[/MENTION] thanx bro... Working great.... Can you help me please?!?! Can you provide settings thats best for performance and no hotplugging like in franco kernel.... Am noob at kernel parameters.... So please help...!!
[Nexus 5 Android Development] rachanta:
Stay stock
[Nexus 5 Android Development] Disrupthor:
I'm having trouble setting min/max cpu frequency in kernel adiutor. Anyone else?
[Nexus 5 Android Development] rachanta:
All RACERs updated

All RACERs updated

Changelogs: https://goo.gl/NGY0GP
[Nexus 5 Android Development] jake:
Jic ydk, Still have 21st build for link for caf and caf-mf builds. Ns if you knew..
[Nexus 5 Android Development] jugoslavpetrovic:
Yes, the link is to 21 but there are new files, look through rachanta profile on site.

---------- Post added at 21:55 ---------- Previous post was at 21:52 ----------

Can you tell us how different are governors of cpuquiet?
[Nexus 5 Android Development] Mrcactuseater:
[MENTION=1863016]rachanta[/MENTION] i know you have power_aware_wq in the kernel, but could you look at EAS, or energy aware scheduling?
[Nexus 5 Android Development] rachanta:
[MENTION=4277568]Amplified[/MENTION]

Thanks for pointing out. Corrected now
[Nexus 5 Android Development] rachanta:
RACER_M overnight battery drain 0.6%/h.
[Nexus 5 Android Development] rachanta:
RACER_CAF_MF_20160225 - upstream update from myfluxi

[MENTION=6262409]Mrcactuseater[/MENTION]

Point me to source please

Edit: found source at linaro - too far away. Closer home is flar2's bullhead repo, where he has added EAS. Taking a shot at it, but dont know if I'll succeed. Either way you'll know. I may have to wait for flar2 to implement in hammerhead.

Nope - I cant do this without a hammerhead source.

Meanwhile life goes on. Myfluxi has updated his repo again so here we go:

RACER_CAF_MF_20160225
[Nexus 5 Android Development] rachanta:
Test - 3.10 bcmdhd wireless drivers

RACER_CAF - thanks [MENTION=4487443]rmbq[/MENTION]

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

RACER_CAF_MF

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

RACER_M

https://www.androidfilehost.com/?fid=24421527759887857﻿
[Nexus 5 Android Development] Dodgexander:
[MENTION=1863016]rachanta[/MENTION] it would be nice to be able to use one kernel tuner app. Right now we have to use kernel tweaker for cpu quiet but a lot of features are missing from it unlike others. For example you can't change tcp congestion, gpu governor etc
[Nexus 5 Android Development] rmbq:
as myfluxi said in the other thread some feature are missing, atm i'm out of time but i'll add them asap.. btw they are working pretty good
[Nexus 5 Android Development] rachanta:
[MENTION=5199968]Dodgexander[/MENTION]

Use Kernel Adiutor. CPUQUIET can be enabled. It can't be tuned with that app, but it needs no tuning. You can if you like tune with the settings script zip, by altering values in the CPUQUIET section.
[Nexus 5 Android Development] jugoslavpetrovic:
Kernel Aduitor
[Nexus 5 Android Development] rachanta:
Racer_m_20160226 - test

RACER_M_20160226

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

Removed linux 3.10 wifi drivers

Changed to new reset cm-13.0 as base. Its almost the same as google source android-6.0.1_r0.14 / android-msm-hammerhead-3.4-marshmallow-mr1

This is a big surprise, and I decided to test before posting to OP. The fully developed and stable cm-13.0 kernel source has been reset by CM back to AOSP level. I had to add back cm governors and cpu-boost for all racer-features to work properly.

Please check battery life and performance.
[Nexus 5 Android Development] acat550:
Used the kernel with cpuquite tech, seems like it did nothing to increase the battery (cant say for sure as I flashed it with a new rom). Was previously running a kernel with uberdemand as my governor which netted me 5 hours of SOT which is good for my use, but the cpuquite version of racer netted my just over 3 hours of SOT. No idea why, kinda choked as i liked the amount of optimizations involved with racer kernel
[Nexus 5 Android Development] willybarca:
same here, I get less sot with cpuquit I would prefer the other hotplugs
[Nexus 5 Android Development] rachanta:
[MENTION=2482202]willybarca[/MENTION], [MENTION=4979677]acat550[/MENTION]

Which kernel M, CAF or CAF_MF gave you low SOT? It would help if you give me exact info including full name-date of kernel. CPUQUIET is not enabled by default, so you can forget about its existence and continue to use RACER as before.
[Nexus 5 Android Development] amir7777:
Hi [MENTION=1863016]rachanta[/MENTION] wanted to try your kernel and I'm using kernel auditor to configure the settings. I've seen CPUQUIET under CPU settings and it gives me 3 options:

-runnable

-rq_stats

-load_stats

Which one should I choose from those options? Many thanks in advance
[Nexus 5 Android Development] rachanta:
Keep default load_stat
[Nexus 5 Android Development] motionat:
Hi, Im new here. great kernel by the way. I just want to report that "full screen double tap to wake" seems to be enabled by default on RACER_M_20160226. I disabled it but this may be the reason why some may be experiencing more battery drain than usual. Otherwise, this is a fantastic kernel.
[Nexus 5 Android Development] Dodgexander:
Everything seems fine here running racer_caf_mf on unofficial temasek cm13. Be sure to set a wake timeout and maybe use power key suspend if you don't switch off dtw or stw wake controls.
[Nexus 5 Android Development] acat550:
I was using racer_m at the time. Coincidentally, after it was mentioned about swipe to wake being on, it was on by default. Also, you say in the op disable all hotplug for cpuquiet but under kernal auditor it shows msm mpdecsion hotplud on. I kept everything stock and flashed script settings and it was like that. Should I turn that off so cpuquiet can run?
[Nexus 5 Android Development] Bionik_kaos:
On bbw can't play video on fb but love the speed its giving on it ... Any idea ?? Works perfect on stock tried flashing it bbw and kernel and kernel after reboot
[Nexus 5 Android Development] rachanta:
[MENTION=5299111]TheDarkLegend[/MENTION] and [MENTION=4222267]Bionik_kaos[/MENTION] - There is a problem in playing videos from the net. Videos play well with my KitKat AICP + RACER, but not with BBW + RACER. I am working on it. Thanks for pointing out.
[Nexus 5 Android Development] Bionik_kaos:
You can pm me for testing if you want
[Nexus 5 Android Development] rachanta:
New build

Test build with complete reworking of voltage table:

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

Request feedback before I link it from OP. :D

[MENTION=4222267]Bionik_kaos[/MENTION] Facebook videos still don't work with BBW, while youtube videos do. haven't figured this out as yet but I hope to do so.
[Nexus 5 Android Development] Bionik_kaos:
Will test asap ... I'm at work now so after work ..... Thank you
[Nexus 5 Android Development] Bionik_kaos:
Nope sorry still having issues with video on fb and Instagram but it looks more stable tho

---------- Post added at 09:29 PM ---------- Previous post was at 09:26 PM ----------

What happens exactly is Facebook app is trying to overlay video part of the app if that makes any sense lol
[Nexus 5 Android Development] Bionik_kaos:
And also kernel tuner trickster SetCPU nofrils don't work can not change CPU speed had to switch back
[Nexus 5 Android Development] ohad129:
The version of 20140909 is Not working on Lpv dev i got a black screen
[Nexus 5 Android Development] rachanta:
Update - kernel: Racer_r1.0 20140914

KERNEL: RACER_R1.0 20140914:

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

Changelog 14-09-2014:

New voltage table with better stability of oc/uc or ov/uv. Many thanks to [MENTION=4195844]show-p1984[/MENTION]

Backlight dimmer. Many thanks to [MENTION=4684315]flar2[/MENTION], [MENTION=3292224]franciscofranco[/MENTION] and [MENTION=4950720]hottix[/MENTION]

Sorry guys still no fix for facebook videos on BBW. Strangely there is no problem with any other ROM afaik. :fingers-crossed:
[Nexus 5 Android Development] ohad129:
Is it working on Lpv dev?
[Nexus 5 Android Development] rachanta:
[MENTION=5088428]ohad129[/MENTION] - The kernel works very well LPV dev and LPV BBW as well. May need to be flashed twice to boot the first time, but works very stable including UV (I have tried -25mV). However facebook videos are not working. No problem with Youtube videos.
[Nexus 5 Android Development] rachanta:
[MENTION=4222267]Bionik_kaos[/MENTION] - Facebook videos can be played with facebook 3.9 apk:

http://facebook.en.uptodown.com/android/download/53375

This is a temporary solution while I figure out how to add something to my kernel which will activate the facebook video app picker, instead of auto play. With the latest facebook app at play store even if you do not enable auto play in facebook app settings, it does not activate the app picker.

So those guys who love RACER as well as their FB video play feature can use the apk available at the link above. ;)
[Nexus 5 Android Development] Bionik_kaos:
Very nice kernel .... Thank you for your work love speed and smoothness