[KERNEL]-[AOSP]-[LP-KK-JB] f4ktion 2.3.1 [3G|LTE|DUOS] - [OC/UC/UV/OTG]

F4k

Inactive Recognized Developer
Dec 3, 2010
1,160
4,532
113
Hi!

Welcome to f4ktion kernel, this is a kernel based on the arco68's/cm's one and it works on Android AOSP KitKat ROMs​


Features

  • Linux Kernel 3.4.104
  • CPU Overclock (OC): 1836MHz / 1890MHz / 1944MHz / 1998MHz / 2052MHz frequency scaling steps
  • CPU Underclock (UC): 378MHz / 270MHz / 162MHz frequency scaling steps
  • CPU Voltage Control (VC) Use PerformanceControl
  • GPU Overclock (GPU-OC): 504MHz / 545MHz / 600MHz frequency scaling steps
  • GPU Underclock (GPU-UC): 487.5MHz / 320MHz / 192MHz frequency scaling steps
  • Compiled with Linaro 4.9.2: Cortex A15 optimized toolchain by Christopher86
  • Optimizations: Built with -O3 and many optimization flags
  • Kernel mode NEON: Support for NEON instructions in kernel mode
  • Arch_Power: arch-specific power sched features enabled
  • Graphite optimizations: Graphite is a framework for high-level memory optimizations using the polyhedral model.
  • LTO: Link Time Optimization.
  • Intelliplug: Faux123's Intelliplug (it hotplug/unplug cpu cores based on load demand of the system)
  • Msm Hotplug: MyFluxi's msm_hotplug
  • UKSM: Ultra Kernel Same-page Merging enabled
  • BLN: Support for BackLightNotification (Use BLN's app to configure)
  • Sound Control: Faux123's GPL Sound Control 3.5 (Use FauxSound app to configure)
  • Gamma Control: Use Device Control app for color calibration
  • USB Fastcharge: Faux123's fast_charger driver, allowing to set mV of the charger or USB port your device is plugged-in to
  • AIO Optimizations: enabled kernel AIO optimization from Linux 3.8+
  • F2FS Enabled: Support for F2FS (Flash-Friendly File System)
  • Asynchronous Fsync: Asynchronous file sync
  • Dynamic Fsync: Faux123's Dynamic File Sync v1.3
  • Dynamic Management of Dirty Page Writebacks
  • USB OTG support: USB On-The-Go support, you need a Y USB OTG cable

  • Additional Governors:
    • Intellidemand
    • Intelliactive
    • Intellimm
    • Impulse
    • Lionheart
    • OndemandPlus
    • SmartASSV2
    • SmartASSH3
    • SmartMAX
    • Wheatly

  • Additional I/O Schedulers:
    • FIOPS (Fair Input/Output Per Second)
    • SIO (Simple I/O)
    • SIO Plus (Simple I/O Plus)
    • V(R)
    • ZEN


Notice
- Flash it your on own risk, I don't take the responsibility for anything
- Use "f4ktion_x.x.x-eur_3g/lte-JB" only on CM-10.2






Download:

CM10.2 (EOL)
GT-I9190
f4ktion_1.5.0-eur_3g-JB
GT-I9195
f4ktion_1.5.0-eur_lte-JB




Installation instructions
- Copy f4ktion_1.X.X-eur_xx.zip to your SDCARD
- Reboot into CWM recovery
- Choose "Install zip from sdcard"
- Select f4ktion_1.X.X-eur_xx.zip kernel and confirm installation.​


Source
f4ktion kernel


Credits: (Alphabetical order)
  • arco68 (Big thanks for supporting S4 Mini)
  • Christopher83
  • CM team
  • faux123
  • junkyde
  • ktoonsez
  • proxuser
  • Stratosk
 

Attachments

Last edited:

F4k

Inactive Recognized Developer
Dec 3, 2010
1,160
4,532
113
F4ktion Kernel Configs



About fastcharge:

For fastcharge voltage configuration use this through terminal or console or you can use FauxClock app.
Code:
To [B]enable[/B] it use:
echo 1 > /sys/kernel/fast_charge/force_fast_charge

For [B]USB 2.0 [/B]use [B]500mA[/B] as [B]MAX[/B]
echo 500 > /sys/kernel/fast_charge/fast_charge_level

For [B]USB 3.0[/B] use [B]700mA[/B] or [B]900mA[/B] as [B]MAX[/B]
echo 900 > /sys/kernel/fast_charge/fast_charge_level

For [B]wallcharger[/B] use from [B]900mA[/B], [B]1100mA[/B], [B]1300mA[/B] to [B]1500mA[/B] as top
Warning: incorrect use of voltage could damage your phone or USB ports



About hardlimit:

Hardlimit will limit max frequency to stock, use latest PerformanceControl app, compiled by @h0rn3t with support for Hardlimit feature, just use sliders to set your desired OC and hardlimit frequency​

For mm Dynamic management of dirty page writebacks or Dynamic Fsync use PerformanceControl too.​
 
Last edited:

F4k

Inactive Recognized Developer
Dec 3, 2010
1,160
4,532
113
Changelog
Code:
[B][COLOR="Red"][URL="https://raw.githubusercontent.com/F4k/f4ktion_kernel/220e645a1b72c83d8861a2636dfe27a814ac18b4/Changelog_10_05_2014.log"]Full Changelog 1.6.3[/URL]
[/COLOR][/B]
[B][COLOR="Red"]1.6.3[/COLOR][/B] (01/10/2014)
- Updated Linaro toolchain to [B]4.9.2-2014.09[/B]
- Upstream Linux Kernel to 3.4.104
- Updated ramdisks
- Synced with CM source

1.6.0 (13/08/2014)
- Added S4 Mini Duos variant (eur_3gds)
- Synced with CM source
- Updated ramdisks
- Upstream Linux Kernel to 3.4.103
- Intellidemand: updated to version 5.5
- Intelli_plug: upstream update to 3.8
- SoundControl: upstream update to 3.5
- mach-msm: set BUS to 4800
- Remove TIMA trash, we don't use KNOX.
- gpu: compile driver using -Ofast opt

1.5.6 (22/07/2014)
- fs/super.c: sync ro remount after blocking writers.
- Updated Linaro toolchain to 2014.07
- f2fs: upstream update.
- Merged with ML2 kernel source (part 2) (huge code update)
- Upstream Linux Kernel to 3.4.99
- Synced with CM source.
- Intelli_plug: upstream update.

1.5.0 (20/06/2014)
- Some other improvements, check Github or full changelog.
- cpufreq: smartmax: test some tweaks.
- mm: Added filesystem dynamic read-ahead
- char: Added Fast Random generator support (frandom)
- CK3 tweaks
- Added MyFluxi's msm_hotplug
- Updated Linaro toolchain to 2014.06
- Added Intellidemand CPU Governor.
- Added OndemandPlus CPU governor.
- Added Intelliplug
- xz: Optimize Sfck Compression
- f2fs: fix wrong statistics of inline data If we remove a file that has inline data after mount, our statistics turns to inaccurate.
- Compressed: optimize for Cortex A15
- block: row: add magic values.
- Upstream Linux Kernel to 3.4.94
- USB: gadget: mtp: Fix hang in ioctl(MTP_RECEIVE_FILE) for WritePartialObjet
- USB: gadget: rndis: Optimize tx path for better performance
- SELinux: Reduce overhead of mls_level_isvalid() function call
- Added AIO optimizations from Linux kernel 3.8+
- Synced with CM source

1.4.5 (08/06/2014)
- Some other minor changes, improvements.
- Updated ramdisks with some tweaks.
- Added support for moving app2sd
- Fixed FolderMount issue
- LTO enabled
- Graphite Optimization
- msm: slimbus: initial overclocking of slimbus
- bam_dmux: Use power efficient workqueues for delayed timeouts
- ext4: speed up truncate/unlink by not using bforget() unless needed
- msm: gpu: add optimizations cflags plus -O3 to drivers.
- F2FS support, kernel will auto-detect on boot your file system (f2fs or ext4)
- Set SELinux to permisive via cmdline.
- drivers: cpuidle: sync
- Synced with CM source
- Upstream Linux Kernel to 3.4.91
- Fix some warnings when compiling with gcc 4.8.x/4.9.x
- Makefile: add support for gcc 4.9.x
- kernel: Fix all leaks and cleanup
- Added Francisco Franco's Intereactive GPU governor.
- Pipe flag enabled


1.4.0 (08/05/2014)
- Build using Christopher Linaro Toolchain 4.9.1 (Cortex A15)
- msm: kgsl: added GPU Overclock/Underclock (OC up to 627MHz)
- writeback: fix race that cause writeback hung.
- cfg80211: fix memory leak
- Added support to FolderMount
- cpufreq: intelliactive: synced with latest changes.
- Upstream Linux Kernel to 3.4.89
- Updated ramdisks
- Synced with CM source.


1.3.6 (13/03/2014)
- Some minor fixes/improvements, check my git source code.
- Updated ramdisks
- Upstream Linux Kernel to 3.4.83
- Block: sio-iosched: some tweaks.
- Squash a lot of slab, slob and slub commits from Faux123
- Synced with CM source
- Use power efficient workqueues
- Power: add an API to log wakeup reasons.
- Added SIOPLUS I/O scheduler.
- Added SmartMAX CPU governor
- msm_otg: remove initialization wake_lock.
- block: fiops: code update/fix.
- Added Fiops I/O scheduler.
- futex: some code update, optimizations.
- Merge with ML2 kernel source (part 1)
- sound control: updated FauxSound to version 3.2
- Added Intelliactive CPU governor.

1.3.2 (28/02/2014)
- Some minor fixes/improvements
- Updated ramdisks
- Upstream Linux Kernel to 3.4.82
- Synced with CM source (a lot of patches)
- bam_demux: some code optimizations
- msm_otg: testing some tweaks to reduce possibility of wakelock.
- Make SAV2 and SAH3 moar aggressive

1.3.0 (03/02/2014)
- Updated ramdisks
- Compiled with -O3 optimizations again.
- Updated ramdisk of JB variants to latest official stable CM build.
- cpufreq: some optimizations and fixes.
- Upstream Linux Kernel to 3.4.78
- BLN: removed white spaces in code.
- sched: enabled ARCH POWER.
- Enabled kernel NEON mode.
- Added support on ramdisk to auto-mount drives as USBDISK
- Added USB OTG support, you'll need USB OTG Y cable, devices has to be externally powered. (thanks to sekil)
- Synced with CM source.

1.2.8 (18/01/2014)
- Updated ramdisk
- random: backport updates from Linux Kernel 3.13-rc4
- Using fluXXi optimized Linaro toolchain 4.8.2
- Upstream Linux Kernel to 3.4.77
- Synced with CM source
- cpufreq: added hardlimit, using 1.728 GHz by default. Thanks to yank555.lu
- cpufreq: updated SAV2 and SAH3 to fit low clock steps
- mach-msm: updated OC and UC code for better performance.

1.2.5 (09/01/2014)
- Synced with CM source
- Updated ramdisk of JB variants
- Random entropy tweaks
- Regenerated SAV2 and SAH3
- Update fastcharge code, using Faux123's one
- Added ARM LoUIS cache API
- Core scheduler optimizations
- Added Dynamic Fsync
- Added extra low CPU clocks for better battery performance (hopefully)
- Added Dynamic management of dirty page writebacks 
- Added  Asynchronous Fsync
- Removed some compiling warnings

1.2.2 (29/12/2013)
- Some tweaks to SmartASSV2 and SmartASSH3 governors
- Updated ramdisks
- Added Underclock (UC) support
- Limit max frequency to stock on boot (1.728 GHz)
- USB fastcharge support
- Synced with CM source
- Updated FauxSound to version 3.1 (volume changes applies now on real time)

1.2.0 (23/12/2013)
- Synced with CM source
- Added Overclock (OC) support up to 2GHz
- Added Voltage Control (VC) support
- Optimized KSM
- Upstream kernel to Linux 3.4.75
- Added Wheatley CPU governor
- Disabled BLN wakelock
- Add Zen I/O Scheduler
- Added SmartASSH3 CPU governor
- Deleted Lulzactive CPU governor
- Fixed SmartASSV2 stucking in max freq.

1.1.6 (19/12/2013)
- Added V(R) I/O Scheduler
- Upstream kernel to Linux 3.4.55
- Synced with CM source
- Readahead value changed to 512kB
- Compiled with O3 optimizations

1.1.5 (15/12/2013)
- Upstream kernel to Linux 3.4.50
- Synced with CM source
- Added JB/CM10.2 variants (Tested on latest 2013-12-02 20:19:59 official release)
- Added FauxSound (It's needs FauxSound Control app, unfortunately it's a paid app, but developers deserve it because they do a great job)

1.1.3 (13/12/2013)
- Added Simple I/O Scheduler
- Upstream kernel to Linux 3.4.40
- Updated ramdisk with latest cm changes

1.1.2 (12/12/2013)
- Added Lionheart CPU governor
- Added Lulzactive CPU governor
- Added SmartASSV2 CPU governor
- Synced with cm source

1.1.0 (11/12/2013)
- Added BLN (thanks to junkyde!)
- Upstream kernel to Linux 3.4.10

1.0.0 (07/12/2013)
- Initial release
- Setup build environment
 
Last edited:

radicspeter

Senior Member
Mar 29, 2011
606
204
0
Please, I didn't tested I9195 version, if someone can try to flash it and let me know if it works.
Flash now...i will back and report ;)
Edit:
Flashed over the latest cm 11 and working really good ;)
Thanks your amazing kernel! It full of futures that i missed till now! :)
 
Last edited:
  • Like
Reactions: Adidi and F4k

radicspeter

Senior Member
Mar 29, 2011
606
204
0
Thanks for testing!

I'll continue updating this kernel as far as I can.
You are rock man!!
My previous phone I9000 (SGS) you are made the best rom+kernel F4k! I'm really happy to use again your kernel ;)
I will happly flashing every kernel from you!
 

yannickamet

Senior Member
Sep 21, 2010
111
35
0
Hello

there is a version for CM 10.2?

thank you

---------- Post added at 11:02 AM ---------- Previous post was at 10:57 AM ----------

on 10.2 cm will work?Undervolting avalaible? P.S. Bootloop..10.2.0 serrano.
Hello

it does not work on CM 10.2, the phone is locked, you must reflash a kernel
 
  • Like
Reactions: bibidu59

F4k

Inactive Recognized Developer
Dec 3, 2010
1,160
4,532
113
I'll be adding features as far I can, OC it's interesting, I think it's not needed right now with KK but i'll be adding OC soon.

Sent from S4 mini
 
  • Like
Reactions: radicspeter

jemeljsh

Senior Member
Jul 20, 2012
873
434
93
Riga
Tried this on S4 mini (LTE) with latest CM nightly. Worked flawless but I am getting bettery battery results with Vikinger-AOSP-4.4-GT-I9195-11.12.2013.zip kernel ;)
 
  • Like
Reactions: dwane3