yashsingh1/xdaforums huggingface dataset:
[Android Software Development] apb_axel:
I guess it might be the same as Nexus 7 2013, I'll PM you with a test version for you to try and let me know if it works :good:.
[Android Software Development] apb_axel:
Yes I'll add vibrator for OPO :). Regarding faux sound it's probably the same thing that happened to Nexus 5 device, is it only happening with the Headphone PowerAmp that Synapse detects a change?
[Android Software Development] chaostrodamis:
Great, Im looking forward to it
[Android Software Development] halfbytecode:
[MENTION=4167023]AndreiLux[/MENTION] I would appreciate if you could add a system on boot notification when synapse does not apply settings (failed previous boot or something).

Sometimes I don't get to know it did that, until I open Synapse.

Sorry if this is not the right place.
[Android Software Development] ak:
Yes super hero [emoji111]

AK@A0001
[Android Software Development] apb_axel:
Great! It's easy to fix then :D. All I need is for you to run this command right after your device boots and send me the output so I can enter a default parameter for OPO. Try and make sure no app loads after boot so it doesn't mess with the values (no trickstermod, fauxsound or synapse).

cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain
[Android Software Development] ak:
AK@A0001
[Android Software Development] apb_axel:
I've sent you a PM :).
[Android Software Development] ak:
Vibrator is OK.

For sound I have this

Befora apply

Faux app before apply

AK@A0001
[Android Software Development] apb_axel:
What value is inside the gpl_headphone_gain file when in fauxsound is set to 0?
[Android Software Development] ak:
Now with Faux at 0 i have:

root@A0001:/ # cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

116 116

then opened synapse and confirmed the configuration:

root@A0001:/ # cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

122 122

With faux app this value i never changed when you switch from for example Quality profile to Stock profile.

After a clean boot i have:

root@A0001:/ # cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

52 52

after opened faux app and set quality profile:

root@A0001:/ # cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

113 113

the this value remains the same.

a this point i opened synapse set the lg_stock profile and then:

root@A0001:/ # cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

116 116

if i set quality profile (synapse):

root@A0001:/ # cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

127 127

if i set loudnes profile (synapse):

root@A0001:/ # cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain

113 113
[Android Software Development] chaostrodamis:
OK ran it for a day. settings do not stick on reboot (Ne×us 7 2012) have to apply them again. they are still what I set them as when I go into the app but dont apply automatically when I reboot.
[Android Software Development] Glatzi:
Sorry that I've to ask again: So it should be no problem to activate Intelliplug & CPU Boost driver together because first one is hotplug driver & the last one is frequency driver?
[Android Software Development] ak:
You have to use only intelliplug.
[Android Software Development] aukhan:
I get this error note 2 device
[Android Software Development] ak:
its normal the device isn't supported. you have to make here a request, maybe in the future.
[Android Software Development] aukhan:
ok i shall do it :) but when ?
[Android Software Development] ak:
when developer will be free from others project. :good:
[Android Software Development] apb_axel:
So I think I should set 116 116, which is the same as faux.
[Android Software Development] apb_axel:
Boot settings are applied 2 minutes after device loads OS, maybe you opened the app before that and boot settings were canceled. You should try rebooting again and don't open Synapse until then.
[Android Software Development] gamerman123x:
Thanks for the tip but could there be an option to chose how long after boot there applied, and also is it possible to add a notification to say is set on boot like in trickster thanks.
[Android Software Development] chikimonke:
There already is a notification, a toast message comes up when settings are applied.
[Android Software Development] apb_axel:
It's better this way, 2 minutes is enough in case a user sets a low voltage or some other settings that causes SOD or reboot.
[Android Software Development] gamerman123x:
ok haven't seen it yet.

and ya true
[Android Software Development] yanleites:
Hi All.

Small question - How can I create the pwrkey value ?

"- eco mode option s2s/s2w/dt2w

with this feature you can enable an option for save battery.

/sys/module/input_core/parameters/pwrkey_suspend pwrkey_suspend = Y or N

if yes when screen goes off without touch anything 2w is enabled otherwise if you use power button is disabled.

You can save your battery with this option on."
[Android Software Development] infatality:
Good job... I'm using this on n5 with faux kernel.. Though not all tuneable is there but it's good enough for something that is free.. Recommended!
[Android Software Development] yanleites:
How do I create it ?
[Android Software Development] infatality:
Create? Wrong quote?
[Android Software Development] yanleites:
Hope not,

I mean this "sys/module/input_core/parameters/pwrkey_suspend pwrkey_suspend = Y or N "
[Android Software Development] apb_axel:
This option is already inside UKM, you'll find it in WAKE tab if your kernel supports the option.
[Android Software Development] apb_axel:
If you see any missing tunables let me know, that way I can add them :).
[Android Software Development] yanleites:
There is no power key option in WAKE tab, and no file in folder it should be.

I searched... May be AK kernel doesn't support it?
[Android Software Development] apb_axel:
I guess not, there are other kernels that support it though like dimfish if you have a Nexus 4.
[Android Software Development] busventinc:
Hope I could be able to use this on this custom rom liquid smooth on my shooter cdma
[Android Software Development] CalculatedRisk:
Your device is not supported by this application. Try trickster.
[Android Software Development] ak:
[MENTION=5658634]apb_axel[/MENTION]

i have send you a team member invitation. :D

Great news online:

https://github.com/AK-Kernel
[Android Software Development] apb_axel:
Thanks!, just joined :D.
[Android Software Development] ak:
Without commitment, it's just a collection point for our work in order to work together and have a common point for solving problems.

thank you as always my friend.
[Android Software Development] apb_axel:
Count me in for anything my friend :highfive:.
[Android Software Development] infatality:
This is the few options I don't see..

The 1st is the battery temperature throttling, battery temperature threshold and battery throttle cpu frequency.

The 2nd is Clear VFS cache after boot and Auto fs write back delay mode.

3rd is Core throttling cores.

Hope this helps.. Thanks!
[Android Software Development] gamerman123x:
[MENTION=5658634]apb_axel[/MENTION] synapse is working as intended I see toast for set on boot. Can't believe I forgot to delete the uber init.d script lol well now it works good thanks for this app. [emoji106]
[Android Software Development] Chaplan:
color profiles

Hi. The app is great but has few color profiles.

Is there a way to add or edit the list built in the app?

I would like to remove some profiles and add other i use mostly...

Tx in advance.
[Android Software Development] apb_axel:
Some of those options are running services which I can't do, the others I'll see if i can add them ;).
[Android Software Development] apb_axel:
Yes, in gamma tab you can add additional gamma profiles or delete the ones you don't like. I only created the most common profiles so I don't have to create all of them :p.
[Android Software Development] osm0sis:
Auto FS Delayed Writeback is just Faux's Dynamic Fsync isn't it?

The VFS thing is done by echoing 3 out to dropcaches in vm if I recall correctly, so I guess it wouldn't be too hard to set up on-boot. :)

I remember someone saying that's kind of pointless though, since after a reboot the cache would already be empty. :confused:
[Android Software Development] apb_axel:
Auto FS Delayed Writeback = /proc/sys/vm/laptop_mode

Clear VFS Cache After Boot = /proc/sys/vm/drop_caches

I do think as well it's pointless but some people swear for the performance increase, I guess it wouldn't hurt to have it in UKM :).
[Android Software Development] Chaplan:
Would it be possible to add profiles already created to a folder so they would be accessed by synapse? There are profiles already created by users and devs. It would be nice to just drop them I'm a folder and use them.
[Android Software Development] defconoi:
yea, having drop caches would be great for UKM, and maybe via Cron.d, did you checkout the neobuddy ramdisk with cron.d support?

[MENTION=4203114]mrg666[/MENTION] just updated his AutoSMP hotplug and Synapse will need to a slight change because of it; see this commit here:

https://github.com/mrg666/android_kernel_mako/commit/46c5aae98f9f726919315e658211a8da37156514

arm: autosmp: use percentages for up and down rate limits

Since maximum cpu frequency can be changed, use relative percentage

values for up and down rate limits instead of absolute values. This

will make autosmp more consistent when maximum frequency is changed.
[Android Software Development] apb_axel:
Yeah I added drop_caches to UKM but not via cron.d for now, there's some things I have to work out first. I'll check out the new autosmp commits :).
[Android Software Development] apb_axel:
You can open the gamma profiles file in /sdcard/Synapse/gamma_profiles and enter the values manually inside, that way you can have all the profiles you want ;).
[Android Software Development] Chaplan:
I had already gotten that by trial and error. The thing is the values on your file are all together, without line breaks between the different values (like negative blue and positive blue), it looks a mess. Profiles normally have this values in different lines so they are easily understood.

When I add a profile I have to remove this line breaks or synapse wont understand the profile.
[Android Software Development] gamerman123x:
[MENTION=5658634]apb_axel[/MENTION] i'm using uber sm 4.9.2 faux sound and when i'm in the sound menu. I set the profile for the sound to be quality in synapse and when I leave and re enter synapse the sound for speaker volume gets modified to a higher value instead of the value of the profile im using. Think you could take a look at that ? :good:
[Android Software Development] twowheeler:
What is the proper way to reset everything? I really like the app, but I don't know how to start with my kernel with a clean slate. Just delete the app and re install it after a reboot? And do I still need to wait the 2 minutes?
[Android Software Development] magnamentis:
2 ways

a) go to settings and un-check "set on boot" checkbox and reboot et voilà you are on stock kernel settings

b) tap on that little rectangle with 4 filled rectangles in it on the top-right, then click the 3-dot settings icon to the right where should appear a u-turn arrow, then choose whether you want to reset only the section or globally, then click the checkmark on the left. done
[Android Software Development] apb_axel:
Proper way is reset globally as the previous post, that way you don't have to reboot the device ;).
[Android Software Development] apb_axel:
Speaker volume in the same sound tab or in the speaker tab?
[Android Software Development] gamerman123x:
Here in screenshot
[Android Software Development] magnamentis:
one little question?

[MENTION=5658634]apb_axel[/MENTION]

i observed for quite a while now that whenever i use the restart synapse button after creating new profiles and kernel backups as well as after deleting old ones, the app will hang after the 2nd or 3rd attempt.

what i'm saying is that if i do everything in one attempt i can restart the app without problem, while if i first create profiles, then restart, then delete old profiles and try to restart, it will hang upon restart ( turning arrow clockwise in an endless loop ) so everything works, but when repeating the restart procedure the app somehow hangs and the quote on 3rd attempt is felt 100%. ( i know i can concentrate and do all in one attempt ) and though the problem is irrelevant but still i thought i let you know. this happens on 1+1 as well as N5.
[Android Software Development] Chaplan:
color profiles

@ap_axel You must think i am a pain in the ass, but when i apply color profiles on sinapse they are not applied as they should.

For ex. iphone profile should make the whites yellow but on sinapse they become blue.

I have been talking to [MENTION=4809179]yorici[/MENTION] on this matter and here is the transcript of the message:

me: [MENTION=4809179]yorici[/MENTION] I have to thank you for your help on this matter. Yes, the iPhone profile has the whites yellow, for me a bit to the greenish but that is peanuts. If I apply iPhone profile with Franco's app I get the yellow color. If I use sinapse, and I had uninstalled Franco's app before this, the whites are all blue. The problem must be in synapse and not on uber itself... Can I ask you if you can test this??? I would really like to get to the bottom of it...

Yorici: Ah, then I know what the problem is. I didn't know synapse could apply colors. This is the problem: FKU applies the profiles in this order: blue neg - blue pos - green neg - green pos - red neg - red pos - whitepoint. This is a reversed order and it is very confusing. This must be reversed because the kernel code was made this way. Tell the synapse devs that they need to reverse the order.

Fku and fauxclock both had this problem too, so my best guess is this."

Would you please consider this? I really love sinapse + Uber Kernel but have been revolving on this matter since the first time i launched the app...

I know iphone profile is just for fun, i use it to check if profiles are being applied, and to see if the app is applying them correctly...

The reason i found it is not ok is because Yorici_Calibrated_Punch never looks the way it used to on FKU + Franco Kernel when applied through your app.

If i use Francos app it is well applied in Uber.
[Android Software Development] apb_axel:
Hmm weird, first time someone has reported this. Try this in terminal emulator:

echo "254 254 259" > /sys/kernel/sound_control_3/gpl_speaker_gain

cat /sys/kernel/sound_control_3/gpl_speaker_gain

After the cat command if the value is not 254 254 then there's something in the kernel that's resetting the file, also you can try with trickstermod and see if the same thing happens.
[Android Software Development] apb_axel:
Yeah I've seen it as well, the way to handle profiles requires to re-create the .json file which contains the configuration for the kernel, so basically it's a hack for it to make it work. When that happens you can swipe Synapse from the recents apps list and it should work after that.
[Android Software Development] magnamentis:
sure :)

yeah that's exactly what i do then, it's not enough to close the app, it has to be killed from recents as you say :)

so if i understand you correctly it is not worth the effort to make this go away, no problem because when i do my job upon backing up kernels and profiles right it does not matter as i stated earlier. :) thanks
[Android Software Development] apb_axel:
Don't worry I don't think your a pain in the ass and I'm always happy to help ;). I checked the code and this is the order it applies which is the same order as some Nexus 5 users have suggested but I can change it:

/sys/module/dsi_panel/kgamma_rp;

/sys/module/dsi_panel/kgamma_rn;

/sys/module/dsi_panel/kgamma_gp;

/sys/module/dsi_panel/kgamma_gn;

/sys/module/dsi_panel/kgamma_bp;

/sys/module/dsi_panel/kgamma_bn;

/sys/module/dsi_panel/kgamma_w;
[Android Software Development] apb_axel:
Yes exactly, in order to load the new config.json I have to run this which basically kills the app running in foreground:

am force-stop com.af.synapse

But sometimes it gives an FC when it re-opens. Maybe in the future if there's a better way of handling it I'll look at the code again.
[Android Software Development] twowheeler:
Big thanks to you and apb_axel!
[Android Software Development] Chaplan:
color profile

Thanks for your interest in this matter, the thing with the order sinapse uses to apply color profiles is that even if i load nexus 5 stock profile it wont look like stock at all.

You can always reach to [MENTION=4809179]yorici[/MENTION] and he will give you a better insight on this matter.

I believe this should be the right order:

/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;

Will you provide an update or a beta for testing this?
[Android Software Development] apb_axel:
PM sent with test version ;).
[Android Software Development] yorici:
Should be the right order!
[Android Software Development] Chaplan:
I flashed the new version, unfortunately it is not right yet.

The order that shows on the gamma tab has changed to the one desired but when i apply a profile it is applying the same way as before...
[Android Software Development] _moelle:
Just run over this and flashed it...this is exactly what i was searching a long time....but then...BAM! "Device is not supported." ...i am usibg m8 ... did i just miss some infos or is it still possible to make this work on htc one m8?
[Android Software Development] apb_axel:
Don't worry that's just the visual order in the app, when you apply the profile it's in the order as you said.
[Android Software Development] apb_axel:
M8 support is coming in the near future ;).
[Android Software Development] Chaplan:
It is not. You can verify this yourself. Have ever tried the iPhone profile on another app that is not synapse? The whites are all yellow. With synapse they become blue... That is still how it shows... This has happened to Faux and Franco too. [MENTION=4809179]yorici[/MENTION] could help you understand this better than me... I only can tell if it's applying profiles in the right manner or not.

I appreciate all your efforts and hope we get to the bottom of it...
[Android Software Development] ak:
UKM revolution

New thread is up and running:

http://xdaforums.com/oneplus-one/general/ak-kernel-profile-synapse-t2858674
[Android Software Development] sirovai:
On hammerhead and code blue kernel the audio settings are randomly restore to default settings. For example if I set speaker to 6 after a while it returns to 0
[Android Software Development] apb_axel:
Suscribed! :D
[Android Software Development] apb_axel:
Only speaker in the sound tab?
[Android Software Development] sirovai:
All the settings in sound tab have a strange behavior...
[Android Software Development] gamerman123x:
Ya I just set the sound profile to custom and it doesn't change the value for me. It use to reset when I use a preloaded profile.
[Android Software Development] apb_axel:
Let's ask [MENTION=3873953]eng.stk[/MENTION] if he's experiencing the same issues on code blue.
[Android Software Development] magnamentis:
if you could take a look please ?

hi,

[MENTION=3685904]ak[/MENTION] asked me to post a specific issue in this thread so i thought it the best to post a cross reference instead of double posting the identical post here.

so [MENTION=5658634]apb_axel[/MENTION] if you would be so kind and have a look at that post, link below, thanks:

http://xdaforums.com/showpost.php?p=55059744&postcount=1289
[Android Software Development] apb_axel:
Ok I think I may have found the issue, I think it was resetting values when the profile was different to custom on top as [MENTION=5288994]gamerman123x[/MENTION] was describing.
[Android Software Development] ak:
ak@a0001
[Android Software Development] apb_axel:
Sure, just checked the error and I'll fix it for the next version. Thanks for the screenshot :good:.
[Android Software Development] apb_axel:
Thanks my friend, I'll send you a test version in a few minutes :).
[Android Software Development] JahSam:
SELinux

Hi guys !!!

Just a post for N5 LPV users (and for devs) Synapse work like a charm with [L][5.0] Android Lpv Dev for N5 Enhanced [b5.9 Breadcrumbs and Bunnies] it's seems that they allowed a permissive SELinux and so we have now a full root (no more problem giving root access to greenify for exemple).

Just be carrefull if u flash a kernel with modified boot you'll lose the permissive SELinux and so the full root.

(I'm not a pro so I hope I didn't tell too much bull****...)
[Android Software Development] eng.stk:
The settings (values) work fine, but if you select a profile let's say quiet, after that if you hit custom profile, values doesn't change.

Also if you change values, it should change auto to custom in tab, while it just stays with the last profile select.

Hope I can explained it good :fingers-crossed:
[Android Software Development] apb_axel:
Thanks for the heads up! :)
[Android Software Development] JahSam:
:cyclops:

Well thanks You and all the kernels/rom dev ^^ I did absolutely nothing but testing and enjoying what you guys are doing you're the real MVP :)
[Android Software Development] apb_axel:
[IMG="You the real MVP"]http://theshoegame.com/wp-content/uploads/2014/07/youtherealmvp.jpg[/IMG]
[Android Software Development] ak:
All works like a charm with faux sound ... Thanks a lot my friend.

ak@a0001
[Android Software Development] apb_axel:
Great news indeed, new version is coming later today:victory:.
[Android Software Development] magnamentis:
Important Notice !

IMPORTANT NOTICE:

In the process of copying profile files from Dropbox and probably from other sources it occurs that the file name is changed to xxxx.tgz.gtar while to correct name MUST be xxxx.tgz, in this case that would be 888.tgz. if the file does not have this correct name before you try to restore it in synapse it will say: Invalid File further you have to check the "√" sign on top each time it appears, while upon restarting the app "Synapse" which you have to do from within the app not closing and re-opening the app. when the app has opened you have to non-intuitively hit "X" not "√"

https://www.dropbox.com/s/magnzah8lngy3k2/888.tgz?dl=0

since i'm already posting this general information i included as an exception the link to one of my profiles which reduces the lag i touchresponse to wake the device and else to an acceptable minimum until the issue will be finally solved firmware wise :)
[Android Software Development] Chaplan:
Now we only needed to get color profiles applied correctly... (Pain in the ass?)

---------- Post added at 11:22 PM ---------- Previous post was at 10:42 PM ----------

Is there a way to turn off gamma on sinapse so I can use another app to apply profiles?
[Android Software Development] apb_axel:
Yep just set Custom in Synapse and it won't apply any gamma profiles.
[Android Software Development] clockworkstop:
[MENTION=5658634]apb_axel[/MENTION]

what new features can we look forward to in the next version? anything special you can tease us with?

Sent scurryingly from my blazing One
[Android Software Development] ntn359:
I am not able to save custom gamma profile, values get changed to default.
[Android Software Development] magnamentis:
this is how

follow the procedure explained in red in the below linked post:

http://xdaforums.com/showpost.php?p=55069418&postcount=18

works perfectly well if no step is left out thus follow by the letter