Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,687 Members 40,973 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] Fancy Kernel r57 [Android JB+KK] [F2FS/EXT4] [Linux 3.0.101+] [SEP-16-2014]

Tip us?
 
boype
Old
(Last edited by boype; 16th September 2014 at 10:54 PM.)
#1  
boype's Avatar
Recognized Contributor - OP
Thanks Meter 8,635
Posts: 973
Join Date: Apr 2012
Location: Düsseldorf

 
DONATE TO ME
Arrow [KERNEL] Fancy Kernel r57 [Android JB+KK] [F2FS/EXT4] [Linux 3.0.101+] [SEP-16-2014]



Hi and welcome to fancy kernel. My name is Boy Petersen and I'm building this kernel with the following three main goals: good battery life, reliability and a smooth and snappy user experience.



Feature list:

 
  • Based upon:
    • latest AOSP/CM11 kernel source
    • selected Cyanogenmod patches
    • Latest Linux 3.0 version (3.0.101)
    • selected patches from the device's chipset vendor Texas Instruments
    • selected patches from Google
    • selected backport-patches from Linux 3.4
  • CPU:
    • CPU frequencies: 224, 384, 537, 729, 1036, 1228, 1344, 1420, 1536 MHz (default on boot: 224 - 1228)
    • control to set a minimum CPU frequency for screen-on (default: 384 MHz)
      • Will help with smoothness and responsiveness when you use the phone. When screen is off, however, 224 MHz frequency is used as well.
    • CPU governors: ondemandplus (more info), interactive (default), ondemand, powersave, performance
      • ondemandplus is an ondemand- and interactive-based governor that has additional power-saving capabilities while maintaining very snappy performance.
    • ARM CPU topology: multi-core scheduling (enabled by default; saves battery by scheduling load among the CPU cores; more info)
    • temperature control
  • GPU & Display:
    • GPU frequency control: 307, 384 (default), 512 MHz
    • color, contrast and gamma contols
    • sane and natural looking color settings
  • I/O & memory:
    • F2FS support
    • ASRAM memory reclaim, giving you 744mb available RAM with a fully functional device
    • I/O schedulers: SIOplus (default), deadline, noop, row, bfqv5, cfq
    • updated HSMMC & OMAP4 NAND drivers (improve disk performance)
    • tuned LPDDR RAM timings (+10% throughput; more info)
    • optimized ext4 mountings
    • Android 3.4 low memory killer
    • ultra kernel samepage merging (UKSM; enabled by default)
    • fsync toggle
    • zRAM from 3.7 kernel (with fast LZ4 compression)
    • improved memory handling routines (memset, memzero, ...)
    • switch to disable the MMC CRC checking (more info)
  • Misc:
    • custom voltage control
    • fast charge
    • vibration strength control
    • sound control (high performance sound, volume boost)
    • battery life extender (BLX)
    • various performance and battery life tweaks
    • init.d support (no matter if the ROM supports it or not)
    • elevated systemui priority
    • module support (for slide2wake / PGM, e.g.)
  • more things... go check the source if you're interested.
  • compiled with Google GCC 4.7 toolchain (from Android NDK r9)
  • optional anykernel2 package by osm0sis for Android 4.3 and 4.2 compatibilty


Download links:

 

Major release for Android 4.2/4.3/4.4 (latest version: r57)
  • IMPORTANT: Please read this post to find out which of the two files (fixed RAMdisk or anykernel2) you need!

  • md5sum: 92903eb15e1ab349d3f76a1f5b3c20a7

  • md5sum: 16ca61a60eb55198797a6f15af4cb65a
_______________


Pre-release (test) for Android 4.2, 4.3 and 4.4 (latest version: --)

IMPORTANT: Please read this post to find out which of the two files (fixed RAMdisk or anykernel2) you need!
  • Focus: --
_______________


Older versions_______________



Notes:
  • Compatible to:
    • all Galaxy Nexus devices (maguro, toro, toroplus)
    • all Android 4.2, 4.3, 4.4 based ROMs
    • both EXT4 and F2FS filesystems
  • Installation:
    • Flash the provided zip file with TWRP or CWM. If you're in doubt which file (fixed RAMdisk or anykernel2) is the right one for you, read this post
  • Having problems? Please give informative feedback, so that I or other users can understand what exactly is wrong and under which circumstances.

Changelog:

 

r56 >> r57
  • sioplus iosched: tweaks based on extensive testing by pkgnex (awesome subjective feeling, good benchmark results. Thanks a bunch!)
  • tuna: bluetooth: deassert BT_REG and BT_NRST during boot (cm11 upstream; fixes a bug where the bt chip was always powered on and therefore saves power)
  • tuna: cache: enable speculative line fills (should improve memory throughput in some scenarios)
  • timer slack: 50ms
  • 24576 min_free_kbytes
  • mm: vmscan: If kswapd has been running too long, allow it to sleep
  • net/l2tp: don't fall back on UDP [get|set]sockopt (cm11 upstream)
  • disable example rpmsg client/server spam in demsg (cm11 upstream)
  • fixed a few potential SELinux bugs
  • some cleaning and minor stuff

Click for full change log


Knowledge-base:

 
  • Most settings can be controlled with kernel settings apps. Trickster MOD fully supports fancy kernel. With it you can control:
    • CPU min frequency
    • CPU max frequency
    • CPU max screen-off frequency
    • CPU min screen-on frequency
    • GPU frequency
    • CPU governor
    • CPU governor tunables
    • I/O scheduler
    • read-ahead buffer
    • TCP congestion algorithm
    • CPU multi-core scheduling
    • fast charge
    • sound control
    • battery life extender
    • fsync
    • vibration strength
    • custom voltage
    • temperature control
    • color, contrast, gamma, content-adaptive brightness
    • zRAM


Chit-chat:

 
  • What ROM / computer OS am I running?
    • People ask me this sometimes. On my Galaxy Nexus, I'm running Cyanogenmod 11 Nightlies and obviously Fancy Kernel. On my home PC (my Android build environment), I'm running Ubuntu 13.10.
  • Why did I name it 'fancy kernel'?
    • Because I do not want to use some random fancy name, but somehow have to give the kernel a name that is easily remembered. So after some self-irony involvement, I picked this ****ty name :>
  • What is so special about this kernel?
    • It offers superb battery life with a smooth and stable user experience. I am aware that all kernels claim that. Just try, see for yourself and report back. Innovations of this kernel are e.g. the screen-on min frequency setting, the ondemandplus governor and the SIOplus scheduler, since I implemented them myself. Also, I wanted many other improvements that exist across the several great kernels around XDA. After all, this kernel is based on other people's work for like 95 percent (like most kernels are).
  • Why did I build this Kernel initially?
    • Well that's rather easily answered. I used to use Franco kernel (which I really liked), but I wanted a kernel for myself which fits exactly to my needs. In particular, I especially wanted working hotplug, GPU OC controls, the option to set a minimum screen-on frequency and several hardcoded settings.
      Oh, and yes: I built the kernel because I had fun doing so. But be not mistaken that I am a 'playaround kid': I dislike pulling in every little mod someone made. What I want is stability.
      After some time I realized hotplugging would not be stable. After that I wrote the ondemandplus governor to save battery.
  • Why did I release it if I built it for myself?
    • I did not plan to release it at first. But I decided to release it since there was this one new feature (as named before: the screen-on min frequency control). I thought 'maybe it can contribute to others as well.' Also, maybe people like my compilation. Sharing is caring :>
  • Announcement:
    • The thread now has more than 1.000.000 hits! This is awesome, thank you for your interest!


Credits for code: Cyanogenmod, Google, kernel.org, Texas Instruments
bsmitty83, edoko, Ezekeel, faux123, franciscofranco, gokhanmoral, gwindlord, Huexxx, imoseyon, mpokwsths, osm0sis & Franco Dev Team, TeamHorizon


Credits for the Fancy Updater app: Parthipan Ramesh

Credits for the logo/artwork: DaNi_!


Source (including defconfig and RAMDISK): https://github.com/boype/kernel_tuna_kk44


A shout-out to the donators who help me pay the file hosting and buy me beer: 1haumann1, aaamador, agritux (2x), akaria, Bastian L., bigknowz, Blackcrx, creeve4, Fabio A., Ferhat Uğur C., James F., jsage, kuyam, Lancez, mpokwsths, n2rjt, nailz420 (2x), okanb3, omid900, rcozzi, Taomyn, teleplasma


Do you like my work? Hit 'thanks' and/or rate this thread with 5 stars.
Has my work improved your user experience? Consider a small donation.


Please do not PM me with questions, post in the thread instead.


Please be aware that I'm getting a lot of PMs. Therefore, I probably won't answer yours if I simply have no answer for your concern or if I don't agree with your suggestion.
The Following 558 Users Say Thank You to boype For This Useful Post: [ Click to Expand ]
 
-Jesco-
Old
#2  
-Jesco-'s Avatar
Recognized Contributor
Thanks Meter 2,774
Posts: 2,673
Join Date: Jun 2012
downloading now , will share results in a few charges !


My Devices
 

ΩLG G2Ω
 
LG G2 D802
Recovery:
TWRP 2.6.3.4 D802
ROM: AOSPAL
Kernel: Stock AOSPAL SaberMod 4.9.1


║Flo║
 


Recovery:
TWRP 2.7.0.0 Flo
ROM: AOSPAL//PAC Nightlies
Kernel: Franco


// #TeamPAC // #TeamAOSPAL
I do NOT answer technical questions via PM. Post your question in the correct thread if you want a response.
"Thanks button is just to avoid "THANKS" posts in threads. Nothing more than that. Don't ask in signature or post for it and defeat the purpose why it was introduced"
The Following 6 Users Say Thank You to -Jesco- For This Useful Post: [ Click to Expand ]
 
GeekMcLeod
Old
#3  
GeekMcLeod's Avatar
Senior Member
Thanks Meter 624
Posts: 1,005
Join Date: Apr 2012
Location: Airdrie

 
DONATE TO ME
I usually stick with a couple certain kernels, because every time I try one outside of my 'safe' kernels, they don't play nice with my device.

I've decided to give this kernel a chance, mainly because it's new and I have the day off to test it out.
Didn't like the short and/or 'bad' answer given? Check me out.

>>>>>ParanoidAndroid<<<<<
Forum
Changelog
Gapps


Devices: Nexus 5 -- Nexus 7 (2012)
Rom: ParanoidAndroid for ALL the devices!
Kernel: franco.Kernel
The Following 2 Users Say Thank You to GeekMcLeod For This Useful Post: [ Click to Expand ]
 
dratif
Old
#4  
dratif's Avatar
Senior Member
Thanks Meter 260
Posts: 545
Join Date: May 2012
Location: islamabad
Default Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)

Who knowz m not becoming a part of a great thread in the future..lets try this out

Sent from my Galaxy Nexus using xda premium
 
agritux
Old
#5  
agritux's Avatar
Senior Member
Thanks Meter 606
Posts: 1,757
Join Date: Apr 2012
Location: Ankara
Trying this kernel for 2 days.
I can say, wonderful work.
Thanks boype!
 
GeekMcLeod
Old
#6  
GeekMcLeod's Avatar
Senior Member
Thanks Meter 624
Posts: 1,005
Join Date: Apr 2012
Location: Airdrie

 
DONATE TO ME
Running it now at 192/1420 with 537 as max screen off. Pegasusq and bfq. GPU = 384 and SR remains on.

Can't tell how battery life is, as I just installed it. Charging phone back to 100 right now.
It is very smooth and responsive from what I've done so far though. Going to keep with this kernel for a couple days, see how it compares to my fall back, LeanKernel + Tweaks. So far, so good though.
Didn't like the short and/or 'bad' answer given? Check me out.

>>>>>ParanoidAndroid<<<<<
Forum
Changelog
Gapps


Devices: Nexus 5 -- Nexus 7 (2012)
Rom: ParanoidAndroid for ALL the devices!
Kernel: franco.Kernel
The Following User Says Thank You to GeekMcLeod For This Useful Post: [ Click to Expand ]
 
pageniao
Old
#7  
pageniao's Avatar
Senior Member
Thanks Meter 135
Posts: 274
Join Date: Nov 2011
Location: wuzhou

 
DONATE TO ME
Default Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)

anybody test NFS17 game on this kernel?
 
thebogy
Old
#8  
thebogy's Avatar
Senior Member
Thanks Meter 15
Posts: 123
Join Date: Sep 2010
Location: bandung
Default Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)

Wow, sound great
So, Can i flash it over stock 4.2.1 ?
Phone : Google Nexus 4 & Nokia X
Tablet : Samsung Galaxy Tab 2 P3110
The Following User Says Thank You to thebogy For This Useful Post: [ Click to Expand ]
 
GeekMcLeod
Old
#9  
GeekMcLeod's Avatar
Senior Member
Thanks Meter 624
Posts: 1,005
Join Date: Apr 2012
Location: Airdrie

 
DONATE TO ME
Quote:
Originally Posted by thebogy View Post
Wow, sound great
So, Can i flash it over stock 4.2.1 ?
As long as you are rooted, I don't see why you wouldn't be able to. I'm pretty sure being rooted is all you need to flash a kernel.
Didn't like the short and/or 'bad' answer given? Check me out.

>>>>>ParanoidAndroid<<<<<
Forum
Changelog
Gapps


Devices: Nexus 5 -- Nexus 7 (2012)
Rom: ParanoidAndroid for ALL the devices!
Kernel: franco.Kernel
The Following User Says Thank You to GeekMcLeod For This Useful Post: [ Click to Expand ]
 
pageniao
Old
#10  
pageniao's Avatar
Senior Member
Thanks Meter 135
Posts: 274
Join Date: Nov 2011
Location: wuzhou

 
DONATE TO ME
Default Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)

great kernel !
keep it:thumbup:

Sent from my Galaxy Nexus using xda premium

Tags
boype, fast, galaxy nexus, kernel, smooth
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes