maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview (https://talk.maemo.org/showthread.php?t=96932)

mautz 2016-12-05 21:21

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Download Kernel v8 with CONFIG_HZ=100

@minimec

I use the linaro toolchain to build the kernel(linaro 4.9.4 with Cortex A15 optimizations) and the Makefiles contain some specific linaro optimizations flags, that could have caused the errors you have encountered. Since v8 of the kernel you have to compile it with the 'make CONFIG_NO_ERROR_ON_MISMATCH=y' option or else you'll get an error at the end of compiling.

minimec 2016-12-05 21:58

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

Originally Posted by mautz (Post 1520066)
Download Kernel v8 with CONFIG_HZ=100

@minimec

I use the linaro toolchain to build the kernel(linaro 4.9.4 with Cortex A15 optimizations) and the Makefiles contain some specific linaro optimizations flags, that could have caused the errors you have encountered. Since v8 of the kernel you have to compile it with the 'make CONFIG_NO_ERROR_ON_MISMATCH=y' option or else you'll get an error at the end of compiling.

Thank you so much. I really hope that that 100Hz will improve battery life.

Also THX for your explanations regarding Kernel cross compilation. I will give it a new try. My idea was to enable zram maybe. That would again increase power consumption a little bit, but might help 'sfdroid' users.

Again... THX for your amazing work.

deprecated 2016-12-05 22:56

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

Originally Posted by mautz (Post 1520066)
Download Kernel v8 with CONFIG_HZ=100

@minimec

I use the linaro toolchain to build the kernel(linaro 4.9.4 with Cortex A15 optimizations) and the Makefiles contain some specific linaro optimizations flags, that could have caused the errors you have encountered. Since v8 of the kernel you have to compile it with the 'make CONFIG_NO_ERROR_ON_MISMATCH=y' option or else you'll get an error at the end of compiling.

@mautz, fantastic work. Thank you for your efforts and kindness. This is exactly why I love this community!

BluesLee 2016-12-06 13:49

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

Originally Posted by mautz (Post 1520066)
Download Kernel v8 with CONFIG_HZ=100

@minimec

I use the linaro toolchain to build the kernel(linaro 4.9.4 with Cortex A15 optimizations) and the Makefiles contain some specific linaro optimizations flags, that could have caused the errors you have encountered. Since v8 of the kernel you have to compile it with the 'make CONFIG_NO_ERROR_ON_MISMATCH=y' option or else you'll get an error at the end of compiling.

Thank you.

Do we have a kernel package of the default installation for fallback
purposes if something goes wrong after days, weeks?

maximilian1st 2016-12-06 18:07

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

Originally Posted by BluesLee (Post 1520106)
Thank you.

Do we have a kernel package of the default installation for fallback
purposes if something goes wrong after days, weeks?

What happens if you flash the original 2.0.1.11 over it again to recover from a broken kernel, will that also wipe your data and settings?

mautz 2016-12-06 18:37

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

Originally Posted by BluesLee (Post 1520106)
Thank you.

Do we have a kernel package of the default installation for fallback
purposes if something goes wrong after days, weeks?

I could easily build one, grab the original source and use the original config to build one. I could upload a build of the original kernel.

@maximillian1st

A new flash will wipe your data. But you could tar your home directory and restore it afterwards...

minimec 2016-12-06 21:44

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
News from the 100Hz front.

I had my phone over 8 hours in stand-by mode (idle) over night and lost 8% battery power.

I guess we can say that this is an improvement... I am pretty happy with these results.

Settings:
I was on 'msm-mpdecision' hotplug managment, slight undervolt, 'conservative' as governor.

BluesLee 2016-12-06 23:59

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

Originally Posted by minimec (Post 1520138)
News from the 100Hz front.

I had my phone over 8 hours in stand-by mode (idle) over night and lost 8% battery power.

I guess we can say that this is an improvement... I am pretty happy with these results.

Settings:
I was on 'msm-mpdecision' hotplug managment, slight undervolt, 'conservative' as governor.

The crucial battery drain for me seems to be related to mobile network, at least when i am connected to wifi the drain is much less. I will test the kernel in the upcoming days.

deprecated 2016-12-07 01:32

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I can confirm these observations, a great deal less power drain at idle. Still seeing the massive drain with screen on time, though. AIDA, top, lighthouse, nothing shows any crazy usage. I thought maybe it was doing something goofy with the GPU clock when web browsing and the like, so I stuck it at 100MHz for testing. Same results.

I don't really expect to get more than a day and a half total, but the screen on drain is very frustrating.

Still testing, still digging. :)

I do believe 100Hz timer is the right direction, though. Great work guys!

deprecated 2016-12-07 05:22

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Do you guys use multirom at all? I had read that it wasn't the preferred method a while back, so I typically do a native install. Are there any side effects or drawbacks to using multirom for sailfish alongside other OS'es?


All times are GMT. The time now is 07:23.

vBulletin® Version 3.8.8