yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] urgali:
Synapse settings still not sticking, it keeps giving me "synapse boot canceled" error.

I tried to:

-disable cm themes

-Set synapse on "apply on boot" with "stability check" disabled

-uninstalled and reinstalled synapse

-installed synapse as system

-installed synapse as normal app

-installed linked busybox a few posts above (pro version)

-flashed v21 kernel multiple times

-upgraded rom (was on 0101 sultanxda cm13, now on 0104)

-tried flashing supersu (always been using built in root)

-tried leaving all settings stock apart from lowering cpu freq by about 100 mhz

...still, NO WAY i can make settings stick without "synapse boot canceled".

Anyone out there with same problem?

Anyone with some tips?

Thanks in advantage!
[ONE Android Development] bkayy:
Great battery life on default settings
[ONE Android Development] GirishSharma:
Hi Nikhil,

As I mentioned, I am running your kernel v21 on sultan cm 13 rom. I downloaded synapse and a profile file from the link which you told me in your earlier reply. I have enabled Stylo king caf in synapae. I just want to confirm that am I having correct profile file for this kernel and ROM please, I mean are those profile works on this combination of kernel and ROM, because I don't know what is cm based or caf based ROMs and your this kernel. Even I don't know my this ROM is cm based or caf. Kindly explain. What is all these cm or caf based rom/kernels.
[ONE Android Development] shubham1120:
Hey Nikhil! With all due respect and with complete appreciation of your work, I'd like to make an observation. I've noticed that ever since you started using Uber toolchain, the scrolling is a bit jittery overall. The device feels less smooth overall. With linaro it used to feel much smoother. This observation is based on my experience with sultan cm13 build. Do u feel this too?

I'm sorry if this sounds rude but I'm a huge fan of your work and really appreciate your contribution.

Thank you!
[ONE Android Development] nikhil18:
i can compile next version with both the toolchains so you people can compare and tell me which is better
[ONE Android Development] Stylo King:
This isn't related to toolchains, He sometimes changes the kernel settings with every release in order to get better battery and performance, so you can tune it if you want.. Scrolling performance and other lags or performance boost, all related to how the kernel is tuned.
[ONE Android Development] shubham1120:
Thanks for clearing that up! Where can I read up about how to tune kernel for performance? Thanks in advance!

---------- Post added at 06:34 PM ---------- Previous post was at 06:32 PM ----------

Thank you for your reply! I'll try to tune the governor for performance and report. Love your work! I've been following your work since V4 and I must say you've come a long way! Keep getting better:highfive:
[ONE Android Development] Traace:
Not directly Kernel related, might be just "your" scroll cache.
[ONE Android Development] Gawd:
Same problem.
[ONE Android Development] -iHackerz-:
Sultan's CM13 is CAF based and so is this kernel. There's really no correct profile for a specific Rom, it's really up to you which one you want to use. I have the same Rom+Kernel combo and the profile works great!

CAF (Code Aurora) is a custom Linux kernel branch in place to support Qualcomm hardware. It's directly supported by Qualcomm and it's generally a more optimized branch for Snapdragon phones.

CM is Cyanogenmod (Don't confuse it with CyanogenOS) and in this case, Sultan's rom uses Cyanogenmod as a base rom and CAF as kernel.

Did you try changing the SE Linux mode? It didn't work for me but worth a shot, we're in the same boat for now :(
[ONE Android Development] nikhil18:
Update new version 22

Changelog

cherry-pick: workqueue: clear POOL_DISASSOCIATED in rebind_workers()
cherry-pick: workqueue: Fix workqueue stall issue after cpu down failure
cherry-pick: PM / QoS: Fix workqueue deadlock when using pm_qos_update_request_timeout()
cherry-pick: QoS: Enhance framework to support cpu/irq specific QoS requests
cherry-pick: qos: Pass the list of cpus with affected qos to notifer
commit (cherry-pick): qcom: msm: event-timer: Add eventimer migration framework
cherry-pick: msm: kgsl: Vote for new IRQ specific QoS request
cherry-pick: msm: lpm-levels: Apply QoS requests only to relevant cpus.
cherry-pick: cpuidle: Wakeup only cpus for which qos has changed.
cherry-pick: PM: don't use [delayed_]work_pending()
cherry-pick: Input: optimize events_per_packet count calculation
revert: Revert "Hardcode selinux to permissive at kernel level"
revert: Revert "input: synaptics_dsx_i2c: Re-init device on suspend/resume"
cherry-pick: input: synaptics_dsx_i2c: Ensure CPU is awake during suspend ops
cherry-pick: input: synaptics_dsx_i2c: Process only one double-tap per sleep
cherry-pick: input: synaptics_dsx_i2c: Ensure I2C bus is active inside ISR thread
cherry-pick: mm: fix prctl_set_vma_anon_name
commit: update interactive governor
commit: remove gcc wrapper
cherry-pick: cpufreq: impulse: Do not rearm if load is greater than 100
cherry-pick: PM / wakeup: Use irqsave/irqrestore for events_lock
cherry-pick: PM / sleep: unregister wakeup source when disabling device wakeup
cherry-pick: PM / Wakeup: Use rcu callbacks for better performance
cherry-pick: PM: Introduce suspend state PM_SUSPEND_FREEZE
cherry-pick: power: validate wakeup source before activating it.
cherry-pick: power: increment wakeup_count when save_wakeup_count failed.
cherry-pick: msm: kgsl: Schedule adreno_start in a high priority workqueue
cherry-pick: msm: kgsl: Use high priority workqueue
cherry-pick: msm: kgsl: Vote against deep low power modes when GPU wakes up from slumber
cherry-pick: msm: kgsl: Export device state to devfreq
cherry-pick: msm: kgsl: fix missing pointer in store function after commit
commit (cherry-pick): PM: devfreq: Fixup device transition and usage statistics
cherry-pick: PM: devfreq: Adapt devfreq_get_freq_level to cpubw requirements
commit (cherry-pick): PM: devfreq: Move governor node to gpufreq
cherry-pick: GPU: merged fixes and cleanups from my KK and aurora tree.
[ONE Android Development] Beaster:
Can confirm that selinux can be set to enforcing again.

Thx!
[ONE Android Development] DarKAngel1234:
Wow, dude that is a crazy update, thank you. Now if only the ROM I am on was updated so diligently just like the Kernel is, I would be set. I love Temasek Rom's, but also love Sultan's Camera, for CAF, So I can't get away from Vivek_Neel's Temasek Rom, but he is a very busy guy, and is not updated, very frequently.
[ONE Android Development] urgali:
Two huge updates in less than 24 hours! You are a beast!

..flashed new version asap, i can confirm synapse is now fine and kickin'.

Thanks for you hard work [MENTION=4633983]nikhil18[/MENTION] :good:
[ONE Android Development] PlusOne3k:
Nikhil could this fix the deep sleep / Bluetooth Problem? Always if I am listening to Radio via Bluetooth the Device will freeze (Sound stops, Display is back - Device is not responsive). I will try the new version. Should I debug with logcat? Running CM 12.1 Sultan. 5.1.1

Best regards, Alex.

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] chachin:
anyone tried v22 with broken os?
[ONE Android Development] kantjer:
Yes

Sent from my OnePlus One
[ONE Android Development] PlusOne3k:
Not a deep sleep problem. Bluetooth on, Playing sound, Display goes black - freeze. It only happens if it is connected to the charger. Strange.

Flashed back an recompiled render kernel, no issues so far.

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] nikhil18:
Last kmsg please some bugs are sure to appear with such big updates thanks
[ONE Android Development] idonttakedrugs:
bootloop on sultans cm13?
[ONE Android Development] shadow47:
Nope working fine.
[ONE Android Development] idonttakedrugs:
Sorry i meant i'm getting them.. Ive just clean installed and im still getting them?? Do i need snylapes or whatever it is for it to work?
[ONE Android Development] shadow47:
Facing a unique issue. On lightening kernel 21 synapse works fine. But on lightening kernel 22 I get Java.lang. Numberformatexception:invalid int :"" on all seekbars. All tabs in synapse have this issue. If i revert back to 21, synapse works fine. I am using sultans latest build. [MENTION=4633983]nikhil18[/MENTION]
[ONE Android Development] kalapapa:
Check and see if selinux is set to permissive
[ONE Android Development] shadow47:
I am using SELinuxModeChanger. Viper is working fine. So I dont think issue is of seLinux mode.
[ONE Android Development] robbieast:
Sweet. Multirom is working again
[ONE Android Development] urgali:
v22 on sultanxda cm13 is fine for me.

Try to download it again and reflash it, and download and install https://play.google.com/store/apps/details?id=ru.meefik.busybox&hl=it (resolved a lot of issues for me)

Cheers!
[ONE Android Development] shadow47:
flashed v22 some 3 times. Now synapse is working fine. I am still not sure what was the issue but its solved anyway :laugh:
[ONE Android Development] Realizeyes:
22 works fine for me with sultan's 13. Great work.
[ONE Android Development] gal_b:
how to enable " HIFI audio performance mode" ?
[ONE Android Development] nikhil18:
its already enabled but i dont know if it works or not
[ONE Android Development] Crazy-Silver:
Gamma profiles won't load. Solutions?
[ONE Android Development] nikhil18:
even for me it does not load some sqlite error but it used to work with previous versions and i haven't touched ukm from last 4 versions:confused:
[ONE Android Development] Crazy-Silver:
Sure in v20 too it didn't work. On V21 I don't know.
[ONE Android Development] bkayy:
Doesn't work for me too
[ONE Android Development] gargeya_369:
It worked in V17...

Somebody previously helped me with this...

We need to extract file named " dtb " from V17 zip..

Then over write it in v22....
[ONE Android Development] nikhil18:
That's not the problem only the profiles aren't working eg extreme amoled
[ONE Android Development] idonttakedrugs:
why am i getting boot loop when installing on top of sultans cm13? do i need anything other then the kernel?
[ONE Android Development] Gawd:
Someone please post the link of Darkobas Marshmallow ROM. I couldn't find it.

Edit : Found it.
[ONE Android Development] v1ks:
hi nikhil ive been using your kernel for the past few weeks with sultans cm12.1 caf, its been great. thx for your hardwork...

i just have one small issue, on Gmail App i dont get email notification unless i go into the app and refresh. I have checked the settings and its def set to sync and have checked account settings and its set to sync there also for this account. The weird thing is i have had the odd time when i got the notification which would be very delayed.

im using latest kernel with Stylo's caf profile. not using any hibernating apps...
[ONE Android Development] nikhil18:
Try changing your gapps
[ONE Android Development] Lisko:
Has this kernel support for USB keyboard app?
[ONE Android Development] v1ks:
I am using opengapps at the moment, any other suggestions?
[ONE Android Development] Gawd:
"Unfortunately, Synapse has stopped."

This is what I get. Tried everything. On CM13 by sultanxda. Already tried clean flashing.
[ONE Android Development] D_black84:
synapse works fine here on cm13 sultan . uninstall it then download it directly from the playstore.
[ONE Android Development] Gawd:
Just did as you said. It opened for the first time and as soon as I selected the profile by styloking and applied it, the same message popped up. The profile is working for everyone else, then why not me?
[ONE Android Development] D_black84:
is your selinux set to permissive ?
[ONE Android Development] Gawd:
Is that the problem? Then no, its not ._.

Can you please explain me how are these things related or just give a link. Thank you. Also tell me how to change that to permissive. I'd like to know how these things actually work. And yes, I'm a noob.
[ONE Android Development] D_black84:
you can go to "tools" in synapse and change it to permissive in selinux status or go to this link http://xdaforums.com/showthread.php?t=2524485 and download the SElinuxmodechanger apk.
[ONE Android Development] Gawd:
If I change it using Synapse, it works for the time being but it gets back to enforcing after a reboot and it stops working again.

---------- Post added at 08:10 PM ---------- Previous post was at 08:06 PM ----------

"Run app, give root access, select the mode you want SELinux to be in(permissive or enforcing) and that's all. Every time you reboot your device app will execute the script to change SELinux to the mode you've selected. Simple and stupid."

This might work.

---------- Post added at 08:18 PM ---------- Previous post was at 08:10 PM ----------

And..it worked! Thank you! :D
[ONE Android Development] PlusOne3k:
My Bluetooth issue is fixed. Reflashed Update of Rom/Kernel. No issues so far.

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] baxtex:
This works for MM?
[ONE Android Development] dragoi90:
Yes
[ONE Android Development] baxtex:
Nice, I just flashed on Beanstalk (latest build) but I can't seem to boot, stuck at the Oneplus logo.
[ONE Android Development] dragoi90:
Is BEANSTALK a CAF rom?If yes it should boot normaly but ifs not then it wont work!

---------- Post added at 08:26 PM ---------- Previous post was at 08:23 PM ----------

Edit!

This kernel wont work with beanstalk.

You should try boeffla kernel or new kernel by jgcaap
[ONE Android Development] Spaulding89:
Why not Lightning CM Kernel???

Sent from Bacon with Lightning Power
[ONE Android Development] baxtex:
Nope, CM 13,

---------- Post added at 09:36 PM ---------- Previous post was at 09:33 PM ----------

Were do I find it?
[ONE Android Development] dragoi90:
Yeah sorry!Just a lapsus of mine.

---------- Post added at 08:40 PM ---------- Previous post was at 08:38 PM ----------

http://xdaforums.com/oneplus-one/orig-development/cm-lightning-kernel-v1-t3273308

---------- Post added at 08:40 PM ---------- Previous post was at 08:40 PM ----------

http://xdaforums.com/oneplus-one/orig-development/cm-lightning-kernel-v1-t3273308
[ONE Android Development] walkers:
Is that the darkobas 5.1 omni rom?

The only thread I found is 5.1 not 6.0
[ONE Android Development] slamdunksaliby:
Love version 22 so far with Stylo King's new profile...the only issue is setting wallpapers are extremely slow does that have to do with the I/o scheduler? What changes would be made to speed it up?
[ONE Android Development] Stylo King:
I don't know what are you using but I use nova launcher prime and its fast in changing wallpapers using my profile, no issues.
[ONE Android Development] slamdunksaliby:
I use quickpic to change the wallpaper, its not a big deal I was just curious because Sultan's stock kernel on CM 12.1 goes a lot faster. Everything else works great though thanks so much!
[ONE Android Development] Gawd:
That actually confused me as well. But if you read the last posts made by the OP, he didn't continue the thread, but didn't stop the development. And the link contains 6.0

Link- https://s.basketbuild.com/devs/darkobas/bacon
[ONE Android Development] LamboBull:
Quick Question: How come my CPU Overclocking Settings never stick? Like it will work for 20 mins and then revert back to the old settings?

I am running Official CM13 and using EX File Manager.
[ONE Android Development] Coraz:
Use Synapse.
[ONE Android Development] D_black84:
This kernel is for caf Rom, official cm13 is not caf
[ONE Android Development] gordon.shameway:
https://plus.google.com/+SykoPompos/posts/gC1DCocSAoM

#whiteuimustdie
[ONE Android Development] nikhil18:
its anykernel so it does not flash full bootimg it just replaces the zimage without changing the ramdisk
[ONE Android Development] Spaulding89:
I am working on a new Synapse Profile.

It will run with ElementalX Governor and it is amazing fast

Stay tuned guys

Sent from Bacon with Lightning Power
[ONE Android Development] Stylo King:
Success ✌️
[ONE Android Development] Spaulding89:
i must thank you because i will use some things from your profile. ;)
[ONE Android Development] Stylo King:
Feel free to do anything, I am always there to help brother.
[ONE Android Development] nikhil18:
Update new version 23

Changelog

backported zram from 3.17 kernel

tweaked low memory killer for better ram management

added adaptive low memory killer

reverted some proc and resource commits from version 14 better stability

added virtual memory and auto fs writeback delay mode enable it for better performance

synced with latest caf commits dt2w should work better

usb: move hub init and LED blink work to power efficient workqueue for power saving
[ONE Android Development] PlusOne3k:
Awesome, just happy. Thanx.

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] madsponge26:
Damn feels so good now..
[ONE Android Development] Bradl79:
does anyone know if this kernel works with sultan cm13?
[ONE Android Development] D_black84:
Yes it does
[ONE Android Development] LamboBull:
oh yea ty
[ONE Android Development] nikhil18:
First of all how did you even get this kernel to boot on official cm13 ?
[ONE Android Development] Spaulding89:
Damn [MENTION=4633983]nikhil18[/MENTION] you are so fast. Thanks

Sent from Bacon with Lightning Power
[ONE Android Development] Holymartyr:
Yeah, would also like to add you've been doing an astounding job with these kernel updates. Keep up the good work!

It goes greatly appreciated. =)
[ONE Android Development] XDASaber:
hi,i got a problem ,wlan doesnt work on [OMNI] SlimSaber - find7op (aka bacon) after flashing it,wil you fix it..
[ONE Android Development] Stylo King:
How come you expect a CAF kernel to be compatible with omni? Only donkey kernel is compatible with omni roms.
[ONE Android Development] XDASaber:
got it:)
[ONE Android Development] robbieast:
Hmmm seems as though multirom boot screen has become unfunctional again with v24.

It worked on v22.. Didn't try v23.. What could have broken it in the two updates
[ONE Android Development] nikhil18:
Just configure the auto boot settings in twrp or try this http://xdaforums.com/showthread.php?t=2447534
[ONE Android Development] raul.lopez1958:
Best synapse profile

Hi [MENTION=4633983]nikhil18[/MENTION] ,

Recommend a synapse profile in your kernel V24 or not needed?

Thanks for your time and work.
[ONE Android Development] nikhil18:
stock settings are mostly the sames as styloking profile without underclock so stock is good enough
[ONE Android Development] raul.lopez1958:
Ok, thanks for your quick response.

Cheers
[ONE Android Development] kouss77550:
When I wipe dalvik cache, when rebooting with your kernel, my phone heats a lot (I mean, really, a lot) and reboot several times. I have to put my phone in the freezer for it to boot properly. Could you fix that please ? (I guess it's because of the boot frequency or maybe the thermal throttling?)

Beside of that, keep up your good work, the kernel is awesome !
[ONE Android Development] nikhil18:
Any one else facing this issue because its new to me thanks
[ONE Android Development] NickosD:
I don't have that issue.

Sent from my bacon!!!!!
[ONE Android Development] max_aideal:
I think I've encountered similar situation.

My phone also heats a lot and reboot several times after wiping dalvik and cache.
[ONE Android Development] shubham1120:
Same issue here but it has nothing to do with this kernel. I've encountered this with every kernel that I've flashed.
[ONE Android Development] kouss77550:
When I'm using sultan's default kernel I don't encounter this issue
[ONE Android Development] fiz:ik:
In your stead I would investigate that issue further. If your device heats up that much that it will shutdown automatically - that doesn't seem either normal or good for the phone to me :D :D :D
[ONE Android Development] easy_mac:
Same here, my phone gets very hot and boot loops. I've learned to place it on a fan while it boots
[ONE Android Development] Spaulding89:
I have this heating issue too but only on the new Temasek CAF Build after i restoring my apps. BrokenOS and AICP CAF booting fine and have no issues with restoring CAF. I dont tried with Sultans CM13.
[ONE Android Development] kouss77550:
It heats up so much because I think it is locked at a very high frequency for a very long time (after a dalvik cache wipe, it can last 10-15mins), so I think it's normal, our SoC isn't made to be locked a it's max frequency, with all 4 cores, for so long at once.
[ONE Android Development] shubham1120:
My bad! I should've mentioned that I face this issue only after flashing custom kernels.
[ONE Android Development] Riichard:
Can I use this kernel on CM12.1, latest stable version, snapshot 17-11?

Currently with the AK.

Cumpz...
[ONE Android Development] Spaulding89:
No you must use the CM Version.:fingers-crossed:
[ONE Android Development] raul.lopez1958:
I don't have that issue.

My rom CM13 Sultan
[ONE Android Development] DerRomtester:
Never had this problem did not try this kernel yet cause i use my own custom kernel :) . The thermal driver could be configured wrong or is ****ed up. If the CPU gets to hot it just throttles down to a lower freq until it does not heat any warmer. Also it could be rom related if it happens with stock kernel, too.

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] Riichard:
:confused:

Yeah, but I´m using CM, version 12.1, or this Kernel is only for CM13??? :confused:
[ONE Android Development] Pollie81:
Yes, i did too.

I had to shut it off for a while to be able to boot completely.
[ONE Android Development] nikhil18:
ok guys next version i will lower the thermals and then see this fixes the issue
[ONE Android Development] Xipe_Totec:
everything is good but one major issue:

after installing this kernel and setting it using synapse, I experienced a strange issue while listening to music with PowerAmp. the volume, every now and then, automatically increase and decrease while listening to music. so strange
[ONE Android Development] makova:
I don't have that issue.

My rom CM13 Sultan
[ONE Android Development] Pollie81:
But the heating is only on first boot, after that everything is fine.
[ONE Android Development] raul.lopez1958:
What rom you use?

---------- Post added at 09:01 PM ---------- Previous post was at 08:52 PM ----------

I don't have that issue.

My rom CM13 Sultan
[ONE Android Development] Pollie81:
AICP
[ONE Android Development] Realizeyes:
is there a way to keep the selinux as permissive? because everytime i reboot my phone it returns to enforcing and synapse goes mad. im using sultans's 13.
[ONE Android Development] nikhil18:
Small update new version 25

Changelog

removed intelli thermal added simple thermal by sultanxda

ofast optimization
[ONE Android Development] nikhil18:
Selinux mode changer should set it permissive on boot
[ONE Android Development] DarKAngel1234:
Awesome, update, any need to adjust the simply thermal driver in synapse? If so?
[ONE Android Development] nikhil18:
Noneed but the throttling take place at 40 degree Celsius so if you want to game then you man need to increase the temp and its very simple to tune it has three steps of throttling frequency each have three options frequency,throttle temp and unthrottle temp
[ONE Android Development] rolarocka:
Sorry for this stupid question but how do I update to the latest Kernel? Just dirty flash and wipe dalvik and cache? Nothing else? Ty.

A0001 - Tapatalk
[ONE Android Development] D_black84:
Just dirty flash and reboot
[ONE Android Development] Jole7:
That's right
[ONE Android Development] gargeya_369:
Which ROM are you using nikhil18..?
[ONE Android Development] prstorero:
This works great http://xdaforums.com/showthread.php?t=2524485
[ONE Android Development] nikhil18:
Darkobas rom
[ONE Android Development] gargeya_369:
Do Darkobas [CAF]we have it on XDA ?
[ONE Android Development] dude6595:
Google+
[ONE Android Development] D_black84:
I think I'm gonna give this ROM a try. I heard it has good battery life
[ONE Android Development] kouss77550:
It's great now ! It boots perfectly after a wipe without overheating ! Thanks, you've been doing an awesome job since the beginning, and it's getting better every time !!!!