Changelog:
Spoiler
v41Add support for 32.2.A.4.3 (only for Z5, someone please send me kernel.sin for Z5C...)Remove verifiedbootstate flag from /proc/cmdlinev40Fix CVE-2016-5195 "Dirty COW"Fix recovery bootingv39Added support for 32.2.A.0.305Added nightmare CPU gov--------------------------------------v38Enabled core_ctlv37Added CPU OC (2054MHz/1708MHz)v36Fixed CVE-2016-2059 and CVE-2016-2504Added darkness CPU governorv35Changed ZRAM size to defaultv34Updated to support 32.2.A.0.253--------------------------------------v33Updated DRM patch to v5 beta8v32bUpdated DRM patch to v5 beta7Increased default ZRAM to 1073741824* for some reason v32b and v33 breaks touch function for Xperia Z4 Tablet. Please use v32 for now.v32Reverted power_efficient workqueues and bcl_hotplug related commits because of instabilityMoved hosting to Google Drive (f**k AFH, my FTP account is banned for unknown reason and no response)v31Now supports Android 6.0.1 32.2.A.0.224!--------------------------------------v30Added patch for kexec-hardboot and workaround for USB problem to Z4T and Z5CLowered backlight initial brightnessSwitched to LITTLE tuningEnhanced power efficiencyv29*Z5 only for nowAdded support for tap to enter recovery---Tap screen when LED is blue, or press volume up/down when LED is orangeUpdated alucard CPU gov to v4.0v28*Z5 only - Added patch for kexec-hardboot and workaround for USB problem (thanks Myself5)v27Always enabled CPU core 0 and 4 to prevent freq and gov resettingAdded software crc toggleAdded patch to prevent perfd to change max cpus and freqsRe-added power_efficient workqueuesAdded patch to support touch in MultiROM menu (not tested)Set default ksm to stop state to save power on bootAdd the possibility to change the value for BCL's low power mode (default: 0)sysfs path is: sys/module/battery_current_limit/parameters/soc_low_thresholdv26Reverted optimizations in v25 due it caused FC and other problemsFixed loading of ecryptfs module (now you can encrypt your data, but decryption in TWRP isn't working)Re-added alucard govAdded optimizations for msm-core and vmpressurev25Removed cluster_plug (not working as desired)Added some optimizationsSet HZ tick rate to 300Disabled modifications of cpu max freq via msm_performancev24Added cluster_plug
Enable hotplug (1=enable, 0=disable):
echo "1" > /sys/module/cluster_plug/parameters/active
Enable low power mode (1=enable, 0=disable):
echo "1" > /sys/module/cluster_plug/parameters/low_power_mode
Disabled workqueuev23Updated ramdisk to 32.1.A.1.185Added fix for bug in bclAdded fix for CVE-2016-0774--------------------------------------v22cAdded some optimizationsAdded support for USB to Ethernet Adapterv22bDisabled some unneeded driversv22aDisabled CPU Quiet as it caused random rebootv22Added CPU Quiet - "runnable" is recommended.Disabled msm_performance hotplugDisabled touch input boost by default (it causes conflict with CPU Quiet)Removed undervolting since it isn't workingAdded some optimization patchesv21Removed PowerSuspend due wakelock problemAdded support for cdrom (DriveDroid)Set ROW I/O scheduler as defaultFixed overflow in /sys/kernel/debug/msm8994_cpuinfo (thanks Tommy-Geenexus)Enabled elementalx CPU governorTo limit CPU freq and fix CPU governor, run script like this:
for i in `seq 0 7`
do
if [ $i -le 3 ]; then
if [ -e /sys/devices/system/cpu/cpu$i/cpufreq/scaling_max_freq_hardlimit ]; then
echo "1344000" > /sys/devices/system/cpu/cpu$i/cpufreq/scaling_max_freq_hardlimit
fi
fi
if [ $i -ge 4 ]; then
if [ -e /sys/devices/system/cpu/cpu$i/cpufreq/scaling_max_freq_hardlimit ]; then
echo "1536000" > /sys/devices/system/cpu/cpu$i/cpufreq/scaling_max_freq_hardlimit
fi
fi
if [ $i -le 3 ]; then
if [ -e /sys/devices/system/cpu/cpu$i/cpufreq/scaling_governor_hard ]; then
echo "elementalx" > /sys/devices/system/cpu/cpu$i/cpufreq/scaling_governor_hard
fi
fi
if [ $i -ge 4 ]; then
if [ -e /sys/devices/system/cpu/cpu$i/cpufreq/scaling_governor_hard ]; then
echo "elementalx" > /sys/devices/system/cpu/cpu$i/cpufreq/scaling_governor_hard
fi
fi
done
Note this is incomplete and you will loose those settings sometimes...v20Updated to Android 6.0 Marshmallow 32.1.A.1.163Removed underclock due it break build--------------------------------------v14Removed some patches including thunderplugAdded limit for min/max cpu frequencies
Limit max freq of A57 (big):
echo "1536000" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq_hardlimit
Limit max freq of A53 (LITTLE):
echo "1344000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq_hardlimit
v12Added undervolting (thnaks Hundsbuah)*Note: Please don't blame if you get random reboot after undervolting.Updated workqueueFixed some bugs and logspamv11Added thunderplug - hotplug & load balancer
Enable hotplug (1=hotplug, 2=load balancer):
echo "1" > /sys/kernel/thunderplug/hotplug_style
Change endurance mode (0=disable, 1=quad core mode, 2=dual core mode):
echo "1" > /sys/kernel/thunderplug/endurance_level
Disable hotplug and Enable load balancer (default):
echo "0" > /sys/kernel/thunderplug/endurance_level
echo "2" > /sys/kernel/thunderplug/hotplug_style
Change load balancer mode (1=Balanced, 2=Turbo performance):
echo "1" > /sys/kernel/thunderplug/sched_mode
Added saving log of kernel panic (pstore)previously it was last_kmsg, but now log location is
/sys/fs/pstore/console-ramoops
Fixed kernel crash when msm thermal limits CPU freqAdded some patchesv10Added ZZMoove (test version)Fixed random reboot caused by conservative, elementalx, ondemand and zzmooveMuted some logspamUpdated TWRP to 3.0.0-0v9Fixed CVE-2016-0728 (please redownload if you downloaded v9 before 2016/01/20)Added DRM functions restore patch (thanks tobias.waldvogel)--This is just a fallback and you have to delete contents of /data/credmgr to enable restore patch.--Flashable zip can be downloaded from here .Added patches for power efficient workqueueAdded underclockingAdded BFQ I/O SchedulerAdded patches for cpugov conservative and msm_performanceAdded fix for bug of clearpadv8Added patch commits for performancev7.2Removed some patches added in v7.1 due microSD card (64GB+) problemv7.1Fixed recovery loading (because of strict Enforcing)Added power_efficient workqueueAdded option to disable Gentle Fair Sleepers in kernel adiutor and other appsAdded some patchesv6Update source to 32.0.A.6.200Added Adreno idlerRemoved some patches and dynamic fsync control for more stability--------------------------------------v5Z5C only: calibrate jdi_novatek panel (by Tommy-Geenexus)Added elementalx and conservative CPU govEnabled NTFSAdded optimizationAdded option to control throttle tempMute logspam: _cpu_up: attempt to bring up CPU n failedv4Released SELinux Permissive and Enforcing version for Z5Added toggle for preventing wakelockAdded Powersuspend 1.5Added some patchAllowed to show CPU voltage (not changeable)Changed version name to contain version number: e.g. 3.10.49-v4AndroPlus@org #41NOTE: The number after # is random number.v3Added dynamic sync control 2.0v2Updated sound controlReverted patches for crypto as it causes softbrickv1First custom kernel!Added impulse CPU governorAdded tomtom-sound-control*This is not included in Kernel Adiutor for now.To enable, you have to run command or mod file with root explorer.
Enable tomtom-sound-control:
echo "1" > /sys/class/misc/tomtom_control/enabled
Change headphone volume (first one is left, second is right)
echo "-1 -1" > /sys/class/misc/tomtom_control/hpgain
Change mic volume (first one is left, second is right)
echo "-1 -1" > /sys/class/misc/tomtom_control/micgain
Change camera mic volume (first one is left, second is right)
echo "-1 -1" > /sys/class/misc/tomtom_control/cmicgain
Added Zen I/O schedulerDisabled DM_VERITY and CORESIGHT (debugging)Added KCALAdded additional TCP cong algorithmsAdded CPUQuietSome GPU related patchI/O scheduler SIO and FIOPSric disabledinsecure adb
Wymagania:
Dla Xperii Z5 [E6653 / E6603]:
stock 6.0
- 32.2.A.4.3 -> v41 -
- 32.2.A.0.305 -> v39 - v40
- 32.2.A.0.253 -> v34 - v38
- 32.2.A.0.224 -> v31 - v33
- 32.1.A.1.163 -> v20 - v22c
stock 5.1.1
- 32.0.A.6.200 -> v6 - v14
- 32.0.A.6.152 -> v1 - v5
- Unlocked bootloader
Dla Xperii Z5 Compact[E5823 / E5803]
stock 6.0.1
- 32.2.A.0.305 -> v39 -
- 32.2.A.0.253 -> v34 - v38
- 32.2.A.0.224 -> v31 - v33
stock 6.0
- 32.1.A.1.185 -> v23 - v30
- 32.1.A.1.163 -> v20 - v22c
stock 5.1.1
- 32.0.A.6.200 -> v6 - v14
- 32.0.A.6.152 -> v1 - v5
- Unlocked bootloader
Linki do pobrania:
Z5 lub [GOOGLE DRIVE (V32 AND LATER)]
Z5 Compact lub [GOOGLE DRIVE (V32 AND LATER)]
ANI AUTOR ANI JA NIE PONOSIMY ODPOWIEDZIALNOŚCI ZA EWENTUALNE USZKODZENIA TELEFONU, KARTY SD. KAŻDĄ MODYFIKACJĘ WGRYWASZ NA WŁASNĄ ODPOWIEDZIALNOŚĆ!!!!
Instalacja:
Przez recovery
1. pobraną paczkę z kernelem wrzucamy na kartę sd
2. wchodzimy w recovery i flashujemy paczkę
3. reboot
Przez fastboot
1. Pobraną paczkę z kernelem wypakowujemy i plik boot.img przenosimy do głównego folderu adb
2. odpalamy adb i wpisujemy następującą komendę:
fastboot flash boot boot.img
jeśli nie mamy recovery, możemy je wgrać używając tej komendy (oczywiście plik z recovery musi być w głównym folderze adb):
fastboot flash recovery twoja_nazwa_pliku_recovery.img
3. Reboot
UWAGA! Jeśli wystąpią problemy z aparatem, po dograniu xposed, tutaj znajdziemy rozwiązanie tego problemu.
Autorem kernela jest użytkownikAndroPlus
Link do xda