[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Update to 2.10

hey guys and girls,

so here is the update. It includes quite a few things so this is a big update which further refines the kernel and introduces a few new changes.

I found more issues with usb audio. Switching between different USB-DACs was messed up by some of the CAF patches I recently introduced. That is now completely fixed.

I also found an issue with video playback, on recorded 60 fps videos, via mx player and also google photos. This was also introduced by some CAF changes which I reverted. This is working now completely fine on my end.

Also kernel is now upstreamed to 4.4.94 :good:

I included all features recently introduced by [MENTION=3088420]tbalden[/MENTION] like KAD. Give this a try and drop him a big thanks!

Be sure to look at https://xdaforums.com/showpost.php?p=72710244&postcount=2

to tune all the cleanslate features exactly to your likings :)

There are a few more updates to EAS. We use now the energy model from the Pixel 2 with little adjustments from me to compensate for OC and the 230 mhz step. :) thanks [MENTION=5438598]RenderBroken[/MENTION]

Dynamic stune boost got an update to V2 from [MENTION=6745491]joshuous[/MENTION]. I added explanations in the 4th post and will attach links to the bottom of this post :)

I changed the config options for the WLAN module. Please check if wlan calling is working for you, although I have no high hopes.

I also dropped support for the OC + NO UV version as that virtually had no downloads ( which is understandable :) )

Detailed Changelog:

b38126f update:eas_defconfig: new version, few eas changes, wlan config change

3d63cc1 kernel/workqueue.c: make pewq switchable for the user

0fc7dac leds, fpf: KAD, squeeze control, Notification Switch fixes, updates

68564b9 leds: lp5562_htc: BLN: fixing I2C read timeout with storing last set data

12685e9 fpf: kad: add cancellation of kad repeat alarm to prevent wakes

fa0d176 qpnp-haptic: notification booster: bumping to max voltage

4d92575 leds, fp: KAD (kernel ambient display): bind it to High brightness/vibration

d9b4a96 kernel: KAD: kernel ambient display feature #1

4679540 msm_flash: flashlight notif: adding bright mode and bright number

d131b76 Merge branch 'energy-model-update' into develop

a1d8a94 Merge branch 'dynamic-stune-boost-v2' into develop

b766ca4 Linux 4.4.94

38fba1c Revert "tty: goldfish: Fix a parameter of a call to free_irq"

e6ddb8b cpufreq: CPPC: add ACPI_PROCESSOR dependency

867cfe8 nfsd/callback: Cleanup callback cred on shutdown

2b1bc0e target/iscsi: Fix unsolicited data seq_end_offset calculation

6ee9ea8 uapi: fix linux/mroute6.h userspace compilation errors

89f745c uapi: fix linux/rds.h userspace compilation errors

540aef4 ceph: clean up unsafe d_parent accesses in build_dentry_path

b7dbb49 i2c: at91: ensure state is restored after suspending

03bf0a6 net: mvpp2: release reference to txq_cpu[] entry after unmapping

0e9c377 scsi: scsi_dh_emc: return success in clariion_std_inquiry()

fca5bb2 slub: do not merge cache if slub_debug contains a never-merge flag

decd4ce ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock

98ad318 crypto: xts - Add ECB dependency

6d05037 net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs

e84f970 sparc64: Migrate hvcons irq to panicked cpu

49d25d9 md/linear: shutup lockdep warnning

59a8d6d f2fs: do not wait for writeback in write_begin

af4398f Btrfs: send, fix failure to rename top level inode due to name collision

a118139 iio: adc: xilinx: Fix error handling

4302999 netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.

54893e7 net/mlx4_en: fix overflow in mlx4_en_init_timestamp()

c6bc4b6 mac80211: fix power saving clients handling in iwlwifi

70ce49e mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length

20e5235 irqchip/crossbar: Fix incorrect type of local variables

9094102 watchdog: kempld: fix gcc-4.3 build

2b2c6fb locking/lockdep: Add nest_lock integrity test

e79989e Revert "bsg-lib: don't free job in bsg_prepare_job"

403b37f tipc: use only positive error codes in messages

bd61f64 net: Set sk_prot_creator when cloning sockets to the right proto

f3f8892 packet: only test po->has_vnet_hdr once in packet_snd

0a23682 packet: in packet_do_bind, test fanout with bind_lock held

71998d5 tun: bail out from tun_get_user() if the skb is empty

d167193 l2tp: fix race condition in l2tp_tunnel_delete

2ef0564 l2tp: Avoid schedule while atomic in exit_net

9eb6c5f vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit

6b0df73 isdn/i4l: fetch the ppp_write buffer in one shot

71e0b6d bpf: one perf event close won't free bpf program attached by another perf event

8fbac97 packet: hold bind lock when rebinding to fanout hook

82a4ac9 net: emac: Fix napi poll list corruption

98b5bf5 ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header

8104d8f udpv6: Fix the checksum computation when HW checksum does not apply

94fc42e bpf/verifier: reject BPF_ALU64|BPF_END

06341a0 sctp: potential read out of bounds in sctp_ulpevent_type_enabled()

3067f54 MIPS: Fix minimum alignment requirement of IRQ stack

7dde386 drm/dp/mst: save vcpi with payloads

d43df5d percpu: make this_cpu_generic_read() atomic w.r.t. interrupts

3517054 Linux 4.4.93

24a6909 x86/alternatives: Fix alt_max_short macro to really be a max()

8d53850 USB: serial: console: fix use-after-free after failed setup

31652a1 USB: serial: qcserial: add Dell DW5818, DW5819

f0ffc5a USB: serial: option: add support for TP-Link LTE module

c196e99 USB: serial: cp210x: add support for ELV TFD500

6ff0f90 USB: serial: ftdi_sio: add id for Cypress WICED dev board

1c2173f fix unbalanced page refcounting in bio_map_user_iov

d522873 direct-io: Prevent NULL pointer access in submit_page_section

4cae7fd usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options

529870c ALSA: line6: Fix leftover URB at error-path during probe

c75c4c6 ALSA: caiaq: Fix stray URB at probe error path

b428664 ALSA: seq: Fix copy_from_user() call inside lock

1b59497 ALSA: seq: Fix use-after-free at creating a port

7ce931d ALSA: usb-audio: Kill stray URB at exiting

3b52f11 iommu/amd: Finish TLB flush in amd_iommu_unmap()

83c1e83 usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet

2f52c34 KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit

4b4be3e crypto: shash - Fix zero-length shash ahash digest crash

851d8c2 HID: usbhid: fix out-of-bounds bug

c1d9170 dmaengine: edma: Align the memcpy acnt array size with the transfer

9e3279c MIPS: math-emu: Remove pr_err() calls from fpu_emu()

3197271 USB: dummy-hcd: Fix deadlock caused by disconnect detection

ab3bfc2 rcu: Allow for page faults in NMI handlers

98cf5e7 iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD

12def24 nl80211: Define policy for packet pattern attributes

58d6521 CIFS: Reconnect expired SMB sessions

9029018 brcmfmac: add length check in brcmf_cfg80211_escan_handler()

ae1c23f Revert "Merge tag 'LA.UM.5.7.r1-10900-8x98.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.4 into master_linaro_7xxx_UV_LA.UM.5.7.r1-10600-8x98.0"

f9c3c7d Revert "fix upstream/caf merge error"

dab2ae4 Revert "Revert "usb: gadget: f_cdev: Fix NULL pointer dereference in cser_free_inst""

83a932e Revert "Revert "power: qcom-step-chg: Fix the error return path""

9214c7b Revert "Revert "qpnp-smb2: enable/disable sw jeita using a property""

2798ae6 Revert "Revert "power: qcom-step-chg: Add temperature based step-charging""

cd51e70 Revert "Revert "power: qcom-step-chg: Add a new file for step-charging""

7b51f45 Revert "Revert "usb: phy: qusb: Allow support for fused tune2 value correction""

118c4a0 Revert "BACKPORT: mm: introduce kv[mz]alloc helpers"

dfb1869 Revert "CHROMIUM: mm: Take kvmalloc_array() from upstream"

dcd7286 Revert "UPSTREAM: mm, vmalloc: properly track vmalloc users"

64bc997 Revert "BACKPORT: mm, vmalloc: fix vmalloc users tracking properly"

001a69d Revert "UPSTREAM: [media] v4l2-async: Use kmalloc_array() in v4l2_async_notifier_unregister()"

48447d7 Revert "CHROMIUM: [media] v4l2-core: Use kvmalloc() for potentially big allocations"

For detailed changes please take a look at my github.

Download is here:

OC+ UV: https://www.androidfilehost.com/?fid=673791459329056062

NO OC + UV: https://www.androidfilehost.com/?fid=817906626617941370

NO OC + NO UV: https://www.androidfilehost.com/?fid=745849072291683545

Instructions:

1. Download the kernel zip from the link below

2. Reboot to twrp and do a full nandroid, including system, data and boot (this is important)

3. Restore the stock boot.img to have a clean ramdisk if you are on another custom kernel (simplest way is to dirty flash your rom)

4. If you haven´t done the nandroid do it now. you need it to backup your wlan module

5. flash my kernel zip

6. reboot

7. set your desired features via EXKM or leave everything default

8. enjoy your EAS kernel

Donations are not mandatory but very welcome.

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

Have fun with the kernel, enjoy your phone

P.S.: The first reboot after flashing the kernel may take a little bit longer due to the base change again! Give it 2 minutes for the first reboot!

P.P.S.: Links for dynamic stune boosting V2

https://xdaforums.com/showpost.php?p=74269524&postcount=617

https://xdaforums.com/showpost.php?p=74272093&postcount=621