Active Topics

 


Reply
Thread Tools
Posts: 3 | Thanked: 9 times | Joined on Jun 2016
#341
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.
 

The Following User Says Thank You to petrica For This Useful Post:
Posts: 387 | Thanked: 707 times | Joined on May 2015 @ Italy
#342
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

Last edited by claustn; 2016-12-12 at 15:12.
 

The Following 2 Users Say Thank You to claustn For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#343
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.
 

The Following 8 Users Say Thank You to mautz For This Useful Post:
Posts: 3 | Thanked: 9 times | Joined on Jun 2016
#344
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.
 

The Following 4 Users Say Thank You to petrica For This Useful Post:
Posts: 97 | Thanked: 318 times | Joined on Feb 2012 @ Switzerland
#345
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.

Last edited by minimec; 2016-12-13 at 21:00.
 

The Following 3 Users Say Thank You to minimec For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#346
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.
__________________
Sony Xperia XA2 Ultra SFOS 3 + Sony Xperia X SFOS 3, Nokia N810
 

The Following User Says Thank You to deprecated For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#347
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.
__________________
Sony Xperia XA2 Ultra SFOS 3 + Sony Xperia X SFOS 3, Nokia N810
 

The Following User Says Thank You to deprecated For This Useful Post:
Posts: 97 | Thanked: 318 times | Joined on Feb 2012 @ Switzerland
#348
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
 

The Following 2 Users Say Thank You to minimec For This Useful Post:
Posts: 9 | Thanked: 8 times | Joined on Dec 2016
#349
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!
 

The Following 2 Users Say Thank You to F0x123 For This Useful Post:
Posts: 97 | Thanked: 318 times | Joined on Feb 2012 @ Switzerland
#350
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
 

The Following 2 Users Say Thank You to minimec For This Useful Post:
Reply

Tags
hammerhead, nexus5, sailfishos, sfdroid


 
Forum Jump


All times are GMT. The time now is 15:26.