yashsingh1/xdaforums huggingface dataset:
[Android Software Development] JahSam:
So... I flashed UKM, reboot, installed synapse and try to run it.

After giving root access i had this : "No UCI support detected".

So i tried to check in /system/xbin and the uci file exists.

I ran :

su

chmod 755 /system/xbin/uci in "Terminal Emulator" --> Unable to chmod /system/xbin/uci : Read-only file system

And i have no files or folders in /data

It's seems that i don't really have SU powa' i'll try with an other terminal...

If someone know one perfectly working with android L ?

BTW i'm on kernel Code blue
[Android Software Development] fr3quency:
UKM works on Android L with ak kernel. Had tested it with Beta 2. It also works with their test kernel or something.
[Android Software Development] eng.stk:
Cool mate, it's the only thing that still doesn't totally works for me.

From my tests it doesn't work on Android L (N5). My guess? SELinux stuff.

Is that for N5 or N7?
[Android Software Development] JahSam:
Sad... Love this kernel manager :/

Nice work eng.stk for ur kernel btw ;)
[Android Software Development] fr3quency:
I'm talking about the Nexus 4 port. I didn't know you were talking about Nexus 5/7. I said 'ak kernel' and ak made the kernel only for n4/7
[Android Software Development] apb_axel:
You have to mount /system as RW first, but it's possible that there's an issue with Synapse and L preview because of the new SELinux security.
[Android Software Development] Lwr0042:
Does it work on stock rom 4.4.4? I tried to install this but it was failed
[Android Software Development] apb_axel:
Yes it works on stock ROM, but you need to enable init.d support first. Here's the link http://xdaforums.com/showthread.php?t=1933849
[Android Software Development] Lwr0042:
I installed uni-init and there's a positive verify init.d support, but again I've got failed installation in twrp "E:Error executing updater binary in zip (...)"
[Android Software Development] apb_axel:
Which recovery are u using and version? TWRP or CWM?
[Android Software Development] Lwr0042:
TWRP installed by wug's
[Android Software Development] apb_axel:
Should work, make sure you're on the latest version of TWRP and also make sure you have busybox installed.
[Android Software Development] Lwr0042:
I can flash kernel and other packs so i thinks i'm on the latest version. Bysybox is installed. I tried download again your pack and flash it

edit: I flashed it now and i've got the same problem. I don't know what's wrong

Maybe is any other way to install this?
[Android Software Development] CalculatedRisk:
Redownload the file and try flashing it in a different recovery.
[Android Software Development] apb_axel:
You could try installing UKM with flashify: https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=en
[Android Software Development] Lwr0042:
Also failed. I think i'm gonna give up with this...
[Android Software Development] CalculatedRisk:
Have you tried a different recovery?
[Android Software Development] ak:
Finally

Opo and ukm

The best combo

ak@onepone
[Android Software Development] Lwr0042:
I found file "Universal.log" on my nexus and that's it

Maybe it will be helpful
[Android Software Development] apb_axel:
Great! I saw from the screenshot the product device is A0001 instead of bacon so I changed it in UKM. :)
[Android Software Development] apb_axel:
From the log you don't have init.d support or wrong permissions.
[Android Software Development] Lwr0042:
That's weird because i use universal init.d support apk and when i click there on verify i get positive results
[Android Software Development] RamDrt:
New to synapse and I searched around but didn't find anything on the subject. In the sound tab there's an option for headphone poweramp (left & right). I can't change it, or more like I can but it won't stick and reverts back to -6. Curious as to why this is....
[Android Software Development] fr3quency:
Did you restart your phone and tried again?
[Android Software Development] RamDrt:
I just tried that right now and I get a message...Boot settings canceled. The last applied settings have not been deemed stable due to a possible crash or reboot of the device. Settings are deemed stable 2 minutes after they're applied at boot. Press cancel to reset to the last saved settings.
[Android Software Development] ak:
thanks man. :)
[Android Software Development] eng.stk:
Yes I confirm this, it always resets no matter what.

Also are stock values all zero or with headphones on 2? I think Trickster puts 2 by default, never understood why.
[Android Software Development] fr3quency:
Press the X button on top right when you see this message. Next, change the settings to your likings and hit apply. Then, reboot your device and wait 1-2 minutes. The settings are applied some seconds after you see the lockscreen, but you have to wait 1-2 minutes in order to be sure. Then open Synapse. It might show you the 'tick' & 'cancel' buttons on top right. Just hit cancel, and see if your settings are applied!
[Android Software Development] apb_axel:
Weird, works perfectly for us Nexus 4 users. Can you give me the output of cat /sys/kernel/sound_control_3/gpl_headphone_pa_gain?
[Android Software Development] eng.stk:
Yep, it doesn't accept other value than -6dB.

That path reads "60 60"

If I set odB with trickster it sticks fine, it reads "54 54"
[Android Software Development] apb_axel:
Must be different then, maximum range for headphone poweramp in Nexus 4 is from -6 (28 28 in sysfs) to 6 (16 16 in sysfs). Is that the only sound toggle which doesn't stick?
[Android Software Development] eng.stk:
Yes seems like, that's why it can set the values (synapse think sit's out of range)

On that tunable you can set from -6dB (60 60 in sysfs) to 6dB (48 48 in sysfs)

Here's the rest on N5, so you can check also (synapse values in dB):

Camera Mic: -30 ~ 10

Headphone: -30 ~ 10

Headphone PowerAmp: -6 ~ 6

Mic: -30 ~ 10

Speaker: -30 ~ 10

All the defaults are 0dB. Also there's a Gain Lock bool tunable to values cannot be auto lowered by hw (default: 0 , 1 is on and dangerous)
[Android Software Development] apb_axel:
From the looks of it the only one which is different is the gpl_headphone_pa_gain, I can change the behavior for the Nexus 5 so it can apply correctly. Can you confirm if that sound tunable is the only one that doesn't stick in Synapse and the others do?
[Android Software Development] eng.stk:
Yes all others apply correctly :)

Thanks mate.
[Android Software Development] apb_axel:
Great, already patched a fix for Nexus 5. Thanks again for the help :).
[Android Software Development] apb_axel:
Another day, another update. In this version I hope to fix all remaining issues Nexus 5 users are experiencing. As always please remember to hit the thanks button & happy flashing! :D.
[Android Software Development] MotoFlasher:
Thank you so much!

As always, great job! Gamma with Code Blue works wonderfully!
[Android Software Development] jamescable:
headphone amp

Headphone amp still doesn't work....I think the problem is the app synapse needs to be updated with latest release. https://www.dropbox.com/s/atxw8by81wjj86l/Screenshot_2014-07-26-17-49-54.png
[Android Software Development] apb_axel:
Thanks for the feedback and your help :).
[Android Software Development] apb_axel:
Crap, bug on my part, forgot to remove some code I was using for tests. Thanks for the feedback I'll release a small update later :).
[Android Software Development] lapis21:
Error. The problem in the kernel or UKM? Solutions?
[Android Software Development] carlese:
Still not able to set a color profile on my nexus 5, it always switches back.. Also, when I open the app and go on the first screen, it always shows X and V on the top, why? I see my settings applied but it seems that something doesn't work..
[Android Software Development] d9ny:
Have a problem on miui v5 4.7.25 using synapse with ukm 2.8,need help please..thanks
[Android Software Development] apb_axel:
Kernel has basic speaker settings only, I'll fix it for the next release. ;)
[Android Software Development] apb_axel:
Does it give any errors when you apply color profiles? Which kernel are you using? If you can put some screenshots I can find out the issue.
[Android Software Development] apb_axel:
Install busybox from the play store and those errors should be fixed.
[Android Software Development] carlese:
This is the X and V screenshot, it happens every time I open synapse:

For gamma profile no error is shown, when I select a profile for example Google stock, an press apply, it switches back to the previous one.. I am using code blue, had this problem with several version, but as far as I remember it only happens from ukm 2.8.. Maybe [MENTION=3873953]eng.stk[/MENTION] can confirm!
[Android Software Development] antec123:
just press X, you should be fine.
[Android Software Development] apb_axel:
Most likely it has to do with a bug with poweramp settings that doesn't register correctly and it displays a change everytime in Synapse, should be fixed in the next version. Regarding gamma I've had report from a few users that it works now in the current version, maybe try clearing data in Synapse and reboot to try again? :).
[Android Software Development] carlese:
Gamma fixed with clear data.. Thanks :)
[Android Software Development] jamescable:
When will the headphone fix be updated?
[Android Software Development] Cris7ianO:
Hey just flashed this on Mahdi and so far so good thanks :D

One question if I want to change kernel is there something special to do?

Or can I just flash kernel and then the app will detect the new one?

Sent from my Nexus 5
[Android Software Development] Almayce:
Hey, I'm trying Franco atm and I'm getting json configuration failure. I'm just making sure if Franco works with synapse. I haven't found it in OP.
[Android Software Development] apb_axel:
Yep if you flash another kernel the app will detect the new tunables on reboot, the only issue is when you flash a ROM it will delete init.d files that are need so in that case you would need to re-flash UKM :).
[Android Software Development] apb_axel:
Haven't tried franco yet, can you send me the config.json file located in /data/UKM? That way I can fix the issues with that kernel. Thanks! :)
[Android Software Development] apb_axel:
Already fixed, just waiting for few more feedbacks from users so I can release an update. ;)
[Android Software Development] Almayce:
https://www.sendspace.com/file/gm0cqw here you go, my man. :)
[Android Software Development] apb_axel:
Thanks, found the problem and working on a fix :D.
[Android Software Development] RamDrt:
+1 issue persists but I see you have a fix in the works...thanks in advance [MENTION=5658634]apb_axel[/MENTION]
[Android Software Development] ak:
@apb_axel

Hi my friend,

im ready with new kernel, i have some small requests for OnePOne full support:

device model: "A0001" or "bacon"
speed bin and pvs:
<6>[ 0.722008] clock-krait-8974 f9016000.qcom,clock-krait: Speed bin: 3
<6>[ 0.722156] clock-krait-8974 f9016000.qcom,clock-krait: PVS bin: 6

Gpu tunables:
root@A0001:/sys/devices/fdb00000.qcom,kgsl-3d0/devfreq/fdb00000.qcom,kgsl-3d0 # ls
ls
available_frequencies
available_governors
cur_freq
governor
max_freq
min_freq
target_freq

root@A0001:/sys/devices/fdb00000.qcom,kgsl-3d0/devfreq/fdb00000.qcom,kgsl-3d0 # cat available_frequencies
578000000 462400000 389000000 330000000

root@A0001:/sys/devices/fdb00000.qcom,kgsl-3d0/devfreq/fdb00000.qcom,kgsl-3d0 # cat available_governors
cpubw_hwmon msm_cpufreq conservative msm-adreno-tz userspace powersave performance simple_ondemand

Actual governor active:
root@A0001:/sys/devices/fdb00000.qcom,kgsl-3d0/devfreq/fdb00000.qcom,kgsl-3d0 # cat governor
conservative

enable/disable "cpuboost":
root@A0001:/ # cat sys/module/cpu_boost/parameters/cpu_boost
cat sys/module/cpu_boost/parameters/cpu_boost
0

Enable/Disable "double_tap":
root@A0001:/ # cat proc/touchpanel/double_tap_enable
cat proc/touchpanel/double_tap_enable
1

Ps:
Possibility to check if options into "Preferred network mode" are present otherwise disable the feature.

These is the only 3 errors:

speed bin and pvs

gpu governors

wcdma
[Android Software Development] fr3quency:
[MENTION=5658634]apb_axel[/MENTION] it works great as usual. Sometimes the sound settings are reset but that's not a problem with me. I haven't seen those red errors for months.(latest cm11 + all-f2fs) Thanks for your continuous support and I hope you won't leave us like ak did. :P

The only thing I hate, and it's the most minor of the minor ², is that it creates a folder called "logs". I hate useless folders on my phone. xD
[Android Software Development] apb_axel:
Hello my friend, no problem I'll add these to the device profile. Thanks for the help. :)
[Android Software Development] ak:
Thanks to you and for your fantasticccccccccccccccccccccc work .....

I would never have succeeded in developing synapse on how you're doing ... you deserve a RD my friend.
[Android Software Development] apb_axel:
Thanks! I love our work and hope to continue for years to come. :D
[Android Software Development] apb_axel:
Don't worry I won't be leaving anytime soon, no money :p. I'll try to create the logs folder only when needed :).
[Android Software Development] apb_axel:
Running tests right now and everything is looking good, new version is coming soon! :victory:
[Android Software Development] ak:
Very good ... I'm waiting the new version before publishing the new opo kernel. [emoji11]

ak@onepone
[Android Software Development] carlese:
Can't wait.. I have everything ready for a clean flash.. UKM is the last thing :)
[Android Software Development] apb_axel:
I've sent you a test version to try :).
[Android Software Development] jamescable:
Test version? How do I get that?
[Android Software Development] apb_axel:
I've sent ak a test version for him to try and see if everything is working for his device, since I don't have a Oneplus One. Maybe you can help me test the headphone amp for Nexus 5 and see if it works? :)
[Android Software Development] jamescable:
Yes I can do that
[Android Software Development] ak:
Thanks man

ak@onepone
[Android Software Development] Kaotiko77:
Last ukm works very nice, like alwais. Thanks and excellent work!
[Android Software Development] apb_axel:
Alright! Now we're getting closer to the issue, do this in terminal and send me a screenshot of your screen so I can have a look:

After that check also check if you have the following file /data/N4UKM/config.json
[Android Software Development] dadaz007:
Ok here are screenshots

After these commands I have a blank config.json
[Android Software Development] apb_axel:
So it has to be with the /sqlite_stmt_journals/ folder which can't write a temp file there (probably do to the permissions). Check the permissions and owner/group and if that doesn't work we would need to mount that folder as rw.
[Android Software Development] dadaz007:
I don't have /sqlite_stmt_journals/ folder

So I create this directory in / and set 777 permissions.

try one more time commands and now it says :

can't create temporary file /sqlite_stmt_journals/mksh.EhSxZC9495: Read-only file system.
[Android Software Development] parkourz:
That value is presents in that file (I have the same problem as [MENTION=4362467]gorilla p[/MENTION]) I'm using latest AK kernel
[Android Software Development] apb_axel:
Ok run this in emulator:

After that check if the config.json file is not blank anymore.
[Android Software Development] apb_axel:
Can you send me your config.json file so I can have a look?, it is located in /data/N4UKM.
[Android Software Development] parkourz:
Here you go ;)
[Android Software Development] apb_axel:
For some reason you're default Min Frequency is 192000 which AK's kernel doesn't have that value in the list of frequency tables, it goes from 162000 to 270000. Run a reset file in terminal to see if that fixes the issue.
[Android Software Development] parkourz:
Unfortunately, it didn't help... even after reboot... can it be changed manually somehow to fix that issue? or may be it because of T.A.R.D.I.S. mod?
[Android Software Development] apb_axel:
It could be TARDIS mod, probably sets that frequency on boot. Run this in terminal and then the reset file in my previous post to fix, but on every boot it will default back to 192000 unless you modify that file.

EDIT: Just checked in system/etc/init.d there is a file 04 that TARDIS mod writes you have to open it and modify the following file:

echo "192000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

to

echo "162000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
[Android Software Development] dadaz007:
Ok, config.json is no more blank.

But Synapse says NO UCI support detected again, even after erasing synapse data.
[Android Software Development] parkourz:
Everytime I'm closing edited file it comes back to previous state :p

I think I will get back my N4 to stock :p
[Android Software Development] apb_axel:
You just need to open it with a file explorer with root privileges, I use ES File Explorer
[Android Software Development] apb_axel:
Ok weird, check if /system/xbin/uci is there, check permissions and if all that works go to terminal and run:

It should bring up a bunch of text if everything is working.
[Android Software Development] parkourz:
I'm using Root Explorer :P
[Android Software Development] apb_axel:
I haven't used Root Explorer but if it's similar to ES there should be an option to mount /system as rw, with that you should be able to edit files in init.d folder without any issues.
[Android Software Development] parkourz:
I'm already using that option :p I'm not such a noob to don't know such things :p I'm on Android since 2010 :p
[Android Software Development] dadaz007:
uci is in /system/xbin and permissions seems ok

When i try uci config, I see a lot of bunch of text. (config.json ?)

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Android Software Development] apb_axel:
Sorry my mistake, just trying to help :)
[Android Software Development] m4dbra1n:
Hi [MENTION=5658634]apb_axel[/MENTION], I'm using your app and script with ak-335 aosp kernel for Optimus G E975, but I can't set set clocks and io scheduler, and having json parsing error.

Can I provide you with something to help you to fix it in some way? ;)

UPDATE, RESOLVED!

I've forced the recognize of my e975 on carbon gee rom by adding some line in your .device.sh file! Is recognised as a mako, but the various options appeared! :D
[Android Software Development] apb_axel:
Does the LG Optimus G E975 use same sysfs entries as Nexus 4? Now that you can open the app do you see any other errors?
[Android Software Development] m4dbra1n:
Just checked, seems like it's all OK :D

I've just added a elif in the file that, if the device.product was equal to gee it will use the same mako config [emoji16]

These are the lines added:

elif [ $DEVICE == "gee" ]; then

CONFIG="mako"; #gee

Hope it helps ;)
[Android Software Development] iLockhart:
Is the sound profiles working fine for everyone? I can't seem to choose a profile. Everytime i choose "Quality", apply and exit the app. Then i re-enter Synapse, and the volumes are not set as they were before exiting. Is this normal?
[Android Software Development] apb_axel:
I'll add an else if no device found then rollsback to mako config file ;).
[Android Software Development] apb_axel:
Works for me in Nexus 4, which device & kernel do you have?
[Android Software Development] iLockhart:
Nexus 5 @ Purity + CodeBlue
[Android Software Development] apb_axel:
There's an issue with Nexus 5 and headphone gain, should be fixed in the next update.
[Android Software Development] iLockhart:
Good news [emoji106] thanks for the fast answers ;)
[Android Software Development] apb_axel:
Hey [MENTION=3604271]jamescable[/MENTION], did the test version I sent you fixed sound settings? :fingers-crossed:
[Android Software Development] apb_axel:
Sent you a PM. I hope this one works :fingers-crossed:.
[Android Software Development] carlese:
Hey [MENTION=5658634]apb_axel[/MENTION], I switched back to r209 code blue on nexus 5 and more I get the same errors as before.. Applying gamma for example.. What can it be? Never had issues on newer versions.. Maybe something changed in kernel.. [MENTION=3873953]eng.stk[/MENTION] can you confirm?
[Android Software Development] KoJIeCo56:
Hi, mates!

I'm sitting on Android L [port] 4.9 with kernel defcon-26u on board of my Nexus 4.

Last updates of this kernel are really nice, but in terms of power consumption they have a little weakness. Have to say - my phone began to sleep like a baby with this kernel! He eats less than 5% during the night.

But when I turn on the screen devouring begins. In total my average ScreenOnTime does not exceed 2 hours... 1,5 generally.

Could anybody advise me, how to reduce energy consumption in active phase? What further tips can you give me for improving endurance and stability?

Thanks in advance and kind regards!
[Android Software Development] eng.stk:
No changes. An it's working fine for me...
[Android Software Development] carlese:
Ok, i will clean flash everything then.. I'll wait for the new ukm and maybe, just maybe, your new build :D
[Android Software Development] boardlord:
[MENTION=5658634]apb_axel[/MENTION]

Does UKM work with flar2's ElementalX kernel for flo (http://xdaforums.com/showthread.php?t=2389022)? I just got my flo and I'd like to compare ak's and flar2's kernel :)
[Android Software Development] manueltts:
I used it for a while on flo with elementalX. It worked.

I went back to trickster because Synapse is too tempting that I was modifying every little detail on kernel so I ended frequently with unstable performance. Now that I'm more conscious maybe I'll try again.

Cheers!
[Android Software Development] TMan459:
Awesome app!

I am having permission issues when trying to activate init.d support under the wake section. Trying to enable, SCheckBox fails with a log mentioning write errors due to insufficient permissions.

What gives?

Thanks!

EDIT: Running a Nexus 5 with a clean install of LiquidSmooth 07/30 and Code Blue r224.
[Android Software Development] boardlord:
Unfortunately it's not 100%... flar2 says that the kernel uses faux gamma, but with UKM+Synapse I only see backlight dimmer under the gamma section :(
[Android Software Development] fr3quency:
[MENTION=5658634]apb_axel[/MENTION] check this out: http://xdaforums.com/showpost.php?p=54554796&postcount=6630
[Android Software Development] apb_axel:
No problem, I'll add these for next release ;).
[Android Software Development] apb_axel:
You need to set permissions to the init.d folder and all files inside to 775.
[Android Software Development] boardlord:
Could you have a look at ElementalX on flo too? :fingers-crossed:
[Android Software Development] d13guit0:
As m4dbra1n has done with LG G E975

if [ $DEVICE == "gee" ]; then

CONFIG="mako"; #gee

Could I make the same with G2 d802 and N5?

N5's codename is hammerhead?
[Android Software Development] scarcry:
yup n5 is hammerhead alright

Sent from my stormtrooper n5 powered by Android L
[Android Software Development] apb_axel:
Is there an issue with that kernel and flo?
[Android Software Development] boardlord:
Yup, according to the feature set, it uses faux gamma, but in Synapse all I see under the gamma tab is backlight dim...

Also, I can see and set the C sleep states, but the settings don't stick-aftter closing and reopening Synapse only C0 is set. Lastly, it claims to support BLX, but I don't see it in Synapse...

Thanks ☺
[Android Software Development] apb_axel:
Alrighty, I'll have a look at the kernel and see :fingers-crossed:.
[Android Software Development] boardlord:
My man ?
[Android Software Development] 0.0:
would it be possible to add in "clear VFS cache after boot" and "auto FS writeback delay mode" options in a future release? it's from faux
[Android Software Development] apb_axel:
I was looking around for a way to do these tunables some time ago but I haven't found any info on what exactly it does in shell script :(. If you or anyone does know let me know and I'll be happy to add it.