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

[Kernel][05.08.2021][Android 10] Kirisakura 3.2.3 for Asus Rog Phone 2 aka Yoda

Search This thread

ausaras

Senior Member
Sep 10, 2011
307
61
Taichung
I am testing kernel 3.2.3 on WW-17.0240.2108.103 and everything work good at this moment. 😅

Thank you for letting me know! We have a long weekend coming up in October. If I have nothing to do, I might update ROM and flash the .100 Kirisakura kernel.

But I still prefer matching ROM and kernel versions. So far, the .100 version has been working great.
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
5,068
16,098
@ausaras and everybody else

no kernel changes in 17.0240.2108.103 that we don´t already have by CAF and Linux-Stable upstream.
So the current release can be used just fine with that firmware.
 
  • Like
Reactions: ausaras

Bonk3rs

Member
Dec 7, 2010
8
2
Thanks for this fantastic kernel. I have been using the latest 103 update with the 3.2.3 kernel for the last week and everything seems to work. Instagram however seems to be crashing. It works after cache is reset but continues to crash after 1st login. It seemed to work ok with the original 103 kernel. Is anyone else facing this as well?
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
5,068
16,098
Thanks for this fantastic kernel. I have been using the latest 103 update with the 3.2.3 kernel for the last week and everything seems to work. Instagram however seems to be crashing. It works after cache is reset but continues to crash after 1st login. It seemed to work ok with the original 103 kernel. Is anyone else facing this as well?
I managed to replicate the bug also on 3.2.2.

I think the Instagram app was updated at some point recently and is trying to access something that's restricted by a recent Linux stable updated from a security perspective. At least that's what I think by looking at the logs.

Nobody reported the issue on 3.2.2 for a few months, so that's the most likely scenario.

I'm not sure when I find the time to look into this( what exactly is causing it) as it can be very time intensive, but I'll take a look at it.
 
  • Like
Reactions: Bonk3rs

Bonk3rs

Member
Dec 7, 2010
8
2
Thanks for taking the time to replicate the bug. Yes the issue did not exist on 3.2.2. And neither on 3.2.3 with .100 build. The Instagram app also worked fine after I upgraded to .103 with it's stock kernel. I did notice that the latest update on Instagram was constantly being flagged for background battery consumption. Not sure if that helps in anyway. As you mentioned, seems like Instagram is trying to do something in the background that gets interfered and crashes. For anyone facing the same issue, I'm using Instagram lite as a workaround, hoping it gets fixed with next instagram update. This kernel is a must use for me, so hopefully you are able to find a fix for this @Freak07 . Thanks for your work.
 
  • Like
Reactions: Freak07

doctorzeromd

Member
Sep 11, 2011
16
0
Is anyone else experiencing the issue I noticed where the phone will restart when connected to a USB c dongle that has HDMI and Ethernet?

It seems if the dongle just has USB all is fine.
 

H0Ly_bLaSt0R

Member
Apr 13, 2011
22
0
I've run into a few bugs testing the kernel on Android 10. The first is that the air triggers get disabled while using the kernel and the second seems to be with rotation not working.
I am on 17.0240.2108.103, and I've unlocked bootloader specially for this kernel. I did everything according to instructions flashing this kernel, and air triggers, auto rotation and other sensors except gps are not working, any ideas how to fix this not loosing again all my data?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    @Freak07

    Just to let you know, V17.0240.2108.103 is released. Will there be an update to your kernel?

    Really enjoy your work. Thank you!
    I am testing kernel 3.2.3 on WW-17.0240.2108.103 and everything work good at this moment. 😅
    1
    @ausaras and everybody else

    no kernel changes in 17.0240.2108.103 that we don´t already have by CAF and Linux-Stable upstream.
    So the current release can be used just fine with that firmware.
    1
    Thanks for this fantastic kernel. I have been using the latest 103 update with the 3.2.3 kernel for the last week and everything seems to work. Instagram however seems to be crashing. It works after cache is reset but continues to crash after 1st login. It seemed to work ok with the original 103 kernel. Is anyone else facing this as well?
    I managed to replicate the bug also on 3.2.2.

    I think the Instagram app was updated at some point recently and is trying to access something that's restricted by a recent Linux stable updated from a security perspective. At least that's what I think by looking at the logs.

    Nobody reported the issue on 3.2.2 for a few months, so that's the most likely scenario.

    I'm not sure when I find the time to look into this( what exactly is causing it) as it can be very time intensive, but I'll take a look at it.
    1
    Thanks for taking the time to replicate the bug. Yes the issue did not exist on 3.2.2. And neither on 3.2.3 with .100 build. The Instagram app also worked fine after I upgraded to .103 with it's stock kernel. I did notice that the latest update on Instagram was constantly being flagged for background battery consumption. Not sure if that helps in anyway. As you mentioned, seems like Instagram is trying to do something in the background that gets interfered and crashes. For anyone facing the same issue, I'm using Instagram lite as a workaround, hoping it gets fixed with next instagram update. This kernel is a must use for me, so hopefully you are able to find a fix for this @Freak07 . Thanks for your work.
  • 51
    Kirisakura-Kernel for the Asus Rog Phone 2

    Hello everyone,

    I proudly present Kirisakura-Kernel made for the Asus Rog Phone 2 aka Yoda!

    Kirisakura - Kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!

    This project aims to keep most of the subsystems updated, way ahead of the stock kernel, thereby improving security and performance, while keeping stability as the foucs during testing! This includes Linux-Stable, CAF-Upstream and kernel/common.
    Kernel Control Flow Integrity (Kernel-CFI), which is achieved by linking the kernel with LLD and Link Time Optimization (LTO), more precisely ThinLTO, are quite unique security features. In fact this may be one of the only 4.14 msm kernels with a fully working Kernel-CFI implementation and CFI-Violations fixed on a smartphone.
    The only kernels made by OEMs offering this security feature are the ones for the Pixel 3 and Pixel 4 devices.

    If that got you curious,have a read about Linux-Stable and why it is important here. The stable-process is not the same for every subsystem, but the general idea, rule of thumb and benefits are applicable for other subsystems as well.

    Quick explanation of CAF-Upstream. CAF is short for Codeaurora-Forums. This is the place where development from Qualcomm for their SoCs happens. This includes the Snapdragon 855+ that´s built into the Asus Rog Phone 2.
    The kernel-bases available on the Codeaurora-Forums, are basically the foundations OEMs use to build their own kernel additions on top, for devices featuring Qualcomm SoCs.
    The Qualcomm developers push regular updates to the bases of the different SoCs, a bit similar to how Linux-Upstream works. OEMs usually stop updating the initial base after the phone is released.
    This kernel focuses amongst others to provide the latest CAF-Updates merged in a regular manner, to provide updates, improvements and enhancements for SoC specific drivers and subsystems! This might take a while, because a lot of device specific testing is done on my end to ensure stability.

    The kernel includes a lot of improvements and contributions from other developers as well. Without this kernel would not exist.
    Many others contributed in some way or another to this kernel.
    A big thanks to all of them at this place!

    Now lets continue with a list of features in the next paragraph!


    Main Features:
    - Based on latest kernel sources from Asus for Android 10 and intended for use on Asus Stock Rom
    - compiled with Clang 12.0.7 and built with -O3 speed optimizations
    - Linux-Stable-Upstream included to 4.14.239
    - Regular CAF-Tag for SD855 merged LA.UM.8.1.r1-15400-sm8150.0
    - Next-Gen CAF-Tag LV.AU.0.2.0.r1-03200-gen3meta.0 merged
    - Next-Gen CAF-Tag LA.AU.0.1.1.r1-03100-gen3meta.0 merged
    - Link the kernel with LLD and use KASLR
    - include all important fixes/improvements from kernel/common
    - F2FS implementation updated to latest state of kernel/common and kernel.org maintained by Jaegeuk Kim.
    - Safety Net patches are included -> Kernel passes Safety Net
    - Flashing the kernel will keep root!
    - Sweep to sleep functionality
    - Flashable via EXKM and FKM on a rooted system!
    - specifically tuned EAS for the Asus Rog Phone 2
    - removed nolog usage, remove rtb logging from the kernel
    - remove selinux auditing from kernel for lower overhead
    - remove IPC logging from the kernel
    - Anykernel zip is based on the all new Anykernel3 release from @osm0sis
    - option for 144hz refresh rate
    - option to improve visibility in dark scenes

    EAS related features:
    - EAS implementation patched up to latest CAF state
    - disable autogroups and use cgroups for more efficient task placement!
    - Dynamic Stune Boost to inflate task utilization and not overload cores on interaction (thanks to @RenderBroken and @joshuous )
    - improved schedutil governor
    - updates from kernel/common

    CPU related features:
    - Power saving workingqueues enabled by default
    have a read here: https://lwn.net/Articles/731052/
    this complements EAS in general
    - Change various drivers (WLAN, MM, audio, charger, power, thermal, glink etc) to user power efficient workingqueues. This should work well in conjunction with EAS
    - include cpuidle patches from CAF
    - improvements to cpufreq/times/stats
    - vDSO 32 patches to improve 32-bit performance
    - arm64: lse: Prefetch operands to speed up atomic operations (thanks to @kdrag0n )

    File System related features:
    - F2FS implementation updated to latest state of kernel/common and F2FS-Mainline on kernel.org maintained by Jaegeuk Kim.
    - Include rapid GC by @arter97 ( best thing is to read the commit description linked here. I compared GC on stock google f2fs, upstreamed f2fs and f2fs with rapid GC. Rapid GC is the most effective, followed by upstreamed f2fs.)
    - adapt F2FS to be inline with Pixel 4s code from Google, which is also directly maintained by Jaegeuk Kim
    - include a few F2FS fixes from the Pixel 4 kernel
    - include optimizations to UFS-Driver from Pixel 4
    - various improvements to FS-Performance from the Pixel 4
    - f2fs fix to prevent data loss in case of sudden power failure

    GPU related features:
    - Update GPU driver to latest CAF state
    - remove debugging and non-sd855+ specific code from the GPU driver
    - introduce low priority worker thread to improve performance in UI-critical situations


    Network related features:
    - Wireguard Support (Details)
    - advanced TCP algorithms enabled
    - includes new bbr and bbr2

    Memory related features:
    - Speculative Page Faults (1. 2) (CAF default)
    - enabled per process reclaim (CAF default)
    - Fix various memory leaks in different subsystems
    - improved mm with patches from latest mainline
    - various other changes from mainline
    - included zstd and lz0-rle as options for ZRAM-algorithm (lz4 is probably the best all around, so only change it if you know why and what you are doing)
    - allow swappiness up to a value of 200
    - remove unused mem regions to free more RAM (thanks to @kdrag0n )

    Security related features:
    - Control-Flow-Integration (CFI) andLink-Time-Optimization (LTO) ported from 4.14 kernel/common and Pixel 4 Kernel
    - Shadow Call Stack ported from 4.14 kernel/common and Pixel 4 Kernel
    - enable init_on_alloc for even more security, more information can be found in the commit message

    Misc Features:

    TCP Congestion Algorithms:
    - advanced algorithms enabled
    - includes new bbr2
    Wakelock Blocker:
    - advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
    - please read [URL="https://arstechnica.com/gadgets/2018/08/p-is-for-power-how-google-tests-tracks-and-improves-android-battery-life/"]this for further info

    Other features:
    - disable logging and debugging to make the kernel more lightweight in various places (includes binder, mm, vma, gpu, ipa etc)
    - remove VLAs from the kernel (more info)
    - add support for steam controller
    - add support for nintendo switch controller

    Feature section for the "non visible" but perceptible improvements:
    - updated binder section (responsible for interprocess communication)
    - updated sdcardfs ; have a read about it here:
    - fix CFI violations
    - add ramoops/pstore support (thanks @luca020400)


    Requirements

    - unlocked Bootloader
    - USB-Debugging in developer options enabled
    - latest adb and fastboot binaries
    - working adb and fastboot environment
    - magisk root
    - a backup of boot.img and dtbo.img to be able to restore to stock. you should be able to do this easily via TWRP.


    How to flash the Kernel:

    1. Download the latest kernel.zip and make sure you have properly updated to the latest Asus Firmware

    1a. Optional: While it may not be necessary all times, you may want to restore stock boot.img and dtbo.img, re-root with magisk and optionally install twrp.zip if coming from another kernel. Before reporting issues make sure you do that! Thank you!

    2. Make sure to use latest Magisk stable. (not the latest canary!)

    3. Flash the kernel.zip via latest EXKM or FKM app, or TWRP (haven´t tested TWRP myself as I don´t need it) and do a full reboot.

    4. Flash the kernel again. This step is needed because flashing the kernel disables verity on vendor in order to modify two files. Disabling verity takes a reboot. Flashing the second time allows the two files to be changed correctly. This step is necessary if you flashed a firmware update. (This step should not be necessary when updating my kernel, if you are already running it, but if you want to be on the safe side just flash it twice)

    4a. Optionally flash the PSI-Enable Magisk Module (information can be found in this post)

    5. Reboot and profit. It will take around 15 seconds for the kernel and the system to execute all changes done by flashing the kernel.zip. After 15 seconds 120fps will kick in, if you use 120fps setting!


    DOWNLOAD:
    Download is located always in this folder:
    https://www.androidfilehost.com/?w=files&flid=303784

    Important: Read after Download
    Please take a look at the second post after flashing the kernel!

    Changelog:

    Android 9
    1.0.0 Initial Release
    1.0.2 https://forum.xda-developers.com/showpost.php?p=81389411&postcount=33

    Android 10
    2.0.0 https://forum.xda-developers.com/showpost.php?p=82238713&postcount=141
    2.1.0 https://forum.xda-developers.com/showpost.php?p=82317211&postcount=191
    2.6.0 https://forum.xda-developers.com/showpost.php?p=82495531&postcount=252
    2.6.2 https://forum.xda-developers.com/showpost.php?p=82560081&postcount=261
    2.6.4 https://forum.xda-developers.com/showpost.php?p=82602927&postcount=267
    2.7.2 https://forum.xda-developers.com/showpost.php?p=82834055&postcount=281
    2.7.5 https://forum.xda-developers.com/showpost.php?p=82837791&postcount=285
    2.9.0 https://forum.xda-developers.com/showpost.php?p=83100663&postcount=306
    3.0.6 https://forum.xda-developers.com/showpost.php?p=83526987&postcount=391
    3.1.0 https://forum.xda-developers.com/showpost.php?p=83606511&postcount=406
    3.1.3 https://forum.xda-developers.com/t/...us-rog-phone-2-aka-yoda.4028237/post-84124933
    3.1.5 https://forum.xda-developers.com/t/...us-rog-phone-2-aka-yoda.4028237/post-84617449
    3.2.0 https://forum.xda-developers.com/t/...us-rog-phone-2-aka-yoda.4028237/post-84717691
    3.2.1 https://forum.xda-developers.com/t/...us-rog-phone-2-aka-yoda.4028237/post-84799241
    3.2.2 https://forum.xda-developers.com/t/...us-rog-phone-2-aka-yoda.4028237/post-85145887
    3.2.3 https://forum.xda-developers.com/t/...us-rog-phone-2-aka-yoda.4028237/post-85431627

    Magisk-Module to reduce minimal brightness:
    Only for Android 10 WW Stock Firmware ! Flashable via Magisk Manager.
    The module is offered without any form of support. Please do not discuss it here in the thread.
    If you face issues, it´s because you accidentally use any form of tweak, app, script, module or some other conflicting mod.
    Brightness Module (reduces minimum brightness):https://www.androidfilehost.com/?fid=4349826312261766808

    Donations:
    Donations are not mandatory but very welcome if you want to support development or just buy me a coffee :)
    If you like my work: http://paypal.me/freak07

    Credits:
    Asus for the Rog Phone 2
    @osm0sis for all his work, including the ak3 installer!
    @tbalden for being the best HTC wingman!
    @LeeDroid for his awesome roms!
    @Captain_Throwback for all the mentoring and guidance!
    @Eliminater74 for bringing me into the game and the Inspiration
    @nathanchance for his upstream guidance and assistance
    @RenderBroken for helping me out
    @flar2 for all his work
    @joshuous for all the help he provided to me in the past!
    @arter97 for giving me advice
    @kdrag0n for his help too
    @topjohnwu for magisk!
    @osm0sis for anykernel!

    XDA:DevDB Information
    Kirisakura Kernel, Kernel for the ASUS ROG Phone II

    Contributors
    Freak07
    Source Code: https://github.com/freak07/Kirisakura_Yoda/commits/master_q_exp_13

    Kernel Special Features:

    Version Information
    Status:
    Stable

    Created 2020-01-01
    Last Updated 2020-09-29
    26
    Update to 2.0.0

    Hey guys and girls,

    The wait for the Android 10 kernel is finally over. As already announced this time it´s not only a stock kernel with a few minimal changes.
    I updated the OP with all the information on what´s included in the kernel. I include the list in this post as well. Most improvements have some descriptions linked.
    If not Google is your friend :)

    Flashing the kernel will automatically install a helper module for the kernel settings to be applied at boot! Don´t remove it in Magisk Manager!
    These settings will tune the Energy-Aware Scheduler to work better on the ROG, than what´s default. I can notice an improvement when cold-opening apps for example and in other scenarios as well.
    I´m not a fan of benchmarks for getting the highest score possible or to start competitions. However all tests I did so far showed a slight improvement. :) Jitter is improved, Jank is improved and other benchmarks as well.
    I´m very content how the kernel currently runs. I plan to look into this further, maybe there are more improvements to be gained.

    If you are installing the kernel for the first time on Android 10 you need to flash it twice. The first flash disables verity and the second flash edits some files on vendor, which is now allowed due to disabling verity.
    All consecutive flashes will require only one flash. If you at some point dirty flash your the asus firmware, you need to install it twice again.
    This was added to the instructions in the OP!

    If you need more performance or want to throttle the device, you can use X-Mode or the custom X-Mode.

    I don´t have the Asus Gamepad, so I don´t know if it still works. If anybody can give feedback on this it´s appreciated. The fan that´s included in the package works fine.


    The kernel includes latest linux-stable, is upstreamed against the latest CAF-Sources ( soc specific patches), uses latest f2fs-stable and has all relevant commits from kernel/common included.
    It´s built with the latest prebuilt Clang from Google.

    Bringing this kernel to the state it now is was a lot of work over the last month. This is now nearly the 100th build.

    Enjoy!


    Changelog:

    Main Features:
    - Based on latest kernel sources from Asus for Android 10
    - compiled with Clang 10.0.6 and built with -O3 speed optimizations
    - Linux-Stable-Upstream included to latest 4.14.175
    - Regular CAF-Tag for SD855 merged LA.UM.8.1.r1-14500-sm8150.0
    - Next-Gen CAF-Tag LV.AU.0.2.0.r1-03200-gen3meta.0 merged
    - Next-Gen CAF-Tag LA.AU.0.1.1.r1-03100-gen3meta.0 merged
    - Link the kernel with LLD and use KASLR
    - include all important fixes/improvements from kernel/common
    - F2FS implementation updated to latest state of kernel/common and kernel.org maintained by Jaegeuk Kim.
    - Safety Net patches are included -> Kernel passes Safety Net
    - Flashing the kernel will keep root!
    - Sweep to sleep functionality
    - Flashable via EXKM and FKM on a rooted system!
    - specifically tuned EAS for the Asus Rog Phone 2
    - removed nolog usage, remove rtb logging from the kernel
    - remove selinux auditing from kernel for lower overhead
    - remove IPC logging from the kernel
    - Anykernel zip is based on the all new Anykernel3 release from @osm0sis

    EAS related features:
    - EAS implementation patched up to latest CAF state
    - disable autogroups and use cgroups for more efficient task placement!
    - Dynamic Stune Boost to inflate task utilization and not overload cores on interaction (thanks to @RenderBroken and @joshuous )
    - improved schedutil governor
    - updates from kernel/common

    CPU related features:
    - Power saving workingqueues enabled by default
    have a read here: https://lwn.net/Articles/731052/
    this complements EAS in general
    - Change various drivers (WLAN, MM, audio, charger, power, thermal, glink etc) to user power efficient workingqueues. This should work well in conjunction with EAS
    - include cpuidle patches from CAF
    - improvements to cpufreq/times/stats
    - vDSO 32 patches to improve 32-bit performance

    File System related features:
    - F2FS implementation updated to latest state of kernel/common and F2FS-Mainline on kernel.org maintained by Jaegeuk Kim.
    - Include rapid GC by @arter97 ( best thing is to read the commit description linked here. I compared GC on stock google f2fs, upstreamed f2fs and f2fs with rapid GC. Rapid GC is the most effective, followed by upstreamed f2fs.)
    - adapt F2FS to be inline with Pixel 4s code from Google, which is also directly maintained by Jaegeuk Kim
    - include a few F2FS fixes from the Pixel 4 kernel
    - include optimizations to UFS-Driver from Pixel 4
    - various improvements to FS-Performance from the Pixel 4

    GPU related features:
    - Update GPU driver to latest CAF state
    - remove debugging and non-sd855+ specific code from the GPU driver
    - introduce low priority worker thread to improve performance in UI-critical situations


    Network related features:
    - Wireguard Support (Details)
    - advanced TCP algorithms enabled
    - includes new bbr and bbr2

    Memory related features:
    - Speculative Page Faults (1. 2) (CAF default)
    - enabled per process reclaim (CAF default)
    - Fix various memory leaks in different subsystems
    - improved mm with patches from latest mainline
    - various other changes from mainline
    - included zstd and lz0-rle as options for ZRAM-algorithm (lz4 is probably the best all around, so only change it if you know why and what you are doing)
    - allow swappiness up to a value of 200

    Security related features:
    - Control-Flow-Integration (CFI) andLink-Time-Optimization (LTO) ported from 4.14 kernel/common and Pixel 4 Kernel
    - Shadow Call Stack ported from 4.14 kernel/common and Pixel 4 Kernel
    - enable init_on_alloc for even more security, more information can be found in the commit message

    Misc Features:

    TCP Congestion Algorithms:
    - advanced algorithms enabled
    - includes new bbr2

    Wakelock Blocker:
    - advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
    - please read [URL="https://arstechnica.com/gadgets/2018/08/p-is-for-power-how-google-tests-tracks-and-improves-android-battery-life/"]this for further info


    Other features:
    - disable logging and debugging to make the kernel more lightweight in various places (includes binder, mm, vma, gpu, ipa etc)
    - remove VLAs from the kernel (more info)
    - add support for steam controller
    - add support for nintendo switch controller
    - optional Magisk-Module to reduce minimum brightness by a bit

    Feature section for the "non visible" but perceptible improvements:
    - updated binder section (responsible for interprocess communication)
    - updated sdcardfs ; have a read about it here:
    - fix CFI violations
    - add ramoops/pstore support (thanks @luca020400)

    I wish you all a nice day/evening!


    Download is below :)

    Download:

    Disclaimer/Important:

    Kernel: https://www.androidfilehost.com/?fid=4349826312261766784
    Instructions how to flash the kernel can be found in the OP!
    But look at this post too :)


    Brightness Module (reduces minimum brightness):https://www.androidfilehost.com/?fid=4349826312261766808
    Only for Android 10 WW Stock Firmware ! Flashable via Magisk Manager.
    The module is offered without any form of support. Please do not discuss it here in the thread.
    If you face issues, it´s because you accidentally use any form of tweak, app, script, module or some other conflicting mod.




    Have fun, enjoy the kernel and your phone.

    If you like my work please consider a donation.
    Donations are not mandatory but very welcome.
    If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07
    25
    Update to 1.0.2

    Hey guys and girls,

    wait is over. everybody can enjoy that sweep to sleep. the sweep to sleep driver is not my work, but flar2´s. I just adjusted the driver to work with the Rog Phone 2.
    Since wake gestures are available in settings, I thought this might compliment the device.

    A few other changes, mainly display tweaks. One to save power on rendering static images. I haven´t noticed any issues so far. Please report back in case you notice screen glitches etc.

    Disabled auditing for lower overhead.

    Enjoy!


    Changelog:

    Kernel Base
    - sweep 2 sleep (enable via EXKM/FKM)
    - display tweaks to save power
    - disable auditing

    I wish you all a nice day/evening!


    Download is below :)

    Download:

    Disclaimer/Important:


    Kernel: https://www.androidfilehost.com/?fid=4349826312261693048


    Instructions can be found in the OP!
    But look at this post too :)

    Have fun, enjoy the kernel and your phone.

    If you like my work please consider a donation.
    Donations are not mandatory but very welcome.
    If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07
    18
    F.A.Q:

    Question: Why does the kernel version show as "unavailable" in settings after flashing it.
    Answer: Asus does not allow for custom kernel names in their settings. Use a kernel manager to check the kernel version.

    Question: Is root preserved when flashing this kernel?
    Answer: Yes the Anykernel Zip will detect root and keep it.

    Question: How do I return back to stock or another kernel.
    Answer: Extract boot.img as well as dtbo.img from matching firmware you are on and flash the extracted boot.img via fastboot.

    Question: How to report bugs properly?
    Answer: Have a look at post #3 in this thread. The linked guide is a pretty good starting point.
    Before reporting any bug make sure you´re not using any mods, magisk modules, scripts or other modifications that alter various functions like sound mods, data traffic etc.
    Try to describe the issue as detailed as possible! Give your exact setup, like rom, magisk version, kernel version.
    Is the issue reproducible? Does it happen frequently?
    Provide logs, otherwise debugging is a lot harder. If you can already reproduce the issue and provide logs it greatly limits the amount of time I have to spent until I figure out how to reproduce it.

    If the device force reboots/randomly reboots (that means you see the bootloader unlocked screen!) provide a ramoops file.
    Easiest way is immediately after booting up, with a root explorer navigate to sys/fs/pstore. Copy the contents to your internal storage, zip it up and send it to me.

    If the issue happens while the device is running provide a dmesg plus a logcat that you take while/shortly after the issue happens. This will log what´s running in the current session. Try to be as detailed as possible what´s happening when the issue appears. It will also help me in reading the log!
    15
    Useful Resources

    How to report bugs:

    It is incredibly useful if bug reports are done in a proper way. That saves everyones time and will ultimately lead to a faster bugfix (hopefully).
    The following guide from @nathanchance is a very good guideline on how to properly report a bug!

    https://github.com/nathanchance/Android-Tools/blob/master/Guides/Proper_Bug_Reporting.txt