• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[CAF Kernel] [10] Kang kernel For XZ2/C/P [OverClock] [52.1.A.3.49]

Search This thread

Sjll

Recognized Developer
Jun 4, 2017
509
589
Chongqing
Kang kernel
By Sjll

Notice: Beware of bricking device!
This a new kernel for stock 10. It's aim to optimize the kernel and provide better user experience.
I had cherry-picked some commits from other SDM845 devices like M i8 and Oneplus 6T. So it's a fusion kernel, though I don't know whether these commits could improve our performance.
I share the source codes, so you could tweak the kernel by yourself. Ok, don't forget to share your work with us.

Download: Github
Note:
1. For XZ2, boot.img already included Magisk.
2 Internal problem is normal, ignore it.

CAF Version: LA.UM.8.3.r1-07600-sdm845.0.
Linux Version:4.9.206-r25-rel


Recommand to use EX kernel Manager

Feature:
1. GPU OC to 835 Mhz.
2. Thanks: Hide unlocked state from @j4nn
3. Qcacld wlan driver.
4. Remove useless drivers.
5. zram to lz4.
6. Increase priority of RT thread.
7. AVB flag removed.
8. WireGuard support.
9. Disabled some logs in kernel.
10. Newer CAF buff and Linux version.
11. Cpufreq and drm drivers optimization.
12. Schedutil optimization.
13. Energy model improved.
14. New I/O governor (Maple & Zen)
15. Blu_schedutil CPU governor( More Powersave ) Need to enable manually
16. IOsched optimization.
17. DTS eagle driver.
18. KLAPSE Color manager. Need EX kernel Manager
19. boeffla_wl_blocker supported.
20. adrenoboost supported, disable it by default.
21. etc..

How to flash:
HTML:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot boot.img

Vbmeta.img see Attach Files
If there is a dtbo.img, then:
HTML:
fastboot flash dtbo dtbo.img
I provide a new thermal configuration, see Attach Files, download it and replacing the same file in vendor/etc. You will get the full performance of SDM845.


Source code: Github

ROM OS Version: 10.0
ROM Kernel: Linux 4.9
Contributors
Sjll

Created 2020-02-26
 

Attachments

  • Screenshot_20200228-152334.png
    Screenshot_20200228-152334.png
    190.9 KB · Views: 2,188
  • Screenshot_20200228-152316.png
    Screenshot_20200228-152316.png
    95.5 KB · Views: 2,162
  • Screenshot_20200228-152304.png
    Screenshot_20200228-152304.png
    114.6 KB · Views: 2,156
  • thermal-engine.zip
    1.4 KB · Views: 661
  • vbmeta.img
    4 KB · Views: 544
Last edited:

farukr1

Senior Member
Jan 10, 2014
60
13
Ankara
Xperia XZ2
Thank you for this! I got a slight increase in Antutu benchmark score, especially in GPU and UX tests. Hide unlock status is also working, Sony started to send me updates for system apps. Been using for an hour and it's smooth af. will update this comment if I encounter any issues or other improvements in longer term.
 

Sjll

Recognized Developer
Jun 4, 2017
509
589
Chongqing
Is it possible to port it on aosp10/los17 with osmosis anykernel?
No, this kernel is only for stock, not SODP.

thanks! can I flash on xz2 compact h8314?
No, you can't, but I will provide a version for xz2c after source code is updated to latest.
You could upload the boot.img of xz2c. I need it. Because I don't want to download the whole FTF firmware of XZ2c. It's too large.

Thank you for this! I got a slight increase in Antutu benchmark score, especially in GPU and UX tests. Hide unlock status is also working, Sony started to send me updates for system apps. Been using for an hour and it's smooth af. will update this comment if I encounter any issues or other improvements in longer term.
Thanks, if there is any bugs, feedback to me please. I will try to solve it.
 

MartinX3

Recognized Contributor
Sep 14, 2014
5,790
2,876
Mars
martinx3.github.io
yes but it crashes when it says phone is starting... so I can't really get into my files and have to leave for university in 10 minutes, I'll give it another try in the evening and provide logs if possible
After crash go into Fastboot mode and flash the working kernel back (with magisk)
Then the device boots and you get the files :)
Just don't boot one time too much or the pstore will be wiped.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Kang kernel
    By Sjll

    Notice: Beware of bricking device!
    This a new kernel for stock 10. It's aim to optimize the kernel and provide better user experience.
    I had cherry-picked some commits from other SDM845 devices like M i8 and Oneplus 6T. So it's a fusion kernel, though I don't know whether these commits could improve our performance.
    I share the source codes, so you could tweak the kernel by yourself. Ok, don't forget to share your work with us.

    Download: Github
    Note:
    1. For XZ2, boot.img already included Magisk.
    2 Internal problem is normal, ignore it.

    CAF Version: LA.UM.8.3.r1-07600-sdm845.0.
    Linux Version:4.9.206-r25-rel


    Recommand to use EX kernel Manager

    Feature:
    1. GPU OC to 835 Mhz.
    2. Thanks: Hide unlocked state from @j4nn
    3. Qcacld wlan driver.
    4. Remove useless drivers.
    5. zram to lz4.
    6. Increase priority of RT thread.
    7. AVB flag removed.
    8. WireGuard support.
    9. Disabled some logs in kernel.
    10. Newer CAF buff and Linux version.
    11. Cpufreq and drm drivers optimization.
    12. Schedutil optimization.
    13. Energy model improved.
    14. New I/O governor (Maple & Zen)
    15. Blu_schedutil CPU governor( More Powersave ) Need to enable manually
    16. IOsched optimization.
    17. DTS eagle driver.
    18. KLAPSE Color manager. Need EX kernel Manager
    19. boeffla_wl_blocker supported.
    20. adrenoboost supported, disable it by default.
    21. etc..

    How to flash:
    HTML:
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    fastboot flash boot boot.img

    Vbmeta.img see Attach Files
    If there is a dtbo.img, then:
    HTML:
    fastboot flash dtbo dtbo.img
    I provide a new thermal configuration, see Attach Files, download it and replacing the same file in vendor/etc. You will get the full performance of SDM845.


    Source code: Github

    ROM OS Version: 10.0
    ROM Kernel: Linux 4.9
    Contributors
    Sjll

    Created 2020-02-26
    3
    No Problem Brother :good: . is there any way to improve fingerprint sensitivity. On Lock Screen Fingerprint work Accurate . but On Off Screen Not responsive.
    It depends on Sony.
    Hey, I tried to install the kernel but I am having an issue. The image flashes with no problems or errors, but when I boot to system I get:
    "Android System - There's an internal problem with your device. Contact your manufacturer for details"

    I am unable to connect to adb while that screen is up, so I can't get a log. Are you familiar with such an error? The only way to get it to boot again it to flash stock back.
    This is normal, It will disapper after I solved the techpack audio issue.
    @Sjll I have uploaded xz3 boot.img,can you patch it when you are free. thank you for your job on XPERIAhttps://drive.google.com/file/d/1WEXS218QVYZfNRMhZTIjY-ZT1UXU-0nM/view?usp=sharing:D
    I would build it after solved the touch issue on XZ2P.
    XZ2P can start but touch screen does not work
    Try V1.1 and feedback please.
    Yes, but this kernel is for stock.
    The touch "fix" for twrp was just adding touch like stock does it.
    Maybe @Sjll or the other dev accidentally removed something in the kernel, which is needed for the XZ2P touch while adding the touch drivers for the other devices.
    You could try to execute the same steps here
    https://github.com/MartinX3-Android...recovery/prebuilt/touch/sbin/preptouch.sh#L36
    Thanks!
    Will the kernel go for 52.1.А.3.49?
    Redo the fit for the new firmware
    Waiting for Sony release the source codes.
    2
    Open source archive for 52.1.A.0.618 has released. Waiting For New Kernal :)

    Updated.
    1
    thanks! this is the boot image of xz2c from stock italian firmware .532 (android 10)
    https://drive.google.com/open?id=1aKZiVIa6T3k7ZJ7mGWw_hWPCHkkxzRAj

    Done, try it and feedback, thanks.
    1
    V1.4 for XZ2P solved the touch issue, if you have a XZ2P, you could try it. :)