yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Prey521:
Try this.....

1. Install "Terminal Emulator" from Play Store and open it.

2. At the command prompt type "su", hit Enter, then type "uci reset", hit Enter, then type "uci", hit Enter (do not use any quotes when typing in the commands)

3. Force Close Synapse app, open it again and see if it opens.

This is what I've had to do a few times in order for Synapse to not give me that error on Euphoria ROM with TYR Kernel.
[Android Software Development] welboy55:
No effect bro?
[Android Software Development] Mervingio:
So not work on Android M right?
[Android Software Development] wrongway213:
I use it and it works - just using Busybox X instead of regular Busybox.
[Android Software Development] SirSparkles:
How to launch custom S-Pen app with Synapse?

I am using Synapse with the Plasma kernel (1.16). Great stuff so far.

I didn't see anything mentioned with a thread search for 's-pen custom' or equivalent...

I am trying to get a custom app to launch on S-pen detachment.

(I can get it to launch some of the ones in the prepopulated pulldown list)

The app I'm interested in launching is not listed (so I assume there's no system scan of installed apps, just a default 'common' list of things that might be used.

So, I'm under the impression I could set it to 'custom' but am wondering what to write in the next field, to get the custom app to launch...

Do I write a linux launch command with the app title? other?
[Android Software Development] Mervingio:
Seriously? but not reset on reboots?

https://play.google.com/store/apps/details?id=com.bitcubate.busybox.pro
[Android Software Development] wrongway213:
It works and sets on boot for me on Cataclysm. Make sure you have two copies of BusyBox - one in data/UKM, another from Busybox X - no others. Search through /device in a root enabled file explorer to make sure. Turn off stability check, set up Syapse. Apply on boot. Reboot. If it doesn't work, reflash your kernel and do it again, setup, reboot. Here's the app, it's free: https://play.google.com/store/apps/details?id=com.bitcubate.root.busybox.complete&hl=en Hope that helps man
[Android Software Development] Mervingio:
What Kernel you use?
[Android Software Development] wrongway213:
I use Elite Kernel.
[Android Software Development] askpcguy:
I'm running miui by x_s 7.10.31 and the kernel doesn't include uci. I've tried flashing ak kernel, 311 for op1 but the ROM doesn't boot. I'm just trying to enable logcat.
[Android Software Development] ak:
Flash over ROM official ukm ... Then install synapse and then you can control features of the kernel.

Sent from my ONE A2003
[Android Software Development] str8str:
Won't restore settings after boot have to do it manually. Don't matter which rom which kernel same on all. Please fix. Tia
[Android Software Development] marcdw:
Did you check to see if apply at boot was turned on or enabled in Synapse's Settings?

There's nothing to fix. It works for the rest of us.

LG G3 D851, Pac-Man ROM, Tapatalk 4.9.5
[Android Software Development] rachanta:
[MENTION=5201751]str8str[/MENTION]

This is probably because you have another busybox in system/xbin

From terminal

su

cp data/UKM/busybox system/xbin/

chmod 755 system/xbin/busybox

Or do the same with any root file manager

This problem could occur if the rom or kernel is loading a different bb from what Synapse has built in. Whenever Synapse boot cancelled toast comes up you will find Gamma Profiles not showing up. You then have to reset synapse and clear synapse app data.

If the kernel dev, includes ukm in kernel and copies BusyBox X+ version of busybox binary to both system/xbin as well as data/UKM, you will not have the problem until Synapse devs change their bb binary.

---------- Post added at 03:25 PM ---------- Previous post was at 02:30 PM ----------

Many thanks to [MENTION=5658634]apb_axel[/MENTION] and the UKM and Synapse team for the script and the best kernel setting app. I have included the ukm script in my hammerhead kernel's update script

AOSP Kernel

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

CAF Kernel

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

Now Synapse settings hold for me and other users of my kernel who use Synapse to set the kernel
[Android Software Development] FunkyRasta:
Anyway to prevent Synapse from enforcing gamma settings ? It is a bit of a headache with LiveDisplay. Sorry if it was mentioned, I searched !
[Android Software Development] :
Can you elaborate a bit on why this would cause issues?

I thought that the entire reason that UKM sets their own local variable for busybox pointing to the version included in the UKM directory was to avoid specifically this. IE: the system busybox missing functions or outputting in a format other than what the UKM scripts are expecting.

Are you saying that synapse is trying to use the system's installed busybox (wouldn't make sense since it's calling functions directly through java) and causing issues?
[Android Software Development] rachanta:
[MENTION=4231562]Yoinx[/MENTION]

It is something that I discovered when I was running cataclysm. Synapse settings would stick perfectly, if I chose not to install busybox with the ROM. I then experimented with various versions of bb in data/UKM and system/xbin. When I installed the BusyBox X+ version in both the folders, Synapse boot complete/ settings survive almost 100% of the time. I don't know what is supposed to happen, but I know the result of my experimentation. You too can try. I would be glad if someone more knowledgeable explains why this happens, so that a better solution is available to me and many others who encounter this issue.
[Android Software Development] apophis9283:
Ok, so we are having issues, heres part of the logcat. It looks like it cant open the database

http://codepaste.net/32ex2y
[Android Software Development] Daywalkr1990:
Tried on my G4 with CM12.1 stock cm kernel

installed ukm via recovery and installed synapse but it said Device not Supported

is there anything i missed?
[Android Software Development] apophis9283:
If someone could look at this

http://stackoverflow.com/questions/33928123/attempting-to-update-onboot-service-to-introduce-a-delay
[Android Software Development] daneal2u:
can it work on the note 1 n7000?
[Android Software Development] IceFe:
when compatibility with CM13?

I tried the flash on official CM13, goes bootloop ...: |
[Android Software Development] House.m.d:
Oneplus One, Radioactive Kernel 3.10, VM13ROM, last UKM, shows following ....
[Android Software Development] velvetwafer:
UKM on CM13 / 6.0.1 is utterly broken...cant keep its settings, i have to redo them every time (Im using Temasek CM13).

Is there a timeframe, on when this will get updated? Thanks in advance!
[Android Software Development] rachanta:
If you installed Super Su 2.62-3, remove it, let cm take care of rooting. I have been running cm-13.0-caf with no issue with synapse. Make sure Busybox X+ is installed.
[Android Software Development] plantator:
Me to have problems with synapse on Resurection Remix based on cm13 with any kernel, settings not sticking, even when I disable stability check
[Android Software Development] str8str:
Me too don't matter which rom I use. But I don't know what's up cause I know people on same that it does hold settings. Weird definitely needs updating

Straight Shooter

---------- Post added at 04:33 ---------- Previous post was at 04:29 ----------

Have to say I'm tired of this it's obviously abandoned. Kernel auditor is much easier to use and is in active development getting better every update so sayonara

Straight Shooter

---------- Post added at 05:07 ---------- Previous post was at 04:33 ----------

I really think it's luck and the rom version etc all together. I know people who use the same combo and it works for some and not others. Even with the same super su installed. Me and a buddy had exactly the same everything using version 252 of super su and his worked and mine didn't.

Straight Shooter
[Android Software Development] kssxs:
Beastmode Kernel?

Is it possible to request support for this kernel in UKM, please?

Here's the link to get it:

http://xdaforums.com/note-4-tmobile/development/kernel-beastmode-stock-1-0b-n910t3-t3238775

Thanks in advance if possible!
[Android Software Development] jedisurfer:
Hi guys how do I get synapse to go lower than -100mv undervolt?
[Android Software Development] marcdw:
Oh you poor thing. Sorry the dev isn't moving quick enough for you. Hope you get some rest after being so tired.

In a bit I'm about to test a pre-release of Synapse on Resurrection Remix MM and see how it works.

Not abandoned. You're just too impatient. Hell, even MM ROMs aren't all working well yet. Apps and utilities will be working soon enough.

LG G3 D851, PAC-MAN ROM, Tapatalk 4.9.5
[Android Software Development] str8str:
Hey I don't care if it ever does or not it won't hurt my feelings avg but at least let your user public know your intentions so you don't have all these threads with people trying to guess what's going on. It's only common courtesy. Not just put an app out advertise the heck out of it then drop off the planet. This never worked for me and many others on lp either not just mm. FYI the pre release is no go did not fix the issue if that's what you were trying to do.

Straight Shooter

---------- Post added at 19:49 ---------- Previous post was at 19:43 ----------

Straight Shooter

---------- Post added at 19:56 ---------- Previous post was at 19:49 ----------

My comment was to try and get attention so looks like it worked. Thx for replying

Straight Shooter
[Android Software Development] xenyz:
Here's a couple: poll the CPU less often to decease load and show accurate CPU frequencies and change fast lane load description to get rid of 'should not be higher than 78...' as myfluxi has changed how it works (it goes up to 100 now)

Thanks
[Android Software Development] apb_axel:
Thanks for the feedback. I removed the fast lane load description from the script. In regards to the CPU poll right now it does it every 1 second, I can make it maybe 2-3 seconds? And the script already reads the correct file where the current CPU frequency is located, maybe after I change the CPU poll it will display the "accurate" frequency.
[Android Software Development] xenyz:
It's probably better to do every 3 s, the sampling and overhead of doing it were pegging the CPU at max freq. Other apps (trickster, system monitor) might have less overhead than Synapse, I don't know. Give it a test and see if you can get it to show min freq while sitting idle. Cheers!
[Android Software Development] osm0sis:
In my testing polling every 1 second or higher resulted in higher reported values. It was only when I decreased the poll time to every 0.5 seconds that I began to see it drop to lower frequencies. Contrary I know.

I agree it has to do with Synapse having a lot of overhead though. And I swear it only started in the last 10 versions or so. When I first started messing with Synapse a few months back it idled just fine.
[Android Software Development] apb_axel:
It's weird my CPU idles just fine in 1 sec but some people say otherwise :confused:, anyway I'll try reducing the polling to 0.5 (even weirder) and see. Thanks for the heads up :good:
[Android Software Development] osm0sis:
I think it's because it actually gets the chance to see the lower frequencies at 500 ms, where they can get passed over at 1000 ms or higher due to the overhead. On my GN with 1000 ms it was at 900 MHz or higher. Increasing the polling frequency to 500 ms brought it down to 700 MHz and I occasionally see it drop to 525 MHz and 230 MHz on one core. :confused: :)

Again I think it's a Synapse app overhead thing that was better in older versions. Hopefully Andrei can continue to improve things and get it back to that in the future.
[Android Software Development] AndreiLux:
There isn't any fancy overhead in the app. I don't see any of this stuff on my S4 anyway, it keeps on the min frequency.
[Android Software Development] osm0sis:
I'm not sure what to tell you but it started after an app update awhile back, but I was too new with Synapse to realize it at the time.. :(

There's nothing special about the code I'm using on that page:

{ STitleBar:{
title:"Temperature"
}},
{ SLiveLabel:{
refresh:1000,
action:"live temp"
}},
{ STitleBar:{
title:"CPU Frequency Scaling"
}},
{ SLiveLabel:{
title:"CPU Frequency",
refresh:500,
action:"live cpufreq"
}},

freq() { echo "$((`cat /sys/devices/system/cpu/cpu$1/cpufreq/$2_cur_freq` / 1000)) MHz"; }
volt() { echo "$((`cat /sys/kernel/debug/voltage/vdd_$1/curr_vp_volt` / 1000)) mV"; }

case $1 in
cpufreq)
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq ]; then
CPUFREQONE=$(freq 0 scaling);
else
CPUFREQONE=Offline;
fi

if [ -e /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq ]; then
CPUFREQTWO=$(freq 1 scaling);
else
CPUFREQTWO=Offline;
fi

VOLT=$(volt mpu);

echo "Core 1: $CPUFREQONE $VOLT@nCore 2: $CPUFREQTWO - $dummy";
;;

temp)
CPU="$(awk -v cpu=`cat /sys/devices/platform/omap/omap_temp_sensor.0/temperature` 'BEGIN { print cpu / 1000 }')°C";
BATTERY="$((`cat /sys/devices/platform/omap/omap_i2c.4/i2c-4/4-0036/power_supply/battery/temp` / 10))°C";

echo "CPU: $CPU Battery: $BATTERY";
;;

The original code used expr from busybox to do all those minor calculations, so I imagine would be worse than my updated shell-only versions. It was like that before I added voltages and the dummy variable so it's not that. I tested reverting to expr at one point and it made no difference, tried making battery not use awk with no change, and lowering cpu's refresh to 500 actually made it display lower values briefly. But it basically just sits at 700 MHz, and only in Synapse. :confused:
[Android Software Development] AndreiLux:
I'll see what I can do to optimize the SuperShells at the lowest level, but on my S4 the app doesn't use almost anything and an overlay app uses the same, or more resources. Seems more like an issue of overzealous scaling properties of the governors. I also don't remember doing any update that would touch any of this. Only thing I could think of is that your hardware acceleration is broken.
[Android Software Development] ak:
[MENTION=5658634]apb_axel[/MENTION]

I have send a new pull:

https://github.com/apbaxel/N4UKM/pull/2
[Android Software Development] apb_axel:
Added, thanks :)
[Android Software Development] apb_axel:
Hey guys the new version is coming along great. just to give you a heads up of what's coming, the script is no longer restricted to the Nexus 4 ;). Expect a release soon :D
[Android Software Development] ak:
[MENTION=5658634]apb_axel[/MENTION]

do you have a pre-changelog ? :D
[Android Software Development] apb_axel:
Not yet, but basically I re-coded the entire script to support other devices (I'll need your help with the flo/deb), also busybox is no longer a requirement because all commands are now executed from the internal one. And a new feature which will be a surprise ;)
[Android Software Development] ak:
If you want a beta tester I'm ready

@ak
[Android Software Development] TheKnux:
I'm also willing to be a beta tester. :)

Sent from my 1961 XP-755
[Android Software Development] Almayce:
Yo, it seems there are problem with saving profiles on my end. I can't seem to backup one for the love of God. I put the name down as instructed, press backup and nothing happens. I tried wiping data and reinstall. I also reflashed like few hours ago aks kernel + script. So I'm out of ideas. If you got some I'm all ears :) cheers!
[Android Software Development] apb_axel:
You need to enter a name and then hit enter on the keyboard, after that press the check mark on top to save the name. Then you can hit the backup button. If you need any other help let me know ;)
[Android Software Development] apb_axel:
I fell asleep last night and didn't finish something I was working on, maybe tonight I'll send you guys a beta :)
[Android Software Development] TheKnux:
Sounds good. :D

Sent from my 1961 XP-755
[Android Software Development] rachanta:
[MENTION=6046143]marcdw[/MENTION] though I am able to run Synapse, and settings stay after boot, because of a fix, I do want to try the pre release. Could you provide a link please.
[Android Software Development] apophis9283:
Can you elaborate settings sticking because of a fix?

[MENTION=5658634]apb_axel[/MENTION] I dont have it set for the 2 minute setting yet it tell me synapse boot canceled and when I go into the app it gives me a warning though the settings werent stable
[Android Software Development] rachanta:
[MENTION=4392154]apophis9283[/MENTION]

Pl look at my previous posts in this thread
[Android Software Development] pikachukaki:
Can I ask why sometime when I open synapse some values are altered and I have to press X for the values to go down as I input them? It's app problem of the kernel change them?
[Android Software Development] gorilla p:
The all always worked that way, but with 6.0/6.0.1, I have a lot more problems with settings not sticking, and even having to restart synapse before I can see my saved profiles.

Having to press "x" after initially changing settings, saving and restarting is counter-intuitive as well and should probably be changed to the "√".
[Android Software Development] Poor Grammar:
Anybody else have this
[Android Software Development] pikachukaki:
I also have this can't restore a profile
[Android Software Development] xNombre:
Hi, what about S3 mini? Should it be compatible with Synapse?

Im using CM12.1 and F-Kernel.
[Android Software Development] salmans13:
zzmoove profile issue

hi guys how are you?

i was looking for some help with regards changing prfiles on zzmoove.

i seem to be getting this error. i am able to do so on kernel adiutor but not on synapse.

any suggestions.?
[Android Software Development] ThePrutser:
Is there a way to undo the UKMKernel flash?

I just flashed it for the first time on my OpO (running jgcaap CM13 nightly 20160105) and installed Synapse. Didn't change anything yet in Synapse. Now my SystemUI crashes everytime I try to type text, no matter which app. It seems that as soon as the keyboard is accessed/openend the SystemUI crashes, rendering my OpO unusable :0
[Android Software Development] Nemeziz 56th:
Yes try the kernel adiutor app there have almost the same settings like UKM.

Gesendet vom Flagschiff Z1
[Android Software Development] ch4qr1:
Anyway to add cpu voltage control global offset like kernel auditor ? It permitting +- 50 100 change all voltage values same time.
[Android Software Development] eternal70:
Anyone have another solution for not sticking settings ? I already tried cm root with busybox x but sadly its still didn't work for me ?
[Android Software Development] gorilla p:
I wish. I have not been able to get settings to stick reliably since 6.0 and there hasn't been any updates here in quite some time. I've had to move to KA unfortunately.

---------- Post added at 05:13 PM ---------- Previous post was at 05:12 PM ----------

Yes
[Android Software Development] ch4qr1:
Only yes ? :) Have you got any commit or idea ?

Thanks
[Android Software Development] gorilla p:
I haven't had any trouble finding it in Synapse.
[Android Software Development] rachit011:
Flashed UKM on darkobas rom+lightning kernel v26..but it is showing device not supported in synapse. What would be the reason?
[Android Software Development] hb17:
There is no need to flash UKM with Lighting Kernel, UKM is already included.
[Android Software Development] Maurizio1953:
Is it available also for note 3 hlte snapdragon?
[Android Software Development] ch4qr1:
It has only slider which change only steps provided by developer. Any way for global offset or not. Sorry for my english
[Android Software Development] Daywalkr1990:
Hey there I tried again and it said device not supported

I have a G4 running CM13

Is there a reason why it doesn't work?
[Android Software Development] rachanta:
Same for Nexus5 + Super Su 2.67 + CM13 + Synapse. Without Super Su, Synapse works fine.
[Android Software Development] jman1234:
What should I do if there's no synapse folder on the phone?
[Android Software Development] Woze:
No OTG option?

I̶ ̶h̶a̶v̶e̶ ̶t̶h̶e̶ ̶"̶T̶a̶u̶r̶u̶s̶"̶ ̶m̶a̶r̶s̶h̶m̶a̶l̶l̶o̶w̶ ̶k̶e̶r̶n̶e̶l̶ ̶a̶n̶d̶ ̶U̶K̶M̶ ̶i̶n̶s̶t̶a̶l̶l̶e̶d̶,̶ ̶y̶e̶t̶ ̶I̶ ̶d̶o̶n̶'̶t̶ ̶s̶e̶e̶ ̶a̶ ̶O̶T̶G̶ ̶o̶p̶t̶i̶o̶n̶ ̶i̶n̶ ̶m̶i̶s̶c̶.̶

Edit: Nevermind, my bad. That kernel I had on my Nexus 4, didn't support OTG. Replaced the kernel with Quanta V and now the OTG option is available in Synapse UKM.
[Android Software Development] Benholder90:
If i want to use this do i just follow the instructions in th op? That was a while ago just wondering if anything is new or different now?
[Android Software Development] lucfig:
Have been playing around with synapse and ak kernel during this week. What a great combo!

Is there a command or script we can run to switch between profiles? I would like to trigger a "power saving" profile with Tasker.
[Android Software Development] ponhei9502:
Would it be possible to add support for x86 (zenfone 2)?
[Android Software Development] Benholder90:
Sometimes synapse does not start on boot and apply my settings. Anyone know why?
[Android Software Development] w0rinal:
Is it blocked by an xposed module?
[Android Software Development] Benholder90:
How would i know if it is? Other than disabling xposed modules to see. Thing is it sometimes works and ither ti.es doesnt
[Android Software Development] Benholder90:
If i accidentally change some value in synapse app. Is there a option or setting to restpre the app to the original way it was?
[Android Software Development] Daywalkr1990:
i tried with and without super su but it didnt work
[Android Software Development] rocky78:
need some help

any one knows how to fix this?

p.s.

every thing else in synapse works well, just dont know how fix that...

and im on:

xceed kernel

flumics 3.1

lg g3 d855
[Android Software Development] Benholder90:
Hey, not sure about that mine doesnt have that problem. But wanted to ask how is your g3 with xceed kernel and MM? I tried that combination and it didnt work so great for me. Im using solid kernel now and its amazing pgone is so smooth. Im also on fulmics 3.1 d855
[Android Software Development] rocky78:
get back to me in 2 days (pm), i need to test it further but since this morning its fine, stable, smoth.

---------- Post added at 21:29 ---------- Previous post was at 20:40 ----------

ok,

i did some research, and that bug (in my post above) is not in the kenrel, but some were in the script...possibly...

java.lang.classcastexception java.lang.string cannot be cast to java.lang.integer

This will come when you try to cast String object to Integer i.e.

Integer number = (Integer) stringObject;

Read more:

http://javarevisited.blogspot.co.il/2012/12/how-to-solve-javalangclasscastexception-java.html
[Android Software Development] TA123:
I have a problem with applying profiles in Synapse. It concerns both third-party profiles and the ones I generate myself. Basically if I apply a profile Synapse crashes every time I try to open it. The only way to start is to wipe the data in Settings/Apps. It happened to both kernels I used: HellsCore and Taurus with UKM 3.8.1 and modified versions of the script. All tried on Chroma ROM on my Nexus 4. Is there any way to fixed it. It was working fine until some point so I am not sure what causes it.
[Android Software Development] gorilla p:
I had a problem briefly and I had to make sure everything was removed.

Ran UKM uninstall script, uninstalled synapse and I think I had to manually delete a folder as well.
[Android Software Development] Nabeez:
How do i download a battery profile for my S6 edge?
[Android Software Development] TA123:
Let me try. This problem has been bugging me for a while now.
[Android Software Development] TA123:
No, got through the whole process again to no avail. :(
[Android Software Development] urgali:
Hey everyone!

..i've been using my faithful opo with lightning kernel and synapse for a while, but now that i have switched to OP2 i really miss the synapse customization.

Is there any way to flash ukm on op2 and use synapse?

Thanks in advantage!