yashsingh1/xdaforums huggingface dataset:
[Android Software Development] gorilla p:
That would be awesome. Aviz has a pretty good kernel and a lot of potential. The added features would be awesome.

Mirage (by naruka not mrg) kernel and lightning zap are interesting also.
[Android Software Development] cimdrap:
i keep failing restoring my profile after a crash. I select it and check it on, then hit "restore profile" and it says it's successfully restored, then asks to restart synapse and i hit the "restart" button, but then it keeps getting the default settings and in "profile" tab i see "none" instead of my profile name, so i try to switch again to my profile in the list under "none", but same result occurs. I have to set again my values manually and i backup everytime that hoping it's the last time, but without luck. This is my first worry now when i get a crash LOL
[Android Software Development] apb_axel:
I made it my goal to help all kernel devs & users modify their tunables in an easy way (without having like 3 applications), so they can concentrate all their efforts on the kernel and not any app. So if anyone needs to add anything I'm always going to help ;)
[Android Software Development] apb_axel:
When you restore your profile try and clear the app from the recent apps lists (swipe away), sometimes Synapse needs to be close completely to load the new profile.
[Android Software Development] osm0sis:
The Restart Synapse button should handle that in most cases, since it force stops the app and then runs it again. :)
[Android Software Development] apb_axel:
Hey [MENTION=4703736]MotoFlasher[/MENTION] here's the file you need to replace, just put it in /data/UKM/device and then you can hit the "Restart Synapse" button in the Tools or Profile tab. Let me know if if works. :fingers-crossed:
[Android Software Development] CatsAreGods:
Had a weird glitch with new version, although it flashed OK.

Phone went into a bootloop after crashing and I refreshed 2.1 with no problem.
[Android Software Development] apb_axel:
Hmm stock rom has no sqlite support, I'll add a way to verify it first. Thanks for the feedback :good:
[Android Software Development] karanrajpal14:
Oh yeah. I understand. Thanks!
[Android Software Development] Rajada:
are there a possible solution:

https://play.google.com/store/apps/...qlite3forroot&rdid=ptSoft.util.sqlite3forroot
[Android Software Development] mimsiroll:
Good day apb, just wanted to suggest, will it be possible for you to add a refresh or perhaps reset the status tab? The time state is kinda giving me a problem everytime i try to lower my frequency to default..the 1.7ghz still lingers at the time state.. Thanks :)

P.s: the reset section tab and global reset doesnt work on that tab..i guess everyone knows it..
[Android Software Development] apb_axel:
That could work, just install it in /system/xbin and it should work. Still I think I'll add a way to include the file in the script for those without it.
[Android Software Development] osm0sis:
Hmm, doesn't busybox already contain the sqlite applet?
[Android Software Development] apb_axel:
If you exit/enter Synapse it should refresh, but I'll see if I can put a button or something to refresh manually. I did it that way because of the many calculations the Status tab has and to reduce the CPU consumption.

P.S. the reset section/global is only for resetting the saved values to the default ones (in case you want to reset your changes to default), doesn't work for live elements.
[Android Software Development] apb_axel:
No, part of the android toolbox but stock rom doesn't have it. :rolleyes:
[Android Software Development] osm0sis:
[MENTION=5658634]apb_axel[/MENTION] you ever check out Plasma Kernel by the other frequent contributor to the Synapse Github Issues? https://github.com/ffolkes/android_kernel_samsung_smdk4412

Like us, it looks like he's done some pretty badass stuff with Synapse. :good: :)
[Android Software Development] apb_axel:
Yeah I knew about that but since his kernel is for Samsung devices I thought most of his implementations wouldn't work for us, still now that UKM is more stable I should probably look at it again. Thanks for the heads up. :):good:
[Android Software Development] apb_axel:
[MENTION=4544860]osm0sis[/MENTION] holy crap that's a lot of stuff he's added in Synapse :eek:, I think the app should take a long time to load due to all the live elements running.
[Android Software Development] AndreiLux:
ffolkes' insane implementation was actually the reason why I drastically optimised the app like 3 months ago. I had to rewrite quite a bit some stuff back then to get his ~9 second load time down to about 4 seconds. But keep in mind that's a Note 2 so current gen devices are like 2-3 times faster. I'm at a point where I can't speed it up any more, the app already uses heavy multi-threading and fastest possible interface buildup. I spent around a week shaving milliseconds here and there...

I'll go another round of the same in the future.

Live elements shouldn't affect loading time any more than a simple description does.
[Android Software Development] apb_axel:
Lol very insane but impressive at the same time, he has put a lot of hours implementing all this stuff specially since his kernel has so many options as well.
[Android Software Development] CatsAreGods:
I installed this and Synapse 2.2 worked fine. Thanks!
[Android Software Development] nodnarb91:
S4_titi :)
[Android Software Development] apb_axel:
Great, on the next version sqlite will be included in the .zip ;)
[Android Software Development] apb_axel:
I'll try and see if I can find the gamma values for that profile, but if you have them you can send them to me to include them. :good:
[Android Software Development] MotoFlasher:
[MENTION=5658634]apb_axel[/MENTION]

Sorry that I reply so tardy ...the new .sh file has helped ... GPU etc works completely ... everything works great!!!

Thanks a lot! :highfive:
[Android Software Development] apb_axel:
Great! thanks for the feedback, now I can really start adding more stuff. :D
[Android Software Development] cimdrap:
i use that button, but still doesn't restore the profile. It's important for me, because i can't set it again and again.....i just switched to hellscore kernel + manager for this reason waiting for a fix
[Android Software Development] nodnarb91:
Here you are good sir :)

S4_Titi color profile

255 255 250 0 0 0 119 119 119 119 119 119 23 23 23 15 0 71
[Android Software Development] apb_axel:
Thanks :). Expect this new profile on the next version.
[Android Software Development] apb_axel:
Any new stuff you guys want to add?, hurry the next version is coming soon! :D
[Android Software Development] CatsAreGods:
How did we get so lucky to find a dev like you? Can we get a script that will make us taller, more attractive, younger, healthier, and happier? With free Wi-Fi and ice cream too? :)
[Android Software Development] apb_axel:
I'll try my best! No promises though ;)
[Android Software Development] apb_axel:
New version uploaded, have fun! ;)

Please rate the thread for those who haven't and hit that thanks button! :D
[Android Software Development] apb_axel:
So guys how's the new version running so far?
[Android Software Development] ABHISHEKSR:
So far its running great ...awesummm :D
[Android Software Development] MotoFlasher:
Runs as always great! :good: :highfive:

A question for my understanding how such kernel apps/scripts "work" ...

With your script and Synapse, if I change the CPU Gov there, this only happens only for one core. But if I use ,for example, KControl, I can adjust each core individually.

When I change the CPU Gov in Synapse and then check in KControl, Synapse has changed only one core.

I hope you understand what I mean.
[Android Software Development] jacomail95:
Inviato dal mio Nexus 4 con Tapatalk 2

I literally love this ;) thanks
[Android Software Development] apb_axel:
Thanks for the feedback :).
[Android Software Development] apb_axel:
Yep I understood, what UKM does is apply the governor setting only if the other cores are online to avoid errors, so it's probably something the MSM MPDecision Hotplug does that I haven't considered yet. I'll see if I can find out what it does and code it in the script, thanks! :)
[Android Software Development] Almayce:
I had some errors with latest semaphore, I forgot to make Screenshots though and I reflashed already back to ak. It had something to do with uv table and other one with sound I think. First I got FC when starting the app, clearing data fixed it though. I realize that this info is completely useless without screenshots/log, but like I said, no time :/
[Android Software Development] apb_axel:
No problem, thanks for the info though I'll see if I can find out what went wrong with the latest semaphore and UKM. :good:
[Android Software Development] CatsAreGods:
Great job as usual with 2.3, I have some experience with this level of hackery so I can appreciate what you are doing here. I did find a minor glitch, hope this helps:
[Android Software Development] apb_axel:
It's a known bug on Synapse, usually happens when you open the app and start scrolling right away. The best way I've found to avoid this error is by opening the app and wait until all the superuser toasts disappear, after that you should not see that error again.
[Android Software Development] osm0sis:
You want to apply it to all cores at once? It'll probably be similar to what I did for block:

https://github.com/bsmitty83/DirtyV_tuna/blob/SmittyV-eXp4/ramdisk-DirtyV/res/synapse/actions/block

:)
[Android Software Development] apb_axel:
Thanks :). I did find how KControl does it, it puts online all cores and then he applies governor settings. Check it out:
[Android Software Development] osm0sis:
Yup! So that can all be majorly simplified like I did for block ;):

if [[ ! -z $2 ]]; then
for i in /sys/devices/system/cpu/cpu*; do
echo 1 > $i/online;
echo $1 > $i/cpufreq/scaling_governor;
done;
fi;

echo `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`;

Might be a good way to exclude cpuidle and cpufreq with ? or [0-3] instead of * or something too. :D
[Android Software Development] apb_axel:
Exactly what I was thinking ;)
[Android Software Development] MotoFlasher:
You guys rock!!! Respect! :highfive: Thank you for your efforts!

I can not click often enough "Thanks!" to thank you!
[Android Software Development] aviz1911:
Ok here's the problem. Double tap 2 wake control does not work on syanpse where as it is working fine on semaphore manager.

I tried to clear data, reboot but they did not work. BTW flashed the latest v2.3

And you show no love for franco's gamma :p Some color profiles would be awesome man !!
[Android Software Development] apb_axel:
Thanks, found out the problem with DT2W. I only know faux gamma profiles but I'll see if I can find a few for franco. ;)
[Android Software Development] aviz1911:
You should have asked me for franco color profiles mate :D This below attachment have some of the profiles. Feel free to add them all :p
[Android Software Development] apb_axel:
Thanks I'll add those, just a question though what are the order of the entries? I'm guessing the first three are kcal but what about the others? Damn franco has a lot of entries. :eek:
[Android Software Development] zorginho:
Maybe it's a dirty work buy u can install the free Franco display app (it can be found around XDA) then load a profile and see what means the values.

Sry for my bad eng

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Software Development] aviz1911:
Here's the order

1.RGB

2.Whites for RED, GREEN and BLUE

3.Grays for RED, GREEN and BLUE

4.Mids for RED, GREEN and BLUE

5.Blacks for RED, GREEN and BLUE

6.contrast

7.brightness

8.saturation
[Android Software Development] RedGoblinz:
I dont have gamma controls for semaphore kernel, is it just me?
[Android Software Development] txuki2005:
It´s normal. Be care :good:

---------- Post added at 04:11 PM ---------- Previous post was at 04:06 PM ----------

Hi Axel, two suggestions... i will never forced anything, only to go on good direction.

1.- Like another apps or installations by CWM, like multirom, i suggestion to add unistaller version for UKM ( i use it, but for another guys, you will not have headache in the future ;) )

2.- It´s possible to add on tools "clean init.d" ? like semaphore manager... to reset to kernel´s default settings

Thnaks in advanced man!!

:)
[Android Software Development] apb_axel:
Thanks :)
[Android Software Development] apb_axel:
The uninstaller for UKM is a good idea but the clean init.d is hard to do, a lot of ROMS & kernels create different init.d scripts so it's hard to create a script with all those conditions. I can maybe create a way to list them & let the user decide to delete them or not, but I really don't want to touch that part. :p
[Android Software Development] mixtapes08:
Anyway to save a color profile?

Sent from my Nexus⁴
[Android Software Development] osm0sis:
I definitely understand the desire to run with clean defaults, especially if you think you've got a settings conflict.

My Kernel Emergency Reset Script zip does pretty much that. Check it out: http://v.ht/KEmR :good: :)
[Android Software Development] apb_axel:
For now no, but I'll add it to my todo list. :good:
[Android Software Development] aviz1911:
It's my pleasure to contribute for such an awesome project mate :D
[Android Software Development] apb_axel:
Uploaded the UKM Uninstaller zip, the link can be found in the OP. ;)
[Android Software Development] Almayce:
I got a question that's been bugging me for a while. How precisely do profiles work? Example : I load a profile, say 1, tick OK on the top, then hit restore. I get a prompt to rr synapse which I do and then the profile is loaded(toast says so) . But it's not set by default, I can just see all the things that I changed from stock settings. If I tick okay on the top, they stay at default. So I end up doing it manually. Is that intended or am I doing something wrong? If there is some simple solution, beware, I may kill myself! So make it as elaborate as you can, please! :D
[Android Software Development] osm0sis:
I think it acts like reboot/reset, where you instead press X to make it apply the previously saved settings. :good:
[Android Software Development] Almayce:
Okay I'm only twenty-ish, yet u decided to end my life so soon! Man, such simple solution. But I wouldn't have ever tried it for sure:D
[Android Software Development] apb_axel:
Yup exactly as [MENTION=4544860]osm0sis[/MENTION] said, when the profile is loaded it is still reading your current settings so Synapse knows something changed hence the apply and cancel on top, so to go back to your previous settings (your saved settings from the profile) you press X to not apply the current one or it will overwrite the profile. Hope that helps.
[Android Software Development] txuki2005:
Thanks master!!

:p
[Android Software Development] apb_axel:
Good news, I already added the option to save your own custom gamma profiles (faux gamma for now). OMG next version will be jammed packed with new features. :D
[Android Software Development] ak:
I'm on vacation ... But I'm always on this thread ... interesting and rich of new enhancements. Thanks man.
[Android Software Development] apb_axel:
Enjoy your vacation my friend you deserve it! :)
[Android Software Development] apb_axel:
Another good news, looks like custom franco gamma profiles is coming too. ;)
[Android Software Development] AndreiLux:
Can you please check if this version will fix the high CPU issues: https://www.dropbox.com/s/aap9rjr15witpgg/Synapse.apk
[Android Software Development] osm0sis:
NAILED IT. Amazing work. I can confirm it's fixed, and my GN shows 350MHz and 525MHz again where it was seemingly stuck at 700MHz on the last few versions. :D

I might have to increase the refresh time from 500ms back to 1000ms since now it doesn't need to compensate and almost seems jumpy (this is a good thing!). :highfive:

What was the problem in the end?
[Android Software Development] AndreiLux:
Nothing really. Just inefficient coding. Never had any load issues on my S4 so I never noticed it. Finally had time to look into it tonight. The change will also shave off a few milliseconds off the load time of the app.

I'll be pushing the version including the selectable changes that I posted a few weeks ago onto the store soon.
[Android Software Development] apb_axel:
Confirmed for the N4 the CPU usage is way lower than before, now it doesn't jump to the highest frequency every second. Thanks! :)
[Android Software Development] apb_axel:
Hey [MENTION=4167023]AndreiLux[/MENTION] I hope I'm not too late and you haven't published the latest version to the play store, but the test version you uploaded there's an issue with the SGeneric Element. When you select the SGeneric element to edit the values disappear even while typing in the keyboard, you can't see any values being typed up until you press Enter in the keyboard.
[Android Software Development] AndreiLux:
Ah crap. Well I'll update it tomorrow I'm in bed now.

Please check the stuff I upload on G+, since that bug has been there for 3 weeks. I only fixed the CPU thing lately. I thought the version had no issues.
[Android Software Development] apb_axel:
No problem :good:
[Android Software Development] prog19:
Another great update. Thank you very much for your work
[Android Software Development] apb_axel:
All reported errors are fixed, all requested features completed. New version is coming soon. :fingers-crossed:
[Android Software Development] Rohit02:
Thank you so much,its getting better and better with upcoming versions. Keep up the good work.
[Android Software Development] gorilla p:
Having issues with seekbar scrolling error in hotplug using AK kernel. Was having a number of issues and had to clear data, uninstall Synapse, delete folder, reflash UKM and reinstall synapse. Now it is mostly working, only remaining issue is seekbar error.

Also when entering profile name to save profile, I can't see text until I select done.

Neither are major issues.

Sent via Mental Telepathy
[Android Software Development] apb_axel:
Yup I reported the text error to Andrei already he should have a fix for that tomorrow. Regarding the seekbar error I think that's because of TARDIS mod, the CPU frequency list is different for AK kernel.
[Android Software Development] montbazon:
Thanks for this awesome works!!!

I really enjoy this[emoji6]

Gesendet von meinem Nexus 4 mit Tapatalk
[Android Software Development] nodnarb91:
Loving the update!! :)
[Android Software Development] xenyz:
Small request: allow values from 0-400 in msm_hotplug's fast_lane_load. Long story short, myfluxi changed the load calculations and fast lane < 100 onlines all CPUs on the Nexus 4. You have to change it to 120-200 to get reasonable use out of the feature.

Larger request: allow edits to msm_hotplug load_levels. I'm not certain how you should set it up, perhaps have a table like:

CPUs Online - Max load - Min Load

1 - x - y

2 - x - y

3 - x - y

4 - x - y

Then just write values in sequence to load_levels?
[Android Software Development] gorilla p:
dammit you're good. idk why I didn't think of that. I had actually just reinstalled it after ART on CRom 4.43 didn't go so well and had to switch back to dalvik. Will test and update.

Sent via Mental Telepathy
[Android Software Development] apb_axel:
I've updated fast lane load and I'll try a few things to get load levels in there, thanks! :good:
[Android Software Development] gorilla p:
If possible, please make it so that the fast lane load feature can be disabled. I've been setting it to 100.

Also I'm having trouble with all cores being all over the place. it's happening with all governors on AK kernel

I recorded the screen while it was happening and uploaded it to bit.ly/makostuff.

Update: I also recorded HD 2r14 with the same settings and governor. Hells Doctor was behaving normally.

This appears to actually be a kernel issue. Let me know what you think.

Sent via Mental Telepathy
[Android Software Development] xenyz:
I looked at the code and there's no way to 'disable' the fast lane load via sysfs, except by setting it to 400 so triggers on 100% 4 core load (making it redundant).

Look for my recent post in ak's kernel thread for better msm_hotplug defaults on the Nexus 4.
[Android Software Development] apb_axel:
How can you disable fast lane load with a 0? After Andrei's update to Synapse I'm increasing the frequency poll back to 1 second to show accurate results. ;)
[Android Software Development] gorilla p:
I updated that comment. Please see update.

Uploaded both AK and HD core behavior recordings on conservative governor.

Sent via Mental Telepathy
[Android Software Development] osm0sis:
500 still keeps the reported frequency lower, but seems a little quick. I'm torn. ;)

Edit: ~650 seems like the sweet spot to me.
[Android Software Development] Calinho:
very nice tool!
[Android Software Development] apb_axel:
Too quick for my taste, 1 sec is the sweet spot :p
[Android Software Development] osm0sis:
Haha maybe on your beefy fast devices. :p

Poor old GN is still finding Synapse a bit taxing. :laugh:
[Android Software Development] apb_axel:
Yeah HD is definitely behaving better, maybe AK is using lower load levels than HD so it plugs in more cores? Also FYI you should try comparing CPU frequencies without having the device plugged in AC or USB, the frequencies jump less when running on battery.
[Android Software Development] apb_axel:
Still miss my old GN :crying:, the battery life was way better than my N4.
[Android Software Development] EotT:
+1

It takes a lot of time to change them one by one.
[Android Software Development] apb_axel:
Thanks for the screenshot, I have already fixed it and will release a new version once I get fauxsound up and running :D
[Android Software Development] apb_axel:
I have already done the CPU global voltages but for faux's vdd table, I'll see if i can do the same for ak's version.
[Android Software Development] EotT:
That's fast! Thanks!

Looking foward to it! :good:
[Android Software Development] ak:
@apb_axel

check g+ ... the new synapse exp apk is fantastic.! :D

your work is awesome ... i think to switch to your interface for the next release.
[Android Software Development] apb_axel:
Just tested it and it looks great, just waiting for the official release :D. Feel free to use anything I added ;)
[Android Software Development] apb_axel:
New version is up, added a LOT of things just for you guys! Please rate the thread and don't forget to thanks!
[Android Software Development] ak:
Thanks a lot rated 5 stars [emoji41]

ak
[Android Software Development] Kaotiko77:
The last update is very nice

Enviado desde mi Nexus 4 mediante Tapatalk
[Android Software Development] kevinnol:
First of all I appreciate your work and thanks for the script

--

So I have a problem

Without the script I have the settings that exodus offers but when I flash the zip synapse tells me "No UCI support detected." - using ak's 232

tried to reflash .. nothing

I checked the data, init.d and xbin files everything is where it should be

Next thing I tried was to manually delete everything 'Kernel Manager' related and reflashed it again, checked the files.. nothing

any ideas :confused:
[Android Software Development] ak:
you can try to open cmd and do:

- adb shell

- ln -ls

what do you see?
[Android Software Development] kevinnol:
I suppose that shouldn't be it but it says "no device found".

oh and I got it to work I flashed your 227 kernel + script - no problems

after that I flashed 232 + script again and it works flawless... which is weird because that's not how it should work :rolleyes:

Just got it to work after deleting everything exodus and script related, flashing the stock boot.img then 232 exodus and script, works without problems.. but I dont know why
[Android Software Development] blusydays:
I rated 5 stars your awesome work, thanks again for your hard work :good:
[Android Software Development] apb_axel:
Probably some files didn't have the necessary permissions, and after you flashed the kernel + script again it all worked out.