[Nexus 4 Android Development] AndrolinRoot:
Features of this Kernel​

:::4.3 starts from::::

<<Main Features from 4.2 which are mostly also in 4.3>>
ROW Scheduler (default)
SIO
Color profiles
ARM Auto Hotplug
Scheduler-optimizing
-100MV undervolt
UV Interface
288mhz as "low freq"
some not used freq. are removed
faux Sound Control
faux Speaker Amp Control
faux Gamma Control with motley's tweak to get it working with trickstermod
dynamic fsync
USB Force Fast Charging
mako_hotplug 2 (thx myfluxi, franciscofranco)
Scheduling Patches
rq Patches
lmk Patches
pm Patches
S2W Fix (thx myfluxi)
GPU Patches
Charger / Battery Patches
HSIC Patches
O2 optim.
O3 optim.
workqueue Patches
<<I dont remember all>>

(b30)
Rebase to 4.3 source
Alle main features from 4.2

(b31)
Makefile: Compile Optimization Part 2
Use pgprot_writecombine in ion_system_heap_map_kernel for optimization (IntersectRaven)

(b32)
Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp)
mm: writeback: every 500ms the writeback daemon kicks in and flushes the dirty pages into disk (franco)
Revert "block: row: fix one of the magic values.
Revert "block: row: hardcode magic values
block: row-iosched idling triggered by readahead pages (Lee Susman)
mm: change initial readahead window size calculation (Lee Susman)
mm: pass readahead info down to the i/o scheduler (Lee Susman)
thermal: tsens8960: Increase the polling rate (Siddartha Mohanadoss)
cgroups: timer_slack: forward port timer_slack to 3.4 (franco)
msm_fb: Set RR sched policy for Glupdator thread (Kalyan Thota)
msm: don't compile MSM_RUN_QUEUE_STATS (franco)
ARM: 7493/1: use generic unaligned.h (faux123)
lib: Sparc's strncpy_from_user is generic enough, move under lib/ (faux123)
lib: add generic strnlen_user() function (torvalds)
lib: Fix generic strnlen_user for 32-bit big-endian machines (paulusmack)
ARM: use generic strnlen_user and strncpy_from_user functions (faux123)
kernel: Move REPEAT_BYTE definition into linux/kernel.h (faux123)
word-at-a-time: make the interfaces truly generic (torvalds)
arch/arm/Kconfig: enable unaligned capability for ARM (faux123)
ARM: dcache: select DCACHE_WORD_ACCESS for little-endian ARMv6+ CPUs (Will Deacon)
ARM: 7492/1: add strstr declaration for decompressors (Rob Herring)
ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accses (Will Deacon)
ARM: 7593/1: nommu: do not enable DCACHE_WORD_ACCESS when !CONFIG_MMU (faux123)

(b33)
lib/scatterlist: do not re-write gfp_flags in __sg_alloc_table()
switch the protection of percpu_counter list to spinlock
lib/vsprintf.c: "%#o",0 becomes '0' instead of '00'
vsprintf: correctly handle width when '#' flag used in %#p format
vsprintf: further optimize decimal conversion
vsprintf: add %pMR for Bluetooth MAC address
lib/vsprintf.c: remind people to update Documentation/printk-formats
lib/vsprintf.c: kptr_restrict: fix pK-error in SysRq show-all-timers(Q)
vsprintf: add support of '%*ph[CDN]'
lib: vsprintf: optimize division by 10 for small integers
lib: vsprintf: optimize division by 10000
lib: vsprintf: optimize put_dec_trunc8()
lib: vsprintf: fix broken comments
lib/vsprintf: update documentation to cover all of %p[Mm][FR]
lib/vsprintf.c: improve standard conformance of sscanf()
scatterlist: add sg_alloc_table_from_pages function
scatterlist: atomic sg_mapping_iter() no longer needs disabled IRQs
tmpfs: fix mempolicy object leaks
Make sure PWMs are running in sync
lm3530: Add a toggle for the CABC PWM
msm: pm-8x60: Setup memory for save/restore cpu registers early
msm: hotplug: wait for hotplug completion event from secondary core
msm: pm-8x60: Use relative time for events
msm: pm: send notification only for SPC and PC
msm_fb: display: fix iommu page fault when iommu buffer freed
msm: avs: Restore core voltage when disabling AVS
msm: spm: set vdd directly for current cpu
msm: pm: Add support for retention on each core
msm: pm: add failed stats
msm: rpm: add debug msg for rpm outstanding req
Staging: android: binder: Fix memory leak on thread/process exit
msm: display: Add DSI clock control for MDP GDHS power collapse
mako: Add DSI clock control for MDP GDHS power collapse
msm: Fix race condition in domain lookup
mmc: core: Allow changing bus frequency for SD/eMMC cards in runtime
mmc: core: Fix some driver hangs when dealing with broken devices
mmc: core: Add load based clock scaling support
mmc: core: Add sysfs entries for dynamic control of clock scaling
mmc: core: claim mmc host while enabling clock scaling from userspace
mmc: core: run clock scaling only in valid card state
mmc: core: Log MMC clock frequency transitions
mmc: core: Add support for notifying host driver while scaling clocks
mmc: msm_sdcc: Add support for dynamic bus clock vote
mmc: msm_sdcc: fix a type mismatch in msmsdccc_config_dma()
mmc: msm_sdcc: Enable clock scaling capability
mmc: core: remove the polling for BKOPS completion
msm: msm_bus: Fix the 64-bit division during interleaving
msm: msm_bus: Change MDP port interleaved setting
msm: msm_bus: Add NULL pointer checks
msm: msm_bus: Explicitly clear client requests before removal
msm: msm_bus: Correct the return value from register-client
msm: pm-data: Enable powercollapse/suspend_enabled for non-boot cpus
sched: Reset rq->next_interval before going idle
hrtimer: Prevent hrtimer_enqueue_reprogram race
sched: fix reference to wrong cfs_rq
sched: Convert BUG_ON()s in try_to_wake_up_local() to WARN_ON_ONCE()s
sched: change WARN_ON_ONCE to WARN_ON in try_to_wake_up_local()
msm: move printk out of spin lock low_water_lock
msm: pm: Add support to query cpu status
mako: Add support to query cpu status
mmc: Urgent request support
msm_fb: hdmi: Resolution modes on HDMI
remove compilation error by changing int to uint32_t
video: msm: external: Limit HDMI to standard resolutions

# VM-Tweaks

echo "4096" > /proc/sys/vm/min_free_kbytes;
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness;
echo "50" > /proc/sys/vm/vfs_cache_pressure;
echo "90" > /proc/sys/vm/dirty_ratio;
echo "1" > /proc/sys/vm/overcommit_memory;
echo "4" > /proc/sys/vm/min_free_order_shift;
echo "1" > /proc/sys/vm/oom_dump_tasks;
echo "0" > /proc/sys/vm/swappiness
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs;
echo "500" > /proc/sys/vm/dirty_expire_centisecs;
echo "8" > /proc/sys/vm/page-cluster;
echo "3" > /proc/sys/vm/drop_caches

# File-System

echo "10" > /proc/sys/fs/lease-break-time;
echo "32000" > /proc/sys/fs/inotify/max_queued_events;
echo "524288" > /proc/sys/fs/file-max;
echo "256" > /proc/sys/fs/inotify/max_user_instances;
echo "10240" > /proc/sys/fs/inotify/max_user_watches;

# Kernel-Tweaks

echo "1000000" > /proc/sys/kernel/sched_min_granularity_ns;
echo "18000000" > /proc/sys/kernel/sched_latency_ns;
echo "3000000" > /proc/sys/kernel/sched_wakeup_granularity_ns;
echo "0" > /proc/sys/kernel/panic;
echo "1" > /proc/sys/kernel/panic_on_oops;
echo "64000" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "4096" > /proc/sys/kernel/shmmni;
echo "2097152" > /proc/sys/kernel/shmall;
echo "536870912" > /proc/sys/kernel/shmmax;
echo "524288" > /proc/sys/kernel/threads-max;
echo "500 512000 64 2048" > /proc/sys/kernel/sem;
echo "0" > /proc/sys/kernel/sched_child_runs_first;

# Network Tweaks

echo "524288" > /proc/sys/net/core/rmem_max;
echo "524288" > /proc/sys/net/core/wmem_max;
echo "6144 87380 524288" > /proc/sys/net/ipv4/tcp_rmem;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;echo "6144 87380 524288" > /proc/sys/net/ipv4/tcp_wmem;

fs/sync: Make sync() satisfy many requests with one invocation
Revert "input: lge: use the old 100px finger movement code for CPU frequency”
Revert "drivers: input: disable onlining the second core on screen touch”
Revert "drivers: input: clean up the boospulse call detection funtion."
Revert "drivers: input: instead of calling boostpulse every touch input...”
lge_touch_core: Simpler method of boosting the cpu frequency on touch
intellidemand: Activate Touch Boost
ondemand: Set boosfreq to 1242mhz (for Touch Boost)
cpufreq: intellidemand: Change optimal_freq to 1242mhz
cpufreq: ondemand: Set optimal_freq to 864mhz and sync_freq to 1350mhz
intellidemand: Tweak some values
delete ("/system/lib/hw/power.msm8960.so"); (im UpdaterScript)
msm_fb: display: fix the hang issue caused by solidfill pipe
msm_fb: display: add mfd null pointer and mfd panel_power_on checks
msm: mdp: Do not wait for vsync for command mode panel
msm_fb: Set timeline threshold for command mode to 2
Revert "msm: mdp: Update sync pt. behaviour"
msm: display: command mode panel release fence
msm: mdp: Update sync pt. behaviour
msm: mdp: Change msmfb kworker to kthread
intellidemand: Set Optimal-Freq back to 1242mhz (testing)
ondemand: Set boostfreq to 1026mhz (1242mhz is maybe to high)
intellidemand: Set Sync_Freq backt to 702mhz
acpuclock: Deactivate 864mhz
Revert "cpufreq: smartmax: Test ideal freq 864mhz (we don't need 1026…
ondemand: Set Sync_Freq back to 702mhzsound/soc/codecs/wcd9310.c: expose additional controls
cpufreq: conservative: Enable load tuning (thx myfluxi) (reverted
Revert "arm: mako_hotplug: Add intermediate load level"
Revert "mako_hotplug: Pull check routine optimizations from franco git"
Revert "mako_hotplug: Pull Chalhoubs circular buffer from franco git"
Revert "mako_hotplug: Properly set cpu freq policy on suspend/resume"
cpufreq: Introduce governor load tuning
Revert "mako_hotplug: Resume late from early suspend"
Revert "mako-hotplug: Fixup funtion declaration"
Revert "arm: mako_hotplug: Stop spamming the kernel log buffer"
Revert "arm: mako_hotplug: Unify drivers, Lindent, cleanup interface"
Revert "arm: mako_hotplug: Fix section mismatch"
Revert "arm: mako_hotplug: Import from francoKernel"
ARM: add auto hotplug driver
arm: auto hotplug - wrap all pr_info into the existing debug mode so we
auto_hotplug: enhancements
auto_hotplug: enhancements (rev 2)
auto_hotplug: enable the min_online_cpus value
auto_hotplug: enhancements (rev 3)
auto_hotplug: parameter validation for max_online_cpus
auto_hotplug: stack the deck on auto_hotplug_late_resume to get things
auto_hotplug: rev 4 - let's lean a little more towards performance.
auto_hotplug: Set min cores online to "2" and onlining all cores usin…
Revert "cpufreq: interactive: Enable userspace control for load tuning"
cpufreq: ondemand: Enable userspace control for load tuning
Revert "cpufreq: boost the sampling rate on touch event"
cpufreq: boost the sampling rate on touch event
config: Activate auto_hotplug
Revert "mako: Add support to query cpu status"
Revert "msm: pm: Add support to query cpu status"
Revert "msm: pm-data: Enable powercollapse/suspend_enabled for non-bo…
Revert "msm: pm: Add support for retention on each core"
Revert "msm: hotplug: wait for hotplug completion event from secondar…
Revert "msm: spm: set vdd directly for current cpu"
auto_hotplug: Add suspend_freq
auto_hotplug: Tweaks for battery / Allow higher enable_load_threshold…
cpufreq: ondemand: Fix the boostpulse interface (again)
lge_touch_core: Do not boost touch while suspended
Revert "touch_synaptics: Loop until i2c is awake (thx myfluxi)"
Revert "touch_synaptics: Add delay to init function"
Revert "touch_synaptics: i2c read delay is only needed while suspended"
Revert "touch_synaptics: Give i2c a little time to wakeup, fix sweep2…
touch_synaptics: Loop until i2c is awake
sweep2wake: Cleanup (thx myfluxi)
sweep2wake: disable as default for now
kernel: cgroup_timer_slack: Adaptations for 3.4 kernel
writeback: Fix occasional slow sync(1)
binfmt_elf.c: use get_random_int() to fix entropy depleting
mmc: msm_sdcc: check for pending_resume in SDCC system suspend
sound control 3.x: Initial GPL release for WCD9310 Audio Codec
config: Use XZ instead of GZIP
freezer: set PF_SUSPEND_TASK flag on tasks that call freeze_processes
block: cfq: merge tweaked tunables.
cpufreq: interactive: Set hispeed_freq to 1026mhz
mach-msm: subsystem_restart: Fix CPU detection
board_mako: Adjust throttle temp
touchscreen: tweak some initialization parameters for better UI response
Accuracy Filter Control: export accuracy filter items to userspace
input: touchscreen: change filter parameters courtesy of viking37.
---><-----><------><------><------><------><-------><-----><
-------------------------------------------------------------------------
<<Ultimate Hells Core Development starts now>>

Build Number : v37t1
Added GPU OC to 487Mhz and tweaked it (credits to faux)
---------------------------------------------------------------------------
New Build Numbers : Beta 1

Added reworked blx (credits mathkid95)
Added new build flags
Added/ build with own tool chain
----------------------------------------------------------------------------
New Build Number : Beta 2
-Fixed acpuclock-8064.c (aznrice2k4 )
-New GPU OC config
-CPU OC to 1823MHz (parts used from engstk)
-Max normal freq is 1500mhz
-Fixed blx
-Other minor tweaks and fixes