yashsingh1/xdaforums huggingface dataset:
[Android Software Development] jacomail95:
I had the same issue, and tried to solve this way, with no luck. But for sure dirty flashing my ROM, AK kernel and script worked :D

Inviato dal mio Nexus 4 con Tapatalk 2
[Android Software Development] AndreiLux:
BTW could you remove that app data bit in the OP? I have a hard time of trying to get users to stop doing that, it's senseless. The app won't have any conflicted configs unless you really really screw up the scripts on purpose.
[Android Software Development] apb_axel:
Sure, it's removed.
[Android Software Development] jmtjr278:
Thanks for your hard work. Your script works flawlessly. Now I can finally use 1 kernel control app instead of 3.

Really loving the new synapse update as well.

And of course let's not forget the new AK update. Well done all around men.
[Android Software Development] apb_axel:
Thanks :D. Next up is...... MORE stuff :p
[Android Software Development] apb_axel:
Any other settings you guys need? I'm currently working on Intellithermal & Touchfilter settings.
[Android Software Development] gorilla p:
yeah one thing that I wasn't liking there was that rather than.

go above 1026mhz, it activated a other core? Perhaps that's more efficient if its a separate process?

but when not recording or touching the screen, HellsDoctor will sit and bounce between 81mhz-192mhZ

Sent via Mental Telepathy
[Android Software Development] apb_axel:
On the next version I'll be including load_levels in hotplug settings, I hope we can tweak and find a better setting for everyone.
[Android Software Development] apb_axel:
New version uploaded! Lots of requested features are included in this version so I hope to see some of you happy ;). Just a FYI I haven't really tested the custom Franco gamma profiles but I did use Faux Gamma as a base so it should work exactly the same, so please when someone tries it let me know if it worked for you. Also I didn't really have a chance to set the correct element in Synapse for load_levels since it was requested almost at the last minute :p, it's not the best way I can do it but for now it should work.

As always don't forget to rate the thread & hit that thanks button below. :D
[Android Software Development] Nekator:
Have this problem on v2.4

Uninstalled synapse before I flashed new version. Then reinstalled it.

Gesendet von meinem Nexus 4 mit Tapatalk
[Android Software Development] Almayce:
And I got this thing here. The seek bar shows minimum gpu freq as 128,but clearly AKs kernel has 27,too. How come? everything else smooth like babys bottom :)
[Android Software Development] ak:
So good ... You deserve RD TITLE my friend ... It work like a charm the new version.
[Android Software Development] txuki2005:
Awesome update man!!

All go fine there! Go on fire!!

Thanks Sir!

P.D: For question about GPU frequency.... when the GPU go to sleep, then the frequency go to 27 Mhs i think, i see it with my eyes ;)
[Android Software Development] apb_axel:
I think it's because you deleted the Google_Stock profile which is the default, I'll add a way to prevent deletion of this profile. In the meantime go to /sdcard/Synapse/gamma_profile and the delete the file there, after that load up Synapse and press the Restart Synapse button to refresh the list.
[Android Software Development] apb_axel:
Exactly there is no actual 27 MHz GPU frequency, that's just when the GPU goes idle that it ramps down to that value.
[Android Software Development] apb_axel:
Thanks my friend, it means a lot to me that I have the official AK seal of approval :D
[Android Software Development] Nekator:
Did that already but now all profiles except Google_stock are gone.

sent from my paranoid N4
[Android Software Development] apb_axel:
Ok run this in emulator and see if it helps, after that press the Restart Synapse button again.

su
rm -f /sdcard/Synapse/gamma_profiles/faux
cp /data/UKM/files/gammafaux_prof /sdcard/Synapse/gamma_profiles/faux
[Android Software Development] Nekator:
Worked after I changed the permissions of the copied file.

sent from my paranoid N4
[Android Software Development] apb_axel:
Hmm I'll also include a permission verifier, thanks for the feedback :good:
[Android Software Development] Nekator:
Thank you for your fast and great help.

sent from my paranoid N4
[Android Software Development] Kaotiko77:
All works fine on this side

Sent from my kaotik nexus⁴ powered by OmniROM "Last Nightly", AK Poseidon vaya & UKM 2.4
[Android Software Development] Almayce:
Sorry axel for the constant noob questions, but I got another one. I can't seem to be able to save logs, dmesgs, or last kmsgs. Toast says permission denied. Now I observed it a little bit and I can't do anything with the logs folder on my SD card. I think it's corrupted somehow. I can't open it in cm file manager, it asks to change the mode to root which I have and I can't delete it nor open it. I can open the folder in root browser, it's empty and when I try to delete it it says "logs deleted", but the folder remains there. What should I do here?

Edit:I also tried to delete it in PC to no avail. Folder is gone in PC, but when I unplug it, reboot phone its still there :(
[Android Software Development] apb_axel:
No problem bro happy to help remember I was a noob as well :p. Anyway try this in emulator to see if it helps:

su
rm -R /sdcard/logs
[Android Software Development] Almayce:
It says not found. I don't know if spaces are important when writing this in emulator, so I tried all possible choices and still, not found.
[Android Software Development] apb_axel:
If it says not found then the directory isn't there anymore, try running this to see if it appears:

cd /sdcard
ls
[Android Software Development] Almayce:
It's there.
[Android Software Development] apb_axel:
Ohh that's why, in shell script everything is case sensitive, the Logs folder is with capital L so it should be:

su
rm -R /sdcard/Logs
[Android Software Development] Almayce:
Tried with capital L, no luck. Still not found. I can't post screens right now, having trouble installing gallery etc after Rom flash.
[Android Software Development] apb_axel:
I'm at a loss don't know what it could be, has to be so permission error thingie. :eek:
[Android Software Development] Almayce:
Here's the screen just to clarify.

The folder is corrupted somehow. I just need to get rid of it, but I don't know how :/
[Android Software Development] apb_axel:
Are you typing the command together?, in the screenshot i see rm-R/sdcard/Logs and rm -R/sdcard/Logs, you need to put spaces in between.
[Android Software Development] Elcan:
Hi, I've one bug with the UKM v2.4. When I install it everythin is fine but after a few minutes the screen doesnt wake up! It turn on but no image!! What should I do? Im on carbon rom mako and hellsdoctor and tardis! Please help me!

Sorry my bad english !
[Android Software Development] apb_axel:
Did you activate doubletap2wake or touch wake?
[Android Software Development] Elcan:
Hi, thanks for the fast reply. No I think no I dont know how to activate that! Actually Im on v2.2 and all is fine, the problem is with v2.4! :/
[Android Software Development] apb_axel:
Hmm don't think that its an issue with UKM or Synapse, could be a low max screen off frequency, enabled wake option or a ROM issue.
[Android Software Development] Elcan:
How can I see that? Where can i find the wake option?
[Android Software Development] apb_axel:
In Synapse go to the wake tab and see if you have any of the settings there enabled.
[Android Software Development] Elcan:
Nope. Nothing enabled! I think if it is a bug from the rom neither it does not work with v2.2
[Android Software Development] Almayce:
Look, something else.
[Android Software Development] apb_axel:
Still incorrect syntax, type exactly as following:

rm -R /sdcard/Logs (notice the 2 spaces rm[space]-R[space]/sdcard/Logs) ;)
[Android Software Development] Almayce:
Well thanks for patience :D I figured I can quote you and then copy/paste it. Here it is, permission denied.
[Android Software Development] apb_axel:
Now you typed it correctly but you forgot to type su first to elevate permission. :p
[Android Software Development] osm0sis:
How about the output of: ls -al /sdcard/

I'm guessing the script created it as root, but in the sdcard you'd want it as media_rw :)
[Android Software Development] Almayce:
Okay, I did su first now and then paste your command, still permission denied :/

---------- Post added at 04:42 AM ---------- Previous post was at 04:39 AM ----------

Here's the output.
[Android Software Development] osm0sis:
Hmm interesting. I guess it's all root:sdcard_r on your device? Do you have trouble accessing anything else?
[Android Software Development] apb_axel:
There is something weird going on in your device, not even the superuser has permissions to delete :confused:
[Android Software Development] Almayce:
Well, not to my knowledge. Everything else works fine. I just now deleted the modems folder since I don't need it without issues. The problem with Logs folder is that I can't do anything with it and it doesn't work like it should, coz I can't save any Logs in it via synapse.
[Android Software Development] Almayce:
Okay I tried to fix permissions in recovery. And flashed latest supersu too. Nothing helped. but I noticed that in recovery file manager there are 3 files listed. Log.txt dmesg.txt and some third thing. Prolly kmsg. So should I delete internal storage or something and flash room from sideload? I really don't know how to get rid of it.
[Android Software Development] apb_axel:
Have you tried with another file manager? Maybe ES File Explorer to delete the files?
[Android Software Development] apb_axel:
Can anyone using a kernel with franco gamma confirm that custom gamma profiles are working?
[Android Software Development] Almayce:
I tried root browser, cm file manager and sdmaid. So I highly doubt another Explorer will solve it :/

I tried ES just to be sure, no avail. Still can't do anything about that folder.
[Android Software Development] Nekator:
everything works fine here.

sent from my paranoid N4
[Android Software Development] apb_axel:
Great! Thanks for the feedback :)
[Android Software Development] Nekator:
no problem. ;)

sent from my paranoid N4
[Android Software Development] setanomada:
I cannot set touch wake. Any help? I'm using PAC rom (4.4.3 based on CM) with latest AK kernel (303). Thx in advance!
[Android Software Development] apb_axel:
Try with enabling the init.d option and see if it helps.
[Android Software Development] nodnarb91:
Um... how? Lol.
[Android Software Development] jacomail95:
If you can't set also this option, try this script

Maybe it can help

Inviato dal mio Nexus 4 con Tapatalk 2
[Android Software Development] lordofazeroth:
Suggestion:

Could you add "changing Hostname" for WLAN?

Some Roms cannot change this in their dev. options.
[Android Software Development] hrishi420:
How to edit all core setting in UKM 2.4+ latest synapse for intellidemand as only one core stting is visible under cpu governer tunable???
[Android Software Development] apb_axel:
I'll look around and see if I can include this :good:
[Android Software Development] apb_axel:
It's automatic, once you apply a CPU min/max/gov setting it applies it to all cores.
[Android Software Development] setanomada:
As you can see in the attached pictur, the first thing that fails is init.d activation. I'll keep trying in future versions.
[Android Software Development] cheesyFbaby:
Im on slimkat with AK kernel and ive never seen so many tunable options for a kernel manager. Are there any that are recommended to toggle such as zram or any of that stuff? Or is better to just leave everything as is
[Android Software Development] apb_axel:
Welcome ;). Depends on what you're looking for, like battery life or performance. If it's battery life [MENTION=4362467]gorilla p[/MENTION] has a great guide in his website bit.ly/makostuff
[Android Software Development] Nekator:
idk it simply works. maybe it is because I had to copy the gamma profiles from ukm manual into synapse and change the permissions of the file.

sent from my paranoid N4
[Android Software Development] Almayce:
Yo, so I "solved" the problem with logs folder. I wiped internal storage. Now I can save logs normally. I hope it won't get corrupted again:)
[Android Software Development] MotoFlasher:
[MENTION=5658634]apb_axel[/MENTION]

As we have already discussed ... did some "promotion" for this brilliant piece of work. :highfive:

I think much more N5 user should be able to enjoy this script. ;)

http://xdaforums.com/google-nexus-5/general/tip-zip-synapse-script-universal-kernel-t2783676
[Android Software Development] eng.stk:
Very nice app, I can now control almost every single parameter on my Nexus 5 kernel, going to promote ir in my thread!

Some improvements to tunables you can tweak for use on N5:

Didn't find gamma stuuf (we all use a franco/faux123 standard, all arrays of int)

/sys/module/dsi_panel/kgamma_bn
/sys/module/dsi_panel/kgamma_bp
/sys/module/dsi_panel/kgamma_gn
/sys/module/dsi_panel/kgamma_gp
/sys/module/dsi_panel/kgamma_rn
/sys/module/dsi_panel/kgamma_rp
/sys/module/dsi_panel/kgamma_w

You can add to cpu-boost some more stuff

/sys/module/cpu_boost/parameters/load_based_syncs (true or false)
/sys/module/cpu_boost/parameters/migration_load_threshold (int)
/sys/module/cpu_boost/parameters/hotplug_boost (this one is used by me and neobuudy89, can be true or false
/sys/module/cpu_boost/parameters/plug_boost_freq (int value of freq, used by myfluxi)
/sys/module/cpu_boost/parameters/plug_boost_ms (int value, used by mufluxi)

You can add to msm_hotplug some more stuff

/sys/module/msm_hotplug/suspend_max_freq (int freq)
/sys/module/msm_hotplug/suspend_max_cpus (int value)
/sys/module/msm_hotplug/io_is_busy (true or false)
/sys/module/msm_hotplug/update_rates (array)

Keep up the awesome work!
[Android Software Development] apb_axel:
Good job :), too bad we didn't find out what was causing it.
[Android Software Development] apb_axel:
Thanks! Subscribed to the thread! :D
[Android Software Development] apb_axel:
Welcome! :). I'll start working on these new tunables right away.
[Android Software Development] Calinho:
synapse is the best kernel manager!
[Android Software Development] apb_axel:
Some good news, I have finished adding gamma settings and additional CPU Boost & MSM Hotplug Tunables for Nexus 5. I need to fix a few things for N4 users now and then a new version of UKM will be uploaded. :D
[Android Software Development] Nekator:
fast as lightning.

as always ;)

sent from my paranoid N4
[Android Software Development] radicspeter:
I would like to thank you so much for your work to all nexus 5 users!!!!

Tapatalk-kal küldve az én Nexus 5-el
[Android Software Development] DespairFactor:
I get JSON configuration parsing error
[Android Software Development] DespairFactor:
N5 and CharizardX(http://xdaforums.com/google-nexus-5/development/kernel-charizardx-r57-t2649458)
[Android Software Development] eng.stk:
That's fast mate!

Don't know how you going to implement gamma, but we all use files on Nexus 5 to load profiles (check the attached)

Basically each line is the parameter I posted above, in the same order (from kgamma_bn to kgamma_w)

You can also add RGB interface (wich is separated in N5 from gamma control), an interface called LCD_KCAL made by savoca.

Check it here https://github.com/engstk/hammerhead-4.4.3/commit/a08f8184e3c47caad51817f82a0ee72f83c6cf16

Awesome work, you covered pretty much all the tunables out there.

Any changes on Nexus 5 stuff I can notice, I'll let you know.

So far, the only "bug" I noticed was on USB fast charge, looks like some issue swith value by default

The version we most use on N5 is form faux https://github.com/engstk/hammerhead-4.4.3/commit/8caddbea1aa802ab516505262bbc83fd7e9aef64

If I can help with anything else, let me know.
[Android Software Development] apb_axel:
Your kernel should be working ok, can you send me the config.json file located in /data/UKM so I can find the issue?
[Android Software Development] apb_axel:
Yep I had already fixed that bug on this version someone else had reported it, sometimes it boots with a value a 0 in /sys/kernel/fast_charge/fast_charge_level (which isn't available in /sys/kernel/fast_charge/available_charge_levels). For the gamma profiles in Nexus 4 I create a file where you can enter your own custom settings and it saves for each version UKM, so I'm thinking of implementing that the same way for the Nexus 5 ;).
[Android Software Development] eng.stk:
Yeah, I see.

I posted that gamma profile file, because it's the standard way used by faux and franco apps (and others too), wich have tons of profiles already made and are interchangeable (some are here http://192.227.135.147/N5_ColorProfiles/Latest_Profiles/).

My advice, to simplify users life, would just parse those files in that format, so users can use easily use profiles they already have instead of doing a new file for each one of them. RGB doesn't enter on those files, it's read/write somewhere else (check my link)

But, which works better for you of course :good:
[Android Software Development] apb_axel:
Cool thanks for the link, I can add a few of those gamma profiles for the next release. Do you know the default google stock gamma? I need to setup a default so it can always revert back to stock in case.
[Android Software Development] eng.stk:
Yes check on the link, there's one that says stock.

86 87 89 91 94 96 101 109 111 121 126 131 120 116 110 99 84 71 61 52 40 33 20
86 87 89 91 94 96 101 109 111 121 126 131 120 116 110 99 84 71 61 52 40 33 20
71 73 75 78 81 84 90 100 105 117 124 130 121 117 111 100 85 73 64 58 50 37 21
71 73 75 78 81 84 90 100 105 117 124 130 121 117 111 100 85 73 64 58 50 37 21
0 10 17 27 37 45 56 72 83 101 112 121 128 123 117 106 91 78 68 62 53 38 22
0 10 17 27 37 45 56 72 83 101 112 121 128 123 117 106 91 78 68 62 53 38 22
32

Same order as the list I posted earlier :good:
[Android Software Development] apb_axel:
Oops my bad, thanks! :)
[Android Software Development] eng.stk:
btw you don't have to do all that profiles, maybe just put a button in app in order to load that files in that format, then it just parses to your app and user can save it in your format, would save you lot's of trouble and always have access to available profiles ;)
[Android Software Development] fr3quency:
The only problem I face. Thing is, it worked perfectly before flashing the same ROM... Which commands should I type in order to help? (I use adb, not terminal)

Sent from my Nexus 4
[Android Software Development] apb_axel:
Weird, did you by any chance flash TARDIS Mod or have any init.d scripts that change the CPU frequency?
[Android Software Development] fr3quency:
Nope! I followed the usual procedure I always follow. And with this procedure I never had any problems with your UKM! :)

1)Clean install(wipe /data, /cache, /system)

2)Install ROM, Gapps, Kernel, Adreno Drivers

3)Reboot

4)Install apps and restore via Titanium

5)Reboot

6)Switch to ART

7)Reboot to Recovery

8)Install UKM script

9)Reboot

10)Install Synapse

It has always worked for me. And I installed the ROM on which it worked 1 day ago. :P
[Android Software Development] apb_axel:
Can you check the file and see what value you have inside it?, then compare that to the list of CPU frequencies available for that kernel. The file is located in /sys/module/cpu_boost/parameters/input_boost_freq.
[Android Software Development] fr3quency:
I'm using ak 303 kernel. The value is: 1497600
[Android Software Development] apb_axel:
That's the problem, AK kernel doesn't have that frequency available. Weird how your device booted with that value :confused:
[Android Software Development] ak:
I have removed cpu-boost into the new version .... Mako don't work well with this driver.

ak@n4
[Android Software Development] fr3quency:
A ha! Thanks for shedding some light. :P

---------- Post added at 10:22 AM ---------- Previous post was at 10:01 AM ----------

@apb_axel, any way to add option to use either hotplug or mpd?
[Android Software Development] eng.stk:
[MENTION=5658634]apb_axel[/MENTION]

Today I tested a little more, found a detail on Nexus 5 (not really that important).

In ROM Description it says FARNSWORTH and ROM Version is empty.

Where this fields get the values from? Is to read some build.prop extras like CM has etc?

Maybe you could read also some default values if those are not found, like ro.build.display.id and ro.build.version.incremental.

If you need a Nexus 5 tester feel free to PM me.
[Android Software Development] apb_axel:
You can disable MSM Hotplug it's in the settings, but to enable MD Decision that depends if the dev decided to leave it in there. If it's there you should see an any option to enable it in the Hotplug tab (it's basically the same way as trickster)
[Android Software Development] apb_axel:
These are not build.prop extras from what I know, these entries should be in all ROMs (at least for Nexus 4). For ROM description I do "getprop ro.build.host" and ROM version "getprop ro.modversion".
[Android Software Development] eng.stk:
Those fields don't get what you want I guess...

Only ro.build.host is available in all ROMs (including stock), ro.modversion is available only in cm and similar. Most AOSP ROMs don't have that.

So I guess the description you are seeking is ro.build.display.id wich has the name of the rom, version, built type etc in just one string

ro.build.host is the host build name, not rom description. On stock is ro.build.host=wpds6.hot.corp.google.com, in my ROM was ro.build.host=farnsworth

The ro.modversion field I don't have in most ROMs, in CM for instance it's ro.modversion=11-20140609-SNAPSHOT-M7-hammerhead.

If you go for ro.build.version.incremental, it has the build version of the ROM, which I guess is what your trying to read.

You can deal with it fairly easily I guess: Just read ro.build.display.id for description, and use a if else for version (if ro.modversion isn't available, just read ro.build.version.incremental) ;)
[Android Software Development] apb_axel:
I'll do the if for ro.modversion, but in CM I get a weird description in ro.build.display.id, I'll leave that for now until I find a better way.
[Android Software Development] marf28101995:
Nice and the most complete apk for kernel control but I've a question if anyone can clear my ideias

So the settings are applied while it's booting or its like fku and it will apply the settings some timer after?

Just want to know that because I want to play with the lowest voltages with blue kernel..

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Android Software Development] apb_axel:
The settings are applied 2 minutes after boot, so if anything happens like low voltage you have time to change the settings ;).
[Android Software Development] marf28101995:
You are awesome!

Congrats :)

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Android Software Development] matrix android:
TNXXX

Thank you for a very wonderful
[Android Software Development] Nekator:
I think it is Rom related but maybe you would include a permission check and maybe a change into your script to prevent this error.

Just a small thing and its easy to fix but just a hint. ;)

sent from my paranoid N4
[Android Software Development] apb_axel:
I already included it, it now does a permission check, attemps to set permission and if it fails it disables the toggle. Thanks for the feedback :)
[Android Software Development] ak:
Good very good. :highfive:
[Android Software Development] apb_axel:
Hey [MENTION=3685904]ak[/MENTION] a new version of Synapse is coming with better performance when using notifiers :D. https://github.com/apbaxel/UKM/issues/3
[Android Software Development] Nekator:
<3

sent from my paranoid N4
[Android Software Development] ak:
<3

<3
[Android Software Development] fr3quency:
Doesn't let me to choose MPD. It unselects it when I select "apply".

Sent from my Nexus 4
[Android Software Development] apb_axel:
That's because the dev decided to disable the service, if you try it on trickster it should do the same. Like I said it all depends if the kernel dev decided to leave it in there or disable it all together. ;)