yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] EnginEAR:
Sound Control Lock

Setting the Sound Control Lock (Synapse) to Enabled doesn't keep...

Any chance this is something which is wrong with the kernel or should I take this up with the Synapse gods?

Thanks in advance!
[Nexus 5 Android Development] rachanta:
[MENTION=2482202]willybarca[/MENTION]

After you mentioned the problem yesterday, I booted cm-12.1-caf official with racer_caf latest and had no issues. Since my boot loader is now hhz12k, I removed all the bootloader checking lines from updater-script
[Nexus 5 Android Development] rachanta:
[MENTION=892369]EnginEAR[/MENTION]

This is an old problem. Sometimes instead of "Enable" an additional option "1" comes up. Either way the lock does no hold. I need to lock it using Faux Sound.
[Nexus 5 Android Development] xeraphael:
Intelliplug is dead, long live Intelliplug!

I don't know if this is a weird request, but would it be okay if you merged msm_sleeper (from ElementalX) or blu_plug (a minor fork of msm_sleeper AFAICT, from blu_spark)? I'm trying to figure out how on earth is ElementalX as battery-friendly as it is, and I'm wondering if it's the hotplug module because I'm reasonably sure it's not the elementalx governor. But no worries if you don't think it's an okay thing to do.
[Nexus 5 Android Development] rachanta:
[MENTION=4485711]xeraphael[/MENTION]

AFAIK, we use Elemental's msm_sleeper, but I can check if I missed any updates, and include in the next build.
[Nexus 5 Android Development] xeraphael:
That's weird. I never noticed msm_sleeper was there - I'll reflash and check. What other hotplug modules are there, btw? Because Kernel Adiutor only shows msm_mpdecision and msm_hotplug.

Another thing while I'm at it. Default max gpu freq is 389 MHz, but even after setting the max to 450 Mhz and running the performance gpu governor, I've never seen the clock rate actually reach 450 MHz even when benchmarking - it seems to stay at 389 MHz max. I was wondering if you (or anyone else) is seeing this issue, or is it just me?

The command I'm using to change the gpu freq is this, btw:

echo 450000000 > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk

EDIT: I've found the solution for the gpu freq problem. Apparently you need another command as well to properly bump the gpu freq up to 450 MHz:

echo 0 > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_pwrlevel

Still can't find msm_sleeper anywhere though.

---------- Post added at 05:32 PM ---------- Previous post was at 04:37 PM ----------

@rachanta,

Just wanna give you a mini review of this kernel.

It's probably the best kernel for the N5 right now, and I've really come to realize this now that I'm busy reflashing and tweaking everything for Marshmallow. It's the best not because it's a flash and forget kernel (far from it in fact, performance cpu governor by default lolwtf?), but because it's the most robust and customizable one by far.

The fact that you merge so many options into the kernel, AND keep them updated with upstream patches, means that this kernel can be anything the user wants it to be. And that's a really valuable thing because I don't really see any other N5 kernel dev doing that right now, a lot of other devs have their idea of the best way to do things and either you agree with their idea or you don't flash their kernel. Which is cool, it's not a knock on the other devs, but it does mean that this kernel is in a very unique position right now. You keep the various modules, drivers, and toolchains up to date, you give the user options, and then the kernel can behave however the user wants it to. And I think this is a really great thing.

Thanks for your work, man.
[Nexus 5 Android Development] rachanta:
Max suspend frequency setting is the visible feature that comes from msm_sleeper. All its other actions happen behind the scenes.

Heres what I appropriated from flar2 (ElementalX):

https://github.com/rachanta/kernel_n5_racer/commits/racer-6/arch/arm/mach-msm/msm-sleeper.c
[Nexus 5 Android Development] xeraphael:
I'm not sure what you mean. msm_sleeper is implemented, but no tunables are exposed?

This can't be right, because if it is it would produce visible conflicts when other hotplug modules are turned on. I'm not seeing any so far, nor am I seeing 2 cores online all the time during screen on (which is how msm_sleeper behaves).

Or did you only merge the max suspend frequency parts of msm_sleeper?
[Nexus 5 Android Development] rachanta:
[MENTION=4485711]xeraphael[/MENTION]

Here are flar2's commits for msm_sleeper.

https://github.com/flar2/ElementalX-N5/commits/ElementalX-6.00/arch/arm/mach-msm/msm-sleeper.c

We have exactly the same. Synapse shows exactly the same things in CPU and ADV sections. Since we have msm_limiter as well CPU panel in Synapse looks different. I installed Elemental 6.01 to check and found no difference. ElementalX has nothing in the hotplug panel.
[Nexus 5 Android Development] xeraphael:
Thanks. Can you tell me where the tunables for msm_sleeper reside, because I can't find them anywhere with your kernel flashed. In EX, they were found at /sys/devices/platform/msm_sleeper/*.
[Nexus 5 Android Development] rachanta:
[MENTION=4485711]xeraphael[/MENTION]

As of now msm_sleeper cannot be tuned in RACER. You can try to copy the elementalx tunable files and copy paste them in the right place or create a script that will create the required files with the values, while I try and figure this out. - Hold it this is absurd, now that I know -

Edit: Thanks for pointing me to this issue that has cropped up due to a derp where msm_limiter is actually not getting compiled in racer-a and racer-6. There is no problem in racer-caf and racer-splash. There the sys/devices/platform/msm_sleeper folder files do get created. I will correct this in tomorrow's build.
[Nexus 5 Android Development] xeraphael:
Can't wait!

What other hotplugs have you merged into racer, BTW? I'm lazy to go through your GitHub to check. [emoji14]
[Nexus 5 Android Development] rachanta:
Look here: https://docs.google.com/document/d/1yiECqZ14GAiwJ7T43P-Rr6Wq2SqSVcaKouRJ9uz7Qzc/edit?usp=sharing

This is linked from OP
[Nexus 5 Android Development] pianistaPL:
Hi [MENTION=1863016]rachanta[/MENTION] Could you release a test build built with the same toolchain optimizations but with GCC 4.9? Devs say that v4.9 is the best, 5.2&6.0 may have worse performance and overall experience.

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Nexus 5 Android Development] rachanta:
[MENTION=4496256]pianistaPL[/MENTION]

The attempt here is to keep going with new stuff. Many developers say 3.4.0 Linux is best, but I want to use 3.4.109 if possible. With caf builds, we have 3.4.0, because anything else is unstable. Likewise with gcc 6. I don't see any issues with gcc 6 so would like to stick with it.

[MENTION=4485711]xeraphael[/MENTION] - OP has new racer_6 and racer aosp building with msm_sleeper issue resolved.
[Nexus 5 Android Development] xeraphael:
Not sure where you heard that from, but I'd be skeptical.

Phoronix has done some benchmarks on gcc4.9 vs gcc5.1 vs gcc6.0 (http://www.phoronix.com/scan.php?page=news_item&px=GCC-5.1-6.0-June-SVN). Granted, the results are for the x86_64 cpu that's over 3x faster than the Krait 400, but the results are measured in milliseconds.

Compared to similarly configured gcc4.9 kernels, there's no perceptible difference on my end between them and racer, nor is there a variation between cpu-bound benchmark scores that I'd call significant. In fact, on GeekBench, racer typically scores slightly higher than most gcc4.8 and 4.9 kernels I've tried.

I probably wouldn't worry about the toolchain. Unless it's SaberMod, for some reason I tend to have bad experiences with SaberMod...
[Nexus 5 Android Development] rachanta:
All Racers updated

racer-6, racer-a - msm_sleeper is now tunable

racer-caf, racer-caf-splash - upstream cm-12.1-caf update
[Nexus 5 Android Development] pianistaPL:
Racer-m still has selinux permissive, right? So we don't need to install Chainfire's modified kernel?
[Nexus 5 Android Development] rachanta:
Will remain permissive
[Nexus 5 Android Development] feav:
RACER_CAF_SPLASH_021_20151009 dont boot on latest temasek's. Stuck on google logo.
[Nexus 5 Android Development] rachanta:
[MENTION=680372]feav[/MENTION]

Is that a caf ROM. If its not, you need to use racer aosp or racer 6. Pl read op before flashing.
[Nexus 5 Android Development] feav:
Yes, its a CAF ROM.
[Nexus 5 Android Development] xeraphael:
If the CAF kernel boots just fine with CM, then the problem isn't with the kernel. I daresay you should be posting elsewhere.
[Nexus 5 Android Development] rachanta:
[MENTION=680372]feav[/MENTION]

Please send me link to OP of temasek rom. The one I saw says its CM 12.1 not CM 12.1 CAF.

I tested today's caf builds with blisspop caf, and it boots fine. I ve just done all racer builds again adding KCal latest updates, and may post builds again in an hour, so you can check again with next build.
[Nexus 5 Android Development] rachanta:
Kcal - upstream updates

Many thanks to [MENTION=4316709]savoca[/MENTION] - all racers updated again for the last time for the day
[Nexus 5 Android Development] jugoslavpetrovic:
I got tje permissive.zip flashable which I flash after rom anyway and I think it does the work no matter kernel, what do you think? I dont know where I got it but I like it more then the selinux app that does that cuz its flash and forget.

---------- Post added at 23:13 ---------- Previous post was at 22:55 ----------

Build 22 splash caf, booted ok on blisspop 4.0.3 caf build.
[Nexus 5 Android Development] rachanta:
[MENTION=6478047]jugoslavpetrovic[/MENTION]

As of now flashing racer will make system permissive irrespective of anything you flash. I think nothing else is required. If chainfire su does it, its good, but racer is self sufficient in permissiveness.
[Nexus 5 Android Development] Vega Bullet:
Didn't found a post which describes the same. Video recording doesn't work, does it?

I'm on CM12.1 not CAF. I works fine but video recording
[Nexus 5 Android Development] rachanta:
[MENTION=5906499]Vega Bullet[/MENTION]

I am on Marshmallow and I tried latest non caf kernels racer-6_009 (for Marshmallow) and racer_044 ( for Lollipop) Video recording. No problem.

You may not have a kernel issue. Try another ROM.
[Nexus 5 Android Development] Vega Bullet:
With stock kernel it works
[Nexus 5 Android Development] rachanta:
I need to check with stock cm 12.1. Anyone else with this issue?
[Nexus 5 Android Development] xeraphael:
It's been an issue for quite a few months, actually. Video recording doesn't work for me on stock cm12.1 (non-caf), both with racer-6 and racer-aosp.
[Nexus 5 Android Development] rachanta:
Problem confirmed. racer-aosp has become racer-6 because of all updating. I need to figure this out and revert something to lollipop level.
[Nexus 5 Android Development] rachanta:
[MENTION=5906499]Vega Bullet[/MENTION], [MENTION=4485711]xeraphael[/MENTION]

Update at OP:

A new series racer-5 for Lollipop / CM12.1 / Android 5.1.1

Full rebase - CM12.1 ( - Sound) + Linux 3.109 + GCC 6.00 + RACER Features

Video recording problem solved
[Nexus 5 Android Development] j.llorente:
OMG! With Racer_6_007. Intellidemand, intelliplug... Clean install Android 6.

Good job! Excellent kernel! :)
[Nexus 5 Android Development] xeraphael:
You da real MVP bro. [emoji106]

---------- Post added at 09:31 AM ---------- Previous post was at 09:10 AM ----------

sched_mc_power_savings seems to be gone. Is this unintentional or by design?
[Nexus 5 Android Development] rachanta:
I am getting reboots with racer-5. Working on improvement.
[Nexus 5 Android Development] willybarca:
There is this feature on nexus 4 kernel , called adaptive LMK , its on taurus kernel , cause even until now the phone freezes due to memory, could you see into it if its useful for our nexus 5
[Nexus 5 Android Development] rachanta:
[MENTION=2482202]willybarca[/MENTION] there are more basic reasons such as missing essentials that I am resolving. The last posted racer-5 kernel was the first after adopting a new cm-12.1 base for lollipop kernel.

Does racer-6 for marshmallow also freeze?
[Nexus 5 Android Development] willybarca:
I'm on caf , it freezes much much less, but sod issue is there once a day, but I'm fine with it, totally useable for me
[Nexus 5 Android Development] rachanta:
RACER_5_002_20151013 Major update

Update posted at OP

[MENTION=2482202]willybarca[/MENTION]

CAF- SPLASH or CAF-WAKE? I have an very occasional freeze with WAKE but none with SPLASH

Update RACER_5_002_20151013

Major update and fixes from previous racer-aosp repo: sched, nohz, tick, futex, mutex, rtmutex, slimbus, smpboot, kthread, ext4, cifs, readahead, slub, selinux, spi_qsd, epoll, ipc, ADSPRPC, cpufreq, crypto, vmscan, stop_machine, hotplug resources, neon-vfpv4, cpuidle
[Nexus 5 Android Development] willybarca:
Its wake, so it must be the dtw , I'll use the splash variant for awhile see how it goes
[Nexus 5 Android Development] Naprzod:
Hi everyone, i have a little question, for a balance between performance and battery life what's the best governor? I was between yankactive, hyper, smartmax, uberdemand and optimax. And also for I/o scheduler, I was between sio and raw. Thanks in advance

Another thing, gpu frequency is not going over 389MHz, not even with performance governor.
[Nexus 5 Android Development] pianistaPL:
Hi [MENTION=1863016]rachanta[/MENTION], what version of Interactive governor do you use in Racer? Is it the updated version from CM sources? Latest Interactive from CM CAF sources would be nice :)

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Nexus 5 Android Development] rachanta:
Yes, latest, but I am not too happy with its current tuning. I get some buffering with audio playback with Walkman plyer and Viper.
[Nexus 5 Android Development] danmaman:
Thanks [MENTION=1863016]rachanta[/MENTION]

i like your kernel ...

it has all the hotplugs governors and schedulers inside that i like and need

i'm very happy with interactive and fiops at the moment;):p:good:

cheers
[Nexus 5 Android Development] Naprzod:
Thanks for your answer, with that code you are setting min frefreq to 422mhz and max to 2,4ghz right? Did you improve battery life by doing that?
[Nexus 5 Android Development] occtec:
Hey guys I'm on XtraSmooth custom rom which has elemental X baked in. What is the best way to upgrade to racer? Do I need f2fs and permissive enabled to flash racer for marshmallow? I was going to first flash stock kernel then racer..
[Nexus 5 Android Development] xeraphael:
300 and 422 MHz use the same voltages by default, so there's no point using 300 as minfreq.

I've set interactive to not scale beyond 1728 MHz unless under heavy system load. 2419 maxfreq offers more performance when needed, but it's usually active for less than 2% of my SoT.
[Nexus 5 Android Development] Naprzod:
Thanks,

I edited it so my maxfreq is 2,2Ghz . I still have some questions

1) Do i have to erase kernel auditor in order not to change the settings?

2) Do i have to writte that on the terminal emulator everytime i reboot my phone? in case the answer is yes, i have to create a init.d scrip right?

3) This setting sets a max of 2 cores online?:

echo 2 > /sys/devices/platform/msm_sleeper/down_count_max

echo 1 > /sys/devices/platform/msm_sleeper/suspend_max_online

I'm a little lost, sorry
[Nexus 5 Android Development] hunting_:
Still same problem when screen off mobile going deepsleeeeeeeeeep blackkkkkk everytime same problem so now no more use this kernel
[Nexus 5 Android Development] xeraphael:
1) Yes. KA applies settings after a 5 sec delay, which will overwrite script settings applied via init.d.

2) Yes. Alternatively you can just look at my script and apply the settings in KA.

3) msm_sleeper will set minimum 2 cores online at all times during screen on. This is not tunable. My settings tell msm_sleeper to unplug extra cores 0.2 seconds after cpu load drops below up_threshold, and only 1 core online during screen off.
[Nexus 5 Android Development] Naprzod:
Got it. Thanks. But msm sleeper is not showed on KA so I don't know what happen there, I note that if I set that settings and then put apply on boot inKA when I reboot it apply the setting but the governor or something act different, maybe that it's not setting msm sleeper config
[Nexus 5 Android Development] rachanta:
RACER-5,6 updated - Attempt to resolve GPU OC problem

[MENTION=5053453]hunting_[/MENTION]

which kernel? I haven't had this problem in a long time.

RACER-5 & 6 have been updated. Please check if GPU OC issue is resolved.
[Nexus 5 Android Development] danmaman:
[MENTION=1863016]rachanta[/MENTION]

hi

in synapse will not applied after boot...

i've installed UKM kernal menager

but dont work on 6.0

any solution?

thanks
[Nexus 5 Android Development] rachanta:
I use synapse with marshmallow + racer-6. Absolutely no problem. Pl use ukm 3.8.1 and not special edition 3.8.4
[Nexus 5 Android Development] danmaman:
AND HOW WAS YOUR STEPS to install?
[Nexus 5 Android Development] rachanta:
My first install with Marshmallow factory image:

Boot to Bootloader

ROM through fastboot

Boot

Shutdown

Boot to bootloader

Twrp recovery through fastboot

Boot

Boot to recovery

UKM

Racer6

Su

Viper

Multirom

Boot

Google sign in

Install Busy Box

Install other apps like Synapse
[Nexus 5 Android Development] telekenetix:
Overclocking settings keep resetting

I have been struggling with getting the kernel to keep my overclock settings. I am using Kernel Adiutor because I have been unable to get Synapse to function. I am running the Cataclysm M beta ROM.

I set the maximum frequency to 2419, but after some time, upon checking again, the frequency is 2265. I have read that this is due to the MPDecision hotplugging driver. So, I have been trying to disable that. In Kernel Adiutor, I do not see the option to disable it until I run the following command as root.

stop mpdecision

Upon running that command, the option to disable MPDecision appears in Kernel Adiutor....

In my /system/bin there is no mpdecision binary, only mpdecision_bck, which is not something that I did, so I'm assuming it was either done by some app (Kernel Adiutor possibly) or my ROM. I have tried TricksterMod as well, since that has a "lock" frequencies option, but it does not seem to work either.

Any advice?

Thanks!
[Nexus 5 Android Development] danmaman:
Hmm

Weird.

But no chance to get work with Synapse
[Nexus 5 Android Development] Stinsfire420:
Not any single problem here .. How did you install it and on what device?

Sendt fra min Nexus 5 med Tapatalk

---------- Post added 17-10-2015 at 12:02 AM ---------- Previous post was 16-10-2015 at 11:54 PM ----------

Not any problems here with ukm 3.8.1 ..

Sendt fra min Nexus 5 med Tapatalk
[Nexus 5 Android Development] rachanta:
Native mpdecision is already disabled, so no need to do anything.

Synapse has msm_limiter settings that positively lock frequency settings. Please install synapse. There is no problem in installing synapse the usual way with any racer kernel.
[Nexus 5 Android Development] rachanta:
Settings & Tunings from power users

Here's a post on page 1 that acknowledges power users like [MENTION=4485711]xeraphael[/MENTION]. Thank you all

http://xdaforums.com/showpost.php?p=52078055&postcount=3
[Nexus 5 Android Development] xeraphael:
I had the same problem for ages that made this kernel unusable (minfreq kept dropping back to 96 MHz). This command is what you need, frequencies will stay nicely set afterwards.

echo 0 > /sys/kernel/msm_limiter/limiter_enabled
[Nexus 5 Android Development] danmaman:
[/COLOR]

Not any problems here with ukm 3.8.1 ..

Sendt fra min Nexus 5 med Tapatalk[/QUOTE]

synapse boot canceled every time

i've installed UKM 3.8.1 --then racer kernel ---then supersu v2.52

i set values for example to interactive ---reboot and nothing will applied

really weird
[Nexus 5 Android Development] rachanta:
synapse boot canceled every time

i've installed UKM 3.8.1 --then racer kernel ---then supersu v2.52

i set values for example to interactive ---reboot and nothing will applied

really weird[/QUOTE]

OK. I see the problem, but don't know if I can solve it. Will give it a shot along with another attempt at gpu overclocking in next build.
[Nexus 5 Android Development] danmaman:
OK. I see the problem, but don't know if I can solve it. Will give it a shot along with another attempt at gpu overclocking in next build.

and whats the problem now?

what am i doing wrong?
[Nexus 5 Android Development] rachanta:
and whats the problem now?

what am i doing wrong?[/QUOTE]

Nothing wrong from your end. I have the same problem.
[Nexus 5 Android Development] hunting_:
Racer 6 100 time clan flash I know that how to flash and everything i clean flash but overtime got deepsleep so I restart my cell :)
[Nexus 5 Android Development] telekenetix:
Thanks. Got synapse working and that seems to have fixed it. I'll try the other advice of simply enabling the msm limiter with the console command.
[Nexus 5 Android Development] rachanta:
[MENTION=5053453]hunting_[/MENTION]

Is suspend max freq at 1728?
[Nexus 5 Android Development] hunting_:
Everything flash like u everything max freq like u same setting like u :)

---------- Post added at 07:11 PM ---------- Previous post was at 07:03 PM ----------

I'm on nexus 5 and clean flash like a kernel owner :p
[Nexus 5 Android Development] rachanta:
Update racer-5 & 6 - GPU 27,100,200,320,389,450 - fixed I think

Update racer-5 & 6

added commit

GPU: idle at 27. Steps 100,200,320,389,450. Initial 450

I saw all frequencies show up in gpu current frequencies.

Please check and feedback please
[Nexus 5 Android Development] rachanta:
[MENTION=5053453]hunting_[/MENTION]

A wild thought. Try uninstalling BusyBox. The wrong one or multiple￼￼ versions can create a host of issues like I and [MENTION=4440512]danmaman[/MENTION] discovered in the case of synapse, layers, faux sound control etc. Once everything settles install Busy Box X+.
[Nexus 5 Android Development] danmaman:
Yeah guys

As rachanta wrote

Install busy box x+

Uninstall busybox by stericson through the app

Reboot

Then install other busybox

UKM, synapse, layers

All works great for me

I'm on stock Android 6.0
[Nexus 5 Android Development] holigan360:
you can provide some optimum settings for android 6.0? kernel with this wonder !!
[Nexus 5 Android Development] styago:
Busy box costs 10+€?? Harsh.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Android Development] rachanta:
CAF Updates - GPU

Google for BusyBox X_vX 30.apk

Updates linked from OP:

RACER-CAF and RACER-CAF-SPLASH GPU Frequencies overhaul

GPU: idle at 27. Steps 100,200,320,389,450. Initial 450
[Nexus 5 Android Development] LeBaldi:
My Synapse dont work... only get "No UCI Support detected"... I've downloaded de BuseyBox X+... uninstalled the previus one from Cataclysm... and nothing... any more tips? :(
[Nexus 5 Android Development] rachanta:
Install ukm 3.8.1
[Nexus 5 Android Development] LeBaldi:
Thx a LOT! Now working perfect :D:good::good:

And great kernel... I'm using for 2 days with stock setting and have the best battery i've had! :D
[Nexus 5 Android Development] hunting_:
I want to flash aicp with this cute baby kernel ?

How can I flash step by step :( want fresh flash :(
[Nexus 5 Android Development] rachanta:
This is what I would do:

Wipe system, cache, dalvik, data

Install AICP non caf, 5.1.1

install latest TK Gapps

Boot

Google sign in

Recovery

Ukm

Racer-5

Su 2.50

Boot

Busy box x+

Boot

Synapse

Set synapse

Boot

Other apps
[Nexus 5 Android Development] hunting_:
Boss I want to use Racer 6 with AICP 5.1.1
[Nexus 5 Android Development] rachanta:
You can. Video recording may not work.
[Nexus 5 Android Development] hunting_:
Hmm thanks bro :)

---------- Post added at 11:57 AM ---------- Previous post was at 11:09 AM ----------

Everything flash but when I install busybox x got error app not install any help bro :)
[Nexus 5 Android Development] rachanta:
First install Busy Box Ericson

Open App and Uninstall any previous Busy Box

Reboot

Run Synapse (is the setting survining reboot?)

Start using phone

If any app complains of missing Busy Box, install BB X+