yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] rachanta:
Synapse boot completed - issue resolved

I have made some changes to the update script. As before I don't have any problem with both in my trials.

Dont flash ukm 3.8.1 its not required and might spoil things.

RACER_6_024_20151117_1

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

Tested on latest Chroma

RACER_CAF_13.0_012_20151117_1

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

Tested on latest CM-13.0-CAF from myfluxi

[MENTION=2609131]areon[/MENTION], [MENTION=4526898]PugRallye[/MENTION] - please try and provide feedback to me

ROM is not the problem. My naming ROMs is only for the record
[Nexus 5 Android Development] hunting_:
If I not flash ukm 3.8.1 how to work synapse?
[Nexus 5 Android Development] PugRallye:
Exactly the same error with 17_1...
[Nexus 5 Android Development] scowley7:
Hi, thought it best to send a screenshot of error installing version 24, non caf. Only thing I installed since successful version 20 is xposed for Marshmallow.[IMG="Racer6 v24 error"]https://goo.gl/photos/qez6UA2Uw8pKUBZM7[/IMG]
[Nexus 5 Android Development] scowley7:
Error installing Racer 6 v24 non caf

Sorry, screenshot attached this time (I think)
[Nexus 5 Android Development] rachanta:
Testing updater-script for in-kernel ukm

This is to solve synapse boot complete issue

[MENTION=3413628]scowley7[/MENTION], [MENTION=2609131]areon[/MENTION], [MENTION=4526898]PugRallye[/MENTION], [MENTION=5053453]hunting_[/MENTION], [MENTION=2482202]willybarca[/MENTION]

Pl try this:

AOSP

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

CAF

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

Dont install ukm 3.8.1. It is now part of kernel. Many thanks to [MENTION=5658634]apb_axel[/MENTION] and the Synapse team for the best kernel setting app.
[Nexus 5 Android Development] PugRallye:
That one worked and installed/booted fine.

Thanks :)
[Nexus 5 Android Development] rachanta:
That's a relief. I'll post to OP after some more feedback. [emoji6] [MENTION=4526898]PugRallye[/MENTION] If you use Synapse, do you get Synapse Boot Complete Toast after doing settings once post install and rebooting? Do Gamma Profile settings get retained?
[Nexus 5 Android Development] willybarca:
I'm on RACER_CAF_13.0_012_20151117_1.zip , and its been working fine so far
[Nexus 5 Android Development] rachanta:
[MENTION=2482202]willybarca[/MENTION]

If possible please flash latest. I've done some code rationalisation and cleaning. If you use Synapse, do you get Synapse Boot Complete Toast after doing settings once post install and rebooting?
[Nexus 5 Android Development] willybarca:
Nope I don't get that toast message, I'll flash it right away, I bought you racer companion app , thanx for your work mate
[Nexus 5 Android Development] PugRallye:
I don't use Synapse
[Nexus 5 Android Development] rachanta:
You are a blessed man. For Synapse using flashaholics, settings not holding is a major pain :D
[Nexus 5 Android Development] PugRallye:
I use Kernerl Audiutor for basic tweaks and that seems to restore settings post-boot.

I'm not especially technical or skilled, but I can get good gains with your kernel and modest tweaks.

So thanks again for your work, it is appreciated...
[Nexus 5 Android Development] scowley7:
Yep version _2 installed and working perfectly =] Thank you.
[Nexus 5 Android Development] rachanta:
[MENTION=3413628]scowley7[/MENTION] - thanks for the feedback. Could you also try latest kernel posted with name ending with .....20151118. There is a refinement in the script that needs be tested as rigorously as possible. I am saying that because problems with the script don't seem to show up with some users.
[Nexus 5 Android Development] scowley7:
Hi, I installed the 18 version and it seemed to work but when I went into adiutor it still showed the version ending in 17. I thought I may have installed this 17 version again rather than 18 so definitely installed 18 this time, no errors but got stuck on bootloop. Back on 17 v2 now.
[Nexus 5 Android Development] rachanta:
I was lazy, the date will change when I post this kernel to op.
[Nexus 5 Android Development] scowley7:
=] As a second test, I downloaded 18 from a different mirror and it installed and booted fine. As above adiutor shows 17 but looks like all good. Not sure what happened when I tried second reinstall but 1st and 3rd worked no problem and 18 running along nicely.
[Nexus 5 Android Development] hunting_:
Without ukm its not work :(
[Nexus 5 Android Development] rachanta:
Install again, after reinstalling ROM and su (if reqd). Wipe dalvik and cache.
[Nexus 5 Android Development] hunting_:
Still same problem boss
[Nexus 5 Android Development] hunting_:
Back to 17.1 :( its not work for :(
[Nexus 5 Android Development] bgboii:
[MENTION=1863016]rachanta[/MENTION] since chroma audio has been fixed within the rom with that test build yesterday is it not necessary to have the mixer path files you have in the kernel? would it interfere with what he added?
[Nexus 5 Android Development] holigan360:
https://goo.gl/photos/1wriXdK5muKQwW389

How I can fix it?
[Nexus 5 Android Development] rachanta:
Clear synapse app data
[Nexus 5 Android Development] rachanta:
I need to check that.
[Nexus 5 Android Development] holigan360:
the same error keeps coming!!
[Nexus 5 Android Development] rachanta:
The strange part is some people are getting install errors with 17_1, while it works perfectly with no synapse start/UCI issue with a fresh cm-13.0 ROM.
[Nexus 5 Android Development] rachanta:
Which kernel? Racer yes but which one?
[Nexus 5 Android Development] holigan360:
11/18 version!
[Nexus 5 Android Development] rachanta:
Its a test kernel. There are issues with it, go back to what works please. Look at op for whatever is stable.

Or install ukm, clear app data.

Codewise nothing has changed after 16.
[Nexus 5 Android Development] holigan360:
I hope to be cleared. thx!!:svetius:
[Nexus 5 Android Development] hunting_:
Racer 6 18 synapse not work without ukm and 17 work fine no need ukm flash
[Nexus 5 Android Development] bgboii:
Alright cool.
[Nexus 5 Android Development] rachanta:
Testing - RACER_6_024_20151119_1

Testing - RACER_6_024_20151119_1 - for synapse boot complete issue

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

Do not install ukm 3.8.1. Its built into kernel

Mixer path tweak removed

Tested on CM-13.0 Unofficial from experience7 - works perfectly on absolutely fresh install as secondary with multirom

All and fast feedback will be appreciated ;)
[Nexus 5 Android Development] KentuckyGuy447:
Is the InteractiveX govenor included in this kernel? If not could it possibly be added? Using CM12.1 CAF.
[Nexus 5 Android Development] rachanta:
Failed when I tried earlier. Can take another shot at it
[Nexus 5 Android Development] KentuckyGuy447:
Major thanks! Also thank you for providing such a great CAF kernel that supports f2fs!
[Nexus 5 Android Development] rachanta:
Does fstab.hammerhead support provided in kernel work or do you install that separately?
[Nexus 5 Android Development] KentuckyGuy447:
To be completely honest, I'm new to the whole f2fs scene and all I can tell you is when I formatted my cache and data partitions to f2fs, device would sofrbrick, so I flashed your CAF kernel and bam, booted. If you could explain what that is or direct me to something explaining that I could give you a better answer.
[Nexus 5 Android Development] holigan360:
Now if it works properly without ukm, but because I always get this!?

https://goo.gl/photos/rXLXZSWJQcV1j1mb8
[Nexus 5 Android Development] rachanta:
I can't see the pic, but if it is uci not detected, it doesnt work. Do you get this error with new ....19 kernel
[Nexus 5 Android Development] holigan360:
I take that nothing works perfectly and also the Configuringthe saved when restarting device. good job
[Nexus 5 Android Development] rachanta:
There is file called fstab.hammerhead which is part of rom code (in Device root), that must tell the system to expect f2fs cache and data partitions. As most roms cater to ext4 only, f2fs fstab.hamm.. must be injected through a separate zip installer, or get included through edit_ramdisk.sh script within the kernel zip.

I have recently included the f2fs fstab.hamm.. injection in the kernel. As I don't use f2fs, I need feedback from users about the effectiveness of the change. If kernel's fstab.hamm injection works no other fstab.hamm.. injection is required.
[Nexus 5 Android Development] KentuckyGuy447:
Ah which explains why most kernel developers want a person to flash a serperte f2fs kernel first so it modifies the ramdisk? I have been playing around with f2fs for awhile now and have already flashed serperte zip packages patching others kernels for f2fs. Id say the ramdisk was already modified for f2fs but then again maybe not. I usually wipe /System when moving to new nightlies so idk if that has to do with anything but as I said before, my device would softbrick, as a device would without the right f2fs ptaches and such but I flashed your CAF kernel and I've enjoyed it every since. The kernel is the only thing I flashed too besides my CAF nightlies, gapps, and my custom bootanination zip. Keep in mind though I wiped /System before I flashed all of that, idk if that has to do with anything but I just thought id mention that. Only keep in mind I am a noob to f2fs so if any of this sounds ignorant, I am ignorant to f2fs lol.

EDIT: I also looked in the root folder and seen the fstab.hammerhead file is present so maybe your kernel fstab modification was needed before my device would boot. As I said before it wouldn't boot without the kernel.
[Nexus 5 Android Development] airbat:
Run like a charm except the screen stay black after some hours ... always need to force reboot.

I use Pure Nexus Rom with RACER_6_024_20151117

what's going wrong !?
[Nexus 5 Android Development] rachanta:
Please use kernel posted at Op or test RACER_6_024_20151119_1 posted a few hours ago. Clear cache and dalvik. In CPU settings, set max suspend freq to 1728, Use smartmax, set max cpufreq

Edit: people are complaining of SOD even with stock marshmallow factory image with no custom mods so i can't say for sure that SOD is a kernel issue.
[Nexus 5 Android Development] PugRallye:
I've had SOD with various third party kernels, this one included, but I don't think I've had it with stock (rooted) kernel...
[Nexus 5 Android Development] michelemascia7:
Which governor and scheduler are you use? :)

Inviato dal mio Nexus 5 con XDA Forums
[Nexus 5 Android Development] KentuckyGuy447:
Alright rachanta I've got some news to report. Forgive me but I told you wrong. I flashed a f2fs patch with another kernel before I flashed yours so thats why it worked the first time. I rewiped /System and flashed everything as I normally would on a new nightly and the device

Would Not Boot.

I had to flash Cleaners f2fs patch in order to get it to boot. Sorry for the trouble, I retested and found I didn't wipe /System the first time I flashed your kernel. Sorry for the false info, common noob mistake lol.

Tested today with the newest CM12.1 CAF Nightly.
[Nexus 5 Android Development] hunting_:
Racer 6 not work with Cataclysm-Oct_27_2015-HAMMERHEAD Marshmallow-6.0.0_r1 anyone try ? I'm not able tu flash Racer 6 for some red error
[Nexus 5 Android Development] rachanta:
Test request

RACER_6_024_20151120

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

RACER_CAF_13.0_012_20151120

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

Please test for:

Install - update binary error - [MENTION=5053453]hunting_[/MENTION], [MENTION=4526898]PugRallye[/MENTION]

fsf2 - whether it works without installing Cl3Kener's f2fs patch - [MENTION=6421639]KentuckyGuy447[/MENTION]

Synapse boot complete and settings being retained - [MENTION=4496504]holigan360[/MENTION]

There is no change in code after RACER_CAF_13.0_011_20151116 and RACER_6_023_20151116. Only ramdisk changes.
[Nexus 5 Android Development] holigan360:
Thank you for the great work!! a question ... whenever you restart the device. Why there is always much lag at the beginning? then after a while it stabilizes but should not be, right?
[Nexus 5 Android Development] PugRallye:
Installed OK - I'll keep you posted on how it performs...
[Nexus 5 Android Development] scowley7:
Non CAF of this test version installed fine for me =]
[Nexus 5 Android Development] minidou-77:
Installed fine with Cyanogen CAF (17/11 unofficial build)

I have a F2FS cache partition and it works fine

Here is the result of mount

/dev/block/mmcblk0p27 on /cache type f2fs (rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,discard,user_xattr,inline_xattr,acl,inline_data,nobarrier,extent_cache,active_logs=4)

Excellent job my friend ☺

Envoyé de mon Nexus 5 CAF en utilisant Tapatalk
[Nexus 5 Android Development] rachanta:
Was f2fs patch already installed on ROM?
[Nexus 5 Android Development] rachanta:
I too noticed not only lag but touch misbehavior. I reinstalled kernel, and there is some improvement. This is with racer-6 on chroma. I dont know what is happening.

Edit: may be too many windows opened. Things look good after a clear all from recents.
[Nexus 5 Android Development] minidou-77:
I flashed the previous version yesterday so yes it is probably still installed

Envoyé de mon Nexus 5 CAF en utilisant Tapatalk
[Nexus 5 Android Development] hunting_:
Yeah install update binary error so its not work with Cataclysm-HAMMERHEAD-Marshmallow 6.0 ?
[Nexus 5 Android Development] KentuckyGuy447:
Will the CAF 13 kernel work with CM12.1? I'm guessing not because I'm still on CM12.1 CAF. Trying not to update till Cyanogenmod releases the office builds for CM13 CAF.
[Nexus 5 Android Development] rachanta:
[MENTION=6421639]KentuckyGuy447[/MENTION]

Racer-caf-13.0 will not work with cm-12.1-caf roms. The f2fs patch inclusion in kernel is only for racer-caf-13.0. If it works I can include racer-caf-12.1.

You can safely upgrade to cm-13.0-caf ROM. I have used it as daily driver.
[Nexus 5 Android Development] rachanta:
[MENTION=5053453]hunting_[/MENTION]

I checked that there is no update binary error with cataclysm by doing a fresh install. To be sure i repeated the test after I saw your response just now.

No problem at all with cataclysm.
[Nexus 5 Android Development] rachanta:
[MENTION=4205097]minidou-77[/MENTION]

If possible, please install a fresh copy of your caf ROM as secondary using multirom, and then install racer-caf-13.0. If it works, then kernel's built in f2fs patch can be considered as good/OK.
[Nexus 5 Android Development] KentuckyGuy447:
Well after two hours or so of softbricks,/data, and /system wipes wipes (Grrrr......) I can finally report to you that the fstab.hammerhead injection in your CAF 13 kernel

works.

Tested on the lastest CM13 Unofficial Nightly from myfluxi. The /data wipes were CM13 CAF's fault but hey I was tryna help a great dev! Lol!
[Nexus 5 Android Development] rachanta:
[MENTION=6421639]KentuckyGuy447[/MENTION] :highfive:

Please confirm that you are describing your experience with this kernel:

RACER_CAF_13.0_012_20151120

https://www.androidfilehost.com/?fid=24269982087000568
[Nexus 5 Android Development] rachanta:
Remembering Mom, the Megadeth (and CM) way

These are two special edition kernels in memory of my Mom. They will inject:

A ringtone based on the song The Blackest Crow by Megadeth. You can select in Settings/Sound & notifications

CM boot animation ( you already have in in CM-13.0-CAF ROM)

Everything else is exactly the same as previous test kernel. Please bear with the bulk of this kernel.

GOWRI_RACER_6_025_20151121

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

GOWRI_RACER_CAF_13.0_013_20151125

https://www.androidfilehost.com/?fid=24269982087001032
[Nexus 5 Android Development] KentuckyGuy447:
I am confirming that is the kernel I used. Here is even a little something for peace of mind. :D Also rechecked to see if my partitions were still formatted to f2fs and yes they are.
[Nexus 5 Android Development] republicano:
Thanks,RACER_6_024_20151120.zip working with cataclysm
[Nexus 5 Android Development] minidou-77:
Did this with my primary ROM

Formatted data and cache F2FS

Formatted system ext4

Installed cm13 CAF and the kernel and boom ! It works ☺

Envoyé de mon Nexus 5 CAF en utilisant Tapatalk
[Nexus 5 Android Development] hunting_:
How to change permissive to enforcing mode ? I'm on racer 6
[Nexus 5 Android Development] EnginEAR:
No SIM

Deleted
[Nexus 5 Android Development] rachanta:
Testing racer.sh init.d script

These build have my current settings as default. I don't normally use interactive cpufreq gov, but the only way to test the new interactive cpufreq gov tunables is to install it as default. Please try , and see if you can contribute better settings. Mine may not be perfect, and I would like to use better settings if you have discovered them through your trials and research. Some user feedback has been incorporated, for example [MENTION=4485711]xeraphael[/MENTION]'s msm_sleeper settings, with due acknowledgement in the script. Synapse app gets installed along with the kernel.

RACER_6_024_20151124

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

RACER_CAF_13.0_014_20151124

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

Open the kernel zip . The script is in the folder /kernel . Feel free to change the settings, re-zip and flash
[Nexus 5 Android Development] rachanta:
Synapse/Tools
[Nexus 5 Android Development] rachanta:
New kids in town

Released - links at OP

RACER_6_025_20151124

RACER_CAF_13.0_015_20151124

Changelog beyond last release at OP:

Added racer.sh init.d script with all my settings to kernel zip

Added my favourite system ringtone

Added Synapse app

Added CM Bootanimation

Mixer-path mode removed

Kernel updater-script and zip template improved. UMK 3.8.1 support added in kernel. Aligned System (system/xbin) and UKM (data/UKM) busybox with 1.21.1 (installed using BusyBox X+). Now there is no need to flash UKM 3.8.1 separately and Synapse setting hold after boot (Synapse boot complete)
[Nexus 5 Android Development] PugRallye:
Thought I'd give this a go. On opening Synapse, I get the message about unstable previous settings. Is that a) expected and b) OK?

Otherwise it seems to be working so far - just waiting to see if I get any of those freezes where the screen won't turn on and you have to reboot by holding the power key.

I'll keep you posted...
[Nexus 5 Android Development] rachanta:
[MENTION=4526898]PugRallye[/MENTION] - Synapse data needs to be cleared, before flashing. After that first run Synapse will fc. After that there should be no problems.
[Nexus 5 Android Development] PugRallye:
OK thanks, I must have missed that instruction somewhere...

---------- Post added at 03:04 PM ---------- Previous post was at 02:43 PM ----------

Cleared app data in Synapse, rebooted in to recovery (TWRP), cleared caches, re-installed kernel, cleared caches again, rebooted, opened Synapse, got the same "Boot settings cancelled" (last applies settings deemed not stable) error/message again.
[Nexus 5 Android Development] rachanta:
Clear data from any other kernel setting app.

You needed to do worry about 'Synapse boot complete' toast the first time, or if you haven't done your own settings. My current settings are automatically applied at first install. Those settings will remain until you apply new settings. Once you apply settings they should stock and you should get the 'Synapse boot complete' toast.
[Nexus 5 Android Development] rachanta:
[MENTION=4526898]PugRallye[/MENTION] Try this:

Clear Synapse data

Uninstall Synapse

Recovery

Install ukm uninstaller: https://www.androidfilehost.com/?fid=24269982087003662

Install RACER

I have absolutely no issue. There is some past junk that probably needs to be cleared. The UKM unistaller should do that job
[Nexus 5 Android Development] PugRallye:
Weird. Did that and got the same thing.

Don't have any other kernel managers etc installed.

It's not a big deal (for me) but I wanted to flag it to you...
[Nexus 5 Android Development] xeraphael:
[MENTION=1863016]rachanta[/MENTION],

Just some feedback, but I'm really not sure about bundling UKM, Synapse, busybox, and even a ringtone with the kernel zip.

Well, actually, I'm sure it's a pretty bad idea, but then again it's not my kernel haha.

Would it be possible to include all those stuff as a separate flashable zip instead, and keep the kernel zip clean?
[Nexus 5 Android Development] rachanta:
[MENTION=4485711]xeraphael[/MENTION] - Synapse, ringtone and boot animation I agree are bad ideas. I am testing some new skills I recently acquired. :cool: and will get over the madness. The kernel becomes needlessly bulky with all the crap. I was waiting for somebody to tell me that they don't like it.

UKM is a different ballgame though. I don't see any other way right now to make Synapse settings stick. I have posted my observation and solution on apb_axel's thread and am waiting for a more elegant solution. Earlier, chaos kernel used to do such bundling.

Busybox is anyway a part of the kernel, as it is needed to run updater and other scripts. Thanks for your very objective feedback.

BTW did you try the kernel? Does it do what it promises to do?
[Nexus 5 Android Development] saxmydix:
Tried your latest kernel on chroma, smooth as always, i did see color are more vivid than before. But i have black screen sometimes, had to hard reboot and yes i did some setting on tap2wake and nothing else. Keep up the good work.
[Nexus 5 Android Development] xeraphael:
I still haven't switched to M (waiting for CM13), so no, I haven't tried the new racer 6 features yet.

Regarding UKM, I don't use Synapse, and I don't use it for precisely the reason why so many users have been complaining about problems with it in this thread - because it's a buggy piece of crap lol. I hope you can make it a separate flashable zip apart from the main kernel, but it's your project and your decision.
[Nexus 5 Android Development] PugRallye:
I know this is off-topic, but there seem to be some helpful people in this thread...

I'm curious about trying a CAF version of Android and was curious about the steps needed.

From what I've read, I just need to install a CAF compatible recovery (like https://dl.twrp.me/hammerheadcaf/) I should then be able to just install a CAF ROM?

If I do these things and want to roll back to factory versions of Android, do I need to re-install the non-CAF recovery? Or can the CAF enabled one handle both CAF and non-CAF?

Am I missing anything?

Thanks (in advance) for any help...
[Nexus 5 Android Development] Mr.FREE_Bird:
Yes, you need twrpcaf to flash caf roms. If you want to roll back to aosp roms you need to reinstall the normal twrp recovery.
[Nexus 5 Android Development] PugRallye:
Thanks
[Nexus 5 Android Development] ali262883:
I'm still on Chroma 5.1.1 which version of this kernel is compatible with 5.1.1?
[Nexus 5 Android Development] rachanta:
New builds at OP - all cleaned up and updated with new code

New builds at OP - all cleaned up and updated with new code - racer-6, racer-caf-cm-13.0 - updated with new code, improved racer.sh script for pre-settings, improved ramdisk, with ringtone, synapse app and bootsplash removed

[MENTION=4526898]PugRallye[/MENTION]

Open the ROM zip of the CM-13.0-CAF ROM

In META-INF/com/google/android/updater-script -

Delete all lines above this code...

ifelse(is_mounted("/system"), unmount("/system"));

package_extract_dir("i.....

This way you can avoid changing TWRP every time you switch. Try the latest caf kernel from OP, its leading edge - myfluxi's latest under the hood
[Nexus 5 Android Development] rachanta:
[MENTION=4292360]saxmydix[/MENTION]

I have set the gamma color profile with vomer_amoled in the settings script. Colors are deep and vibrant. Try the latest from op posted today. I've tweaked some settings to avoid sod. Let's see...
[Nexus 5 Android Development] Mr.FREE_Bird:
This one.. https://www.androidfilehost.com/?fid=24269982086996767 . You need the cm12.1 version of this kernel if you're still running a Lollipop rom.
[Nexus 5 Android Development] rachanta:
[MENTION=4485711]xeraphael[/MENTION] myfluxi's unofficial cm-13.0 and cm-13.0-caf ROM builds are stable and good enough to be daily drivers.