yashsingh1/xdaforums huggingface dataset:
[Android Software Development] tusshar.gaba:
Installed on Nexus 5 Mahdi's Rom ..when starting synapse ..getting error - json configuration parsing failure ...what may be the case ???
[Android Software Development] Tylog:
Flash the zip in recovery, reboot, innstall Synapse App from play store, done. Works fine on the N5.

Edit

[MENTION=3685904]ak[/MENTION] my friend, .long time no see you:)

Tapatalk Team SlimRoms
[Android Software Development] arjiyunandar:
How to fix this? I am using velocity + hellsdoc r17 + f2fs :) thanks for your answer
[Android Software Development] apb_axel:
Bug on my part, should be fixed on the next version. :)
[Android Software Development] ak:
[MENTION=5047159]Tylog[/MENTION]

Long long time ... it is always a pleasure to see people who have contributed to the growth in xda.
[Android Software Development] tusshar.gaba:
okay ..i did exactly the same like u said ..but it still not working ..dnt knw wht causing the problem ..
[Android Software Development] fr3quency:
Try a clean install. Best way to fix your problems and headaches. :)

Sent from my Nexus 4
[Android Software Development] UgoBoss:
Facing a problem with Nexus 5. I can't control cpu hotplug (fast or slow hotplug), see 1st screen. I thought it was the kernel that don't give this option (I'm on Uber) but with KControl and Trickster Mod it's working perfectly fine. See 2nd and 3rd screen.

Info on the last screen.

Is this a bug or it cames from the kernel?

Thanks :)

Nexus 5 tapatalked
[Android Software Development] jeanpir60:
Hello,

I have many question about Synapse + UKM :

Does Synapse works with Omnirom 4.4.3?

Should I install a custom kernel or I can keep Omnirom kernel?

Otherwise what Kernel do you recommend ?

Does the OTG working ?

Thanks
[Android Software Development] fr3quency:
I got a some questions. Sorry if they're a pain in the butt, but someone needs to shed some light here. :)

Add Random(the description says something about spinning. We got flash-based memory.... What?)

Rotational(Treat device as rotational storage.) What happens if it treats it like that?

Dirty background ratio + Dirty Ratio + VFS Cache Pressure ----> After searching Google, I found that the lower they are, the better. Am I correct? (I've set VFS to 70%)

Swapinness(it treats the internal storage as ram? Ive set it from 10% to 15%)
[Android Software Development] ak:
usefull:

http://docs.neo4j.org/chunked/stable/linux-performance-guide.html

---------- Post added at 11:51 AM ---------- Previous post was at 11:50 AM ----------

inline:

Does Synapse works with Omnirom 4.4.3?

yes

Should I install a custom kernel or I can keep Omnirom kernel?

no

Otherwise what Kernel do you recommend ?

all

Does the OTG working ?

depend on combo kernel/rom
[Android Software Development] jeanpir60:
thanks for your answer.

I just install Omnirom 4.4.3 (Last Nightly) + Universal Kernel Manager v2.4 + SuperSU + Synapse.

Is there any parameters to activate OTG in Synapse.( i don't found) ?

Otherwise which combo Rom (4.4.3) / Kernel permit to use OTG.
[Android Software Development] ak:
you can go to developer section and choose the kernel best for your fit. i can't suggest, i'm using my personal kernel, and no others from long time. ;)
[Android Software Development] tusshar.gaba:
i still cant get ot working ..clean flashed again then installed synapse ..but it still showing me json configuration parsing error ...nexus 5 ..mahdi rom with mahdi kernel
[Android Software Development] Rohit02:
Try this

Flash kernel

UKM2.4

reboot

install synapse

before doing this delete synapse folder..
[Android Software Development] tusshar.gaba:
which kernel should i flash ??? bcos mahdi kernel is still good ?

edit : did exactly what u said ..but no luck ..still getting that same error on mahdi rom for nexus 5 ..everythings running smooth on this rom ..but this app just wont work ..i m surprised that there is still no solution for my problem ...i really want this app to work... json configuration parsing error ....this i always get .. i m sad :(
[Android Software Development] ak:
new feature

@apb_axel

hi my friend, into the next release can you add support to this:

https://github.com/anarkia1976/AK-xGenesis/commit/6f9ebe3f3d8aaa270fad4a6137cc88f775c1cd5a

exp kernel with this commit:

View attachment AK.313.POSEIDON.MAKO.zip

thanks a lot.

ak
[Android Software Development] apb_axel:
I haven' added those tunables yet, but I'll include them for the next release. Thanks for the feedback. :)
[Android Software Development] apb_axel:
Send me the config.json file that is located in /data/UKM so I can have a look and determine the problem.
[Android Software Development] apb_axel:
Of course! Anything for you my friend. :D
[Android Software Development] apb_axel:
So I'm thinking of removing the CPU Frequency display from the UKM script because of all the people complaining that it's not accurate enough, and on some cases people uninstall the script just because of that (which I think is a little exaggerated since they have a whole lot more tunables than anywhere else). Anyway I wanted to hear from you guys of what do you think, leave it in or just remove it altogether?
[Android Software Development] Italico:
Honestly, I always found the CPU freq display inaccurate. But I have to say, this has ABSOLUTELY not forced me to unistall the app, because it is very good, almosta as good as your script! Thanks!
[Android Software Development] osm0sis:
I've always just said "It's a Synapse thing" and people get over it. ;)

For whatever it's worth the refresh at 500-650 keeps it accurate on my GN since Andrei released the version with the SuperShell fix. :)
[Android Software Development] ak:
I think isn't necessary, but it's my 2cents, and you can have less overhead for all others tunables. :rolleyes:
[Android Software Development] tusshar.gaba:
here u go sir ..i've attached the file here ...please have a look ..if u need anything else please tell me ..bcos i really want to use ur app ..https://www.sendspace.com/file/7k7wix
[Android Software Development] gorilla p:
Is there any way to make it so that it IS accurate? If not, I'd say to just remove it. It will reduce confusion and give devs less headaches from people like me because I was going off of the CPU readings in Synapse.

HOWEVER if it will result in people removing the app because one bonus feature is inaccurate, you may want to keep it. You likely won't want to deal with people that are so irrational when PMSing...

Its like a built-in social Darwinism feature. [emoji23]

Sent via Mental Telepathy
[Android Software Development] fr3quency:
Personally I never check the frequencies. I install Synapse to edit the kernel settings. I believe it's good to have and you should ignore the idiots and ignorants that complain.

Sent from my Nexus 4
[Android Software Development] apb_axel:
The problem is script-wise I can't do anything else, It's already doing what it should do and what most apps already do the same thing I do. The issue seems to be with Synapse I'm afraid. :(
[Android Software Development] apb_axel:
Thanks I'll look it over and see if I can find the problem. :good:
[Android Software Development] apb_axel:
I still don't know why Andrei's device doesn't present the same issue we have with nexus phones, maybe hotplug settings on our phones are more sensitive? :confused:
[Android Software Development] apb_axel:
I agree, I hardly look at frequencies myself. I just want people to tune their devices to the max and not worry about frequencies.
[Android Software Development] gorilla p:
Oh well. Its an awesome script and app. There's plenty of other ways to monitor CPU freq. If it can't be accurate you may just want to remove it to avoid complaints.

Sent via Mental Telepathy
[Android Software Development] ak:
all my thanks goes to this thread :o
[Android Software Development] UgoBoss:
Oh great ! I'm waiting for the next release patiently ! :)

You're welcome and thank's you the your awesome app ;)
[Android Software Development] benna:
So wats the solution to this peeps?
[Android Software Development] apb_axel:
Send me the config.json file located in /data/UKM so I can find out the problem.
[Android Software Development] benna:
Can I please have ur email adress? You can pm me. Thanx mate
[Android Software Development] apb_axel:
Try with this file, just replace over your existing one and make sure permissions are 755 and owner is root. If it works let me know so I can apply a definitive fix for it. ;)

http://www.justbeamit.com/eu74k
[Android Software Development] apb_axel:
You can upload it here or anywhere you want and send me the link. :)
[Android Software Development] benna:
I uploaded here mate
[Android Software Development] benna:
I just renamed it to .zip, its not ziped
[Android Software Development] jeanpir60:
hie,

New attemps for use OTG.

ROM LiquidSmooth 3.1

Kernel AK 311

Both indicate OTG in their description.

I install UKM and after reboot i install Synapse.

When i plug my otg cable : nothing

Does OTG really works on Mako 4.4.3 ?

Anybody can tell me a good combo Kernel + Rom ?

OTG works fine with more ROM and Kernel 4.4.2 with ziddey path

Thanks for your help
[Android Software Development] ak:
do you have enabled otg from synapse?
[Android Software Development] jeanpir60:
i don't find the parameter in Synapse

---------- Post added at 11:15 PM ---------- Previous post was at 10:35 PM ----------

i finaly found the parameter. I enable OTG, restart phone.

When i plug the usb key, it blinking then off
[Android Software Development] apb_axel:
Should be in the Misc tab. You should also know that you need a special Y-cable.
[Android Software Development] neriamarillo:
[MENTION=5658634]apb_axel[/MENTION] Thanks soo much for this app. It works perfectly and it is clean, organized and beautiful. It has all the things I would want out of mixing all the kernel apps.

One question.. Does the color part only work on specific kernels? I don't see it on my Nexus 5 using Uber kernel but my display profiles are working with an external app.
[Android Software Development] apb_axel:
In the current version there are no gamma profiles for Nexus 5, but I've already included it for v2.5 so expect it soon. ;)
[Android Software Development] apb_axel:
Ok try this file, just replace the current file and check that permissions on the file are 755 and owner is root. If it works I'll include the fix on the next version. ;)

http://www.justbeamit.com/ek9mz
[Android Software Development] neriamarillo:
Awesome! This app is gonna be here for a long time!
[Android Software Development] TheKnux:
[MENTION=5658634]apb_axel[/MENTION] would it be possible to have Synapse load a profile and apply it every time the phone boots? For some reason whenever I restart my phone, it goes back to default settings and I have to press undo (or whatever it is) to restore my settings.

Sent from my 1961 XP-755
[Android Software Development] apb_axel:
Saved settings should be applied after boot in 1-2 minutes. Just don't enter Synapse right after boot or it will cancel boot settings.
[Android Software Development] TheKnux:
Alright cool. I figured it would save them, I just get too impatient and make sure it's reverted to my settings instead of waiting. Is there anyway you can change time option of which the settings are applied?

Sent from my 1961 XP-755
[Android Software Development] apb_axel:
Not that I'm aware of, I think it's hardcoded in the app. Still I think it's a good time because if you mess with settings or voltages too much you have enough time to enter the app and fix it. :)
[Android Software Development] apb_axel:
Hey my friend, I just need to add this last thing so I can upload v2.5 but I can't flash it because I'm on CM :D. Can you tell me the sysfs entries I need to add to for this? Thanks! :)
[Android Software Development] ak:
infos

For logging:

root@android:/ # cat /sys/module/logger/parameters/log_mode

cat /sys/module/logger/parameters/log_mode

+ * 0 - Enabled + * 1 - Auto Suspend + * 2 - Disabled

Can you add also new hotplug parameters:

root@android:/ # ll /sys/module/msm_hotplug

ll /sys/module/msm_hotplug

--w----r-T root root 4096 2014-06-18 19:01 boost_lock_duration

--w----r-T root root 4096 2014-06-18 19:01 cpus_boosted

-rw-rwxr-- root root 4096 2014-06-18 19:00 current_load

--w----r-T root root 4096 2014-06-18 19:01 down_lock_duration

--w----r-T root root 4096 2014-06-18 19:01 fast_lane_load

--w----r-T root root 4096 2014-06-18 19:01 history_size

--w----r-T root root 4096 2014-06-18 19:00 io_is_busy

--w----r-T root root 4096 2014-06-18 19:01 load_levels

--w----r-T root root 4096 2014-06-18 19:01 max_cpus_online

--w----r-T root root 4096 2014-06-18 19:01 min_cpus_online

--w----r-T root root 4096 2014-06-18 19:00 msm_enabled

--w----r-T root root 4096 2014-06-18 19:01 offline_load

drwxr-xr-x root root 2014-06-18 19:00 parameters ---> debug_mask

--w----r-T root root 4096 2014-06-18 19:00 suspend_defer_time

--w------- root root 4096 2014-06-18 19:00 uevent

--w----r-T root root 4096 2014-06-18 19:00 update_rates

Thanks a lot for your hardwork.

ak
[Android Software Development] apb_axel:
Sure thing! I'll add these right now so a new version should be up in the next hour. :D
[Android Software Development] tusshar.gaba:
download link is dead ...file no longer exists ...
[Android Software Development] ak:
sorry but im out of thanks:

Sorry, you are limited to 8 thanks per day
[Android Software Development] apb_axel:
Me too don't worry about it, so few thanks we can give out xda should increase it.
[Android Software Development] apb_axel:
Oops, no problem I've fixed it in the new version. ;)
[Android Software Development] tusshar.gaba:
so when can i expect the new version coming ? ..sorry for asking eta ..i knw its not allowed :p
[Android Software Development] ak:
if you see abow yes ... new great release is coming ;)
[Android Software Development] corcgaigh:
I have the same problem so its great to hear the next release is going to address it

Thanks for sharing your work man
[Android Software Development] apb_axel:
It's finally here! New version is uploaded with loads of fixes & tons of new stuff. Happy flashing guys! ;)

Download: UKM v2.5

Don't forget to hit that thanks button & please rate the thread! :D
[Android Software Development] Italico:
Flashin'in the mornin' [emoji16]
[Android Software Development] fr3quency:
Tried undervolting by using the global slider. It resets back to the default, so I have to remember how much I have undervolted. It would be great if it showed the number next to the Global slider. :)
[Android Software Development] apb_axel:
The global slider isn't saved anywhere but I can add a file to keep track of it. Good idea. :good:
[Android Software Development] Italico:
Seems that the dirty background ratio value, in the memory section, does not apply. It always stay at 5%
[Android Software Development] fr3quency:
Nice, thanks for your hard work apb_axel!(btw is the name Axel from kingdom hearts? :P)

Guys, I thought I should share my profile. THE PHONE FLIES! I'm afraid it'll become a rocket and fly out of my hands. I get 15+ hours plus super-uber-extraordinary performance. Check it out for yourselves. Just rename from .zip to .tgz

Install ak kernel, because the settings are for this specific kernel!
[Android Software Development] ak:
All good here with new UKM version. :fingers-crossed:
[Android Software Development] Cigaras:
Something wrong

Something is wrong with my Nexus 4 using Paranoid Android and AK kernel, when I try to save settings in Synapse, I get error that file-system is read-only, I tried chmod'ing using terminal emulator, get the same problem, what am I doing wrong?

Same issue with UKM version 2.4 and 2.5
[Android Software Development] ak:
Do you have the init.d folder?
[Android Software Development] fr3quency:
Try a clean install. Maybe init.d folder missing?
[Android Software Development] Cigaras:
Not sure where it's supposed to be, but it exists in /system/etc/
[Android Software Development] ak:
Can you check permissions and owner of the folder?

Can you set r/w with root explorer?
[Android Software Development] Cigaras:
Owner is root, permissions set to as shown in attached image, should I set write permissions for everyone?

I set permission to write for group, now Synapse works as it should, is it safe to do so? :)
[Android Software Development] ak:
I dont know what do you mean, because when you root your device and install a 3 party app you break security, and so i don't know if it safe or not.

this is your choice.

I want to suggest to set the dir:

uncheck others

root rw_sdcard

rwx
[Android Software Development] Kaotiko77:
AK v313 + UKM 2.5 are amazing. Thanks a lot for your work

Sent from my kaotik nexus⁴ powered by OmniROM "Last Nightly", AK Poseidon v313 & UKM 2.5
[Android Software Development] ak:
Denada, is a pre-kernel before official, i have merged a lot of the new stuff for speed.
[Android Software Development] tusshar.gaba:
still not working ...json configuration parsing error ... it wont work on mahdi rom
[Android Software Development] eng.stk:
Got a couple of issues on v2.5 on Nexus 5

Gamma works but there's an error on loading profiles (SOptionList has failed check screenshot)

cpu_boost has a couple SOptionList has failed too (check screenshot)

On cpu_boost It doesn't show /sys/module/cpu_boost/parameters/load_based_syncs (it should check be Y or N to turn on/off)

On cpu_boost It doesn't show /sys/module/cpu_boost/parameters/hotplug_boost (should check for Y or N to turn on/off)

msn_hotplug has a (SOptionList has failed onn Suspend Max CPUs (min value is 0 wich is disabled, not 1)

On msm_hotplug It doesn't show /sys/module/msm_hotplug/suspend_max_freq (the default in this is 0 too, which is disabled)

Good apdate mate , keep up!
[Android Software Development] Nekator:
same thing here. but if I set permissons for init.d folder to 750

via file manager (I used cm once) it works.

sent from my paranoid N4

Edit: didn't see that u already did this. Read the first post and replied instant
[Android Software Development] apb_axel:
Can you send me the config.json file again? Maybe I missed something :(
[Android Software Development] apb_axel:
Thanks for the feedback, I couldn't test any of this so I was expecting some issues. :)
[Android Software Development] apb_axel:
Weird, I added a permission verifier first and it still gives errors, maybe there's some mount protection for certain ROMS? :confused:
[Android Software Development] Nekator:
default group for init.d folder is sdcard_r in pa. maybe that's the problem.

sent from my paranoid N4
[Android Software Development] apb_axel:
Already did that, both for owner & permissions :/

test $OWNER -ne "0" && chown "0:0" $INITD;
test $PERM -lt "755" && chmod 755 $INITD;
[Android Software Development] Nekator:
if I try to set permissions in terminal I get this.

but if I set permissions and owner with a file manager it works. I'm confused.

sent from my paranoid N4
[Android Software Development] ak:
Because is mounted and don't permit to change permissions. You have to do this into recovery.
[Android Software Development] Nekator:
yes it's mounted as read only. remounted already and now everything is fine and no problems with synapse anymore.

sent from my paranoid N4
[Android Software Development] apb_axel:
Forgot to include this but I also mount /system partition first, it's like this:

mount -o remount,rw /system;

test $OWNER -ne "0" && chown "0:0" $INITD;

test $PERM -lt "755" && chmod 755 $INITD;
[Android Software Development] tusshar.gaba:
https://www.sendspace.com/file/vf67a0 here u go ... and 1 more thing by default permission for config.json file is this ..and even after changing it to 755 ..it just doesn't work ..
[Android Software Development] apb_axel:
Ok I think I found the problem, your kernel has some duplicate values in GPU Frequencies and was giving errors. Try this file and remember to put permissions as 755 and owner as root.

https://www.sendspace.com/file/wm6q8u
[Android Software Development] blusydays:
Yes of course, If you can can make it do coffee :laugh:

Seriously, is it possible to add time in different cpu state ? something like in the screenshot ?
[Android Software Development] apb_axel:
Not with the graph bars because I don't have an option for that in Synapse, but I can definitely do the % and time in states. I'll add it to my to-do list :good:
[Android Software Development] fr3quency:
ASCII graph. :P
[Android Software Development] apb_axel:
That actually could work! Hmm we'll see..................
[Android Software Development] Jagdish84:
Did anyone come across an issue editing sampling min rate? Talking about ondemand governor values...

Im using aks latest kernel and tried flashing both kernel and script again and fixing permissions afterwards.
[Android Software Development] Almayce:
Yes I did, but reboot solves it.
[Android Software Development] Jagdish84:
Thanks for your reply but unfortunately that was not the case for me...
[Android Software Development] acejavelin:
Awesome!!! Thanks so much for this, now DT2W sticks through a reboot on AK kernel!!!
[Android Software Development] apb_axel:
You're right it happens the same for me, i'll have a fix for it on the next version.
[Android Software Development] gorilla p:
Awesome job man. I'm liking these options.

Sent From My Google NeXuS⁴
[Android Software Development] jimyiak:
after installed synapse and run it i see no UCI support detected.....
[Android Software Development] ak:
Do you use stock rom?
[Android Software Development] gorilla p:
[MENTION=3177078]jimyiak[/MENTION]s problem was solved in AK kernel thread.

Uninstall Synapse

Flash AK uninstall script

Flash latest AK

Flash UKM script

Install synapse

Working.

Sent From My Google NeXuS⁴
[Android Software Development] ak:
You are great ... and present everywhere ...

you deserve the title of RC. :good:
[Android Software Development] gorilla p:
Thank you for the compliment. I just try to help when I can. I know others have helped me enough. :)

Sent From My Google NeXuS⁴
[Android Software Development] apb_axel:
Hey guys, I was out of town on a business trip so i was a little absent, but now I'm back!. New version is coming soon! :victory:
[Android Software Development] ak:
yessssssssssssssss .... thanks man. :D
[Android Software Development] FrozenLord:
Show us what you got :)
[Android Software Development] gorilla p:
For some reason I got an error stating "sseekbar failed" and the CPU minimum freq seekbar disappeared.

Sent From My Google NeXuS⁴
[Android Software Development] apb_axel:
Are you running any other kernel manager?
[Android Software Development] tusshar.gaba:
i did exactly like u said ..but no luck man ..i think ur app just doesn't work with mahdi rom and its kernel ... sad thing for me
[Android Software Development] apb_axel:
It worked for me fine, did you replace the original file with the one I uploaded?
[Android Software Development] tusshar.gaba:
yeah i did that ..exactly like u said ..1 more thing i like to tell u that ..after every reboot ..when i check the config.json file .it changes the permissions automatically to rw-r--r-- after every reboot ..so i change it to 755 ..but then synapse show me the same error ..

also i have xposed installed if this may be the problem ..thats all
[Android Software Development] apb_axel:
Oh but don't reboot the device after you replace the file, if you reboot it will revert to the original file. Just replace the file, set permissions and enter Synapse all without rebooting.
[Android Software Development] tusshar.gaba:
yeah did this also ..but not working ...there is some other problem i think
[Android Software Development] eng.stk:
btw backlight dimmer also has cast error (check screenshot)

Paths are:

/sys/module/lm3630_bl/parameters/backlight_dimmer (Y or N)

/sys/module/lm3630_bl/parameters/min_brightness (integer)

Hope you can crack all those on v2.6 :good:
[Android Software Development] apb_axel:
No screenshot :p
[Android Software Development] ak:
thanks

for you:

Thanks Meter 1000

:D
[Android Software Development] apb_axel:
Woot! Now for the other 1000! :victory: