[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
UPDATE for 1.27 Base

hey guys and girls,

so with the release of the 1.27 kernel source the lag is finally fixed. that means it is no longer required to disable the hw overlays in dev options at boot. also means netflix just works now.

The kernel runs way faster now that we use the correct source for the rom base most of us are on. you feel it instantly after booting up.

The following update includes everything from the previous releases. But also some additions.

Changelog:

Detailed:

459e803 wakeup: bypass wcnss_filter_lock too, it's destroying battery life for lots of users, regardless of being on a 100% stock device or a custom Kernel

f700914a fix build errors wifi module

f9687ae icnss: Add APIs to store driver load count

c05ea91 build up eas_defconfig

ffcd09d drivers: i2c: Fix direct references to HZ

cba3d86 drivers: hwmon: Fix direct references to HZ

a9eda06 drivers: platform: gsi: Fix direct references to HZ

481f085 drivers: ipa: Fix direct references to HZ

9de8981 drivers: video: mdss: Fix direct references to HZ

52e6236 Convert few critical drivers to use msecs_to_jiffies insted of HZ

26a9d32 lib/bsearch.c: micro-optimize pivot position calculation

75aea82 ext4: check return value of kstrtoull correctly in reserved_clusters_store

c62ff63 ext4: fix fdatasync(2) after extent manipulation operations

4cae369 ext4: keep existing extra fields when inode expands

32ba208 ext4: fix SEEK_HOLE

3430f93 ext4: trim allocation requests to group size

e69e2de ext4: reject inodes with negative size

bbddb9e ext4: fix stack memory corruption with 64k block size

4beb490 ext4: fix mballoc breakage with 64k block size

0833438 ext4: fix memory leak in ext4_insert_range()

bda80e8 slimbus-enhancement for 4.4 kernel

0b57aa4 DRIVERS: SLIMBUS: slimbus enhancements mkII

84bc3ce include: asm-generic: do not hard code HZ to 100 Use the defconfig value instead

8072e41 fbdev: msm: Fix direct references to HZ

c592c9a cpu-boost: Introduce Dynamic Stune Boost

5b1636b arm64: enable max frequency capping

8665125 arm: enable max frequency capping

07bd9ac cpufreq: implement max frequency capping

08bc835 sched/fair: introduce an arch scaling function for max frequency capping

f526b5b cpufreq: remove max frequency capping from scale_freq_capacity()

1b6da2e Revert "cpufreq: Max freq invariant scheduler load-tracking and cpu capacity support"

b0d34dd Revert "arm: Enable max freq invariant scheduler load-tracking and capacity support"

a3d3f53 Revert "arm64: Enable max freq invariant scheduler load-tracking and capacity support"

5d46761 drivers: leds, fpf: squeeze, led fixup

72acddf leds, msm_flash: flashlight blink: add more sysfs config

60c1cab msm_flash: flashlight blink: move to full async trigger and locks

d4f5578 FROMLIST: binder: fix an ret value override

3d61462 FROMLIST: binder: fix memory corruption in binder_transaction binder

1a1a02a FROMLIST: android: binder: Add page usage in binder stats

9f33a97 FROMLIST: android: binder: Add shrinker tracepoints

4ae7d9c FROMLIST: android: binder: Add global lru shrinker to binder

18a625c FROMLIST: android: binder: Move buffer out of area shared with user space

22009f0 FROMLIST: android: binder: Add allocator selftest

3df8e15 FROMLIST: android: binder: Refactor prev and next buffer into a helper function

23928d1 ANDROID: binder: don't queue async transactions to thread.

c3d765c ANDROID: binder: don't enqueue death notifications to thread todo.

d900eb4 ANDROID: binder: call poll_wait() unconditionally.

f76e31e ANDROID: binder: Don't BUG_ON(!spin_is_locked()).

07585f1 ANDROID: binder: don't check prio permissions on restore.

21a0c1e Add BINDER_GET_NODE_DEBUG_INFO ioctl

f7b7f3d ANDROID: binder: add RT inheritance flag to node.

2014280 ANDROID: binder: improve priority inheritance.

7b05099 ANDROID: binder: add min sched_policy to node.

31a5220 ANDROID: binder: add support for RT prio inheritance.

e573588 ANDROID: binder: push new transactions to waiting threads.

805bd20 ANDROID: binder: remove proc waitqueue

47e91bd FROMLIST: binder: remove global binder lock

bad2ffc FROMLIST: binder: fix death race conditions

29c7d95 FROMLIST: binder: protect against stale pointers in print_binder_transaction

745bffb FROMLIST: binder: protect binder_ref with outer lock

1e3ee6a FROMLIST: binder: use inner lock to protect thread accounting

72854ff FROMLIST: binder: protect transaction_stack with inner lock.

71602c0 FROMLIST: binder: protect proc->threads with inner_lock

04b75bf FROMLIST: binder: protect proc->nodes with inner lock

4948490 FROMLIST: binder: add spinlock to protect binder_node

6fb5244 FROMLIST: binder: add spinlocks to protect todo lists

7231bfb FROMLIST: binder: use inner lock to sync work dq and node counts

6757de5 FROMLIST: binder: introduce locking helper functions

150ed77 FROMLIST: binder: use node->tmp_refs to ensure node safety

25ba887 FROMLIST: binder: refactor binder ref inc/dec for thread safety

025f215 FROMLIST: binder: make sure accesses to proc/thread are safe

0ed9371 FROMLIST: binder: make sure target_node has strong ref

ec22089 FROMLIST: binder: guarantee txn complete / errors delivered in-order

8347935 FROMLIST: binder: refactor binder_pop_transaction

f2f3b45 FROMLIST: binder: use atomic for transaction_log index

1c6e4e6 FROMLIST: binder: add more debug info when allocation fails.

10cc389 FROMLIST: binder: protect against two threads freeing buffer

994b4c8 FROMLIST: binder: remove dead code in binder_get_ref_for_node

1f2d76f FROMLIST: binder: don't modify thread->looper from other threads

19e5086 FROMLIST: binder: avoid race conditions when enqueuing txn

6c01b3b FROMLIST: binder: refactor queue management in binder_thread_read

4048413 FROMLIST: binder: add log information for binder transaction failures

179976b FROMLIST: binder: make binder_last_id an atomic

ec6c709 FROMLIST: binder: change binder_stats to atomics

e2e819d FROMLIST: binder: add protection for non-perf cases

7724a84 FROMLIST: binder: remove binder_debug_no_lock mechanism

4cc1d6f FROMLIST: binder: move binder_alloc to separate file

1cc60e7 FROMLIST: binder: separate out binder_alloc functions

a3d9fc2 FROMLIST: binder: remove unneeded cleanup code

d858e98 FROMLIST: binder: separate binder allocator structure from binder proc

bd86a9f Revert "android: binder: Disable preemption while holding the global binder lock."

d654a7e ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES.

608f9dc Revert "CHROMIUM: android: binder: Fix potential scheduling-while-atomic"

8f5bd9f binder: use group leader instead of open thread

ed8a674 leds, msm_flash: adding flashlight notification feature

eb8500f7 mmc: core: Fix the issue with clock scaling in resume-scaling

100e99a msm: kgsl: Defer issue commands to worker thread

96228d5 msm: kgsl: Use per page cache operation instead of bulk cache operation

eb0a87b msm: kgsl: Offload mementry destroy work to separate thread

96098b7 msm: kgsl: Perform cache operation with kernel address

6ce5663 msm: kgsl: Fix the race between context create and destroy

007ebe1 msm: kgsl: Remove incorrect check to cap AB vote to IB vote

27455ec mmc: core: Ignore CRC errors with CMD13 while executing tuning

98a0ef6 mfd: wcd9xxx-core: Set device down flag early during SSR

c7891db mfd: wcd9xxx-core: Synchronize codec down and reset calls from slimbus.

25b0248 firmware_class: Avoid memory leak when FW_OPT_NOCACHE is set

0f924aa drivers: soc: qcom: rpm_stats: Add mutex lock for shared data

cf1c062 mmc: sdhci-msm: Don't turnoff Vcc during initialization

5805d19 soc: qcom: service-locator: Free memory in case of error

3a4a291 net: rps: send out pending IPI's on CPU hotplug

85bc934 msm: msm_bus: Add mutex to protect node_list

805eca0 spcom: increment channel reference count after successful glink_open()

d0b06c6 soc: qcom: Fix checks for QMI response values

f8545a8 ASoC: APR: Fix missing APR deregister from asm

fffe807 memshare: Update the free memory count after allocation

73a7a83 soc: qcom: glink: Change GFP_ATOMIC flag for intentless rx

656e823 soc: q6dspv2: apr: fix client registration refcount

a3c5b3e soc: qcom: glink_smem_native_xport: Check smem item in non cache region

988e98d soc: qcom: Clear the memory before freeing it up

25fed8f soc: qcom: Register for indication cb after obtaining state of remote pd

fc61e3d spcom: use mutex on spcom_unlock_ion_buf()

e2144c8 soc: qcom: spcom: propagate response timeout error

d8cdcd6 soc: qcom: pil: Avoid possible buffer overflow during Modem boot

a01ea6b regulator: core: fix a possible race in disable_work handling

45d4209 regulator: core: remove some dead code

cba4be0 msm: mdss: information leak during buffer copy from userspace

48e7339 msm: mdss: set HDMI max TMDS clock rate

015e3f3 msm: mdss: dp: fix display port crash caused by unclocked register access

7c89339 msm: mdss: remove HDMI connected flags

468638b msm: mdss: Fix possible integer overflow

1c6efcf msm: mdss: Correct PP register programming deferring

c95be2d msm: mdss: Separate PP programming to advanced and deferred modes

d1ac7cc msm: mdss: Check if secure display is enabled during non-secure validate

7296342 fbdev: msm: Add check for ioctl calls

20a7ef8 msm: mdss: fix the pixel clock calculation for fb modes

314f7b1 fbdev: msm: fix unaligned access problem

91bc253 fbdev: msm: fix issue preventing cursor_buf address to be stored

af4a149 msm: mdss: Avoid NULL mixer during partial update ROI setup

8889ac7 fbdev: msm: Allocate fd with O_CLOEXEC flag

81be217 msm: mdss: Avoid dfps update till unblank is complete

cf2a4fd msm: mdss: Correct source and destination buffer rectangles

299c51f msm: mdss: Change IOMMU map sequence during splash cleanup

1c39ecb msm: mdss: Correct MDSS display wakeup time calculation

f26e45b msm: mdss: Use 64-bit math for bandwidth calculation

3077660 msm: mdss: add support for mdss throttle clock handling

308035a msm: mdss: validate the buffer size before allocating memory

6c8fafc msm: mdss: validate number of cea blocks before reading from edid_buf

c157d7e msm: mdss: validate page id before reading from edid buffer

ed982ce msm: mdss: size check before writing to edid buffer

adaf91c msm: mdss: handle vsync properly during dynamic resolution switch

3482588 fbdev: msm: Reserve mixers with dspp for primary display

d26aa94 msm: mdss: Fix number accuracy for backlight to brightness

f8d7492 msm: mdss: Fix QSEED3 MDP clock calculation for cmd mode panel

11c1c10 msm: mdss: Buffer overflow while processing gamut table data

0f00b7f msm: mdss: Clean-up payload for unsupported versions

373b814 msm: mdss: Update AD last strength during AD mode switch

89f3c7a drivers: misc: implement usb fast charge mode

71b4af8 drivers/cpufreq/qcom-cpufreq.c update: set max freqs to OC

29aaa434 msm8998-vs.dtsi; add 230 mhz step

3bc5678 gpu: set initial_pwrlevels for maximal smoothness

490d6e7 gpu:raise initial powerlevel, raise max bus freq

76f8aeb adjust energy model for OC and UC

8f7595d dts: add lower gpu step and set the initial power lvl lower

b3375d2 msm8998: select max freq on cmdline

2f3d877 msm8998: Overclock CPU: add speedbin3

3062c7a msm8998: Overclock CPU

bfbcd3c msm8998.dtsi: Adjust Idle Sleep States for dummy energy model

1f80fec FROMLIST: sched/fair: Use wake_q length as a hint for wake_wide

492b542 fixup relative_energy interaction with eas_deadzone_filter

4b33286 sched/fair: add SchedTune's PESpace filtering

339d5c1 sched/fair: factor out energy delta filtering

1d20df3 kernel/sched: add relative energy normalization

4b285cf sched/fair: add absolute energy normalization

6f23616 sched/fair: Reduce balance interval to 0 if we have a misfit task

ea444e6 sched/fair: Increase energy margin from 1.6% to 3.2%

ad22435 sched/fair: increase chances to use energy_diff

2b8ff2c events: add tracepoint for perf variations

b4a4329 events: add tracepoint for energy_diff()

e1388df sched/fair: add support to compute perf deltas

da98173 sched/fair: consider task's boost in find_new_capacity()

771d441 sched/fair: reduce rounding errors in energy computations

cc9145b sched/fair: re-factor energy_diff to use a single (extensible) energy_env

86dc57f sched/fair: cleanup select_energy_cpu_brute to be more consistent

f8dc5dc sched/fair: remove capacity tracking from energy_diff

4bfef54 sched/fair: remove energy_diff tracepoint in preparation to re-factoring

a1de236 events: make find_best_target low-utilization aware

1eace24 sched/fair: add stats for new find_best_target cases

61b586b sched/fair: add low_util support for prefer_idle

b46c855 sched/fair: use *p to reference task_structs

2392bd3 sched/rt: add per rt_se load signals

a35f1718 sched/rt: make schedfreq use RT's util_avg

f84cb11 sched/cpufreq_schedutil: use RT util_avg instead of rt_avg

f3d880c sched/rt: add utilization tracking

64b9e42 sched: Use schedtune boosted WALT signal for RT

bf9070b events: trace estimated utilization

2d62e4d sched/fair: use util_est in the WKP and LB paths

fb00af2 sched/{core,fair}: add support for estimated CPU utilization

e30d866 sched/fair: add util_est on top of PELT

32914ee sched/fair: consider task utilization in group_max_util()

e78ba84 sched/fair: consider task utilization in group_norm_util()

6cf3486 sched/fair: Add hysteresis when selecting target CPUs

2a481b2 sched/fair: enforce EAS mode

2fcda2c sched/fair: ignore backup CPU when not valid

1ec66af sched/fair: trace energy_diff for non boosted tasks

ec98771 FROMLIST: sched/fair: Sync task util before slow-path wakeup

a9a7e18 FROMLIST: sched/fair: Fix use of find_idlest_group when local group is idlest

51fddee FROMLIST: sched/fair: Fix use of find_idlest_group when no groups are allowed

01cc038 BACKPORT FROMLIST: sched/fair: Fix find_idlest_group when local group is not allowed

a5e61f8 FROMLIST sched/fair: Remove unnecessary comparison with -1

97cf1e1 BACKPORT FROMLIST: sched/fair: Move select_task_rq_fair slow-path into its own function

d9e3e63 FROMLIST: sched/fair: Force balancing on nohz balance if local group has capacity

462eee4 UPSTREAM: sched/core: Add missing update_rq_clock() call in set_user_nice()

8721851 UPSTREAM: sched/core: Add missing update_rq_clock() call for task_hot()

e05d486 UPSTREAM: sched/core: Add missing update_rq_clock() in detach_task_cfs_rq()

7063cd0 UPSTREAM: sched/core: Add missing update_rq_clock() in post_init_entity_util_avg()

af5452b UPSTREAM: sched/core: Fix find_idlest_group() for fork

64c7489 BACKPORT: sched/fair: Fix PELT integrity for new tasks

0e26b03 BACKPORT: sched/cgroup: Fix cpu_cgroup_fork() handling

4060ec0 UPSTREAM: sched/fair: Fix and optimize the fork() path

2ac8fd56 BACKPORT: sched/fair: Make it possible to account fair load avg consistently

5ae612e cpufreq/sched: Consider max cpu capacity when choosing frequencies

2790eaf sched/fair: remove erroneous RCU_LOCKDEP_WARN from start_cpu()

- Updated to latest 1.27.401.5 kernel source from HTC

- Patches to EAS

- notification flashlight feature from [MENTION=3088420]tbalden[/MENTION] is now included

- dynamic stune boost is also included ( I´ll do a write up on this later)

- some more caf patches to a few subsystems

- Binder updates (responsible for interprocess communication)

- ext4 filesystem patches

- added another wlan wakelock to wakelock blocker

- other performance tweaks

Download is here:

https://www.androidfilehost.com/?fid=673368273298987790

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee: http://paypal.me/freak07