[KERNEL] [☆MIUI☆] [3.4.49+] [4.2.2] [4.8.1☆O3] [★v.035.M★] [13/06] ☆ AK ☆

Search This thread

ak

Senior Member
Feb 19, 2011
14,848
69,619
Ak Land Valley
ak.hiddenbytes.org
[KERNEL] [☆MIUI☆] [3.4.49+] [4.2.2] [4.8.1☆O3] [★v.035.M★] [13/06] ☆ AK ☆

miuihd.jpg

I am not responsible for any damage to your phone.
Read before downloading or posting in the thread:
Proceed with caution if you have no experience.

postscriptum.png


If you appreciate my work and that of the guys who work with me donate $ 1 no more.
This money will be used to help maintain and all that is needed to continue the development of the AK kernel.
Are not used for me but will be donated to turn to those who contribute.

[4.2.x] AK MIUI
dev-host: ak.035.m.zip
Differential Changelog: Link
Features: Link
Github Kernel: Link
Github Ramdisk: Link

[HOSTING SERVERS] FOR ALL VERSIONS
Old Kernel version download (androidfilehost): Link
Old Kernel version download (dev-host): Link

Don't forget to press Thanks and Rating button!

thanksk.png

renaud, faux123, franco
ezekeel, stratosk, mathkid
... and all others ...
 
Last edited:

ak

Senior Member
Feb 19, 2011
14,848
69,619
Ak Land Valley
ak.hiddenbytes.org
Kernel Features

FEATURES
* Works on:

4.2.2
MIUI ROMs
Linux 3.4.49+
Based on Aosp Stock Kernel
Compiled with New Linaro 4.8.1
-O3 Optimizations

* Governors:
Interactive (Default) Patched to last from Common Branch
Conservative
Ondemand
Performance
Powersave
Userspace

* auto_hotplug:
2 core always online


* Schedulers:
Sio (Default and Optimized)
cfq, deadline, noop
+ scheduler autogroup

* Multicore Powersaving:
set to 1 by default (0,1,2)

* Read Ahead Buffer Size:
512/16

* Cpu Freqs:
384Mhz (Default Min)
1512Mhz (Default Max)

* Gpu Freqs:
400Mhz (Default Max)

* TCP Congestion:
Westwood (Default)
Cubic, Bic, Westwood, Htcp, Hstcp, Hybla, Vegas, Scalable, Lp, Veno, Yeah, Illinois, Reno

* Others Features:
AK color palette - Thanks CR88
XZ Compression
mpdecision off at boot
HZ=250
auto hotplug by Thalamus
vibration value 80
gamma control by Franco
sound control by Faux
voltage control by Stratosk
SweeptoWake
SweeptoSLeep
FQ Codel Netscheduler

* Ramdisk Features:

Optimized EXT4 mount flags
Optimized Debug messages
Optimized Systemui Renice (-17)
Lmk withelist for common launcher (no redraw)

set to 1 by default at boot
Init.d Script for tuning Scheduler

Scripts present into --- /data/ak/ ---:
--- create_bugreport.sh ---
All thanks to Lioux
If you lunch this script you can collect all the infos for trouble problems with kernel:
last_kmsg
logcat
uname
dumpsys
ecc ...
 
Last edited:

ak

Senior Member
Feb 19, 2011
14,848
69,619
Ak Land Valley
ak.hiddenbytes.org
Kernel Changelog

CHANGELOG
Project name: AK KERNEL
•anarkia1976 - Kernel Version: AK.035.M
•anarkia1976 - gamma_control.c: Add AK color Profile IIII
•Greg Kroah-Hartman - Linux 3.4.49
•Steven Rostedt - ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section
•Namhyung Kim - tracing: Fix possible NULL pointer dereferences
•Patrik Jakobsson - drm/gma500: Increase max resolution for mode setting
•Ying Xue - USB: ftdi_sio: Quiet sparse noise about using plain integer was NULL pointer
•Jan Beulich - xen-pciback: rate limit error messages from xen_pcibk_enable_msi{,x}()
•Ben Mesman - drm/i915: no lvds quirk for hp t5740
•Egbert Eich - drm/i915/sdvo: Use &intel_sdvo->ddc instead of intel_sdvo->i2c for DDC.
•Huacai Chen - drm: fix a use-after-free when GPU acceleration disabled
•Guenter Roeck - hwmon: (adm1021) Strengthen chip detection for ADM1021, LM84 and MAX1617
•Alex Deucher - drm/radeon: don't allow audio on DCE6
•Adis Hamzić - radeon: Fix system hang issue when using KMS with older cards
•Gavin Shan - powerpc/eeh: Don't check RTAS token to get PE addr
•Ash Willis - ACPI / video: ignore BIOS initial backlight value for HP Pavilion g6
•Alex Hung - ACPI / video: ignore BIOS initial backlight value for HP m4
•Johan Hovold - USB: mos7720: fix hardware flow control
•Johan Hovold - USB: mos7720: fix message timeouts
•Johan Hovold - USB: mos7720: fix DMA to stack
•Alan Stern - USB: revert periodic scheduling bugfix
•Johan Hovold - USB: serial: fix Treo/Kyocera interrrupt-in urb context
•Johan Hovold - USB: whiteheat: fix broken port configuration
•Robert Butora - USB: Serial: cypress_M8: Enable FRWD Dongle hidcom device
•Johan Hovold - USB: visor: fix initialisation of Treo/Kyocera devices
•Johan Hovold - USB: ark3116: fix control-message timeout
•Johan Hovold - USB: keyspan: fix bogus array index
•Johan Hovold - USB: iuu_phoenix: fix bulk-message timeout
•Takashi Iwai - ALSA: usb-audio - Fix invalid volume resolution on Logitech HD webcam c270
•Takashi Iwai - ALSA: usb-audio - Apply Logitech QuickCam Pro 9000 quirk only to audio iface
•Clemens Ladisch - ALSA: usb-audio: fix Roland/Cakewalk UM-3G support
•Vladimir Murzin - xhci: fix list access before init
•Sergio Aguirre - xhci-mem: init list heads at the beginning of init
•Tony Camuso - xhci - correct comp_mode_recovery_timer on return from hibernate
•Bjørn Mork - USB: option: blacklist network interface on Huawei E1820
•anarkia1976 - Kernel Version: AK.033.S
•Danny Baumann - Make sure PWMs are running in sync.
•anarkia1976 - Kernel Version: AK.032.S
•anarkia1976 - gamma_control.c: Add AK color Profile III
•anarkia1976 - Enable SWEEP2WAKE
•faux123 - sweep2wake: release all touch events before enable irq in early suspend
•faux123 - sweep2wake: another attempt to re-init the touch driver
•faux123 - sweep2wake: add more debugging and re-organized reset code when lock up
•faux123 - sweep2wake: force reinit upon detection of lock up
•faux123 - sweep2wake: add lock up detection and re-init if detected
•faux123 - sweep2wake: disable debugging :p
•faux123 - sweep2wake: make tunables accessible via sysfs interface
•faux123 - lge_touch_core: sweep2wake: use more standard sysfs store method
•Dennis Rassmann - drivers/touchscreen: add lge_touch android_touch kobject to fix s2w in one position across devices
•Dennis Rassmann - drivers/touchscreen: add pmops and allow i2c to wake the device (even w/o ES/LR)
•Dennis Rassmann - sweep2wake: fix last touch not being released
•Dennis Rassmann - drivers/touchscreen: add sweep2wake
•Mahesh Sivasubramanian - msm: cpuidle: Remove preprocessor check for CONFIG_CPU_PM
•Anji Jonnala - msm: cpuidle: Update C state time stats in the cpu idle device.
•Stephen Boyd - msm: cpuidle: Don't disable irqs again
•anarkia1976 - Kernel Version: AK.031.S
•Namjae Jeon - writeback: fix writeback cache thrashing
•Colin Cross - hardlockup: detect hard lockups without NMIs using secondary cpus
•Henrik Rydberg - Input: Send events one packet at a time
•Minsung Kim - cpufreq: interactive: avoid underflow on active time calculation
•Todd Poynor - cpufreq: interactive: reduce chance of zero time delta on load eval
•Todd Poynor - cpufreq: interactive: handle errors from cpufreq_frequency_table_target
•anarkia1976 - Kernel Version: AK.030.S
•anarkia1976 - mako_ak_defconfig: Enable RCU_BOOST
•anarkia1976 - mako_ak_defconfig: Enable SHA1 and AES
•faux123 - arm/crypto: Add optimized AES and SHA1 routines
•anarkia1976 - mako_ak_defconfig: Enable SET_MIN_MAX, Add FREQ_DEBUG
•anarkia1976 - Kernel Version: AK.030.S
•anarkia1976 - mako_ak_defconfig: Enable SHA1 and AES
•faux123 - arm/crypto: Add optimized AES and SHA1 routines
•anarkia1976 - mako_ak_defconfig: Enable NTFS, Disable some Points
•anarkia1976 - mako_ak_defconfig: Enable SET_MIN_MAX, Add FREQ_DEBUG
•anarkia1976 - mako_ak_defconfig: Enable RCU_FAST_NO_HZ and Tuning
•anarkia1976 - configs: Cleaning
•anarkia1976 - Kernel Version: AK.026
•anarkia1976 - ak-mako-build.sh: Add Ramdisk XZ Compression
•anarkia1976 - mako_ak_defconfig: Add XZ Compression, UNALIGNED_ACCESS Support
•faux123 - decompress_unlzo: fix compilation error
•Markus F.X.J. Oberhumer - lib/lzo: Optimize code for CPUs with inefficient unaligned access
•Markus F.X.J. Oberhumer - lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c
•faux123 - arch/arm/Kconfig: enable unaligned capability for ARM
•Dave Martin - ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above
•Markus F.X.J. Oberhumer - lib/lzo: Update LZO compression to current upstream version
•anarkia1976 - mako_ak_defconfig: Enable CODEL Net Scheduler
•Eric Dumazet - fq_codel: dont reinit flow state
•Eric Dumazet - codel: refine one condition to avoid a nul rec_inv_sqrt
•Eric Dumazet - fq_codel: should use qdisc backlog as threshold
•Eric Dumazet - codel: use u16 field instead of 31bits for rec_inv_sqrt
•Geert Uytterhoeven - net/codel: Add missing #include <linux/prefetch.h>
•Eric Dumazet - codel: use Newton method instead of sqrt() and divides
•Eric Dumazet - fq_codel: Fair Queue Codel AQM
•Eric Dumazet - codel: Controlled Delay AQM
•anarkia1976 - Kernel Version: AK.025
•anarkia1976 - mako_ak_defconfig: Set CONFIG_HZ=250
•anarkia1976 - sched.h: Fix load average calculation for HZ=250
•anarkia1976 - mako_ak_defconfig: Enable SCHED_AUTOGROUP
•Lance Poore - SCHEDULER: Autogroup patch group by current user android UID instead of task ID
•anarkia1976 - timer: optimize apply_slack()
•anarkia1976 - core.c: Disable Software CRC check
•anarkia1976 - mako_ak_defconfig: Enable SCHED_MC
•anarkia1976 - gamma_control.c: Add AK color Profile II - Thanks Obsanity

 
Last edited:

ak

Senior Member
Feb 19, 2011
14,848
69,619
Ak Land Valley
ak.hiddenbytes.org
Kernel How-to

UNDERVOLTING
The undervolting part of Kernel is based on Semaphore ideas.
You can use this guide directly from Statosk Thread.

Example and Link:

Link to Undervolting Infos

CPU PVS: Fast
Boost uV: 25000
Boost uV enabled: No
Higher KHZ threshold: 1350000
Lower under uV: 37500
Higher under uV: 25000

CPU KHz VDD(stock) VDD(final) Difference
384000 875000 812500 -62500
486000 900000 837500 -62500
594000 925000 862500 -62500
702000 950000 887500 -62500
810000 1000000 937500 -62500
918000 1025000 962500 -62500
1026000 1050000 987500 -62500
1134000 1100000 1037500 -62500
1242000 1125000 1062500 -62500
1350000 1150000 1100000 -50000
1458000 1162500 1112500 -50000
1512000 1175000 1125000 -50000
 
Last edited:

illr

Senior Member
May 4, 2012
393
166
Carlsbad, Ca
Damn really?! I just flashed back to AXI0M from miui just to use your aosp kernel -.- lol oh well now I can have the best of both worlds miui + ak = WIN!

Sent from my Nexus 4 using xda premium
 
  • Like
Reactions: ak

Tylog

Inactive Recognized Contributor
Jan 4, 2013
7,423
19,740
First time I test miui on my n4 and can use my favorite kernel, good :)

Tapatalk Nexus 4
 
  • Like
Reactions: ak

aaronrw

Senior Member
Nov 16, 2011
1,287
378
A TOWN!
First time I test miui on my n4 and can use my favorite kernel, good :)

Tapatalk Nexus 4

Miui is a breath of fresh air in the aosp world to me my friend..... IOS is far from anything it brings to the table..... Try the theme mixing you'll love it! Sorry AK for the OT post:(

Sent from my Nexus 4 using Tapatalk 2
 
  • Like
Reactions: ak

ak

Senior Member
Feb 19, 2011
14,848
69,619
Ak Land Valley
ak.hiddenbytes.org
You made alot of users happy with this ! You are a true developer and gentleman :cool::thumbup:

Thanks CR.

I just think it will be difficult to do better than what they did others developers ... why try to do something for the community.

I believe that original from now on will not be anyone because what we can invent.
 

JediDru

Senior Member
Nov 10, 2010
853
206
Chicago
Good to see you here. Working great so far on Miui android. Will post screens once settled.

Sent from my Nexus 4 using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 45
    [KERNEL] [☆MIUI☆] [3.4.49+] [4.2.2] [4.8.1☆O3] [★v.035.M★] [13/06] ☆ AK ☆

    miuihd.jpg

    I am not responsible for any damage to your phone.
    Read before downloading or posting in the thread:
    Proceed with caution if you have no experience.

    postscriptum.png


    If you appreciate my work and that of the guys who work with me donate $ 1 no more.
    This money will be used to help maintain and all that is needed to continue the development of the AK kernel.
    Are not used for me but will be donated to turn to those who contribute.

    [4.2.x] AK MIUI
    dev-host: ak.035.m.zip
    Differential Changelog: Link
    Features: Link
    Github Kernel: Link
    Github Ramdisk: Link

    [HOSTING SERVERS] FOR ALL VERSIONS
    Old Kernel version download (androidfilehost): Link
    Old Kernel version download (dev-host): Link

    Don't forget to press Thanks and Rating button!

    thanksk.png

    renaud, faux123, franco
    ezekeel, stratosk, mathkid
    ... and all others ...
    11
    new kernel

    [4.2.x] AK MIUI
    dev-host: ak.035.m.zip
    Differential Changelog: Link
    Features: Link
    Github Kernel: Link
    Github Ramdisk: Link

    see changelog into OP
    9
    Kernel Features

    FEATURES
    * Works on:

    4.2.2
    MIUI ROMs
    Linux 3.4.49+
    Based on Aosp Stock Kernel
    Compiled with New Linaro 4.8.1
    -O3 Optimizations

    * Governors:
    Interactive (Default) Patched to last from Common Branch
    Conservative
    Ondemand
    Performance
    Powersave
    Userspace

    * auto_hotplug:
    2 core always online


    * Schedulers:
    Sio (Default and Optimized)
    cfq, deadline, noop
    + scheduler autogroup

    * Multicore Powersaving:
    set to 1 by default (0,1,2)

    * Read Ahead Buffer Size:
    512/16

    * Cpu Freqs:
    384Mhz (Default Min)
    1512Mhz (Default Max)

    * Gpu Freqs:
    400Mhz (Default Max)

    * TCP Congestion:
    Westwood (Default)
    Cubic, Bic, Westwood, Htcp, Hstcp, Hybla, Vegas, Scalable, Lp, Veno, Yeah, Illinois, Reno

    * Others Features:
    AK color palette - Thanks CR88
    XZ Compression
    mpdecision off at boot
    HZ=250
    auto hotplug by Thalamus
    vibration value 80
    gamma control by Franco
    sound control by Faux
    voltage control by Stratosk
    SweeptoWake
    SweeptoSLeep
    FQ Codel Netscheduler

    * Ramdisk Features:

    Optimized EXT4 mount flags
    Optimized Debug messages
    Optimized Systemui Renice (-17)
    Lmk withelist for common launcher (no redraw)

    set to 1 by default at boot
    Init.d Script for tuning Scheduler

    Scripts present into --- /data/ak/ ---:
    --- create_bugreport.sh ---
    All thanks to Lioux
    If you lunch this script you can collect all the infos for trouble problems with kernel:
    last_kmsg
    logcat
    uname
    dumpsys
    ecc ...
    7
    Thanks for not abandoning the N⁴!

    Sent from my Nexus 4 using Tapatalk 2

    De Nada ....

    Sent from my Nexus 4 using Tapatalk 2
    6
    You made alot of users happy with this ! You are a true developer and gentleman :cool::thumbup:

    Thanks CR.

    I just think it will be difficult to do better than what they did others developers ... why try to do something for the community.

    I believe that original from now on will not be anyone because what we can invent.