[hlte][2014/DEC/07][CM11/12] Yank555.lu kernel v1.1c-beta6

[hlte][2014/DEC/07][CM11/12] Yank555.lu kernel v1.1c-beta6

Postby yank555 » 19 Jan 2014, 20:08

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.

Installing this kernel will trip the Knoxx efuse, which will have been tripped already since you need
a custom recovery to flash this kernel.

Seeing this on boot will be normal once you use a custom kernel :
Image
You have been warned !


ROM Compatibility

This kernel is based on CM11 kernel sources, so it is intended only to be used on CM11 based ROMs.

The kernel has been tested on :
  • CM11 nightly 20140118
  • ... (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 Samsung 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. include interesting commits by other devs (giving proper credit, of course !)

  8. updated to kernel.org Linux (ok scratch that, 3.4.y is just too much trouble, not worth the effort)

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 !

  • Corrsea

    Huge thanx for thorough testing and usefull advice, since my first steps on Android, at the time we were both running Tytung's Nexus HD2 on our initially WinMo device, chasing any possible bugs there were to iron out.

  • Sotmax

    Huge thanx for making a perfectly stable 240dpi Samsung based ROM, that has become my a daily driver !

  • MuertoKo

    Thanx for pushing me here and there to go further with my kernels, and for testing them on your daily and reporting back.

  • uberto.costanzo & F3nr1s

    Thanx for your support, for testing the kernel and reporting back.

  • 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)
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Changelog

Postby yank555 » 19 Jan 2014, 20:08

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.
=======================================================


******************************************************************************
For now you should always boot you ROM once before flashing this kernel !

These kernels are only for the new CM unified builds (hlte), so will work on
the old as well as the new bootloader.
******************************************************************************


=======================================================
Kernels below are intended for CM12 (Android 5.x)
=======================================================


Lastest beta kernels :

  • CM12-full hlte v1.1c-beta6 (07/12/2014) can be found here.
  • CM12-full hlte v1.1c-beta4 (06/12/2014) can be found here.
  • CM12-full hlte v1.1c-beta3 (04/12/2014) can be found here.
  • CM12-full hlte v1.1c-beta2 (03/12/2014) can be found here.
  • CM12-full hlte v1.1c-beta1 (01/12/2014) can be found here.

Changelog CM12-full hlte v1.1b (29/11/2014)

  • Kernel based on CM11-full hlte v1.1b (see changelog below)
  • ramfs replaced by Temasek's CM12 Preview 4.4 (plus a small fstab fix by arter97)
  • updated to full CM source as of 20141125
  • removed f2fs support




=======================================================
Kernels below are intended for CM11 (Android 4.4.x)
=======================================================


Lastest beta kernels :

  • CM11-full hlte v1.1c-beta4 (07/12/2014) can be found here.

Changelog CM11-full hlte v1.1b (17/11/2014)

  • revisited private busybox for kernel config script (internal change only)


Changelog CM11-full hlte v1.1a (11/11/2014)

  • updated to full CM source as of 20141111
    includes backport of bluesleep, msm_serial_hs drivers from android-msm-sprat-3.10-kitkat-wear to 3.4.y by arter97 (Thanx !!)


Changelog CM11-full hlte v1.1 (08/11/2014)

  • added f2fs support (for /data and /cache) - Thanx to Arter97 and Temasek !
  • updated to full CM source as of 20141029


Changelog CM11-full hlte v1.0j (14/10/2014)

  • reverted Temasek's temporary Youtube long pause fix
  • added msm: vidc: Don't free OCMEM when there is an open video instance (better, still not definitive, Youtube long pause fix, sultanxda)
  • updated to full CM source as of 20141012


Changelog CM11-full hlte v1.0i (10/10/2014)

  • reverted new fix for sensorhub wake issues (slayher) - generates an ssp wakelock (this will break temp and pressure !)
  • merged Samsung Update 8 back
  • merged Samsung Update 9 (arter97)
  • updated to full CM source as of 20141007


Changelog CM11-full hlte v1.0h (05/10/2014)

  • updated bluetooth drivers (slayher)


Changelog CM11-full hlte v1.0g (02/10/2014)

  • reverted Samsung Update 8 (should fix memory shortage issue killing off apps and eventually reboot over longer uptime, Temasek)
  • compiled using Google prebuilt Toolchain v4.8


Changelog CM11-full hlte v1.0f (28/09/2014)

  • updated to full CM source as of 20140922
  • updated to kernel.org Linux 3.4.104


Changelog CM11-full hlte v1.0e++ (23/09/2014)

  • Kernel based on CAF W03 Slim Kernel (see changelog below), which is in fact an updated CM11 kernel with Slim ramfs
  • Version numbering will be kept in line with the Slim kernel
  • ramfs (obviously) replaced by CM11 20140923 nightly
  • updated vibrator sysfs path for compatibility with CM11 settings (intervigilium)
  • reverted in-kernel flipcover on/off support (Yank555.lu)
  • replaced by CM11 ROM-side flipcover on/off support


Deprecated beta kernels :

  • v1.1-beta15 is available here.
  • v1.1-beta13 is available here.
  • v1.1-beta12 is available here.
  • v1.1-beta10 is available here.
  • v1.0b-beta15 / v1.1-beta7 is available here.
  • v1.0b-beta8 is available here.
  • v1.0b-beta7 is available here.
  • v1.0b-beta6+ is available here.
  • v1.0b-beta6 is available here.
  • v1.0b-beta5 is available here.
  • v1.0b-beta2 is available here.

Changelog CM11-20140409-hlte v1.0a (16/05/2014)

  • updated flipcover on/off support - handle multiple fast open/close correctly (Yank555.lu)
  • updated powersuspend to v1.4 - add kernel-hybrid mode, autosleep and display panel, first wins (Yank555.lu)
  • updated CPU freq. HardLimit to v1.6 : fixed problem with scaling_min/max getting stuck / major code review (Yank555.lu)
  • updated CPU freq. HardLimit to v1.7 : make touchboost and taking CPUs online respect hardlimit frequencies (Yank555.lu)
  • updated MDNIE control interface to 1.0b : change default filerights for sysfs interface (WhatHub/Yank555.lu)
  • updated drivers/tty/n_tty.c: fix CVE-2014-0196 (Peter Hurley)
  • fixed a memory leak in gpu driver (through civato)
  • updated to kernel.org Linux 3.4.90


Changelog CM11-20140409-hlte v1.0 (04/05/2014)

  • based on CM11 sources 20140409 (Linux 3.4.0)
  • built using Google Android prebuilt 4.7 toolchain
  • using Temasek v75 (CM11 nightly 20140501) ramfs
  • restored CPU voltages as in JB kernel (Yank555.lu)
  • added /proc/config.gz support
  • added /proc/last_kmsg support (imoseyon)
  • added exfat support
  • added ntfs support (read/write)
  • added nfs support (v3 & v4)
  • added cifs support
  • added Zen scheduler
  • added FIOPS scheduler
  • added powersuspend v1.3 (faux123 / Yank555.lu)
  • added LED eXtended ConTRoLs v1.1 (Yank555.lu)
  • added Yank555.lu LED boot signature (Yank555.lu)
  • added dynamic fsync v1.5 (faux123)
  • added asynchronous fsync by HTC (faux123)
  • added TouchWake v1.4a (Yank555.lu)
  • added Forced Fast Charge for AC/USB v1.1 (Yank555.lu)
  • added Cpufreq: create/remove percpu sysfs nodes once
  • added nohz: stat: Fix CPU idle time accounting
  • added cpufreq: resolce CPUFREQ_NOTIFY issue
  • added CPU OC up to 2.50GHz
  • added CPU freq. HardLimit v1.4a (Yank555.lu)
  • added frontcache, zsmalloc, zswap
  • added Yankactive governor, a slightly modified interactive based governor, set as default in Aroma (Yank555.lu)
  • added faux sound support (to control sound, you need to buy the 'faux sound' app from PlayStore)
  • added MDNIE control interface 1.0a (WhatHub/Yank555.lu)
  • added a lot of under the hood enhancements (cherrypicked like 100 commits from faux123's n900x kernel)
  • added flipcover on/off support (arter97, through Temasek)
  • updated flipcover on/off support - cope with multiple events at the same time (Yank555.lu)
  • updated to kernel.org Linux 3.4.88
  • updated ramfs to set SELinux to permissive
  • updated binfmt_elf.c: use get_random_int() to fix entropy depleting (Jeff Liu)
  • updated compiler optimization flags
  • updated CPU freq. HardLimit to v1.5 : add user configurable touchboost frequencies (Yank555.lu)
  • updated cpufreq_limit to 2.5GHz OC (Yank555.lu)
  • updated TouchWake to v1.4b - don't use proxy when suspending to decide whether to enable touchwake & small fixes (Yank555.lu)
  • changed default entropy settings (512/2048)
  • changed default scheduler to FIOPS
  • changed default tcp congestion control to westwood
  • changed default kernel governor for now to Interactive (= governor the kernel will do the boot process on)
  • removed ondemand governor (not working, so no use keeping in, for now)
  • enabled kernel modules
  • ramfs: fix USB-OTG disk mounting (Park Ju Hyung / arter97)


******************************************************************************
These kernels below are only for the old JB bootloader for now, do not use
it on new KK bootloader, nor on CM unified builds (hlte), it's only
compatible with htlexx !!!!
******************************************************************************


Changelog v0.9

  • updated CPU Hardlimit to v1.4 enforcing scaling min and max will never overlap (Yank555.lu)
  • updated ramfs to Temasek V41 (fix temp and humidity)
  • updated to kernel.org Linux 3.4.78


Changelog v0.8

  • updated TouchWake to v1.4 - better finger digitizer handling
  • update to kernel.org Linux 3.4.77


Changelog v0.8-beta4

  • updated ramfs to CM11 Nighlty 20140124
  • updated CPU Hardlimit to v1.3 introducing CPU wakeup kick CPU min frequency and delay (Yank555.lu)


Changelog v0.8-beta3+

  • updated default setting for init.d in Aroma (forgot to change this, CM11 is different from Samsung)


Changelog v0.8-beta3

  • added governor to Aroma settings
  • updated TouchWake to v1.3 - fixed for CM11
  • updated CPU OC up to 2.5GHz - fixed for CM11
  • updated assert checks in updater script (now hlte, hltetmo, hltecan, hltevzw and hltexx are allowed)


Changelog v0.8-beta2

  • changed default governor to ONDEMAND (whyever CM didn't stick to that ?!)
  • changed default scheduler to FIOPS
  • updated CM balanced profile (use ondemand governor instead of interactive)
  • updated assert checks in updater script (now hlte, hltetmo, hltecam and fancy hltexx are allowed)
  • replace /system/etc/init.qcom.post_boot.sh to stop interfering with kernel config


    ToucheWake is not working for now, will have to look into that...


Changelog v0.8-beta1

  • based on CM11 sources as of 2014-01-19 (Linux 3.4.0)
  • using CM11 Nighlty 20140118 ramdisk
  • updated ramfs : set SELinux to permissive
  • updated ramfs : add minimal busybox to support kernel config script on boot
  • /proc/config.gz support
  • changed kernel compression to XZ (else boot image would have been to big to fit in the partition)
  • added zen scheduler
  • added FIOPS scheduler
  • added exfat support
  • added ntfs support (read/write)
  • added nfs support (v3 & v4)
  • added cifs support
  • added westwood tcp congestion control (default now)
  • added forced fast charge for AC/USB (Yank555.lu)
  • added powersuspend v1.0 (earlysuspend replacement by faux123)
  • updated powersuspend to v1.1 : remove userspace initiator need (Yank555.lu)
  • updated powersuspend to v1.2 : make kernel / userspace mode switchable (Yank555.lu)
  • added dynamic fsync v1.5 (faux123)
  • added asynchronous fsync by HTC (faux123)
  • added CPU OC up to 2.5GHz (faux123)
  • added CPU freq. max hardlimit enforcing (Yank555.lu)
  • updated CPU freq. max hardlimit enforcing to v1.1 (Yank555.lu)
  • added LED eXtended ConTRoLs v1.0 (Yank555.lu)
  • updated LED eXtended ConTRoLs v1.1 - supporting Samsung patterns as well now (Yank555.lu)
  • added a distinctive Yank555.lu LED flashing color during boot (replacing Samsung's blue)
  • added experimental MDNIE controls (WhatHub)
  • extended experimental MDNIE controls (Yank555.lu)
  • added Yank MDNIE profile in Aroma
  • added Sakaschi MDNIE profile in Aroma
  • added TouchWake v1.0 (Yank555.lu)
  • updated TouchWake to v1.1 - added proxy detection (Yank555.lu)
  • updated TouchWake to v1.2 - wakelock use sysfs-switchable
  • added faux sound support (to control sound, you need to buy the 'faux sound' app from PlayStore)
  • added Input: Send events one packet at a time (rydberg via faux123)
  • added LZ4 compression
  • added frontcache, zsmalloc, zswap
  • added proper support for cifs (tomkasick through AndiP)
  • added Cpufreq: create/remove percpu sysfs nodes once (Puneet Saxena via faux123)
  • added nohz: stat: Fix CPU idle time accounting (Bo Yan via faux123)
  • added timekeeping: Fix time moving backwards (Ajay Nandakumar via faux123)
  • added Whathub's new MDNIE control interface (keeping the current interface as well)
  • added zswap optimization for faster zswap (through faux123)
  • added crypto lib optimization for faster encryption engine (through faux123)
  • added futex optimization for fast userspace locks/mutex (Davidlohr Bueso through faux123)
  • added disable Wacom pen digitizer when S-Pen is inserted (idea CM11)
  • updated LoUIS API for cache maintenance ops (Lorenzo Pieralisi via faux123)
  • updated CPU freq. max hardlimit enforcing to v1.2 introducing CPU screen off max frequency (Yank555.lu)
  • updated ext4 (3 fixes, through faux123)
  • updated 'update-binary' to enable flashing the kernel using Philz recovery
  • enabled kernel module support
  • updated zswap to use LZ4 compression instead of LZO
  • updated to latest mdnie changes (Whatshub)
  • updated to mdnie to use black crush as a delta and apply implicitely (Yank555.lu)
  • updated compiler flags (optimize code for Cortex A15, use -O3)
  • updated cpu-boost driver to make it compatible with CPU freq. max hardlimit enforcing (Yank555.lu)
  • enabled ram console "/proc/last_kmsg" (credits to imoseyon)
  • increased default entropy settings (64/128 -> 512/2048)
  • applied the tiny update 4 sourcedrop fix


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

Re: [n9005][2014/JAN/19][AOSP ROMs] Yank555.lu kernel v0.8

Postby yank555 » 19 Jan 2014, 20:09

Reserved 1
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: [n9005][2014/JAN/19][AOSP ROMs] Yank555.lu kernel v0.8

Postby yank555 » 19 Jan 2014, 20:09

This is my battery life on 0.91-beta2 running CM11 nightly 20140127, with everything active, WiFi, BT, Sync, Autobrightness and about 250 Apps installed (no blacked out apps yet). I do use Greenify.

JP.
Attachments
Screenshot_2014-02-09-13-15-51.png
Screenshot_2014-02-09-13-15-51.png (845.78 KiB) Viewed 40383 times
Screenshot_2014-02-09-13-15-57.png
Screenshot_2014-02-09-13-15-57.png (770.03 KiB) Viewed 40383 times
Screenshot_2014-02-09-13-16-10.png
Screenshot_2014-02-09-13-16-10.png (788.97 KiB) Viewed 40383 times
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: [n9005][2014/JAN/19][AOSP ROMs] Yank555.lu kernel v0.8

Postby jaythenut » 19 Jan 2014, 20:39

yank just installed sooooo many opinions in aroma very nice thanks bud
Image
jaythenut
 
Posts: 15
Joined: 16 Dec 2013, 20:11
Has thanked: 9 times
Been thanked: 3 times

Re: [n9005][2014/JAN/19][AOSP ROMs] Yank555.lu kernel v0.8

Postby jaythenut » 19 Jan 2014, 20:57

is it ok to put link on other cn threads on xda
Image
jaythenut
 
Posts: 15
Joined: 16 Dec 2013, 20:11
Has thanked: 9 times
Been thanked: 3 times

Re: [n9005][2014/JAN/19][AOSP ROMs] Yank555.lu kernel v0.8

Postby yank555 » 19 Jan 2014, 21:03

jaythenut wrote:is it ok to put link on other cn threads on xda


Sure, point them to this link :

Code: Select all
http://yank555-lu.net/viewtopic.php?p=6981#p6981


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: [n9005][2014/JAN/19][AOSP ROMs] Yank555.lu kernel v0.8

Postby Ry2mkk » 19 Jan 2014, 21:18

Thank you for sharing this via XDA forums ;)

Just about to flash the new Nightly from CM and came across the thread on XDA then read your post and decided to give it a go ! Like yourself I enjoy my phone being able to work nicely whilst having the snappy side of speed with the safer "My device has to work" approach ! There is nothing worse than having the best new experimental features to cause a crash right at the moment you catch your kids doing something camera worthy :D :D :lol:

Thanks again, time to get my fix n flash away
Ry2mkk
 
Posts: 3
Joined: 19 Jan 2014, 21:09
Has thanked: 2 times
Been thanked: 1 time

Re: [n9005][2014/JAN/19][AOSP ROMs] Yank555.lu kernel v0.8

Postby kaysun » 19 Jan 2014, 21:33

Your efforts are very much appreciated Yank!!

Quick question...I've been using setCPU along with TricksterMod with Tema's kernel. Do I still have to use them along with this kernel? I am thinking its a bit redundant since your kernel has the options being used by the said apps.. Thanks again
kaysun
 
Posts: 1
Joined: 19 Jan 2014, 21:01
Has thanked: 4 times
Been thanked: 0 time

Re: [n9005][2014/JAN/19][AOSP ROMs] Yank555.lu kernel v0.8

Postby yank555 » 19 Jan 2014, 21:38

I saw the governor seems to be interactive by default, might add Governor list in Aroma, then I suppose you'd not need them anymore.

All still a bit fresh, still setting up my Phone, made the kernel first :D

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

Next

Return to Kernels

Who is online

Users browsing this forum: No registered users and 2 guests

cron