[ZenFone 2 Android Development] Renix63:
THIS KERNEL IS BORN TO REDUCE RANDOM REBOOT OR REBBOT :cool:

AND MORE BATTERY LIFE :cool:

My Settings:

(saver)

Governor: Interactive

HotPlug CPU: IntelliPlug

(faster)

Governor: Interactive

HotPlug CPU: (none) off

Everything else without changes ( For tweak kernel use Kernel Adiutor )

Full support int.d for test this goto in '/data' dir and

you see the files Test.log, Z03TDTVacuum.log and Zipalign.log

For disable int.d feature rename folder '/etc/int.d'

Based on asus kernel sources WW-4.21.40.184

Kernel source are here : ZE551ML4_21_40_184.zip

Testing on my ZE551ML 4GB 2,3GHz

Support underclock to 250MHz

Support NTFS and eXfat

Support POWERSUSPEND WAKELOCK EARLYSUSPEND

Support USB OTG

Sensors Fix

DeepSleep Google Play Service Fix

Networking options:

ADVANCED BIC CUBIC WESTWOOD HTCP HSTCP HYBL

VEGAS SCALABLE LP VENO YEAH ILLINOIS

Toolchain Linaro 4.9.2 optimizations standard :

HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -fgcse-las -floop-flatten -floop-parallelize-all -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block -pipe -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wno-unused-variable -Wno-unused-value

HOSTCXXFLAGS = -O2

# L1/L2 cache size parameters by [MENTION=5161352]JustArchi[/MENTION]

KBUILD_CFLAGS	+= --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=2048

Governors CPU optimized :

ALUCARD CONSERVATIVEX INTERACTIVE FRANKENSTEIN HOTPLUG INTEL LAGFREE

PERFORMANCE ADAPTIVE BIOSHOCK BLUACTIVE CONSERVATIVE THESSJACTIVE

CYAN DARKNESS HYBRID IMPULSE INTERACTIVEX LIONHEART YANKACTIVE

NIGHTMARE ONDEMAND PEGASUSQ POWERSAVE SMARTASSH3 ZZMOOVE

SMARTMAX WHEATLEY

new TRIPNDROID INTELLIACTIV INTELLIMM

new INTELLIDEMAND YANKDEMAND HELLSACTIVE

update cpu freq in parameters Governors

IO Schedulers:

NOOP DEADLINE CFQ SIO SIOPLUS ROW FIOPS ZEN FIFO VR TRIPNDROID

Hotplugs driver:

ASMP MSM_HOTPLUG ALUCARD_HOTPLUG INTELLI_PLUG

ZEN_DECISION MAKO_HOTPLUG MSM_SLEEPER

For tweak kernel use Kernel Adiutor... (thanks for this Apps)

Thanks to TheSSJ Project T for your kernel sources on GitHub... Mod diff here fix...

Thanks to Nyks45 OctoDex for your kernel sources on GitHub...

Thanks to ASUS for kernel sources....

For Z008 flash Zenkernel.V1.3.Atom.MM184.Zenfone2_Anykernel.zip in attachments

goto here...

for support init.d add this code in your ramdisk at the end of init.rc:

For Z00A

Flash Anykernel if have ZenKernel full version in device (for full support init.d flash ZenKernel full)

old UPDATE

UPDATE V1.1

add Asynchronous Transfer Mode (ATM)

ATM is a high-speed networking technology for Local Area Networks

and Wide Area Networks. It uses a fixed packet size and is

connection oriented, allowing for the negotiation of minimum

bandwidth requirements.

add BLX Support for Battery Life eXtender.

add Intel PowerClamp idle injection driver.

This enforce idle time which results in more package C-state residency.

The user interface is exposed via generic thermal framework.

UPDATE V1.2

update POWERSUSPEND (add extern bool power_suspended)

add ASYNC_FSYNC "asynchronous fsync"

update cpu freq in parameters Governors

update governor INTEL

add governor TRIPNDROID

add governor INTELLIACTIVE

add governor INTELLIMM

set default governor TRIPNDROID

add "Number of bits to use for ASLR of mmap base address"

This value can be changed after boot using the

/proc/sys/vm/mmap_rnd_bits tunable

add "Number of bits to use for ASLR of mmap base address for compatible applications"

This value can be changed after boot using the

/proc/sys/vm/mmap_rnd_compat_bits tunable

set CONFIG_OPROFILE_EVENT_MULTIPLEX=y

set CONFIG_JUMP_LABEL=y

remove fs # CONFIG_EXT2_FS is not set

remove fs # CONFIG_EXT3_FS is not set

UPDATE V1.3

update SWEEP2SLEEP driver (fix crash)

fix this error:

E Intel PowerHAL: Error opening /sys/devices/system/cpu/cpufreq/interactive/touchboostpulse: No such file or directory

replace power.mofd_v1.so in '/system/lib/hw' with this set permission 0644 backup original

(only when not set governors CPU INTERACTIVE)

rebuild ramdisk and fix many governors CPU

set default governors CPU INTERACTIVE

UPDATE V1.4 Beta for test

add CPU_BOOST (for tune use Kernel Adiutor)

(add 'migration_notifier_head')

update governor ONDEMAND

add governor INTELLIDEMAND

add governor YANKDEMAND

add governor HELLSACTIVE

add MSM_SLEEPER driver hotplug

update INTELLI_PLUG v5.4 driver hotplug

update INTEL driver hotplug

update ALUCARD_HOTPLUG driver hotplug

update MSM_HOTPLUG driver hotplug

update ASMP driver hotplug

Zenkernel.V1.4-beta.Atom.MM184.Zenfone2_Anykernel.zip

UPDATE V1.5

last commit cm-14.1 :

Enable CONFIG_IP_NF_MATCH_RPFILTER=y

Beta test v1.4 changes add...

UPDATE V1.6

KERNEL in XZ (reduce size)

enable CONFIG_DEBUG_NX_TEST=m

add Kernel-based Virtual Machine (KVM) support:

enable CONFIG_KVM=m

enable CONFIG_KVM_INTEL=m

add in Ramdisk load modules kvm.ko and kvm-intel.ko

You flash full version for new Ramdisk

UPDATE V1.7

add governor INTERACTIVE_PRO thanks @BORETS24

re_tuned governor cpu CYAN

You flash last full version for new Ramdisk

UPDATE V1.9 Super Update

commit cm-14.1 :

update File systems EXT4

update File systems F2FS

commits /* 3.18 backport */

enabled CONFIG_CRYPTO_CRC32=y

new ZRAM, ZSMALLOC, ZPOOL driver

update LZ4 compressor

enabled CONFIG_ZRAM_LZ4_COMPRESS=y

# CONFIG_FRONTSWAP is not set

CONFIG_ZPOOL=y

CONFIG_ZSMALLOC=y

# CONFIG_PGTABLE_MAPPING is not set

# CONFIG_ZSMALLOC_STAT is not set

disable CONFIG_CPUSETS is not set

set CONFIG_PANIC_TIMEOUT=3 (was 0)

set CONFIG_ARCH_MMAP_RND_COMPAT_BITS=16 (was 8)

enabled CONFIG_NF_CONNTRACK_SECMARK=y

enabled CONFIG_NETFILTER_XT_TARGET_SECMARK=y

enabled CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y

# Pseudo filesystems:

CONFIG_F2FS_IO_TRACE=y

# CONFIG_F2FS_FAULT_INJECTION is not set

CONFIG_NETWORK_FILESYSTEMS=y

# CONFIG_NFS_FS is not set

# CONFIG_NFSD is not set

# CONFIG_CEPH_FS is not set

CONFIG_CIFS=y

# CONFIG_CIFS_STATS is not set

# CONFIG_CIFS_WEAK_PW_HASH is not set

# CONFIG_CIFS_UPCALL is not set

CONFIG_CIFS_XATTR=y

CONFIG_CIFS_POSIX=y

# CONFIG_CIFS_ACL is not set

CONFIG_CIFS_DEBUG=y

# CONFIG_CIFS_DEBUG2 is not set

# CONFIG_CIFS_DFS_UPCALL is not set

# CONFIG_CIFS_SMB2 is not set

# CONFIG_NCP_FS is not set

# CONFIG_CODA_FS is not set

# CONFIG_AFS_FS is not set

disable CONFIG_UNUSED_SYMBOLS is not set

enabled CONFIG_CRYPTO_MD4=y

disable CONFIG_XZ_DEC_TEST is not set

You flash last full version for new Ramdisk

For install do in this order:

My mod 3Minit Battery & Traffic on Statusbar AsusSystemUI

Tested on Stock Z00A_WW-4.21.40.184 Works SuperSu and Magisk. FIX

Not Work Xposed

:(

Tested on [ROM]CleanSTOCK-MM-Z00A_WW-4.21.40.184[28-Nov] with Xposed V87_x86

Thanks to GuilhermeXtreme

Attention: On this Rom is present a Bug: power on HotSpot crash the phone :(

For fix Hotspot replace dir /framework with /framework dir from 144 and

set permission to 0644 all files (automatic wipe dalvik cache) :)

1_ Flash in your TWRP Zenkernel_V1.3_.MM184_Zenfone_2.zip in Attachments

2_ Flash magisk v9 zip find on internet Xda Thread

3_ Flash SR4-SuperSU-v2.78-SR4-20161115184928.zip find on internet Chainfire Download or phh's superuser

4_ Reboot devices :good: