yashsingh1/xdaforums huggingface dataset:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
The kernel for Android 9 is linked in the OP, but it won´t be updated.

There are no crashes for me on Android 10. However if you prefer to use Android 9, because some games are not working on Android 10, you have to use what is available to you.

hey :)

thanks for your logs. I just took a look at them.

I´m not only talking about kernel tweaks, I´m talking about mods in general. Before troubleshooting remove all sound mods, magisk modules or other stuff you flashed to/modified the device with.

If you removed system apps, that can cause issues as well.

If you modified too much stuff, random issues will occur. If you´re running into that it´s best to do a backup and start fresh.

Unfortunately all your logs don´t show the issues you describe.

The logcat and dmesg in your zip file shows you, using the device more or less and you lost 2% of charge during that time. The devices battery temperature is in the range of 26°C to 30°C, and the device isn´t connected to a charger and isn´t hot.

You need to follow the steps in post #2 and #3 to get proper logs for this issue. The logs need to be recorded while you´re facing the issue.

I´m not sure why you included the ramoops file, but that file doesn´t look right to me. It seems it has been modified as there are jumps in it, that didn´t get logged. A ramoops file is only needed in case of a random crash and it needs to be taken from sys/fs/pstore right after the device booted up after the crash.

There´s no lag for me when browsing the web with chrome browser, and scrolling through a google picture search for example. Can you tell me what app you´re using to read mangas? I don´t read any mangas, but I want to try to reproduce the issue at least.

I´ll attach another kernel, which contains some changes relating to the CPU scheduler, that might end up in the next release.

Please check if the stutter still exists there.

I cannot tell you why the issues happen for you, as I´m not able to reproduce any of them on my side. The device never locked up for me, there´s no stutter and it doesn´t get any hotter than it was for me on the stock kernel.

Read a bit back: It´s normal for the phone to heat up to 40°C periodically when connected to a fast charger.

Flash it in magisk manager app. make sure to run the latest magisk stable.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CRYPTfromCATACOMBZ:
Tx for ur response, i thought that those logs won't show u anything specific to my problem. I think it could be related to GPU/CPU tweaks in newer versions. Who knows. I downloaded that version 2.4.1 and flashed it twice properly as it's described with restarts of course. Still have that problem. Chrome is really bad, especially when u have there pictures or video thumbnails and my manga reader is Tachiyomi, but it needs a bit of set up - but to this when i start xMode and start to using this app, seems it's much better. Unfortunately there's no influence between xMode ON and stuttering while browsing using Chrome.... I didn't uninstall any sys apps, and the only module i had at Magisk was GPS something (which i removed before i installed urs 2.4.1 in case...) I am thinking i used some modules beforefor sound, but i uninstalled everything some days ago, before i even noticed those stuttering issues. Maybe would be the very best to do complete fresh RAW instalation, but i am too lazy now and configure my system again + download with my net connection everything back.... Jeez - let's just leave it be for now, it seems anyway that i am the only one with this kind of issues

Edit:// i forgot to mention that i am facing these issues only on iddle state, when i am gaming i have no issues at all

Edit:// my phone stucked again, i connected charger - it says HyperCharging, but phone wasn't hot at all and battery % were still on 80% - so i unplugged cable and even that phone reacted on buttons by vibrations, i had black screen and had to do hard reset (dunno if it's kernel related, just saying - have the same issue on 2.0.0 - but maybe it's just some Android 10 weird bug again)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Sorry to hear you have all these problems. no idea what went wrong on your side :( Using the 2.4.1 kernel without any problems for 3 days now.

In case you need to force reboot the device, when it gets stuck on a black screen. Try to not boot into the bootloader (don´t press all three buttons too long) and after you´re back into the system, go to sys/fs/pstore and upload the contents of this folder.

Managed to import a free manga into tachiyomi, scrolled through it and see no stutter... Loaded mobile youtube website in chrome browser as well, scrolled through the thumbnails and also no stutter there.

I really can´t help you at the moment. Sorry about that.

I agree, setting a device up freshly is always a pain :(
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
2.4.1 flashed! Thanks! A bit more consumption first day... I will let it stabilize itself. Tomorrow hopefully it's a bit better :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Himan99:
Sir i have little doubt before flashing it has to be clear

1. it boost the performance of the device. What is is antutu score please provide some screenshots please sir who is using this kernel as daily driver

2. Any battery life improvement currently I'm using the latest global version Rom please provide some screenshots regarding to battery performance of the like SOT,GAMEPLAY and PUBG total time(Because of gaming phone). Currently I'm getting 8hrs of SOT with 90hz

3 please provide some drawbacks of flashing this rom

Kindly provide me above details which will help me

And also appreciating the work of developer. Which is done great work for great device
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
It isn't a ROM. It's a kernel.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] symbianfan:
[IMG="Best Kernel!"]https://kepkuldes.com/image/KPcX1d

https://kepkuldes.com/image/KPcrnf

https://kepkuldes.com/image/KPccRy[/IMG]
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CrisJavicr7:
The same happens to me the kernel 2.1.0 apparently it worked well for two days after it hung and I had to restart and after hanging I had to uninstall the kernel for the moment it is going well, and waited a few days to see if there is a kernel update
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Himan99:
But sir kernel can increase the performance and battery backup
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
Yes. it's a good kernel. You should flash
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Kianush:
Im sorry to ask a noobish question

In op you say that adb is needed, then you ask us to install with FKM etc, that's an app for android right? Then why do we need adb?!?

And will installing this kernel need a factory reset? Because I have so many apps and data to keep

Btw, you did a great work here we all appreciate it even if some of us dont know how to use it yet!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gabi.ailincai:
Adb is not required for the install, but you will need fastboot in order to go back to the stock by flashing the stock boot image, if needed.

Yes, FKM and EXKM are kernel managers and are apps on Play Store.

No, flashing the kernel doesn't do a factory reset. You will need to be rooted, which requires unlocking the bootloader. If your bootloader is not unlocked already, unlocking it will force a factory reset, but not the kernel flash per se.

Edit: I wanted to add that if you plan on tinkering with your phone, you should have adb and fastboot already, just in case something breaks. These tools are used to flash images, change settings and restore your phone in case something breaks, so they are pretty much mandatory for playing around with the phone.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Kianush:
Thanks, Im on latest ww a10 and already have root and everything.

And just checked those apps and noticed they are paid apps which I cant buy due tô contry restrictions

Any other apps that I can use??!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
If you don´t understand every step of the guide in the OP, it´s probably best to do more research before starting to modify your phone. Especially if you don´t want to lose your data or didn´t do any backups yet.

Your question regarding ADB and fastboot was already answered.

You can use TWRP to flash the kernel, like mentioned in the guide in the OP.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] AssyrianHero:
Kernel unavailable??
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gabi.ailincai:
What?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] AssyrianHero:
It shows kernel unavailable? After flashing the kernel
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] AssyrianHero:
Kernel unavailable
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gabi.ailincai:
Ok, that's a lot more information than just saying "kernel unavailable". If you need help, you need to give some details, like what the issue is, where you've seen it, what you've done to get there, etc.

If you'd read through the comments, you'll see that this was reported before and a solution was already provided. The stock ROM doesn't have to know about custom kernels, so it just says that details about it are unavailable. If you used a Kernel Manager, like EXKM or FKM, they can tell you that you indeed have Kirisakura installed.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] AssyrianHero:
The steps I did is so simple I didn't even read the instructions I downloaded the kernel and flash it throw twrp that's it
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] AssyrianHero:
I see the kernel now
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Hey guys and girls,

Alright here is the next official update. It includes a big amount of changes again. Please check the changelog for details as well.

Fix a few regressions with the preview scheduler and boosting setup. Revert also two f2fs-mainline commits, that fix an issue where the phone can rarely get stuck after a reboot, dependant on the modules used or magisk hide being active. If you had issues on 2.1.0 now might be a good time to test again.

2.6.0 introduces kernel-backend PSI support .Asus enabled the userspace low memory killer in the latest firmware update. However they do not use it with PSI like the Pixel 4 and google intends, but with vmpressure levels.

If you´re interested in this topic here is more information.

I personally like the PSI-approach way better and I think google did some excellent work there.

If you want to enable this feature just flash the PSI-Enable Magisk-Module, when you´re on 2.6.0 and reboot.

If you say I like the approach from Asus just don´t flash it.

I´d advise everybody to read the instructions in the OP and follow them. They are written for a reason, because they ensure everything will be working as expected.

Kernel is made for the latest stock rom from Asus, you must update your phone to the most recent Asus update, before flashing the kernel.

Enjoy!

Changelog:

- Linux-Stable merged up to 4.14.179

- Merge 4.19 EAS/WALT updates from SD865

- rework scheduler/boosting setup again

- improve perf-crit API introduced in 2.1.0 (not needed with scheduler changes, possibly source of issues some reported but I never got a proper log for)

- revert two f2fs-mainline commits (conflicting with magisk currently), to fix a freeze right after booting when using magisk hide/modules

- patches from kernel/common

- implement ThinLTO

- update clang to 11.0.1 prebuilt by Google

- enable PSI monitor (optional)

I wish you all a nice day/evening!

Download is below :)

Download:

Disclaimer/Important:

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

Instructions how to flash the kernel can be found in the OP!

But look at this post too :)

PSI-Enabler-Magisk-Module: https://www.androidfilehost.com/?fid=4349826312261798764

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
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] marian daciu:
Freak07, no mirrors found!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Seems like something went wrong while uploading.

I’ll try to reupload as soon as I get a chance.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
alright, I reuploaded the file. Should work now :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] marian daciu:
Thank you, downloading now.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] DanXbix:
Does twinview dock work with this kernel? No changes for peripherals. I also noticed last release in armory crate even when overclock xmode enable cpu does fluctuate unlike Asus kernel?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] killerdvd:
After flashing new kernel my phone doesn't have service.

Logcat:

Only magisk module I have is AK3 Helper, no mods, flashed over your old kernel.

Edit 1:

P.S. disregard, i flashed raw firmware, it fixed the issue.

Edit 2:

So I flashed the kernel again. After first flashed everything works fine, but after 2nd flashed per instructions, it breaks the service connection.

Logcat 2:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CRYPTfromCATACOMBZ:
It's strange but even though i didn't do anything with my phone (didn't reinstall/factory reset) the new update 2.6.0 seems working smoothly and suprisingly perfect compared with other versions. Gaming is good, no fps drops and scrolling seems smooth too. Happy

p.s. testing 2nd day, so ....
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 2.6.2

Hey guys and girls,

Alright here is the next official update.

It includes the latest source code update from Asus. We already had most of the changes by CAF-Upstream everything else is included.

That means you must update to the latest firmware update from Asus (17.0230.2004.60)before flashing the kernel.

2.6.0 introduced kernel-backend PSI support .Asus enabled the userspace low memory killer in the stable firmware update. However they do not use it with PSI like the Pixel 4 and google intends, but with vmpressure levels.

If you´re interested in this topic here is more information.

I personally like the PSI-approach way better and I think google did some excellent work there.

If you want to enable this feature just flash the PSI-Enable Magisk-Module, when you´re on 2.6.0 or higher and reboot.

If you say I like the approach from Asus just don´t flash it.

I´d advise everybody to read the instructions in the OP and follow them. They are written for a reason, because they ensure everything will be working as expected.

Kernel is made for the latest stock rom from Asus, you must update your phone to the most recent Asus update, before flashing the kernel.

Enjoy!

Changelog:

- Linux-Stable merged up to 4.14.180

- Include Asus Source code for ASUS_I001_1-17.0230.2004.60-kernel-src (you must run this firmware before flashing)

I wish you all a nice day/evening!

Download is below :)

Download:

Disclaimer/Important:

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

Instructions how to flash the kernel can be found in the OP!

But look at this post too :)

PSI-Enabler-Magisk-Module: https://www.androidfilehost.com/?fid=4349826312261798764

Only for Android 10 Stock Rom! Flashable via Magisk Manager!

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
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] killerdvd:
Thanks for the hard work. I'm sure it's not enough for your time, but just a small token of appreciation.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Apoorv_87:
Hey [MENTION=3428502]Freak07[/MENTION] really like your work. Will you be interested in making your kernel for Havoc-OS, the last update of that ROM on 15-05-2020 fixes almost everything except air triggers, vibration is also working smoothly. Your Kernel does get booted in Havoc-OS v3.5 and it is usable but small things like AOD and FOD doesn't work properly, i believe this kernel is not completely compatible with that custom ROM that why we are facing these issues. if you got time please make one for Havoc also. Thanks for your work on this device.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
Wow over 2000 mA in a game the same performance. Thanks anyway
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
Okay so I installed stock all stock and it seems like its the update from asus. Phone gets hot compare before I dont notice it. Maybe you can do some tweaking?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
thanks for the donation [MENTION=1369296]killerdvd[/MENTION] . I really really appreciate it! Yes I think you´re correct, I´m not sure if most people realize how much time goes into doing all of this.

Do you still have the problem you described in your previous post on 2.6.2?

It´s hard to keep up with everything for me lately.

I have no idea what is happening for you from the logs. And I also don´t know why you face this issue on the second flash. :(

Always make sure to be on the latest firmware from asus and to not use other mods when troubleshooting. But you already said you did that.

One more question. After you return to stock kernel by flashing stock boot.img or magisk_patched.img is mobile connection working again for you?

Glad to hear. :)

Maybe at one point in the future I can try to create a kernel that´s intended for custom roms. :)

Seems like there are still some small issues with vibration on the custom roms, I wait for those to be ironed out.

There are no problems on latest Asus firmware for me. Sorry but I can´t help you there.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 2.6.4

Hey guys and girls,

So here´s another small update. I was made aware of a bug with certain bluetooth devices. They would disconnect when the screen was turned off and the phone went in or out of deep sleep.

Managed to reproduce the issue and it´s fixed now. Thanks for reporting and confirming the issue is fixed.

2.6.0 introduced kernel-backend PSI support .Asus enabled the userspace low memory killer in the stable firmware update. However they do not use it with PSI like the Pixel 4 and google intends, but with vmpressure levels.

If you´re interested in this topic here is more information.

I personally like the PSI-approach way better and I think google did some excellent work there.

If you want to enable this feature just flash the PSI-Enable Magisk-Module, when you´re on 2.6.0 or higher and reboot.

If you say I like the approach from Asus just don´t flash it.

I´d advise everybody to read the instructions in the OP and follow them. They are written for a reason, because they ensure everything will be working as expected.

Kernel is made for the latest stock rom from Asus, you must update your phone to the most recent Asus update, before flashing the kernel.

Enjoy!

Changelog:

- Fix an issue where bluetooth devices would randomly disconnect when the phone enters/leaves deep sleep

I wish you all a nice day/evening!

Download is below :)

Download:

Disclaimer/Important:

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

Instructions how to flash the kernel can be found in the OP!

But look at this post too :)

PSI-Enabler-Magisk-Module: https://www.androidfilehost.com/?fid=4349826312261798764

Only for Android 10 Stock Rom! Flashable via Magisk Manager!

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
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
Bluetooth still disconnects.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Can´t reproduce this issue any longer.

Tested with 3 different bluetooth devices. Headphones, watch and speaker all stay connected when device is put to sleep and unlocked again.

Make sure you´re on 2.6.4 and latest firmware from Asus.

Sometimes devices have auto shut-down timers, like some speakers power down after 5 minutes when not in use. I can set my headphones to auto power down if not in use for a certain amount of time as well.

If you face issues please take a look at post #2 and #3 how to properly report bugs. Otherwise I can do nothing, because there are no issues on my end.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] killerdvd:
I fix it. I pull out the Sim card put it back in reboot, profit. Everything working fine now.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Oswald Boelcke:
[MENTION=3428502]Freak07[/MENTION] Congratulations to your new title! Well deserved indeed!:good::highfive::victory:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Oswald Boelcke:
[MENTION=3428502]Freak07[/MENTION] I really apologise for spamming your thread again but obviously I've to submit my honest congratulations to your second new title within 24 hours. The RC does suit you very well, and you clearly deserved that, too.:highfive: Good to go!:good:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] toss...:
Hello, I hope that DC dimming will be added to your kernel, because PWM dimming will cause eye fatigue. I hope that developers can have free time to develop this function. There is a commit here to help you,Thanks!;)

Commit from github DevriesL Coral_ImageBreaker 9bccc684a414f2239855833b0fb035c4de276f92 (I cannot send the link)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] darkidz555:
Hi [MENTION=3428502]Freak07[/MENTION]

Have you consider to OC gpu since it's a gaming phone let's push the gpu power.

Below link is my GitHub OC gpu commit for Asus rog 2 phone. Since my laptop break down can't build for the community till it's being repair.

Oh yeah btw I develop kernel for lg v30.

Thanks in advance

https://github.com/darkidz555/ROG2/commits/Tachyon_ROG_I
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Yes I know about the work of this developer. Unfortunately that´s not very helpful and I don’t think it´s possible for me to “just bring it over to the rog 2” . Asus uses their own screen processing tech that´s also tied into the splendid screen settings.

I´m stuck on KCAL for the same reason.

hey :)

thanks for the link. :)

I´m not interested in overclocking the GPU further than it already is on the sd855+.

The sd855+ is basically an higher clocked and binned sd855.

There´s no practical benefit in overclocking the GPU even further, other than to maybe get higher benchmark scores in GPU benchmarks, which I´m not really interested in.