[ASUS ROG Phone 3 ROMs, Kernels, Recoveries, & Othe] Freak07:
Update to 2.2.0

Hey guys and girls,

Alright here´s a new update. It has the Source Code from the new Firmware ASUS_I003_1-17.0823.2102.143 merged.

This time it proved to be a bit more difficult than a usual firmware update for my kernel. Asus started to check a sysfs entry to get the grip sensor (squeeze/trigger sensor) driver version to determine the correct firmware with this update.

The sysfs implementation in the driver was quite outdated and triggered a CFI failure as soon as this sysfs node was accessed. That means the phone detected this as a potential security threat and crashed itself.

If you want to know more about CFI, which is one of the cores features of the kernel have a read here.

The sysfs implementation is fixed, and everything is behaving nicely now.

The newdisplay setting was a bit revised. If you´re curious try it out.

The brightness dimmer is now disabled by default, if you don´t use the CleanSlate Config app. That means flashing the stockdisplay zip, will behave the same way as stock when not using the app to set any level. Remember that if you used the app in the past, you need to delete the files starting with "uci" in the root of your internal storage.

I recommend everybody to try the "newdisplay" kernel and try setting a backlight dimming value of maybe around 100 - 150. I personally run a value between 20-40, as a bright screen in dark rooms bothers me a lot.

Quality will be worse the lower you get.

If running the "stockdisplay" kernel, you can´t see anything with very low value. That´s what the "newdisplay" kernel basically aims to improve.

There´s an option for interested and curious users to use the ROG3 with a refresh rate bumped to 165fps.

To try this, follow the guide to enable the 160fps step: https://www.xda-developers.com/asus-rog-phone-3-hidden-160hz-refresh-rate-mode/

And flash the kernel.zip with 165fps in the filename.

Keep in mind there´s a certain risk involved running the phone at 165fps daily.

There´s also a difference between between the panel drawing at 165fps and an app rendering at 165fps.

Browser test can provide a way to check here:

New item by freak 07

photos.app.goo.gl

Short overview:

For an overview of the recent display changes take a look at the previous release post linked here.

What do the tags in the kernel.zips mean?

160fps= hidden 160fps mode will run at 160fps

165fps= hidden 160fps mode will run at 165fps

stockdisplay= display setting as found on the stock kernel.

newdisplay= display setting as explained in the release post of 2.1.0 explained here

Disclaimer/Important:

Since Release 1.5.0 Selinux-Mainline patches are backported now that Magisk 21.0 and greater support it. This gives selinux a performance boost.

You need to have upgraded to magisk 21.0 or higher before flashing the kernel!

If you´re on of those that could not boot 21.0 or greater with the stock kernel, this issue is solved on magisk 21400 and above.

More details in the changelog below and on GitHub as usual.

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:

- Merge Asus Source Code from ASUS_I003_1-17.0823.2102.143 firmware (kernel is fine to flash on .143 firmware now)

- Linux-Stable Upstream 4.19.182

- fix CFI failure in grip driver (airtrigger, squeeze)

- update clang to latest prebuilt 12.0.4

- revise newdisplay version

- make brightness dimmer opt in, instead of opt out. (if you want to use lower brightness levels, install CleanSlate config app, found in the CleanSlate thread and set your desired min brightness level

I wish you all a nice day/evening!

Download is below :)

Download is in this folder:

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

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

But look at this post too :)

To make use of the CleanSlate features you need to download both CleanSlate Apps:

Please take a look at the CleanSlate thread for CleanSlate features. On the CleanSlate thread you will find links to both apps, companion and configuration app, to control the CleanSlate features.

If you use the CleanSlate features and benefit over time, maybe think about giving something back to @tbalden and purchase them from PlayStore. :)

Have fun, enjoy the kernel and your phone.

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