[Kernel] Krait kernel for stock android 6.0 (v5)

Search This thread

kraatus90

Senior Member
Sep 2, 2012
406
479
Redmi Note 10 Pro
[Kernel] Krait kernel for stock android 6.0 (v5)

Code:
/*  *** Disclaimer
* [COLOR="Red"]Your Warranty is now Void![/COLOR]
* I am not responsible for bricked 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.
*/
Development stopped because i don't have this device anymore.
Features;
  • Compiled with GCC toolchain 4.8 with various build optimizations (-O3 and GCC Tweaks for Cortex A15)
  • Improved and updated interactive governor (no need for other millions of governors)
  • Voltage Control
  • ARMv7 tweaks
  • Cpu underclock 268mhz
  • GPU underclock (100MHz)
  • GPU idles at 27mhz
  • Savoca's Advanced Color Control
  • Mutex tweaks
  • Fsync enabled by default
  • Many sched related improvements and fixes
  • New hotplug infrastructure from 3.10.x kernel
  • Disabled many debug option to reduced overhead of the kernel
  • Disabled Zram to reduced overhead
  • Silenced various kernel logs
  • Disabled crc check
  • Sound control for headphone and mic
  • FIOPS i/o scheduler
  • Frandom support
  • vibration control
  • TCP Westwood
  • Disable CPU L2 cache PC during video sessions (longer video playback time)
  • Many other small tweaks*(check git)

Installation instructions
Always make a Full backup first, or at-least make system+boot backup.

1.Flash stock boot.img or install patched boot.img from here
2.Install Su or skip this if you have installed patched boot.img from here
3.Install krait_kernel.zip

it's recommended to do this for every time you update this kernel. dirty flashing could give you troubles.

Download


How to tweak this kernel:
- Install Kernel Adiutor or Synapse
- for Synapse, flash Krait_UKM.zip in recovery before installing apk from store
Reminder - synapse isn't officially supported for victara i tried to make it work.

Enjoy!

Thanks to these people. i stole alot of stuff from them to make this possible.
franciscofranco, RenderBroken, Neobuddy89, ak, myfluxi, Dorimanx, Savoca, Faux123, Flashhhh, Kaminari, hurtsky osm0sis and Many More!



XDA:DevDB Information
[Kernel] Krait kernel for moto x 2014, Kernel for the Moto X 2014

Contributors
kraatus90
Source Code: https://github.com/kraatus90/MotoX_Kernel

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: 5.0
Stable Release Date: 2016-03-10

Created 2016-01-11
Last Updated 2016-03-12
 

kraatus90

Senior Member
Sep 2, 2012
406
479
Redmi Note 10 Pro
# changelog

# Changelog: #5

6afea6b (HEAD, origin/testv5, testv5) wcd9320: add a simple sysfs interface that allows for headphone and mic register value customization. You're able to increase or decrease the sound gain of those two int
d4c5a68 cpufreq: Set min/max frequencies
9bda582 cpu: fix section mismatch warnings with __hotcpu_register
d2038af profile: Fix CPU hotplug callback registration
12a5ff1 trace, ring-buffer: Fix CPU hotplug callback registration
71b297f drivers/base/topology.c: Fix CPU hotplug callback registration
48961cc arm, hw-breakpoint: Fix CPU hotplug callback registration
28cc28d CPU hotplug, perf: Fix CPU hotplug callback registration
f903d63 net/core/flow.c: Fix CPU hotplug callback registration
c84456f mm, vmstat: Fix CPU hotplug callback registration
b2b0378 perf, cpu hotplug: Use cached value of smp_processor_id()
f580195 perf, cpu hotplug: Run CPU_STARTING notifiers with irqs disabled
af42728 Doc/cpu-hotplug: Specify race-free way to register CPU hotplug callbacks
33853c5 CPU hotplug: Provide lockless versions of callback registration functions
5843c25 Mmc: do not build tests
7547d35 Add /dev/frandom
61ce616 Zram:disable for now
bb202d1 VFP: make it mhard-float
5c2126a Defconfig:update
cf8160a Update:Makefile
b04fde6 sched: rt: use printk_sched instead of printk_deferred
c9e26a0 mm: readahead to 512
5270046 drv2605: vibe strength control
d7d04cb kernel: Reduce dmesg spam
5cf41f6 debug: remove: remove some dmesg logspam from Linux mainline 3.4 fs
a0d163b msm: watchdog-v2: Trace IRQ when watchdog bites
4f98226 msm: watchdog_v2: Print IRQ during bark
6d45132 block: row: add magic values.
6af17c6 mm, oom: base root bonus on current usage
050e213 mm: vmscan: support complete shrinker reclaim
0d51036 sysfs: check if one entry has been removed before freeing
ab4f410 PM: don't use [delayed_]work_pending()
c860f2f net: inet_diag: zero out uninitialized idiag_{src,dst} fields
1921c47 FROMLIST: arm: mm: support ARCH_MMAP_RND_BITS.
cb6a4e2 FROMLIST: mm: mmap: Add new /proc tunable for mmap_base ASLR.
f9a457e UPSTREAM: include/linux/poison.h: fix LIST_POISON{1,2} offset
19f5cd7 UPSTREAM: proc: actually make proc_fd_permission() thread-friendly
6bbd842 UPSTREAM: proc: make proc_fd_permission() thread-friendly
d997ed3 debugobjects: Make debug_object_activate() return status
58b7b81 cfq-iosched: fix the setting of IOPS mode on SSDs
5901472 cpufreq: cpu-boost: don't boost over user set max freq
3430b4d cpufreq: cpu-boost: export input_boost_enable to userspace
a94224b ksm: Provide support to use deferred timers for scanner thread
52f4302 sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target
ee9905c sched: Change autogroup_move_group() to use for_each_thread()
dc82830 sched: s/do_each_thread/for_each_process_thread/ in debug.c
6bb51d8 sched: s/do_each_thread/for_each_process_thread/ in core.c
2218ac8 sched: Fix exec_start/task_hot on migrated tasks
8c814bc sched/fair: Avoid integer overflow
e5c1c82 sched/core: Fix an SMP ordering race in try_to_wake_up() vs. schedule()
63aaee4 sched: Fix RLIMIT_RTTIME when PI-boosting to RT
718ce09 sched: Queue RT tasks to head when prio drops
8411045 futexes: Increase hash table size for better performance
1f9b4aa timer: reduce cache bouncing of deferral timer wheel
2821133 timer: make deferrable cpu unbound timers really not bound to a cpu
7e62d2c timer: Clean up timer initializers
d81cd39 timer: Generalize timer->base flags handling
797337e sched/fair: rq might've been uninitialized, so fix it
a717f0a sched/balancing: Reduce the rate of needless idle load balancing
c502573 sched/fair: Stop searching for tasks in newidle balance if there are runnable tasks
8e17745 mm/slub: don't wait for high-order page allocation
8d91f44 sched: Fix race in idle_balance()
c73412e fs/buffer.c: increase the buffer-head per-CPU LRU size
ed6c7ed msm: vidc: disable debug logs
89a649b PM / QoS: Fix workqueue deadlock when using pm_qos_update_request_timeout()
a774527 timer: Prevent overflow in apply_slack
943971f ksoftirqd: Enable IRQs and call cond_resched() before poking RCU
3f4975b sched: fix try_to_wake_up()
b77497b msm: vidc: Check for active handle before updating the QoS request
b733332 msm: ipc_socket: fix leak of kernel memory to userspace
913aab5 tools/include: use stdint types for user-space byteshift headers
e2ef859 sched: Force sleep on consecutive sched_yields
c9b7643 wireless: bcmdhd: halve rx and ctrl wakelock timeout by half
bb87ced wakeup: add toggles for wlan wakelocks. They are all enabled by default, it's up to the user and I provide no support if Wi-Fi stops working normally without these locks enabled. This is for advanced
5d2d297 Input: optimize events_per_packet count calculation
2f41bac soc: qcom: smd: Fix SMD packet sync loss issue
8f1d995 net: rps: fix cpu unplug
859a9bd msm: vidc: Initialize kernel space stack variables
8733005 perf/init/debug: disable some debug
f3f955f msm: vidc: disable CPU L2 cache PC during video sessions
625b7d9 lowmemorykiller: use for_each_thread instead of buggy while_each_thread
4998b26 mm, vmalloc: remove useless variable in vmap_block
f9010f25 mm, vmalloc: use well-defined find_last_bit() func
fa021a7 block: Reserve only one queue tag for sync IO if only 3 tags are available
5598cf4 readahead: make context readahead more conservative
32ef0bc writeback: fix race that cause writeback hung
21a777c sync: don't block the flusher thread waiting on IO
7e5873c binfmt_elf.c: use get_random_int() to fix entropy depleting
3435580 writeback: fix writeback cache thrashing
d00823d mm: vmscan: If kswapd has been running too long, allow it to sleep
be32979 CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
963eee9 jiffies: Fix timeval conversion to jiffies
536a298 sched, smp: Correctly deal with nested sleeps
15ff7a4 smpboot: Add missing get_online_cpus() in smpboot_register_percpu_thread()
3538ea1 msm: bam_dmux: Reduce debug logs to avoid watchdog bite
9ec39f1 tty: fix memleak in alloc_pid
622c2fb arm: irq: Tone down kernel logging
b64ca33 msm: kgsl: Do not detect faults when GPU core is idle
3dfbacf Input: fix defuzzing logic
bf0028f genirq: Sanitize spurious interrupt detection of threaded irqs
d080723 futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == u…
179e59b futex: Prevent attaching to kernel threads
563f8aa hrtimer: Set expiry time before switch_hrtimer_base()
5349d95 hrtimer: Prevent remote enqueue of leftmost timers
df82420 hrtimer: Prevent all reprogramming if hang detected
8f21cfb msm: kgsl: Fix Z180 memory leak
4e6c321 sched: Remove stale power aware scheduling remnants and dysfunctional knobs
f40a949 sched/fair: Improve the ->group_imb logic
fa512a1 sched/nohz: Fix rq->cpu_load[] calculations
095d95b sched/fair: Revert sched-domain iteration breakage
f7e9b19 sched/fair: Propagate 'struct lb_env' usage into find_busiest_group
fd82152 sched/fair: Add some serialization to the sched_domain load-balance walk
74a7c29 sched/fair: Let minimally loaded cpu balance the group
a5abc61 sched: Change rq->nr_running to unsigned int
5a9a93d sched/idle: Avoid spurious wakeup IPIs
db4484d cpufreq: Correct the data reported in all_time_in_state
17f81c1 Revert "cpufreq: stats: Initialize all_freq_table earlier"
973a7e1 msm: kgsl: Report correct GPU frequency in sysfs
5956b51 PM / devfreq: Fix simple_ondemand crashing
14bfafb net: add validation for the socket syscall protocol argument
b703289 Revert "cpufreq: make the "scaling_cur_freq" sysfs entry pollable"
03374b4 sched/fair: Implement fast idling of CPUs when the system is partially loaded
2696062 msm: slimbus: use interruptible wait to reduce system's load average
38c4dc4 msm_bam_rmnet: Fix potential memory corruption
0069ff3 mm: slub: Default slub_max_order to 0
12b0b62 jiffies conversions: Use compile time constants when possible
9c79bcd sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire. From http://ripke.com/loadavg/moire
e927006 af_unix: speedup /proc/net/unix /proc/net/unix has quadratic behavior, and can hold unix_table_lock for a while if high number of unix sockets are alive. (90 ms for 200k sockets...)
d94a897 audit: Imma let you finish, but shut up
8cd0dc1 ARM: make kernel oops easier to read
ee3e7a4 SELinux: Fix memory leak upon loading policy
7e5b5bf selinux: just shut up
0989a88 PM / Wakeup: Use rcu callbacks for better performance
db762b4 rcu: Add RCU_FAST_NO_HZ tracing for idle exit
7604264 Revert "rcu: Precompute RCU_FAST_NO_HZ timer offsets"
f7301e5 rcu: Add a module parameter to force use of expedited RCU primitives
cab93e6 sched: move task load based functions
bc620db sched: window-based load stats improvements
1b14e09 sched: Add min_max_freq and rq->max_possible_freq
f1a928f sched/rt: Add Kconfig option to enable panicking for RT throttling
88c294d sched/rt: print RT tasks when RT throttling is activated
7a4d123 sched: Skip load update for idle task
4aa6e0f sched/debug: Fix sd->*_idx limit range avoiding overflow
c4e588e5 sched/debug: Limit sd->*_idx range on sysctl
0c9b903 sched: Fix memory leakage in build_sched_groups()
65360fe sched: window-stats: Fix overflow bug
973786d sched: Window-based load stat improvements
1422060 sched: Disable wakeup hints for foreground tasks by default
9bfe0bb sched: Call the notify_on_migrate notifier chain for wakeups as well
aff4b51 sched: Fix double normalization of vruntime
2ef42f3 cpufreq: cpu-boost: Introduce scheduler assisted load based syncs
fa975fc sched: window-based load stats for tasks
8dd0fc4 sched: Make scheduler aware of cpu frequency state
66c0b1d mach-msm: disable kernel-side mpdecision
21fbeb4 cpufreq: Fix broken uevents for cpufreq governor and cpu devices
b1310d4 drivers: cpufreq: Send a uevent when governor changes
db9e96e ARM: Use TTBR1 instead of reserved context ID
c13a269 ARM: 7408/1: cacheflush: return error to userspace when flushing syscall fails
7b00f49 ARM: 7569/1: mm: uninitialized warning corrections
5444b08 ARM: 7784/1: mm: ensure SMP alternates assemble to exactly 4 bytes with Thumb-2
0f84328 ARM: 7691/1: mm: kill unused TLB_CAN_READ_FROM_L1_CACHE and use ALT_SMP instead
6e1f51e ARM: 7660/1: tlb: add branch predictor maintenance operations
1c7271c ARM: 7678/1: Work around faulty ISAR0 register in some Krait CPUs
aadf715 ARM: 7752/1: errata: LoUIS bit field in CLIDR register is incorrect
120d169 ARM: 7606/1: cache: flush to LoUU instead of LoUIS on uniprocessor CPUs
8f52276 ARM: 7747/1: pcpu: ensure __my_cpu_offset cannot be re-ordered across barrier()
0c051fe ARM: 7587/1: implement optimized percpu variable access
97c8035 ARM: 7680/1: Detect support for SDIV/UDIV from ISAR0 register
77864d4 lib: cpu_rmap: avoid flushing all workqueues
6165388 ARM: gic: use a private mapping for CPU target interfaces
eb06ced ARM: 7573/1: idmap: use flush_cache_louis() and flush TLBs only when necessary
14dc1d7 ARM: 7542/1: mm: fix cache LoUIS API for xscale and feroceon
c278843 ARM: cpu hotplug: remove majority of cache flushing from platforms
14dc1b2 ARM: smp: flush L1 cache in cpu_die()
6519af4 ARM: Don't dump vmalloc addresses with show_data()
1458313 kthread: Fix the race condition when kthread is parked
720e8a8 ARM: 7449/1: use generic strnlen_user and strncpy_from_user functions
e5a3e0f cpufreq: ondemand: Remove unused waitqueue
b8bf739 cpufreq: ondemand: Use hotplug thread infrastructure
7af4775 cpufreq: ondemand:kernel NULL pointer dereference at dbs_check_cpu
78d14c2 cpu: Fix generic idle thread allocation
880f06f smp: Add task_struct argument to __cpu_up()
c2c57e8 stop_machine: Mark per cpu stopper enabled early
f6f0363 stop_machine: Use smpboot threads
6bd3207 stop_machine: Cleanup for upstream
e565ceb stop_machine: Store task reference in a separate per cpu variable
c756e09 kthread: Prevent unpark race which puts threads on the wrong cpu
d863f50 smpboot: Allow selfparking per cpu threads
acb1cd5 hotplug: Fix UP bug in smpboot hotplug code
68230ae smpboot: Provide infrastructure for percpu hotplug threads
8280e3b kthread: Implement park/unpark facility
6616f77 smpboot, idle: Optimize calls to smp_processor_id() in idle_threads_init()
d1088c2 smp, idle: Allocate idle thread for each possible cpu during boot
5731b3e fix smp err
2114883 smp: Provide generic idle thread allocation
90e058d smp: Add generic smpboot facility
3888603 Revert "Revert "ACPI / processor: prevent cpu from becoming online""
521ad99 Revert "[backport] Hotplug thread infrastructure"
e8658e0 Revert "kthread: Fix the race condition when kthread is parked"
2e3fd0d Revert "kthread_work: wake up worker only when the worker is idle"
87d7906 ARM: 7685/1: delay: use private ticks_per_jiffy field for timer-based delay ops
610a510 ARM: 7653/2: do not scale loops_per_jiffy when using a constant delay clock
4d8dd17 ARM: add cpufreq transiton notifier to adjust loops_per_jiffy for smp
dc1902d ARM: smp: BUG() if smp_send_reschedule() is called for an offline cpu
0797616 sched: remove duplicate code
38c2d49 cma: Add support for memory limits
045aa73 mm: reorder can_do_mlock to fix audit denial
ab73330 md: use kzalloc() when bitmap is disabled
1de6bdd KEYS: Fix crash when attempt to garbage collect an uninstantiated keyring
c1f27ee KEYS: Fix race between key destruction and finding a keyring by name
bd9e9df KEYS: Add invalidation support
6e2a700 msm:rq_stats: Register for Cpufreq policy notification
ee0d0ed cpufreq: Introduce new relation for freq selection
6ed865f Input: Send events one packet at a time
65c1ca4 cpufreq: Break out early when frequency equals target_freq
00c854e cpufreq: Optimize cpufreq_frequency_table_verify()
8027079 KEYS: Permit in-place link replacement in keyring list
2b7f5d0 KEYS: Perform RCU synchronisation on keys prior to key destruction
b73ab9e KEYS: Fix handling of stored error in a negatively instantiated user key
414de40 ipv6: addrconf: validate new MTU before applying it
0a5a4bc net: fix iterating over hashtable in tcp_nuke_addr()
7f72c8b pagemap: do not leak physical addresses to non-privileged userspace
e65e7c2 __ptrace_may_access() should not deny sub-threads
7ea393e cpufreq: stats: Initialize all_freq_table earlier
8e0b605 Revert "trace: memkill: trace LMK and OOM kills"
8a3e53a mm, oom: make dump_tasks public
dee4ca9 introduce for_each_thread() to replace the buggy while_each_thread()
c6aa414 mm: Add notifier framework for showing memory
3bad3ea mm: vmpressure: allow in-kernel clients to subscribe for events
8a8f89c memcg: add memory.pressure_level events
5a6981d cpufreq: Resolve CPUFREQ_NOTIFY issue
7c703c9 sched: Micro-optimize the smart wake-affine logic
12d1659 sched: Implement smarter wake-affine logic
5928d20 cpufreq: Remove unnecessary initialization of a local variable
8006605 wlan: Address buffer overflow due to invalid length
c861c89 net: add length argument to skb_copy_and_csum_datagram_iovec
40ff4dc tcp_cubic: do not set epoch_start in the future
c6c633d tcp_cubic: better follow cubic curve after idle period
4e77cf6 PM / Freezer: Fix small typo "regrigerator"
b14d5e2 Revert "freezer: comment out might_sleep()"
56468fe PM: Remove legacy code leftovers
559ed78 block: fiops ioscheduler core
7b29020 block: Make CFQ default to IOPS mode on SSDs
3a20184 power: msm_battery: increase battery check interval from 5 to 15 seconds
ec6ed21 mutex: back out architecture specific check for negative mutex count
e12db09 mutex: Queue mutex spinners with MCS lock to reduce cacheline contention
6f6e5b0 mutex: Make more scalable by doing less atomic operations
afc372f ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accesses
dc2fe65 ARM: 7492/1: add strstr declaration for decompressors
5a8ab82 ARM: 7493/1: use generic unaligned.h
4d611b5 arch/arm/Kconfig: enable unaligned capability for ARM
6c78fab ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above
86cd07a ARM: mutex: use generic atomic_dec-based implementation for ARMv6+
bd7b7a0 AIO: Don't plug the I/O queue in do_io_submit() Asynchronous I/O latency to a solid-state disk greatly increased between the 2.6.32 and 3.0 kernels. By removing the plug from do_io_submit(), we obser
303630c ARM: mm: update __v7_setup() to the new LoUIS cache maintenance API
a86018a ARM: kernel: update __cpu_disable to use cache LoUIS maintenance API
2b47fd0 ARM: mm: rename jump labels in v7_flush_dcache_all function
1c6c4fa block: deadline: Optimize for non-rotational
0738af0 block: Disable add_random
89b6761 xz: Optimize Sfck Compression
ed66b18 writeback: increase bdi_min_ratio to 5
bda990f Revamp spinlock ASM code
064a28f Optimize slub by not using fair sleepers
8cbac7c zlib: clean up some dead code
f6d079e mmc: Disable crc check
bf53cf4 lib/int_sqrt.c: optimize square root algorithm
b185a2f lib/memcopy: use glibc version
6665e6d lib/string: use glibc version
467cd03 Added optimized ARM RWSEM algorithm.
5dd6637 power: qpnp-bms-mmi: Fix devm_kfree warning caused by NULL pointer
653dae4 Slim_ngd: Don't create the device node per SSR
b6e78e5 ASoC: msm: qdsp6v2: add support for any number of ASM buffers
84057de PM: devfreq: Fix simple_ondemand crashing on startup
2323709 udp: fix behavior of wrong checksums
17a372d ALSA: Export audio effects header
5300fd9 Fix sizeof-pointer-memaccess warning with gcc 4.8
f7037db Revert "Implement new IPV6 filter logic"
7097427 staging: prima: Add config for Motorola UTAGS MAC feature Use a kernel config to decide whether the MAC address should be read from the boot parameters or NV file.
83fbe9b ipv6: Don't reduce hop limit for an interface
ade627e netfilter: nf_conntrack: reserve two bytes for nf_ct_ext->len
cc2dbf5 mm: Fix NULL pointer dereference in madvise(MADV_WILLNEED) support
735e913 netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages
5a077d3 eCryptfs: Remove buggy and unnecessary write in file name decode routine
038f916 netfilter: conntrack: disable generic tracking for known protocols
2a6555e KEYS: close race between key lookup and freeing
cd14ada tracing/syscalls: Ignore numbers outside NR_syscalls' range
4079cb9 tracing/syscalls: Fix perf syscall tracing when syscall_nr == -1
6cc62e7 ipv4: try to cache dst_entries which would cause a redirect
043e904 futex: Make lookup_pi_state more robust
66a7506 futex: Always cleanup owner tid in unlock_pi
f6a1a23 futex: Validate atomic acquisition in futex_lock_pi_atomic()
cf69752 android: drivers: workaround debugfs race in binder
be0731e sched: Introduce temporary FAIR_GROUP_SCHED dependency for load-tracking
b58e214 sched: Make __update_entity_runnable_avg() fast
21b9fa1 sched: Update_cfs_shares at period edge
f077267 sched: Refactor update_shares_cpu() -> update_blocked_avgs()
eb018d6 sched: Replace update_shares weight distribution with per-entity computation
309fb81 sched: Maintain runnable averages across throttled periods
ce87b09 sched: Normalize tg load contributions against runnable time
aa96e2c sched: Compute load contribution by a group entity
f0cee3f sched: Aggregate total task_group load
540dd8c sched: Account for blocked load waking back up
b8823e3 sched: Add an rq migration call-back to sched_class
3e21ad0 sched: Maintain the load contribution of blocked entities
ec015f4 sched: Aggregate load contributed by task entities on parenting cfs_rq
fb594e3 sched: Maintain per-rq runnable averages
1b23ef9 sched: Track the runnable average on a per-task entity basis
28dacc9 sched: Fix reference to stale task_struct in try_to_wake_up()
d4ca76d cpufreq: interactive: Do not reschedule timer if policy->max changes
7c0f9ed cpufreq: interactive:call __cpufreq_driver_target() for cur frequency
f72dcfb cpufreq: interactive: don't skip waking up speedchange_task if target_freq > policy->cur
c3eb51c cpufreq: interactive: prevents the frequency to directly raise above the hispeed_freq from a lower frequency.
2178b29 cpufreq: interactive: Replace strict_strtoul with kstrtoul
7ec2d7e cpufreq: interactive: Reschedule timer if min_freq is reduced
04c313f CHROMIUM: cpufreq: interactive: calculate load before freq change
4f3a048 cpufreq: interactive: Rearm governor timer at max freq
f9b849c CHROMIUM: Replace obsolete strict_strtoul calls.
b8d5775 CHROMIUM: cpufreq: interactive: free above_hispeed_delay on exit
4147877 CHROMIUM: cpufreq: interactive: validate above_hispeed_delay
518096f cpufreq: interactive: Honor boosted state in several timer calculations
4c42e7d cpufreq: interactive: Consider changed min limit a frequency boost
fbc7025 cpufreq: interactive: Honor changed minimum frequency
63d4c3d cpufreq: interactive: Record hispeed_validated_time in timer function
079016c cpufreq: interactive: Exercise hispeed settings at a policy level
bd2dfda cpufreq: interactive: Make window alignment optional
e357905 cpufreq: interactive: Add max_freq_hysteresis feature
ae461a8 cpufreq: interactive: Use del_timer/add_timer_on to rearm timers
9c6a572 cpufreq: interactive: Round up timer_rate to match jiffy
8c7abe7 cpufreq: interactive: Reset last evaluated jiffy in idle callback
f6b4469 cpufreq: interactive: Align timer windows for all CPUs
fc43cc7 cpufreq: interactive: Squashed cleanup patches
2bc950c cpufreq: interactive: Move definition of cpufreq_gov_interactive downwards
acd4700 cpufreq: interactive: Remove unnecessary cpu_online() check
f4826cd cpufreq: interactive: Don't reset sampling down factor at max freq
fe4155b cpufreq: cpu-boost: Use one work to remove input boost for all CPUs
8315fe4 cpufreq: cpu-boost: Support separate input_boost_freq for different CPUs
feeb07b cpufreq: cpu-boost: Make the code 64 bit compatible
5ba64c6 cpufreq: Sync on thread migration optimizations
2448598 cpufreq: interactive: get_cpu_idle_time_* are now on cpufreq.c
3a4b367 cpufreq: Protect against hotplug in cpufreq_register_driver()
f410c36 cpufreq: Return directly in __cpufreq_get if policy is NULL
8bd6da2 cpufreq: Move get_cpu_idle_time() to cpufreq.c
4d763b7 cpufreq: cpu-boost: Re-issue boosts above minimum frequency
37c57b0 cpufreq: cpu-boost: Resolve deadlock when waking up sync thread
eea0280 kthread_work: wake up worker only when the worker is idle
d6ca760 tick: Upstream fixes
cdd1423 kthread: Fix the race condition when kthread is parked
530368f softirq: reduce latencies
834472e mdss: use an interruptible thread on edp to reduce load_average
e92a8ab msm: Fix high load average from uninterruptible waits
67ac256 rcu: Use smp_hotplug_thread facility for RCUs per-CPU kthread
a25d421f rcu: Yield simpler
ee26be6 softirq: Use hotplug thread infrastructure
97dd4c8 [backport] Hotplug thread infrastructure
9ada5c8 Revert "ACPI / processor: prevent cpu from becoming online"
bec358a msm: do not compile rq_stats.
b99423d Revert "sched_avg: add run queue averaging."
360b4d2 fs: sync: add missing return if fsync is disabled from userspace.
5c37eba fs: sync: enable fsync by default.
ed9664f Added fsync on/off support.
b789f46 Enable pipe flag.
7eb8f75 Remove '+' symbol from kernel version string
87a2d30 mach: msm: fix mismatch.
e5c580d Defconfig: generate victara_defconfig
2400b0b Staging: remove android logger
4f0c232 Voltage Control: generic voltage control for DTS based kernels
19cd6bb add lower cpu and gpu clocks
7175f55 video: mdss: Report PCC values from pp registers
54bd91a msm: mdss: KCAL: Remove deprecated __dev* markings
2115223 msm: mdss: Add pa_v2 support to KCAL
7c69fb0 msm: mdss: Replace PGC implementation with PCC for KCAL
8b7369b msm: mdss: Add KCAL support for post processing control [v2]
811c441 video: mdss: Color temperature interface using PCC
1ab7fd8 Fix warning - TODO: return_address should use unwin...
8c5a1f3 cpufreq: interactive: fix compiling warnings
eccc032 msm: use of swp{b} is deprecated for ARMv6+
0d53401 Prima:add vendor-qcom-opensource-wlan-prima-marshmallow-6.0.0-release-victara
d13f7bb Makefile:remove REAL_CC wrapper call, strip module, optimize
5f3172c Fix: compilation errors
935ac7b FS: merg moto f2fs
63cf94f Update: gitignore


# Changelog: Lite #1

820e5da nohz: Reduce overhead under high-freq idling patterns
e9b7f0f disable crc check
69367db msm: slimbus: use interruptible wait to reduce system's load average
bf5ab31 arm: irq: Tone down kernel logging
f4c5965 msm: vidc: disable CPU L2 cache PC during video sessions
7790eff perf/init/debug: disable some debug
21900d7 wakeup: add toggles for wlan wakelocks. They are all enabled by default, it's up to the user and I provide no support if Wi-Fi stops working normally without these locks enable
81b7791 PM: devfreq: Fix simple_ondemand crashing on startup
8909b2c block: Disable add_random
f3674bc staging: prima: Add config for Motorola UTAGS MAC feature
5fc6bb2 prima: Add config for Motorola UTAGS MAC feature
9a96036 Defconfig: enable advanced TCP
c79ba61 msm: kgsl: Do not detect faults when GPU core is idle
b144d3f msm: kgsl: Report GPU frequency correctly in sysfs
c19a9c8 msm: kgsl: Fix Z180 memory leak
a308649 deadline: Allow 0ms deadline latency, increase the read speed
54db630 block: fiops bias sync workload
86f13c1 block: fiops preserve vios key for deep queue depth workload
90ebcc9 block: fiops add ioprio support
dac39e4 block: fiops sync/async scale
d920f79 block: fiops read/write request scale
966d10d block: fiops ioscheduler core
155ac6f block: row: add magic values.
5cb3e08 block: deadline: Optimize for non-rotational
7908317 cfq-iosched: fix the setting of IOPS mode on SSDs
5d433a0 block: Make CFQ default to IOPS mode on SSDs
0e8d1f3 wcd9320: add a simple sysfs interface that allows for headphone and
bfb8bce mm: readahead to 512
be12cf0 drv2605: vibe strength control
e5c580d Defconfig: generate victara_defconfig
2400b0b Staging: remove android logger
4f0c232 Voltage Control: generic voltage control for DTS based kernels
19cd6bb add lower cpu and gpu clocks
7175f55 video: mdss: Report PCC values from pp registers …
54bd91a msm: mdss: KCAL: Remove deprecated __dev* markings …
2115223 msm: mdss: Add pa_v2 support to KCAL …
7c69fb0 msm: mdss: Replace PGC implementation with PCC for KCAL …
8b7369b msm: mdss: Add KCAL support for post processing control [v2] …
811c441 video: mdss: Color temperature interface using PCC
1ab7fd8 Fix warning - TODO: return_address should use unwin...
8c5a1f3 cpufreq: interactive: fix compiling warnings …
eccc032 msm: use of swp{b} is deprecated for ARMv6+ …
0d53401 Prima:add vendor-qcom-opensource-wlan-prima-marshmallow-6.0.0-release… …
d13f7bb Makefile:remove REAL_CC wrapper call, strip module, optimize
5f3172c Fix: compilation errors …
 
Last edited:

victor19

Senior Member
Jan 12, 2012
86
26
Thanks for your kernel, buddy! It sounds wonderful!

Sorry to bother you with this question, but, are there any improvements in sound on this kernel?

Edit: Sorry, didn't read the OP right :( so, as you said, I'm gently requesting a sound improvement on your kernel please :)
 
Last edited:

kraatus90

Senior Member
Sep 2, 2012
406
479
Redmi Note 10 Pro
Thanks for your kernel, buddy! It sounds wonderful!

Sorry to bother you with this question, but, are there any improvements in sound on this kernel?

Edit: Sorry, didn't read the OP right :( so, as you said, I'm gently requesting a sound improvement on your kernel please :)

no problemo , as i said i'll see what i can do and hopefully it will be on next update.:)
btw doesn't it already has a great speaker ? i mean it's pretty loud and clear for me. :confused:
 

Mennpiko

Senior Member
Mar 14, 2011
241
145
Cadiz
Samsung Galaxy Z Flip 5
Hi, I'm trying to add Kcal support to the last CM13 kernel, I got unpacked yours kernel and CM13, but can not find where I add the code Kcal, I hope can help me, thank you

Enviado desde mi XT1097 mediante Tapatalk
 
  • Like
Reactions: Viniped1

Vinnom

Senior Member
Jun 21, 2012
1,705
1,143
Campinas
Xiaomi Poco F1
Wow, I tried to do what you did once, but since college was kepting me so much busy, I didn't try anymore. Just now I was think "it would be cool if someone compiled a stock kernel for us". Great bro, great. I will test tomorrow ( almost 3 am here in Brazil now) and later I report my experience =)

And thanks for trying to turn it compatible with synapse. I like it much more than kernel adiutor =P

And if I would have some request, it would be to have alucard hotplug. Isn't very popular, but I like the controle it gives =)
 

fajarlazuarding

Senior Member
Jun 23, 2013
506
113
Finally a custom kernel for stock ! Thanks mate will try later ;)

Edit : done flashing this kernel and all run smoothly. I just figured about fsync, kernel adiutor is showing disabled while you stated in OP, it was enabled by default. Don't know which one is wrong lol.

And one question, I can't find any color profile inside kernel adiutor 'screen' menu, is this supposed to be like that ?
If yes, any chance you'll implementing that feature ?
Thanks.
Sent from my XT1095 using Tapatalk
 
Last edited:

kraatus90

Senior Member
Sep 2, 2012
406
479
Redmi Note 10 Pro
Finally a custom kernel for stock ! Thanks mate will try later ;)

Edit : done flashing this kernel and all run smoothly. I just figured about fsync, kernel adiutor is showing disabled while you stated in OP, it was enabled by default. Don't know which one is wrong lol.

And one question, I can't find any color profile inside kernel adiutor 'screen' menu, is this supposed to be like that ?
If yes, any chance you'll implementing that feature ?
Thanks.
Sent from my XT1095 using Tapatalk

it is supposed to be enabled by default.
for kcal , you will need to change values by yourself. yes it's supposed to be like that. this is what i use - R-233 , G- 213 . B- 255, saturation intensity - 18. other values are default.
 
  • Like
Reactions: fajarlazuarding

fajarlazuarding

Senior Member
Jun 23, 2013
506
113
it is supposed to be enabled by default.
for kcal , you will need to change values by yourself. yes it's supposed to be like that. this is what i use - R-233 , G- 213 . B- 255, saturation intensity - 18. other values are default.
Thanks for the clarification and setup value. Looks better.

Well, If I can request one more feature, please add backlight dimmer. Really appreciate it :)

Sent from my XT1095 using Tapatalk
 

glauberlima

Senior Member
Nov 9, 2012
104
84
Ribeirão Preto
Hi @kraatus90.

I've been compiling a custom kernel for our beloved XT1097 as well and I have plans to make it available here at XDA soon.

Did you manage to flash yours via fastboot? Mine is booting fine by running fastboot boot myKernel.img although this error message is the only thing that I get when I try to permanently flash it via fastboot flash boot myKernel.img:

hab check failed for boot

It's weird since it's 100% pure stock.

I've never tried to flash it via TWRP btw.

Thanks!
 

Vinnom

Senior Member
Jun 21, 2012
1,705
1,143
Campinas
Xiaomi Poco F1
Ok, flashed it and everything running smoothly ^^
Flashed UKM and Synapse fully working =)

Thank you @kraatus90 for your work ^^
And as I said before, only request I would make, would be to add alucard hotplug.
 

kraatus90

Senior Member
Sep 2, 2012
406
479
Redmi Note 10 Pro
Hi @kraatus90.

I've been compiling a custom kernel for our beloved XT1097 as well and I have plans to make it available here at XDA soon.

Did you manage to flash yours via fastboot? Mine is booting fine by running fastboot boot myKernel.img although this error message is the only thing that I get when I try to permanently flash it via fastboot flash boot myKernel.img:

hab check failed for boot

It's weird since it's 100% pure stock.

I've never tried to flash it via TWRP btw.

Thanks!

make sure that the size of kernel is not more than 9.96 MB , that's the limit . and for reducing the kernel size use xz compression. also even after doing that you will get some warning but it will work. ( same as flashing twrp it gives a warning but recovery still flashes and works) it's because size mismatch.

Ok, flashed it and everything running smoothly ^^
Flashed UKM and Synapse fully working =)

Thank you @kraatus90 for your work ^^
And as I said before, only request I would make, would be to add alucard hotplug.

first i'll test it by myself and if it's stable and not doing and problems i'll include it in next update. ( although the current hotplug works great )
 
Last edited:
  • Like
Reactions: leninke and Vinnom

juangcardoso

Senior Member
Mar 6, 2015
122
40
26
Rio de Janeiro
Awwwwyeeeaaaahhhhhhh! Lots of question, brother!!!!!!!!!

-I have root and Xposed installed, can I install your Kernel or I have to do a "clean" installation?
-This Kernel is compatible with Xposed MM?
-For now, there are any bugs?

And congratulations for your work, I saw many peoples saying good things about This Kernel xD

Edit:

-This Kernel has "Faux sound control" support?

And sorry my bad english xD
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 43
    [Kernel] Krait kernel for stock android 6.0 (v5)

    Code:
    /*  *** Disclaimer
    * [COLOR="Red"]Your Warranty is now Void![/COLOR]
    * I am not responsible for bricked 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.
    */
    Development stopped because i don't have this device anymore.
    Features;
    • Compiled with GCC toolchain 4.8 with various build optimizations (-O3 and GCC Tweaks for Cortex A15)
    • Improved and updated interactive governor (no need for other millions of governors)
    • Voltage Control
    • ARMv7 tweaks
    • Cpu underclock 268mhz
    • GPU underclock (100MHz)
    • GPU idles at 27mhz
    • Savoca's Advanced Color Control
    • Mutex tweaks
    • Fsync enabled by default
    • Many sched related improvements and fixes
    • New hotplug infrastructure from 3.10.x kernel
    • Disabled many debug option to reduced overhead of the kernel
    • Disabled Zram to reduced overhead
    • Silenced various kernel logs
    • Disabled crc check
    • Sound control for headphone and mic
    • FIOPS i/o scheduler
    • Frandom support
    • vibration control
    • TCP Westwood
    • Disable CPU L2 cache PC during video sessions (longer video playback time)
    • Many other small tweaks*(check git)

    Installation instructions
    Always make a Full backup first, or at-least make system+boot backup.

    1.Flash stock boot.img or install patched boot.img from here
    2.Install Su or skip this if you have installed patched boot.img from here
    3.Install krait_kernel.zip

    it's recommended to do this for every time you update this kernel. dirty flashing could give you troubles.

    Download


    How to tweak this kernel:
    - Install Kernel Adiutor or Synapse
    - for Synapse, flash Krait_UKM.zip in recovery before installing apk from store
    Reminder - synapse isn't officially supported for victara i tried to make it work.

    Enjoy!

    Thanks to these people. i stole alot of stuff from them to make this possible.
    franciscofranco, RenderBroken, Neobuddy89, ak, myfluxi, Dorimanx, Savoca, Faux123, Flashhhh, Kaminari, hurtsky osm0sis and Many More!



    XDA:DevDB Information
    [Kernel] Krait kernel for moto x 2014, Kernel for the Moto X 2014

    Contributors
    kraatus90
    Source Code: https://github.com/kraatus90/MotoX_Kernel

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: 5.0
    Stable Release Date: 2016-03-10

    Created 2016-01-11
    Last Updated 2016-03-12
    13
    Update 5

    Update #5 is here :good:

    Download

    change-log on post #2

    so i have been using this version since almost 10 days. no reboot or any problems so far. getting 5-5:20 hrs SOT with 2-3 days of standby time. as i said before this is the last version because im selling my phone. i have tried everything i can gaming /benchmarking/yt ,all type of use cases to test stability and i had 0 issues so far, so if someone still gets a reboot or something i can't do anything anymore. hopefully you guys will be happy with it. thanks for your support. :eek:

    My kernel adiutor settings -

    scaling_governor interactive
    above_hispeed_delay "20000 1400000:40000 1800000:20000"
    go_hispeed_load 95
    hispeed_freq 1036800
    io_is_busy 1
    target_loads "85 1267200:90 1728000:99"
    min_sample_time 80000
    timer_rate 30000
    max_freq_hysteresis 100000
    timer_slack 30000

    cpu boost interval -40ms
    Sync threshold disabled
    input interval 250ms
    input boost frequency core 1 729mhz
    input boost frequency core 2 729mhz
    input boost frequency core 3 disabled
    input boost frequency core 4 disabled

    gpu max freq- 330mhz

    everything else is default.
    10
    update 3

    KraitKernel_v3 is Here!!!

    as always, flash stock boot.img first then flash/patch with su. then flash v3 zip.

    Download

    Changelog: v3

    media: radio: Fix building and loading the IRIS transport
    wcd9320: add a simple sysfs interface that allows for headphone and mic register value customization ( headphone and mic vol boost )
    disable crc check
    block: Disable add_random
    Add SIO and FIOPS i/o schedulers
    init.d fix thanks to Junior Passos
    9
    # changelog

    # Changelog: #5

    6afea6b (HEAD, origin/testv5, testv5) wcd9320: add a simple sysfs interface that allows for headphone and mic register value customization. You're able to increase or decrease the sound gain of those two int
    d4c5a68 cpufreq: Set min/max frequencies
    9bda582 cpu: fix section mismatch warnings with __hotcpu_register
    d2038af profile: Fix CPU hotplug callback registration
    12a5ff1 trace, ring-buffer: Fix CPU hotplug callback registration
    71b297f drivers/base/topology.c: Fix CPU hotplug callback registration
    48961cc arm, hw-breakpoint: Fix CPU hotplug callback registration
    28cc28d CPU hotplug, perf: Fix CPU hotplug callback registration
    f903d63 net/core/flow.c: Fix CPU hotplug callback registration
    c84456f mm, vmstat: Fix CPU hotplug callback registration
    b2b0378 perf, cpu hotplug: Use cached value of smp_processor_id()
    f580195 perf, cpu hotplug: Run CPU_STARTING notifiers with irqs disabled
    af42728 Doc/cpu-hotplug: Specify race-free way to register CPU hotplug callbacks
    33853c5 CPU hotplug: Provide lockless versions of callback registration functions
    5843c25 Mmc: do not build tests
    7547d35 Add /dev/frandom
    61ce616 Zram:disable for now
    bb202d1 VFP: make it mhard-float
    5c2126a Defconfig:update
    cf8160a Update:Makefile
    b04fde6 sched: rt: use printk_sched instead of printk_deferred
    c9e26a0 mm: readahead to 512
    5270046 drv2605: vibe strength control
    d7d04cb kernel: Reduce dmesg spam
    5cf41f6 debug: remove: remove some dmesg logspam from Linux mainline 3.4 fs
    a0d163b msm: watchdog-v2: Trace IRQ when watchdog bites
    4f98226 msm: watchdog_v2: Print IRQ during bark
    6d45132 block: row: add magic values.
    6af17c6 mm, oom: base root bonus on current usage
    050e213 mm: vmscan: support complete shrinker reclaim
    0d51036 sysfs: check if one entry has been removed before freeing
    ab4f410 PM: don't use [delayed_]work_pending()
    c860f2f net: inet_diag: zero out uninitialized idiag_{src,dst} fields
    1921c47 FROMLIST: arm: mm: support ARCH_MMAP_RND_BITS.
    cb6a4e2 FROMLIST: mm: mmap: Add new /proc tunable for mmap_base ASLR.
    f9a457e UPSTREAM: include/linux/poison.h: fix LIST_POISON{1,2} offset
    19f5cd7 UPSTREAM: proc: actually make proc_fd_permission() thread-friendly
    6bbd842 UPSTREAM: proc: make proc_fd_permission() thread-friendly
    d997ed3 debugobjects: Make debug_object_activate() return status
    58b7b81 cfq-iosched: fix the setting of IOPS mode on SSDs
    5901472 cpufreq: cpu-boost: don't boost over user set max freq
    3430b4d cpufreq: cpu-boost: export input_boost_enable to userspace
    a94224b ksm: Provide support to use deferred timers for scanner thread
    52f4302 sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target
    ee9905c sched: Change autogroup_move_group() to use for_each_thread()
    dc82830 sched: s/do_each_thread/for_each_process_thread/ in debug.c
    6bb51d8 sched: s/do_each_thread/for_each_process_thread/ in core.c
    2218ac8 sched: Fix exec_start/task_hot on migrated tasks
    8c814bc sched/fair: Avoid integer overflow
    e5c1c82 sched/core: Fix an SMP ordering race in try_to_wake_up() vs. schedule()
    63aaee4 sched: Fix RLIMIT_RTTIME when PI-boosting to RT
    718ce09 sched: Queue RT tasks to head when prio drops
    8411045 futexes: Increase hash table size for better performance
    1f9b4aa timer: reduce cache bouncing of deferral timer wheel
    2821133 timer: make deferrable cpu unbound timers really not bound to a cpu
    7e62d2c timer: Clean up timer initializers
    d81cd39 timer: Generalize timer->base flags handling
    797337e sched/fair: rq might've been uninitialized, so fix it
    a717f0a sched/balancing: Reduce the rate of needless idle load balancing
    c502573 sched/fair: Stop searching for tasks in newidle balance if there are runnable tasks
    8e17745 mm/slub: don't wait for high-order page allocation
    8d91f44 sched: Fix race in idle_balance()
    c73412e fs/buffer.c: increase the buffer-head per-CPU LRU size
    ed6c7ed msm: vidc: disable debug logs
    89a649b PM / QoS: Fix workqueue deadlock when using pm_qos_update_request_timeout()
    a774527 timer: Prevent overflow in apply_slack
    943971f ksoftirqd: Enable IRQs and call cond_resched() before poking RCU
    3f4975b sched: fix try_to_wake_up()
    b77497b msm: vidc: Check for active handle before updating the QoS request
    b733332 msm: ipc_socket: fix leak of kernel memory to userspace
    913aab5 tools/include: use stdint types for user-space byteshift headers
    e2ef859 sched: Force sleep on consecutive sched_yields
    c9b7643 wireless: bcmdhd: halve rx and ctrl wakelock timeout by half
    bb87ced wakeup: add toggles for wlan wakelocks. They are all enabled by default, it's up to the user and I provide no support if Wi-Fi stops working normally without these locks enabled. This is for advanced
    5d2d297 Input: optimize events_per_packet count calculation
    2f41bac soc: qcom: smd: Fix SMD packet sync loss issue
    8f1d995 net: rps: fix cpu unplug
    859a9bd msm: vidc: Initialize kernel space stack variables
    8733005 perf/init/debug: disable some debug
    f3f955f msm: vidc: disable CPU L2 cache PC during video sessions
    625b7d9 lowmemorykiller: use for_each_thread instead of buggy while_each_thread
    4998b26 mm, vmalloc: remove useless variable in vmap_block
    f9010f25 mm, vmalloc: use well-defined find_last_bit() func
    fa021a7 block: Reserve only one queue tag for sync IO if only 3 tags are available
    5598cf4 readahead: make context readahead more conservative
    32ef0bc writeback: fix race that cause writeback hung
    21a777c sync: don't block the flusher thread waiting on IO
    7e5873c binfmt_elf.c: use get_random_int() to fix entropy depleting
    3435580 writeback: fix writeback cache thrashing
    d00823d mm: vmscan: If kswapd has been running too long, allow it to sleep
    be32979 CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
    963eee9 jiffies: Fix timeval conversion to jiffies
    536a298 sched, smp: Correctly deal with nested sleeps
    15ff7a4 smpboot: Add missing get_online_cpus() in smpboot_register_percpu_thread()
    3538ea1 msm: bam_dmux: Reduce debug logs to avoid watchdog bite
    9ec39f1 tty: fix memleak in alloc_pid
    622c2fb arm: irq: Tone down kernel logging
    b64ca33 msm: kgsl: Do not detect faults when GPU core is idle
    3dfbacf Input: fix defuzzing logic
    bf0028f genirq: Sanitize spurious interrupt detection of threaded irqs
    d080723 futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == u…
    179e59b futex: Prevent attaching to kernel threads
    563f8aa hrtimer: Set expiry time before switch_hrtimer_base()
    5349d95 hrtimer: Prevent remote enqueue of leftmost timers
    df82420 hrtimer: Prevent all reprogramming if hang detected
    8f21cfb msm: kgsl: Fix Z180 memory leak
    4e6c321 sched: Remove stale power aware scheduling remnants and dysfunctional knobs
    f40a949 sched/fair: Improve the ->group_imb logic
    fa512a1 sched/nohz: Fix rq->cpu_load[] calculations
    095d95b sched/fair: Revert sched-domain iteration breakage
    f7e9b19 sched/fair: Propagate 'struct lb_env' usage into find_busiest_group
    fd82152 sched/fair: Add some serialization to the sched_domain load-balance walk
    74a7c29 sched/fair: Let minimally loaded cpu balance the group
    a5abc61 sched: Change rq->nr_running to unsigned int
    5a9a93d sched/idle: Avoid spurious wakeup IPIs
    db4484d cpufreq: Correct the data reported in all_time_in_state
    17f81c1 Revert "cpufreq: stats: Initialize all_freq_table earlier"
    973a7e1 msm: kgsl: Report correct GPU frequency in sysfs
    5956b51 PM / devfreq: Fix simple_ondemand crashing
    14bfafb net: add validation for the socket syscall protocol argument
    b703289 Revert "cpufreq: make the "scaling_cur_freq" sysfs entry pollable"
    03374b4 sched/fair: Implement fast idling of CPUs when the system is partially loaded
    2696062 msm: slimbus: use interruptible wait to reduce system's load average
    38c4dc4 msm_bam_rmnet: Fix potential memory corruption
    0069ff3 mm: slub: Default slub_max_order to 0
    12b0b62 jiffies conversions: Use compile time constants when possible
    9c79bcd sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire. From http://ripke.com/loadavg/moire
    e927006 af_unix: speedup /proc/net/unix /proc/net/unix has quadratic behavior, and can hold unix_table_lock for a while if high number of unix sockets are alive. (90 ms for 200k sockets...)
    d94a897 audit: Imma let you finish, but shut up
    8cd0dc1 ARM: make kernel oops easier to read
    ee3e7a4 SELinux: Fix memory leak upon loading policy
    7e5b5bf selinux: just shut up
    0989a88 PM / Wakeup: Use rcu callbacks for better performance
    db762b4 rcu: Add RCU_FAST_NO_HZ tracing for idle exit
    7604264 Revert "rcu: Precompute RCU_FAST_NO_HZ timer offsets"
    f7301e5 rcu: Add a module parameter to force use of expedited RCU primitives
    cab93e6 sched: move task load based functions
    bc620db sched: window-based load stats improvements
    1b14e09 sched: Add min_max_freq and rq->max_possible_freq
    f1a928f sched/rt: Add Kconfig option to enable panicking for RT throttling
    88c294d sched/rt: print RT tasks when RT throttling is activated
    7a4d123 sched: Skip load update for idle task
    4aa6e0f sched/debug: Fix sd->*_idx limit range avoiding overflow
    c4e588e5 sched/debug: Limit sd->*_idx range on sysctl
    0c9b903 sched: Fix memory leakage in build_sched_groups()
    65360fe sched: window-stats: Fix overflow bug
    973786d sched: Window-based load stat improvements
    1422060 sched: Disable wakeup hints for foreground tasks by default
    9bfe0bb sched: Call the notify_on_migrate notifier chain for wakeups as well
    aff4b51 sched: Fix double normalization of vruntime
    2ef42f3 cpufreq: cpu-boost: Introduce scheduler assisted load based syncs
    fa975fc sched: window-based load stats for tasks
    8dd0fc4 sched: Make scheduler aware of cpu frequency state
    66c0b1d mach-msm: disable kernel-side mpdecision
    21fbeb4 cpufreq: Fix broken uevents for cpufreq governor and cpu devices
    b1310d4 drivers: cpufreq: Send a uevent when governor changes
    db9e96e ARM: Use TTBR1 instead of reserved context ID
    c13a269 ARM: 7408/1: cacheflush: return error to userspace when flushing syscall fails
    7b00f49 ARM: 7569/1: mm: uninitialized warning corrections
    5444b08 ARM: 7784/1: mm: ensure SMP alternates assemble to exactly 4 bytes with Thumb-2
    0f84328 ARM: 7691/1: mm: kill unused TLB_CAN_READ_FROM_L1_CACHE and use ALT_SMP instead
    6e1f51e ARM: 7660/1: tlb: add branch predictor maintenance operations
    1c7271c ARM: 7678/1: Work around faulty ISAR0 register in some Krait CPUs
    aadf715 ARM: 7752/1: errata: LoUIS bit field in CLIDR register is incorrect
    120d169 ARM: 7606/1: cache: flush to LoUU instead of LoUIS on uniprocessor CPUs
    8f52276 ARM: 7747/1: pcpu: ensure __my_cpu_offset cannot be re-ordered across barrier()
    0c051fe ARM: 7587/1: implement optimized percpu variable access
    97c8035 ARM: 7680/1: Detect support for SDIV/UDIV from ISAR0 register
    77864d4 lib: cpu_rmap: avoid flushing all workqueues
    6165388 ARM: gic: use a private mapping for CPU target interfaces
    eb06ced ARM: 7573/1: idmap: use flush_cache_louis() and flush TLBs only when necessary
    14dc1d7 ARM: 7542/1: mm: fix cache LoUIS API for xscale and feroceon
    c278843 ARM: cpu hotplug: remove majority of cache flushing from platforms
    14dc1b2 ARM: smp: flush L1 cache in cpu_die()
    6519af4 ARM: Don't dump vmalloc addresses with show_data()
    1458313 kthread: Fix the race condition when kthread is parked
    720e8a8 ARM: 7449/1: use generic strnlen_user and strncpy_from_user functions
    e5a3e0f cpufreq: ondemand: Remove unused waitqueue
    b8bf739 cpufreq: ondemand: Use hotplug thread infrastructure
    7af4775 cpufreq: ondemand:kernel NULL pointer dereference at dbs_check_cpu
    78d14c2 cpu: Fix generic idle thread allocation
    880f06f smp: Add task_struct argument to __cpu_up()
    c2c57e8 stop_machine: Mark per cpu stopper enabled early
    f6f0363 stop_machine: Use smpboot threads
    6bd3207 stop_machine: Cleanup for upstream
    e565ceb stop_machine: Store task reference in a separate per cpu variable
    c756e09 kthread: Prevent unpark race which puts threads on the wrong cpu
    d863f50 smpboot: Allow selfparking per cpu threads
    acb1cd5 hotplug: Fix UP bug in smpboot hotplug code
    68230ae smpboot: Provide infrastructure for percpu hotplug threads
    8280e3b kthread: Implement park/unpark facility
    6616f77 smpboot, idle: Optimize calls to smp_processor_id() in idle_threads_init()
    d1088c2 smp, idle: Allocate idle thread for each possible cpu during boot
    5731b3e fix smp err
    2114883 smp: Provide generic idle thread allocation
    90e058d smp: Add generic smpboot facility
    3888603 Revert "Revert "ACPI / processor: prevent cpu from becoming online""
    521ad99 Revert "[backport] Hotplug thread infrastructure"
    e8658e0 Revert "kthread: Fix the race condition when kthread is parked"
    2e3fd0d Revert "kthread_work: wake up worker only when the worker is idle"
    87d7906 ARM: 7685/1: delay: use private ticks_per_jiffy field for timer-based delay ops
    610a510 ARM: 7653/2: do not scale loops_per_jiffy when using a constant delay clock
    4d8dd17 ARM: add cpufreq transiton notifier to adjust loops_per_jiffy for smp
    dc1902d ARM: smp: BUG() if smp_send_reschedule() is called for an offline cpu
    0797616 sched: remove duplicate code
    38c2d49 cma: Add support for memory limits
    045aa73 mm: reorder can_do_mlock to fix audit denial
    ab73330 md: use kzalloc() when bitmap is disabled
    1de6bdd KEYS: Fix crash when attempt to garbage collect an uninstantiated keyring
    c1f27ee KEYS: Fix race between key destruction and finding a keyring by name
    bd9e9df KEYS: Add invalidation support
    6e2a700 msm:rq_stats: Register for Cpufreq policy notification
    ee0d0ed cpufreq: Introduce new relation for freq selection
    6ed865f Input: Send events one packet at a time
    65c1ca4 cpufreq: Break out early when frequency equals target_freq
    00c854e cpufreq: Optimize cpufreq_frequency_table_verify()
    8027079 KEYS: Permit in-place link replacement in keyring list
    2b7f5d0 KEYS: Perform RCU synchronisation on keys prior to key destruction
    b73ab9e KEYS: Fix handling of stored error in a negatively instantiated user key
    414de40 ipv6: addrconf: validate new MTU before applying it
    0a5a4bc net: fix iterating over hashtable in tcp_nuke_addr()
    7f72c8b pagemap: do not leak physical addresses to non-privileged userspace
    e65e7c2 __ptrace_may_access() should not deny sub-threads
    7ea393e cpufreq: stats: Initialize all_freq_table earlier
    8e0b605 Revert "trace: memkill: trace LMK and OOM kills"
    8a3e53a mm, oom: make dump_tasks public
    dee4ca9 introduce for_each_thread() to replace the buggy while_each_thread()
    c6aa414 mm: Add notifier framework for showing memory
    3bad3ea mm: vmpressure: allow in-kernel clients to subscribe for events
    8a8f89c memcg: add memory.pressure_level events
    5a6981d cpufreq: Resolve CPUFREQ_NOTIFY issue
    7c703c9 sched: Micro-optimize the smart wake-affine logic
    12d1659 sched: Implement smarter wake-affine logic
    5928d20 cpufreq: Remove unnecessary initialization of a local variable
    8006605 wlan: Address buffer overflow due to invalid length
    c861c89 net: add length argument to skb_copy_and_csum_datagram_iovec
    40ff4dc tcp_cubic: do not set epoch_start in the future
    c6c633d tcp_cubic: better follow cubic curve after idle period
    4e77cf6 PM / Freezer: Fix small typo "regrigerator"
    b14d5e2 Revert "freezer: comment out might_sleep()"
    56468fe PM: Remove legacy code leftovers
    559ed78 block: fiops ioscheduler core
    7b29020 block: Make CFQ default to IOPS mode on SSDs
    3a20184 power: msm_battery: increase battery check interval from 5 to 15 seconds
    ec6ed21 mutex: back out architecture specific check for negative mutex count
    e12db09 mutex: Queue mutex spinners with MCS lock to reduce cacheline contention
    6f6e5b0 mutex: Make more scalable by doing less atomic operations
    afc372f ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accesses
    dc2fe65 ARM: 7492/1: add strstr declaration for decompressors
    5a8ab82 ARM: 7493/1: use generic unaligned.h
    4d611b5 arch/arm/Kconfig: enable unaligned capability for ARM
    6c78fab ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above
    86cd07a ARM: mutex: use generic atomic_dec-based implementation for ARMv6+
    bd7b7a0 AIO: Don't plug the I/O queue in do_io_submit() Asynchronous I/O latency to a solid-state disk greatly increased between the 2.6.32 and 3.0 kernels. By removing the plug from do_io_submit(), we obser
    303630c ARM: mm: update __v7_setup() to the new LoUIS cache maintenance API
    a86018a ARM: kernel: update __cpu_disable to use cache LoUIS maintenance API
    2b47fd0 ARM: mm: rename jump labels in v7_flush_dcache_all function
    1c6c4fa block: deadline: Optimize for non-rotational
    0738af0 block: Disable add_random
    89b6761 xz: Optimize Sfck Compression
    ed66b18 writeback: increase bdi_min_ratio to 5
    bda990f Revamp spinlock ASM code
    064a28f Optimize slub by not using fair sleepers
    8cbac7c zlib: clean up some dead code
    f6d079e mmc: Disable crc check
    bf53cf4 lib/int_sqrt.c: optimize square root algorithm
    b185a2f lib/memcopy: use glibc version
    6665e6d lib/string: use glibc version
    467cd03 Added optimized ARM RWSEM algorithm.
    5dd6637 power: qpnp-bms-mmi: Fix devm_kfree warning caused by NULL pointer
    653dae4 Slim_ngd: Don't create the device node per SSR
    b6e78e5 ASoC: msm: qdsp6v2: add support for any number of ASM buffers
    84057de PM: devfreq: Fix simple_ondemand crashing on startup
    2323709 udp: fix behavior of wrong checksums
    17a372d ALSA: Export audio effects header
    5300fd9 Fix sizeof-pointer-memaccess warning with gcc 4.8
    f7037db Revert "Implement new IPV6 filter logic"
    7097427 staging: prima: Add config for Motorola UTAGS MAC feature Use a kernel config to decide whether the MAC address should be read from the boot parameters or NV file.
    83fbe9b ipv6: Don't reduce hop limit for an interface
    ade627e netfilter: nf_conntrack: reserve two bytes for nf_ct_ext->len
    cc2dbf5 mm: Fix NULL pointer dereference in madvise(MADV_WILLNEED) support
    735e913 netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages
    5a077d3 eCryptfs: Remove buggy and unnecessary write in file name decode routine
    038f916 netfilter: conntrack: disable generic tracking for known protocols
    2a6555e KEYS: close race between key lookup and freeing
    cd14ada tracing/syscalls: Ignore numbers outside NR_syscalls' range
    4079cb9 tracing/syscalls: Fix perf syscall tracing when syscall_nr == -1
    6cc62e7 ipv4: try to cache dst_entries which would cause a redirect
    043e904 futex: Make lookup_pi_state more robust
    66a7506 futex: Always cleanup owner tid in unlock_pi
    f6a1a23 futex: Validate atomic acquisition in futex_lock_pi_atomic()
    cf69752 android: drivers: workaround debugfs race in binder
    be0731e sched: Introduce temporary FAIR_GROUP_SCHED dependency for load-tracking
    b58e214 sched: Make __update_entity_runnable_avg() fast
    21b9fa1 sched: Update_cfs_shares at period edge
    f077267 sched: Refactor update_shares_cpu() -> update_blocked_avgs()
    eb018d6 sched: Replace update_shares weight distribution with per-entity computation
    309fb81 sched: Maintain runnable averages across throttled periods
    ce87b09 sched: Normalize tg load contributions against runnable time
    aa96e2c sched: Compute load contribution by a group entity
    f0cee3f sched: Aggregate total task_group load
    540dd8c sched: Account for blocked load waking back up
    b8823e3 sched: Add an rq migration call-back to sched_class
    3e21ad0 sched: Maintain the load contribution of blocked entities
    ec015f4 sched: Aggregate load contributed by task entities on parenting cfs_rq
    fb594e3 sched: Maintain per-rq runnable averages
    1b23ef9 sched: Track the runnable average on a per-task entity basis
    28dacc9 sched: Fix reference to stale task_struct in try_to_wake_up()
    d4ca76d cpufreq: interactive: Do not reschedule timer if policy->max changes
    7c0f9ed cpufreq: interactive:call __cpufreq_driver_target() for cur frequency
    f72dcfb cpufreq: interactive: don't skip waking up speedchange_task if target_freq > policy->cur
    c3eb51c cpufreq: interactive: prevents the frequency to directly raise above the hispeed_freq from a lower frequency.
    2178b29 cpufreq: interactive: Replace strict_strtoul with kstrtoul
    7ec2d7e cpufreq: interactive: Reschedule timer if min_freq is reduced
    04c313f CHROMIUM: cpufreq: interactive: calculate load before freq change
    4f3a048 cpufreq: interactive: Rearm governor timer at max freq
    f9b849c CHROMIUM: Replace obsolete strict_strtoul calls.
    b8d5775 CHROMIUM: cpufreq: interactive: free above_hispeed_delay on exit
    4147877 CHROMIUM: cpufreq: interactive: validate above_hispeed_delay
    518096f cpufreq: interactive: Honor boosted state in several timer calculations
    4c42e7d cpufreq: interactive: Consider changed min limit a frequency boost
    fbc7025 cpufreq: interactive: Honor changed minimum frequency
    63d4c3d cpufreq: interactive: Record hispeed_validated_time in timer function
    079016c cpufreq: interactive: Exercise hispeed settings at a policy level
    bd2dfda cpufreq: interactive: Make window alignment optional
    e357905 cpufreq: interactive: Add max_freq_hysteresis feature
    ae461a8 cpufreq: interactive: Use del_timer/add_timer_on to rearm timers
    9c6a572 cpufreq: interactive: Round up timer_rate to match jiffy
    8c7abe7 cpufreq: interactive: Reset last evaluated jiffy in idle callback
    f6b4469 cpufreq: interactive: Align timer windows for all CPUs
    fc43cc7 cpufreq: interactive: Squashed cleanup patches
    2bc950c cpufreq: interactive: Move definition of cpufreq_gov_interactive downwards
    acd4700 cpufreq: interactive: Remove unnecessary cpu_online() check
    f4826cd cpufreq: interactive: Don't reset sampling down factor at max freq
    fe4155b cpufreq: cpu-boost: Use one work to remove input boost for all CPUs
    8315fe4 cpufreq: cpu-boost: Support separate input_boost_freq for different CPUs
    feeb07b cpufreq: cpu-boost: Make the code 64 bit compatible
    5ba64c6 cpufreq: Sync on thread migration optimizations
    2448598 cpufreq: interactive: get_cpu_idle_time_* are now on cpufreq.c
    3a4b367 cpufreq: Protect against hotplug in cpufreq_register_driver()
    f410c36 cpufreq: Return directly in __cpufreq_get if policy is NULL
    8bd6da2 cpufreq: Move get_cpu_idle_time() to cpufreq.c
    4d763b7 cpufreq: cpu-boost: Re-issue boosts above minimum frequency
    37c57b0 cpufreq: cpu-boost: Resolve deadlock when waking up sync thread
    eea0280 kthread_work: wake up worker only when the worker is idle
    d6ca760 tick: Upstream fixes
    cdd1423 kthread: Fix the race condition when kthread is parked
    530368f softirq: reduce latencies
    834472e mdss: use an interruptible thread on edp to reduce load_average
    e92a8ab msm: Fix high load average from uninterruptible waits
    67ac256 rcu: Use smp_hotplug_thread facility for RCUs per-CPU kthread
    a25d421f rcu: Yield simpler
    ee26be6 softirq: Use hotplug thread infrastructure
    97dd4c8 [backport] Hotplug thread infrastructure
    9ada5c8 Revert "ACPI / processor: prevent cpu from becoming online"
    bec358a msm: do not compile rq_stats.
    b99423d Revert "sched_avg: add run queue averaging."
    360b4d2 fs: sync: add missing return if fsync is disabled from userspace.
    5c37eba fs: sync: enable fsync by default.
    ed9664f Added fsync on/off support.
    b789f46 Enable pipe flag.
    7eb8f75 Remove '+' symbol from kernel version string
    87a2d30 mach: msm: fix mismatch.
    e5c580d Defconfig: generate victara_defconfig
    2400b0b Staging: remove android logger
    4f0c232 Voltage Control: generic voltage control for DTS based kernels
    19cd6bb add lower cpu and gpu clocks
    7175f55 video: mdss: Report PCC values from pp registers
    54bd91a msm: mdss: KCAL: Remove deprecated __dev* markings
    2115223 msm: mdss: Add pa_v2 support to KCAL
    7c69fb0 msm: mdss: Replace PGC implementation with PCC for KCAL
    8b7369b msm: mdss: Add KCAL support for post processing control [v2]
    811c441 video: mdss: Color temperature interface using PCC
    1ab7fd8 Fix warning - TODO: return_address should use unwin...
    8c5a1f3 cpufreq: interactive: fix compiling warnings
    eccc032 msm: use of swp{b} is deprecated for ARMv6+
    0d53401 Prima:add vendor-qcom-opensource-wlan-prima-marshmallow-6.0.0-release-victara
    d13f7bb Makefile:remove REAL_CC wrapper call, strip module, optimize
    5f3172c Fix: compilation errors
    935ac7b FS: merg moto f2fs
    63cf94f Update: gitignore


    # Changelog: Lite #1

    820e5da nohz: Reduce overhead under high-freq idling patterns
    e9b7f0f disable crc check
    69367db msm: slimbus: use interruptible wait to reduce system's load average
    bf5ab31 arm: irq: Tone down kernel logging
    f4c5965 msm: vidc: disable CPU L2 cache PC during video sessions
    7790eff perf/init/debug: disable some debug
    21900d7 wakeup: add toggles for wlan wakelocks. They are all enabled by default, it's up to the user and I provide no support if Wi-Fi stops working normally without these locks enable
    81b7791 PM: devfreq: Fix simple_ondemand crashing on startup
    8909b2c block: Disable add_random
    f3674bc staging: prima: Add config for Motorola UTAGS MAC feature
    5fc6bb2 prima: Add config for Motorola UTAGS MAC feature
    9a96036 Defconfig: enable advanced TCP
    c79ba61 msm: kgsl: Do not detect faults when GPU core is idle
    b144d3f msm: kgsl: Report GPU frequency correctly in sysfs
    c19a9c8 msm: kgsl: Fix Z180 memory leak
    a308649 deadline: Allow 0ms deadline latency, increase the read speed
    54db630 block: fiops bias sync workload
    86f13c1 block: fiops preserve vios key for deep queue depth workload
    90ebcc9 block: fiops add ioprio support
    dac39e4 block: fiops sync/async scale
    d920f79 block: fiops read/write request scale
    966d10d block: fiops ioscheduler core
    155ac6f block: row: add magic values.
    5cb3e08 block: deadline: Optimize for non-rotational
    7908317 cfq-iosched: fix the setting of IOPS mode on SSDs
    5d433a0 block: Make CFQ default to IOPS mode on SSDs
    0e8d1f3 wcd9320: add a simple sysfs interface that allows for headphone and
    bfb8bce mm: readahead to 512
    be12cf0 drv2605: vibe strength control
    e5c580d Defconfig: generate victara_defconfig
    2400b0b Staging: remove android logger
    4f0c232 Voltage Control: generic voltage control for DTS based kernels
    19cd6bb add lower cpu and gpu clocks
    7175f55 video: mdss: Report PCC values from pp registers …
    54bd91a msm: mdss: KCAL: Remove deprecated __dev* markings …
    2115223 msm: mdss: Add pa_v2 support to KCAL …
    7c69fb0 msm: mdss: Replace PGC implementation with PCC for KCAL …
    8b7369b msm: mdss: Add KCAL support for post processing control [v2] …
    811c441 video: mdss: Color temperature interface using PCC
    1ab7fd8 Fix warning - TODO: return_address should use unwin...
    8c5a1f3 cpufreq: interactive: fix compiling warnings …
    eccc032 msm: use of swp{b} is deprecated for ARMv6+ …
    0d53401 Prima:add vendor-qcom-opensource-wlan-prima-marshmallow-6.0.0-release… …
    d13f7bb Makefile:remove REAL_CC wrapper call, strip module, optimize
    5f3172c Fix: compilation errors …
    8
    So does version 3 have FauxSound? I know it was removed in the 2.0 (or another minor update) but I can see some small changes regarding headphone and mic volumes in the latest changelog.

    no fauxsound , but there's a small version of franco sound control. it allows mic and headphone volume gain.

    Edit: new version is up ..

    Download