The Following 3 Users Say Thank You to rinigus For This Useful Post: | ||
|
2016-11-11
, 18:41
|
Posts: 300 |
Thanked: 962 times |
Joined on Jun 2010
@ USA
|
#222
|
The Following 3 Users Say Thank You to deprecated For This Useful Post: | ||
|
2016-11-11
, 19:31
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#223
|
A lot of people in Android-specific forums have cited the N5 noise cancelling microphone as a hardware fault, e.g. "cheap microphone". Disabling it and switching to analog was my best bet for being able to use it as a phone. My device adaptation is 0.0.1.3 and I'm running on SFOS 2.0.4.14. As of yesterday, my calls are clean with exceptional audio, even in wind and with background noise.
Perhaps we can find a later adaptation, but that suggests a huge road of work. For now, my fix works on Nexus 5 with our adaptation.
The Following 5 Users Say Thank You to rinigus For This Useful Post: | ||
|
2016-11-11
, 21:06
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#224
|
Meanwhile, I made a fix to my intermittent call issues with the microphone on my Nexus 5. Not sure if it was due to a bug or a hardware fault, but every person I called reported a bad echo from my end. Not sure if this has been discussed here before, but my fix is as follows:
As for long road - since the bug is fixed and in hybris proper, its just a matter of bugging the developers to recompile the SFOS images. The long part of the road has been made ready in March ( https://github.com/libhybris/libhybris/pull/313 ). It just that it wasn't incorporated into mer-hybris for a long time. Now the patch is within, so its mainly a question of recompiling hybris. If you wish, you could probably do it yourself for N5.
The Following 3 Users Say Thank You to minimec For This Useful Post: | ||
|
2016-11-11
, 21:10
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#225
|
#!/bin/bash # Toggle script to change power settings on the Nexus 5. # Used as systemd.service in combination with /etc/systemd/system/cpu-governor # Can be used as simple 'toggler' without systemd. start() { # Max Frequency /bin/echo "1728000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq # blu_plug /bin/echo "1" > /sys/module/blu_plug/parameters/max_cores_screenoff /bin/echo "2" > /sys/module/blu_plug/parameters/min_online # voltage table (undervolt) /bin/echo "675 675 725 735 755 765 775 795 805 850 865 895 945 1000" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table # simple gpu /bin/echo "320000000" > /sys/class/kgsl/kgsl-3d0/max_gpuclk /bin/echo "4" > /sys/module/msm_kgsl_core/parameters/simple_laziness /bin/echo "7000" > /sys/module/msm_kgsl_core/parameters/simple_ramp_threshold # set governor /bin/sleep 10 /bin/echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor } stop() { # Max Frequency /bin/echo "2265600" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq # blu_plug /bin/echo "2" > /sys/module/blu_plug/parameters/max_cores_screenoff /bin/echo "2" > /sys/module/blu_plug/parameters/min_online # voltage table /bin/echo "775 775 795 805 825 835 845 865 875 910 925 955 995 1050" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table # simple gpu /bin/echo "450000000" > /sys/class/kgsl/kgsl-3d0/max_gpuclk /bin/echo "5" > /sys/module/msm_kgsl_core/parameters/simple_laziness /bin/echo "6000" > /sys/module/msm_kgsl_core/parameters/simple_ramp_threshold # set governor /bin/echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor } case "$1" in start) start ;; stop) stop ;; restart) stop sleep 1 start ;; *) exit 1 esac
The Following 3 Users Say Thank You to minimec For This Useful Post: | ||
|
2016-11-12
, 05:45
|
Posts: 635 |
Thanked: 1,535 times |
Joined on Feb 2014
@ Germany
|
#226
|
Added some CPU hotplug governors: - Mako hotplug governor - Alucard hotplug governor - MSM Sleeper hotplug governor - Zen Decision hotplug governor - Blu_plug can be enabled/disabled via sysfs now, so only one kernel build this time. Added support for ARM Neon in kernel mode and some crypto algorithms now use the NEON extensions Added MDSS color control and faux wcd93xx sound control hax to the kernel.
/sys/devices/platform/kcal_ctrl.0/kcal - (0-256 0-256 0-256) - Controls R/G/B Multipliers /sys/devices/platform/kcal_ctrl.0/kcal_min - (0-256) - Controls minimum RGB Multiplier value /sys/devices/platform/kcal_ctrl.0/kcal_enable - (0-1) - Enables/Disables RGB Multiplier Control /sys/devices/platform/kcal_ctrl.0/kcal_invert - (0-1) - Enables/Disables Display Inversion Mode /sys/devices/platform/kcal_ctrl.0/kcal_sat - (224-383 or 128) - Controls saturation intensity - use 128 for grayscale mode /sys/devices/platform/kcal_ctrl.0/kcal_hue - (0-1536) - Controls display hue - may have issues with msm8x26 in the higher values /sys/devices/platform/kcal_ctrl.0/kcal_val - (128-383) - Controls display value /sys/devices/platform/kcal_ctrl.0/kcal_cont - (128-383) - Controls display contrast
/sys/kernel/sound_control_3/
Mako /sys/class/misc/mako_hotplug_control/enabled Alucard /sys/kernel/alucard_hotplug/hotplug_enable blu_plug /sys/module/blu_plug/parameters/enabled msm_sleeper /sys/devices/platform/msm_sleeper/enabled zen_decision /sys/kernel/zen_decision/enabled
|
2016-11-13
, 07:20
|
Posts: 300 |
Thanked: 962 times |
Joined on Jun 2010
@ USA
|
#227
|
The Following User Says Thank You to deprecated For This Useful Post: | ||
|
2016-11-14
, 06:31
|
Posts: 300 |
Thanked: 962 times |
Joined on Jun 2010
@ USA
|
#228
|
Don't forget to only use one governor at a time and to disable mpdecision.
The Following User Says Thank You to deprecated For This Useful Post: | ||
|
2016-11-14
, 06:52
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#229
|
@mautz, how do I go about disabling mpdecision to try one of the other hotplug drivers? I think I'm missing something obvious.
Edit: I'm looking at this strictly from an SFOS point of view. I don't use sfdroid as I like to avoid Google wherever possible, just on principle. Does SFOS use the same structure as Android as far as where the tunables are kept?
|
2016-11-14
, 11:13
|
Posts: 635 |
Thanked: 1,535 times |
Joined on Feb 2014
@ Germany
|
#230
|
The Following 5 Users Say Thank You to mautz For This Useful Post: | ||
Tags |
hammerhead, nexus5, sailfishos, sfdroid |
|
getprop | grep audio
In this case, you should see the property that you checked and its value.
The bug was basically induced at long property names. If you don't have the property that you checked in |grep audio list, choose the one with the longest name and check that.
As for image, I don't know. Maybe @RealJohnGalt has a newer version somewhere around? Or ask on IRC... If I recall correctly, @sledges was fixing this bug on N5.