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

Did the 270 MHz frequency step increase your battery life ?

  • Yes

    Votes: 101 35.6%
  • No

    Votes: 21 7.4%
  • I don't know

    Votes: 97 34.2%
  • I don't use this step

    Votes: 65 22.9%

  • Total voters
    284
Search This thread
"fota partition support". For some reason I'm not able to flash a recovery with fastboot but I did it with dd if=twrp.img of=/dev/block/mmcblk0p11
But at kernel boot I can't enter this flashed recovery. I tried vol+, vol- and camera btn.
Anyone else or just me ??

[edit] also tried flashing with rashr app, nothing.
 
Last edited:

pec0ra

Senior Member
Jan 29, 2012
841
1,125
Zürich
Sony Xperia 5 II
"fota partition support". For some reason I'm not able to flash a recovery with fastboot but I did it with dd if=twrp.img of=/dev/block/mmcblk0p11
But at kernel boot I can't enter this flashed recovery. I tried vol+, vol- and camera btn.
Anyone else or just me ??

[edit] also tried flashing with rashr app, nothing.
Thanks for pointing this out. It is highly possible that fota doesn't work. I'm not using it. I'll look at it when I have time.
 
  • Like
Reactions: kaushal9119
Here is the dmesg log when the phone refuses to wake up.
If I use the stop and start commands in shell, the phone restarts, I can login while lockscreen is on. If I let lockscreen turing off the phone don't wake up, and anyway next time it will sleep it won't wake up. Full reboot needed to solve the problem until next time.
 

Attachments

  • dmesg.zip
    16.5 KB · Views: 10

|>/\nte

Senior Member
Governors along with performance profile module?

Greetings people,
I didn't find a version 9.1 q/a thread so I'll post this here. I'd like to test out the smartassv2 governor, but I'm currently using the performance profile xposed module (I've only customised the screen off and the lockscreen profile, nothing else). Will I face trouble or the phone will be working fine? I'm currently running the kernel without overclock (just the settings on the xposed module). If someone wants to know the exact settings of the module just tell me. Thanks.
 

dtronics

Senior Member
Sep 10, 2011
152
102
32
exeter
OnePlus 8 Pro
stuck at williams kernel screen

hey guys

i have a problem, installed the kernel and now it wont get past the williams kernel screen, i have tried reinstalling my rom and performing a factory reset via recovery.

has anyone had this issue, im going to try another rom and see if that helps (im currently using ArchXperia 1.3.0 [based on .207])

cheers

damian
 

Sam spancer

Senior Member
Apr 28, 2014
338
64
using this kernel 9.1 latest version, i renamed mpdecision to mpdecision.old and put in sys/module/parameter/fast_hot_plug "1"
now i see some difference though but on kernel auditor there is no option for fast hot-plug now..............
just asking because before doing all what i mentioned above the option was there.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 81
    This is the version for Sony stock based ROM

    Introduction
    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
    • 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
    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


    Changelog
    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


    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
    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 [URL="http://xdaforums.com/showthread.php?t=1748297"]Tutorial[/URL]
    * @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
    18
    Update to v8

    New update : Williams kernel v8

    Changelog :

    • Set qcom mpdecision as default hotplug (No need to rename 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; needs testing)

    From now on, you won't need anymore to deactivate mpdecision before flashing the kernel. It is now set as the default hotplug. You only need to deactivate it when you activate another hotplug (for example if you want to try fast hotplug) but if you use the app Pimp my Z1, it will do it for you !


    About fast hotplug :

    Fast hotplug is a hotplug I wrote myself. You can find more information there


    Download :

    Recovery flashable zip :
    Sony Williams kernel v8.zip
    mirror
    16
    Update to v9.1

    New update : Williams kernel v9.1

    Changelog :

    • Reactivate cpufreq limiter


    Download :

    Recovery flashable zip :
    Sony Williams kernel v9.1.zip
    mirror
    13
    Update to v9

    New update : Williams kernel v9

    Changelog :

    • Fixed frequency table
    • Add 1944 MHz frequency step

    I have some good news ! I finally found what was causing the reboots with my kernel :)
    All the frequencies were in fact 108 MHz higher than they appeared to be. The voltages were then not high enough for the real frequency and it was causing reboots.

    Note that the 1944 MHz step might still be unstable on some phones and has the tendency to overheat your phone so be careful when playing with it ! Don't be surprised if your phone shuts down because of overheat if you are using it.

    Download :

    Recovery flashable zip :
    Sony Williams kernel v9.zip
    mirror
    12
    Update to v2.2

    Minor update : Williams kernel v2.2

    Changelog :

    • Changed illumination at splash screen
    • Fixes for compatibility with linaro GCC 4.9.1 toolchain
    • -O3 compiler optimizations
    • Use xz compression

    This build should be faster than the previous one due to the new toolchain used to compile it and some compilation optimization.

    If you want to play with your leds, take a look at the script I created. It has some easy to use functions. You can find it here. Just run it from terminal or script manager with root permission and don't hesitate to edit it and reuse it.


    Download :

    Recovery flashable zip :
    Williams kernel v2.2.zip
    mirror

    Fastboot flashable elf :
    Williams kernel v2.2.elf
    mirror