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 40 of 125 | Prev | 30   38     39   40   41     42   50 | Next | Last
    deprecated | # 391 | 2016-12-22, 06:04 | Report

    Originally Posted by mautz View Post
    So, i kind of got cm13 working on our Nexus5...

    ....

    So, many things to figure out, but it looks promising :-)

    I'll keep you updated.
    Excellent news, @mautz! I'm curious and haven't looked into it much, does cm13 use a 3.10.x kernel, and as such could it run tickless - theoretically? I look forward to helping you any way I can. If you need tests run or logs or anything of the sort, I'd be glad to help out.

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

     
    nh1402 | # 392 | 2016-12-22, 08:18 | Report

    Originally Posted by deprecated View Post
    Excellent news, @mautz! I'm curious and haven't looked into it much, does cm13 use a 3.10.x kernel, and as such could it run tickless - theoretically? I look forward to helping you any way I can. If you need tests run or logs or anything of the sort, I'd be glad to help out.
    No it's the same old 3.4 kernel. The only 3.10 kernel that you can boot with the Nexus 5 is this kernel but not much of it works, and the work on it seems to have been abandoned.

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

     
    claustn | # 393 | 2016-12-22, 14:25 | Report

    guys, simple question: to use another kernel instead the original one, i have to reinstall sailfish right? how I install the different kernel and what's the best for battery saving? I'm tired of this battery drain.

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

     
    deprecated | # 394 | 2016-12-22, 16:42 | Report

    Originally Posted by claustn View Post
    guys, simple question: to use another kernel instead the original one, i have to reinstall sailfish right? how I install the different kernel and what's the best for battery saving? I'm tired of this battery drain.
    No, you just flash the kernel zip in TWRP. I use minimec's 100Hz version found here.

    Your battery savings will depend on how far you can undervolt your SoC, which depends on its PVS binning, age, etc.

    I use a minimum frequency of 300MHz (as it seems to give me less CPU usage than 249MHz), maximum frequency of 1.5GHz, msm-mpdecision hotplug driver, conservative governor, noop I/O scheduler, 320MHz on GPU. My voltage table is custom, expect lipstick crashes and reboots. You should use the standard table and mine as a reference. Work down 10mV at a time for the lowest frequency until it's unstable, then ramp it up 5mV for longevity. Put some load on the device (moving around through menus works), and watch the load state with something like AIDA64. Watch which frequencies the device enters, for example 422Mhz or 652MHz, and adjust their voltages a little at a time as you did before. This is time consuming, but it is the only guaranteed way you'll undervolt and save some battery.

    My settings are as follows, I only lose ~8-10% over 12 hours with screen off. Special thanks to minimec for bits of his shell script and 100Hz/swap-enabled recompile, and mautz for the kernel work and integrating all these features:

    Code:
    # Min/Max Frequency
    /bin/echo "1574000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
    /bin/echo "300000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
    
    # msm_mpdecision
    /bin/echo "1" > /sys/kernel/msm_mpdecision/conf/enabled
    
    # voltage table (undervolt) (kernel v7 with new low frequencies)
    /bin/echo "620 620 620 630 665 735 750 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
    
    # set governor
    /bin/sleep 3
    /bin/echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    
    # set I/O scheduler
    /bin/echo "noop" > /sys/block/mmcblk0/queue/scheduler

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by deprecated; 2016-12-22 at 16:50.
    The Following 4 Users Say Thank You to deprecated For This Useful Post:
    BluesLee, claustn, juiceme, maximilian1st

     
    claustn | # 395 | 2016-12-22, 19:20 | Report

    is there also an improvement using Sailfish 2.0.4 instead of 2.0.1 ? I just wonder if i should update or not

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

     
    mautz | # 396 | 2016-12-22, 21:11 | Report

    Originally Posted by deprecated View Post
    Excellent news, @mautz! I'm curious and haven't looked into it much, does cm13 use a 3.10.x kernel, and as such could it run tickless - theoretically? I look forward to helping you any way I can. If you need tests run or logs or anything of the sort, I'd be glad to help out.
    I'll release a testing version, when its more usable.

    As nh1402 alredy said, there's no new kernel version in cm13. Google never finished the 3.10 kernel, so until today no one got it fully working.
    But the 3.4 kernel of cm13 has many many updates over the cm12.1 version and it'll will be much easier to add new features.

    I hope i can release the test build next week...

    And 8-10% for 12hours of screen off time is very impressive, i'm stuck at 1% per hour, but that's enough for me

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

     
    edi194 | # 397 | 2016-12-22, 21:46 | Report

    Hi guys, i'm new in SfOS and everything so sorry for noob question.

    I've updated SFOS on N5 to 2.0.5.6 and almost everything is working well. Almost, becouse i can't record videos and battery drain is massive. Can someone help me atleast with camera? I use it everyday. I'll be grateful for any help

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

     
    mautz | # 398 | 2016-12-22, 22:20 | Report

    Originally Posted by edi194 View Post
    Hi guys, i'm new in SfOS and everything so sorry for noob question.

    I've updated SFOS on N5 to 2.0.5.6 and almost everything is working well. Almost, becouse i can't record videos and battery drain is massive. Can someone help me atleast with camera? I use it everyday. I'll be grateful for any help
    You could try cameraplus from openrepos:

    https://openrepos.net/content/msameer/cameraplus-0

    Maybe this helps with recording videos.

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

     
    edi194 | # 399 | 2016-12-22, 23:05 | Report

    Originally Posted by mautz View Post
    You could try cameraplus from openrepos:

    https://openrepos.net/content/msameer/cameraplus-0

    Maybe this helps with recording videos.
    Tested already, it's crashing after hitting 'stop recording button' like stock one :/

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

     
    minimec | # 400 | 2016-12-22, 23:22 | Report

    Originally Posted by edi194 View Post
    I've updated SFOS on N5 to 2.0.5.6 and almost everything is working well. Almost, becouse i can't record videos and battery drain is massive. Can someone help me atleast with camera? I use it everyday. I'll be grateful for any help
    You have to swipe down the camera settings (default jolla cam app) and toggle between Photo/Video and/or Front/Main camera. After having done that, video recording should work.

    Regarding massive battery drain: Do you use sfdroid? I also had this massive drain and checking with 'top' in the terminal I found a 'main' process that was using CPU like hell. So I did 'pkill main' (with 2.0.5.6 you can also use 'killall main'), and battery drain was gone...

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

     
    Page 40 of 125 | Prev | 30   38     39   40   41     42   50 | Next | Last
vBulletin® Version 3.8.8
Normal Logout