[Android N/M][God's Kernel][GK-R4/NR1.0][01-04-16]

Search This thread

Adi Shakthi

Senior Member
Oct 5, 2011
4,928
16,143
Everywhere
God's-Kernel

DISCLAIMER:

Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked /fried devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/


Features Of God's-Kernel-N-Preview

  • Built Using UBERTC- 4.9 Aarch64 Toolchain along with optimizations like GCC optimization for cortex-a57 ,O3 & Graphite flags.
  • Ramdisk Anykernel Format (Can flash over any Roms)
  • No More force encryption & Does not modify system partition
  • OC Support on both Big & Small Clustures. Big upto 2.2GHZ and Small 1.6GHZ
  • Gestures Control: DoubleTap2Wake, Sweep2Wake, Sweep2Sleep,Camera launch gesture
  • Governors: Elementalx,Interactive, Conservative, Ondemand, Powersave, Performance,,userspace
  • Enabled ARCH Power
  • Schedulers: Noop, Deadline, Row, cfq, bfq, fiops, sio.
  • exFAT support
  • Fsync On/Off switch.
  • KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
  • Backlight dimmer option
  • High Brightness Mode option
  • HBM panel commands
  • Faux Sound Control 3.6 GPL ,Sound Driver 36
  • Disable crc check for 30% extra performance in IO.
  • Corrected RGB LED brightness for solid indications
  • Disabled power_aware and enable all cores on boot.


Features Of God's-Kernel-M

  • Built Using UBERTC- 6.0 Aarch64 Toolchain along with optimizations like GCC optimization for cortex-a57 ,O3 & Graphite flags.
  • Ramdisk Anykernel Format (Can flash over any Roms)
  • No More force encryption & Does not modify system partition
  • Linux kernel 3.10.94
  • OC Support on both Big & Small Clustures. Big upto 2.2GHZ and Small 1.6GHZ
  • Adreno idler [An efficient workaround for msm-adreno-tz's overheads]
  • Gestures Control: DoubleTap2Wake, Sweep2Wake, Sweep2Sleep,Camera launch gesture
  • Governors: Barry-Allen,pegasusq,Hyper,Intelliactive,Darkness,Blu-Active,ImpluseElementalx,lionheart,Bioshock
  • Interactive, Conservative, Ondemand, Powersave, Performance,,userspace
  • Hot-Plug Drviers: MSM Hotplug,MSM MPDecision Hotplug[Bricked Hotplug]
  • Inteli-Plug hotplug cpu driver with eco mode
  • State Notifier Driver.
  • MSM Limiter Driver.
  • CPU Boot Controls.
  • Enhanced cpu boost drivers
  • Add sysinterface for GENTLE_FAIR_SLEEPERS [toggle switch]
  • Toggles for Wakeup Boost and Hot-Plug Boost
  • Toggle Schedule workqueues on awake CPUs to save power
  • PowerSuspend Mode [Autosleep, userspace,LCD Panel,Hybrid]
  • Added Quickwakeup initial Driver.
  • Enabled ARCH Power
  • Schedulers: Noop, Deadline, Row, cfq, bfq, fiopsio, sioplus.
  • TCP Congestion Algorithms: Highspeed, cubic, reno, bic, westwood, hybla, htcp, vegas, veno, scalable, ip, yeah, illinois.
  • CPU Voltage Control
  • NTFS r/w and exFAT support
  • F2FS filesystem support
  • Fsync On/Off switch.
  • Added ZSWAP, FRONTSWAP, VNSWAP along with Zram
  • KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
  • Backlight dimmer option
  • High Brightness Mode option
  • Live Display Driver for CM Based Roms
  • HBM panel commands
  • Faux Sound Control 3.x GPL ,Sound Driver 36
  • msm_performance
  • Frandom Support.
  • Random entropy tweaks.
  • Userspace knob to enable/disable msm_hsic_host wakelock
  • Toggles for wlan wakelocks
  • Intelli_thermal v3.0: initial coding for Linux 3.10 Qualcomm kernels
  • Thermal:Added a module param to change the thermal throttle temperature point to userspace
  • Selinux permissive by default
  • Disable crc check for 30% extra performance in IO.
  • Toggleable software crc
  • Corrected the AD backlight calculation formulas
  • Corrected RGB LED brightness for solid indications
  • Fixed gcc-4.9.0 miscompilation of load_balance() in scheduler
  • Muted userspace and kernel audit logs
  • Disabled power_aware and enable all cores on boot.
  • Enabled Dcache word access.
  • Added many more CPU scheduler,cpuidle,Timing optimizations patches.


Change-Log-N-Preview:


#GK-NR1.0-Angler-20160401:

Project name: God's Kernel-N
AudioGod - Revert "Hardcode selinux to permissive at kernel level"
Pranav Vashi - qcom-cpufreq: Prevent false check
Senthil Kumar Rajagopal - [PATCH] Fix extern inline use for gcc > 4.3 in c99 mode
Arnd Bergmann - X.509: silence asn1 compiler debug output
Antonio Alecrim Jr - X.509: remove possible code fragility: enumeration values not handled
AudioGod - GK Build: Build GK-NR1.0
AudioGod - Add Compiler GCC-6.0
franciscofranco - tick: don't update idle time if cpu offline
imoseyon - cpufreq: show cpu voltages via sysfs
imoseyon - DTS: Overclock A57 to 2.2GHz & A53 to 1.6GHz
Susan - Disable power_aware and enable all cores on boot.
Greg Hackmann - arch: arm64: force -fno-pic
AudioGod - GK defconfig: Dolby DAP post processing & Sound Prime
AudioGod - Enable arch power
AudioGod - Add more Zram
smartperson - Fix Angler 3-button headset button press detection
atl4ntis - Don't reset keys pressed at suspend time
flar2 - sound control: correct registers for phone mic and video mic
flar2 - sound control: add speaker gain tunable
Pavel - sound/soc/codecs: add TOMTOM_A_CDC_RX8
pafcholini - Sound Control: 3.6
Pavel - sound/soc/codecs: add sound_control_locked
Pavel - sound/soc/codecs: fix speaker gain and mic gain for the Nexus-6P
pafcholini - sound/soc/codecs: Faux Sound control for WCD9330 TomTom codec driver
Sam Mortimer - Set RGB LED brightness for solid indications
flar2 - msm: mdss: request HS mode when sending HBM cmds
Zac Crosby - msm: mdss: Allow user space control of HBM
flar2 - msm: mdss: Add HBM panel commands
AudioGod - Revert "msm: vidc: Allow clients to specify/query the colorspace"
Zhuowei Zhang - Attempt at porting kexec-hardboot for arm64; not working at all
Geoff Levand - debugging: Bypass purgatory
Ard Biesheuvel - of/fdt: export fdt blob as /sys/firmware/fdt
Aaron Kling - Add kexec support for aarch64
Pradeep Sawlani - ksm: check and skip page, if it is already scanned
Jens Axboe - cfq-iosched: fix the setting of IOPS mode on SSDs
Tahsin Erdogan - block: Make CFQ default to IOPS mode on SSDs
flar2 - wake_gestures: remove unnecessary wakelock
FrozenCow - usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
Nikhilesh Reddy - fs: Workaround the compiler's bad optimization
franciscofranco - wakeup: add toggle for bluedroid_timer wakelock
flar2 - msm: qpnp-haptic: disable vibration when vmax_mv_strong is set to min
David Herrmann - Bluetooth: hidp: fix device disconnect on idle timeout
Ping Li - msm: mdss: Correct the AD backlight calculation formulas
Ulf Hansson - mmc: core: Use mmc_flush_cache() during mmc suspend
myfluxi - msm: kgsl: Report correct GPU frequency in sysfs
myfluxi - PM: devfreq: Use high priority workqueue
Manikanta Sivapala - msm: vidc: disable CPU L2 cache PC during video sessions
flar2 - msm_performance: Make input boosting optional
flar2 - mdss_fb: backlight dimmer option
flar2 - wake_gestures: adjust timing for camera gesture
flar2 - wake_gestures: update timings for new tick rate
flar2 - wake_gestures: enable sweep up by default
flar2 - wake_gestures: add camera launch gesture
flar2 - angler: Wake gestures: sweep2wake, sweep2sleep and doubletap2wake
flar2 - angler: enable dt2w while tp is suspended
flar2 - Revert "angler: kernel: Do not enable or disable gesture mode after tp suspended."
savoca - msm: mdss: kcal: Only apply updates on index 0
savoca - msm: mdss: kcal: Use PCC for negative display mode
savoca - msm: mdss: KCAL: Send a pp display commit when changes are made
savoca - msm: mdss: KCAL: Do not read from picture adjustment registers
savoca - msm: mdss: KCAL: Read values from MDP registers wherever possible
flar2 - msm: mdss: KCAL: forgot to delete file
savoca - msm: mdss: KCAL: Apply default values on boot
savoca - msm: mdss: KCAL: Queue changes when panel is powered off
savoca - msm: mdss: KCAL: Remove MODULE_DESCRIPTION
savoca - msm: mdss: KCAL: Update Kconfig description
savoca - msm: mdss: KCAL: Update according to linux guidelines and checkpatch.pl
savoca - msm: mdss: KCAL: Check panel power state before applying values
savoca - msm: mdss: KCAL: Allow kcal_enable to control all post-processing features
savoca - msm: mdss: Keep KCAL within its own source file
savoca - msm: mdss: Add pa_v2 support to KCAL
savoca - msm: mdss: Replace PGC implementation with PCC for KCAL
savoca - msm: mdss: Add KCAL support for post processing control [v2]
flar2 - cpufreq_elementalx: add missing declaration
flar2 - cpufreq_elementalx: cache tunables
flar2 - cpufreq_elementalx: add powersave mode and adjust freq tables
flar2 - cpufreq_elementalx: remove gboost
flar2 - cpufreq_elementalx: freq_table per policy and pass policy to init function
flar2 - cpufreq_elementalx: store freq_table per policy and add static reference tables
flar2 - cpufreq_elementalx: remove fb notifier
flar2 - cpufreq_elementalx: pick next freq from freq tables
flar2 - cpufreq_elementalx: tune and make less aggressive
flar2 - cpufreq_elementalx: replace input boost with down factor and floor frequency
flar2 - cpufreq_elementalx: disable input boost
flar2 - cpufreq_elementalx: let input boost drop to lower frequency
flar2 - cpufreq_elementalx: increase max screen off freq
flar2 - cpufreq_elementalx: apply input boost per-cpu
flar2 - cpufreq_elementalx: refactor and adjust
flar2 - ElementalX governor version 2
Bibek Basu - cpufreq: remove race while accessing cur_policy
Viresh Kumar - cpufreq: governor: remove copy_prev_load from 'struct cpu_dbs_common_info'
Srivatsa S. Bhat - cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
Jeff Liu - binfmt_elf.c: use get_random_int() to fix entropy depleting
flar2 - deadline: decrease fifo_batch
Mauro Andreolini - block, bfq: add Early Queue Merge (EQM) to BFQ-v7r6 for 3.10.8+
Paolo Valente - block: introduce the BFQ-v7r6 I/O sched for 3.10.8+
Arianna Avanzini - block: cgroups, kconfig, build bits for BFQ-v7r6-3.10.8+
franciscofranco - Added fsync on/off support.
flar2 - Add exFAT support
flar2 - Add SIO and FIOPS i/o schedulers
AudioGod - Disable crc check for 30% extra performance in IO
AudioGod - Hardcode selinux to permissive at kernel level
AudioGod - Makefile: Add GCC optimization for cortex-a57
AudioGod - Optimizations:Add O3 & Graphite flags
flar2 - mmc: clk_scaling: set scale_down_in_low_wr_load to 1 by default
Talel Shenhar - mmc: clk_scaling: add sysfs for avoiding scale down in write
AudioGod - Add GK Build Script & Change-log Generator


Change-Log-M:


#GK-R4-20160123:

Merged all upstream from AOSP android-msm-angler-3.10-marshmallow-mr1
[updated GK source to Latest aosp kernel Source]
Enabled Dolby DAP post processing & Sound Prime .
[If you don't find Dolby DAP controller to control wait for Upcoming God's-AOSP it will have it Inbuilt]


#GK-R3-20151227:

Fixed Camera blank screen issues.
Adopted Anykernel2 build style
Added init.gods.rc
Added post boot script for applying GK custom settings
Added Google Services battery drain fixer by Alcolawl@xda
Switched Back to UBERTC-6.0 Tool-Chain



#GK-R2-20151225:

Evisceration - mmc: toggleable software crc
buckmarble - net: bcmdhd: reduce ctrl wake lock with separate sysfs node and rename rx wakelock node as well
franciscofranco - wakeup: add toggles for wlan wakelocks
franciscofranco - wakeup: add userspace knob to enable/disable msm_hsic_host wakelock
imoseyon - power: skip sensor_ind wakeup source activation via sysfs
franciscofranco - net: bcmdhd: reduce wlan_rx wakelock period
flar2 - net: bcmdhd: reduce wakelocks
AudioGod - Revert "bcmdhd: reduce rx wakelock timeout via sysfs node"
AudioGod - Revert "bcmdhd: reduce wakelocks"
AudioGod - GK Build:Add option to generate change-log before starting build & add UBERTC-5.2 to toolchain selection menu
anarkia1976 - Adding Change-log generator script for God's Kernel
AudioGod - drivers/soc/qcom/Kconfig: Fix invalid option & syntax error
AudioGod - GK defconfig: Enable INTELLI Plug
Paul Reioux - intelli_plug: add perf_boost sysfs entry and clean up permissions
Paul Reioux - intelli_plug: add performance boost option
Paul Reioux - sched: compatibility fix up for intelliplug
Paul Reioux - intelli_plug: intelligent hotplug cpu driver with eco mode
Tk-Glitch - sched: Add sysinterface for GENTLE_FAIR_SLEEPERS
Paul Reioux - intelli_thermal v3.0: initial coding for Linux 3.10 Qualcomm kernels
AudioGod - Revert "msm: thermal: add a module param to change the thermal throttle temperature point to userspace"


#GK-R1-20151222:
  • Initial Build Added Bellow mentioned Features & Fixes on Top of Stock AOSP Kernel Source
  • Ramdisk Anykernel Format (Can flash over any Roms)
  • No More force encryption & Does not modify system partition
  • Linux kernel 3.10.94
  • OC Support on both Big & Small Clustures. Big upto 2.2GHZ and Small 1.6GHZ
  • Adreno idler [An efficient workaround for msm-adreno-tz's overheads]
  • Gestures Control: DoubleTap2Wake, Sweep2Wake, Sweep2Sleep,Camera launch gesture
  • Governors: Barry-Allen,pegasusq,Hyper,Intelliactive,Darkness,Blu-Active,ImpluseElementalx,lionheart,Bioshock
    Interactive, Conservative, Ondemand, Powersave, Performance,,userspace
  • Hot-Plug Drviers: MSM Hotplug,MSM MPDecision Hotplug[Bricked Hotplug]
  • State Notifier Driver.
  • MSM Limiter Driver.
  • CPU Boot Controls.
  • Enhanced cpu boost drivers
  • Toggles for Wakeup Boost and Hot-Plug Boost
  • Toggle Schedule workqueues on awake CPUs to save power
  • PowerSuspend Mode [Autosleep, userspace,LCD Panel,Hybrid]
  • Added Quickwakeup initial Driver.
  • Enabled ARCH Power
  • Schedulers: Noop, Deadline, Row, cfq, bfq, fiopsio, sioplus.
  • TCP Congestion Algorithms: Highspeed, cubic, reno, bic, westwood, hybla, htcp, vegas, veno, scalable, ip, yeah, illinois.
  • CPU Voltage Control
  • NTFS r/w and exFAT support
  • F2FS filesystem support
  • Fsync On/Off switch.
  • Added ZSWAP, FRONTSWAP, VNSWAP along with Zram
  • KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
  • Backlight dimmer option
  • High Brightness Mode option
  • Live Display Driver for CM Based Roms
  • HBM panel commands
  • Faux Sound Control 3.x GPL ,Sound Driver 36
  • msm_performance
  • Frandom Support.
  • Random entropy tweaks.
  • WakeLock Control (wifi, proximity, modem)
  • Thermal:Added a module param to change the thermal throttle temperature point to userspace
  • Selinux permissive by default
  • Disable crc check for 30% extra performance in IO.
  • Corrected the AD backlight calculation formulas
  • Corrected RGB LED brightness for solid indications
  • Fixed gcc-4.9.0 miscompilation of load_balance() in scheduler
  • Muted userspace and kernel audit logs
  • Disabled power_aware and enable all cores on boot.
  • Enabled Dcache word access.
  • Added many more CPU scheduler,cpuidle,Timing optimizations patches.

Credits

I would like to thank @CL3Kener @flar2 @DespairFactor @faux123 @imoseyon @showp1984 @myfluxi @savoca @franciscofranco
@Dorimanx @arter97 @neobuddy89 @ak @eng.stk for their work/codes on kernels which may directly/ indirectly incorporated into this project. I respect you guys work alot . Thanks a Ton Again.:good:

**If I still miss any one by-mistake Please don't start Thermo-Nuclear War or Ward War -3 in with me In thread Just Push a PM to me I will not bother to Add your Name to list if you deserve it ...


Installation


Very Simple Flash in Any Custom Recovery !!

GK comes with maximum compatibility with all ROMs, GK patches your existing ramdisk.
Preferably Do NOT flash this over other custom kernels!
You should only flash GK over the kernel that came with your ROM [Stock /Custom] !!!


http://gk.sungsonic.co/




Do you like my work?
http://xdaforums.com/donatetome.php?u=4284308


Disclaimer To Moderators:

Slight Off-Topic is fine & allowed In My threads , but when users decide to act stupid with trolls,lack of respect , Racial criticism ,religious criticism they should be dealt with with the appropriate means .Please put the warning/ban hammer anytime any of you think there's lack of respect and/or too much unwanted Off-Topic crap



Cheers :good::good:

Source Code



XDA:DevDB Information
God's Kernel, Kernel for the Huawei Nexus 6P

Contributors
Adi Shakthi
Kernel Special Features: Simple, Stable ,Poweful

Version Information
Status: Stable
Current Stable Version: GK-R4
Stable Release Date: 2016-01-23

Created 2015-12-22
Last Updated 2016-04-01
 

Adi Shakthi

Senior Member
Oct 5, 2011
4,928
16,143
Everywhere
Screenshots

2015_12_22_19.15.07.png 2015_12_22_19.25.58.png 2015_12_22_19.17.32.png 2015_12_22_19.18.48.png

2015_12_22_19.19.10.png 2015_12_22_19.19.24.png 2015_12_22_19.19.42.png 2015_12_22_19.20.15.png

2015_12_22_19.20.41.png 2015_12_22_19.21.25.png 2015_12_22_19.21.41.png 2015_12_22_19.22.54.png

2015_12_22_19.23.53.png 2015_12_22_19.24.21.png 2015_12_22_19.25.19.jpg
 
Last edited:

Adi Shakthi

Senior Member
Oct 5, 2011
4,928
16,143
Everywhere
Frequently Asked Questions.

(1)CPU governors and I/O schedulers what are they & How they works ?
[Click Here And Read out completely.........;) Thanks to @gsstudios, Recognized Contributor for superb guide.

(2)How to achieve same performance with less battery drain ?
Click Here Answer is in your click ;)

(3)What is a Governor & A Hot-plug ?
Click Here Answer is in your click ;)

(4)What are the Battery Saving & Smoothness Tricks ?
Click Here Answer is in your click ;)

(5)How to Use KCAL - Advanced color control ?
Click Here Answer is in your click ;)

Adding More As needs..............:cool:
 
Last edited:
  • Like
Reactions: opomiyulen

subhjvlz

Senior Member
Aug 18, 2015
75
17
Flashed, will review soon. Thanks for the amazing work you have done in past and still counting. I can understand and appreciate the pain and dedication you take for your work. Also I know on how scarce resources you work. Hats off to you man. Truly amazing. Love your work.
 
  • Like
Reactions: Adi Shakthi

yung40oz84

Senior Member
Sep 23, 2014
3,090
1,027
sites.psu.edu
Hope soon .....will resume work from morning [emoji12]

Sent from my Nexus 6P using Tapatalk

Is it a layers ROM? Can't wait to try that! This is the only kernel that gives me all the sound options I need in Kernel Adiutor. All others have the left and right headphone gain implemented but it only shows in synapse and most kernels do not come with UKM support, loving this kernel so far on DU! Thanks!
 
  • Like
Reactions: Adi Shakthi

subhjvlz

Senior Member
Aug 18, 2015
75
17
Max little cannot be set over 1248MHz.
Max big toggles (is not constant) after setting to any value. In fact it can't be set.
 

Attachments

  • 1450812266344.jpg
    1450812266344.jpg
    47 KB · Views: 1,453
  • 1450812286877.jpg
    1450812286877.jpg
    41.7 KB · Views: 1,439

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    God's-Kernel

    DISCLAIMER:

    Code:
    #include
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked /fried devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this Kernel
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */


    Features Of God's-Kernel-N-Preview

    • Built Using UBERTC- 4.9 Aarch64 Toolchain along with optimizations like GCC optimization for cortex-a57 ,O3 & Graphite flags.
    • Ramdisk Anykernel Format (Can flash over any Roms)
    • No More force encryption & Does not modify system partition
    • OC Support on both Big & Small Clustures. Big upto 2.2GHZ and Small 1.6GHZ
    • Gestures Control: DoubleTap2Wake, Sweep2Wake, Sweep2Sleep,Camera launch gesture
    • Governors: Elementalx,Interactive, Conservative, Ondemand, Powersave, Performance,,userspace
    • Enabled ARCH Power
    • Schedulers: Noop, Deadline, Row, cfq, bfq, fiops, sio.
    • exFAT support
    • Fsync On/Off switch.
    • KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
    • Backlight dimmer option
    • High Brightness Mode option
    • HBM panel commands
    • Faux Sound Control 3.6 GPL ,Sound Driver 36
    • Disable crc check for 30% extra performance in IO.
    • Corrected RGB LED brightness for solid indications
    • Disabled power_aware and enable all cores on boot.


    Features Of God's-Kernel-M

    • Built Using UBERTC- 6.0 Aarch64 Toolchain along with optimizations like GCC optimization for cortex-a57 ,O3 & Graphite flags.
    • Ramdisk Anykernel Format (Can flash over any Roms)
    • No More force encryption & Does not modify system partition
    • Linux kernel 3.10.94
    • OC Support on both Big & Small Clustures. Big upto 2.2GHZ and Small 1.6GHZ
    • Adreno idler [An efficient workaround for msm-adreno-tz's overheads]
    • Gestures Control: DoubleTap2Wake, Sweep2Wake, Sweep2Sleep,Camera launch gesture
    • Governors: Barry-Allen,pegasusq,Hyper,Intelliactive,Darkness,Blu-Active,ImpluseElementalx,lionheart,Bioshock
    • Interactive, Conservative, Ondemand, Powersave, Performance,,userspace
    • Hot-Plug Drviers: MSM Hotplug,MSM MPDecision Hotplug[Bricked Hotplug]
    • Inteli-Plug hotplug cpu driver with eco mode
    • State Notifier Driver.
    • MSM Limiter Driver.
    • CPU Boot Controls.
    • Enhanced cpu boost drivers
    • Add sysinterface for GENTLE_FAIR_SLEEPERS [toggle switch]
    • Toggles for Wakeup Boost and Hot-Plug Boost
    • Toggle Schedule workqueues on awake CPUs to save power
    • PowerSuspend Mode [Autosleep, userspace,LCD Panel,Hybrid]
    • Added Quickwakeup initial Driver.
    • Enabled ARCH Power
    • Schedulers: Noop, Deadline, Row, cfq, bfq, fiopsio, sioplus.
    • TCP Congestion Algorithms: Highspeed, cubic, reno, bic, westwood, hybla, htcp, vegas, veno, scalable, ip, yeah, illinois.
    • CPU Voltage Control
    • NTFS r/w and exFAT support
    • F2FS filesystem support
    • Fsync On/Off switch.
    • Added ZSWAP, FRONTSWAP, VNSWAP along with Zram
    • KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
    • Backlight dimmer option
    • High Brightness Mode option
    • Live Display Driver for CM Based Roms
    • HBM panel commands
    • Faux Sound Control 3.x GPL ,Sound Driver 36
    • msm_performance
    • Frandom Support.
    • Random entropy tweaks.
    • Userspace knob to enable/disable msm_hsic_host wakelock
    • Toggles for wlan wakelocks
    • Intelli_thermal v3.0: initial coding for Linux 3.10 Qualcomm kernels
    • Thermal:Added a module param to change the thermal throttle temperature point to userspace
    • Selinux permissive by default
    • Disable crc check for 30% extra performance in IO.
    • Toggleable software crc
    • Corrected the AD backlight calculation formulas
    • Corrected RGB LED brightness for solid indications
    • Fixed gcc-4.9.0 miscompilation of load_balance() in scheduler
    • Muted userspace and kernel audit logs
    • Disabled power_aware and enable all cores on boot.
    • Enabled Dcache word access.
    • Added many more CPU scheduler,cpuidle,Timing optimizations patches.


    Change-Log-N-Preview:


    #GK-NR1.0-Angler-20160401:

    Project name: God's Kernel-N
    AudioGod - Revert "Hardcode selinux to permissive at kernel level"
    Pranav Vashi - qcom-cpufreq: Prevent false check
    Senthil Kumar Rajagopal - [PATCH] Fix extern inline use for gcc > 4.3 in c99 mode
    Arnd Bergmann - X.509: silence asn1 compiler debug output
    Antonio Alecrim Jr - X.509: remove possible code fragility: enumeration values not handled
    AudioGod - GK Build: Build GK-NR1.0
    AudioGod - Add Compiler GCC-6.0
    franciscofranco - tick: don't update idle time if cpu offline
    imoseyon - cpufreq: show cpu voltages via sysfs
    imoseyon - DTS: Overclock A57 to 2.2GHz & A53 to 1.6GHz
    Susan - Disable power_aware and enable all cores on boot.
    Greg Hackmann - arch: arm64: force -fno-pic
    AudioGod - GK defconfig: Dolby DAP post processing & Sound Prime
    AudioGod - Enable arch power
    AudioGod - Add more Zram
    smartperson - Fix Angler 3-button headset button press detection
    atl4ntis - Don't reset keys pressed at suspend time
    flar2 - sound control: correct registers for phone mic and video mic
    flar2 - sound control: add speaker gain tunable
    Pavel - sound/soc/codecs: add TOMTOM_A_CDC_RX8
    pafcholini - Sound Control: 3.6
    Pavel - sound/soc/codecs: add sound_control_locked
    Pavel - sound/soc/codecs: fix speaker gain and mic gain for the Nexus-6P
    pafcholini - sound/soc/codecs: Faux Sound control for WCD9330 TomTom codec driver
    Sam Mortimer - Set RGB LED brightness for solid indications
    flar2 - msm: mdss: request HS mode when sending HBM cmds
    Zac Crosby - msm: mdss: Allow user space control of HBM
    flar2 - msm: mdss: Add HBM panel commands
    AudioGod - Revert "msm: vidc: Allow clients to specify/query the colorspace"
    Zhuowei Zhang - Attempt at porting kexec-hardboot for arm64; not working at all
    Geoff Levand - debugging: Bypass purgatory
    Ard Biesheuvel - of/fdt: export fdt blob as /sys/firmware/fdt
    Aaron Kling - Add kexec support for aarch64
    Pradeep Sawlani - ksm: check and skip page, if it is already scanned
    Jens Axboe - cfq-iosched: fix the setting of IOPS mode on SSDs
    Tahsin Erdogan - block: Make CFQ default to IOPS mode on SSDs
    flar2 - wake_gestures: remove unnecessary wakelock
    FrozenCow - usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
    Nikhilesh Reddy - fs: Workaround the compiler's bad optimization
    franciscofranco - wakeup: add toggle for bluedroid_timer wakelock
    flar2 - msm: qpnp-haptic: disable vibration when vmax_mv_strong is set to min
    David Herrmann - Bluetooth: hidp: fix device disconnect on idle timeout
    Ping Li - msm: mdss: Correct the AD backlight calculation formulas
    Ulf Hansson - mmc: core: Use mmc_flush_cache() during mmc suspend
    myfluxi - msm: kgsl: Report correct GPU frequency in sysfs
    myfluxi - PM: devfreq: Use high priority workqueue
    Manikanta Sivapala - msm: vidc: disable CPU L2 cache PC during video sessions
    flar2 - msm_performance: Make input boosting optional
    flar2 - mdss_fb: backlight dimmer option
    flar2 - wake_gestures: adjust timing for camera gesture
    flar2 - wake_gestures: update timings for new tick rate
    flar2 - wake_gestures: enable sweep up by default
    flar2 - wake_gestures: add camera launch gesture
    flar2 - angler: Wake gestures: sweep2wake, sweep2sleep and doubletap2wake
    flar2 - angler: enable dt2w while tp is suspended
    flar2 - Revert "angler: kernel: Do not enable or disable gesture mode after tp suspended."
    savoca - msm: mdss: kcal: Only apply updates on index 0
    savoca - msm: mdss: kcal: Use PCC for negative display mode
    savoca - msm: mdss: KCAL: Send a pp display commit when changes are made
    savoca - msm: mdss: KCAL: Do not read from picture adjustment registers
    savoca - msm: mdss: KCAL: Read values from MDP registers wherever possible
    flar2 - msm: mdss: KCAL: forgot to delete file
    savoca - msm: mdss: KCAL: Apply default values on boot
    savoca - msm: mdss: KCAL: Queue changes when panel is powered off
    savoca - msm: mdss: KCAL: Remove MODULE_DESCRIPTION
    savoca - msm: mdss: KCAL: Update Kconfig description
    savoca - msm: mdss: KCAL: Update according to linux guidelines and checkpatch.pl
    savoca - msm: mdss: KCAL: Check panel power state before applying values
    savoca - msm: mdss: KCAL: Allow kcal_enable to control all post-processing features
    savoca - msm: mdss: Keep KCAL within its own source file
    savoca - msm: mdss: Add pa_v2 support to KCAL
    savoca - msm: mdss: Replace PGC implementation with PCC for KCAL
    savoca - msm: mdss: Add KCAL support for post processing control [v2]
    flar2 - cpufreq_elementalx: add missing declaration
    flar2 - cpufreq_elementalx: cache tunables
    flar2 - cpufreq_elementalx: add powersave mode and adjust freq tables
    flar2 - cpufreq_elementalx: remove gboost
    flar2 - cpufreq_elementalx: freq_table per policy and pass policy to init function
    flar2 - cpufreq_elementalx: store freq_table per policy and add static reference tables
    flar2 - cpufreq_elementalx: remove fb notifier
    flar2 - cpufreq_elementalx: pick next freq from freq tables
    flar2 - cpufreq_elementalx: tune and make less aggressive
    flar2 - cpufreq_elementalx: replace input boost with down factor and floor frequency
    flar2 - cpufreq_elementalx: disable input boost
    flar2 - cpufreq_elementalx: let input boost drop to lower frequency
    flar2 - cpufreq_elementalx: increase max screen off freq
    flar2 - cpufreq_elementalx: apply input boost per-cpu
    flar2 - cpufreq_elementalx: refactor and adjust
    flar2 - ElementalX governor version 2
    Bibek Basu - cpufreq: remove race while accessing cur_policy
    Viresh Kumar - cpufreq: governor: remove copy_prev_load from 'struct cpu_dbs_common_info'
    Srivatsa S. Bhat - cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
    Jeff Liu - binfmt_elf.c: use get_random_int() to fix entropy depleting
    flar2 - deadline: decrease fifo_batch
    Mauro Andreolini - block, bfq: add Early Queue Merge (EQM) to BFQ-v7r6 for 3.10.8+
    Paolo Valente - block: introduce the BFQ-v7r6 I/O sched for 3.10.8+
    Arianna Avanzini - block: cgroups, kconfig, build bits for BFQ-v7r6-3.10.8+
    franciscofranco - Added fsync on/off support.
    flar2 - Add exFAT support
    flar2 - Add SIO and FIOPS i/o schedulers
    AudioGod - Disable crc check for 30% extra performance in IO
    AudioGod - Hardcode selinux to permissive at kernel level
    AudioGod - Makefile: Add GCC optimization for cortex-a57
    AudioGod - Optimizations:Add O3 & Graphite flags
    flar2 - mmc: clk_scaling: set scale_down_in_low_wr_load to 1 by default
    Talel Shenhar - mmc: clk_scaling: add sysfs for avoiding scale down in write
    AudioGod - Add GK Build Script & Change-log Generator


    Change-Log-M:


    #GK-R4-20160123:

    Merged all upstream from AOSP android-msm-angler-3.10-marshmallow-mr1
    [updated GK source to Latest aosp kernel Source]
    Enabled Dolby DAP post processing & Sound Prime .
    [If you don't find Dolby DAP controller to control wait for Upcoming God's-AOSP it will have it Inbuilt]


    #GK-R3-20151227:

    Fixed Camera blank screen issues.
    Adopted Anykernel2 build style
    Added init.gods.rc
    Added post boot script for applying GK custom settings
    Added Google Services battery drain fixer by Alcolawl@xda
    Switched Back to UBERTC-6.0 Tool-Chain



    #GK-R2-20151225:

    Evisceration - mmc: toggleable software crc
    buckmarble - net: bcmdhd: reduce ctrl wake lock with separate sysfs node and rename rx wakelock node as well
    franciscofranco - wakeup: add toggles for wlan wakelocks
    franciscofranco - wakeup: add userspace knob to enable/disable msm_hsic_host wakelock
    imoseyon - power: skip sensor_ind wakeup source activation via sysfs
    franciscofranco - net: bcmdhd: reduce wlan_rx wakelock period
    flar2 - net: bcmdhd: reduce wakelocks
    AudioGod - Revert "bcmdhd: reduce rx wakelock timeout via sysfs node"
    AudioGod - Revert "bcmdhd: reduce wakelocks"
    AudioGod - GK Build:Add option to generate change-log before starting build & add UBERTC-5.2 to toolchain selection menu
    anarkia1976 - Adding Change-log generator script for God's Kernel
    AudioGod - drivers/soc/qcom/Kconfig: Fix invalid option & syntax error
    AudioGod - GK defconfig: Enable INTELLI Plug
    Paul Reioux - intelli_plug: add perf_boost sysfs entry and clean up permissions
    Paul Reioux - intelli_plug: add performance boost option
    Paul Reioux - sched: compatibility fix up for intelliplug
    Paul Reioux - intelli_plug: intelligent hotplug cpu driver with eco mode
    Tk-Glitch - sched: Add sysinterface for GENTLE_FAIR_SLEEPERS
    Paul Reioux - intelli_thermal v3.0: initial coding for Linux 3.10 Qualcomm kernels
    AudioGod - Revert "msm: thermal: add a module param to change the thermal throttle temperature point to userspace"


    #GK-R1-20151222:
    • Initial Build Added Bellow mentioned Features & Fixes on Top of Stock AOSP Kernel Source
    • Ramdisk Anykernel Format (Can flash over any Roms)
    • No More force encryption & Does not modify system partition
    • Linux kernel 3.10.94
    • OC Support on both Big & Small Clustures. Big upto 2.2GHZ and Small 1.6GHZ
    • Adreno idler [An efficient workaround for msm-adreno-tz's overheads]
    • Gestures Control: DoubleTap2Wake, Sweep2Wake, Sweep2Sleep,Camera launch gesture
    • Governors: Barry-Allen,pegasusq,Hyper,Intelliactive,Darkness,Blu-Active,ImpluseElementalx,lionheart,Bioshock
      Interactive, Conservative, Ondemand, Powersave, Performance,,userspace
    • Hot-Plug Drviers: MSM Hotplug,MSM MPDecision Hotplug[Bricked Hotplug]
    • State Notifier Driver.
    • MSM Limiter Driver.
    • CPU Boot Controls.
    • Enhanced cpu boost drivers
    • Toggles for Wakeup Boost and Hot-Plug Boost
    • Toggle Schedule workqueues on awake CPUs to save power
    • PowerSuspend Mode [Autosleep, userspace,LCD Panel,Hybrid]
    • Added Quickwakeup initial Driver.
    • Enabled ARCH Power
    • Schedulers: Noop, Deadline, Row, cfq, bfq, fiopsio, sioplus.
    • TCP Congestion Algorithms: Highspeed, cubic, reno, bic, westwood, hybla, htcp, vegas, veno, scalable, ip, yeah, illinois.
    • CPU Voltage Control
    • NTFS r/w and exFAT support
    • F2FS filesystem support
    • Fsync On/Off switch.
    • Added ZSWAP, FRONTSWAP, VNSWAP along with Zram
    • KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
    • Backlight dimmer option
    • High Brightness Mode option
    • Live Display Driver for CM Based Roms
    • HBM panel commands
    • Faux Sound Control 3.x GPL ,Sound Driver 36
    • msm_performance
    • Frandom Support.
    • Random entropy tweaks.
    • WakeLock Control (wifi, proximity, modem)
    • Thermal:Added a module param to change the thermal throttle temperature point to userspace
    • Selinux permissive by default
    • Disable crc check for 30% extra performance in IO.
    • Corrected the AD backlight calculation formulas
    • Corrected RGB LED brightness for solid indications
    • Fixed gcc-4.9.0 miscompilation of load_balance() in scheduler
    • Muted userspace and kernel audit logs
    • Disabled power_aware and enable all cores on boot.
    • Enabled Dcache word access.
    • Added many more CPU scheduler,cpuidle,Timing optimizations patches.

    Credits

    I would like to thank @CL3Kener @flar2 @DespairFactor @faux123 @imoseyon @showp1984 @myfluxi @savoca @franciscofranco
    @Dorimanx @arter97 @neobuddy89 @ak @eng.stk for their work/codes on kernels which may directly/ indirectly incorporated into this project. I respect you guys work alot . Thanks a Ton Again.:good:

    **If I still miss any one by-mistake Please don't start Thermo-Nuclear War or Ward War -3 in with me In thread Just Push a PM to me I will not bother to Add your Name to list if you deserve it ...


    Installation


    Very Simple Flash in Any Custom Recovery !!

    GK comes with maximum compatibility with all ROMs, GK patches your existing ramdisk.
    Preferably Do NOT flash this over other custom kernels!
    You should only flash GK over the kernel that came with your ROM [Stock /Custom] !!!


    http://gk.sungsonic.co/




    Do you like my work?
    http://xdaforums.com/donatetome.php?u=4284308


    Disclaimer To Moderators:

    Slight Off-Topic is fine & allowed In My threads , but when users decide to act stupid with trolls,lack of respect , Racial criticism ,religious criticism they should be dealt with with the appropriate means .Please put the warning/ban hammer anytime any of you think there's lack of respect and/or too much unwanted Off-Topic crap



    Cheers :good::good:

    Source Code



    XDA:DevDB Information
    God's Kernel, Kernel for the Huawei Nexus 6P

    Contributors
    Adi Shakthi
    Kernel Special Features: Simple, Stable ,Poweful

    Version Information
    Status: Stable
    Current Stable Version: GK-R4
    Stable Release Date: 2016-01-23

    Created 2015-12-22
    Last Updated 2016-04-01
    9
    UPDATE NOTE:
    Version : GK-R4-20160123

    Change-Log:
    * Merged all upstream from AOSP android-msm-angler-3.10-marshmallow-mr1
    [updated GK source to Latest aosp kernel Source]
    * Enabled Dolby DAP post processing & Sound Prime .
    [If you don't find Dolby DAP controller to control wait for Upcoming God's-AOSP it will have it Inbuilt]

    hope all will love new update.......:good:
    6
    UPDATE-GK-R2-20151225

    Major changes In GK-R2-20151225 :

    1. Added Intelli_thermal v3.0: initial coding for Linux 3.10 Qualcomm kernels
    2. sched: Add sysinterface for GENTLE_FAIR_SLEEPERS [toggle switch]
    3. Added Intelli_plug: intelligent hotplug cpu driver with eco mode
    4. sched: compatibility fix up for intelliplug
    5. intelli_plug: add performance boost option
    6. Intelli_plug: add perf_boost sysfs entry and clean up permissions
    7. wakeup: add userspace knob to enable/disable msm_hsic_host wakelock
    8. wakeup: add toggles for wlan wakelocks
    9. mmc: toggleable software crc
    10. Switched to UBERTC 5.2 tool-chain for experimental purpose

    Screenshots:
    2015_12_25_10.29.34.png 2015_12_25_10.30.00.png 2015_12_25_10.30.21.png 2015_12_25_10.30.32.png

    &

    Merry Christmas to all XDA users & GK users
    Adi.