[KERNEL] PhenomKernel - Hammerhead - v1.1 [AOSP]

Search This thread

educk

Inactive Recognized Developer
Oct 28, 2012
1,327
6,936
rsz_1finallogo.png

Hello everyone!
I proudly present the Phenom Kernels for Hammerhead.
This is based on Google Lollipop sources so it is suitable for all AOSP based ROM's (including stock).

Features include:
* Overclocking support
* Screen off frequency customization
* Wake gestures
* Sweep2wake/DoubleTap2Wake
* USB Fast Charge
* Charge light support
* Gamma Control
* Vibration intensity Control
* Kexec Hard-boot (for MultiROM support)
* FauxSound support
* Reduced minimum panel brightness
* QCOM Adreno and other KGSL patches
* EXT4 optimizations
* F2FS support
* 3G USB Modem Support
* Fsync ON/OFF Support
* memcpy and memmove optimizations
* -O3 optimization level with selective flags (using -mcpu=cortex-a15 for MSM Krait target)
* Linaro 4.9.3 Toolchain with Hard-Float support optimized for Cortex-A15
* More Linux/CAF patches are under testing and waiting to be implemented

DOWNLOAD LINK

Sources:
https://github.com/erik96/hammerhead/tree/phenom-msm-hammerhead-stable

CREDITS:
Christopher83 (Cristoforo Cataldo)
flar2 (Aaron Segaert)
Faux123 (Paul Reioux)
showp1984 (Dennis Rassmann)
myfluxi
 
Last edited:

educk

Inactive Recognized Developer
Oct 28, 2012
1,327
6,936
Changelog and Features list

Phenom Kernel Control App

Phenom Kernel has its own control app available for beta testing. Please note that this thread is meant for kernel discussions only. For app support, please refer to the Google+ Community

Notice:
I'm willing to accept feature requests. You can post these in the thread.

Features which will not be implemented at this point:

*Voltage Control : from my experience in testing various kernels for hammerhead, lowering the voltages for the CPU Frequencies has no visible effect on battery consumption. In fact, I've seen more complaints from users who got kernel panics and soft-reboots as a result from lowering the voltages. At this point, my goal is to focus on stability and therefore this feature won't be implemented, for now.

*Custom HotPlug kernel drivers : I actually built some kernels which had custom HotPlug drivers which other developers use. The problem was that neither is perfect and could cause instabilities. I have a group of testers which tried these kernels and reported slight performance drops in games and overall UI functionality. Therefore I decided to leave them out from the public releases.

Changelog:
[04.02.2015] v1.1
* RAMDISK: Added missing service_contexts for themes and torch (better support CM Theme Engine)
* Improved Updater-Script

[04.02.2015] v1.0
*Initial stable release

Features List:

Sweep2Wake
This feature will allow you to turn the display on by swiping your fingers across the screen.

sysfs file: /sys/android_touch/sweep2wake
Possible values:
0 - disabled
1 - sweep right
2 - sweep left
4 - sweep up
8 - sweep down

Doubletap2Wake
This feature will allow you to turn the display on by double tapping on the screen.

sysfs file: /sys/android_touch/doubletap2wake
Possible values:
0 - disabled
1 - bottom of the screen
2 - full screen

Sweep2Wake & DoubleTap2Wake timeout
This feature allows you to automatically disable SW2W and DT2W after a certain timeout.
Default is 30 minutes;

sysfs file: /sys/android_touch/wake_timeout

Possible values: between 5 and 120 minutes.

USB Fast Charge
This feature will force charging at a higher rate when connected to a USB port. It will not disable data transfer.

sysfs file: /sys/kernel/fast_charge/force_fast_charge

Fsync ON/OFF support
This feature will let you to enable/disable Fsync.

Sysfs file: /sys/module/sync/parameters/fsync_enabled

Max screen-off frequency
This feature will allow you to cap the CPU frequency when the screen is off to save battery.

sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq

Vibration intensity control
This feature will allow you to set the vibration intensity.

Sysfs file: /sys/class/timed_output/vibrator/amp

Possible values: any value from 0 to 100

Faux Sound
You can tweak mic gain, speaker gain and other tunnables.

sysfs folder: /sys/kernel/sound_control_3
 
Last edited:

Stefano187

Senior Member
May 15, 2012
457
275
Frosinone
Hello @educk,
I am really happy you are active on hammerhead! I was a phenom kernel user on ariesve and seeing you here makes me really happy!
I can imagine that this kernel is a work of art, I'm eagerly waiting to try it out and I'll do it as soon as I come back home.
Thank you for your past works and best wishes for this new adventure with hammerhead.
Have a nice day
Regards
Stefano

Sent from my Nexus 5 equipped with
- mo976's CM 12
- Code_Blue kernel
 
  • Like
Reactions: educk

educk

Inactive Recognized Developer
Oct 28, 2012
1,327
6,936
Good job, hi, can it work with caf to ROMS?

Hi!
I have 2 new kernels in testing. One is for CAF based ROM's and the other one is AOSP with F2FS support. They will be publicly available once I'm satisfied with the testing results.

Hello @educk,
I am really happy you are active on hammerhead! I was a phenom kernel user on ariesve and seeing you here makes me really happy!
I can imagine that this kernel is a work of art, I'm eagerly waiting to try it out and I'll do it as soon as I come back home.
Thank you for your past works and best wishes for this new adventure with hammerhead.
Have a nice day
Regards
Stefano

Sent from my Nexus 5 equipped with
- mo976's CM 12
- Code_Blue kernel

Hi Stefano!
Thank you for support. I will do my best on Hammerhead too :)

Best Wishes!
 

JJsevol

Senior Member
Jan 8, 2012
417
168
big city
I get system ui crashes after flashing the kernel on SimplAOSP Theme Engine 3-04-15 build. Anything else I need to do before flashing the kernel?
 

educk

Inactive Recognized Developer
Oct 28, 2012
1,327
6,936
v1.1

Updated to v1.1.

Code:
[B][04.02.2015] v1.1[/B]
* RAMDISK: Added missing service_contexts for themes and torch (better support CM Theme Engine)
* Improved Updater-Script

This should fix problems on ROM's which use CM's theme engine.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 32
    rsz_1finallogo.png

    Hello everyone!
    I proudly present the Phenom Kernels for Hammerhead.
    This is based on Google Lollipop sources so it is suitable for all AOSP based ROM's (including stock).

    Features include:
    * Overclocking support
    * Screen off frequency customization
    * Wake gestures
    * Sweep2wake/DoubleTap2Wake
    * USB Fast Charge
    * Charge light support
    * Gamma Control
    * Vibration intensity Control
    * Kexec Hard-boot (for MultiROM support)
    * FauxSound support
    * Reduced minimum panel brightness
    * QCOM Adreno and other KGSL patches
    * EXT4 optimizations
    * F2FS support
    * 3G USB Modem Support
    * Fsync ON/OFF Support
    * memcpy and memmove optimizations
    * -O3 optimization level with selective flags (using -mcpu=cortex-a15 for MSM Krait target)
    * Linaro 4.9.3 Toolchain with Hard-Float support optimized for Cortex-A15
    * More Linux/CAF patches are under testing and waiting to be implemented

    DOWNLOAD LINK

    Sources:
    https://github.com/erik96/hammerhead/tree/phenom-msm-hammerhead-stable

    CREDITS:
    Christopher83 (Cristoforo Cataldo)
    flar2 (Aaron Segaert)
    Faux123 (Paul Reioux)
    showp1984 (Dennis Rassmann)
    myfluxi
    10
    v1.1

    Updated to v1.1.

    Code:
    [B][04.02.2015] v1.1[/B]
    * RAMDISK: Added missing service_contexts for themes and torch (better support CM Theme Engine)
    * Improved Updater-Script

    This should fix problems on ROM's which use CM's theme engine.
    9
    Changelog and Features list

    Phenom Kernel Control App

    Phenom Kernel has its own control app available for beta testing. Please note that this thread is meant for kernel discussions only. For app support, please refer to the Google+ Community

    Notice:
    I'm willing to accept feature requests. You can post these in the thread.

    Features which will not be implemented at this point:

    *Voltage Control : from my experience in testing various kernels for hammerhead, lowering the voltages for the CPU Frequencies has no visible effect on battery consumption. In fact, I've seen more complaints from users who got kernel panics and soft-reboots as a result from lowering the voltages. At this point, my goal is to focus on stability and therefore this feature won't be implemented, for now.

    *Custom HotPlug kernel drivers : I actually built some kernels which had custom HotPlug drivers which other developers use. The problem was that neither is perfect and could cause instabilities. I have a group of testers which tried these kernels and reported slight performance drops in games and overall UI functionality. Therefore I decided to leave them out from the public releases.

    Changelog:
    [04.02.2015] v1.1
    * RAMDISK: Added missing service_contexts for themes and torch (better support CM Theme Engine)
    * Improved Updater-Script

    [04.02.2015] v1.0
    *Initial stable release

    Features List:

    Sweep2Wake
    This feature will allow you to turn the display on by swiping your fingers across the screen.

    sysfs file: /sys/android_touch/sweep2wake
    Possible values:
    0 - disabled
    1 - sweep right
    2 - sweep left
    4 - sweep up
    8 - sweep down

    Doubletap2Wake
    This feature will allow you to turn the display on by double tapping on the screen.

    sysfs file: /sys/android_touch/doubletap2wake
    Possible values:
    0 - disabled
    1 - bottom of the screen
    2 - full screen

    Sweep2Wake & DoubleTap2Wake timeout
    This feature allows you to automatically disable SW2W and DT2W after a certain timeout.
    Default is 30 minutes;

    sysfs file: /sys/android_touch/wake_timeout

    Possible values: between 5 and 120 minutes.

    USB Fast Charge
    This feature will force charging at a higher rate when connected to a USB port. It will not disable data transfer.

    sysfs file: /sys/kernel/fast_charge/force_fast_charge

    Fsync ON/OFF support
    This feature will let you to enable/disable Fsync.

    Sysfs file: /sys/module/sync/parameters/fsync_enabled

    Max screen-off frequency
    This feature will allow you to cap the CPU frequency when the screen is off to save battery.

    sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq

    Vibration intensity control
    This feature will allow you to set the vibration intensity.

    Sysfs file: /sys/class/timed_output/vibrator/amp

    Possible values: any value from 0 to 100

    Faux Sound
    You can tweak mic gain, speaker gain and other tunnables.

    sysfs folder: /sys/kernel/sound_control_3
    6
    @educk , I know your kernel is amazing, I've tested it and it is very stable. However, can you add some cherry-picks and features from Electroactive kernel? I know that you mentioned that you do not want to add hotplug drivers, but the stock thermal driver overheats very easily and isn't that efficient. I had the same problems with Electroactive until the dev implemented his new thermal driver and I could play games for hours without my cpu temperature rising over 50 degrees C and the great part was no stuttering and very stable too! Here are some features I think you should use (all creds to @Electrex):
    -Thermal driver (MSM-Thermal-X): https://github.com/Electrex/Electroactive-N5/blob/Electroactive-2.00/drivers/thermal/msm_thermal.c
    -Electroactive CPU governor: https://github.com/Electrex/Electroactive-N5/blob/Electroactive-2.00/drivers/cpufreq/cpufreq_electroactive.c
    -MSM MP-Decision: https://github.com/Electrex/Electroactive-N5/blob/Electroactive-2.00/arch/arm/mach-msm/msm_mpdecision.c
    -Power aware cpu scheduling implementation: https://github.com/Electrex/Electroactive-N5/compare/6859af71...0b51c761

    Thanks again @educk!

    And btw why is the kernel app not showing in the play store?
    6
    @granets I do agree with you on one thing. It's a quality work indeed. @educk please make the thermal profile same as stock(or more relaxed) to eliminate constant throttling. Consider your fellow counterparts living in hot Indian subcontinent ;)

    Sent from my Nexus 5

    Next version will include by default the non aggressive thermal profile.

    Sent from my Nexus 5 using XDA Free mobile app