[ZTE Nubia Z17  ROMs, Kernels, Recoveries, & Other ] xiayesuifeng:
[NX563J+NX595J][9.0][]EAS kernel(unofficial)

this kernel base on https://github.com/android-linux-stable/msm-4.4

import nubia driver and small part of nubia modification

Features

default fiops i/o scheduler

default EAS cpu scheduler

nx563j:charging maximum current modify to 4A(The measured official charging head can reach 3800+mA)

nx595j:charging maximum current modify to 4.5A

Built in qcacld-3.0

Anti-missing width modification (default 20)

20 is the width (px) size to be modified

echo 20 > /sys/class/input/input1/anti_missing_dp

build.prop(If adb is not available)

sys.usb.ffs.aio_compat=1

source:https://gitlab.com/xiayesuifeng/android_kernel_nubia_msm8998

z17(nx563j)

TARGET_KERNEL_CONFIG use xiayesuifeng_nx563j_defconfig

z17s(nx595j)

TARGET_KERNEL_CONFIG use xiayesuifeng_nx595j_defconfig

flash patch

z17:

https://mega.nz/#!flQjBIKD!os080WurqI_Y4i_zG1EtjfMWUeVJK5XqrL4Oo-hjlg8

z17s:

https://mega.nz/#!K5QBUYLa!xJBLFZIQV0yPS922zEtUksrJdZx1ZJwQqmzV4siawNw

sign boot

https://xdaforums.com/android/software-hacking/signing-boot-images-android-verified-t3600606

edit /vendor/bin/init.qcom.post_boot.sh

remove this

# online CPU0
echo 1 > /sys/devices/system/cpu/cpu0/online
# configure governor settings for little cluster
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif
echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay
echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate
echo 1171200 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy
echo "83 1804800:95" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time
echo 79000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis
echo 518400 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif
# online CPU4
echo 1 > /sys/devices/system/cpu/cpu4/online
# configure governor settings for big cluster
echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load
echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif
echo 19000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay
echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load
echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate
echo 1536000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq
echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy
echo "83 1939200:90 2016000:95" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads
echo 19000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time
echo 79000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis
echo 806400 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/ignore_hispeed_on_notif