yashsingh1/xdaforums huggingface dataset:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 1.0.0_R

Hey guys and girls,

Alright here´s the update for Android 11. Might be a few days late but I wish everybody a Happy New Year. :)

Kernel was rebased from scratch as Android 11 uses a different qcom base than Android 11. This was a lot of work, but it went more smoothly than I expected.

Kernel has a big part of linux-stable merged and has latest QCOM upstream merged as well.

All previous features except 144fps are still intact.

Android 11 changed how refresh rates are handled internally. Forcing the panel hardware wise to 144fps via the kernel worked on Android 10, but results in stutters which render the phone basically unusable on Android 11. So while the panel can still render at 144fps the framework and graphical rendering from Android doesn´t work properly with it.

If I can find a way around that issue, I´ll bring back that feature.

The kernel.zip labelled with "newsetting", will aims to improve visibility in dark scenes as mentioned in a previous released post. It changes grey levels. If you don´t like it simply flash back the other zip, they will overwrite each other.

Changelog below and on github.

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:

- Rebase the kernel on Android 11 Source; ASUS_I001_1-18.0210.2111.190

- Linux-Stable Upstream to 4.14.243

- compiled with clang 13.0.1 from google prebuilt

I wish you all a nice day/evening!

Download is below :)

Download:

Downloads for : -Android- Generic Device/Other | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

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

www.androidfilehost.com

Disclaimer/Important:

Instructions how to flash the kernel 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 very welcome.

Coffee and Green Tea is what keeps the development going: http://paypal.me/freak07
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Krishan Avtar Singh:
Woowww.... Can't wait to try it Sir, do you also have the kernel for a11 with 144hz refresh rate?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
The phone is not usable on Android 11 with 144hz forced for the panel as of now. It just gets a stuttering mess due to refresh rate handling changes in android 11.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Krishan Avtar Singh:
Okay no problem, just wondering if it will be fixed later?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
Are you serious? Why not just enjoy the release that he worked so hard on, instead of seeming completely ungrateful for all of the free time he spent on this release? If he can get it working, it's not like he's going to keep it to himself. People wonder why devs quit and it's because of people making posts like this.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Krishan Avtar Singh:
Man why are you escalating things here. I just asked a question here keeping things in mind so that the dev doesn't mind my words. Check my comment again and tell me if you find anything disrespectful there. Check all of my comments in this post and give me the feedback then. I know you are also a developer. If you want to escalate things then here you go: If we are not appreciating things you guys are developing how do you receive donations and tons of praises to keep you motivated.

Yes we appreciate all the things you guys do but if we are respectful to you then please learn to respect the users also. Check you comment and see what kind of a language you have used for me. From your talk, I presume you are just finding ANY reason to quit. If that's the case then please go ahead. I can live with the stock things that company provides. It is not the end of life for me.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
The question you asked was answered in the release post. You apparently chose not to read it, and then emphasize your request by asking the question again twice. That's the disrespect. Not reading the post where your question is already answered, and then pressing when the dev bothered to respond to you by repeating what was already in the post.

Also, I don't know why you think devs get a bunch of donations, but by and large, we don't get anything. So unless you're offering some donations, I'm not sure where you got that from. A "thank you" followed by a request for something else isn't really effective praise.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Krishan Avtar Singh:
Okay, so asking anyone a question twice is a disrespect. Got it. So a simple "read the post" would be a perfect answer. Why so much escalation.

If you don't get bunch of donations, and you don't want us to thank you, then help me to understand what keeps you motivated to do this work. And from your comments, you don't seem to be motivated to me. Maybe your resume will shine bright with this dev work, am I right?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
The escalation here is you choosing not to apologize for any disrespect and instead trying to justify your position. Just apologize for not reading the release post and say you'll wait patiently for any updates without another post, and this will be done. Don't worry about my motivation; that's irrelevant to this conversation.

It's an understood, unspoken rule not to ask for ETAs here on XDA, and your "when will the 144hz kernel be available" is just that. So now I've explained to you twice what the problem was with your posts. Can you just accept that now and move on?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gabs.unk:
Thank you very much, I appreciate your hard work to bring it to us! I am enjoy so much that Kernel!! thanks thanks!!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Krishan Avtar Singh:
Okay, I apologize for asking a question twice nicely that broke the sacred rule of XDA. I did not ask like this "when will the 144hz kernel be available" so please do not manipulate my words here.

Now it is your turn to apologize to me for using offensive language and humiliate me in the comments. Please apologize and say that if anyone ever ask a question nicely two times, you will simply say "read the post for this answer" and move on by feeling motivated with you irrelevant reason.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gabs.unk:
lets stop with that, you're asking too much for 144 early, and Captain know how hard is work on kernel so I think him is defending devs side, you as kernel user must be grateful for the first release, and yes, I am pretty sure kernel's dev tried to bring up 144hz version too, read the post, sorry for my bad english and sorry for my comment that maybe..not make you happy, enjoy the kernel bro ^^.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
Yes, perhaps my response was a bit harsh and disproportionate, and for that, I apologize.

We devs do a lot of work (for free), spending our time and effort to try and release things to the community that we hope will make their device experience better. Sometimes, certain kind of responses can just trigger us (me specifically in this case), and unfortunately yours fell into that category, although I'm sure it was unintentional.

Next time I'll be sure to just direct you back to the release post for your answer instead of berating you.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Krishan Avtar Singh:
Thank you so much brother for saying these words. They meant a lot to me. I never meant any bad for any of you guys because you are doing these not by profession, but by making extra efforts. And I didn't think that things would get this bad from my one comment. I am so sorry for that. Be happy. 😌 Peace. ✌️
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Bonk3rs:
@Freak07 Your work is awesome. You've relentlessly supported this bygone of a phone for long time now. Your kernel has probably made the phone use worthy to many for longer than it would have otherwise been. Thank you once again, and hope that you find time and motivation to continue this.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] elisha13:
Hello, can I get any screenshots or video if available. If yes, that would be great. Logged in after long time and this new interface is hard to get right away, so don't know if it is available or not.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gilsol:
What are you taking about? This is a thread for the one and only custom kernel.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ausaras:
@Freak07

Hi, is it possible to update your kernel to the latest .211 firmware?

If not, sorry about the bother.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] joluke:
Does this kernel validate widevine L1 on. 211?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
there are no changes in the .211 source.

widevine status is unrelated to the kernel. it happens in the TZ (trustzone)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] joluke:
That didn't answer my question
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
I think it did.

Like I said, widevine status is unrelated to the kernel. If you´re on L1 on stock kernel, then you´re L1 on this kernel as well.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Zeus Hai:
Appreciate the hard work as always☺️
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] atir usman butt:
i need help i need qcn file and efs file i have asus rog phone 2 tencent edition stock rom
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] nguadien:
Android 9 using this kernel - Perfect

Android 10 using this kernel - Perfect

Android 11 ASUS_I001_1-18.0210.2111.190 (exact firmware as kernel required):

1st time flashing -> Can boot normally

Instruction has this "4. Flash the kernel again" so I go TWRP 3.5.1, flashed kernel again

Boot loop forever
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Captain_Throwback:
Use latest TWRP.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] nguadien:
Latest TWRP freezes fastboot mode, refused to boot into.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] AevaStyleLol:
Hi! Any update for .215 rom version?) Or no one changes
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gaya4:
Try flashing with TWRP; I saw the same boot problem with the latest ASUS .215 ROM. I TWRP doubleflashed the kernel with the 3.6.1 and flashed in the same session magisk - then booted. Took a bit longer, but the kernel was running after boot.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] neorean:
First of all thank you for your work with this kernel, it's massively appreciated!

I do have a question; in previous releases for the Android 10 version of the kernel you included a "custom" version for use with A10 custom ROMs.

Is it possible to use this kernel release with Android 11 custom ROMs?

If not, is it possible/do you have any plans to release a version of the kernel for custom A11 ROMs?

Apologies if these questions have been answered elsewhere in the thread, I did look but wasn't able to find any answers.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] goldyit:
idk if other got the same problem with me. so i clean install android 10 WW_17.0240.2108.103_0 and as the requirements said it need magisk root. so i flash magisk first at twrp and reboot my device. i check at magisk manager (before installing kernel) it said the phone is rooted. but then i tried intall the kernel by flashing twice like the guide said. then after its installed i check at magisk manager it said my phone is not rooted anymore. anyone have a solution of this problem?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Maczuga:
Would be possible to tweak somehow screen brightness via kernel? The minimum brightness is damn to bright for night usage before sleep / after waking up.

Overall kernel is great. Was using both versions, no issues so far. Wakelock blocker is really helpful. I noticed like 15% increased battery life with my usage, and I am finally happy about that device :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Juraviel:
Your description is full of jargon very few people can understand. Could you explain how all of this translates in positive effects for the average user, thanks
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] solkarsalman:
You need to have some flashing knowledge before saying this, he explained every single step in details but guess your mind don't understand the language. Learn how to flash on YouTube and then come back to this post.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Juraviel:
Why the needless hostility? I didn't mean the process of flashing the software, but what it actually does. Because I can't make sense of all the added features, as I know most anybody won't be able to. Jeez.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Maczuga:
Then most likely you don't need that kernel. All those well described tweaks and features in kernel are perfectly understandable for most of the people who need such thing.

I bet you'd like to see some stuff like 'it will increase your battery life and make your phone runs smoother'? Because that's not exactly what it does. Most of it enhancements have proper links to docs next to them, all you have to do is read them and at least try to understand them.

Dev does not have to simplify this stuff to anybody. He knows what he's doing by adding those features, then people who are flashing the kernel should know what they do. If they don't - just read, learn and then decide.

It was unknown to me as well at some point of my flashing 'journey' but that was long time ago, when I was messing with my old LG GT540, but I wasn't complaining, that someone put some unknown words or features I do not understand.

At this point you can simply Google all the features listed and got direct info what does it do.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Juraviel:
I wasn't complaining. Just seems like little extra work for a major benefit. He did want his software widespread does he not. Anyway, it was just a suggestion.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] dungnghien:
How to uninstall?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] albireox:
Flash boot.img extracted from the rom you are using.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] dungnghien:
I know. But i want uninstall via zip file
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] forabi:
It looks like with this kernel and WireGuard using the kernel module, Google Play Store traffic does not go through the VPN tunnel.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CRYPTfromCATACOMBZ:
I am testing it since yesterday and i must say, i am very happy with this kernel. Keep it up!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] MyronAz:
Could you please explain what you meant by this? I thought the point of many of the features WAS to improve performance / battery usage.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] acuicultor:
I want to win the lottery.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] dungnghien:
Screw you
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Allen_Walker:
Hi, just ttl target module. more operator use 64, but we can set the required value using init.d or terminal.

https://netfilter.org/documentation/HOWTO/netfilter-extensions-HOWTO-4.html

4.8 TTL patch
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Dredead:
To be honest, that descriptions looks just like the first one I read when I first started doing all this 9 years ago on my HTC Desire HD lol. A lot of the things explained there are actually standard on Android, such - 03 power optimisations, Safety Net, Wakelocks etc.

You don't need to know kernels as much as just use Android for a while to have picked up what these features are. Use Google for anything you don't understand and you will be better off for it! In fact, that would probably be faster for you than interpreting the way the dev might explain everything.

I think it's actually one of the more well written ones, including links to further information, I don't think he could have made it much better at all!

Welcome to XDA though! Good to have you, and have fun learning! :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] darkwader18701:
[MENTION=3428502]Freak07[/MENTION] bro does your kernel hide unlocked bootloader?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gabi.ailincai:
I can only see the CPU frequencies being limited with the powersave mode. Are there any other tweaks made when enabling powersave apart from the CPU freqs?

Also, only clusters 1 and 2 show on the powersave\performance settings. Can cluster 3 not be limited?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
yes the necessary commits are included. I´m passing safety net just fine here :)

If you´re talking about powersave mode in kernel manager apps like EXKM or FKM:

The system´s powerhal will overwrite CPU-Frequency restrictions done in EXKM- or FKM-App eventually. There´s no point in playing with the frequencies in kernel manager apps as it will cause more harm than good.

If you want to save power, use the power saver in the phone´s settings under the battery tab.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] gabi.ailincai:
Thanks. I was hoping there was an option like this included in the kernel. Using the powersave function from the phone's settings also messes with the frequency I get notifications, which I don't want. I feel like this phone is powerful enough to handle regular daily tasks with less of its CPU, which is why I'd use this as a powersave option.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] jiraianam:
Please Developer is possible make an support to Mokee ROM 9.0 before update to the 10?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] dutch45612:
Thanks you very much for your work! This is super to see a custom kernel on our beloved Rogphone... Tell me, this is not a request but a question; would it be difficult/feasible to compile the kernel with the support of Uinput module.? Please tell me... Thanks you again very appreciated!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Allen_Walker:
[MENTION=3428502]Freak07[/MENTION] I hope you are all right. :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] 888putnik888:
Please add iptables support to the kernel. This is very necessary for fixing TTL on the value 64. Thank you!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
where did you get mokee rom from?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] mohammed510:
Can't wait to overclock my Rog 2..
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] sdas683:
So after updating this kernel I noticed the Gyroscope functionality in CODMobile no longer works. Any thoughts on this? Great kernel otherwise, good work Freak!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] snooppy786:
Did not notice any kind of this problems..Maybe flash raw 64,then step by step with root..Try it
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ariffv2:
Android 10 officially rog phone 2. When you can build kernel for Android 10
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] svbarbosa:
When / if he finds the time.

XDA Golden Rule: Never ask for ETA.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
I hope in the kernel have L1 security for watch Netflix HD :fingers-crossed:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Sorry to disappoint but that won’t happen. Only pixels remain L1 when unlocked.

it’s not possible at the moment, let alone the kernel. If somebody finds a way to break into TEE and spoof widevine well... :) extremely high bounty for that.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
Ok then thank you for u reply :fingers-crossed:

But just no pixel, siomay pocof1 get L1 too whn unlocked. I have seed my friend device.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
No if the bootloader is unlocked it should fall to L3. I read a few threads on the poco forums and it seems to be the case there as well.

It’s not tied to any kernel or ROM, but to the unlocked bootloader. There’s no control over the status on the phone. It all happens in the TEE and remotely.

If a phone remains L1 when bootloader unlocked, your friend got either very lucky or poco made a mistake when submitting the OTA with widevine L1 support after the devices’s initial launch later.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
I’ll upload a first beta build for android 10 later today.

Please feel free to test and report back then.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Android 10

Hey everybody,

since I have no tester (besides myself which is good at evading issues) for this device and can´t test everything alone I´ll publish this first beta build for you all here.

It has basically most of the stuff from my Pixel 4 XL or One Plus 7 Pro kernels, except some google specific security stuff or hardware dependant functions.

It has latest linux-stable merged as well as CAF-Upstream.

Source is up on github as well.

I´ll do a proper release with a post explaining everything after a while.

Please feel free to test :) take a look at post number 2 and post number 3 on how to report bugs properly.

Posts like I have an issue please fix, without providing necessary information will simply be ignored.

I wish everybody a nice weekend :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Arthuer:
Thank you for the reply again, its make me to learned something then. :fingers-crossed:

I will test it
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ariffv2:
Can you make a telegram discussion for this kernel
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] The_Rusty_Geek:
Hi, I just wanted to know if flashing this kernel enables the Bluetooth HID profile?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
As far as I know that’s up to the the ROM and not the kernel. So asus would need to enable that in their firmware.

custom ROMs might have it enabled by default.

I can try to talk to our asus contact and maybe Asus gives it some consideration and you will get lucky!
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] stiffis:
Thanks a lot!

Have flashed it right now, so far seems to be working great ?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] marian daciu:
Working without problems for me to.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Apoorv_87:
first of all thank you for making a custom kernel for our phone. i am using your kernel for last 24 hours. i flashed it right after installing raw android 10. performance is great but with default schedutil CPU governor CPU temps are noticeably high in EX Kernel manager CPU times showing (93% of 1785 MHZ) in cluster 1 and in cluster 2,3 (2956 MHZ - 93.4%) and phone is hot to touch while using it but if i change the CPU governor to power saver phone temp reduce drastically. Kindly look into this please
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
That´s not a kernel issue. An app or a service runs havoc and constantly requests resources. My phone idles fine on the lowest frequencies and stays cool when not in use.

I´d suggest you do a simple reboot, wait a few minutes and see if that fixes it. Make sure you don´t use any mods or tweaks before troubleshooting.

To identify what´s doing this in the background:

In a terminal app type:

su

then grant superuser access when asked.

afterwards type:

top

rotate the phone to landscape. No look what´s using the cpu power and is constantly at the top of the list.

Then you have a point where you can start.