UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Patch for rounded corners and camera notch on OnePlus6/6T

    Scheduled Pinned Locked Moved Oneplus 6/6T
    9 Posts 4 Posters 1.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • AntiDroidA Offline
        AntiDroid
        last edited by

        There is a thread about fixing the round corners and camera notch blocking the time and icons on the top bar of the Volla phone. That thread links to this patch which also has patches for other phones including the OnePlus6/6T.

        The patch at the time of writing this does the following:

        • Increase side margins of the panel to push the icons/clock inside the round corners.
        • Increases the height of the panel to match the notch making the camera blend in.
        • Shifts the panel below the camera notch for visibility when pulling down the panel.

        The repo includes before and after pictures and instructions.

        When I tried to apply the patch it did not work because it did not correctly detect the phone. It turns out you can just pass the device name to the script and then it works.

        So where it says

        ./apply-notch-hax.sh
        

        for example with a 6T you would use

        ./apply-notch-hax.sh OnePlus6T
        

        The device name needs to match the case and spelling of the .diff file in the patches folder

        OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
        OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

        KenedaK PhoenixLandPiratP 2 Replies Last reply Reply Quote 0
        • KenedaK Offline
          Keneda @AntiDroid
          last edited by Keneda

          @antidroid
          I don't own a 6T, however it's a good news for owners.

          Something i noticed though, with patch, the messaging icon disapears behind the notch, could you make a "blank" zone behind the notch for no icon to be unvisible?
          Or maybe you could switch places of this icon with another (on the right or the left) less important?

          I assume owners would like to always see this one ^^

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

          stanwoodS AntiDroidA 2 Replies Last reply Reply Quote 2
          • stanwoodS Offline
            stanwood @Keneda
            last edited by

            @keneda There is an easy way to make the notification icon reappear: Enable the automatic location. This will cause the notification envelope to appear to the left of the notch... (location icon will be hided behind the notch).

            Redmi Note 9S Stable
            If God has a computer, it must be a GNU/Linux

            KenedaK AntiDroidA 2 Replies Last reply Reply Quote 0
            • AntiDroidA Offline
              AntiDroid @Keneda
              last edited by

              @keneda You are totally correct that it does hide at least one icon but that is still better then before.

              In the original thread they talk about different solutions and this was just a simple hack changing the margins. I think there are people working on an actual fix for this that would skip the middle area. The panel is created dynamically from the right with a percent applied to each icons location. So you can not simply assign a blank icon behind it since it moves as you turn things on and off like bluetooth, wifi, cellular data.... The hack solution is to either assign the icons you want visible to be on the right at the beginning or just pull it down a tiny bit and it becomes entirely visible.

              OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
              OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

              KenedaK 1 Reply Last reply Reply Quote 0
              • KenedaK Offline
                Keneda @stanwood
                last edited by

                @stanwood
                Not everyone using uTouch for privacy will consent enabling GPS just for an icon... I wouldn't.

                I saw a similar topic for VollaPhone, and i'm quite sure an icon switching "hack" was given there.

                2015-2023 : Meizu MX4 ☠️⚰️✝️
                2023-2024 : Nexus 5 ☠️⚰️✝️
                2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                🇲🇫🇬🇧

                1 Reply Last reply Reply Quote 0
                • KenedaK Offline
                  Keneda @AntiDroid
                  last edited by

                  @antidroid said in Patch for rounded corners and camera notch on OnePlus6/6T:

                  The hack solution is to either assign the icons you want visible to be on the right at the beginning or just pull it down a tiny bit and it becomes entirely visible.

                  Yes i saw this thread, was gone to retrieve it, here it is... the "hack" : https://forums.ubports.com/topic/5351/easy-fix-possible-issue-of-not-readable-time-on-volla-phone-display-with-rounded-corners/15?_=1613515346548

                  2015-2023 : Meizu MX4 ☠️⚰️✝️
                  2023-2024 : Nexus 5 ☠️⚰️✝️
                  2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                  🇲🇫🇬🇧

                  1 Reply Last reply Reply Quote 0
                  • AntiDroidA Offline
                    AntiDroid @stanwood
                    last edited by AntiDroid

                    @stanwood @Keneda I noticed that my Envelope is only just a tiny bit covered by the camera notch and that is because I always turn on show percentage on panel in the UT tweak tool. My hidden icons are sound and network. If it had a sim card and cellular data turned on it would hide the cellular data icon a little and the envelope would be fully visible.

                    EDIT: I should also note that I use AM/PM not 24hr for my clock which also pushes the envelope further to the left.

                    OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
                    OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

                    1 Reply Last reply Reply Quote 0
                    • PhoenixLandPiratP Offline
                      PhoenixLandPirat @AntiDroid
                      last edited by

                      @antidroid thats really cool, I also dont have a notched phone but itd be pretty cool to see before and after shots! 😜

                      AntiDroidA 1 Reply Last reply Reply Quote -1
                      • AntiDroidA Offline
                        AntiDroid @PhoenixLandPirat
                        last edited by

                        @phoenixlandpirat

                        See the repo for before and after pictures

                        OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
                        OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post