| The Following 6 Users Say Thank You to mautz For This Useful Post: | ||
|
|
2016-11-17
, 21:02
|
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#232
|
# Max Frequency /bin/echo "1728000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq # Alucard echo "1" > /sys/kernel/alucard_hotplug/hotplug_enable # voltage table (undervolt) /bin/echo "680 680 730 740 760 770 780 800 810 855 870 900 950 1010" > /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 /bin/echo "simple" > /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor /bin/echo "150000000" > /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/min_pwrlevel # set governor /bin/echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor # set I/O scheduler /bin/echo "noop" > /sys/block/mmcblk0/queue/scheduler
| The Following 4 Users Say Thank You to minimec For This Useful Post: | ||
|
|
2016-11-19
, 13:27
|
|
Posts: 127 |
Thanked: 203 times |
Joined on Sep 2010
@ Switzerland
|
#233
|
...I recommend 2.0.4.* as sailfish version. In my opinion it is more stable than the proposed 2.0.1.11 at the first page of this thread. I upgraded my version with OTA to 2.0.4.14, but there is a new '2.0.4.13' image available here... http://images.devaamo.fi/sfe/hammerhead/beta5/
| The Following User Says Thank You to maximilian1st For This Useful Post: | ||
|
|
2016-11-19
, 23:41
|
|
Posts: 300 |
Thanked: 962 times |
Joined on Jun 2010
@ USA
|
#234
|
Hi,
is it a very bad idea to try an OTA to 2.0.4.13 from the link above using the method from the link below?
https://wiki.merproject.org/wiki/Ada...for_hammerhead
| The Following 2 Users Say Thank You to deprecated For This Useful Post: | ||
|
|
2016-11-20
, 13:06
|
|
Posts: 127 |
Thanked: 203 times |
Joined on Sep 2010
@ Switzerland
|
#235
|
|
|
2016-11-20
, 13:43
|
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#236
|
Here is what I did to bring my Nexus 5 to version 2.0.4.13:
- Download the magic-device-tool from https://github.com/MariusQuabeck/magic-device-tool because I'm lazy
- Install Sailfish OS using the tool
- Update to 2.0.4.13 using the instructions on this page https://wiki.merproject.org/wiki/Ada...for_hammerhead by replacing the RELEASE number
Job done... but, the battery still drains at the same speed haha silly me ;-p
I guess the way to go is to flash and patch as advertised on the first page of this thread if you are looking for less battery drain.
| The Following User Says Thank You to minimec For This Useful Post: | ||
|
|
2016-11-20
, 14:04
|
|
Posts: 127 |
Thanked: 203 times |
Joined on Sep 2010
@ Switzerland
|
#237
|
Did you flash the new kernel by user 'mautz'? https://www.dropbox.com/s/u0r74xx8uy...el-v6.zip?dl=0
I would try that first and do some tuning. Would be cool to share your results... (see previous posts in this thread)
. What I just did, between my previous post and your reply is flash and patch as on the first page. I will do that again now as I understand one should not flash over a system that booted already.| The Following User Says Thank You to maximilian1st For This Useful Post: | ||
|
|
2016-11-20
, 14:22
|
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#238
|
Hi,
is it a very bad idea to try an OTA to 2.0.4.13 from the link above using the method from the link below?
https://wiki.merproject.org/wiki/Ada...for_hammerhead
I am not a frequent 'rsync'-user, so there might be a slightly better command. Backup: rsync -avz /home/nemo YOURNAME@YOURCOMPUTER:/home/YOURNAME/Nexus5-backup Restore: rsync -avz /home/YOURNAME/Nexus5-backup/nemo nemo@YOURPHONE:/home/nemo
devel-su pkcon install nemo-qml-plugin-contacts-qt5-tools devel-su -p vcardconverter --export contacts.vcf
pkcon install nemo-qml-plugin-calendar-qt5-tools devel-su -p icalconverter export calendar.ics
|
|
2016-11-20
, 14:27
|
|
Posts: 97 |
Thanked: 318 times |
Joined on Feb 2012
@ Switzerland
|
#239
|
| The Following 2 Users Say Thank You to minimec For This Useful Post: | ||
|
|
2016-11-20
, 14:30
|
|
Posts: 127 |
Thanked: 203 times |
Joined on Sep 2010
@ Switzerland
|
#240
|
| The Following User Says Thank You to maximilian1st For This Useful Post: | ||
![]() |
| Tags |
| hammerhead, nexus5, sailfishos, sfdroid |
| Thread Tools | |
|
Source still up on Github.
Changelog:
The backlight can now be dimmed beyond the lowest setting.
Change /sys/module/lm3630_bl/parameters/backlight_dimmer to '1' to activate the feature and set your desired value in /sys/module/lm3630_bl/parameters/min_brightness (default is 5)
Change your brightness in settings to maximum and back to minimum to check your results.
Force fast charge can be enabled at /sys/kernel/fast_charge
'1' is the old behaviour(charging with usb up to 900mA)
'2' lets you choose your desired charge level. Available levels are:
500 900 1200 1500 2000 (change in fast_charge_level)
To enable doubletap2wake feature change /sys/android_touch//doubletap2wake to '1' for the bottom half of the screen and '2' for fullscreen.
How long dt2w is active can be changed in /sys/android_touch/wake_timeout (in minutes, 0 is always active).
dt2w is active again after unlocking the phone.
To stop doubletap2wake feature using the power button set /sys/module/qpnp_power_on/parameters/pwrkey_suspend to '1'.
dt2w is active again when you lock the screen with swipe to lock or using the lock button.
But since dt2w is not a native feature of the N5 it will cause battery drain, i haven't tested it long enough to say how much battery it costs, because i got used to the lpm screen unlocking.
Flashable ZIP can be downloaded here.
Sorry, i've uploaded a ZIP which was missing the westwood TCP congestion control, link is now fixed (11-16-2016 11:11 PM)
Happy testing...
Last edited by mautz; 2016-11-16 at 22:11.