Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview

    Reply
    Page 20 of 125 | Prev | 10   18     19   20   21     22   30 | Next | Last
    mautz | # 191 | 2016-11-04, 06:15 | Report

    Originally Posted by BluesLee View Post
    Interesting features. Do you have already tested battery life or is it achieved by underclocking the cpus?
    I am testing at the moment. I added a few features from the blu_spark kernel:

    - blu_plug cpu hotplug governor
    - blu_active cpu governor
    - Simple GPU governor
    - USB fastcharge
    - Undervolting

    I hope to publish the kernel today or tommorow, than you could test it yourself, but don't expect a huge improvement in battery life.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to mautz For This Useful Post:
    BluesLee, deprecated, juiceme, minimec

     
    deprecated | # 192 | 2016-11-04, 07:31 | Report

    Originally Posted by mautz View Post
    I am testing at the moment. I added a few features from the blu_spark kernel:

    - blu_plug cpu hotplug governor
    - blu_active cpu governor
    - Simple GPU governor
    - USB fastcharge
    - Undervolting

    I hope to publish the kernel today or tommorow, than you could test it yourself, but don't expect a huge improvement in battery life.
    Excellent, I look forward to testing it. I'd be happy to provide feedback as well. Any improvement is improvement. Can anyone speculate as to what might be the source of this battery drain? It only happens when the screen is on, so my thought is maybe a polling interval ramping the CPU cores up and down too rapidly, possibly the governor trying to anticipate user input to reduce UX lag? I dunno, top isn't much help. Everything looks fine while ssh'ed into the device with the screen off...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to deprecated For This Useful Post:
    juiceme, minimec

     
    mautz | # 193 | 2016-11-04, 22:23 | Report

    Here we go...

    The source can be found here:

    https://github.com/mautz-kernel/SFOS...-custom-kernel

    Just use the 'SFOS-hammerhed-custom-kernel_defconfig' to build the kernel yourself or modify it if you want.

    And here's the Zip to flash the kernel with the recovery:https://www.dropbox.com/s/csq3qd81ci...ernel.zip?dl=0

    If the output of
    Code:
     uname -r
    is not
    Code:
    3.4.0-cyanogenmod-g0aac178
    you should not install this kernel, because the wifi modules will not load. You'll have to compile it from source and change the localversion string in the config file!!!


    This kernel is based on the source of mer-hybris.
    Added features are taken from blu_spark kernel developed by eng.stk. More info on XDA.

    Added features:

    - Undervolting
    - blu_active governor
    - blu_plug hotplug governor
    - simple GPU governor
    - USB fastcharge

    More to come...suggestions welcome.

    If you are using sfdroid, you can use apps like Trickster Mod and SetCPU to change settings. I recommend Kernel Auditor, it lets you change the Hotplug settings too.

    If you want to use blu_plug as your hotplug governor, you can disable mpdecision(default hotplug governor) via Trickster Mod or rename mpdecision to mpdecison.bak in /system/bin folder and restart.

    Of course all settings can be changed via sysfs.

    Undervolting can be done by changing
    Code:
    /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
    The blu_plug hotplug options can be found in
    Code:
    /sys/module/blu_plug/parameters
    GPU settings are in
    Code:
    /sys/class/kgsl/kgsl-3d0
    The governor can be found in the pwrscale/trustzone folder.

    Fast charge can be enabled by changing the value from 0 to 1 in
    Code:
    /sys/kernel/fast_charge/force_fast_charge
    And make a backup of your device, i'm not responsible for bricked devices by flashing this kernel.

    Feedback is welcome.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by mautz; 2016-11-04 at 23:29.
    The Following 5 Users Say Thank You to mautz For This Useful Post:
    BluesLee, deprecated, eekkelund, juiceme, minimec

     
    deprecated | # 194 | 2016-11-04, 23:09 | Report

    @mautz

    Fantastic work, friend. I'll install shortly and report findings in this thread. Thank you for your work and effort!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to deprecated For This Useful Post:
    juiceme, mautz

     
    deprecated | # 195 | 2016-11-05, 02:58 | Report

    Installed and running, mautz!

    This is on 2.0.4.14, haven't had any glitches with a -75mV global undervolt (manual editing, not using sfdroid or any of the apps) on a PVS 2 binned SoC. Running the blu_active governor. Experimenting with GPU and other settings now, and will post my “optimal” settings for anyone willing to try them.

    Again, excellent work @mautz! I love this community.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to deprecated For This Useful Post:
    BluesLee, eekkelund, juiceme, Koiruus, mautz, minimec

     
    deprecated | # 196 | 2016-11-05, 06:17 | Report

    Quick issue, unrelated to mautz's kernel:

    Has anyone noticed that jolla-xt9 is missing in 2.0.4.13/14? I can't get it to install via pkcon to save my life. I've done zypper ref -f and pkcon refresh after disabling adaptation0, etc., but I've had absolutely no luck. I didn't have it installed on 2.0.1.11 this time around before I jumped to 2.0.4.13 then to 2.0.4.14.

    Any help would be appreciated. Or even an .rpm lol.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to deprecated For This Useful Post:
    juiceme

     
    mautz | # 197 | 2016-11-05, 06:20 | Report

    I had to download the file with my Jolla1 and copy it to the N5. But i can send you a copy later...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to mautz For This Useful Post:
    deprecated, juiceme

     
    deprecated | # 198 | 2016-11-05, 06:22 | Report

    Originally Posted by mautz View Post
    I had to download the file with my Jolla1 and copy it to the N5. But i can send you a copy later...
    That would be great! That must be a recent change, as a few months ago on my first 2.0.1.11 install on the Nexus 5, it went through without issue.

    Either way, just let me know when you have it available. Thanks!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to deprecated For This Useful Post:
    juiceme

     
    mautz | # 199 | 2016-11-05, 06:44 | Report

    I send you a message.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to mautz For This Useful Post:
    deprecated, juiceme

     
    minimec | # 200 | 2016-11-06, 01:54 | Report

    First: THX a lot for all the work mautz!!!

    @deprecated
    Originally Posted by
    This is on 2.0.4.14, haven't had any glitches with a -75mV global undervolt (manual editing, not using sfdroid or any of the apps) on a PVS 2 binned SoC.
    I do also have a 'PVS 2' CPU, but I can only get -50mV out of it. Otherwise I get instant freezes. My setup would be 2.0.1.11 on multirom.

    I see some improvements in powertop, but I definitely prefer (always have) the 'conservative' governor over 'blue_active'. I see much better stats in powertop for idle state. I get low peaks of +/-200mV. When I change the governor to 'blue_active' idle mV usage is 460mV and more.

    I do have some hopes for the GPU settings... So I stay tuned...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to minimec For This Useful Post:
    juiceme

     
    Page 20 of 125 | Prev | 10   18     19   20   21     22   30 | Next | Last
vBulletin® Version 3.8.8
Normal Logout