FORUMS
Remove All Ads from XDA
H10 Turbo

 View Poll Results: Did the 270 MHz frequency step increase your battery life ?

Yes
 
101 Vote(s)
35.44%
No
 
21 Vote(s)
7.37%
I don't know
 
97 Vote(s)
34.04%
I don't use this step
 
66 Vote(s)
23.16%

[KERNEL][Sony JB 4.3][26.04.15] Williams kernel v9.1

832 posts
Thanks Meter: 1,121
 
By pec0ra, Senior Member on 13th May 2014, 07:10 PM
Post Reply Email Thread
This is the version for Sony stock based ROM

Introduction
Quote:

Hello dear developers and android hackers,

On this thread, I will share with you a project I am developing as I am learning kernel programming / hacking. This version of the williams kernel is based on Sony kernel with enhancement, mostly for battery saving.




Features
Quote:

  • Based on Sony 12.1.A.1.207 kernel sources
  • Compiled with linaro GCC 4.9.1 toolchain, -O3
  • Frequency table from 384Mhz to 1944Mhz
  • Governors : interactive, ondemand, performance, conservative, lagfree, smartassV2, intellidemand2, intelliactive and lionheart
  • I/O schedulers : noop, deadline, cfq, V(R), row, sio, fifo
  • CPU frequency limiter lets you underclock all cores
  • Fast hotplug
  • Undervolt
  • Force fast charging
  • Changed minfree values for better multitasking and RAM management
  • TWRP and CWM recovery included, fota partition support
  • Dynamic fsync thank's to faux123
  • FauxSound thank's to faux123




Installation instructions
Quote:

Code:
Use this kernel at you own risk !
I am not responsible for any damage or problem.
  1. Flash zip via recovery
  2. Reboot




Download
Quote:

Recovery flashable zip :
Sony Williams kernel v9.1.zip
mirror

Kernel Source :
Github


Changelog
Quote:


Williams kernel v9.1 : 26.04.15

  • Reactivate cpufreq limiter


Williams kernel v9 : 26.04.15
  • Fixed frequency table
  • Add 1944 MHz frequency step


Williams kernel v8 : 12.12.14
  • Set qcom mpdecision as default hotplug (No need to deactivate it anymore unless you want to use another hotplug )
  • Remove msm_mpdecision
  • Add fast hotplug
  • Increase 1.8GHz step frequency for better stability
  • Add FOTA recovery support (Volume down)


Williams kernel v7 : 03.10.14
  • Add FauxSound. Thank's to @faux123


Williams kernel v6 : 01.10.14
  • Rebased on Sony 12.1.A.207 kernel sources
  • Increase voltage of highest frequency for more stability
  • Fix some bugs introduced in version 5.1


Williams kernel v5.1 : 20.07.14
  • Updated ramdisk to .205
  • Replaced philz recovery with cwm


Williams kernel v5 : 30.05.14
  • Changed frequency table for more stability
  • Add force fast charging, thanks to @DooMLoRD for the port
  • Disabled cpu freq limiter since msm_mpdecision already takes care of it


Williams kernel v4 : 24.05.14
  • Add overclock up to 1888 Mhz


Williams kernel v3.1 : 23.05.14
  • Fixed antutu crashes


Williams kernel v3 : 22.05.14
  • Changed frequency table to 270-1728 MHz
  • Added dynamic fsync thank's to @faux123


Williams kernel v2.2 : 21.05.14
  • Changed illumination at splash screen
  • Fixes for compatibility with linaro GCC 4.9.1 toolchain
  • -O3 compiler optimizations
  • Use xz compression


Williams kernel v2 : 18.05.14
  • Add V(R), ROW, SIO and FIFO I/O schedulers. Thanks to bbedward and DooMLoRD
  • Add @show-p1984 's mpdecision (see faq for more information)
  • Add TWRP and CWM recovery. Thanks to @dssmex and @DooMLoRD
  • Add custom splash logo. Thanks to @DooMLoRD for his tutorial


Williams kernel v1 : 13.05.14
  • Initial release


Check my github to see all the changes.




FAQ
Quote:

Q : With what ROM can I use this kernel ?
A : With any ROM based on Sony stock 4.3

Q : What features will be added to next versions ?
A : I probably don't know. If you have a feature request, please use the devdb tab for it on the top of the thread.

Q : Your kernel isn't working / My phone isn't booting anymore
A : Read this whole post once more, search for your problem in thread and report it if you haven't found a solution.

Q : Can I install this kernel on locked bootloader ?
A : No ! This kernel is only for unlocked bootloader.

Q : Does this kernel include recovery ?
A : Yes ! You can access by pressing volume button when the lights blink. Volume up to go to CWM and Volume down to go to TWRP or loads from FOTA partition if you have a kernel installed..

Q : What are mpdecision and fast hotplug ?
A : This is what manage your cpu cores and decide which core will be online. Fast hotplug is a brand new hotplug that I wrote. You can find more information there

Q : How to control fast hotplug ?
A : I modified Pimp my Z1 to be compatible with fast hotplug. You can use it without any problem on your Xperia SP to configure fast hotplug (Power Management menu) but it might have bugs with other functions (you can still try, I haven't had problems yet ).
You can find it there

Q : Where does the name come from ?
A : This kernel isn't named after someone but after a pear. We use this pear to make one of the best swiss "eau de vie" called Williamine.



Thanks To/Credits
Code:
* Sony for their sources and device
* @DooMLoRD
* @thewadegeek for his Tutorial
* @show-p1984 for his mpdecision
* @dssmex
* bbedward
* Erasmux
* faux123
* Androguide.fr for Pimp my Z1
* The xda community for making me discover android and for answering so many of my questions
* Google for kernel sources and its search engine
* Apple for making expensive phone so that I never bought one of theirs



Please let me know per pm if there is any mistake or misspelled word in this thread. Automatic correction does a great job but since english isn't my motherthongue I'm pretty sure I made mistakes.

XDA:DevDB Information
Williams kernel - Sony, Kernel for the Sony Xperia SP

Contributors
pec0ra
Source Code: https://github.com/pec0ra/williams

Kernel Special Features:

Version Information
Status: Testing

Created 2014-05-13
Last Updated 2015-04-26
The Following 81 Users Say Thank You to pec0ra For This Useful Post: [ View ] Gift pec0ra Ad-Free
 
 
13th May 2014, 07:16 PM |#2  
Senior Member
Flag Belgrade
Thanks Meter: 61
 
More
Cool!
Another kernel for stock based Rom

Will try ASAP

Thank you for so many governors

Sent from my C5303 using XDA Free mobile app
13th May 2014, 07:35 PM |#3  
poran123's Avatar
Senior Member
Flag Shillong
Thanks Meter: 119
 
More
awesome... will try
13th May 2014, 09:45 PM |#4  
DjowBr's Avatar
Senior Member
Flag Santos, São Paulo
Thanks Meter: 66
 
More
Good luck with you development man!!! Hope u can make an kernel for CM11 too =D
14th May 2014, 01:13 AM |#5  
Dragonkind's Avatar
Senior Member
Flag Chureki
Thanks Meter: 283
 
More
Wanna try...

But could u make a flashable zip?

I am just a lazy guy. lol

------------

The graphic performance can be more stable.

And I/O seems to be a little slow.

Benchmark score is lower than stock about 1500 with Quadrant.

Just for some advices~
14th May 2014, 05:43 AM |#6  
mrhnet's Avatar
Senior Member
Thanks Meter: 261
 
More
Can make a flashable zip according to this guide (2nd post)
http://forum.xda-developers.com/show....php?t=2699858
The Following User Says Thank You to mrhnet For This Useful Post: [ View ] Gift mrhnet Ad-Free
14th May 2014, 06:02 AM |#7  
pec0ra's Avatar
OP Senior Member
Flag Zürich
Thanks Meter: 1,121
 
Donate to Me
More
Quote:
Originally Posted by DjowBr

Good luck with you development man!!! Hope u can make an kernel for CM11 too =D

Thank you, this might come in the future but for now I will work on this one.


Quote:
Originally Posted by mrhnet

Can make a flashable zip according to this guide (2nd post)
http://forum.xda-developers.com/show....php?t=2699858

Quote:
Originally Posted by Dragonkind

Wanna try...

But could u make a flashable zip?

I am just a lazy guy. lol

------------

The graphic performance can be more stable.

And I/O seems to be a little slow.

Benchmark score is lower than stock about 1500 with Quadrant.

Just for some advices~


I can understand this laziness, I would have it too. So the OP is updated with flashable zip !

And thank for the review. Actually I/O and graphic performance haven't been changed so I wasn't expecting any improvement. Btw some IO schedulers might come soon.
The Following 6 Users Say Thank You to pec0ra For This Useful Post: [ View ] Gift pec0ra Ad-Free
14th May 2014, 06:56 AM |#8  
lloyd06's Avatar
Member
Thanks Meter: 5
 
More
gonns try this man
thanks will post my
review later
The Following User Says Thank You to lloyd06 For This Useful Post: [ View ] Gift lloyd06 Ad-Free
14th May 2014, 07:47 AM |#9  
Member
Thanks Meter: 8
 
More
So far no problems at all and great battery life, especially when listening music(1% half an hour). Also could you import sound control in kernel ? It would be very useful. Thanks for great work
14th May 2014, 02:28 PM |#10  
jancsessz's Avatar
Senior Member
Thanks Meter: 1,160
 
Donate to Me
More
Recovery added?

Tapatalk-kal küldve az én C5303-el
14th May 2014, 05:38 PM |#11  
s0ur0v's Avatar
Senior Member
Flag Khulna
Thanks Meter: 53
 
More
Smile recovery request
Hi boss, I am just using it kernel and it's a charm to use it, the only problem I face is there is no recovery on this kernel, I can even add, cam u plz add cwm or Philz touch recovery? Then it will be a great thing to use, eagerly waiting for us reply with recovery
Or u can assist me also toward recovery by myself
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes