yashsingh1/xdaforums huggingface dataset:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
kernel version in settings shows as unavailable, because the string is too long for asus firmware.

It´s just an cosmetic issue, no harm.

Use FKM or EXKM and you will see the kernel version displayed correctly.

Just update magisk directly via the app, as you would on stock kernel too.

It´s the same procedure as on stock kernel. There´s no difference updating magisk on a custom kernel vs the stock one.

As always with magisk updates: If your modules are not compatible with a new magisk release they will eventually break something.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Little sneak peek :)

https://photos.app.goo.gl/5CffxC4hFK27ctJZ9
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] iampatricktan:
Waiting..
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] anthonws:
Love that app! Looks amazing!

How's the phone behaving with the kernel? Especially interested in changes to the governor and clock management.

What did you found of interest or had to change to adapt to the phone SoC?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] JazonX:
WOW! That's cool bro !!!!!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
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
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] husen4u:
Great work [MENTION=3428502]Freak07[/MENTION] I really appreciate your support.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] albireox:
[MENTION=3428502]Freak07[/MENTION], great kernel, I'm using it right now. If you take any requests and if it's possible: I would very much like the possibility to increase the sound volume (Bluetooth, audio jack especially). Thanks!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] VZTech:
[MENTION=3428502]Freak07[/MENTION] any plans to add kcal controls? Thanks.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Allen_Walker:
[MENTION=3428502]Freak07[/MENTION] hi, you can add TTL fix (ttl target support), please?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] dracoolia:
Thanks ;)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] VZTech:
[MENTION=3428502]Freak07[/MENTION] kernel running good. Nothing to report, which I guess is good. Any features planned for future releases? Thanks.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
Someone help me? Battery only charge up to 70%. Calib does not work. I read about its something to do with bootloader .
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] VZTech:
Flash stock full rom in twrp, it will restore original bl.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Mohamad313:
@ Freak07 thank you very much

i use your kernel it is very good

please work on power saving by Switch Off core automatically
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Indeed. You have some other mod, app, script, setting or tweak installed that conflicts with my module.

It seems you know better about what the module does than me. I´m pretty sure it causes issues on the CN version. But you seem to know better. :) So it should be easy for you to fix any issues that originate from the module on your end.

There´s no need for a proper bug report. From now on the module is published without any form of support. You can use it at your own risk. You may open a thread on the Q&A Rog 2 Forum to discuss this topic further. All of those that face issues with the brightness mod for whatever reason can discuss there.

I´m done providing any sort of help here for the brightness module.

See above. This is no longer the correct place to discuss the module.

An a further note. I might remove all the off-topic posts across the last few pages. It´s just irritating and discusses topics not related to the kernel at all.

I will edit the OP accordingly and probably remove future posts, that don´t follow the guidelines pointed out in the first three posts as well.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jorgeepelos:
Remove the mod link to other thread because you dont like hear about mods problems, the mod is this thread and i talk here about the mod

If thw mod have problems delete it, you are seeing here, some people having issues here

And if you dont want read nothing about the mod dont read, easy

I talk here problems with the mod because its posted here..........................

Enviado desde mi ASUS_I001DC mediante Tapatalk
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ausaras:
Just throwing a possible solution out here for people to try...I am not a developer so just bear with me...

I installed the brightness mod three about two weeks ago. Even before installing the brightness mod, my ROG2 would sometimes heat up for no special reason. I tried to nail down the cause but always unsuccessful so I kinda gave up and just restart the phone every time. Anyway, I was looking at some of my Android notes and saw a note about a command to trigger and run dex2oat. I used this command on my Oneplus 6 before.

The command is

su -c "cmd package bg-dexopt-job"

(keep the quotes) and run it in terminal app.

I used this command on my ROG2 and unexpectedly, my ROG2 has not heat up randomly so far after running the command. My guess is that the system might be trying to optimize (dex2oat or something) but never finished due to interruption so it keeps trying to do it. You can try and hopefully, it helps.

I like the brightness mod because the default lowest brightness is still too bright. I hope [MENTION=3428502]Freak07[/MENTION] can continue to update it when needed. Thank you, Freak07, for the fantastic kernel!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jorgeepelos:
you have to uninstall the brighnes mod, on some phones have a bug that makes your phone a barbacue and drain phone, i had the same problem
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ausaras:
I am on the latest WW ROM and my phone is the global version. I am also using Kirisakura Kernel.

I have been running brightness mod for the last two weeks. It has not been a problem for me. And as I mentioned previously, my phone heats up even before I used the brightness mod.

Just my experience for you to consider and think about.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
nice find with the command. Just out of curiosity. Did you wipe dalvik cache before this happened? If you look at the logcat while your phone was heating up? You should see dex2oat all over there.

Usually dex2oat runs on the first boot, takes up to 15 minutes, it will take a lot of resources and will heat the phone up as you described. But it should run only once.

If you however wipe dalvik cache in TWRP for example, this process will be re-triggered on the next boot.

Generally never wipe dalvik cache on modern phones.

You´re welcome. Enjoy the kernel.

Let´s keep the thread on topic and focused on the kernel from now on :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ausaras:
I did not wipe dalvik cache. I don't even have TWRP installed. I viewed logcat but could not make sense of it.

I don't think my phone ever ran dex2oat after I factory reset it and re-installed everything. From factory reset to the setup screen, it was pretty quick. Phone was not particularly hot if my memory is correct.

When I ran the dex2oat command the first time, it took almost 15min and the phone was warm. I ran the command again a few days later and it only took a few minute and phone was not warm at all. So, my guess is that my phone never did or finish running dex2oat.

Now, I use Macrodroid to run the command every week. Probably unnecessary and a bit excessive but it seemed to solve the random heat up problem.

I will stay on kernel related topics, now. :D
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] randomGaymer68:
Just tried it and such an amazing kernel. I noticed much more fluid UI and just felt better, even got slightly better battery life. I just wanted to know one thing, ROG 2 has input lag of 49ms (as told by ASUS) and ROG 3 has it as 18ms (slide latency). Improving touch latency is useless, but slide latency is really really important, especially on gaming. Is it possible to reduce the slide latency further on this phone? I know that it is largely hardware related, but i think someone like you can make this happen. It will just massively improve the whole experience. Cheers!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] reg66:
Umm, correct me if I'm wrong, but 49ms = 1x 20th of a second. I fail to see how this is gonna affect game play to any noticeable degree even if it can be improved. Left as it is, that figure is tiny!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] randomGaymer68:
You're not wrong, 49ms is actually pretty good. But have a look at this, from 0:50

https://www.youtube.com/watch?v=vOvQCPLkPt4&t=72s

49 vs 20ms is actually very noticeable. Ideally it should be around 20ms to have the instant touch experience. ( Gaming PCs have it at around 15 ). ROG 3 has it at 18ms which is unbelievably good and the difference should be noticeable. iPad Pro's have it at around 25ish I think. And like I said it's the slide latency and not touch latency, which is different and not that important. Just wanted to know if it can be improved further because this would be a much more beneficial improvement than, for example overclocking the GPU or something. But no worries if it's not possible or if it will consume a lot of time. Cheers!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] dhanu22:
Sir pls make the kernel compatible with the msm custom rom... Also have some feature request if possible add these idk it's gud or not but I had these on my prvs device kernels

Software CRC switch

Fsync switch

Powersuspend

19mhz GPU idle
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] dvx2550:
thanx bro for your hard work .and please make patch to fix air triggers in lineageos official .because Asus will stop updates and it will be our only hope for an update
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jorgeepelos:
Yes please because asus is trash, from rog 3 phone updates for rog 2 byebye. Never buy asus anymore

Fingers crossed for lineage and devs help to make lineage os usable with airtriggers rgb and no bugs

Enviado desde mi ASUS_I001DC mediante Tapatalk
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] dvx2550:
[MENTION=3428502]Freak07[/MENTION] any news ?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
airtriggers not working on lineage has nothing to do with the kernel. It´s up to lineage to decide or to get airtriggers working.

Unfortunately I Can´t help you there.

There´s supposedly an OTA from Asus for ROG 2 coming soon. Hopefully still in September.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Clark Joseph Kent:
Thread Cleaned, of the back and forth, keep it civil, and if need be, reread the Forum Rules.

2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Allen_Walker:
UL-ASUS_I001_1-ASUS-17.0240.2009.47-1.1.223-user.zip

New firmware is comming
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jorgeepelos:
Where you took this link?

Official asus site is not available

Thanks for share

Enviado desde mi ASUS_I001DC mediante Tapatalk
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jorgeepelos:
Love asus. One update each 60 days thats come with New overheating. New bugs, new process draining your battery

I recomend to all if u dont have asus dont buy this trash

Enviado desde mi ASUS_I001DC mediante Tapatalk
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jorgeepelos:
Cant upload screenshot. Com asus services and android vending download process draining the battery. NICE!!

Enviado desde mi ASUS_I001DC mediante Tapatalk
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Allen_Walker:
It's Asus files storage. link on off. site share later, I think.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] atoyu:
I got random continue vibration when do something not related to vibration. Need to reboot to turn off vibration, i disabled all vibration function already. I'm in lineageos, anyone know how to turn off motor function via kernel or build.prop? Thx
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] The_Walking_Playground:
Hi,

This kernel isn't compatible with LineageOS. That's your problem.

TWP
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] atoyu:
yes, finally, i restore LOS kernel.:good:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
Hi, freak ??

Its ok if i use the last kernel 2.6.0 for the last firmware .2009 ?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
the latest kernel available here is 3.0.6.

Better to wait for me to update the kernel to the .49 sources once they are available. :)

Shouldn´t take asus long.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Allen_Walker:
2009.49 full firmware appeared.

https://dlcdnets.asus.com/pub/ASUS/..._I001_1-ASUS-17.0240.2009.49-1.1.225-user.zip

https://xdaforums.com/rog-phone-2/how-to/28-09-20-update-2009-49-fix-issues-t4169329
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jorgeepelos:
Thanks for your work

Enviado desde mi ASUS_I001DC mediante Tapatalk
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] dhanual:
great work sir.. looking forward for more future updates
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] JazonX:
Hey Freak07,

Any chance of implementing some new features on the 1.0.2 (Android 9 - Last Kernel) and giving it an update?

Still on Android 9 as I find the battery drain is much controlled on A9 compared to the A10, and I didn't get anything new by moving to A9.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] dhanual:
[MENTION=3428502]Freak07[/MENTION] sir can u pls add vibration strength control option ..so that vibration strength can be controlled with a kernel manager app like fkm

Or if possible add a vibration disable option for custom rom version so that the kernel can also be used on ligneage based os
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jorgeepelos:
You can disable vibration on accesibility options on any rom. Or use vibrafix with root. And you can disable any vibration

Enviado desde mi ASUS_I001DC mediante Tapatalk
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ali.ali0770:
can you send link for it or screenshot

thanks
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jorgeepelos:
Here

And try vibrafixx appk, Is not on google play. But you can search on google

I found it on apptoideView attachment 5116233

Enviado desde mi ASUS_I001DC mediante Tapatalk
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] bionicrid:
60hz Screen Issues.

Hello! I'v been using Yoda 1.0.2 on Android 9 on my ROG 2 and absolutely loving the Battery life. My i am facing prob with 60hz refresh rate screen. I use 60hz all the time. Issues are.

1. Screen auto scrolls Up when i scroll downwords. Happnes 8 out of 10 times.

2. Screen Jerks/shakes alot when i play games like pubg or call of duty mobile.

But when i switch to 90 or 120hz, it works flawlessly and those problems do not happne! Now how to fix this issue?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] reg66:
Anyone using this kernel with omni? I'm getting crazy good sot with stock so wondering if it'll improve or go down a little with this kernel...
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] reg66:
Hi, bit of a long shot here - it doesn't mean much to me... But, [MENTION=3428502]Freak07[/MENTION] would you happen to know what or if this kernel is compatiblewith/features 'isochronous USB transfers'...!?

Apparently it's required for my USB DAC (digital to analogue converter) to be configured/function correctly.

If you don't know what it is, (I have no idea either!!), then no worries!!

Many thanks indeed...

Reg
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] bcool_1:
Can I use magisk v21 with this kirisakura kernel latest version?

Since in OP its saying not to use with canary build and yet v21 not showing in stable build in magisk manager.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] crmendoza:
Hello everyone

I'm trying to update to the latest version of this kernel from 3.0.6 to 3.1 but flasher said not supported or invalid.

My OS version is 3.9 Havoc and before I flash to custom rom, my Asus firmware was to the latest version..

Did I done something missing or wrong?

Thank you,
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] reg66:
Have you downloaded the correct zip? There's one specifically for custom roms
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] crmendoza:
Hi sir, I downloaded 3.06 kernel version but which one is the correct version for Havoc 3.9?

Regards
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Unfortunately no. The kernel source for Android 9 wasn´t complete, which didn´t allow for the same kernel changes as Android 10.

Android 9 is no longer supported. No idea, how to fix this issue. I didn´t have any issues like this back on Android 9.

I have no idea what exactly this is, but I think from what I saw on a quick google search it might be supported. No guarantee though. :)

As long as the DAC works.... :D :cool:

It should be working yes.

That build from havoc you´re using is probably on an outdated security patch state, so the zip automatically aborts the installation.

Make sure to download the custom kernel.zip for custom roms. Open anykernel.sh inside the zip, delete the date (just the date) after the "=" on the line that starts with supported.patchlevels and try to flash it again.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] reg66:
[MENTION=3428502]Freak07[/MENTION] yup, DAC arrived in post since posting that query and can confirm it works fine and dandy!! Cheers, and for your efforts :)

---------- Post added at 02:22 PM ---------- Previous post was at 02:22 PM ----------

[/COLOR [MENTION=3428502]Freak07[/MENTION] yup, DAC arrived in post since posting that query and can confirm it works fine and dandy!! Cheers, and for your efforts :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] crmendoza:
Good morning,

Thank you sir, much appreciated sir

Will do and give feedback after..

:) :good:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] crmendoza:
Good morning sir Freak07 (Philippines time)

I already did what you mentioned earlier, just erase the date only

Im on at the latest version of kernel

Thank you sir, much and really appreciated sir

Best Regards,
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Allen_Walker:
[MENTION=3428502]Freak07[/MENTION]

Good day, thank you for the new versions. Can you add a TTL fix? I asked you for version 1.0, and am still waiting for this feature.

:(
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
https://www.androidfilehost.com/?fid=10763459528675589246

there you go [MENTION=7437408]Allen_Walker[/MENTION] please report back if that´s what you were after.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Allen_Walker:
[MENTION=3428502]Freak07[/MENTION]

wow, so fast)

all works. thanks.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Sunyoyo:
Thank you for the kernel. [MENTION=3428502]Freak07[/MENTION]

Can you add support for KCAL to this kernel?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] marian daciu:
Hi,what this comand doing?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Hey everybody,

So here´s the deal about the XDA Migration. While I welcome the change to basically get a faster and more modern forum there are also some problems that happened during the migration.

The biggest problem right now is that all of my OPs got reset several months back and I currently have lost the content of these months. That means all changes I added during that time (most obviously changelogs, but feature updates/additions etc, repair broken links) are missing completely.

It seems there is still work being done in the background, but all of those threads have not been repaired or showed any signs of changes during the last week while the migration happened.

I got not very clear replies when asking for help in the thread we all were supposed to reply to in case certain parts are broken or missing. I had hoped XDA would fix my threads in time for the security updates on the Pixels at least. But with today being patchday (probably), I don´t have high hopes it´s going to happen.

It´s unfortunate, because I think my OPs contain a lot more information or links when compared to other OPs. In the end this is a loss not only to me, but mostly the whole forums and its users. So I really hope it will be fixed soon.

But what I will do is the following:

I´ll just change the thread title to reflect the correct date and kernel version. I will not update the OP until there is clear information that either the content will not or will be restored.

I´ll just put a release post here in the thread once the new update for this months security patch is ready or I will update the kernel.

Until then I link the latest download here, which is 3.1.0:

Kirisakura_Yoda_Q_3.1.0.zip | by Freak07 for Generic Device/Other

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

And the download for custom roms (omni based vibration)

Kirisakura_Yoda_Q_3.1.0_custom.zip | by Freak07 for Generic Device/Other

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

The release post for 3.1.0 can be found here:

https://xdaforums.com/t/kernel-29-0...us-rog-phone-2-aka-yoda.4028237/post-83606511

Once the release post for December Update is ready I´ll just post it here and update the thread title.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] madsponge26:
Update for ROG 2

https://xdaforums.com/t/new-update-17-0240-2012-65-1-1-228.4204257/