yashsingh1/xdaforums huggingface dataset:
[Android Software Development] ak:
new features

@apb_axel

sorry, can you delete this:

https://github.com/apbaxel/UKM/pull/4

and accept this:

https://github.com/apbaxel/UKM/pull/5

i have pulled to wrong branch.

thanks a lot.

If you like i have added:

Added MSM Hotplug Max CPUs Screen Off

Added MSM Thermal Enable/Disable Debug

Added ARCH POWER Support

new features into next kernel release.
[Android Software Development] gorilla p:
Sorry I haven't been here in a while, but it's bcause I haven't had any problems. :) :good:
[Android Software Development] Kaotiko77:
Me too, all works very fine!

Sent from my kaotik nexus⁴ powered by C-ROMv7.1, AK Poseidon v330 & UKM 2.7
[Android Software Development] apb_axel:
Thanks, I had already included the 2 tunables you asked but didn't have time to publish it yesterday. :D
[Android Software Development] ak:
good. thanks a lot. :D
[Android Software Development] Primokorn:
It actually doesn't work with Uber kernel 3.4.97.

No issue with 2.6 though

Catlog https://www.dropbox.com/s/ht3tccm6btoce4r/2014-07-08-21-49-06.txt

Can you share 2.6 version?
[Android Software Development] apb_axel:
New version is up!. This is a small update featuring a few new tunables for ak users.

Download: UKM v2.7.2

Happy flashing! :D
[Android Software Development] apb_axel:
Can you send me the config.json file located in /data/UKM? That way I can find the problem.

All my previous versions are here http://www.androidfilehost.com/?a=show&w=files&flid=14376
[Android Software Development] GruZone:
Do we need to use the uninstaller first or just flash this on top?
[Android Software Development] gorilla p:
Just do what this guy would do...

Sent via Mental Telepathy
[Android Software Development] carlese:
Still crashing on gamma and some other things.. Someone help this guy fix it.. It deserves to be helped because his work is great!
[Android Software Development] Nekator:
I was Laughing about 5 Minutes. :D

Sent from iPad
[Android Software Development] Primokorn:
Here you go: https://www.dropbox.com/s/bwndzto1al56m6k/config.json

Just flashed v2.6 and it works.
[Android Software Development] Mademos:
apb_axel what have you done! With the 2.7.2 I get absolutely no errors. I suddenly feel like I am cheating.

[emoji106][emoji106][emoji106]

Sent from my Nexus 4
[Android Software Development] Nekator:
Haha. Nice.[emoji106]
[Android Software Development] apb_axel:
You can just flash on top, the installer already uninstalls old files first :)
[Android Software Development] apb_axel:
Thanks I'll have a look at what I changed :)
[Android Software Development] apb_axel:
Lol that's the idea :D
[Android Software Development] R0i_:
Hi there,

I have implemetado sypnase in my kernel for LG G2 - D802 but have some problems:

Do not save the maximum frequency when sypnase reset when entering the maximum frequency is at maximum. Is there any way to put the blocker frequency as in Trisckter mod app?

The other problem is with the script of the GPU, with them not to run this script, but the path is not the right match, any ideas?

Sorry for my English.

Thank you!!!
[Android Software Development] Paoliz:
Hi, i'm unable to change gamma colors, it revert always to google_stock....

I'm on latest Matr1x kernel with purity+ ROM

Inviato dal mio Nexus 4

EDIT: OK problem solved with a reboot ;)
[Android Software Development] apb_axel:
Yeah sometimes a reboot always helps :)
[Android Software Development] Paoliz:
Great mod, everything works fine :D

Inviato dal mio Nexus 4
[Android Software Development] Paoliz:
Only a question: how can I import gamma values form google drive document to the app?

Inviato dal mio Nexus 4
[Android Software Development] apb_axel:
You could apply the values manually and then save it in Synapse or open the gamma file and enter the values in the file in the specified order.
[Android Software Development] R0i_:
[MENTION=5658634]apb_axel[/MENTION]

Hi there,

I have implemetado sypnase in my kernel for LG G2 - D802 but have some problems:

The other problem is with the script of the GPU, with them not to run this script, but the path is not the right match, any ideas?

Sorry for my English.

Thank you!!!

Enviado desde mi LG-D802 mediante Tapatalk
[Android Software Development] T-luvR:
Hi guys the app shows my speed bin=0 :'( it means I cant oc?! But my device is faster
[Android Software Development] BelzIgoh:
My speed bin also 0. Fast.

My nexus 4 will reboot if I overclock it to 1620 MHz or 1728 MHz.

So I'm stick to 1512 Mhz.

But you can try it first, because every chips is different. :good:
[Android Software Development] T-luvR:
I dont have any problem with oc on jb days I had oc 18** but i had a soft brick that time but now no problem with 1728 asking because of maybe problems

If I helped thank T-luvR
[Android Software Development] fr3quency:
Buy a Nexus 5. Problem solved. When you buy a phone @ 1,5GHz you must have the courage to accept that specific frequency, when they release new phones a year later. If you want more Hz, go for a Nexus 5, then again, I guess you will ask to overclock it to 3GHz. :P
[Android Software Development] Almayce:
I have an issue with seek bar, here. It happened with two separate kernels, AK and modded Mirage. Sadly tapatalk acts up again and I can't post picture... It says Java.lang. Numberformatexception:invalid int :"null" if that helps. I tried the usual wiping data, reinstalling synapse refreshing ukm, deleting folder etc. any ideas?
[Android Software Development] apb_axel:
I would need the screenshot to see which tunable is presenting the error.
[Android Software Development] apb_axel:
Didn't understand, you mean the path is not the right match for the GPU parameters? Are you using UKM as a template for your kernel?
[Android Software Development] Almayce:
It's the global slider on the top. I'll try to up the pic for you.
[Android Software Development] :
First time using a custom kernel on my Nexus 4 running PA 4.42 and AK kernel v3.35 and this is happening. After this error is showed DT2W works but if I reboot then it doesn't work anymore until I enable it again.

I would really appreciate any help.

Here's a screenshot.
[Android Software Development] montbazon:
Give the file write permission with file explore like root explore.
[Android Software Development] acejavelin:
Go into your su manager and remove its root privelages, then restart the app and grant it superuser privileges and make sure to select forever.
[Android Software Development] :
Tried both without luck.

Permissions are already set (rwxr-xr-x) to system/data/UKM/actions/wake

And got the same error after reseting root permissions.

Sent from my Nexus 4
[Android Software Development] montbazon:
Hey man synapse says more write permission to proper file.

You need to made init.d/ukm 757 or 777.
[Android Software Development] arffrhn:
I had posted this before in Mahdi thread, but the issue does not seems related to the rom as the issue is not present on my friend's device running the same rom. Is anybody here that is using AK v.335+ukm v2.7.2 + synapse having any issue running Catlog app? All your feedback is much appreciated.

Thank you. :)
[Android Software Development] :
Upgraded Busybox and installed Universal init.d support and problem solved.

Thanks for the help.

Sent from my Nexus 4
[Android Software Development] d13guit0:
r0i talks about this. We're workin' on Darnel kernel for G2. I've sent you a PM. Thanks in advance mate ;(

Enviado desde mi LG-D802 mediante Tapatalk
[Android Software Development] Almayce:
Here's the screenshot of the error, sorry it took this long.
[Android Software Development] mixtapes08:
Gamma calibration not showing on latest semaphore. What should I provide to you to fix the issue?

Sent from my Nexus⁴
[Android Software Development] apb_axel:
For the G2 you'd have to change the sysfs directories, just look for the action entries in the GPU file and change them accordingly. :good:
[Android Software Development] apb_axel:
No problem, check the value inside /data/UKM/files/volt_prof. If it's empty just set it to 0 and it should work ;)
[Android Software Development] apb_axel:
Did stratosk change gamma settings? I read his changelog and there's no mention of gamma.
[Android Software Development] d13guit0:
Just another question...some people have problems with freqs because seems that synapse don't save the changes permanently. Every time we open the app the flags ok/cancel appears. What's wrong?
[Android Software Development] apb_axel:
Most likely another app changing settings, make sure Synapse is the only kernel manager and if your ROM has a built-in kernel manager disable that as well.
[Android Software Development] fr3quency:
+1 it's not just frequency, it's colours(sometimes PA_halfbreed revert to google stock; on a new install), sound(max_loudness reverts to LG stock) etc etc.

I don't know if the problem lies in UKM or Synapse, but I believe, no matter how good the dev thinks he is, that Synapse has some bad programming. Or his "code philosophy" is wrong. Comparing it with Extweaks on Galaxy S 2. ExTweaks was snappier, faster etc etc. Synapse has always had problems, and that's a fact.
[Android Software Development] T-luvR:
!!!! Its good that you never hide truth !!:D but it may bother most people !

If I helped thank T-luvR

---------- Post added at 01:05 AM ---------- Previous post was at 12:33 AM ----------

:D yessss if I had a n5 I would ask for oc again!! But the fact that makes me stay away from buying a new phone is that i rather buy apps than a new phone! So most of my money goes for apps and mostly games so ill only change phone when the app i want wont run properly cos i dont use any other things like cam...

If I helped thank T-luvR
[Android Software Development] fr3quency:
You are into Gaming then you definitely need to buy a new phone. ofc the next Nexus. it's like Playing Crysis 3 on an Intel cpu from 2000s... :P
[Android Software Development] T-luvR:
Yees im into it :D will be buying nxt iphone or nexus but for now its ok!:D

If I helped thank T-luvR
[Android Software Development] AndreiLux:
Then you are in no position to comment in the first place.

The same ExTweaks that takes about 10x the startup time, had no option to even verify that the values that you set are actually even applied in reality, that lost its whole settings when ever something crashed because it used in-script and file variables, that couldn't properly represent pre- and post- value states, that couldn't reset values other than deleting everything, that would crash wherever a script would fail, ... and so on and so on.

And most importantly and ironic, the same ExTweaks on whose idea of markup language configuration function was proposed and designed by none other than myself in conjunction with Gokhanmoral and implemented by Xen.

Believe me when I say that the Synapse is anything but badly designed and thought out. You're welcome to submit an issue in the Github tracker if you find a problem with it or have some suggestions, as other devs have done over the past few months.

Otherwise please keep such uninformed posts for yourself in the case of lacking technical understanding on the matter.
[Android Software Development] osm0sis:
Developer SLAM! :p

As someone who's been following along on the Synapse GitHub.. I've never seen something like this developed with as much forethought as Synapse.

There's always room for improvement (e.g. the supershell fix that finally resolved the reported idle freq) and those can be brought to a dev's attention, but to call someone's work sloppy/bad with absolutely no basis is completely out of line. Let's keep it civil. :)
[Android Software Development] apb_axel:
I agree, instead of claiming bad coding on our part we all should help each other here. Between AndreiLux, myself and others we have shown that we will indeed try to fix as many bugs or errors as we can find in the app and we have never claimed that are super devs that know everything, god knows I'm still learning a lot as I go here but at least I'm willing to help others as best I can. Anyways back on topic guys no need for further discussions on this topic let's keep it clean :D.
[Android Software Development] fr3quency:
I was just stating the obvious, the settings being resseted. If SUCH an app cannot remember the values then what's the purpose. Simply paint it blue and throw it to the sea. Haha the last one was a joke ofc. :P

What would anyone call it(the settings being resseted)? Bad coding. There's no other explanation.
[Android Software Development] osm0sis:
Synapse is a complicated animal. It's an app running JSON running shell scripts. Two thirds of that is on the kernel side (or ROM side in the case of UKM). You don't know where the problem lies so perhaps you should keep quiet about it like apb_axel requested, or frame it more constructively like I suggested for ongoing issues.

And like Andrei said, if you don't know if the problem's with the app or with the JSON/script you especially shouldn't be calling anybody out at all. You shouldn't be referring to anybody on xda so disrespectfully, period, and definitely not anyone who puts their free time into projects for us, for free. End of subject.
[Android Software Development] Clark Joseph Kent:
Thread Cleaned and that will be enough......
[Android Software Development] Derpinson:
hey guys

had this running on 4.4.4 pac man (furnace kernel) but now i switched to Dirty Unicorns (furnace kernel)

and now i get the JSON configuration parsing failure message... i'm kind of lost, because in the previous posts i read that there was a fix included in 2.7 but it't not fixed for me.... any ideas?
[Android Software Development] apb_axel:
Can you send me the config.json file located in /data/UKM? That way I can find the problem.
[Android Software Development] gorilla p:
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.

Sent via Mental Telepathy

---------- Post added at 01:58 PM ---------- Previous post was at 01:56 PM ----------

Could we have those steps added to the OP so we can refer people to it? Most issues that people come across are resolved by those few steps.

Sent via Mental Telepathy
[Android Software Development] osm0sis:
[MENTION=5658634]apb_axel[/MENTION]: [MENTION=4362467]gorilla p[/MENTION]'s post above gave me an idea. It seems like UKM has issues when people switch kernels, since it doesn't know to redo everything. Could you store the kernel name ("uname -r" should do the trick) and then check to make sure it still matches during boot? That way, when it doesn't match you could automatically trigger the reset and reconfigure seamlessly. :)
[Android Software Development] apb_axel:
I'll add these in the OP, thanks for the tip :)
[Android Software Development] Derpinson:
already did all of that...
[Android Software Development] apb_axel:
Actually I have an init.d script that does a uci reset on every boot. From what I've seen the JSON configuration failed happens when a kernel has a directory that UKM detects but there are no tunables inside (almost 99% of the times this is the error, maybe a mistake when compiling the kernel), another error was that a kernel had duplicate values on some tunables like CPU & GPU frequency. But I've been fixing most of those issues on each release but still I always check the json file to make sure. :D
[Android Software Development] Derpinson:
https://www.dropbox.com/s/hdt44cu9g2tft84/config.json

there you go
[Android Software Development] apb_axel:
Yup just as I thought, duplicate values in GPU frequencies. Don't worry I'll fix it, thanks for the file I need to actually see the file in order to find a permanent solution :D.

{ SSeekBar:{

title:"GPU Min Frequency",

description:"Set the minimum frequency the GPU scales down to.",

default:1,

action:"gpuset /sys/class/kgsl/kgsl-3d0/min_pwrlevel",

values:{

7:"450 MHz",

6:"389 MHz",

5:"389 MHz",

4:"320 MHz",

3:"320 MHz",

2:"200 MHz",

1:"200 MHz",
[Android Software Development] Derpinson:
thank you for the fast help! i'm happy my issue helps with the developement of this awesome feature!

looking forward to the fix :good:
[Android Software Development] d13guit0:
What's way to apply frequency limit to all cores?

echo '{ SSeekBar:{

title:"Límite de velocidad de la CPU",

description:"Frecuencia bloqueada para evitar overclock automático.",

default:2265600,

action:"generic /sys/kernel/msm_limiter/resume_max_freq",

values:{'

for CPUSOMF in \`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies\` ; do

LABEL=$((CPUSOMF / 1000))

echo "$CPUSOMF:\"${LABEL} MHz\", "

done

echo '}

}},'

fi`
[Android Software Development] ak:
The next level will be ukm + synapse on oneplusone ... Stay tuned ...
[Android Software Development] apb_axel:
Let's hope so :fingers-crossed:. Does the oneplusone use same sysfs as nexus devices?
[Android Software Development] apb_axel:
Yeah the syntax looks good, but I don't know if that directory does limit frequency to all cores, I don't own a G2 :p
[Android Software Development] ak:
sysfs is universal ... it have Snapdragon 801, 8974 soc.

https://github.com/anarkia1976/AK-OnePone
[Android Software Development] apb_axel:
Awesome, I'll add it to the device list for UKM. Love the codename "bacon". :D
[Android Software Development] ak:
Yeah .. phone is on the way when im ready ... i want to test UKM. :good:
[Android Software Development] Nekator:
I have problems to apply speaker profiles on furnace kernel .
[Android Software Development] apb_axel:
Must be a kernel issue, I've tried speaker profiles with lots of kernels and works fine. Is this the thread? http://xdaforums.com/nexus-4/orig-development/kernel-furnace-1-0-0-nexus-4-t2817681

I'll need to flash the kernel to test it myself.
[Android Software Development] Nekator:
I think it is kernel related because with every other kernels it works well.

BTW. Thank you for your awesome work.
[Android Software Development] AndreiLux:
For the curious, Nexus 4 / mako recently managed to pass my own userbase on the S4 in Synapse:
[Android Software Development] apb_axel:
Awesome, mako FTW! :D
[Android Software Development] dkownacki:
I m on PA 4.43 with HD r21.

Synapse is not restoring my settings after reboot. Also sonetimes it changes cpu freq by itself. I cant save my profile too. What can i do to solve these problems?
[Android Software Development] ak:
Synapse can't be change freqs by itself, have you checked init.d?

For the second question can you post logcat during the problem?
[Android Software Development] dkownacki:
Yes i ve checked and it should be fine.

Strange but but hopefully greate thing. I restarted synapse via button in the app and everything is fine now. I can save profiles, and also after reboot it set my settings automaticly.

Btw thanks for help :)
[Android Software Development] fr3quency:
Synapse used to change a lot of settings by itself (NOT APPLY). From gamma and sound to frequency and governor. And I didn't even have a sod(its been months). I'm talking facts here like the guy above me. Hopefully everything is all right on latest CM11 versions. :)

I don't think 2(and or course more people) are crazy to report the same problem.

Sent from my Nexus 4
[Android Software Development] apb_axel:
New version is coming later today. More bug fixes & more code optimizations so stay tuned :).
[Android Software Development] Nekator:
Did u take a look into furnace kernel to make it work with synapse? ;) this would be awesome.
[Android Software Development] apb_axel:
I couldn't flash it because there is no CAF version :(. But I did check the features and the dev only mentions faux sound no faux speaker, maybe you could try changing speaker settings with trickstermod and see if it works?
[Android Software Development] Nekator:
Okay. I'll give that a try. Thank you.
[Android Software Development] apb_axel:
It's that time again guys!. Today marks the coming of a new device, the Oneplus One (bacon), I haven't actually tried it since I don't own one (damn) but I'm sure our good friend and everyone's favorite dev [MENTION=3685904]ak[/MENTION] will give us the news if it works :D, also those Nexus 5 users who previously had config.json errors should be fixed in this version so let me know if it works. Anyway happy flashing & please remember to hit the thanks button and rate the thread for those who haven't already. ;)
[Android Software Development] ak:
Thanks a lot.

Opo is on the way. :D

07/18/2014
04:19 [IMG]https://tracking.dpd.de/images/icon_arrow_red.gif[/IMG] [URL="https://tracking.dpd.de/cgi-bin/dpd-request?typ=9&depot=0055&spra=en&text=2"]0055[/URL]
Oldbury (GB)
Hub scan
IT • 0016
55
101
[Android Software Development] TheKnux:
Be sure to send a OnePlus One my way [MENTION=3685904]ak[/MENTION] ?
[Android Software Development] arjiyunandar:
hi, this ukm work with bricked kernel? anyone tested? thanks for your answer :)
[Android Software Development] Nekator:
It should work with every kernel. If u are interested u can test it. it wont hurt your device.
[Android Software Development] arjiyunandar:
ok, thanks
[Android Software Development] rho789:
Hi all.

Question: why color profile doesn't apply while rebooting my phone? I have to go to synapse, hit apply, lock and unlock the phone for the color profile to apply. Is that normal?

I know that we have to shut down the screen and power it on to apply the settings, but settings have to be applied manually at startup... Is it weird? Am I weird... ?
[Android Software Development] apb_axel:
Settings should be applied after boot, works for me at least in Nexus 4, you do need to wait 1-2 minutes after boot for the settings to be applied.
[Android Software Development] rho789:
Thx for your answer. Going to flash Purity update. Will see if it works. Your doing great work. Thx for your time.
[Android Software Development] JahSam:
Android L

Hi guys !

I'm sorry if somebody already asked but i checked some pages back & didn't see anything about it.

Is UKM and Synapse working with L ?

Is anything to do to make it work ?

Thx
[Android Software Development] rho789:
I just test after updating purity Rom.

(uninstall UKM, uninstall synapse, erase synapse folder, flash Rom, gapps, boot, reboot, flash code blue Kernel and UKM, reboot, install synapse, setting everything, reboot, waiting few minutes, screen on/off)

Same thing, everything apply except color profile... Weird... No?

I have to launch synapse, apply setting, screen off/on, and there is my vomer amoled setting...
[Android Software Development] apb_axel:
I haven't tried L actually, maybe someone who has tested can give us feedback?
[Android Software Development] apb_axel:
You have a Nexus 5? If so in the next version I will be including a fix for gamma that should work for everyone.
[Android Software Development] rho789:
Excuse me for the lack of precision. Yeah I have a nexus 5.

Again, thanks for your work.
[Android Software Development] JahSam:
I think I saw a post where eng.stk (the blue kernel developer - nexus 5) told it doesn't work as well as on kitkats builds and so he recommend not using it with L for the moment.

I don't know if it's only for his kernel or for Ls so that's why i asked ^^

I can give a try by myself and give u feedback if want to. (I can understand if u don't want to work on L until full release)

Thanks for your awsome work.
[Android Software Development] Tayson1984:
Great news for you we have a Nexus5.

Thanks for your work :good: