FORUMS
Remove All Ads from XDA
Post Reply Email Thread
ElegantNotch for Asus (Zenfone) Max Pro M2
Latest version: 1.2 (05/07/2019)
Author: lscambo13

------------------------------------------------------------------------------------------------------------------------

Description:

This module enables anti-aliasing around the ugly hardware notch on Asus (Zenfone) Max Pro M2 to provide an elegant look; the way it should've been.
  • Requires latest Magisk installed!
  • Not available on Magisk repo
  • See attached photos
------------------------------------------------------------------------------------------------------------------------

Installation:

1. Install the module via Magisk or TWRP
2. Go to Developer options > Tap on Display cutout (or something like that)
3. Change the setting to ElegantNotch-X01BD
4. Enjoy those 5exy curves :p

Tested roms include Stock Pie and Havoc though it should be compatible with most roms.

When reporting any bug or issue, make sure to mention:
a. Logs or Steps to reproduce
b. Your Rom details
------------------------------------------------------------------------------------------------------------------------

Update: v1.2

Changelog:
  • Reworked the complete mask to allow space for more icons
    (Please do note that every rom is different, and it wouldn't be possible to accommodate every icon)
  • Updated translations
------------------------------------------------------------------------------------------------------------------------

Update: v1.1

Changelog:
  • Initial public release
------------------------------------------------------------------------------------------------------------------------

For developers:

v1.2 (05/07/2019)
overlay/frameworks/base/core/res/res/values/config.xml
Code:
    <string translatable="false" name="config_mainBuiltInDisplayCutout">M -204.49219 0.00390625 C -188.47266 0.00390625 -178.82296 8.8348878 -177.21875 10.197266 C -171.2688 15.250266 -169.66752 18.090631 -167.36133 20.574219 C -165.05514 23.057808 -160.48531 30.837561 -159.10547 33.158203 C -157.72563 35.478846 -155.3646 41.471828 -154.00195 44.294922 C -152.49377 47.419541 -151.27921 50.743725 -147.14258 58.044922 C -142.93118 65.478087 -137.2207 70.349609 -137.2207 70.349609 C -137.2207 70.349609 -134.21406 73.479699 -128.37891 76.384766 C -120.72687 80.194388 -105.43555 80.910156 -105.43555 80.910156 L 0.0078125 80.910156 L 105.45117 80.910156 C 105.45117 80.910156 120.74249 80.194388 128.39453 76.384766 C 134.22968 73.479699 137.23828 70.349609 137.23828 70.349609 C 137.23828 70.349609 142.9468 65.478087 147.1582 58.044922 C 151.29483 50.743725 152.5094 47.419541 154.01758 44.294922 C 155.38023 41.471828 157.74125 35.478846 159.12109 33.158203 C 160.50093 30.837561 165.07076 23.057808 167.37695 20.574219 C 169.68314 18.090631 171.28443 15.250266 177.23438 10.197266 C 178.83858 8.834888 188.48828 0.00390625 204.50781 0.00390625 L 0.015625 0.00390625 L 0 0.00390625 L -204.49219 0.00390625 z  </string>

    <bool name="config_fillMainBuiltInDisplayCutout">true</bool>
For more information read the official documentation here.
------------------------------------------------------------------------------------------------------------------------

Download Link: [Latest: v1.2]
https://drive.google.com/open?id=1Tq...snBkPHPYqYJMC0

Feeling generous?
Buy me a pizza or a coffee


Credits:
asus (for not fixing the notch)
@lscambo13 (for fixing it :p)
Attached Thumbnails
Click image for larger version

Name:	ElegantNotch-X01BD-v1.2.jpg
Views:	1506
Size:	267.7 KB
ID:	4787670   Click image for larger version

Name:	ElegantNotch-X01BD-v1.2-boundry.jpg
Views:	1504
Size:	253.2 KB
ID:	4787671   Click image for larger version

Name:	ElegantNotch-X01BD-v1.0.jpg
Views:	1476
Size:	264.7 KB
ID:	4787673  
Attached Files
File Type: zip ElegantNotch-X01BD-v1.2.zip - [Click for QR Code] (41.1 KB, 274 views)
The Following 5 Users Say Thank You to lscambo13 For This Useful Post: [ View ] Gift lscambo13 Ad-Free
 
 
2nd July 2019, 07:04 PM |#2  
lscambo13's Avatar
OP Senior Member
Thanks Meter: 137
 
Donate to Me
More
Module re-uploaded.
The Following 2 Users Say Thank You to lscambo13 For This Useful Post: [ View ] Gift lscambo13 Ad-Free
2nd July 2019, 10:42 PM |#3  
Senior Member
Thanks Meter: 334
 
More
Thanks for the fix. Is there a fix for bottom corners in stock Pie rom? Asus used some png image files in stock Oreo instead of overlay method to round the display corners and the notch that disables 5 rows of pixels at the bottom of the screen.
The Following User Says Thank You to anagramgenius For This Useful Post: [ View ] Gift anagramgenius Ad-Free
3rd July 2019, 03:21 AM |#4  
lscambo13's Avatar
OP Senior Member
Thanks Meter: 137
 
Donate to Me
More
Quote:
Originally Posted by anagramgenius

Thanks for the fix. Is there a fix for bottom corners in stock Pie rom? Asus used some png image files in stock Oreo instead of overlay method to round the display corners and the notch that disables 5 rows of pixels at the bottom of the screen.

It might be possible by modifying SystemUI or Framework but I haven't had time to play with that.

However, I'm hopeful that Asus will fix this in the next update. If not, we'll find a way 🤞.
The Following 2 Users Say Thank You to lscambo13 For This Useful Post: [ View ] Gift lscambo13 Ad-Free
3rd July 2019, 06:36 AM |#5  
Member
Thanks Meter: 8
 
More
Unable to install through twrp
Attached Thumbnails
Click image for larger version

Name:	Screenshot_PBRP_2019-07-03-00-30-33.png
Views:	362
Size:	117.9 KB
ID:	4786633  
3rd July 2019, 07:12 AM |#6  
Member
Flag Sepang
Thanks Meter: 6
 
More
Thank you for this module. However I can't find the "Display Cutout" setting on Developer options. I'm running on stock rom.
3rd July 2019, 07:19 AM |#7  
Senior Member
Thanks Meter: 334
 
More
Quote:
Originally Posted by Sift

Thank you for this module. However I can't find the "Display Cutout" setting on Developer options. I'm running on stock rom.

It's "Simulate a display with a cutout" in stock rom.
The Following User Says Thank You to anagramgenius For This Useful Post: [ View ] Gift anagramgenius Ad-Free
3rd July 2019, 09:28 AM |#8  
lscambo13's Avatar
OP Senior Member
Thanks Meter: 137
 
Donate to Me
More
Quote:
Originally Posted by pkm37

Unable to install through twrp

Redownload or try to install from Magisk.
The Following User Says Thank You to lscambo13 For This Useful Post: [ View ] Gift lscambo13 Ad-Free
3rd July 2019, 09:58 AM |#9  
Member
Thanks Meter: 8
 
More
Quote:
Originally Posted by lscambo13

Redownload or try to install from Magisk.

- Copying zip to temp directory
- Installing ElegantNotch-X01BD-v1.1.zip
+----------------------------------------+
+ Please install the latest Magisk! +
+----------------------------------------+
! Installation failed



Btw.. i am on magisk 17.3
3rd July 2019, 10:14 AM |#10  
Junior Member
Flag Akola
Thanks Meter: 3
 
More
Quote:
Originally Posted by pkm37

- Copying zip to temp directory
- Installing ElegantNotch-X01BD-v1.1.zip
+----------------------------------------+
+ Please install the latest Magisk! +
+----------------------------------------+
! Installation failed



Btw.. i am on magisk 17.3

Latest magisk is 19.3
Install it and try again. It worked for me.
3rd July 2019, 10:20 AM |#11  
Member
Thanks Meter: 8
 
More
Quote:
Originally Posted by rbjetc2001

Latest magisk is 19.3
Install it and try again. It worked or me.

ok.. upgraded magisk to 19.3 .. now installed worked... Thanks
Post Reply Subscribe to Thread

Tags
cutout, elegantnotch, notch, round, x01bd

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes