5,597,647 Members 33,639 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] Fancy Kernel r50 [Android 4.2/4.3/4.4] [Linux 3.0.101] [APR-18-2014]

Tip us?
 
boype
Old
(Last edited by boype; Yesterday at 05:39 PM.)
#1  
boype's Avatar
Recognized Contributor - OP
Thanks Meter 7691
Posts: 889
Join Date: Apr 2012
Location: Düsseldorf

 
DONATE TO ME
Arrow [KERNEL] Fancy Kernel r50 [Android 4.2/4.3/4.4] [Linux 3.0.101] [APR-18-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:

 

Extended ('ext') version features
  • Based upon:
    • latest AOSP/CM11 kernel source
    • selected Cyanogenmod patches
    • continuously updated Linux version (3.0.101)
    • selected patches from the device's chipset vendor Texas Instruments
    • selected patches from Google
  • CPU:
    • CPU frequencies: 192, 384, 537, 729, 1036, 1228, 1344, 1420, 1536 MHz (default on boot: 192 - 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, 192 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:
    • ASRAM memory reclaim, giving you 742mb available RAM with a fully functional device
    • I/O schedulers: SIOplus (default), deadline, noop, row, bfqv5, cfq
    • updated HSMMC driver (high speed multimedia card; the phone's 'hard drive bus controller' if you will)
    • tuned LPDDR RAM timings (+10% throughput; more info)
    • optimized ext4 mountings
    • Android 3.4 low memory killer
    • 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 PGM, e.g.)
  • more things... go check the source if you're interested.
  • compiled with Google GCC 4.7 toolchain (from Android NDK r9)
  • universal RAMdisk via osm0sis anykernel2 package


Download links:

 

Major release for Android 4.2/4.3/4.4 (latest version: r50)
  • md5sum: 2ccf2ccc18c8d9d7434af728ab8e0f58

_______________


Pre-release (test) forAndroid 4.2/4.3/4.4 (latest version: pre50)_______________


Older versions_______________


Fancy Updater app on Play Store (author: Parthipan Ramesh)_______________



Notes:
  • Compatible to:
    • all Galaxy Nexus devices (maguro, toro, toroplus)
    • all Android 4.2/4.3/4.4 ROMs (from r49 onwards thanks to the anykernel2 format)
  • Installation:
    • Flash the provided zip file with TWRP or CWM. It is good practice to (dirty)flash the ROM first and then the kernel afterwards. This way, you ensure the RAMdisk that is modified by anykernel is clean. You should never flash an anykernel2 kernel over another custom kernel!
  • Having problems?
    • Do not report any potential bugs without doing cache and dalvik-cache wipes first.

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


Changelog:

 

r49 >> r50
  • defconfig: reduce vmalloc to 496M (fixes apps being killed all the time)
  • added error codes / success message to anykernel2 installation process (good to see what's wrong when it doesn't work, right?)
  • min_free_kbyte tweak (10mb)
  • vfs_cache_pressure tweak (25)
  • dirty_bytes & dirty_background_bytes tweak (8 & 2 mb)
  • lowmemorykiller minfree tweaks 12,14,22,24,52 mb
  • renice systemui only to -10 (-18 is overkill)
  • renice block interface's flush daemon to 5
  • remove launcher whitelisting (if the lmk wants to kill the launcher, this has a reason (e.g. ram-hogging games))

Click for full change log


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
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, Ferhat Uğur C., James F., jsage, kuyam, Lancez, mpokwsths, n2rjt, okanb3, omid900, rcozzi, Taomyn, teleplasma, Timothy D.


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 506 Users Say Thank You to boype For This Useful Post: [ Click to Expand ]
 
-Jesco-
Old
#2  
-Jesco-'s Avatar
Recognized Contributor
Thanks Meter 2483
Posts: 2,552
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.3 D802
ROM: Stock Rooted // With MultiWindow
Kernel: Stock


║Flo║


// #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 5 Users Say Thank You to -Jesco- For This Useful Post: [ Click to Expand ]
 
GeekMcLeod
Old
#3  
GeekMcLeod's Avatar
Senior Member
Thanks Meter 591
Posts: 945
Join Date: Apr 2012
Location: Moose Jaw

 
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.
Silence will fall when the Question is asked.

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 256
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 512
Posts: 1,534
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 591
Posts: 945
Join Date: Apr 2012
Location: Moose Jaw

 
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.
Silence will fall when the Question is asked.

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 131
Posts: 268
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 13
Posts: 112
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 591
Posts: 945
Join Date: Apr 2012
Location: Moose Jaw

 
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.
Silence will fall when the Question is asked.

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 131
Posts: 268
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