[Android Software Development] apb_axel:
Supported devices:

Tested kernels:

Should work on any kernel, but my personal tested kernels & confirmed by other users are the following:

F.A.Q.

No UCI support detected

? Check the following:

a) Does your ROM support init.d scripts?, IF it doesn't try this,

b) Check in /system/xbin if the uci file exists. IF it doesn't exists you can try reflashing the .zip or run the following in terminal emulator:

c) Check the permissions of /system/xbin/uci AND /data/N4UKM/uci, it should be 755 or 777. IF it isn't you can try reflashing the .zip or run the following in terminal emulator:

d) Check the config.json file in /data/N4UKM/, if the file is blank you can try generating the file again with the following in terminal emulator:

IF NONE OF THE ABOVE WORKED FOR YOU

send me a screenshot of your terminal emulator running the following command to determine your issue:

Some steps to fix most common issues when coming from another kernel and UKM is still installed:

(thanks to gorillap)

Step 1 - go to settings>Apps>Synapse - force close - Clear data - ReOpen Synapse

If this doesn't work

Step2 - go to settings>Apps>Synapse - force close - Clear data - Uninstall Synapse. Reinstall Synapse in play store

If this doesn't work

Step3 - go to settings>Apps>Synapse - force close - Clear data - Uninstall Synapse. Delete Synapse folder. Reboot to recovery. Reflash kernel, Reflash UKM. Install Synapse

If this doesn't work, request support in thread.

To use UKM on Lollipop just do this:

(Thanks to thereal_bigjake)

1) Flash Permissive boot.img (thanks to ramjet73).

2) Install SELinux Mode Changer and set to permissive.

3) Install Synapse and flash UKM v3.5 or higher (you need busybox installed also)

4) Run a terminal after boot and type su, then type \system\etc\init.d\UKM

5) Enter Synapse and profit.

To restore a profile:

(Thanks to apb_axel)

1) Save the profile to the /sdcard/Synapse/saved_profiles folder.

2) Open Synapse, go to profiles tab and press the Restart Synapse button (to make to profile appear).

3) Open Synapse, go to profiles tab and select the profile, click the √ and select Restore Selected Profile.

4) At this moment Synapse will close automatically so give it a few seconds and it will open automatically again.

5) When it opens, click the X button on top, not the √.

6) Done.

Restrictions on config files:

(thanks to apb_axel)

1) You can't import settings that don't exist on your current kernel (this is fairly obvious so no explanation needed).

2) Some settings that are not imported/exported for privacy concerns are: buildprop net.hostname, buildprop service.adb.tcp.port.

3) You can't import/export the SELinux status, either Enforcing or Permissive (I've read that some people had issues when restoring profiles that were based on a KitKat ROM and when it was restored on a Lollipop ROM it broke their root, they had to reinstall everything from scratch so I prefer to avoid this at all costs).

4) You can't import/export the Preferred Network Mode (again some people have complained that restoring a profile where their carries have different settings had their phone stopped working).

5) You can't import/export voltage settings (Not every CPU is build the same, so to avoid device shutdown do to low voltages this is disabled).

6) You can't import/export sound settings (This is more of a personal setting and doesn't affect battery/performance).

7) You can't import/export speaker settings (This is more of a personal setting and doesn't affect battery/performance).

8) You can't import/export gamma settings (This is more of a personal setting and doesn't affect battery/performance).

Want to integrate UKM into your ROM?:

(thanks to kecinzer)

http://xdaforums.com/showpost.php?p=58054064&postcount=2409