[UKM for OP2] Install synapse and tune you kernel for your needs! [Works on CM13/HOS]

urgali

Senior Member
Jun 23, 2015
526
333
93

About
Synapse is a kernel tweaking app developed by @AndreiLux that needs the Universal Kernel Manager (UKM) to work and it's developed by @apb_axel. It is one of the most complete choice for kernel management and it lets you fully unleash your kernel power, may it be battery saving, pure performance or a compromise between the two. You can find more information on UKM at this link: UKM xda thread

Screenshots:
1.jpg 2.jpg 3.png 4.png 5.png 6.png 7.png 8.png 9.png 91.jpg 92.jpg 93.png 94.png 95.png 96.png 97.png


What you need to download:
- Synapse
- UKM for Oneplus Two
- Busybox (i recommend this one) [N.B.: Busybox is not strictly required since there is an in-built busybox in UKM, but installing this updated one in my system has usually resolved stability issues with synapse]
- Root is required (use either SU 2.67 or later or in-built cm13 root)

Useful downloads:
View attachment Synapse.zip - flashable synapse that will install the app in /system
UKM uninstaller from official page


Useful links:


Instructions:
1. Download UKM from above link
2. Boot into recovery
3. Flash UKM
4. Reboot to system (no dalvik cache wiping required, but you can do it if you prefer)
5. Uninstall any kernel tweaking apps you might have (Kernel Adiutor, Ex Kernel Manager, Aero Kernel Control.....)
6. Install Busybox, open it and install busybox in system
7. Install Synapse
8. Launch Synapse
9. If you get "no UCI support detected" or synapse is not recognizing phone, just force close the app and re open or reboot the phone and you are good to go
10. Happy tweaking!
Protip:
If you want to be able to change cpu governors/frequencies you have to leave atleast one big core online in the hotplug section; once you have tweaked governors/frequencies, you can turn it off and restart synapse. You will have "Ssekbar error" but that's only because in MM/CM13 the phone is able to shut down all the big cores and if that happens the kernel tweaking apps are not able to change cpu values.

THANKS TO:
@AndreiLux for Synapse
@yarpiin for putting ukm together on opt
@ak for helping @yarpiin in his work
@apb_axel for starting UKM project
@benschhold for providing a good and stable custom kernel (actually the first working one for CM13)
@yarpiin again for his good kernel for cm13!

CONFIRMED TO WORK ON CM13/HOS, NOT TESTED YET ON OOS BUT SHOULD WORK, FEEL FREE TO TEST AND REPORT

Disclaimer:
I am in no way responsible for any harm, damage, nuclear fission, universal big bang or you getting fired becaus alarm app didn't work that may occur to your device through the use of this app.
 
Last edited:

urgali

Senior Member
Jun 23, 2015
526
333
93
LIST OF CUSTOM KERNELS FOR OUR AMAZING ONEPLUS TWO

Kernels with built-in UKM (CM13):


Kernels without built-in UKM (CM13):


N.B.: i'm putting in kernels still mantained and updated by developers and for latest versions of android only (MM); for anyone of you missing Boeffla kernel, i will include as soon as he develops new kernel for OOS 3 and cm13 :)
 
Last edited:
  • Like
Reactions: ak

tlxxxsracer

Senior Member
Jul 28, 2010
1,466
404
113
San Jose
Just installed this. Upon installing busybox to system, and installing synapse.. Synapse did not recognize.. Restarted phone and then Synapse can be used.

Add in instructions: reboot phone after installing busybox to system

update: working great otherwise :) Now support for lower max cpu frequencies, only the input boost frequency. Hopefully kernel and synapse will support this ability
 
Last edited:

urgali

Senior Member
Jun 23, 2015
526
333
93
Is it possible to make it compatible with boeffla kernel on OOS??
It has been tested for cm13 only, but you can try it on oos with boeffla kernel and report if you had success

update: working great otherwise Now support for lower max cpu frequencies, only the input boost frequency. Hopefully kernel and synapse will support this ability
Edit in instructions and added a protip section :)
 
Last edited:
  • Like
Reactions: MusadiqManas

yarpiin

Senior Member
May 30, 2013
2,106
3,543
203
Caernarfon
Is it possible to make it compatible with boeffla kernel on OOS??
I think it should work but might be buggy and also in Andis kernel there is more features than in CM 13 kernel im on CM 13 but will try to set OOS and see what can be done :) still as advised on Boeffla kernel Andis app is best to control his kernel :)
 

yarpiin

Senior Member
May 30, 2013
2,106
3,543
203
Caernarfon
no, just swipe synapse away from recents and reload it, it'll work.
Just to clarify there is builded in busybox into UKM and it use its own path , Ukm and synapse works regardless of busybox installed or not and regardless of busybox version installed

---------- Post added at 13:33 ---------- Previous post was at 13:31 ----------

And one more thing you have to be either on stock su provided by rom developer or latest supersu 2.67 older versions of su breaking UKM and make device unsupported error in synapse
 

urgali

Senior Member
Jun 23, 2015
526
333
93
Just to clarify there is builded in busybox into UKM and it use its own path , Ukm and synapse works regardless of busybox installed or not and regardless of busybox version installed

---------- Post added at 13:33 ---------- Previous post was at 13:31 ----------

And one more thing you have to be either on stock su provided by rom developer or latest supersu 2.67 older versions of su breaking UKM and make device unsupported error in synapse
I'll add in OP
 
  • Like
Reactions: yarpiin

Methroix

Senior Member
Feb 14, 2013
205
68
0
As I mentioned on the BlissMallow thread, I had some problems getting UKM and Synapse to work properly with the latest ROM/Kernel (02-18/0.3).
Apparently this should work though, so I might have to give it another try.
 

tlxxxsracer

Senior Member
Jul 28, 2010
1,466
404
113
San Jose
I'm unable to change the cpu governor ever since doing this.. I go back into kernel auditor and it doesnt even let me change the governor. Just shows a white box.
My phone will not go into deep sleep, whereas before it would
 

Methroix

Senior Member
Feb 14, 2013
205
68
0
It is same zip what was your problem ?
I figured it was the same zip, so I've gone ahead and used the one I downloaded earlier.
I went through the same procedure as last time, apart from not clearing cache this time around.
This time it actually worked out!
I had to give the big cluster some time to cool down before I could tweak it, but this was the issue with AK's Kernel as well.

As to what went wrong the last time(s); I have no idea.

Thank you for bringing proper kernel management to CM13! :D
 
  • Like
Reactions: yarpiin

Methroix

Senior Member
Feb 14, 2013
205
68
0
I'm unable to change the cpu governor ever since doing this.. I go back into kernel auditor and it doesnt even let me change the governor. Just shows a white box.
My phone will not go into deep sleep, whereas before it would
Using two kernel management apps simultaneously is a recipe for possible disaster.
Flash UKM and install Synapse. Then uninstall or disable Kernel Adiutor.
Reboot and (possibly) rejoice.
 

yarpiin

Senior Member
May 30, 2013
2,106
3,543
203
Caernarfon
I figured it was the same zip, so I've gone ahead and used the one I downloaded earlier.
I went through the same procedure as last time, apart from not clearing cache this time around.
This time it actually worked out!
I had to give the big cluster some time to cool down before I could tweak it, but this was the issue with AK's Kernel as well.

As to what went wrong the last time(s); I have no idea.

Thank you for bringing proper kernel management to CM13! :D
Temp is not the issue but hotplug :( in cm13 all cores are hotplugged it means cpu 0 and 4 can be setted to offline and that make synapse to not pick up values from these two (they control scaling, govs and others).
Thats why ukm on boot triggers all 4cores online and they stay online until you change values in hotplug tab
 
  • Like
Reactions: MusadiqManas