yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] Kibria:
Tried racer kernel CAF on Beanstalk CAF, but always device restarting.

Tried both racer caf and racer caf MF build, both have same issue.

I think built in Super SU is causing these issues. Also, before beanstalk, I had stock 6.01 debloated, tried racer kernel and it also had same problem.

We hope to find a solution soon! :)
[Nexus 5 Android Development] rachanta:
Dont install Super Su on CM or CAF ROMs. Its not required. I dont think the issue will get resolved unless either chainfire of cyanogenmod give in. Su 2.52 should work on cm-13.0 and cm-13,0-caf based ROMs, but I am not sure of later versions.
[Nexus 5 Android Development] rachanta:
Updates

MARSHMALLOW / CM-13.0

RACER_M_20151227

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

CM-13.0-CAF

RACER_CAFE_20151227

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

CM-13.0-CAF-MF (built with myfluxi's cm-13.0-caf repo as source)

RACER_CAFE_MF_20151227

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

Changelogs: https://goo.gl/NGY0GP
[Nexus 5 Android Development] smartfoner:
Hi. Please tell me how i change sepolicy in permissive mode?Viper4android not working.
[Nexus 5 Android Development] djalfy:
Download selinuxchanger app. It will do the trick.
[Nexus 5 Android Development] smartfoner:
I have tried through this application. No results. I chose permissive - jump to enforcing. The synapse is also not changed
[Nexus 5 Android Development] djalfy:
In the terminal app on your phone type " su system setenforce 0 " or " su 0 setenforce 0 ". Hope that works.
[Nexus 5 Android Development] smartfoner:
This method does not help. Rom is a last cataclysm. After flashing the previous version of the kernel - normally switches
[Nexus 5 Android Development] djalfy:
Then try this: http://xdaforums.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245 .
[Nexus 5 Android Development] rachanta:
Don't change to permissive for Viper. This works for me in enforcing:

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

If you are bent upon making it permissive, flash this with ROM:

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

You can toggle the setting by opening and editing /enforce/init.set enforce.rc, and use it to set enforce. I use it to make permissive ROM like Temasek to enforcing. I just changed the script for you to make any ROM permissive.

This may not always work.
[Nexus 5 Android Development] eternal70:
[MENTION=1863016]rachanta[/MENTION] hey sir, do you have any issues about synapse ? I'm on latest temasek caf with latest racer_cafe kernel and it showed up error message that stated your device is not supported.
[Nexus 5 Android Development] rachanta:
[MENTION=5127221]eternal70[/MENTION]

You need to install ukm 3.8.1. The kernel will tweak it for settings retaining after boot, if installed after ukm.
[Nexus 5 Android Development] eternal70:
I already flash ukm before flashing kernel
[Nexus 5 Android Development] rachanta:
Clear Synapse app data. If it still doesnt work. Clear data again. Go to recovery. Install UKM again, then install RACER while still in recovery. Boot... should be fine. No ukm/synapse problems in kernel. If everything is good, Synapse my fc the first time, but its fine after that.

To all who installed RACER_M. People have reported, and I am getting RRs. I have changed the link to previous kernel at OP. RACER_M is experimental ;)
[Nexus 5 Android Development] eternal70:
Sadly it's still didn't work. Well it's okay i'll use kernel adiutor while try to solve this. Thanks for your help sir ?
[Nexus 5 Android Development] Kibria:
Thank you for your suggestion.

As I used TB, so I needed root. SuperSU 2.52 works on CM 13.0 CAF ROMs, but makes the ROM buggy. I lost network+wifi connections doing so.

So, I have to stick with ROM's default kernel! Kind of sad! :( :P
[Nexus 5 Android Development] rachanta:
Go to cm-13.0 official thread to know how to make tb work in enforcing and cm superuser. If it's apps that you are backing up ultimate backup doess the job with no fuss.
[Nexus 5 Android Development] rachanta:
This is very surprising. [MENTION=5127221]eternal70[/MENTION] - Try installing this kernel with synapse built in. After that you can install any other kernel: https://www.androidfilehost.com/?fid=24269982086998512
[Nexus 5 Android Development] eternal70:
Nope, still didn't work.

Btw, i try to reflash the 23 dec racer_cafe build and synapse works fine. So i think ukm installation can't be blamed here

Maybe enforcing cause the problem (?)
[Nexus 5 Android Development] rachanta:
[MENTION=5127221]eternal70[/MENTION]

I did a clean install of ukm and racer-cafe 27 Dec on official cm-13.0-caf ROM. No problem with synapse. I don't know how to help you. Something in your /data is spoiling things it seems.
[Nexus 5 Android Development] eternal70:
No problem, i didn't planned to clean flash now either. Beside it's already super stable. Battery is damn great and still no lags even 1.5ghz set as max frequency #CAFpower
[Nexus 5 Android Development] holigan360:
continuous restarts with latest MM...
[Nexus 5 Android Development] rachanta:
[MENTION=4496504]holigan360[/MENTION]

Pl confirm that you are not running RACER_M_20151227 experimental kernel release yesterday. It had a RR problem.

Today's kernel posted at OP is RACER_6E_20151228: https://www.androidfilehost.com/?fid=24345424848488088

I tested this on aosp Chroma and CM-13.0 official Dec 27 ROM, had no issue at all. As I have added two selinux enforcing commits, it needs a dalvik and cache wipe.
[Nexus 5 Android Development] jugoslavpetrovic:
I just flashed Temasek`s CM13 CAF v2.0.

Please advice me which of these would me the most appropriate?
[Nexus 5 Android Development] holigan360:
[MENTION=1863016]rachanta[/MENTION]

For now it runs perfectly, no reboots and all very smooth. Good job!!
[Nexus 5 Android Development] adrianedu:
What version is recommended for new official nightly caf aicp MM?

Enviado desde mi Nexus 5 CAF mediante Tapatalk
[Nexus 5 Android Development] rachanta:
Use latest RACER_CAFE_20151228. Link at OP. If you want to run it as enforcing flash this after ROM while still in recovery: https://www.androidfilehost.com/?fid=24341993505161622
[Nexus 5 Android Development] rachanta:
[MENTION=4404534]adrianedu[/MENTION]
[Nexus 5 Android Development] jugoslavpetrovic:
It seems like a big deal recently, how hard should we stick with enforced selinux and why? It wasn't such a deal with LP but not it seems like it should be. What is so different according to general use of MM ROMs, apps, kernels...?
[Nexus 5 Android Development] xeraphael:
[MENTION=1863016]rachanta[/MENTION],

wq_power_efficient from Electroactive is bugged - the tunable cannot be written to. This bug was present in Electrex's kernel as well when I last tried it.

Not sure what the electroactive governor adds as well that isn't already available from the numerous other governor options in racer. Given that the electroactive codebase is apparently now abandoned, you might want to reconsider picking from its repository into your kernel, since the bugs will always be present unless you manage to solve them somehow...
[Nexus 5 Android Development] rachanta:
Enforcing, chainfire systemless root and cm's built in root are the future. The faster we adapt, the better of we will be.
[Nexus 5 Android Development] michelD:
I do suppose that versions CAFE MF are to be used with CM CAF ROMs by experience7. Correct?

Thanks
[Nexus 5 Android Development] rachanta:
I works with any CAF ROM including CM-13.0-CAF Official, AICP, TEMASEC, BEANSTALK
[Nexus 5 Android Development] rachanta:
[MENTION=3068279]Xeraph[/MENTION]aeI - I put electroactive there, because a user, probably coming from Electro asked for it. Is wq_power_efficient bugged or is it the governor that is bugged or are both.
[Nexus 5 Android Development] xeraphael:
wq_power_efficient is bugged - it seems impossible to write to /sys/module/workqueue/parameters/power_efficient, which is permanently stuck to off ("N" value).

I haven't tried the governor, and I probably won't since I can't see what it offers that I need...
[Nexus 5 Android Development] rachanta:
[MENTION=4485711]xeraphael[/MENTION] - Just checked wq_power_effeicent. It seems to be working fine. When I change the parameter in Synapse, N/Y get toggled in /sys/module/workqueue/parameters/power_efficient. You need to close that file and start it again to see the change.
[Nexus 5 Android Development] xeraphael:
I just tried it on racer 6 and I'm not allowed to echo anything to the tunable. Maybe Synapse has a different way of doing it...
[Nexus 5 Android Development] rachanta:
[MENTION=4485711]xeraphael[/MENTION]

I am able to toggle the setting with my settings script, where the 'write' method is used to write in to init.rc.

Of course what is open to question is what really happens after setting Y. Does it really do anything?

Anyway for now I am inclined to keep this feature.
[Nexus 5 Android Development] rachanta:
Which is working better - stability, battery, fluidity ? CAFE or CAFE_MF?
[Nexus 5 Android Development] goryan:
CAFE
[Nexus 5 Android Development] michelD:
Sorry, but i when I flach either CAFE or CAFE MF latestversions of RACER kernel on experience 7 CAF ROM (all 3 latest versions), my phone freeze completely after few seconds or reboot in bootloop.

Any suggestion ?

Thanks
[Nexus 5 Android Development] rachanta:
No such problem here. Dont install Super Su. Do a clean install.
[Nexus 5 Android Development] michelD:
Thanks.

I did a completely clean install, but indeed I installed Super Su by mistake. Unfortunately, when I try to uninstall it, it seems to be persistent even when cleaning system partition, cache and Dalvik!!

Any additional suggestion to get rid of it ?

Thanks.
[Nexus 5 Android Development] ayfon:
Hi, i am new in nexus world. i use purenexus rom, i will try this kernel , can i install it when yes wich one ? please what is different CAF version ?

i have use previosly note 2 . sorry for english.
[Nexus 5 Android Development] rachanta:
Try fastboot flash boot stock boot.IMG from marshmallow factory image. This will work if it is primary.
[Nexus 5 Android Development] eternal70:
[MENTION=1863016]rachanta[/MENTION] just to inform you that after clean flash, CAFE build 28 dec still showing up "Device not supported" in synapse ?
[Nexus 5 Android Development] rachanta:
Beyond my comprehension.
[Nexus 5 Android Development] davidsonsjesus:
It is not possible to use Supersu 2.65 with this kernel in CM 13?

The phone operates regular however Supersu not working.
[Nexus 5 Android Development] michelD:
Thanks but could you confirm this will not erase the internal memory partition with my TB backup?

Thanks
[Nexus 5 Android Development] rachanta:
Start bootloader

fastboot flash boot boot.img

This does not affect Internal SD Card, system. You may also have to flash twrp or cwm recovery.
[Nexus 5 Android Development] rachanta:
Not so far. I haven't felt the need for super su in cm/caf.
[Nexus 5 Android Development] davidsonsjesus:
Only ViPER4Android work without Kernel Permissive.
[Nexus 5 Android Development] perobot:
hello can be passed to the kernel of enforcing permissive I'm using RACER_6E_20151228 but can not change any idea how to do it:):)
[Nexus 5 Android Development] rachanta:
[MENTION=6246520]perobot[/MENTION] - it may work

Try installing this immediately after installing ROM.

https://www.androidfilehost.com/?fid=24345424848487668
[Nexus 5 Android Development] rachanta:
[MENTION=1847399]davidsonsjesus[/MENTION]

Try this Viper:

https://www.androidfilehost.com/?fid=24052804347837246
[Nexus 5 Android Development] pepa 77:
Works thanks happy new Year ?
[Nexus 5 Android Development] rachanta:
Happy New Year!
[Nexus 5 Android Development] perobot:
hi

It is not passed (permissive) or with selinux
[Nexus 5 Android Development] davidsonsjesus:
Works fine.

Happy New Year!
[Nexus 5 Android Development] jugoslavpetrovic:
Temasek cm13 v2.1, installed supersu 2.56, then racer cafe, after that root doesnt actually work, it says that izt does but root apps hanging , kernel switched it from permissive to enforcing and synapse looks weird, missing stuff for adjusting the kernel. Seems Im missing something, also tried mf build, similar things. What can I do? I assume selinux is issue.
[Nexus 5 Android Development] eternal70:
[MENTION=1863016]rachanta[/MENTION] if i want to disable inputboost with your setkernel, what value should i input ? Is it Disabled or 0 ?
[Nexus 5 Android Development] rachanta:
Super su is neither required nor recommended with cm/caf. Have you tried super su, without installing racer-cafe?
[Nexus 5 Android Development] rachanta:
#CPU BOOST

write /sys/module/cpu_boost/parameters/boost_ms 0

write /sys/module/cpu_boost/parameters/sync_threshold 0

write /sys/module/cpu_boost/parameters/input_boost_ms 0

write /sys/module/cpu_boost/parameters/input_boost_freq 0

write /sys/module/cpu_boost/parameters/load_based_syncs N

write /sys/module/cpu_boost/parameters/migration_load_threshold 0

write /sys/module/cpu_boost/parameters/hotplug_boost N

write /sys/module/cpu_boost/parameters/min_input_interval 0
[Nexus 5 Android Development] pepa 77:
Bliss v6+super SU 1.52+Racer caf 28.12.2015 :D
[Nexus 5 Android Development] jugoslavpetrovic:
Supersu, confirming working fine with cm13 on stock kernel and the rom is permissive by default. When toggled to enforced rooted and allowed apps does not act as they should. Flashed racer cafp and all is good. I dont know for situation of if I would flash cafe and then setpermissive.zip, but it could work as when I flashed setenforced.zip on stock kernel and it broke that root kinda tje same way cafe did. Greenify doesnt work well after that, root functions of nova launcher as well and I assume other root access as well.
[Nexus 5 Android Development] michelD:
Hi Rachanta,

I finally succeeded to get rid of SuperSU by flashing SuperSu v2.65 and then use it to uninstall it and then uninstall the apk itself !!

So, I am now running RACER CAFE v28.12.15 with cash partition in F2FS and it is very smooth and very battery friendly. Thanks for your hard work.

Some questions:

- could you recall the main differences between CAFE and CAFE_MF versions?

- when I flash UKM, it crashes immediately ! I am alone?

- would it be possible to have min. frequencies lower than 300Mhz?

- would it be possible to disable fsync for some additional performances?

Thanks,
[Nexus 5 Android Development] rachanta:
Thanks. Here's my experience with Su 2.65 and caf ROM. First for caf to be primary, we need twrp-caf from yash. Yes Su 2.65 works fine for most apps, though I didn't check all. Synapse showed many red entries. I kept things enforcing and installed racer-cafe. I clear all Synapse data, and reinstall ukm. Synapse has a short entry page and says device not supported. Synapse is the main app that doesn't work.

No you can't go below 300 MHz. I don't see fsync in cafe, but you can disable by editing the init.settings.rc script: https://www.androidfilehost.com/?fid=24338798368260235
[Nexus 5 Android Development] LeBaldi:
[MENTION=1863016]rachanta[/MENTION] I'm using now the Temasek's CM13 CAF... and when I flash your kernel... the video camera dont work... with stock kernel works normal... but... your kernel is galaxys ahead the stock hehehe... can I make some log or do something to help to fix this?

The Google Camera open... and in modo Photo it works with no problem... change to video mode and the menssage says "cannot acess the camera"... and shut down :confused:

thx
[Nexus 5 Android Development] rachanta:
[MENTION=3226631]LeBaldi[/MENTION]

Yes, there is problem while using google camera. There is no problem with aosp camera. I shot videos with both cameras and confirmed this.

Edit: I also find that many times the google video cam works just fine. I have to check if this is a side effect of removing the torch bug.
[Nexus 5 Android Development] Balino:
is the torch fix included into the aosp / cm13 aosp kernel?
[Nexus 5 Android Development] holigan360:
Racer latest 28 brutal consumes a lot of battery
[Nexus 5 Android Development] rachanta:
It doesn't have the problem. No fix required.
[Nexus 5 Android Development] Balino:
How is it possible? I thought it was a problem of the whole ecosystem since lollipop
[Nexus 5 Android Development] rachanta:
[MENTION=3750172]Balino[/MENTION]

I checked by switching the torch on and waiting for it to snap. It didnt. The next update might still have the commit to be up to date with cm-13.0 official.

RACER_6E and RACER_CAFE updated with latest update from cm-13.0 and cm-13.0-caf official. The latest update formalises the torch -bug fix.

Test on Temasek-cafe (enforcing)

There is absolutely no problem with aosp-camera video cam.

Checked the google camera video cam:

Worked the first time

Camera fc second time

Worked the third time

Works every time if camera data is cleared

Test on aicp-cafe

There is absolutely no problem with aosp-camera video cam.

Checked the google camera video cam:

Worked the first time

Worked the second time

Worked the third time

Camera fc fourth time

Worked the fifth time

Works every time if camera data is cleared

Permissions: The camera asks for permissions (if using cm superuser). All permissions need to be given. You can check this by going into camera app info and setting any permission that needs to be given.

Result: I don't know if there is any action to be taken at all from my end

Edit2:

To clear my doubts I did a fresh install of cm-13.0-caf official dt Dec 23rd that I had with me. I found exactly the same problem with Google Camera after 6-7 shots through the video cam. I am now downloading the latest official caf rom dt 3rd Jan. If it doesn't have a problem, I will rebuild kernel over latest cm-13.0-caf base. Otherwise I will maintain status quo.

Edit 3: [MENTION=3226631]LeBaldi[/MENTION] and others concerned about the google video camera problem

I just checked Google Camera video cam operation on

cm-13.0-20160103-NIGHTLY-hammerheadcaf.zip + open_gapps-arm-6.0-mini-20151225.zip

nothing else..

Result - First run - after 11 shots

Camera Error

Cant' connect to camera

Cleared camera app data

Next run - after 3 shots

Camera Error

Cant' connect to camera

Cleared camera app data

Next run - after 12 shots - no error

Cleared camera app data

Next run - after 5 shots

Camera Error

Cant' connect to camera

Conclusion: I have a hardware problem or there is a bug in aosp or cm-caf code that causes this problem. The problem could get aggravated by a custom kernel. In racer-cafe, I reverted /drivers/media/msm/camera_v2 to original cm-13.0-caf - same problem. I reverted further to google marshmallow aosp version of the same folder - same problem.

I am at loss on what action to take.
[Nexus 5 Android Development] motionat:
Hi guys, has anyone noticed that the caf roms seem to jitter quite alot and touch response delays. does anyone know how to fix this?
[Nexus 5 Android Development] eternal70:
I have that before. Well, not much though. Try playing with your kernel settings
[Nexus 5 Android Development] rachanta:
Full rebase of racer features over latest cm-13.0-caf base

CM-13.0-CAF

RACER_CAFE_20160103 (Link updated with a new build)

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

As I mentioned in the previous post, the bug is there in latest cm-13.0-caf official rom with official stock kernel as well.

The google video camera bug is not resolved, but both google as well as aosp video cameras work.

Edit:

myfluxi hasn't updated his kernel source after Dec 15, so no update for cm-13.0-cafe-mf. If this follows the past pattern, I think we will now see him updating only the official cm-13.0-caf branch.

Edit2:

I think I got the answer to the "Cant' connect to camera" issue when using google video cam

https://www.reddit.com/r/Nexus5/comments/1urkv1/camera_error_cant_connect_to_camera/cel5k81

I force stopped aosp camera and whatsapp - I shot 12-13 videos with google camera app with no problem

restarted whatsapp - The problem reappeared, but after clearing camera data, was able to continuously shoot 5-6 videos, after which the problem reappeared.

The google camera app seems to loose connection with camera if other camera using apps are there around. Force stopping them when you intend to use google camera for videos is one solution. It still does not completely make the issue go away, but the google video camera becomes very usable.
[Nexus 5 Android Development] ohad129:
Is there a version for N6 thx!
[Nexus 5 Android Development] rachanta:
Works with latest factory image

MARSHMALLOW MMB29S / CM-13.0

RACER_6_20160105

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

Root / Super Su 2.66 work fine

Full rebase over current android-6.0.1_r0.4 branch

Kernel code cleaned up and redundant gpu (kgsl) code removed. I see some definite improvement.

Fast charge revisit

Corrected a mistake - kernel was deleting system/etc/init.d/UKM

Edit: - Update

RACER_CAF_20160105

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

Fast charge revisit

Disabled temperature throttling by default

Corrected a mistake - kernel was deleting system/etc/init.d/UKM
[Nexus 5 Android Development] montbazon:
I can't turn power efficient workqueues on with synapse and kernel adiutor both

I have checked with directory. But it wrote N(not enabled).

Thanks for your support!!!
[Nexus 5 Android Development] michelD:
Thanks Rachanta, but I face a bootloop with RACER_CAF_20160105 with last version of CAF rom made by experience7.

Back on previous version dated 2015.01.03 of your kernel and everything ok.
[Nexus 5 Android Development] eternal70:
[MENTION=1863016]rachanta[/MENTION] confirmed synapse works again now. thanks :D
[Nexus 5 Android Development] rachanta:
No problem with this:

cm-13.0-20160105-NIGHTLY-hammerheadcaf.zip + Open Gapps mini (25 Dec) + RACER_CAF_20160105

Boots fine and works fine. Do you have Super Su installed? If you do, you need to install ROM again, or may even have to to install factory boot.img to remove Super Su.
[Nexus 5 Android Development] rachanta:
Checked with MMB28S + RACER_6 and Temasek-caf + RACER_CAF - Synapse toggles the setting correctly and the setting holds after boot. Clear synapse and install UKM again. In any case this setting is enabled by default.
[Nexus 5 Android Development] montbazon:
It's weird... I've already tried to reinstall kernel and UKM both and Sure, i maked synapse clean several times.

Wait a minute... I will attach Screenshot.

It's on CM13 latest nightly(probably Jan 5) and latest your racer.
[Nexus 5 Android Development] rachanta:
Download kernel link again. I had changed the kernel after an initial mistake.
[Nexus 5 Android Development] montbazon:
OK I'll try that right now.

Sadly it's not working, even i flashed rom again as well.
[Nexus 5 Android Development] holigan360:
[MENTION=1863016]rachanta[/MENTION] since as manufactured the dod latest versions consume a lot of battery brutal ...
[Nexus 5 Android Development] LeBaldi:
Are you using Cataclysm ROM? Because I had this issue with this ROM and rachantas's kernel... on Temasek's CM13 now is much more battery friendilly :)

And rachanta.. thanks for the new kernel... I will try now :D
[Nexus 5 Android Development] holigan360:
What settings do you have?
[Nexus 5 Android Development] LeBaldi:
Now I'm testing:

CPU 300-2496mhz

Max screen off 1190mhz

Intelliplug HotPlug with only changes in Max number of boosted CPU to 2, Max CPU Screen off on 2

Custom Thermal (because Brazil is a hell in the earth :silly: hahahaha)

I/O using BFQ

Custom Gamma (Vomer AMOLED but more dark)

No touch wake (or sweep and others)

And in Build.prop Wifi Scan Interval in maximum (300 sec)

All others are in the stock config :good:

Oh... and the brightness are almost in the minimum... its more like... a distance of 1 finger ;)
[Nexus 5 Android Development] holigan360:
and gov. cpu??
[Nexus 5 Android Development] LeBaldi:
Stock interactive
[Nexus 5 Android Development] holigan360:
Ok thank you very much, try these parameters and you'll comment :good:
[Nexus 5 Android Development] jugoslavpetrovic:
Whats ur custom thermal setup?