Disable rounded screen corners?

Haxxler

Senior Member
Feb 16, 2009
299
3
0
Found this on reddit (thanks to "jyapayne"):

adb shell settings put secure sysui_rounded_size 1
adb shell settings put secure sysui_rounded_content_padding 5

First line is the corner "roundness" and second line ist the padding of the status-bar elements to the edge.

Works fine for me!
Finally! Thanks man, works perfectly. For the corners i had to reboot, but the padding changes on the fly, so you can find the right sweet spot for you without hundreds of reboots. Awesome.

/edit: Nevermind the reboot thing i said. You dont need to for the roundness.
 
Last edited:

aaa12585

Senior Member
Dec 26, 2012
117
45
48
Looking for confirmation on the permanence of this method,

Will these settings keep after multiple reboots?

Is this baked into custom roms as well or will we have to reapply these commands after flashing any/most Roms?
 

crabnebula

Senior Member
Apr 20, 2010
102
24
0
Montreal
Works great on Q beta 6. For the radius, any setting lower than 15 won't make a difference because it's smaller than the physical radius of the screen's corner. I find that 16 is the best setting for me, just enough to hide a thin layer. Also, I prefer leaving the padding at 8 because it affects not only the status bar but also the pull down settings and I find it looks best with the default setting.
 

Audioboxer

Senior Member
Aug 24, 2010
3,035
670
0
Found this on reddit (thanks to "jyapayne"):

adb shell settings put secure sysui_rounded_size 1
adb shell settings put secure sysui_rounded_content_padding 5

First line is the corner "roundness" and second line ist the padding of the status-bar elements to the edge.

Works fine for me!
Thanks for this.

Just got my Pixel and while it's only a small bit of space, why not get it back? lol

Not sure why Google make this change :confused:
 

Echosen

Member
Sep 2, 2019
16
3
0
37
Los Angeles
That code for adb is not working for me? What am I doing wrong? @onkelhai

adb devices first so it confirmed my device was in adb mode and then I input:

adb shell settings put secure sysui_rounded_size 1

(pressed enter) not confirmation no change then I input:

adb shell settings put secure sysui_rounded_content_padding 5

(pressed enter) no change or confirmation.

Please assist me in what I am doing wrong, I hate these round corners.

Thanks in advance
 

cambunch

Senior Member
Sep 11, 2009
857
1,479
123
That code for adb is not working for me? What am I doing wrong? @onkelhai

adb devices first so it confirmed my device was in adb mode and then I input:

adb shell settings put secure sysui_rounded_size 1

(pressed enter) not confirmation no change then I input:

adb shell settings put secure sysui_rounded_content_padding 5

(pressed enter) no change or confirmation.

Please assist me in what I am doing wrong, I hate these round corners.

Thanks in advance
Are you copying/pasting this from above? Try typing it instead. Also try a simple command ("adb shell ls" or something similar) to see if your command line is having issues.
 

CSX321

Senior Member
Aug 21, 2009
597
269
93
Southern IL USA
Please assist me in what I am doing wrong, I hate these round corners.
It's not a dramatic change, just a slightly smaller radius curve. It can be hard to notice if you aren't watching carefully when it changes. Just checking, silly question, but you know this doesn't get rid of the rounded corners completely, right, just changes how rounded they are?
 
  • Like
Reactions: mattlach

mattlach

Senior Member
Feb 26, 2014
83
8
0
Boston, MA, USA
Found this on reddit (thanks to "jyapayne"):

adb shell settings put secure sysui_rounded_size 1
adb shell settings put secure sysui_rounded_content_padding 5

First line is the corner "roundness" and second line ist the padding of the status-bar elements to the edge.

Works fine for me!
Hmm.

I tried issuing this to my Pixel 3 with hopes of getting back my nice rectangular screen I used to have on my first gen Pixel.

I'm not sure it did anything. The rounded edges may be slightly smaller, but they are still there. Not sure.

---------- Post added at 04:22 AM ---------- Previous post was at 04:21 AM ----------

It's not a dramatic change, just a slightly smaller radius curve. It can be hard to notice if you aren't watching carefully when it changes. Just checking, silly question, but you know this doesn't get rid of the rounded corners completely, right, just changes how rounded they are?
Ah.

Never mind my previous post.

This is a bummer.

I want a rectangular screen.

---------- Post added at 04:23 AM ---------- Previous post was at 04:22 AM ----------

What happens if you set them both to 0?
 

imatts

Senior Member
Oct 17, 2012
406
91
0
Please please please tell me this works with OnePlus 7 Pro (or is at least universal). I cannot stand the insanely rounded corners on the OnePlus devices, and I am just willing to sacrifice a bit of bezels by reducing the display height by about 10 pixels on the top and bottom, and then reducing the corner radius by about half so that it doesn't look like an incomplete corner.

For anyone wanting to understand what I mean, here is a simple illustration (ignore the reeeeally bad photoshopped "software bezel / corners", I'm using a Mac with no photoshop and limited knowledge haha)



EDIT:
I was able to confirm that with Stock OxygenOS, the "adb shell wm size 1440 x 2990" and "adb shell settings put secure sysui_rounded_size 20" set up the corners nearly exactly as the illustration above depicts. We're good to go!

Also for those wondering, custom roms like Havoc, RR, all have removed software-overlays for the rounded corners so when you push up the display, it defaults to something like sysui_rounded_size 20.
 
Last edited:

NImesh Basu

Senior Member
Oct 31, 2014
157
61
0
Please please please tell me this works with OnePlus 7 Pro (or is at least universal). I cannot stand the insanely rounded corners on the OnePlus devices, and I am just willing to sacrifice a bit of bezels by reducing the display height by about 10 pixels on the top and bottom, and then reducing the corner radius by about half so that it doesn't look like an incomplete corner.

For anyone wanting to understand what I mean, here is a simple illustration (ignore the reeeeally bad photoshopped "software bezel / corners", I'm using a Mac with no photoshop and limited knowledge haha)



EDIT:
I was able to confirm that with Stock OxygenOS, the "adb shell wm size 1440 x 2990" and "adb shell settings put secure sysui_rounded_size 20" set up the corners nearly exactly as the illustration above depicts. We're good to go!

Also for those wondering, custom roms like Havoc, RR, all have removed software-overlays for the rounded corners so when you push up the display, it defaults to something like sysui_rounded_size 20.
Can you explain more. I have same device. And what adb command did you use