yashsingh1/xdaforums huggingface dataset:
[Android Software Development] néonaloj:
Nothing wrong in terminal, see screenshot.

BUT, now that I deleted data of synapse, it FC again!!, as it was previously the case (before I dirty flashed OOS)...

As I said, synapse is working great on custom roms!! (Oneplus 5).
[Android Software Development] yarpiin:
ok how did you cleared data in synapse ?

as normal app propertirs and clear data ?

iy might be that oos have read only mounted system also due to selinux .
[Android Software Development] néonaloj:
I cleared data of Synapse in "applications" tab in settings.

On custom roms (I'm on multirom) it's working fine. But in OOS, I get this (see screenshot) :
[Android Software Development] yarpiin:
Thats kind wierd to be honest. have you force stopped and did uci reset ?

It is hard to tell and help without device

synapse force close only once at least on op3 if you reopen it it will work . Also you can try with selinux permissive
[Android Software Development] néonaloj:
Yes I've force stopped, and did uci reset (with 755 permissions oc)

Now I tried again to clean data, and Synapse again FC....

Well, thanks anyway for your help, I think I will stay with KA with OOS yet...
[Android Software Development] Slypnslyde:
I have that problem too with the json thing. I cleared data force close then it works again but then messes up again
[Android Software Development] yarpiin:
I have workout for that json thing , fix to come after my hols

thanx
[Android Software Development] Slypnslyde:
Every time I reboot it says synapse settings canceled
[Android Software Development] yarpiin:
it does that from various reasons , due to stability check built in and related to kernel
[Android Software Development] frankieGom:
Galaxy Note 4 running 2017/07 6.0.1 stock ROM

Magisk 13.3 installed, UKM is installed from TWRP recovery but Synapse won't start (no UCI). Busybox is not found in /data/UKM and uci does not have execute permissions.

Long story short, /data/UKM was not created and extracting UKM it from the zip to /data, plus setting execute permissions for uci and /data/UKM/busybox set it right. I have not started playing with the software yet, much data to ingest and digest first.

There is obviously something wrong with the installation script, but whether that Magisk or the UKM zip, I don't know. Hopefully this will help others with the same issue.
[Android Software Development] yarpiin:
ok you havent clearly stated what zip you have flashed magisk or standart ukm ?

secondly UKM doesnt install busybox , busybox it is a must as stated in op

third busybox and uci are located in xbin folder andand not useable in UKM, this are just leftover as whole folder is copied over to data and uci is copied to xbin
[Android Software Development] frankieGom:
Sorry I was unclear. Let me go into more detail of what I did...

I installed the Magisk UKM module, downloaded with Magisk Manager, but installed via TWRP.

The uci executable would not have execution permission so I had to set that manually.

I have the Magisk busybox module (busybox_ndk) but it would not be seen by UKM which seems to insist busybox should be in /data/UKM. How that would be a standard busybox installation, I don't know, but I could at first bypass the busybox missing message by creating the /data/UKM directory (not created at module installation, but that may be specific to Magisk, I don't know), and creating a symlink there to the path where busybox_ndk can be found (ln -s /magisk/busybox-ndk/busybox /data/UKM/busybox).

With this done, the error message on busybox would go away when running uci, but other errors would crop up (/data/UKM/device/.device.sh missing etc...) because the UKM directory just was not there.

Then after messing about with this for a while (I know nothing of Android development, or Magisk module development etc... but have been using Linux/Unix for long enough that I can find my way around after a fashion) I realized the content of the UKM directory would probably be in the archive so I looked there, liked what I found and extracted the full UKM directory from the Magisk UKM module package to /data/UKM. Wherever busybox should be, on this machine the uci program was definitely looking for it in another place(/data/UKM/busybox not found!).

Once this was done, I had a new error with busybox not having execute permission, this time, and I found out my symlink was overwritten with a file from the Magisk module in /data/UKM. I set busybox permissions to 755, et voila! As I said now the module seems properly installed and the application looks to be happy with it.

Again, I do not know where the installation error lies, your code, the Magisk module package code or Magisk itself, but it definitely will not work out of the box and what I did seems to have fixed it.

I have now two questions:

- Is my fix (extracting files from /data/UKM in the archive to /data/UKM on the phone) a correct one, and if not how should I go about that?

- Can you suggest a quick change of my Kernel through Synapse that would help determine that my installation is 100% functional?
[Android Software Development] yarpiin:
Do not use magisk module from magisk app its out of date ( i dont know why but cant acces remote repo in topjohns ) remove all UKM related files and flash magisk module from link in op should work correctly
[Android Software Development] frankieGom:
Ah! I see... Do you mean full uninstall of the Magisk module, or just empty the /data/UKM directory then flash your ZIP?

[EDIT]

I just realized you have a Magisk module in the first post. IS this the one I should be using?

[/EDIT]
[Android Software Development] yarpiin:
yes that is correct one from op.

Uninstall one you have via magisk manager, make sure all ukm related files been removed and reboot.

flash one from op
[Android Software Development] frankieGom:
Clear. I un installed from Magisk Manager and rebooted, then rebooted to TWRP and flashed your ZIP. Worked right away. Info page says it's v3.8.2 but I have an error on Status: UKM file missing in init.d

Is this a case of RTFM?
[Android Software Development] yarpiin:
yes it is as i have followed axels version numbering for UKM,

does your kernel supports init.d ? if not just install universal init.d from google play and then copy ukm.sh from data/UKM to created init.d folder and set permissions 755
[Android Software Development] tom.android:
Status:install check UKM.sh file missing

Xiaomi Mi Max 2

Supersu Boot Manager:
[Android Software Development] frankieGom:
With UKM copied to /etc/init.d I have the same error on UKM.sh missing from addon.d

Also, upon each reboot Synapse complains that I have applied unstable changes that need to be cancelled, but I have yet to make a change. Maybe the two issues are related?
[Android Software Development] yarpiin:
it is addon.d - not a problem your rom doesnt support it you can ignore it ( bit of ukm to save it from delete via ota )

edit.

with unstable changes - try to change and you will see, its kernel related and synapse have a strict safety check that cant be removed from apk
[Android Software Development] frankieGom:
I agree about the embedded safety to protect us from excessive modifications. And I'm all for foring a rolback when the system reboots or is being rebooted quickly after startup. It's a great feature.

I'll make a couple changes and see if the warning goes away or not

But why is
[Android Software Development] LeftyGR:
He's using the latest.
[Android Software Development] yarpiin:
please remove link , Synapse is up to date compiled with ALux github source and themed.
[Android Software Development] zeft64:
Where is it?
[Android Software Development] yarpiin:
where is what ?
[Android Software Development] zeft64:
Themed synapse. I'm trying to get the magisk module up and running and I'm assuming the themed apk isn't going to be installed with a magisk module
[Android Software Development] yarpiin:
If you flash magisk module from link in op Synapse will be flashed along with it

edit

Magisk module from magisk app is out of date
[Android Software Development] zeft64:
That's why it didn't work! Man you should update that. People would use it lol

---------- Post added at 07:32 PM ---------- Previous post was at 07:21 PM ----------

Before I go into the issues if found I just wanna say thanks [MENTION=5288056]yarpiin[/MENTION] you did a good job bro. There are a few toggles missing from my mom to g5 plus. There's no vibration intensity settings, high brightness mode isn't there at all. Gpu boost isn't there, high performance audio isn't there, and separate io schedulers for the SD card and internet storage don't show. There's only one and I don't know what storage it's effecting. Also the themed synapse doesn't install with the magisk module in the op and the module you have in magisk managers download section is out of date
[Android Software Development] yarpiin:
It has been mentioned before and issue has been raised i dont have acces to repo in topjohns magisk modules repo

edit

as for a missing toggles i need values and paths so i can add them.

Would like to have few devices to work on but cant afford so i depend on you guys .
[Android Software Development] zeft64:
How do I get the paths for you?
[Android Software Development] :
just list them in here.

you can explore your file system via any root file manager .

for example :

vibrator control

/sys/class/timed_output/vibrator/amp

values: 0 -100
[Android Software Development] yarpiin:
Hi All,

Updated UKM and UKM.MAGISK are online.

Fixed cpu counts not showing / being counted correctly.

Updated Busybox.

If you dont face any issue no need to update.

Enjoy
[Android Software Development] Mervingio:
I think this need be compatible with the Kernel never worked correctly on LG v20
[Android Software Development] yarpiin:
what actually didnt worked ?
[Android Software Development] Mervingio:
Settings not stick after reboot and honestly not sure why anyway I remember used this on my Nexus 6

and happen the same few times but if remember correctly say the Kernel need be compatible with this was time ago and not remember if was in the old thread or ROM`s N6 threads
[Android Software Development] Slypnslyde:
Agreed not working correctly on lg v20
[Android Software Development] yarpiin:
not entirely,

Synapse have built in stability check that i cant disable due to licence.

UKM has notthing to do with it. If kernel behave in way that might be harmfull to device ( in meaning of synapse ) it wont load settings on boot.

UKM is notthing but set of instructions for Synapse
[Android Software Development] Mervingio:
In my N6 days this app was the only to put in overdrive the audio of my N6 but again V20 vs N6 LG become like Samsung a F*** joke I love my v20 but my N6 from 2014 till now have my respect.

so is illegal do it?
[Android Software Development] yarpiin:
Due to licencing it is illegal to change a code of Synapse app ( hope theming is not ) , UKM is open source
[Android Software Development] Mervingio:
maybe the problem is Busybox?

https://xdaforums.com/showpost.php?p=63617693&postcount=2957

---------- Post added at 08:40 AM ---------- Previous post was at 08:33 AM ----------

i used this but not with Synapse so let me know what is your input for BusyBox

BusyBox Recovery Flashable Zips

https://xdaforums.com/android/software-hacking/tool-busybox-flashable-archs-t3348543
[Android Software Development] yarpiin:
Busybox used in UKM is Stercision one ( but might be related to individual busybox package installed by users )
[Android Software Development] Mizan96:
does UKM changes kernel permission from enforcing to permissive? If it can, How?
[Android Software Development] yarpiin:
you will find selinux settings in tools tab
[Android Software Development] LeftyGR:
For those claiming settings not sticking on the V20, did you try different kernels? I'm using Schwifty on current Classic ROM and have no issues. Sure, when I open Synapse it has changes, but the changes don't stick as long as you don't accept them. Just hit the "x" on top of screen, to remove changes before making any others.

Yes I'm using older themed Synapse, but it is the same app version as the current one. I just prefer the look better.
[Android Software Development] Mervingio:
Well I will try again
[Android Software Development] yarpiin:
Hi All ,

Updated UKM is online.

* cpu: update amount of cores detection (Slawek) [1007384]

* update readme (Slawek) [154862d]

* misc: fix enable toggles (Slawek) [fb4b998]

* gamma: add support for Boeffla brightnes control (Slawek) [37720e0]

* gamma: add support for Minimum Backlight level By Lord Boeffla (Slawek) [4fcb676]

* gamma: add Oneplus 3T DCI Switch (Slawek) [c84421c]

And Main Change is that there are 2 versions of UKM

We have full version and Lite version - Less settings so less advanced users can set just basic things .

Links in OP

Enjoy

Edit

Magisk module to be updated soon
[Android Software Development] LeftyGR:
Only minor and initial problems...

- Kept f/c after flashing. Had to wipe app data from settings.

- Two large core sliders had error message in their place. Exiting app and reentering fixed that

No reporting bugs, per se. Just giving solutions to minor start-up issues I had for anyone who sees the same.

Thank you!
[Android Software Development] yarpiin:
Thanx for that

you have flashed updated one on top of old one then yeah, it might happen.

just to clear out.

commin from older UKM version force stop synapse then wipe data and then flash new UKM same for Lite version
[Android Software Development] RogerBoy123:
This means that I don't have init.d support, huh?
[Android Software Development] RogerBoy123:
Nevermind, I rebooted and it said 'Synapse boot completed' and I didn't get any errors. :)
[Android Software Development] Amanpreetsingh:
Some options are not working or not displaying but in different app all working good. As I am posting different screenshots the White ones are kernel auditor mod that is displaying all options.what to do ???
[Android Software Development] yarpiin:
it seem aome of things are broken or not supported,

what is your device so i can fix them
[Android Software Development] Amanpreetsingh:
I am using Lenovo zuk z1 using resurrection remix based on 7.1.2. I tried using kernel auditor mod apk all the options are working on that. Thnks for quick response dev.:)
[Android Software Development] yarpiin:
will see what can be done
[Android Software Development] yarpiin:
I will look into it soon .
[Android Software Development] Amanpreetsingh:
Waiting for to fix. Thnks
[Android Software Development] Wislley Frauner:
Don't work on Moto G 2014 (XT1069)
[Android Software Development] yarpiin:
what dont work ? any more details ?
[Android Software Development] Wislley Frauner:
The following message appears

Boot settings canceled - The last applied settings have not been deemed stable due to possible crasch or reboot of the device. Settings are deemed stable 2 minutes after they're applied at boot. Press cancel to reset to the last saving
[Android Software Development] yarpiin:
that message always apear after first launch of synapse , if you facing it constantly after reboot it means that there is some unstable settings in kernel and it might not be ukm related , that is a safety trigger built into synapse itself.
[Android Software Development] andrizmitnick:
for the magisk module, do we need to flash the zip too?
[Android Software Development] yarpiin:
for magisk you need to flash UKM magisk zip
[Android Software Development] ghanashyaml:
Maybe stupid questions, please bear with me

Hi, new to kernel tweaking, so please bear with me. I am trying to tweak CPUs of my android box, for performance, for last 2-3 days. Have used Kernel Adiuter. How does UUKM + Synapse compare to that? Why does this require flashing while that is simply an app?

Final question, I had hoped this would allow me to go beyond the 1GHz limit being shown in KA but this does too show the same limit. So, maybe the ROM is limiting it? How would I start to find what is the issue?

Thanks!
[Android Software Development] phamduy.uit:
Good zip
[Android Software Development] yarpiin:
from that what i readed you want to underclock your cpu , if kernel wont let it none of apps will
[Android Software Development] ghanashyaml:
Thanks. Actually, I am trying to use the CPUs to the maximum. Can you please answer my other question?
[Android Software Development] yarpiin:
Well it require flashin because synapse as an app doesnt do anything , in simple words it is like gui for settings and variables .

Thats why it is so unique devs can add or remove things from it without requests to app creator , while with other apps if you want to add specific thing for your kernel you have to issue pull request or ask dev of app to add it and wait . In ukm you just add it and it works .
[Android Software Development] hexian000:
deleted
[Android Software Development] ghanashyaml:
Ok, got it. Thanks.

So, in my case, technically, I should be able to pull out the kernel, its config file, update settings in the config, to "allow the modifications above 1GHz for the CPU", recompile the kernel and flash it back. Is this approach correct or you can point me any pitfalls, possible bricks etc? Also, how do I put back a kernel file into a boot.img file? Are there any links that detail these steps?
[Android Software Development] yarpiin:
I dont think that it possible to pull out kernel and change anything,

you need to compile kernel from.source . Of course you need to make changes needed to allow cpu run with higher frequencies (if possible ) .

Search xda there is many tuts how to compile own kernel
[Android Software Development] ghanashyaml:
This thread shows how to do it, unless I am mistaken? Question remains as to whether higher frequencies "allowing" lies in these settings in .config or the code?
[Android Software Development] yarpiin:
it tell you how to use cofig from existing kernel to compile one if im right. To allow higher frequencies you need to add supported frequencies ( if there are any ) into .dtsi files specific to your cpu .

You cant just raise yoir freqs by editing kernel config file .
[Android Software Development] ghanashyaml:
Ahh, I see. Appreciate your quick responses. (Now, next step hunting the relevant kernel source.) Thank you!
[Android Software Development] kevintm78:
I'm not sure exactly what is going on with my phone. I can't seem to get the synapse app to install properly. I tried setting the app permissions manually but they actually were already set correctly. If I try to just install it like a regular app I get the "problem parsing the package" error. Just out of curiosity I did build the app from your github in android studio and it works (though it's not themed so maybe it's not exactly the same). The playstore version seems to be OK too. I've seen in this thread that other note 4 users are using this so it seems to be a me problem.

Note 4 (SM-N910V)

Using the Magisk version

Permissive kernel

6.0.1 stock modded rom

The zip seems to be putting everything in the right spot but it seems I have a compatibility issue somewhere.
[Android Software Development] yarpiin:
not sure to be honest , it might be your rom synapse in my git is just fork of official one i havent uploaded themed one
[Android Software Development] kevintm78:
Does it work the same with the official app. I was thinking that I could use the zip to install everything else and then just install the official app. Then to clear up some of the errors (and expose all the kernel features) in the official app I would need to add the .json files to my ramdisk that point to path of those features. Is that correct? Or is something that I would need to do to the app itself?
[Android Software Development] yarpiin:
flash ukm remove synapse from system.apps and install official one from google play and thats it yo are done:good:
[Android Software Development] yarpiin:
I would like to thank for kind donations,

I will create a list of users who donated .

(Will not put amount as it doesnt matter ).

I know xda names of 2 persons who donated , so I have small request if you could put your xda name either via PM or when donating it would be easier to put you on the list.
[Android Software Development] yarpiin:
Hi all

It has been quiet in here for some time ,

I just want to to update and share some things with you guys.

I have started to clear out and re - write whole UKM so it will be quiet for longer ( not much time but tryin my best ).

You can track what is going on in here - https://github.com/yarpiin/UKM-Unified-New

I have decided to clean out whole thing, pick up some missing bits and re think few tabs and settings .

Also thanx to few donations i can upgrade hdd in my machine that became slow and full of errors.

Also trying to get a new device that help me to cover SD835 cpu

Thanx for using UKM and stay tuned
[Android Software Development] Giowi:
No UCI support detected on Samsung note n910f with Dr.Ketan ROM android 5.1.1.

I did everything. Can anyone help me?
[Android Software Development] nutcasev1.5:
Please include Intel Soc support this time & use toybox :D
[Android Software Development] yarpiin:
Toybox support would mean 2 different UKMs and tbh i dont know i have enough of time to do that .

But with use of busybox it should have better support for Intel chips .

Btw when did you last time tryed to flash UKM ?
[Android Software Development] Giowi:
I just wiped my note 4.Installed android 5.1.1. Then I installed magisk.I checked if my note have init.d and busybox and yes.

Then I download and installed with twrp "UKM FULL FLASHABLE ZIP" but magisk did not install it.So then i tried to install "

UKM LITE FLASHABLE ZIP" but the same.So I finally installed "UKM - Magisk Module" and then synapse apk.Unfortunately "No UCI support detected". I tried to follow the instruction on the first page but nothing to do. anyone can help me?
[Android Software Development] yarpiin:
I got lost , there is separate zip for magisk.

Uninstall UKM via uninstaller from this thread.

Re flash magisk module from this thread.

Make sure that uci have correct permissions .
[Android Software Development] Giowi:
Ok.I did what you wrote but nothing to do on my note 4 n910f: no Uci support detected :crying:
[Android Software Development] nutcasev1.5:
Two releases ago. Guess I should try again. Yes true about that. You can include the toybox binary instead of busybox like you do now, so while more latest oses won't have issues, the older devices can run ukm too.
[Android Software Development] svicenty:
Funny it started working for a little while then it started acting funny then I had to shut off and rebooted the phone then it came up as missing usi
[Android Software Development] yarpiin:
Thats kind of wierd
[Android Software Development] pheno1992:
hey bro...

i think synapse worked in my device...

i just have some concerns. maybe you can get it in the screenshots.. thanks bro...
[Android Software Development] yarpiin:
it seem like path in your device for governors is different than in synapse. Im working on the updated version where loads of things should be fixed . So if you dont mind waiting stay tooned
[Android Software Development] Aakash_Karmakar:
Yeah Looks like its working properly.
[Android Software Development] yarpiin:
I meant sheduler
[Android Software Development] pheno1992:
Ok bro. i'll wait for it...

hmmm. another thing, the app crashes when i switch its theme from material grey to translucent dark.

Question: is the GPU scaling toggle has fixed scaling? i cant set my GPU to its max scale.. thanks again bro..

if things work, i'll give a shot on a bucket of beers so i can have some cheers with you bro.. i like the potential of this app
[Android Software Development] yarpiin:
it is again same story as with sheduler synapse doesnt have correct path for your device and it should be fixed hopefully within next release, translucent wont work tbh it is leftover from old synapse theme