T2 Ultra stock 5.1.1 working kernel sources

  • Thread starter notauseranymore
  • Start date
N

notauseranymore

Guest
Hope I'm not too late in posting this message to any devs or learning devs for the T2U. I've patched up my C3 stock kernel and confirmed that it's working as intended so I'm sharing my sources with you as we share the same CPU and firmware.

My original thread (do not flash this, it is built for the C3 and not T2U): https://forum.xda-developers.com/so.../kernel-manjuu-kernel-sony-xperia-c3-t3564190
My kernel source: https://github.com/AngryManjuu/19.4.A.0.182_kernel

For those learning how to compile, here's a few things you need to know:
1. I used this guide from XDA University.
2. That guide is using a very old toolchain, so I used this toolchain which is optimised for our CPU (Cortex-A7) and the latest NDK version, 13b.
3. Be sure to build your kernel using yukon_tianchi_defconfig found in /arch/arm/configs/.
4. You will get build errors, just double-check them by referring to my commits starting on 24 Feb 2017.
5. I'm not sure if dual sim is supported.
6. No I won't build for T2U, but you're welcome to use this thread if you have questions on building.
7. This tool will help you pack your zImage into a boot.img. Please use the original stock boot.img (you can use TWRP to backup and get it from there) to unpack and repack always otherwise your kernel won't boot.
8. There is no flashable zip, the boot.img is the kernel itself so just use fastboot to flash it.
 
Last edited: