[hammerhead][2014/SEP/26] Yank555.lu kernel v1.5

[hammerhead][2014/SEP/26] Yank555.lu kernel v1.5

Postby yank555 » 12 Jul 2014, 14:55

Before proceding, please consider learning from Garfield :

Image
(Thanx to MuertoKo for this educational image)

I have spend numerous hours coding, merging ... and writing this OP, so please have the decency to at least read it before asking questions.


Disclaimer

FIRST OF ALL, do a Nandroid backup before flashing !


By flashing this kernel you agree to do this at your very own risk ! I will and can not be
held responsible for whatever may happen as a consequence of using this kernel / script generator.
This software is made available to you as is, no waranties can be given.

If you do not agree to these terms, then please use your browser's back key.

You have been warned !


ROM Compatibility

This kernel is based on stock Google hammerhead kernel sources, so it is intended only to be used on Stock or stock based ROMs.

The kernel has been tested on :
  • Stock Android 4.4.4
  • ... (you tell me ;))

What To Expect Using This Kernel

First of all, the main reason this kernel even exists is because I make it for my own personal use, I don't mind adding one or the other feature upon request by a user even if I don't use that feature personnally.

Main objectives for this kernel :

  1. be as stable as possible to be usable as a perfect daily kernel (conservative approach)

  2. give a good battery life while being snappy

  3. give users an easy and safe way to customize settings

  4. be and stay as close to stock as possible

  5. allow only for moderate CPU OC

  6. include some standard Linux features missing in stock kernel (e.g. kernel module support...)

  7. code interesting features myself (like fastcharge, touchwake etc.)

  8. include interesting commits by other devs (giving proper credit, of course !)

What NOT To Expect Using This Kernel

  • experimental modifications

  • cutting edge development

  • thrive to be the first, fastest, best, most advanced ... kernel ever !

    I just suspect there is a public for genuine slightly modified kernels that are a no fuzz to use, and which are aimed towards "standard power users" as opposed to "hungry beta testers and debuggers" (been there, done that, fun time in my HD2 times helping as I could on Dorimanx kernel). But I need my device on a daily bases, privately and for work, so my device just has to work.

Credits & Thanx

This is the most important bit of them all, a small place to pay tribute to all those who have helped me making this kernel :

  • Faux123

    Thanx for helping me get started, out of an almost 20 years break on Linux kernel compiling (at the time it was Linux 0.47 if I remember well), helping me build my compile box(es), upfront getting my first Android kernel compiled, making mods, merging sources, using github in general ... and always taking the time to explain and help out !

  • Amarullz

    And last but nowhere least, huge thanx to Amarullz for giving us such a great tool, without Aroma Installer flashing kernels / ROMs would still be stone-age kind of voodoo magic, now it has become a proper user experince, giving everybody an easy way to customize whatever is being flashed !

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

Kernel Cleanup Script, to be flashed when going to a different kernel :

Kernel configuration & log files removal (will be added at a later time)
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Changelog

Postby yank555 » 12 Jul 2014, 14:56

Changelog And Download Links

==============================================================
I ask one simple and single thing in return for you to use my work for free,

DO NOT POST MIRRORS OF MY KERNELS ANYWHERE !

You can post as many links to this thread as you want, but no uploading of
my work on file sharing servers or attaching them to posts on other
forums !


Only exception : Discussing my work or sharing Links to here on Android-Hilfe.de
is hereby expressly unwanted ! They have no respect for devs and I don't want
any contribution from me on their forum, neither directly nor indirectly !


Thanx.
==========================================================



==========================================================
Kernels for Lollipop - Android 5.1.x
==========================================================


Lastest alpha/beta kernels :

  • No beta kernels atm.

Changelog v1.5 (26/09/2015) (for use with SlimLP 5.1.1)

  • ramfs: using SlimLP 20150926 ramfs
  • updated kernel to M-preview-2 sources
  • updated config script to only run if Yank555.lu kernel detected


Changelog v1.4+ (13/08/2015) (for use with SlimLP 5.1.1)

  • ramfs: using SlimLP 20150813 ramfs
  • ramfs: start intelliplug & intellithermal right on boot (avoids reboots while app optimising some were facing)


Changelog v1.4 (12/08/2015) (for use with SlimLP 5.1.1)

  • ramfs: using SlimLP 20150811 ramfs
  • updated kernel to M-preview-1 sources
  • ramfs: removed private busybox (SlimLP brings its own, other ROMs should, too !)
  • default Aroma settings slightly changed (screen on CPU max. freq. reduced to stock)


Changelog v1.3 (15/05/2015) (for use with SlimLP 5.1.1)

  • ramfs: using Robbie's SlimLP 5.1 alpha0.1 (20150515-0528) ramfs


Changelog v1.3 (09/04/2015) (for use with AOSP 5.1.1)

  • updated kernel to 5.1 sources
  • ramfs: using AOSP 5.1_r3 ramfs (selfcompiled ROM)




==========================================================
Kernels for Lollipop - Android 5.0.x
==========================================================


Changelog v1.3 (13/03/2015)

  • updated intelli_plug in-kernel hotplug driver to v4.0 (faux123) --> reuires a ROM with powerHall support (my SlimLP has)


Changelog v1.2 (04/03/2015)

  • ramfs: using SlimLP 5.0.1 alpha0.7 (20141203-2326) ramfs
  • ramfs: added torch service to SELinux services
  • default Aroma settings slightly changed (higher but shorter touchboost, shorter wakeupkick and lower screen off max)
  • added intellimm governor (faux123)
  • added vibrator strength settings to Aroma menu on user request
  • updated CPU freq. HardLimit to v2.2 - touch detection completely rewritten, digitizer independent (Yank555.lu)


Changelog v1.1 (30/11/2014)

  • based on Google Hammerhead lollipop sources as of 2014-11-14 (Linux 3.4.0)
  • using stock LRX21O lollipop ramfs
  • changed kernel compression to XZ (make some space for more stuff)
  • kernel compilation optimized for size(make some space for more stuff)
  • ramfs: using SlimLP 5.0 alpha5 (20141128-2038) ramfs
  • unsecure boot image
  • SELinux mode (enforcing, permissive) user selectable in Aroma
  • added SuperSU by ChainFire support
  • added minimal busybox to ramfs to support kernel config script on boot
  • added /proc/config.gz support
  • added ntfs support (read/write)
  • added exfat support
  • added nfs support (v3 & v4)
  • added zen scheduler
  • added FIOPS scheduler
  • added tcp congestion control (westwood+ default)
  • added frontcache, zsmalloc
  • added zswap (through faux123)
  • added LZ4 compression (for zswap as well)
  • added powersuspend v1.5 (faux123, Yank555.lu)
  • added dynamic fsync v1.5 (faux123)
  • added asynchronous fsync by HTC (faux123)
  • added CPU OC up to 2.5GHz (faux123)
  • added forced fast charge for AC/USB (Yank555.lu)
  • added yankdemand governor (just a slightly differently configured ondemand towards saving battery)
  • added yankactive governor (just a slightly differently configured inteactive towards saving battery)
  • added intelli_plug in-kernel hotplug driver v3.8 (faux123)
  • added intelli_thermal v2 in-kernel thermal engine (faux123)
  • added faux sound v3.6 (to control sound, you need to buy the 'faux sound' app from PlayStore)
  • added CPU freq. HardLimit to v2.1 introducing 2 level touchboost to the Nexus 5 (Yank555.lu)
  • added Cpufreq: create/remove percpu sysfs nodes once (Puneet Saxena via faux123)
  • added simple GPU governor (faux123)
  • added binfmt_elf.c: use get_random_int() to fix entropy depleting (Jeff Liu)
  • added IntelliPlug and IntelliThermal support in Aroma script generator
  • added display gamma control (mufluxi, faux123)
  • added LCD_KAL : Color Control driver (savoca, faux123)
  • updated i2c - saves battery (Sana Venkat Raju, Ke Liu, Gilad Avidov, Dilip Kota though faux123)
  • fixed charging LEDs (rmcc, sam3000)


==========================================================
Kernels for Kitkat - Android 4.4.*
==========================================================


Lastest alpha/beta kernels :

  • v1.1-beta1 is available here.

Changelog v1.0 (02/09/2014)

  • based on Google Hammerhead Kitkat MR2 sources as of 2014-07-12 (Linux 3.4.0)
  • using stock KTU84P 4.4.4 ramfs
  • changed kernel compression to XZ (make some space for more stuff)
  • kernel compilation optimized for size(make some space for more stuff)
  • added minimal busybox to ramfs to support kernel config script on boot
  • added /proc/config.gz support
  • added ntfs support (read/write)
  • added exfat support
  • added nfs support (v3 & v4)
  • added zen scheduler
  • added FIOPS scheduler
  • added tcp congestion control (westwood+ default)
  • added frontcache, zsmalloc
  • added zswap (through faux123)
  • added LZ4 compression (for zswap as well)
  • added powersuspend v1.5 (faux123, Yank555.lu)
  • added dynamic fsync v1.5 (faux123)
  • added asynchronous fsync by HTC (faux123)
  • added CPU OC up to 2.5GHz (faux123)
  • added forced fast charge for AC/USB (Yank555.lu)
  • added yankdemand governor (just a slightly differently configured ondemand towards saving battery)
  • added yankactive governor (just a slightly differently configured inteactive towards saving battery)
  • added intelli_plug in-kernel hotplug driver v3.8 (faux123)
  • added intelli_thermal in-kernel thermal engine (faux123)
  • added faux sound v3.5 (to control sound, you need to buy the 'faux sound' app from PlayStore)
  • added CPU freq. HardLimit to v2.1 introducing 2 level touchboost to the Nexus 5 (Yank555.lu)
  • added Cpufreq: create/remove percpu sysfs nodes once (Puneet Saxena via faux123)
  • added simple GPU governor (faux123)
  • added binfmt_elf.c: use get_random_int() to fix entropy depleting (Jeff Liu)
  • added IntelliPlug and IntelliThermal support in Aroma script generator


----------------------------------------------------------------------------------------------------------
Important : Should I have given wrong credit, please PM me, I'll update asap.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Postby yank555 » 12 Jul 2014, 14:56

Reserved
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Postby yank555 » 12 Jul 2014, 14:56

One more reserved.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Postby yank555 » 12 Jul 2014, 14:56

And another one more.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: [hammerhead][2014/JUL/12] Yank555.lu kernel v1.0-alpha1

Postby yank555 » 12 Jul 2014, 16:32

Alpha Kernel Update

OK, this is how far I got in a few hours I had to spare for starting my hammerhead kernel... not everything in Aroma Menu is working, as some stuff in not yet in the kernel, only what is mentioned in the Changelog below is really in the kernel and should be working.

Also, I'm on Phily latest recovery, and Aroma behaved sluggishly, first time I saw Aroma on my Nexus 5 ... is this something known ?? Any feedback on this is very welcome. NB: The kernel flashed fine and the config got generated correctly, so this is a visual glitch only.

NB: Since no downloads for alpha 1, I'll reuse this post for alpha2, changelog for alpha2 is highlighted in red.

Changelog v1.0-alpha2 (13/07/2014)

  • based on Google Hammerhead Kitkat MR2 sources as of 2014-07-12 (Linux 3.4.0)
  • using stock KTU84P 4.4.4 ramfs
  • changed kernel compression to XZ (make some space for more stuff)
  • kernel compilation optimized for size(make some space for more stuff)
  • added minimal busybox to ramfs to support kernel config script on boot
  • added /proc/config.gz support
  • added ntfs support (read/write)
  • added exfat support
  • added nfs support (v3 & v4)
  • added zen scheduler
  • added FIOPS scheduler
  • added tcp congestion control (westwood+ default)
  • added frontcache, zsmalloc
  • added zswap (through faux123)
  • added LZ4 compression (for zswap as well)
  • added powersuspend v1.5 (faux123, Yank555.lu)
  • added dynamic fsync v1.5 (faux123)
  • added asynchronous fsync by HTC (faux123)
  • added binfmt_elf.c: use get_random_int() to fix entropy depleting (Jeff Liu)
  • added yankdemand governor (just a slightly differently configured ondemand towards saving battery)
  • added yankactive governor (just a slightly differently configured inteactive towards saving battery)
  • added intelli_thermal in-kernel thermal engine (faux123)
  • added intelli_plug in-kernel hotplug driver v3.7 (faux123)
  • added faux sound support (to control sound, you need to buy the 'faux sound' app from PlayStore)
  • added Cpufreq: create/remove percpu sysfs nodes once (Puneet Saxena via faux123)
  • added simple GPU governor (faux123)
  • added CPU OC up to 2.5GHz (faux123)

Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: [hammerhead][2014/JUL/12] Yank555.lu kernel v1.0-alpha1

Postby mikkysati » 13 Jul 2014, 17:16

I don't have nexus but glad to see you are developing kernel for it. Can you post screenshots of battery life
mikkysati
 
Posts: 17
Joined: 26 Dec 2013, 16:52
Has thanked: 7 times
Been thanked: 2 times

Re: [hammerhead][2014/JUL/12] Yank555.lu kernel v1.0-alpha1

Postby yank555 » 13 Jul 2014, 18:19

mikkysati wrote:I don't have nexus but glad to see you are developing kernel for it. Can you post screenshots of battery life


Currently not really, I've not gone through a "clean" cycle, always booting flashing nandroiding ;)

But will once I've gone throught a "normal" day.

JP.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: [hammerhead][2014/JUL/12] Yank555.lu kernel v1.0-alpha1

Postby yank555 » 15 Jul 2014, 11:12

From what I saw yesterday, I suspect I can do 4-5h SOT over a day of 14-16h on battery, with BT / WiFi / mobile data / sync on, nothing greenified running at 2.5GHz.

JP.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: [hammerhead][2014/JUL/13] Yank555.lu kernel v1.0-alpha2

Postby safoda » 24 Jul 2014, 21:18

Waiting for my nexus5 ... Then ... yank kernel on ...
safoda
 
Posts: 6
Joined: 21 Mar 2013, 22:36
Has thanked: 3 times
Been thanked: 0 time

Next

Return to Kernels

Who is online

Users browsing this forum: No registered users and 1 guest

cron