yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] Dodgexander:
Thanks. Sadly there isn't an option anymore to avoid installing the Busybox installer. Busybox doesn't come pre installed, only the installer. Usually if you need Busybox you use the installer after boot but I've tried a fresh install and just using the bundled version in racer kernel instead. Sadly it still doesn't work. If it is something about cataclysm is there anything that will help posting in the rom thread?
[Nexus 5 Android Development] rachanta:
You can check by searching cata thread if it is still an issue. I'll have to download cataclysm and see what happens. You can install cata without racer and see if there is a problem with synapse. If there is, posting in the thread may help.

I haven't seen synapse settings not sticking ever since I did my small mod in the kernel to ensure that the system busybox and ukm busybox are the same, after I found that it solves the synapse settings issue. Ukm is very fussy about bb version. For me Busybox X+ binary always worked, provided no other version exists in the system.

[MENTION=5199968]Dodgexander[/MENTION]

I didn't know that cata can be installed without aroma. May be things have changed. Haven't checked out cata in a long time
[Nexus 5 Android Development] Dodgexander:
Okay, thanks. Cataclysm does come with aroma still, just there's no option to include the busybox free app or not anymore.

[MENTION=1863016]rachanta[/MENTION] Alas, synapse doesn't have the same problem with cata stock kernel and Busybox installed via the bundled app. As soon as I install racer the problem starts. Searching for synapse or racer in the cata thread doesn't help either.
[Nexus 5 Android Development] perobot:
Some way to leave the kernel (permissive)
[Nexus 5 Android Development] Kzeran:
Hi , times to times i have wdogbite reboot . here is last kmsg

http://pastebin.com/KPhnNNtZ
[Nexus 5 Android Development] rachanta:
[MENTION=5629080]Kzeran[/MENTION] - I never had this problem in the 24+ hours I ran that kernel. Try wiping dalvik and cache. You should not get more than one rr.
[Nexus 5 Android Development] R4e:
Is it me? I'm keep getting bad gateway for racer caf when attempting to download.

---------- Post added at 01:31 PM ---------- Previous post was at 01:18 PM ----------

Never mind, It's working now
[Nexus 5 Android Development] rachanta:
Everybody wanted enforcing, because of its promise of security. Now I make an occasional permissive build when I get time, if someone is very persistent.
[Nexus 5 Android Development] jugoslavpetrovic:
I understand, and you said it in op that you are making this kernel for yourself primary and decided to share it with others, and thats why Im not being persistent or demanding for whatever of my personal needs, but I do prefer permissive builds and thanks for that, really do appreciate it. What kind of security we are talking about when it comes to selinux mode? Personal infos, hacking devices remotely, steeling account logins or something else like apps having ability to do more on system. Im asking cuz sometimes some apps are not acting well with enforcing it seemed to me, like root was not quite responsive on some tasks, cant really tell.
[Nexus 5 Android Development] perobot:
Some mods need the selinux in permissive mode not only (viper4android) which is not a bad mod I used it for a long time but for those who need mods permissive SELinux is a big problem currently not install viper, use (biquads of chdloc's) .

The question is there any way to let (permissive) unfortunately delete versions permissive and enforce racer must go to ElementalX still allowing SELinux mode is selected but can not change many parameters as racer.

Support permissive versions racer to wait for now to change core is appreciated.
[Nexus 5 Android Development] rachanta:
RACER_6 & RACER_CAF Updated

RACER_6_20160126

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

RACER_CAF_20160126

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

Common changelog:

msm: vidc: making qos_request variable per instance

SELinux neutral - It should not change the status and the selinux status of the ROM should get preserved.

Kernel will not install any ukm fix (busybox in /data/UKM) or its own version of busybox in /system/xbin

[MENTION=5199968]Dodgexander[/MENTION] - the synapse settings not holding after boot is resolved - please check
[Nexus 5 Android Development] jugoslavpetrovic:
Thanks a lot for neutral build, so now it easy and possible to change selinux mode to what is needed. I guess its tje right way to go. With enforced, for example, I couldnt disable autoboot for apps in clean master. Flashing your selinux set zips now do the job done.
[Nexus 5 Android Development] telekenetix:
[MENTION=1863016]rachanta[/MENTION] I finally got a chance to try it out.

Having Bluetooth switched off, you would not see the issue.

I wrote N to /sys/module/wakeup/parameters/enable_bluedroid_timer_ws and /sys/module/wakeup/parameters/enable_bluesleep_ws. After doing that I see a similar BBS to what you posted. However, the battery drain is still not so good. The phone was 100% awake, but it was due to that PowerManagerService.Wakelocks, which you have in your screenshot.

Is my process for disabling the service correct? Write N to those files? Or is it something else?

Additionally, I noticed that my pebble watch was still receiving notifications after doing that. When I turn off these services in franco kernel, my watch doesn't get any notifications and the battery drain is much more reasonable. Of course, I want my watch to receive notifications, but I would rather have my battery last the whole day.

Thanks for the feature :)
[Nexus 5 Android Development] Dodgexander:
So bizarre. I decided to start from scratch. Backed up /data in twrp. Wiped all partitions. Installed latest cataclysm then supersu 2.66 (as system). Then this latest release.

On first boot synapse force closed a few times but eventually I got the chance to use it without the settings error message. I set some settings and rebooted. On the next reboot the settings worked! Changed some more and rebooted again and this time on the next boot the phone rebooted after start and settings were reset on next boot. Apart from that the settings seemed to stick okay. I had a problem unable to restore my settings backup though because synapse was just crashing. After I set some more settings and felt it was working okay I restored my data backup. After this it stopped working again, same error.

I haven't touched any Busybox settings at all, didn't install another or anything so I don't understand why restoring my data backup has stopped synapse from working. Yes, before you ask, I didn't restore synapse data.

Edit# never mind, I reset synapse settings and it's now working fine. Thanks.
[Nexus 5 Android Development] jugoslavpetrovic:
There,

https://www.androidfilehost.com/?w=files&flid=43027
[Nexus 5 Android Development] Eltorito94:
Fauxsound is buggy... i have sound distorsion while i listen music and open synapse for change my settings (cm caf, no audio mods) [MENTION=1863016]rachanta[/MENTION]
[Nexus 5 Android Development] jugoslavpetrovic:
True. Well, what I do then is that if I play with kernel settings I stop or kill the player, replug earphones and start music again, should fix the sound.
[Nexus 5 Android Development] Eltorito94:
yes, is the only thing to do. its very annoying
[Nexus 5 Android Development] jugoslavpetrovic:
It was annoying until I accepted it as is, now I know how to overcome it and it last just a few seconds and uts only if you play with kernel in synapse, in other kernel managers I did not noticed it.
[Nexus 5 Android Development] Dodgexander:
I'm almost 100% certain the problem with synapse settings not sticking is due to the location of the Busybox library and method of root.

By default flashing UKM installs Busybox too /system/xbin this is fine if the kernel supports the old system root method.

But I had problems with this kernel and using system root. It meant I had to resort to flashing SuperSU after RACER. SuperSU install script detects it needs to use systemless root mode.

After this root was working fine again for with RACER but synapse stopped working again.

The problem is Busybox can't be placed in /system/xbin anymore when using systemless root. It doesn't work. Yet synapse is funny about Busybox version and placement.
[Nexus 5 Android Development] rachanta:
Here's what i know about synapse and bb interaction:

Ukm places busybox in /data/UKM not in system/xbin. If you find busybox in system/xbin it could perhaps be done by ROM. I find absolutely no issue during installation or after with either systemless super su 2.67 or old 2.52 on any primary rom, aosp or cm. The problem occurs during install if trying to install systemless su on a secondary ROM. Synapse doesn't work with Super su 2.67 on cm roms.

I can confirm that synapse settings not holding is due to conflicting versions of bb. That is reason i earlier integrated ukm with the kernel and additionally ensured the same version of bb taken from Busybox X+ was put in data/UKM and system/xbin. Then people who didn't use synapse protested about the overhead. But Synapse users were very happy that settings issue was fully solved.

Btw There is absolutely no problem with synapse in cm ROMs with cm root.

Latest bad news about cats, also confirmed in g+ post is that it's development is stopped and xda thread closed:

http://xdaforums.com/showthread.php?p=65000340

https://plus.google.com/101980001249271375704/posts/egR7KgMHgUC
[Nexus 5 Android Development] Dodgexander:
Aye, you were right. Each boot Busybox was appearing in /system/xbin even when I deleted it.

I removed the BusyBox free app that comes with Cataclysm, deleted BusyBox from /system/xbin and rebooted. This time it was gone for good.

Cleared to defaults in synapse and it worked fine on next boot again.

There's a problem I have with it still restoring profiles I've saved. Afterwards synapse crashes and I can't use it anymore.

Also, how can I use other apps that need BusyBox now? If I install it synapse will stop working, yet I need it to use layers etc

It's a shame, I'd just use kernel adiutor but unlike synapse it supports only setting fast charge on/off rather than a custom level.

You're right, sad news about Cataclysm. It will be a massive loss for many.

Edit# enabling Zram results in a reboot shortly afterwards.
[Nexus 5 Android Development] scowley7:
Anybody else using Xposed with Racer kernel and finding not getting true deep sleep? My stock N5 is dead by morning due to battery loss. Tried all the CPU governors in Racer with same results and tried all Racer versions over last few months, even latest with wakelocks fixes. I use Amplify for wakelocks and its locked down pretty tight. As soon as I revert to stock kernel, with same Xposed and Amplify settings, I enjoy maybe 6% battery loss overnight. Just wondering if it's a known no-no combination that I haven't read about.

Also...did a data wipe on several previous Racer kernels just in case that was the cause but it didn't change any results.
[Nexus 5 Android Development] jerunk:
I'm using Temaseks CAF build with RACER_CAF_MF_20160120, xposed installed and deep sleep without issues according to system monitor.

I'm using stock , non-donation amplify settings.

Stock RACER settings also.
[Nexus 5 Android Development] rachanta:
RACER_6_20160129 - Experimental

RACER_6_20160129 - Experimental

I have been hearing a lot about Franco as stock kernel for many ROMs.

All new build based on franco’s latest hammerhead repo. All racer features are built over a solid franco base. Many thanks to [MENTION=3292224]franciscofranco[/MENTION]

https://www.androidfilehost.com/?fid=24391638059058770﻿

Request feedback as this will be the new racer-6, if users like it.
[Nexus 5 Android Development] Dodgexander:
Broken link? Chrome blocks me and Firefox shows 404 not found.
[Nexus 5 Android Development] jugoslavpetrovic:
Im using flashfox,no problem with link

---------- Post added at 20:25 ---------- Previous post was at 20:21 ----------

Selinux?
[Nexus 5 Android Development] scowley7:
Thank you. Must be something else but just can't put my finger on it.
[Nexus 5 Android Development] jugoslavpetrovic:
Didnt realize its aosp and not caf so I tried to flash this one, lol, ans got bootloop. So tired, this job killing me.
[Nexus 5 Android Development] Dodgexander:
Random reboots here the latest release.
[Nexus 5 Android Development] rachanta:
RACER_6 Trial (battery & stability testing required)

RACER_6_20160130 - This one seems to have better battery life and stability:

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

crypto - not one of the biggies has this stuff - removed all the dubious commits from lollipop times

some more unnecessary, redundant commits removed
[Nexus 5 Android Development] beaumontcali48:
Synapse is not working it keep saying device not supported any idea why ?
[Nexus 5 Android Development] rachanta:
[MENTION=4326105]beaumontcali48[/MENTION]

CM or CAF ROM + Super Su + Synapse - is the only situation that I know of, where device not supported error occurs.
[Nexus 5 Android Development] beaumontcali48:
I'm on the latest build of pure nexus did not flash su and I'm ur latest non-caf kernel I don't know what su pure nexus uses but I'll look at it and see

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

Pure nexus is su2.52
[Nexus 5 Android Development] rachanta:
CMTE or Layers? Downloading to check. My first guess is that yours is CMTE..

Edit: [MENTION=4326105]beaumontcali48[/MENTION]

Checked with latest Pure Layers version. Absolutely no problem with Synapse. Have you installed ukm 3.81, that is necessary for Synapse to function?
[Nexus 5 Android Development] beaumontcali48:
Layers and I have ukm 3.81 do I flash before the rom or before the kernel ?
[Nexus 5 Android Development] rachanta:
First ROM. Anything else is after that.

Before or after kernel should not matter, because if for some reason there is uci support not found error after installing kernel flashing ukm 3.8.1 resolves it.
[Nexus 5 Android Development] beaumontcali48:
Ok I will reflash everything and let u know thanks.
[Nexus 5 Android Development] Dodgexander:
I think using synapse with this kernel is kinda pointless since you can't use anything else that uses Busybox. For example layers manager.
[Nexus 5 Android Development] akmalazim:
YUP me :D
[Nexus 5 Android Development] beaumontcali48:
I reflashed everything it still didn't work I went to the 1-09-2016 build and worked just fine idk what it is .
[Nexus 5 Android Development] rachanta:
Many ROMs come with bb preinstalled. Most kernels come without built in bb.

Install BusyBox X+ and try. I use Chroma. No problem with layers. Which ROM?
[Nexus 5 Android Development] mr.ace:
so your new racer-6 is based on franco kernel and this is good but not enough because you can merge another commit from this

for example [MENTION=3292224]franciscofranco[/MENTION] rebased msm_kgsl(good battery and performance in games)

and franco recently merged a feature for better battery named '' lower load average''

and please merge these commit

https://gitlab.com/engstk/hammerhead/commit/5a8a8700725f3cc9fadc3461fc4632fc865b6e40

https://gitlab.com/engstk/hammerhead/commit/4f17cc8401f4f5018819891dffd16bc3f5a78bde

and please merge CFS POLICY from electroactive

SORRY FOR MY BAD ENGLISH
[Nexus 5 Android Development] rachanta:
Racer-6 is not based on Franco. That was an unstable experimental build. I'll still look at the commits you suggest as I am looking to improve it. Currently racer-caf is good, but racer-6 reports are mixed, because it is difficult for people to find settings of hotplugs, governors, cpu boost that combine well for either battery life or performance.
[Nexus 5 Android Development] rachanta:
RACER_6 Retired

Edit:

RACER_6 is discontinued....no more AOSP/CM-13.0 Kernels only RACER_CAF
[Nexus 5 Android Development] wellwisher:
Hey man. I can't use synapse. I am using Temasek's CM13 + your kernel. I get "No UCI support detected".
[Nexus 5 Android Development] rachanta:
RACER_M_20160203 - Please test battery life and performance

RACER_M_20160203 (NON CAF. For MMB29Q and CM-13.0 )

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

All known racer-6 features built on latest cm-13.0 base

Basic hot plug infrastructure (smpboot, kthread) - neobuddy

Sched, fair, tick, timer - franco

Recent updates from Cl3Kener, myfluxi and franco’s repos - f2fs, zram, ocmem, lmk

Kernel zip

​

synapse and layers support - rachanta’s updater script

​

init.rc stock settings scripts and su policy - some inputs taken from franco's anykernel zip

Please report on battery life.

Updated setting scripts:

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

setkernel.zip - mostly stock

setkernel-aosp - my personal settings today

setkernel-caf - my personal settings today
[Nexus 5 Android Development] rachanta:
If you want installed Super Su, you can expect this. Otherwise, there should no issue.
[Nexus 5 Android Development] eternal70:
[MENTION=1863016]rachanta[/MENTION] hey man, you're not interested in caf kernel 3.10 development ? Seems good even for the future of hammerhead [emoji6]
[Nexus 5 Android Development] Dodgexander:
I'm confused I thought you were only developing CAF now?
[Nexus 5 Android Development] rachanta:
MultiROM flashaholism is a bad disease to have. It surpasses CAF addiction. ;)

I had not factored, Google monthly security updates that necessitate me to still have AOSP as my primary ROM. If these are to happen every month, there will be a week every month during which I would want to test out AOSP. The disease is such that I then need to have an AOSP kernel for myself to deal with periods when CAF is "lagging". :silly:

In this instance. Factory Image release date + 1 day = Chroma update date + 0.5 days = AICP-CAF update. date . The lag was 2-2.5 days, which is enough to feel backward seeing the world go forward without you. :eek:

I have retired racer-6, but cannot avoid having an aosp kernel, which is what the all new racer-m is. :D
[Nexus 5 Android Development] Dodgexander:
Well thanks for sharing it, it's good to know I'm not alone when it comes to always wanting to latest and best!

Out of interest, how are you using multi rom with both caf and non caf? I thought you need different twrp versions for that?
[Nexus 5 Android Development] rachanta:
I modify the caf ROM zip, removing all checks for ota and caf. Once done, I just copy meta-inf and install folders from modded zip to new zip every time. Caf is always secondary.
[Nexus 5 Android Development] rachanta:
MMB29Q - CAF - ROMs - caution

In case you have RRs / Freezes, revert to RACER_CAF_20160126.zip

Its working well with ROMs with Feb 1st security patch from Google.

I am working on the next CAF update with some upstream stuff from CM
[Nexus 5 Android Development] :
I just saw RACER_M_20160205 uploaded to androidfilehost. What has been changed in this build?
[Nexus 5 Android Development] rachanta:
Updates - RACER_CAF / RACER_M

RACER_M_20160207

f2fs: Squash commits from f2fs-stable - Update from latest cm-13.0-caf repo

RACER_CAF_20160207

Major racer features update - cpuboost, smpboot, kthread, scheduler, cpuidle, cpufreq, rwsem - thanks to neobuddy89 for all the caf essentials for hotplugs to use cpuboost

Kernel base updated from latest upstream cm-13.0-caf

Download Links and Changelog at OP. Please test thoroughly for stability and battery life.
[Nexus 5 Android Development] rachanta:
CM-13.0-CAF

RACER_CAF_20160208

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

Removed dead msm_sleeper. We now have only max screen off interface

Added cpufreq tweaks

I got a crazy benchmark score with AICP CAF Feb 5 and stock racer-caf kernel settings. Battery life drain overnight with previous 08 shared some hours back was low. I need to test this beast thoroughly now.
[Nexus 5 Android Development] willybarca:
cant set power efficient work queue on, permission denied, Is that normal
[Nexus 5 Android Development] rachanta:
M or CAF ?

Not normal. I have no problem setting it with Synapse.
[Nexus 5 Android Development] willybarca:
caf 08
[Nexus 5 Android Development] rachanta:
Have installed Super Su?
[Nexus 5 Android Development] willybarca:
Factory reset, installed aicp caf, ukm ,latest supersu, in synapse when i wana check that specific box it gives me that message. The other problem is, synapse does not hold settings anymore
[Nexus 5 Android Development] jugoslavpetrovic:
Same here but no problem with kernel auditor

---------- Post added at 11:02 ---------- Previous post was at 11:01 ----------

Same here with synapse but no problem with kernel auditor, bliss rom supersu 5.66 included.

---------- Post added at 11:42 ---------- Previous post was at 11:02 ----------

Actually, power efficient workque is not sticking with aduitor as well
[Nexus 5 Android Development] rachanta:
Setting Scripts

[MENTION=2482202]willybarca[/MENTION] [MENTION=6478047]jugoslavpetrovic[/MENTION] - Synapse will not work with Super Su with CM/CAF ROMs

I am currently running Aicp hammerheadcaf Jan 7 with RACER_CAF_20160208 without Super Su.

Power efficient work key toggle is working perfectly with both Synapse as well as Kernel Adiutor. CM / CAF ROMs are not supposed to be run with Super Su.

BTW - Try these new setting scripts: https://www.androidfilehost.com/?w=files&flid=44487
[Nexus 5 Android Development] gemj95:
I'm having this Permission Denied on power efficient work key toggle too using Synapse... i'm running AICP 07/02 with racer_caf_08: default SuperUser and Busybox
[Nexus 5 Android Development] jugoslavpetrovic:
Settings make screen not natural, too dark
[Nexus 5 Android Development] rachanta:
Copy paste gamma section from stock or modify stock for you own settings script. init.settings.rc is where the juice is.
[Nexus 5 Android Development] jugoslavpetrovic:
Which set for caf do you prefer and why?
[Nexus 5 Android Development] rachanta:
AICP has no Super Su. Do a fresh install of ROM, UKM and Kernel after cleaning Synapse data. There should no absolutely no problem after giving permissions to cm internal root when you run Synapse first time. Don't install chainfire root. If you have even done it once in the past, you need to first unroot. Installing factory boot image through fastboot will unroot.
[Nexus 5 Android Development] gemj95:
As i said: i'm not using SuperSU, i'm using the default root that comes with AICP (which i believe is called Super User? don't remember how is it called).

aaaaaaanyway, it was a clean install, and i'm not using SuperSU since ages :S
[Nexus 5 Android Development] rachanta:
[MENTION=1818599]gemj95[/MENTION] - try this

Clear Synapse data, navigate to this screen and remove root permissions. Start Synapse again, give permissions again.
[Nexus 5 Android Development] gemj95:
Just tryied: same error :S

I'll try to reflash UKM later and see if something changes.

Prior to reflashing everything, using racer_caf_26 everything was fine, don't know why now i'm getting this o_o
[Nexus 5 Android Development] rachanta:
[MENTION=1818599]gemj95[/MENTION]

Please copy zImage-dtb from /kernel folder of Feb 08 build to that of Jan 26 build, rezip and flash and report what happens.
[Nexus 5 Android Development] gemj95:
Gonna try it tomorrow after work, i'm still out and i doubt i'll have time later.
[Nexus 5 Android Development] eternal70:
[MENTION=1863016]rachanta[/MENTION] can you tell me what parameters should i use to set krait c states on your settings script ? Since synapse is not working here, so i should use that. Thanks btw
[Nexus 5 Android Development] xeraphael:
Thanks for bringing back the AOSP kernel, I was really sad to see it go.

If I may offer some unsolicited advice, though - just dump Synapse + UKM and go for some other way to configure your kernel. It's a really buggy piece of crap that's causing you no end of grief and costing you a lot of precious time and effort to fix it that you could be using for other purposes.

All the same, AOSP racer is back, and I'm happy. Thanks again.