Active Topics

 


Reply
Thread Tools
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#191
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.
 

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

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

Last edited by mautz; 2016-11-04 at 23:29.
 

The Following 5 Users Say Thank You to mautz For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#194
@mautz

Fantastic work, friend. I'll install shortly and report findings in this thread. Thank you for your work and effort!
__________________
Sony Xperia XA2 Ultra SFOS 3 + Sony Xperia X SFOS 3, Nokia N810
 

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

The Following 6 Users Say Thank You to deprecated For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#196
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.
__________________
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: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#197
I had to download the file with my Jolla1 and copy it to the N5. But i can send you a copy later...
 

The Following 2 Users Say Thank You to mautz For This Useful Post:
Posts: 300 | Thanked: 962 times | Joined on Jun 2010 @ USA
#198
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!
__________________
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: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#199
I send you a message.
 

The Following 2 Users Say Thank You to mautz For This Useful Post:
Posts: 97 | Thanked: 318 times | Joined on Feb 2012 @ Switzerland
#200
First: THX a lot for all the work mautz!!!

@deprecated
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...
 

The Following User Says Thank You to minimec For This Useful Post:
Reply

Tags
hammerhead, nexus5, sailfishos, sfdroid


 
Forum Jump


All times are GMT. The time now is 18:36.