yashsingh1/xdaforums huggingface dataset:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
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!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
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!

android-tools/guides/proper_bug_reporting.txt at main · nathanchance/android-tools

Publicly available Android stuff. Contribute to nathanchance/android-tools development by creating an account on GitHub.

github.com
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
and one more for me :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] VZTech:
Wow!!! Awesome! Plans for kcal in the future?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] solkarsalman:
Thank you so much for giving me a reason to unlock the bootloader. Finally am happy to see development for the device and that too from a well known developer ???? cheers mate and a very happy new year.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] a5he:
Can I flash Android 10 beta fota file to my cn version phone using this recovery?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Ganesh55:
I love your work bro keep this devlopment continue

All rog2 user support your hardwork ,

And more developer will come after seeing your hardwork
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] sakamaki izayoi:
please help..now my device stuck and keep looping in bootloader mode after trying to flash this kernel on Android 10 beta fota..and i cant reboot into twrp recovery and system..
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
flash the boot.img extracted from the android 10 beta firmware via fastboot.

Kernel is made for Android Pie as stated in the OP.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] mohammed510:
Welcome bro and thanks for the first rog 2 custom kernel.. ?

After flashing in twrp it says i should flash companion magisk module. Is there one yet?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Oh that’s a remnant of another kernel in the flashing script.

No there is none needed. I’ll remove that message in the next release! :svetius:

thanks for the hint!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] anthonws:
You just gave me a reason to unlock my bootloader and go back to Pie :)

What a day! Thanks a lot [MENTION=3428502]Freak07[/MENTION]! I'm happy for you being around!

Cheers,

anthonws.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
Extract the boot.img from Update and flash it under .img in twrp.

Goodluck
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Mohamad313:
Very thanks

Please work on power saving and governor
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] JazonX:
Thank you for joining the ROG 2 Forums [MENTION=3428502]Freak07[/MENTION]

How to extract the Payload file of Android 10 FOTA?

The current Payload dumper doesn't support it.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] avivv:
Thank you so much for your hard work, I can't wait for you to make an version for Android 10 , hopefully once we have a custom kernel we can finally enjoy the 6000 mah battery
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
No idea about Android 10, but I’m enjoying the 6000mah on Pie already. That Android 10 build floating around is no finished or final piece of software.

I’ll attach my current stats from this morning.

No extensive gaming, mainly browsing, exploring the phone, massaging, videos, some calls etc.

but all on constant 120hz.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] avivv:
Wow that's great stats, when I had android 9 I the battery life was worst than I expected, if there was a way to rollback to android 9 without wiping the data I would have done it just to try this kernel.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Sk1t:
would it be possible to add battery charge limiting support? currently apps like ACC don't work with this phone.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] krishkamlesh:
Hello Sir,

I have rooted and installed Magisk successfully. I want to try your Kernal. Please help with my queries.

1. Do I need to have twrp to install Kernal?( I don't have permanant twrp)

2. Can I flash and reboot using FKM?

3. What if I stuck to boot logo or booting screen?

4. I have never used FKM before should I try if you have any tutorials?

5. Is this Kernal beneficial for playing games like PUBG?

I am addicted to PUBG please guide.

Please help me to install this Kernal.

Thanks in advance.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
Hi,

1. No

2. Yes (Preferable)

3. Restore stock boot.img of the current rom. This can either be done using TWRP or using "fastboot flash boot boot.img"

4. Not required

5. Not really. Stock is okay. (if you ask just about pubg)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] krishkamlesh:
Thanking you sir so so so much sir
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
NO issues mate. And no need to address me as sir.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] krishkamlesh:
It's a matter of respect I present dear.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
Appreciate that :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
hey :) I assume you´re asking about KCAL?

for some reason KCAL is not working on the stock rom, probably due to how asus implemented their own color modes (splendid).

I already answered this a few weeks ago: https://xdaforums.com/showpost.php?p=82096967&postcount=122

I´m not entirely sure if you´re hinting about custom roms and I have no idea if it would work there, but I´m currently not using a custom rom. I won´t add this feature if I can´t get it to work on the stock rom, because it will only lead to confusion.

Maybe somebody can get it to work in the future on the stock rom, but for now it won´t be included.

There could be also a way to add splendid (or an aosp-version of it) on custom roms, but this will also take time.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
soon :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] marian daciu:
Thank you Freak07.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] buttom_1995:
Stupid question but how do I know if the kernel is working or not? I flashed it but I don't see any difference except Kernel Version is now showing "Unavailable"
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] albireox:
From EX Kernel Manager you can find what kernel version you're running.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] DarkSoul88:
Hi. 1st of all i want to thanks for amazing kernel. Battery life is amazing. But i have problem with bluetooth. After 4 days of using this kernel BT has stopped working. Earpiece, watch, speaker, they can connect for a moment and bluetooth in phone will turn off and on again. After 3 or 4 times phone will be totally frozen and i can only reset it with 3 buttons combo. After restart everyting is working fine until i will turn on BT again. Today i have flashed new udoate from asus and everything has back to normal, bt working fine. Im little worry to flash your kernel again.. Maybe some1 has similiar problem? Im using bt earpiece all the tine and bt problem is a pain in the a** for me.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tsoureki:
2.1 version flash failed.. Unsupported Android security patch level error. I am on first Android 10 stable with January patch level
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CRYPTfromCATACOMBZ:
Have u updated android on the newest one as is described???? WW_17.0230.2002.32
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] killerdvd:
Edit
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tsoureki:
Just do it. Now works, thanks!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gabi.ailincai:
I had the same thing happen to me, as I have a smartwatch that I use to track my sleep, but whenever I unlock the phone and bring it out of sleep, I find it's disconnected.

I believe that the issue was caused by blocking the 3 wakelocks that are suggested in a lot of posts about improving battery life (qc_rx_wakelock, hal_bluetooth-lock, etc.). I tried allowing them one by one, but until I didn't allow all 3 again the issue didn't go away. I didn't get to test it properly, though, as I have already installed the new update and kernel. But for a couple of hours I didn't notice the disconnects anymore.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] stiffis:
After the latest kernel-update, the wakelock-blocker stopped working.. it does not block added wakelocks.. If I reboot, the wakelock disappear from the list, and if I try to readd it, it says it is already being blocked..

Anyone else having the same issue?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CrisJavicr7:
thanks for your work i don't know if it's too much to ask and i'm starting on this android i try to modify the app armouny create now with the new update they removed twitch from streming and tried to modify the app so that it can be done directly by different platforms rtmp as facebook gaming because the app allows you to record internal audio on Android, I do not know if you can help me as you have more knowledge about this and add to enter an rtmp server as an option to the app:rolleyes:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] semasapik96:
So if I want to update to android 10 and keep root, this is what I need to do? Will it wipe my data?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
1. Yes

2. No
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] RXTK7:
No
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] semasapik96:
Tq sir:fingers-crossed:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] semasapik96:
Oh btw do I have to flash the RAW firmware?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
If you are flashing in RAW it will erase your data authomatically. If you are in Beta 11 and wanna update to last stable, just use the user.zip to update by FOTA (the complete rom one or the fota.zip file) and the phone will detect it authomatically
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
I was gaming and experiencing stutter GPU MAX Clock goes 257 load already at 99. I tried to manipulate using Armoury but still same.

---------- Post added at 05:29 AM ---------- Previous post was at 05:23 AM ----------

Alright so I remembered something and on armoury tried to put thermal on High and it worked. Thanks
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] semasapik96:
So i just need to flash the full firmware zip. Thanks man
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Ryptahi:
Hey! I have been struggling to get SafetyNet check to pass. Both ctsProfile and basicIntegrity are currently false. This happened few weeks ago after magisk update, but managed to fix it with core only mode from magisk. Now its back here again and that doesnt seem to fix the problem anymore.

Currently running latest Magisk, no modules, using latest Yoda kernel and latest updated official A10 rom.

Any help with this? Would love to get this thing back working !

Thanks for help
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
There are some modules than can help you. Start tro try with MagiskHide Props Config. If not, there are others options I think.. some will help you here.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Ryptahi:
Managed to finally fix it by clearing data from play services and play store, but anyway I really appreciated your reply and thank you for all the work you have done for kernel. It has been excellent so far :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
I'm not de dev. He is [MENTION=3428502]Freak07[/MENTION], making an amazing job right here. And yes, I forgot to tell you that maybe just cleaning data it could work.

Good job!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gabi.ailincai:
Has anyone else noticed that the phone gets really hot too easily around the vent when using the lower brightness module? Mine is getting hot just by scrolling through 9gag. After I remove it from Magisk, it's not getting hot anymore

I thought initially it was conflicting with something on my phone because I dirty flashed instead of following the FOTA route, but I have recently wiped the phone, downgraded to A9, upgraded to A10 via FOTA, wiped again, then rooted and flashed this kernel, so I think it's as clean as it can get. I didn't even restore anything other than SMS and call logs from the backup.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
You got telegram group bro?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Ismail.A:
That's weird my setup work perfect and no overheating plus my air vents are fully covered with strong sellotape I done that because I was paranoid that water might go in
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CRYPTfromCATACOMBZ:
Ok after some while of testing i had to go back on the older version 2.0.0 because i am having like stuttering while scrolling pages on chrome, using manga reader tachiyomi and like reading manga with the latest update of this kernel is terrible. I mean that stuttering, lagging. Even when i am on "desktop" using nova launcher going page to page in this launcher is laggy.... While i reflashed the older version everything seems very smootly compared to the newest version. Have the latest update (that one what's fixing black screens while gaming). Dunno where could be a problem

Edit:// and i forgot to say that my phone is again insanely hot while charging. On older kernel i am perfectly fine
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] killerdvd:
+1 phone is insanely hot while charging.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
[MENTION=3428502]Freak07[/MENTION] do you think we could do something related to the consuption of the signal? GSM, GPRS, data in general... the consumption without that just increases like +30-40% the battery of the phone. It seems a bit elevated, isn't it? Like... with Wifi goes better (as always), but by far I've seen xD
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
No such issues here. The phone gets warm when using the official charger and it shows "hypercharging". But it doesn´t get hot.

If you´re living in an area with a higher ambient temperature, its about 20°C here, the phone will probably get a few degrees warmer.

Make sure you´re not actively using the phone too much while charging.

My launcher is smooth and there are no stutters like you describe.

Remove all mods, scripts or tweaks done to your phone and follow the proper bug report etiquette in post #2 and post #3.

No.

No. That´s related to the radio firmware.

Most people posting stellar SOT time stats on any phone sit the whole day on a very good WiFi reception.

But you´re right, bad mobile signal is one of the biggest power consumers in general. It gets worse if you have a lot of messengers or social media apps installed that constantly require a data connection.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] killerdvd:
Not sure if that is a few degrees warmer. Only modules I have are AK3 and Brightness mod.

Current temperature in my house 77 F or 25 °C.

Logcat and ramoops link bellow.

https://1drv.ms/f/s!At4zmG23HFQc0gj0RE8lExjq-bFV
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Yes that´s the temperature I´m talking about, which is still in limits when "Asus - Hypercharging" is used. All phones with fast charging/rapid charging reach about 40°C (up to 45°C is considered in limits for rapid charging), while fast charging.

You pointed your thermometer exactly at the exhausting pipe of the rog 2, which is a giant heat sink that sits right next to the battery, where most of the temperature is concentrated and getting dispensed.

Your ambient temperature is about 5°C warmer than mine, which makes a big difference as well in reaching the 40°C.

So I think what you´re seeing there is quite normal.

Generally you don´t want/ shouldn´t use your phone while fast charging, because than it gets even hotter until it reaches the limit and throttles charging speed and CPU etc.

If you want your phone to stay completely cool while charging, use a slow charger and don´t touch your phone.

edit: I looked at the logs as well.

Your logcat covers a way to short time period to be able to say much about charging (only about 40 seconds.)

A ramoops is the wrong file for this kind of scenario. It´s only useful when debugging a kernel panic where the phone reboots by itself. (the ramoops will be preserved over the reboot and cover the last moments of the crash).

In this case a dmesg is needed, which logs the currently running session. (you could obtain this easily in EXKM).

Procedure would be as follows: Let your phone do whatever you want to log, now go to EXKM and obtain the dmesg in the tools section.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] killerdvd:
Thanks for the info. I'll keep the tips of bug report etiquette for next time. I love the kernel by the way.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Glad to hear.

don´t worry about it, no problem :) You took the time and provided info for me, which I can at least look into or comment in any way. So you did better than most posts here.

I´m just a human, no magician. If logs are provided and the issue is described in a way I can at least try to reproduce it, then I can look into it. Without logs or the proper steps on how to reproduce, my hands are tied.

Sometimes it gets really frustrating, preparing all the release posts, providing a whole bunch of information in the OP and the following posts (which takes a big amount of time for me as well), just to wake up in the morning to posts like:

This is broken, fix it in the next version without any information provided for me to be even able to look into the issue. If the same post starts the "me-too" game, asking if anybody else faces the same issue it´s like the icing on the cake.

So if I see somebody takes actually time by themselves and tries a bit to provide some assistance I’m way more motivated to look into issues...
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
Really appreciate your hardwork dev :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ariffv2:
If you free can you build for android 9 aswell. Because android 9 look very stable compared with android 10 some crash, high memory usage and hot. As a gamer, my priority is i dont care which android version i am using the most important is stable.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
Man, you said, Android 9 looks already very stable, so in my opinion is so mature already. I would not do anything for A9 being A11 in developement.

Anyway, some custom A10 roms gets better battery than A9. So A10 has potential. A9 maybe a bit too (not so much imo), but as I said... we have to look further and [MENTION=3428502]Freak07[/MENTION] is human. But he decides, not us haha
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CRYPTfromCATACOMBZ:
First time i am doing like sending logs, dunno if it's properly. Down bellow is my link for those logs - flashed again the atest version and it's still same, have stuttering and lags while scrolling webpages, or nova launcher or reading manga (scrolling images). On 2.0.0 don't have those problems and charging (hyper charging) doesn't do that my phone is extremely hot (2.1.0 it does), but unfortunately my phone once per 2 days simply freeze up, that i have to do hard restart.... (Didn't have this issue on Android 9 or on A10 with default Kernel) - btw i am not using any special tweaks, didn't do anything with kernel.

https://1drv.ms/f/s!BCrrwwPNrpTbgaR5qB6N8CtsFdXjaA?e=6QDRg8DqTkGXMiQqNeV2gA&at=9

Edit:// So i tested All 3 versions of ur Kernel on my latest Android version

2.0.0 - the best version for me - smooth, no heating while charging battery, scrolling webpages is not that bad - unfortunately my device freeze up and need to do hard restart (once per 2 days?)

2.0.3 - tested since yesterday - that stuttering is worse, scrolling webpages mainly with a lot of pictures is causing stuttering and lagging

2.1.0 - the worst stuttering from all of these kernels - phone seems freshy and fast, but nova launcher desktop (have big picture as a background over 3 pages if u know what i mean) lagging, chrome stuttering and my manga ready which loads bigger pictures stuttering terribly. The weirdest is once it does, and once not, which i don't understand + charging my device causes really hot

Currently right now i am back on default kernel and stuttering is gone, but .... And my device is again realy hot while charging
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jkieffer46:
Brightness mod doesn't flash? Gets an error message