[KERNEL][24.12.2013][X920D][JB 4.2.2] KillX Kernel v3.8.6 [Discontinued]

Search This thread

it2007me

Senior Member
Aug 27, 2011
332
433
66
Kuala Lumpur
192.210.138.17
KillX Kernel
(version 3.8.6)



Screenshot_2013_12_24_15_33_58_1.png


/!\ DISCLAIMER: I AM NOT RESPONSIBLE IF YOU BRICK / RUIN YOUR PHONE IN ANY WAY /!\

location.png
What is ...?


icon3.gif
What is USB Force Fast Charge?

This allows one to force AC charging for any charger that is detected as USB (e.g. many car chargers) and pull the full current the charger can support.
It also provides additional security when connecting to public charging stations because by forcing AC charging, USB/adb data transfers are disabled, protecting your data.
Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
and off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
icon3.gif
What is I/O Scheduler?
Input/output (I/O) scheduling is a term used to describe the method computer operating systems decide the order that block I/O operations will be submitted to storage volumes.
I/O Scheduling is sometimes called 'disk scheduling'. I/O schedulers can have many purposes depending on the goal of the I/O scheduler, some common goals are:
+ To minimize time wasted by hard disk seeks.
+ To prioritize a certain processes' I/O requests.
+ To give a share of the disk bandwidth to each running process.
+ To guarantee that certain requests will be issued before a particular deadline.
icon3.gif
What is msm_thermal?
Kernel based 3-phase thermal control.This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_bkp
Check /sys/kernel/msm_thermal/conf/ for the thermal configuration
allowed_max_high = highest threshold (phase 3)
allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
allowed_max_freq = max frequency if throttled (limit)

[...]mid[...] = same as above, just for phase 2
[...]low[...] = Lowest threshold (phase 1)

check_interval_ms = how often shall we check? (sampling rate)
Default: 1000ms = 1sec


icon3.gif
What is msm_mpdecision?
Kernel based multi core decision
This replaces your /system/bin/mpdecision binary which is ignored in init.rc and
renamed by the installer to mpdecision_bkp

+ cpu auto-hotplug/unplug based on system load for MSM multicore cpus [should cpu(x) be online or not?]
+ single core while screen is off
+ extensive sysfs tuneables

Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
Code:
startdelay = time until mpdecision starts doing it's magic (20000)
delay      = time between checks (70)
pause      = if something else plugs in the cpu, fall asleep for 3000ms (3 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled   = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus  = min cpus to be online, cannot be < 1. Default: 1
max_cpus  = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (486000)
If cpu0 is below that value and a core up of another cpu is requested, nothing will happen.
If any other cpu is above that value and a core down of that cpu is requested, nothing will happen. (otherwise it would now put down that cpu even though it is still working, which isn't what we want)

Hot plug thresholds (aka now it gets 'complicated')
This small formula calculates which value will be used: (number_of_cpus_online - 1) * 2
The result of this formula will be the nwns_threshold where a new cpu is hotplugged.
The result of this formula + 1 will be the nwns_threshold where a cpu is unplugged.

nwns_threshold_x = runqueue threshold, if this is reached cpuX will be hot/unplugged
twts_threshold_x = time threshold, this amount of time must have passed for the related action to be taken (hot/unplug)

Example:
Code:
One cpu is online.
(1 - 1) * 2 = 0 ergo:
nwns_threshold_0 = cpu1 will be hotplugged at this value
((1 - 1) * 2) + 1 = 1
nwns_threshold_1 = cpu0 will be unplugged at this value
Since we can't unplug cpu0 this is '0'.

Two cpus are online.
(2 - 1) * 2 = 2 ergo:
nwns_threshold_2 = cpu2 will be hotplugged at this value
((2 - 1) * 2) + 1 = 3
nwns_threshold_3 = cpu1 will be unplugged at this value
etc...

The default values are:
NwNs_Threshold: 12, 0, 25, 20, 32, 28, 0, 35
TwTs_Threshold: 140, 0, 140, 190, 140, 190, 0, 190
Where the position and function of the number equals the result of the above explained formula



location.png
Features:

Code:
[FONT=Arial Black][SIZE=2]
* /system rw
* support init.d
* adb root
* swap on
* USB Force Fast Charging
* [B]Energy Efficiency[/B]
* XZ compressed kernel
* Using /dev/frandom
* allow WiFi networks with low signal to be seen !
* exFAT support
* intelli/msm_thermal
* msm_mpdecision
* [B]IO[/B]: noop, deadline, cfq, sio, fiops
* [B]CPU Governor[/B] : msm-dcvs, userspace, powersave, ondemand, performance, DanceDance & Lionheart
* Zram (wip)
* staging: zram: per-cpu support to Crypto
[/SIZE][/FONT][CENTER][B][FONT=Arial][SIZE=2][FONT=Arial]
Please read Change log for more info.[/FONT][/SIZE][/FONT][/B][/CENTER]
location.png
Installation
:


[!] Unlocked Bootloader
[!] Custom Recovery Installed CWM or TWRP
[!] S-OFF + rooted + busybox Installed
Code:
1. Download the zip
2. flash in recovery ( copy to sdcard or use adb sideload )

Reboot n Enjoy!


Thank`s to:
Linus Torvalds, showp1984, faux123, Zarboz, dsb9938, elkay, crpalmer, chad0989, codeaurora.org, kernel.org, linux-foundation.org, xda-developers.com, HTC and all kernel and rom dev !!!

Please use and enjoy it, and if you can make a donation of any amount, I'd appreciate it immensely
 
Last edited:

it2007me

Senior Member
Aug 27, 2011
332
433
66
Kuala Lumpur
192.210.138.17
Change Log

Previous Version:
KillX v1.0.1
Code:
Wed Dec 18 06:31:31 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)

TWEAK:
+ io: deadline
+ io: cfq
+ force fast charge: battery 8960: unknown USB -> AC

ADD:
+ io: fiops
+ io: sio
+ force fast charge by chad0989

FIX:
+ compile warning TODO: return_address
+ compile error: adreno.c [-Wframe-larger-than=]
+ Makefile: Assembler messages

Compile:
+ linaro -O3 compliance #1
+ Test Built #1

Change:
+ Compiler flags
+ set version : This is KillX v1.0.1

Disable:
+ PERFLOCK #1

KillX v3.8.6
Code:
Tue Dec 24 01:18:20 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)

ADD:
* /dev/frandom
* allow WiFi networks with low signal to be seen
* cpu gov: DanceDance & Lionheart
* exFAT support
* intelli/msm_thermal
* msm_mpdecision
* Zram (wip)
* crypto: lz4 Cryptographic API
* lib: lz4 compressor module
* arm: support for LZ4-compressed kernel
* lib: support for LZ4-compressed kernel
* decompressor: LZ4 decompressor module
* staging: zram: per-cpu support to Crypto

SET:
* b43: Increase number of RX DMA slots
* config: intelli/msm_thermal
* config: msm_mpdecision boost and CPU FREQ MIN MAX
* config: msm_mpdecision boost off
* config: UACCESS_WITH_MEMCPY = No
* Don't force RUN_QUEUE_STATS to be on
* lib/int_sqrt.c: optimize square root algorithm
* LOAD_FREQ: avoids loadavg Moire http://ripke.com/loadavg/moire
* Makefile: Snapdragon optimizations
* msm_hsic: decrease timeout, 500 to 120
* wifi: enabled PM_FAST by default
* config: ADAPTIVE_TUNING off
* softirq: reduce latencies
* zram_drv: switch default compressor to new lz4
* AIO: Don't plug the I/O queue in do_io_submit()
* zcache-main: switch to lz4 as default
* zcache-main.c: use MACRO define instead of hardcoded default of lzo

REMOVE:
* bonding: already created master sysfs link on failure
* code: __cpuinitdata and __cpuinit
* code: get rid of __devinit and __cpuinit, cpuinit into nops
* code: perflock.c
* inotify: remove broken mask checks causing unmount to be EINVAL
* net: WARN_ON() in net_enable_timestamp()
* rwsem: steal writing sem for better performance
* rwsem: Writer lock-stealing
* scheduler: compute time-average nr_running per run-queue #2
* video: msm:mdp pr_debug _mdp_histogram_crtl start false
* workqueue: HTC's incompatible workqueue debug
* drivers/gpu/msm/kgsl.c: silence annoying and useless dmesg log spam
* sched/rt: redundant nr_cpus_allowed test
* drivers/misc/pm8xxx-vibrator-pwm.c: disable meaningless dmesg log spam
* drivers/input/evbug.c: silence annoying dmesg log spam

UPDATE: 
* ARM: 7011/1: Add ARM cpu topology definition #2
* efivars: update
* fs: sync
* ipv6: addrconf
* ipv6: ip6_input
* sysfs: dir.c
* zram_drv.c
* SELinux: include definition of new capabilities

FIX:
* ALSA: hda - Release assigned pin/cvt at error path of hdmi_pcm_open()
* aoe: reserve enough headroom on skbs
* ARM: PXA3xx: program the CSMSADRCFG register
* ARM: scheduling while atomic warning in alignment handling code
* ARM: VFP: emulation of second VFP instruction
* ARMv7: perf: EVTYPE_MASK to include NSH bit
* Bluetooth: not closing SCO sockets in the BT_CONNECT2 state
* bonding: disabling of arp_interval and miimon and arp_interval
* bridge: priority of STP packets
* Btrfs: don't drop path when printing out tree errors in scrub
* Btrfs: limit the global reserve to 512mb
* Btrfs: race between mmap writes and compression
* cgroup: exit() vs rmdir() race
* cifs: Allow passwords which begin with a delimitor
* cifs: ensure that cifs_get_root() only traverses dir
* cifs: handling of blank password option
* compat_rw_copy_check_uvector() misuse in aio, readv, writev
* cpufreq: Convert the cpufreq_driver_lock to a rwlock
* cpufreq: Convert the cpufreq_driver_lock to use RCU
* cpuset: cpuset_print_task_mems_allowed() vs rename() race
* dca: check against empty dca_domains list before unregister provider
* Driver core: treat unregistered bus_types as having no devices
* drivercore: ordering between deferred_probe and exiting initcalls
* drivers/video: fsl-diu-fb: fix pixel formats for 24 and 16 bpp
* drm/udl: disable fb_defio by default
* drm/udl: make usage as a console safer
* drm/usb: bind driver to correct device
* drm: don't add inferred modes for monitors that don't support them
* drm: Fill depth/bits_per_pixel for C8 format
* drm: Use C8 instead of RGB332 when determining the format from depth/bpp
* efivars: explicitly calculate length of VariableName
* fb: rework locking to fix lock ordering on takeover
* fb: Yet another band-aid for fixing lockdep mess
* fbcon: don't lose the console font across generic->chip driver switch
* force vsync in board file
* fs/block_dev: page cache wrongly left invalidated,revalidate_disk()
* fs: cifs: warning: 'midQ' may be used uninitialized in this function
* fs: proc: stat: not showing all cpus
* fuse: don't WARN when nlink is zero
* futex: Mark get_robust_list as deprecated
* HID: wiimote: nunchuck button parser
* hw_random: make buffer usable in scatterlist
* iommu/msm: the include guard in iommu.h
* ipv4: bug in ping_err()
* keys,race with concurrent install_user_keyrings()
* ks8851: interpretation of rxlen field
* loop: prevent bdev freeing while device in use
* memcopy -subroutines for memory copy functions.
* memory leak in cpufreq stats
* missing nf_reset() in tun_net_xmit()
* mm/fadvise: drain all pagevecs, POSIX_FADV_DONTNEED fails
* mmc: sdhci-esdhc-imx: host version read
* mmu_notifier: have mmu_notifiers use a global SRCU
* mmu_notifier: make the mmu_notifier srcu static
* mmu_notifier: unregister NULL Pointer deref and multiple
* msm: mdp: Send fake vsync only when enabled from userspace
* msm_fb: display: blt always enabled for 720p,1080p, secure buf
* msm_fb: display: Fix flickering when BLT is enabled/disabled
* net/irda: add missing error path release_sock call
* net/sunrpc: 'subbuf.[...]' may be used uninitialized
* net: *_DIAG_MAX constants
* net: compile error when SOCK_REFCNT_DEBUG is enabled
* net: infinite loop in __skb_recv_datagram()
* NFS: Don't allow NFS silly-renamed files to be deleted,no signal
* NLM: Ensure that we resend all pending blocking locks after a reclaim
* ocfs2: unlock super lock if lockres refresh failed
* perf tools: build with bison 2.3 and older
* pnfs-block: removing DM device maybe cause oops when call dev_remove
* posix-cpu-timers: nanosleep task_struct leak
* pstore: Avoid deadlock in panic and emergency-restart path
* qseecom: Fix issue with incomplete command exiting prematurely
* Re-apply all PM/Sleep
* resume drivers/video/backlight/adp88?0_bl.c
* sky2: Receive Overflows not counted
* sky2: Threshold for Pause Packet is set wrong
* sock_diag: out-of-bounds access to sock_diag_handlers
* staging:comedi:comedi_fops: update
* staging:comedi:ni_labpc: correct differential channel sequence for AI cmd
* staging:comedi:ni_labpc: set up command4 register *after* command3
* svcrpc: make svc_age_temp_xprts enqueue under sv_lock
* switch: do_fsync() to fget_light()
* sysctl: null checking in bin_dn_node_address()
* sysfs: handle failure path correctly for readdir()
* sysfs: race between readdir and lseek
* tcp: preserve ACK clocking in TSO
* tcp: undo spurious timeout after SACK reneging
* tmpfs: use-after-free of mempolicy object
* tty: Prevent deadlock in n_gsm driver
* tty: set_termios/set_termiox should not return -EINTR
* umount oops when remove blocklayoutdriver first
* unbreak automounter support on 64-bit kernel with 32-bit userspace (v2)
* unix: race condition in unix_release()
* USB: ehci-omap: autoloading of module
* usb: gadget: udc-core: regression during gadget driver unbinding
* USB: serial: null-pointer dereferences on disconnect
* USB: usb-storage: unusual_devs update for Super TOP SATA bridge
* usb: xhci: TRB transfer length macro used for Event TRB
* vfs,pipe counter breakage
* vgacon/vt: clear buffer attributes when we load a 512 char
* vhost: length for cross region descriptor
* vlan: adjust vlan_set_encap_proto() for its callers
* vt: synchronize_rcu() under spinlock is not nice
* xen-netback: cancel the credit timer when taking the vif down
* xen-netback: correctly return errors from netbk_count_requests()
* intelli/msm_therma: missing default parameters
* writeback: occasional slow sync(1)
* CHROMIUM: mm: calculation of dirtyable memory
* intelli-thermal: stats calculations
* htc_monitor: BAD coding from HTC using global vars
* lib/lz4/lz4_compress: macro usage error
* LZ4: compression/decompression signedness mismatch (v2)

Note:
- This kernel can be installed on any rom with Sense 5 Jelly Bean 4.2.2 except BOA v6 (will built another version to support this rom)

- Work great on hboot 1.54, JB 4.2.2, TW 2.28.709.3 !

- It proved, betterrrrrrrrrrrrr battery life !
 
Last edited:

it2007me

Senior Member
Aug 27, 2011
332
433
66
Kuala Lumpur
192.210.138.17
Download Area

Code:
[1] [URL="http://xdaforums.com/attachment.php?attachmentid=2460809&d=1387322910"]killx_v1.0.1.zip[/URL]        [B]MD5[/B]: 8c31a3ff3bf1ccef12fc45a94f5d76f7

[2] [URL="http://xdaforums.com/attachment.php?attachmentid=2471082&stc=1&d=1387837499"]killx_v3.8.6.zip[/URL]        [B]MD5[/B]: 07f9ac0202ad46772566758346bee15f









 
Last edited:

webdepp

Senior Member
Oct 26, 2007
66
38
Munich
Great work!

Thanks man, really great work!
Just downloaded the modified hboot and your kernel, will flash it soon and report any issues.
Is there already a sweep2wake option, like in your older kernel version?
 
  • Like
Reactions: it2007me

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Change Log

    Previous Version:
    KillX v1.0.1
    Code:
    Wed Dec 18 06:31:31 MYT 2013
    gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
    
    TWEAK:
    + io: deadline
    + io: cfq
    + force fast charge: battery 8960: unknown USB -> AC
    
    ADD:
    + io: fiops
    + io: sio
    + force fast charge by chad0989
    
    FIX:
    + compile warning TODO: return_address
    + compile error: adreno.c [-Wframe-larger-than=]
    + Makefile: Assembler messages
    
    Compile:
    + linaro -O3 compliance #1
    + Test Built #1
    
    Change:
    + Compiler flags
    + set version : This is KillX v1.0.1
    
    Disable:
    + PERFLOCK #1

    KillX v3.8.6
    Code:
    Tue Dec 24 01:18:20 MYT 2013
    gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
    
    ADD:
    * /dev/frandom
    * allow WiFi networks with low signal to be seen
    * cpu gov: DanceDance & Lionheart
    * exFAT support
    * intelli/msm_thermal
    * msm_mpdecision
    * Zram (wip)
    * crypto: lz4 Cryptographic API
    * lib: lz4 compressor module
    * arm: support for LZ4-compressed kernel
    * lib: support for LZ4-compressed kernel
    * decompressor: LZ4 decompressor module
    * staging: zram: per-cpu support to Crypto
    
    SET:
    * b43: Increase number of RX DMA slots
    * config: intelli/msm_thermal
    * config: msm_mpdecision boost and CPU FREQ MIN MAX
    * config: msm_mpdecision boost off
    * config: UACCESS_WITH_MEMCPY = No
    * Don't force RUN_QUEUE_STATS to be on
    * lib/int_sqrt.c: optimize square root algorithm
    * LOAD_FREQ: avoids loadavg Moire http://ripke.com/loadavg/moire
    * Makefile: Snapdragon optimizations
    * msm_hsic: decrease timeout, 500 to 120
    * wifi: enabled PM_FAST by default
    * config: ADAPTIVE_TUNING off
    * softirq: reduce latencies
    * zram_drv: switch default compressor to new lz4
    * AIO: Don't plug the I/O queue in do_io_submit()
    * zcache-main: switch to lz4 as default
    * zcache-main.c: use MACRO define instead of hardcoded default of lzo
    
    REMOVE:
    * bonding: already created master sysfs link on failure
    * code: __cpuinitdata and __cpuinit
    * code: get rid of __devinit and __cpuinit, cpuinit into nops
    * code: perflock.c
    * inotify: remove broken mask checks causing unmount to be EINVAL
    * net: WARN_ON() in net_enable_timestamp()
    * rwsem: steal writing sem for better performance
    * rwsem: Writer lock-stealing
    * scheduler: compute time-average nr_running per run-queue #2
    * video: msm:mdp pr_debug _mdp_histogram_crtl start false
    * workqueue: HTC's incompatible workqueue debug
    * drivers/gpu/msm/kgsl.c: silence annoying and useless dmesg log spam
    * sched/rt: redundant nr_cpus_allowed test
    * drivers/misc/pm8xxx-vibrator-pwm.c: disable meaningless dmesg log spam
    * drivers/input/evbug.c: silence annoying dmesg log spam
    
    UPDATE: 
    * ARM: 7011/1: Add ARM cpu topology definition #2
    * efivars: update
    * fs: sync
    * ipv6: addrconf
    * ipv6: ip6_input
    * sysfs: dir.c
    * zram_drv.c
    * SELinux: include definition of new capabilities
    
    FIX:
    * ALSA: hda - Release assigned pin/cvt at error path of hdmi_pcm_open()
    * aoe: reserve enough headroom on skbs
    * ARM: PXA3xx: program the CSMSADRCFG register
    * ARM: scheduling while atomic warning in alignment handling code
    * ARM: VFP: emulation of second VFP instruction
    * ARMv7: perf: EVTYPE_MASK to include NSH bit
    * Bluetooth: not closing SCO sockets in the BT_CONNECT2 state
    * bonding: disabling of arp_interval and miimon and arp_interval
    * bridge: priority of STP packets
    * Btrfs: don't drop path when printing out tree errors in scrub
    * Btrfs: limit the global reserve to 512mb
    * Btrfs: race between mmap writes and compression
    * cgroup: exit() vs rmdir() race
    * cifs: Allow passwords which begin with a delimitor
    * cifs: ensure that cifs_get_root() only traverses dir
    * cifs: handling of blank password option
    * compat_rw_copy_check_uvector() misuse in aio, readv, writev
    * cpufreq: Convert the cpufreq_driver_lock to a rwlock
    * cpufreq: Convert the cpufreq_driver_lock to use RCU
    * cpuset: cpuset_print_task_mems_allowed() vs rename() race
    * dca: check against empty dca_domains list before unregister provider
    * Driver core: treat unregistered bus_types as having no devices
    * drivercore: ordering between deferred_probe and exiting initcalls
    * drivers/video: fsl-diu-fb: fix pixel formats for 24 and 16 bpp
    * drm/udl: disable fb_defio by default
    * drm/udl: make usage as a console safer
    * drm/usb: bind driver to correct device
    * drm: don't add inferred modes for monitors that don't support them
    * drm: Fill depth/bits_per_pixel for C8 format
    * drm: Use C8 instead of RGB332 when determining the format from depth/bpp
    * efivars: explicitly calculate length of VariableName
    * fb: rework locking to fix lock ordering on takeover
    * fb: Yet another band-aid for fixing lockdep mess
    * fbcon: don't lose the console font across generic->chip driver switch
    * force vsync in board file
    * fs/block_dev: page cache wrongly left invalidated,revalidate_disk()
    * fs: cifs: warning: 'midQ' may be used uninitialized in this function
    * fs: proc: stat: not showing all cpus
    * fuse: don't WARN when nlink is zero
    * futex: Mark get_robust_list as deprecated
    * HID: wiimote: nunchuck button parser
    * hw_random: make buffer usable in scatterlist
    * iommu/msm: the include guard in iommu.h
    * ipv4: bug in ping_err()
    * keys,race with concurrent install_user_keyrings()
    * ks8851: interpretation of rxlen field
    * loop: prevent bdev freeing while device in use
    * memcopy -subroutines for memory copy functions.
    * memory leak in cpufreq stats
    * missing nf_reset() in tun_net_xmit()
    * mm/fadvise: drain all pagevecs, POSIX_FADV_DONTNEED fails
    * mmc: sdhci-esdhc-imx: host version read
    * mmu_notifier: have mmu_notifiers use a global SRCU
    * mmu_notifier: make the mmu_notifier srcu static
    * mmu_notifier: unregister NULL Pointer deref and multiple
    * msm: mdp: Send fake vsync only when enabled from userspace
    * msm_fb: display: blt always enabled for 720p,1080p, secure buf
    * msm_fb: display: Fix flickering when BLT is enabled/disabled
    * net/irda: add missing error path release_sock call
    * net/sunrpc: 'subbuf.[...]' may be used uninitialized
    * net: *_DIAG_MAX constants
    * net: compile error when SOCK_REFCNT_DEBUG is enabled
    * net: infinite loop in __skb_recv_datagram()
    * NFS: Don't allow NFS silly-renamed files to be deleted,no signal
    * NLM: Ensure that we resend all pending blocking locks after a reclaim
    * ocfs2: unlock super lock if lockres refresh failed
    * perf tools: build with bison 2.3 and older
    * pnfs-block: removing DM device maybe cause oops when call dev_remove
    * posix-cpu-timers: nanosleep task_struct leak
    * pstore: Avoid deadlock in panic and emergency-restart path
    * qseecom: Fix issue with incomplete command exiting prematurely
    * Re-apply all PM/Sleep
    * resume drivers/video/backlight/adp88?0_bl.c
    * sky2: Receive Overflows not counted
    * sky2: Threshold for Pause Packet is set wrong
    * sock_diag: out-of-bounds access to sock_diag_handlers
    * staging:comedi:comedi_fops: update
    * staging:comedi:ni_labpc: correct differential channel sequence for AI cmd
    * staging:comedi:ni_labpc: set up command4 register *after* command3
    * svcrpc: make svc_age_temp_xprts enqueue under sv_lock
    * switch: do_fsync() to fget_light()
    * sysctl: null checking in bin_dn_node_address()
    * sysfs: handle failure path correctly for readdir()
    * sysfs: race between readdir and lseek
    * tcp: preserve ACK clocking in TSO
    * tcp: undo spurious timeout after SACK reneging
    * tmpfs: use-after-free of mempolicy object
    * tty: Prevent deadlock in n_gsm driver
    * tty: set_termios/set_termiox should not return -EINTR
    * umount oops when remove blocklayoutdriver first
    * unbreak automounter support on 64-bit kernel with 32-bit userspace (v2)
    * unix: race condition in unix_release()
    * USB: ehci-omap: autoloading of module
    * usb: gadget: udc-core: regression during gadget driver unbinding
    * USB: serial: null-pointer dereferences on disconnect
    * USB: usb-storage: unusual_devs update for Super TOP SATA bridge
    * usb: xhci: TRB transfer length macro used for Event TRB
    * vfs,pipe counter breakage
    * vgacon/vt: clear buffer attributes when we load a 512 char
    * vhost: length for cross region descriptor
    * vlan: adjust vlan_set_encap_proto() for its callers
    * vt: synchronize_rcu() under spinlock is not nice
    * xen-netback: cancel the credit timer when taking the vif down
    * xen-netback: correctly return errors from netbk_count_requests()
    * intelli/msm_therma: missing default parameters
    * writeback: occasional slow sync(1)
    * CHROMIUM: mm: calculation of dirtyable memory
    * intelli-thermal: stats calculations
    * htc_monitor: BAD coding from HTC using global vars
    * lib/lz4/lz4_compress: macro usage error
    * LZ4: compression/decompression signedness mismatch (v2)

    Note:
    - This kernel can be installed on any rom with Sense 5 Jelly Bean 4.2.2 except BOA v6 (will built another version to support this rom)

    - Work great on hboot 1.54, JB 4.2.2, TW 2.28.709.3 !

    - It proved, betterrrrrrrrrrrrr battery life !
    4
    KillX Kernel
    (version 3.8.6)



    Screenshot_2013_12_24_15_33_58_1.png


    /!\ DISCLAIMER: I AM NOT RESPONSIBLE IF YOU BRICK / RUIN YOUR PHONE IN ANY WAY /!\

    location.png
    What is ...?


    icon3.gif
    What is USB Force Fast Charge?

    This allows one to force AC charging for any charger that is detected as USB (e.g. many car chargers) and pull the full current the charger can support.
    It also provides additional security when connecting to public charging stations because by forcing AC charging, USB/adb data transfers are disabled, protecting your data.
    Fast charge can be toggled by issuing:
    echo 1 > /sys/kernel/fast_charge/force_fast_charge
    and off:
    echo 0 > /sys/kernel/fast_charge/force_fast_charge
    icon3.gif
    What is I/O Scheduler?
    Input/output (I/O) scheduling is a term used to describe the method computer operating systems decide the order that block I/O operations will be submitted to storage volumes.
    I/O Scheduling is sometimes called 'disk scheduling'. I/O schedulers can have many purposes depending on the goal of the I/O scheduler, some common goals are:
    + To minimize time wasted by hard disk seeks.
    + To prioritize a certain processes' I/O requests.
    + To give a share of the disk bandwidth to each running process.
    + To guarantee that certain requests will be issued before a particular deadline.
    icon3.gif
    What is msm_thermal?
    Kernel based 3-phase thermal control.This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_bkp
    Check /sys/kernel/msm_thermal/conf/ for the thermal configuration
    allowed_max_high = highest threshold (phase 3)
    allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
    allowed_max_freq = max frequency if throttled (limit)

    [...]mid[...] = same as above, just for phase 2
    [...]low[...] = Lowest threshold (phase 1)

    check_interval_ms = how often shall we check? (sampling rate)
    Default: 1000ms = 1sec


    icon3.gif
    What is msm_mpdecision?
    Kernel based multi core decision
    This replaces your /system/bin/mpdecision binary which is ignored in init.rc and
    renamed by the installer to mpdecision_bkp

    + cpu auto-hotplug/unplug based on system load for MSM multicore cpus [should cpu(x) be online or not?]
    + single core while screen is off
    + extensive sysfs tuneables

    Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
    Code:
    startdelay = time until mpdecision starts doing it's magic (20000)
    delay      = time between checks (70)
    pause      = if something else plugs in the cpu, fall asleep for 3000ms (3 secs)
    scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
    enabled   = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
    min_cpus  = min cpus to be online, cannot be < 1. Default: 1
    max_cpus  = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
    idle_freq = a value against that will be checked if a core +/- is requested. (486000)
    If cpu0 is below that value and a core up of another cpu is requested, nothing will happen.
    If any other cpu is above that value and a core down of that cpu is requested, nothing will happen. (otherwise it would now put down that cpu even though it is still working, which isn't what we want)

    Hot plug thresholds (aka now it gets 'complicated')
    This small formula calculates which value will be used: (number_of_cpus_online - 1) * 2
    The result of this formula will be the nwns_threshold where a new cpu is hotplugged.
    The result of this formula + 1 will be the nwns_threshold where a cpu is unplugged.

    nwns_threshold_x = runqueue threshold, if this is reached cpuX will be hot/unplugged
    twts_threshold_x = time threshold, this amount of time must have passed for the related action to be taken (hot/unplug)

    Example:
    Code:
    One cpu is online.
    (1 - 1) * 2 = 0 ergo:
    nwns_threshold_0 = cpu1 will be hotplugged at this value
    ((1 - 1) * 2) + 1 = 1
    nwns_threshold_1 = cpu0 will be unplugged at this value
    Since we can't unplug cpu0 this is '0'.
    
    Two cpus are online.
    (2 - 1) * 2 = 2 ergo:
    nwns_threshold_2 = cpu2 will be hotplugged at this value
    ((2 - 1) * 2) + 1 = 3
    nwns_threshold_3 = cpu1 will be unplugged at this value
    etc...

    The default values are:
    NwNs_Threshold: 12, 0, 25, 20, 32, 28, 0, 35
    TwTs_Threshold: 140, 0, 140, 190, 140, 190, 0, 190
    Where the position and function of the number equals the result of the above explained formula



    location.png
    Features:

    Code:
    [FONT=Arial Black][SIZE=2]
    * /system rw
    * support init.d
    * adb root
    * swap on
    * USB Force Fast Charging
    * [B]Energy Efficiency[/B]
    * XZ compressed kernel
    * Using /dev/frandom
    * allow WiFi networks with low signal to be seen !
    * exFAT support
    * intelli/msm_thermal
    * msm_mpdecision
    * [B]IO[/B]: noop, deadline, cfq, sio, fiops
    * [B]CPU Governor[/B] : msm-dcvs, userspace, powersave, ondemand, performance, DanceDance & Lionheart
    * Zram (wip)
    * staging: zram: per-cpu support to Crypto
    [/SIZE][/FONT][CENTER][B][FONT=Arial][SIZE=2][FONT=Arial]
    Please read Change log for more info.[/FONT][/SIZE][/FONT][/B][/CENTER]
    location.png
    Installation
    :


    [!] Unlocked Bootloader
    [!] Custom Recovery Installed CWM or TWRP
    [!] S-OFF + rooted + busybox Installed
    Code:
    1. Download the zip
    2. flash in recovery ( copy to sdcard or use adb sideload )
    
    Reboot n Enjoy!


    Thank`s to:
    Linus Torvalds, showp1984, faux123, Zarboz, dsb9938, elkay, crpalmer, chad0989, codeaurora.org, kernel.org, linux-foundation.org, xda-developers.com, HTC and all kernel and rom dev !!!

    Please use and enjoy it, and if you can make a donation of any amount, I'd appreciate it immensely
    4
    Download Area

    Code:
    [1] [URL="http://xdaforums.com/attachment.php?attachmentid=2460809&d=1387322910"]killx_v1.0.1.zip[/URL]        [B]MD5[/B]: 8c31a3ff3bf1ccef12fc45a94f5d76f7
    
    [2] [URL="http://xdaforums.com/attachment.php?attachmentid=2471082&stc=1&d=1387837499"]killx_v3.8.6.zip[/URL]        [B]MD5[/B]: 07f9ac0202ad46772566758346bee15f









    2
    anyone try on Boa ROM?

    Sent from my HTC Butterfly using Tapatalk 4

    Yes, It runs smoothly without any trouble. Be sure to flash. New kernnel give me 20500 antutu benchmark score.:laugh::laugh::laugh:
    1
    New version has been release. A lot of fixing and changes, so i decided to bump up the version to 3.*.*

    Enjoy IT ! :highfive:

    I have been using beta version of your kernel for almost 12 hours now and it's very good....

    I will download version 3.8.6 and flash it...

    Sent from my HTC X920e using XDA Premium 4 mobile app