|
|
2016-05-02
, 15:51
|
|
Posts: 7 |
Thanked: 15 times |
Joined on Feb 2016
|
#671
|
| The Following 5 Users Say Thank You to piwadam For This Useful Post: | ||
|
|
2016-05-02
, 16:49
|
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#672
|
zypper in nano
nano /etc/systemd/system/cpu-governor.service
[Unit] Description=set cpu governor to 'conservative' when 'active (exited)' or 'interactive' (default setting) when 'inactive (dead)' [Service] Type=oneshot ExecStart=/usr/lib/systemd/scripts/cpu-governor start ExecStop=/usr/lib/systemd/scripts/cpu-governor stop RemainAfterExit=yes SysVStartPriority=99 [Install] WantedBy=basic.target
mkdir /usr/lib/systemd/scripts/ nano /usr/lib/systemd/scripts/cpu-governor
#!/bin/bash
# Toggle script to switch CPU governor to 'conservative' or 'interactive.
# Used as systemd.service in combination with /etc/systemd/system/cpu-governor
# Can be used as simple 'toggler' without systemd.
start() {
/bin/echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
}
stop() {
/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
chmod +x /usr/lib/systemd/scripts/cpu-governor systemctl enable cpu-governor.service
systemctl start/stop/restart/disable/status cpu-governor.service
| The Following 10 Users Say Thank You to minimec For This Useful Post: | ||
|
|
2016-05-02
, 17:47
|
|
Posts: 76 |
Thanked: 377 times |
Joined on Feb 2016
|
#673
|
.
. And a silly bug that kept spawning camera apps, so I ended up with ~20 camera app cards.| The Following 15 Users Say Thank You to RealJohnGalt For This Useful Post: | ||
|
|
2016-05-02
, 21:42
|
|
Posts: 76 |
Thanked: 377 times |
Joined on Feb 2016
|
#674
|
.|
|
2016-05-03
, 04:49
|
|
|
Posts: 411 |
Thanked: 1,105 times |
Joined on Jan 2010
@ Europe
|
#675
|
| The Following 6 Users Say Thank You to BluesLee For This Useful Post: | ||
|
|
2016-05-03
, 10:47
|
|
Posts: 288 |
Thanked: 1,103 times |
Joined on Jul 2014
|
#676
|
Don't flash the latest sensorsfix2.zip as it doesn't solve the issue: After locking and unlocking the device the sensor CPU processes stay at a very high level of about 7-9 %, at least this holds for my n5 model.
edit1: same seems to hold for sensorfix.zip after reflashing it, can someone confirm? did not checked the zip contents.
edit2: sensorsfix2.zip contains other shared libs and config files.
edit3: copied over ll's shared object file from http://talk.maemo.org/showpost.php?p...&postcount=526, looks much better now
| The Following 5 Users Say Thank You to nh1402 For This Useful Post: | ||
|
|
2016-05-03
, 13:10
|
|
Posts: 58 |
Thanked: 28 times |
Joined on Aug 2007
@ Buenos Aires, Argentina
|
#677
|
| The Following 5 Users Say Thank You to jem555 For This Useful Post: | ||
|
|
2016-05-03
, 17:11
|
|
Posts: 76 |
Thanked: 377 times |
Joined on Feb 2016
|
#678
|
Don't flash the latest sensorsfix2.zip as it doesn't solve the issue: After locking and unlocking the device the sensor CPU processes stay at a very high level of about 7-9 %, at least this holds for my n5 model.
edit1: same seems to hold for sensorfix.zip after reflashing it, can someone confirm? did not checked the zip contents.
edit2: sensorsfix2.zip contains other shared libs and config files.
edit3: copied over ll's shared object file from http://talk.maemo.org/showpost.php?p...&postcount=526, looks much better now
devel-su ln -s /system/etc/acdbdata /etc/acdbdata ln -s /system/etc/audio_policy.xml /etc/audio_policy.xml ln -s /system/etc/mixer_paths.xml /etc/mixer_paths.xml reboot
|
|
2016-05-03
, 20:22
|
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#679
|
Don't flash the latest sensorsfix2.zip as it doesn't solve the issue: After locking and unlocking the device the sensor CPU processes stay at a very high level of about 7-9 %, at least this holds for my n5 model.
edit3: copied over ll's shared object file from http://talk.maemo.org/showpost.php?p...&postcount=526, looks much better now
Regarding audio quality issues on the cm12.1 base, please try running the following (over ssh or terminal):
Code:devel-su ln -s /system/etc/acdbdata /etc/acdbdata ln -s /system/etc/audio_policy.xml /etc/audio_policy.xml ln -s /system/etc/mixer_paths.xml /etc/mixer_paths.xml reboot
| The Following 4 Users Say Thank You to minimec For This Useful Post: | ||
|
|
2016-05-03
, 20:27
|
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#680
|
How is the WiFi connection compared to the CM11 base?, in Sailfish for me it has been considerably weaker than Android.