AndroPlus Kernel
for Xperia X Performance
  • Xperia X Performance [F8131 and F8132]

  • stock 7.1.1
  • 41.2.A.7.76 -> v31
  • 41.2.A.7.65 -> v30
  • 41.2.A.7.53 -> v29
  • 41.2.A.7.35 -> v28
  • 41.2.A.7.8 -> v27
  • 41.2.A.2.223 -> v25 - v26
  • 41.2.A.2.199 -> v23 - v24
  • stock 7.0
  • 39.2.A.0.442 -> v22
  • 39.2.A.0.417 -> v21
  • 39.2.A.0.386 -> v20
  • 39.2.A.0.361 / 39.2.A.0.374 -> v19
  • 39.2.A.0.327 -> v17 - v18
  • stock 6.0
  • 35.0.A.1.275 -> v07 - v12
  • 35.0.A.1.227 -> v01 - v06

  • Unlocked bootloader
* The development for this kernel is discontinued.

How to install

1. Reboot into recovery or bootloader
2. Flash kernel using recovery or fastboot
Recovery - Install zip
fastboot - Extract boot.img from zip and run this command:

fastboot flash boot boot.img
If you have no recovery, you also need to flash recovery by this command:
fastboot flash recovery TWRP-3.0.2-4-F8132.img
You can enter into recovery by this way: power down -> press power + volume minus -> when logo appears, release only power and hold volume minus
3. Reboot
4. Done!

On Nougat update, Sony merged XZ and X Performance kernel source.
Please see changelog on XZ kernel page.

Add support for 35.0.A.1.297

Fix CVE-2016-5195 "Dirty COW"

Added core_ctl
If you want to test it, you have to setup core_ctl. Example:
echo 0 > /sys/devices/system/cpu/cpu0/core_ctl/disable
echo 2 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
echo 2 > /sys/devices/system/cpu/cpu0/core_ctl/max_cpus
echo 60 > /sys/devices/system/cpu/cpu0/core_ctl/busy_up_thres
echo 40 > /sys/devices/system/cpu/cpu0/core_ctl/busy_down_thres
echo 100 > /sys/devices/system/cpu/cpu0/core_ctl/offline_delay_ms
echo 4 > /sys/devices/system/cpu/cpu0/core_ctl/task_thres

echo 0 > /sys/devices/system/cpu/cpu2/core_ctl/disable
echo 1 > /sys/devices/system/cpu/cpu2/core_ctl/is_big_cluster
echo 0 > /sys/devices/system/cpu/cpu2/core_ctl/min_cpus
echo 2 > /sys/devices/system/cpu/cpu2/core_ctl/max_cpus
echo 68 > /sys/devices/system/cpu/cpu2/core_ctl/busy_up_thres
echo 40 > /sys/devices/system/cpu/cpu2/core_ctl/busy_down_thres
echo 100 > /sys/devices/system/cpu/cpu2/core_ctl/offline_delay_ms
# big won't be online much
echo 1 > /sys/devices/system/cpu/cpu2/core_ctl/not_preferred
Updated darkness & alucard gov

Add support for touch in MultiROM menu (thanks AdrianDC!)
Set initial TCP window size to 64K
Silence log spam

Fixed CVE-2016-5343
Upgraded kernel memory management

Now fully supports 35.0.A.1.275!

TWRP-3.0.2-8 - Changed to copy blobs from system (smaller size and easy maintenance)
Changed ramdisk to 35.0.A.1.275 (waiting for kernel source...)
Updated alucard CPU gov
Fixed CVE-2016-3859, CVE-2016-3858, CVE-2016-5696, CVE-2016-5344

Fixed CVE-2016-3866
Added sound control (thanks @flar2 and @GuneetAtwal)
*NOTE: Sound control is in beta. Headphone, mic and speaker gain can be controlled by Kernel Adiutor, but speaker gain won't work and some apps like Music app will restore default volume when you skip music.
Fixed CVE-2016-3813, CVE-2016-2465, CVE-2016-2489

Fixed CVE-2016-2059
dm-crypt: increase threads

Added KCAL (thanks @savoca, @faux123, @flar2, @tbalden)
Added Adrenoboost (thanks @tbalden)
echo "2" > /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost
        0 -> off, 1 -> smooth/battery friendly, 2 -> stronger, 3 -> aggressive
Added support for USB keyboard / mouse function (thanks pelya)
You can use Xperia as USB keyboard / mouse with this app:
Fixed CVE-2016-2547 (merged changes from 35.0.A.1.244)

Now you can load TWRP!
To use TWRP:
1. Flash TWRP in fastboot
fastboot flash recovery TWRP-3.0.2-2-F8132-20160714.img
2. Press volume up or down key when LED is orange
3. Enter password/pin/pattern to decrypt your data.

*NOTE: TWRP 3.0.2-2 only supports encryption with password/pin/pattern on boot for now, so you have to set password/pin/pattern in Settings -> Security -> Screen lock -> Select password/pin/pattern -> Select "Require (password/pin/pattern) to start device"

Updated version code to support 35.0.A.1.238
* You should disable software update app to prevent persistent update notification. It says your system is not up to date when it finds new OTA, but actually minor update don't need kernel update. Also you can't apply OTA after bootloader unlocking.
Added patch to allow clients to get small buffers (1ms) for lowest latency

Disabled DM_VERITY, force module sig and CORESIGHT (debugging)
Added DRM patch
(please delete
once to enable patch)
Added alucard cpu governor
Added additional TCP cong algorithms
Some GPU related patch
I/O scheduler BFQ, SIO and FIOPS
Added toggle for software crc and wlan wakelocks
ric disabled
insecure adb
More from AndroPlus

FTF for Japanese Xperia

Mega collection of FTFs for Japanese models. If you have FTF which is not listed on the website, please send me via Google Drive or PM me on xda.

Xperia Codename List

The list of codenames of all Xperia!

Get my Xposed modules for Xperia

Simple and effective Xposed modules for Xperia devices - you can enable hidden features and mods with one tap.

Go to my blog,

My blog for Xperia related information. Sorry, but most blog posts are only displayed in Japanese.