[Sprint HTC EVO 4G LTE] ca1ne:
Enoch Sense Kernel

This is a little something I have been working on. My hope is to bring a decent amount of customization and abilities to this kernel as I progress in versions.

And please remember this is a work in progress, so please let me know your results.

What's in this Kernel

Features

update gitignore and makefile
Staging: android: lowmemorykiller.c
Do not kill kernel threads
staging: android/lowmemorykiller: No need for task->signal check
staging: android/lowmemorykiller: Better mm handling
staging: android/lowmemorykiller: dont grab tasklist_lock
Staging: android: binder: Fix crashes when sharing a binder file between processes
Staging: android: binder: dont call dump_stack in binder_vma_open
defconfig: CONFIG_RWSEM_XCHGADD_ALGORITHM=y, remove CONFIG_RWSEM_GENERIC_SPINLOCK
defconfig: enable ARM JIT netfilters, more CIFS options
sched/nohz: Fix rq->cpu_load[] calculations
block: fix infinite loop in __getblk_slow
fifo: Do not restart open() if it already found a partner
sched: clock wrap bug in 2.6.35-stable kills scheduling
mm, oom: fix potential killing of thread that is disabled from oom killing
sched/fair: Improve the ->group_imb logic
ARM: rwlocks: remove unused branch labels from trylock routines
ARM: use generic strnlen_user and strncpy_from_user
Move REPEAT_BYTE definition into linux/kernel.h
lib: Fix generic strnlen_user for 32-bit big-endian machines
lib: add generic strnlen_user() function
word-at-a-time: make the interfaces truly generic
lib: Sparcs strncpy_from_user is generic enough, move under lib/
Add ACCESSORY_SET_AUDIO_MODE control request and ioctl
net: check return value for dst_alloc
ipv6: check return value for dst_alloc
timer: optimize apply_slack()
sched: fix OOPS when build_sched_domains percpu allocation fails
msm: cpufreq: Fix store_powersave_bias to account for sync CPUs.
netfilter: xt_qtaguid: fix ipv6 protocol lookup
procfs: add num_to_str() to speed up /proc/stat, netfilter: qtaguid: initialize a local var to keep compiler happy
vsprintf: make %pV handling compatible with kasprintf()
lib/vsprintf: replace link to Draft by final RFC number, lib: make _tolower() public, lib/kstrtox: common code between kstrto*() and simple_strto*() functions
CPUfreq ondemand: update sampling rate without waiting for next sampling
msm: hotplug: Support cpu hotplug in no PM cases
msm: cpufreq: Check cpufreq_frequency_table NULL
scheduler: minor improvement to pick_next_highest_task_rt
ARM: net: JIT compiler for packet filters, ARM: net: JIT compiler for packet filters enabled by default
rcu: move struct rcu_head to its own file for SLQB and Netfilter use, include/filter.h: add missing rcu_types.h for kernel usage
netfilter: xt_log.h: fix warning: value computed is not used
Add Lionheart Governor
Disable Userspace Governor
Fix Div/0 Possibility in Interactive Governor
Add Intellidemand Governor
Add Lagfree Governor
Add Lazy Governor
Add Conservative Governor
Add Interactive Governor
Add Smartassv2 Governor
Add VR Scheduler
Don't Use Highest Optimization Level on Workqueue.c
Adjust Vm_Dirty_Ratio from 20 to 10
Adjust Vm_Swappiness from 60 to 90
Add SIO Scheduler
Reduce Light Current on LED
Use AC Charging for Unknown Chargers
Tweaked Deadline Scheduler for Better Performance
Use Glibc Version for Memcopy
Use Glibc Version for String
Compile VFP with Neon
CRC32- 13 Patched in 1 Commit
Enable NTFS
Use Git Implementation of SHA-1
HTC Battery Core: Fix Index Array Out of Bounds
Increase Readahead Buffer to 1024
Disabled Gentle_Fair_Sleepers for Better Performance
Vfs_Cache_Pressure reduced from 100 to 50
Camera Flash Functions to 5% Now
Add and Enable XZ Compression
Linaro Compilable
Add Snapdragon Optimizations
Add Custom Defconfig
Pulled Defconfig from Phone
Rebuilt HTC 2.13.651.1 Source

Governors

Smartassv2

Interactive

Conservative

Powersave

Ondemand (set as default)

Performance

Lagfree

Lazy

Lionheart

Schedulers

sio

v(R)

noop

deadline (set as default)

cfq

Instructions

[S-OFF] 2.13 - Flash the Enochv03.zip in Recovery

[S-ON] 2.13 - Flash the Enochv03SON.zip in Recovery, utilizes Haus' SON installer

Credits

I am grateful to all, from the developers, to the end users who

provide the feedback and use what is created.

More specifically (in alphabetical order) I would like to credit

the following developers for their work.

deck, faux123 (godly), haus, klin1344, LeeDroid, lithid, mdeejay,

romanbb, showp1984, thicklizard, toastcfh,, thicklizard, zarboz

Also I would like to thank the alpha testers who kept me going

.

evo401 (a flashing machine)

thicklizard (then he made his own kernel, gg!)

PhxkinMassacre

volk9029

Disclaimer

As with all things, not every variant can be accounted for. Please use at your own risk. I am not responsible for any damages/bricks/etc that may accompany use of this kernel.

Bug Reporting

Post a reply in this thread or pm me, and I will do my best to assist and/or correct bugs.

Update History

v0.3

update gitignore and makefile
Staging: android: lowmemorykiller.c
Do not kill kernel threads
staging: android/lowmemorykiller: No need for task->signal check
staging: android/lowmemorykiller: Better mm handling
staging: android/lowmemorykiller: dont grab tasklist_lock
Staging: android: binder: Fix crashes when sharing a binder file between processes
Staging: android: binder: dont call dump_stack in binder_vma_open
defconfig: CONFIG_RWSEM_XCHGADD_ALGORITHM=y, remove CONFIG_RWSEM_GENERIC_SPINLOCK
defconfig: enable ARM JIT netfilters, more CIFS options
sched/nohz: Fix rq->cpu_load[] calculations
block: fix infinite loop in __getblk_slow
fifo: Do not restart open() if it already found a partner
sched: clock wrap bug in 2.6.35-stable kills scheduling
mm, oom: fix potential killing of thread that is disabled from oom killing
sched/fair: Improve the ->group_imb logic
ARM: rwlocks: remove unused branch labels from trylock routines
ARM: use generic strnlen_user and strncpy_from_user
Move REPEAT_BYTE definition into linux/kernel.h
lib: Fix generic strnlen_user for 32-bit big-endian machines
lib: add generic strnlen_user() function
word-at-a-time: make the interfaces truly generic
lib: Sparcs strncpy_from_user is generic enough, move under lib/
Add ACCESSORY_SET_AUDIO_MODE control request and ioctl
net: check return value for dst_alloc
ipv6: check return value for dst_alloc
timer: optimize apply_slack()
sched: fix OOPS when build_sched_domains percpu allocation fails
msm: cpufreq: Fix store_powersave_bias to account for sync CPUs.
netfilter: xt_qtaguid: fix ipv6 protocol lookup
procfs: add num_to_str() to speed up /proc/stat, netfilter: qtaguid: initialize a local var to keep compiler happy
vsprintf: make %pV handling compatible with kasprintf()
lib/vsprintf: replace link to Draft by final RFC number, lib: make _tolower() public, lib/kstrtox: common code between kstrto*() and simple_strto*() functions
CPUfreq ondemand: update sampling rate without waiting for next sampling
msm: hotplug: Support cpu hotplug in no PM cases
msm: cpufreq: Check cpufreq_frequency_table NULL
scheduler: minor improvement to pick_next_highest_task_rt
ARM: net: JIT compiler for packet filters, ARM: net: JIT compiler for packet filters enabled by default
rcu: move struct rcu_head to its own file for SLQB and Netfilter use, include/filter.h: add missing rcu_types.h for kernel usage
netfilter: xt_log.h: fix warning: value computed is not used
Add Lionheart Governor
Disable Userspace Governor
Fix Div/0 Possibility in Interactive Governor
Add Intellidemand Governor
Add Lagfree Governor
Add Lazy Governor
Add Conservative Governor
Add Interactive Governor
Add Smartassv2 Governor
Add VR Scheduler
Don't Use Highest Optimization Level on Workqueue.c
Adjust Vm_Dirty_Ratio from 20 to 10
Adjust Vm_Swappiness from 60 to 90
Add SIO Scheduler
Reduce Light Current on LED
Use AC Charging for Unknown Chargers
Tweaked Deadline Scheduler for Better Performance
Use Glibc Version for Memcopy
Use Glibc Version for String
Compile VFP with Neon
CRC32- 13 Patched in 1 Commit
Enable NTFS
Use Git Implementation of SHA-1
HTC Battery Core: Fix Index Array Out of Bounds
Increase Readahead Buffer to 1024
Disabled Gentle_Fair_Sleepers for Better Performance
Vfs_Cache_Pressure reduced from 100 to 50
Camera Flash Functions to 5% Now
Add and Enable XZ Compression
Linaro Compilable
Add Snapdragon Optimizations
Add Custom Defconfig
Pulled Defconfig from Phone
Rebuilt HTC 2.13.651.1 Source

v0.2

Optimized SIO,VR,Deadline for Flash Devices

Added User Controlled Undervolting

Compiled 3 Kernels Different Max Frequency

v0.1 - Initial Release

Links

Enoch V03

MD5: 42897f39b508fa94b871fb4ff090a798

Enoch V03 for S-ON

MD5: bbf41490fe49f0800b03d7f90a3853d8

Old Links

Max Frequency 2.1GHZ

Flashable Zip: enochv02-oc21.zip

Boot Image: bootv02-oc21.img

Flashable Zip For Modules v02modules-oc21.zip

Max Frequency 1.89GHZ

Flashable Zip: enochv02-oc189.zip

Boot Image: bootv02-oc189.img

Flashable Zip For Modules v02modules-oc189.zip

Max Frequency 1.5GHZ

Flashable Zip: enochv02-oc15.zip

Boot Image: bootv02-oc15.img

Flashable Zip For Modules v02modules-oc15.zip

enochv01.zip

MD5: 19dc061ff1d09f98b76068758cb34033

bootv01.img

MD5: 12f4c8000f0a918b82ea8566a4934e5b

v01modules.zip

MD5: fb6a9623cf65622e15c9ab540781636d

Github

List of what breaks Wi-Fi. aka things I would have put in the kernel if it had worked.

Bfq scheduler

Disabling perflock in defconfig

Enabling CONFIG_SCHED_AUTOGROUP

RWSEM optimizations

SIO Scheduler - elevator.h modification (basic SIO works)