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 35 of 125 | Prev | 25   33     34   35   36     37   45 | Next | Last
    petrica | # 341 | 2016-12-11, 23:59 | Report

    Originally Posted by deprecated View Post
    That sounds a bit high. That's close to what I get with the stock kernel and voltages. Have you undervolted at all? That will be your single biggest gain. Also, I'd stick to a lower limit of 249MHz, as any lower will have diminishing returns and actual losses. I actually have a fair amount less consumption on my 2.0.5.6 setup as opposed to 2.0.4.1x

    Did you use the 2.0.1.11 install image following CM12.1, then the sensorsfix3.zip flash then OTA'ed to 2.0.4.1x and beyond? What I'd do is install the updated 2.0.4.13 image, as the hardware adaptation is slightly newer and seems to have improved battery life after OTA'ing to 2.0.5.6. I've settled on that method of getting the latest SFOS after much trial and error, and this method works for me every time - with the exception of the known dbus bug which is easy to get around. Let me know if you need any help!

    The test was done on 2.4.13 Image and 2.0.5.6 I mentioned was OTA updated from same.
    Unfortunately it's pretty hard for me to know what parameters to use in kernel since the information is spread over tens of posts and not very well explained (not complaining, just saying) or convincing enough. Right now I'm testing 2.0.5.6 with the code from post 225, see how it goes.

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

     
    claustn | # 342 | 2016-12-12, 07:50 | Report

    I retried after a reboot, if I open sfdroid, I close and reopen it, it works!
    re-thank you

    edit: i talked too early, now sfdroid doesn't start anymore, with the original .sh file and with the modified

    2nd edit: now sfdroid works, dont't know why

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by claustn; 2016-12-12 at 15:12.
    The Following 2 Users Say Thank You to claustn For This Useful Post:
    deprecated, juiceme

     
    mautz | # 343 | 2016-12-13, 10:48 | Report

    Sorry for the delay...here is kernel v9.

    Code:
    Changelog:
    - Updated wifi drivers
    - Added partialresume API
    - Added Powersuspend
    So, nothing new to play around with this time.
    Powersuspend is the new suspend mechanism which will be used instead of earlysuspend in the future. So not many kernel functions use this at the moment. I'm going to update as many as possible in the future.
    Partialresume should give some lower powerconsumption when using wifi, because more things are handled by the kernel now.

    Download here

    Source is available here.

    I'm going to write a little textfile, which includes the complete changelog of all released kernels and the values which can be customized in sysfs for people who don't want to search the whole thread. Just give me a few days, since i have a lot of other work to do lately.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 8 Users Say Thank You to mautz For This Useful Post:
    claustn, deprecated, eekkelund, jellyroll, juiceme, maximilian1st, minimec, tealc

     
    petrica | # 344 | 2016-12-13, 13:49 | Report

    Originally Posted by mautz View Post

    I'm going to write a little textfile, which includes the complete changelog of all released kernels and the values which can be customized in sysfs for people who don't want to search the whole thread. Just give me a few days, since i have a lot of other work to do lately.
    Thanks for this (and all the work on kernel, of course!). Maybe your work should have a dedicated thread; would be easier for everyone to follow the development.

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

     
    minimec | # 345 | 2016-12-13, 20:36 | Report

    I first want to thank mautz for the new kernel.

    I realized that the new v9 kernel ('Kernel Tick Clock') is again at 300hz, while I am a strong defender of 100hz (at least right now).

    Being able to compile my own kernel now, I decided to give you a link to my version of the v9 kernel. There are only two minor modifications... My kernel runs at '100hz' and 'swap' is also enabled. That will allow you to create a swapfile and use it as swap partition. The reason for this is simple: I want to avoid lipstick crashes, when running out of physical memory. Sfdroid users might benefit from this solution.

    You can download the kernel here.
    Mautz kernel sources here...

    Create swapfile: (source: https://www.cyberciti.biz/faq/linux-...ap-file-howto/ )

    Code:
    dd if=/dev/zero of=/swapfile bs=1024 count=524288
    chown root:root /swapfile
    chmod 0600 /swapfile
    mkswap /swapfile
    swapon /swapfile
    Enable swap @boot: Add the following line to /etc/fstab
    Code:
    /swapfile none swap sw 0 0
    Update: I might have linked the wrong kernel file first. To be sure, I linked a new kernel zip file.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by minimec; 2016-12-13 at 21:00.
    The Following 3 Users Say Thank You to minimec For This Useful Post:
    deprecated, jellyroll, juiceme

     
    deprecated | # 346 | 2016-12-13, 20:37 | Report

    Originally Posted by mautz View Post
    Sorry for the delay...here is kernel v9.

    Code:
    Changelog:
    - Updated wifi drivers
    - Added partialresume API
    - Added Powersuspend
    So, nothing new to play around with this time.
    Powersuspend is the new suspend mechanism which will be used instead of earlysuspend in the future. So not many kernel functions use this at the moment. I'm going to update as many as possible in the future.
    Partialresume should give some lower powerconsumption when using wifi, because more things are handled by the kernel now.

    Download here

    Source is available here.

    I'm going to write a little textfile, which includes the complete changelog of all released kernels and the values which can be customized in sysfs for people who don't want to search the whole thread. Just give me a few days, since i have a lot of other work to do lately.
    Excellent work, @mautz. I look forward to your future work with the partialresume API. I hadn't considered a dedicated thread for your kernel previously, as this has kind of been the consolidated stop for all things N5 SFOS (as well as BlueLee's thread). Searching through the threads for the best settings can surely become daunting for newcomers and those that haven't been following/testing every kernel revision and worked their own notes. So, maybe that wouldn't be such a bad idea.

    I'll start working on a table of tested settings and outcomes. Trying to decided what factors to prioritize. UX smoothness and idle voltage draw are really the only things I consider. Will update as it progresses.

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

     
    deprecated | # 347 | 2016-12-13, 20:40 | Report

    Originally Posted by minimec View Post
    I first want to thank mautz for the new kernel.

    I realized that the new v9 kernel ('Kernel Tick Clock') is again at 300hz, while I am a strong defender of 100hz (at least right now).

    Being able to compile my own kernel now, I decided to give you a link to my version of the v9 kernel. There are only two minor modifications... My kernel runs at '100hz' and 'swap' is also enabled. That will allow you to create a swapfile and use it as swap partition. The reason for this is simple: I want to avoid lipstick crashes, when running out of physical memory. Sfdroid users might benefit from this solution.

    You can download the kernel here.
    Mautz kernel sources here...

    Create swapfile: (source: https://www.cyberciti.biz/faq/linux-...ap-file-howto/ )

    Code:
    dd if=/dev/zero of=/swapfile bs=1024 count=524288
    chown root:root /swapfile
    chmod 0600 /swapfile
    mkswap /swapfile
    swapon /swapfile
    Enable swap @boot: Add the following line to /etc/fstab
    Code:
    /swapfile none swap sw 0 0
    Oh wow, @minimec. That's fantastic! I was just about to ask whether it was compiled at 100Hz timer still. The swap bit is something I hadn't even considered. Great work!

    Also, I'm going to put together my toolchain. May pick your brain a little later on your setup. I tried a couple linaro 4.9.4 installs and kept getting compile errors.

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

     
    minimec | # 348 | 2016-12-13, 21:22 | Report

    Originally Posted by deprecated View Post
    Also, I'm going to put together my toolchain. May pick your brain a little later on your setup. I tried a couple linaro 4.9.4 installs and kept getting compile errors.
    I use this toolchain... https://github.com/Christopher83/arm...ihf-linaro_4.9

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

     
    F0x123 | # 349 | 2016-12-14, 11:01 | Report

    Hello,

    I am new in this Sailfish flashing stuff and I try to get sfdroid to work on my nexus 5.

    Finally a managed to install CM13 as a base ROM and then latest Multirom v33. On top of that CM 12.1 latest stable snapshot (20150901) with SFOS 2.0.4.13.
    Now I try to install sfdroid as described in this thread.

    Unfortunately "Flash Zip" in TWRP Multirom Recovery does not work. The button does nothing. "unable to locate page (multirom_flash_select)" is the error message I get.

    How can I fix that? Otherwise I won't be able to flash the sfdroid, gapps and the sensorsfix3 (I still don't know if this sensorsfix is necessary)

    Could you please give me an advice how to solve this issue and get this button to work again or how I can flash the necessary packages?

    Thanks!

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

     
    minimec | # 350 | 2016-12-14, 11:44 | Report

    Originally Posted by F0x123 View Post
    Unfortunately "Flash Zip" in TWRP Multirom Recovery does not work. The button does nothing. "unable to locate page (multirom_flash_select)" is the error message I get.
    That is in fact a known problem. You need to flash an older version of TWRP (see first post of this thread).

    Originally Posted by RealJohnGalt View Post
    • If you're using multirom, ensure that you're running an older version of recovery that supports the "Flash Zip" capability for Sailfish. This build is recommended: http://d-h.st/BzdC

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

     
    Page 35 of 125 | Prev | 25   33     34   35   36     37   45 | Next | Last
vBulletin® Version 3.8.8
Normal Logout