yashsingh1/xdaforums huggingface dataset:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Apoorv_87:
I think the issue might be with android 10 stable update where battery life is low and cpu temp are high compared to 9.0. i have seen many people posting about it in this xda forum and in telegram group i will try to reflash raw android 10 again and than flash your kernel again to check and report the results

thank you for taking time to make this kernel and for the reply
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
Its hot when gaming compare to stock
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
Have test for 3 days, well not found bugs so far, and its good too.. :fingers-crossed:

With FKM set powersave mode on boot, get better batt life.. and yes it handled temperature too.. but whats im not thnking, why when playing game on powersave mode (underclock cpu 75%, apply underclock gpu on FKM battery saver tips or change it manually in cpu & gpu control), that game is like not get effect, keep smooth running?

Oh and i also remove game from armoury craft already to test that. Which i fear is when open certain apps besides games we get lost FKM setting ability too, i found when scrrolled in chrome app, get more hot compared too instagram, FB, telegram or youtube.

Oh yes can i ask, can kernel handled screen brightness on next update? In a10 its too bright even set to very low.

Sorry if my english's bad.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Cammarratta:
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.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jkieffer46:
am i retarded or just not seeing the download on the server?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Cammarratta:
It's in page 8 I believe
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] stiffis:
Just did a factory reset after installing the A10 "beta" kernel. So far everything seems to be working, and battery-life seems to be better. :) Mostly using 120hz, but 60hz when gaming or watching YouTube, etc.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] solkarsalman:
Am using same kernel on A10 and i have no such issues bro, seems like device specific, you can share logs with dev to point in a right direction.

---------- Post added at 10:27 AM ---------- Previous post was at 10:25 AM ----------

For android 10 you can find on page 8. It's updated in thread by dev.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
It´s basically the same for me when gaming. Ambient temperatures even a few degrees can make a huge difference measured against how powerful the SoC is.

Use the powersaver mode in settings. I know it blocks notifications for some, but that´s just how it is.

The FKM powersaver will be overwritten by the power HAL or the gaming HAL from the system dynamically on different scenarious, like launching apps, screen on/off, scrolling etc. (same for any other kernel manager).

Even if you disable armoury crate settings, the power HAL from the system will overwrite your settings from kernel managers.

Chrome can take a lot of resources. Maybe use an adblocker to reduce the load.

Unfortunately I haven´t found a way to reduce screen brightness in the kernel. :(

I think it might be tied to the ROM as well. I´ll look further into it, but no promises.

Can´t confirm. Airtriggers for launching camera are working and screen rotation is also working fine here. Both of this is rather tied to the ROM than the kernel.

Maybe try to reflash.

Very nice :) Although I updated the dirty way through all the beta android 10 to official Android 10 I´m also facing no problems.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
My airtriggers are working perfectly. Everything is working totally fine. Hoping this kernel will be updated soon!

And just a bit of offtopic: if you wanna hide the navbar without loose any icon in landscape (just some percentage of some of them, but perfetly visible), connect the phone with USB Debug (ADB use), open a cmd window in the PC and write adb shell wm overscan 0,0,0,-42. No reboot needed. If you wanna return to the normal navbar, just write adb shell wm overscan 0,0,0,0. I saw some command putting [..]0,0,0,-125 that I will never understand. No root needed (I'm on A10 stable)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] BlazingBullets:
The frequency history is broken for me on EX. Otherwise its pretty stable far.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
Thank for that explain.. now i get why setting is overwritten. :svetius:

Fine then, i hope in next a10 update, Asus will reduce screen bright. :fingers-crossed:

Cant wait kernel update for what kernel bring to the device then..
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Thanks! It’s fixed in the next release!

You’re very welcome!

I found a way to reduce screen brightness a bit. I’ll post a magisk module later today!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
Ah! It's a magisk module? Nothing related to the kernel? It would be nice! Thanks!

And how Wireguide works? Should I install or change something to make it work or it's enabled by default?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
just wait for the next beta.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Hey everybody,

so here´s the next test for what´s hopefully soon the Android 10 release. The kernel seems to be running fine. I used it now for over a week and noticed no further issues.

Changes in RC1:

- add wireguard support (use the wireguard app and take a look at the wireguard thread on XDA how wireguard works. This is not the wireguard support thread/chat ;) )

- fix cpu frequency stats being broken

Brightness Mod:

I looked into reducing the minimal brightness of the panel. So far I haven´t found a way in the kernel.

But it seems Asus is not allowing the panel to go to its lowest settings on the ROM (framework)- side. Thanks to [MENTION=4251307]micky387[/MENTION] for pointing me in this direction!

I modified the framework-overlay in /vendor/overlay to allow the panel to get dimmer than on stock.

I haven´t noticed any severe issues up to this point.

Simply flash the module in Magisk Manager do a reboot and you´re able to user a lower brightness setting.

Adaptive Brightness needs to be retrained to use the "new" lowest brightness. Sliding it down to minimum on manual brightness will enable the new minimum brightness setting immediately.

I´ll release this module later in a separate thread under the themes and apps section probably.

Keep in mind this module is meant to be used with the stock rom!

Thanks for the reports so far. This lead to fixing the bug where frequency states were not displayed correctly.

Before posting any issues make sure to read the last few posts here as well as the second and the third post on how to report bugs properly.

I wish everybody a nice day in these difficult times. Stay healthy and safe.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] stiffis:
Awesome work, thanks! Just installed it, let's see how it works out :D
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
Crazy! It seems it's working! I will test fine this night, when everytime is a bit annoying the brightness.. Thanks!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] solkarsalman:
Everything is working as expected, super smooth.

Brightness mod is cherry on top, it was so annoying at night to look at the screen but now it's all good, thank you so much Dev. ??
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
Hope kernel will support los
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] trustkil:
can i flash kernel via FKM app?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
it’s not much, but I feel every bit helps here!

It’s literally in the OP under instructions. Yes you can.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
Thanks too for the update and magisk module :D :fingers-crossed:

After flash module, its get better low screen bright now, but i found terminal app is not showed command, when i forced close app in info app the text still orange color (like nothing happen) but it forced already, but all of app is like have to reload too.

When removed module it normal again. Can anyone was instal this module test too..?

Oh i get bad scroll experience in playstore or chrome.. i dont know why.. like the phone lagged.. im check RAM consumed, it just showed 1,8gb free.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
Get bad consumed ram, when do clean memory, its strange i got up 89% free (7.0gb) RAM.. But when open playstore, chrome.. or google now (slide left from homescreen) got very lag from open or scroll.. yes i know it app have much resource and all app is rebuilding (bcause strange clean memory results) but even all done rebuild app the scroll is lag. I think the module maybe make bad RAM optimised. And yes when removed the module, all normal again. How much i cleaned memory its not get strange result upto 89% again.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Apoorv_87:
Great work sir, if possible please make this kernel compatible with lineageos
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Playstore and Chrome are working smoothly for me. No scrolling issues.

Cleaning RAM on Android is not a good practice. RAM is meant to be used. Cleaning apps can cause all sorts of weird issues like you are facing.

I don´t understand what you mean by: "

After flash module, its get better low screen bright now, but i found terminal app is not showed command, when i forced close app in info app the text still orange color (like nothing happen) but it forced already, but all of app is like have to reload too."

Could you rephrase it?

The subsequent reboot you do after removing the module fixes whatever issue you have there. I doubt this is related to the module. The module changes a few brightness values in an overlay app. Nothing else is touched.

Flash it and report back if it´s working or not.

Back up your boot partition before, flashing so you can restore back.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
Sorry my english bad :laugh: i mean.. Im flash you kernel and magisk module.

The module work great to decreased screen brightness..

Then im going use instagram.. After +/- 30 minutes i feel hot in side port (vent air), then i want to check what happen in background, i opened terminal emulator but the command (for write :su and :top) never showed up. Go to app info to force close terminal, when i tap force close is like nothing happen, the text color should be going black or gray from orange color. But this time is not. I check the icon terminal from notif bar, is gone (success force close).

Yes my dumb is not get wipe dalvik after flashing kernel or maybe i have much module in magisk at the time get that, can't test again right know with different way bcause im in lineageOS now, im install your kernel and magisk screen module in this cusrom, nothing get trouble so far. Smooth use for 5 hours.:victory:

Dev, can i ask to add DTS kernel implementation in future update?

I see in this thread

https://xdaforums.com/android/software/port-dtsx-ultra-dts-headphonex-t3896233

Thank you.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] BlazingBullets:
can I ask what changes have you made to the system brightness?

I can't tell any difference but I've also ran this before

settings put --user 0 system system_brightness 1

settings put --user 0 system screen_brightness 1

these were originally set to 5 and does make the screen dimmer
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Apoorv_87:
Using your kernel on lineageos 17.1, everything is working great. i am getting 12 hours+ SOT with 120hz always on!.

thank you for your work for this community
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Mohamad313:
Freak07

thank you so much for your hard work

please give us display setting like saturation of colors and speaker setting on your kernel

that setting is usefull on lineage os and stock
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] stiffis:
Could you please share your battery-stats? :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
Shame they have no airtriggers compatibility yet...
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] micky387:
it's pleasure to help ;)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] solkarsalman:
Eagerly waiting to see your Omni Rom, hope it comes with fixes bugs we see in lineage os.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ariffv2:
Can i use brightness mod module on android 9 stock kernel?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] shaifullah.ahad:
What is the benefit of installing this kernel over the stock kernel?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Wiping dalvik is not necessary after flashing a kernel. Basically it´s never necessary. Afterwards cache needs to be rebuild, which takes resources in the background.

I understand the problem you´re describing. That´s not related to the kernel or the module. That sounds like it could be a problem with superuser or magisk if your terminal hangs.

Good to know the kernel is working fine on Lineage. Thanks for the report!

No I won´t add the DTS kernel implementation. It caused bootloops and didn´t work properly on several other devices I worked on.

The audio-assistant from Asus is pretty powerful on the stock rom.

I can´ find system_brightness, but the module put´s screen_brightness to 1 instead of 5, when it´s all the way down.

So I guess it does the same. But with the module there´s no need to run this command at every boot.

KCAL is not working on the Asus Stock Rom on the Rog Phone 2. So far I haven´t found a way to make it work.

Asus Splendid does a great job for me in the meantime. I might look into it again. But no promises.

The speaker is loud enough for me. I see no need to increase this further and potentially damage hardware.

No I don´t think that will work. It´s made for Android 10.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
Ok is fine, then.. is this kernel used the audio-assistant from asus too?

?

*Edited: Sorry dumb question, forget it :laugh:

This bcause i want using this kernel in lineage os, and get audio wizard like one in the stock rom.

Forget if this rom is for the stock rom only.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
I have an 'important' question: idk why it does not reset the stats in Franco Kernel Manager. Root and permissions allowed, everything working perfect... except that. Why?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
Reset is for franco app. Read instructions carefully.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
Awh... nooooooo... shame...
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
Nothing to be shamed of. Air triggers are something specific to this devcie and things like these are very less likely to work
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
Hahahaha it was irony... sry for the comment. But, now truly, I would say more like what a pitty...

And I was speaking about the reset of the "normal" stats! Hahahaha
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
Man. How you put your words is very important. I also wish air triggers work.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
Quick review.

Pubg gameplay was kind of choppy on default settings. In the profile mode i edited the cpu and temperature to max and then i got stable fps.

Battery drain increased in pubg thou.

Standby drain was low. Maybe cause i recently got back to stock.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Dedek2415:
so far this kernel is good .. one question ... what if I want to go back to the original kernel via FkM because I haven't installed twrp
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
Flash boot.img from rom u used already. Or flash the full rom again.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
1.0.2 Kernel f2fs enabled? If yes how?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
It’s enabled by default on the rog. It’s just a bit older on the driver side on pie.

My RC build for android 10 has it updated by one tag.

And the release kernel is already on latest f2fs it’s just still being tested and worked on. But there will be many improvements :) stay tuned.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
Yea data is f2fs but is it gonna be cool if system will be f2fs as well? Or is it useless?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Mohamad313:
when next update is ready?

what is next update specifications?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
Never ask those.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
makes no sense and isn´t beneficial. It´s good how it´s setup by default.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] tachiquan3:
Gotcha mate.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 2.0.0

edit
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] semasapik96:
Can I flash this on android 9?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ali.ali0770:
hi

i have backup in external ssd after i flash the kernel the backup not detected

thanks
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Sam6537:
Nope it specifically states that's it's an android 10 kernel

Kirisakura has an pie version too you can try using that :D
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CrisJavicr7:
Mario kart still having problems with root and installed Safenet modules from the Magik page and none works the Kernel says it comes with Safenet but the game does not work either it hangs it threw the tests I thought of installing the Kernel without the option of Magik and the same Mario kart passes it hangs ?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CRYPTfromCATACOMBZ:
Testing it now on my device and like versions before it's working really smooth. Didn't find any issue here yet, temperatures during gaming or during recharging are not that high. I like it, excellent job
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] JimmyMX:
External HDD not supported anymore!!??

Hello and good day to you mate and to all the hardcore owners of this monster of a phone,

today was my first time ever to flash a custom kernel on the asus ROG II and i would like to thank you for all your hard work that you've put on

anyway everything went fine and smooth as you said before (considering features and battery savings and wakelocks ..... etc)

but i fell in a hole here and i cant remember doing or installing anything new to the ROG II , im very carefull with adding things to this phone (i have Nexus5 and Nexus6p so im pretty much careless with those phones)

i have magisk installed and no d party of any sorts no launchers no 3d party tweakers or whatsoever , safetynet works fine and even my bank apps work great with root too and with your kernel thank you

OK let me tell you about the hole that i fell in : i use a 2TB SeaGate External HDD usb 3.1 and another 4TB of the same kind

after i installed the kernel my device settings is telling me "unsupported storage" or something like that

any way could you please point me to the right direction to fix this or kindly point me to revert back to my stock kernel without losing my data or root if possible ,

by the way today to use my External HDDs i had to think out of the box so i mounted them in TWRP so they did work in TWRP and i did copy an amount of large files

i attached a screenshot of the system notification

thanx in advance mate
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CRYPTfromCATACOMBZ:
soz for offtopic, but how did u make that top panel not black, but transparent?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] JimmyMX:
yeah i kinda got lucky there

i just applied a stock theme (any stock theme) and then compiled and applied a substratum theme on top of it for sys ui and android sys theme is PitchBlack

cheers
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] solkarsalman:
Why is this module isn't installing on this kernel? Is there any issues with it that Dev decided to block it's installation?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] VZTech:
Anyone try this on Lineage?

Edit..It works
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
2.0.0 and higher is only for Android 10.

Safety net passes here just fine. The kernel has the patches for safety net included like stated in the OP.

However apps can check for more than just passing safety net. I don´t know about that specific game/app. Maybe it checks for magisk manager being installed, for some stuff magisk modifes or other things. You can try magisk hide or other methods. If the game detects root or magisk and refuses to run on unlocked/rooted devices it´s unrelated to the kernel.

I guess you both have your external storage devices formatted as NTFS.

Problem is Asus is using a proprietary prebuilt driver for NTFS. This driver built as a loadable kernel module can´t work on my kernel, because my kernel is too far from stock kernel code wise. With the driver being proprietary and closed-source that´s a very bad situation.

Simply using the open-source ntfs driver built from source is sadly not working, which I debugged today.

edit: pulled

Because the module you´re trying to install is outdated and won´t work on newer magisk versions, as stated on the thread on XDA.

Try flashing it on a rooted stock kernel and you´ll see the same message. Nothing I´ve done to prevent it from being flashed. The script to flash the module fails, because it´s not up to date, but spits out this "warning".

Please also take a look at the FAQ. I don´t support other modules, scripts or tweaks.

This specific module was removed from magisks repo, due to some conflicts with GPL as far as I´m aware. Flashing it bricked (hard-bricked, unrecoverable) a few devices on other forums. Just google a bit around maybe the threads are still up. There was a big drama around it and I like to keep this out of my thread please.

I´d advise anyone to not flash one of these "all in one, magic tuner tweaks" which will enhance all devices when you´re running my kernel. There is no need for these kind of modules, when you´re using my kernel as it will conflict with the intended settings.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Alessandro999:
How It works on lineage os? Are there any lags? Is Better than stock Los kernel?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gabi.ailincai:
Where can I find this custom X-Mode? I couldn't find it in the settings.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
so I was able to get the open-source NTFS driver into a working state by "cloaking" it as the proprietary driver.

However then a CFI failure (additional security introduced in 2.0.0) popped up but was solved with the help of [MENTION=5778309]luca020400[/MENTION].

So NTFS works, although it is kind of limited. Be advised that the open source NTFS driver is limited to read only. Sorry there´s not more I can do at the moment and this is as good as NTFS is going to get on this kernel.

The workaround I´d advise you as well is to boot TWRP with

fastboot boot twrp.img

This will use twrp´s included kernel when booting into TWRP, which is basically the stock kernel, that can use the precompiled proprietary NTFS-Driver.

Inside armoury crate.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
I actually forgot to share the kernel with these NTFS fixes in the previous post.

Here´s the link to the updated kernel. It should be able to properly mount your NTFS storage device. However read-only and no R/W support.

https://www.androidfilehost.com/?fid=4349826312261770422

It includes a few goodies for the next release as well, so you can see it as a sneak preview :)

Happy Easter to everyone celebrating it.

Wish everybody a nice day :)