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

Easy fix possible? Issue of not readable time on Volla Phone display with rounded corners?

Scheduled Pinned Locked Moved Volla Phone
29 Posts 12 Posters 7.3k Views 5 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.
    • G Offline
      GT @Sander
      last edited by 27 Dec 2020, 15:42

      @sander-klootwijk Your fix worked for me. It looks perfectly now! Thanks

      K 1 Reply Last reply 28 Dec 2020, 08:28 Reply Quote 3
      • K Offline
        kugiigi @GT
        last edited by 28 Dec 2020, 08:28

        @gt Backup the replaced file if you want a way to easily go back to the original. Though you can also reflash should anything bad happens. Also note that your changes may be overwritten by an OTA update or worse break your system. Just a fair warning 🙂 It's safe in general especially since you can reflash without losing data via the installler anyway.

        1 Reply Last reply Reply Quote 0
        • G Offline
          GT @Sander
          last edited by 5 Jan 2021, 10:40

          @sander-klootwijk Just as a follow-up: After some days of using the fix, I am very happy. It works perfectly and there is no regression over the original .qml file.

          The only thing I needed to get used to is the following: Since the Volla Phone doesn't have a notification LED, the only sign that there is a notification is the green envelope in the menu bar. Since I tend to switch off Bluetooth, the BT icon is not shown anymore in the menu bar (makes the entire menu bar shorter). When doing so, the green envelope is hidden by the notch. The same would have happened with the switches for location and rotation. Is there maybe a setting in the .qml files that disables this kind of dynamic menu bar so that always all icons are shown?

          1 Reply Last reply Reply Quote 1
          • S Offline
            Sander
            last edited by 6 Jan 2021, 07:51

            @gt After looking at the system files once again, I figured out how the menu bar is organized. The indicators request a preferred position in the bar. For the date and time this preferred position is 20 for example. The date and time appear on the far right of the bar. The message indicator has a preferred position of 100, so it appears on the left side of the bar.

            In an ideal fix, this entire system would have to be rewritten, with some fixed indicators appearing to the right of the notch and the rest placed to the left. But now the bar is indeed dynamically laid out and updated from the right side of the screen, causing some indicators to disappear behind the notch.

            It's possible to change the position of indicators. You could temporarily give the messages indicator a preferred position of 22. The envelope will then appear to the left of the date and time in the bar.

            photo_2021-01-06_08-45-01.jpg

            For this you need to edit the file "com.canonical.indicator.messages". This can be found in "/usr/share/unity/indicators/".

            aanpassing.png

            Note the selected line "Position = 22". Don't forget to restart Lomiri after the adjustment.

            This also is a hacky solution, but hopefully it will solve temporary frustration, until the notch problem is properly and universally addressed.

            1 Reply Last reply Reply Quote 3
            • J Offline
              jojumaxx
              last edited by 24 Jan 2021, 15:18

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • J Offline
                jojumaxx
                last edited by jojumaxx 24 Jan 2021, 15:43

                Hello,

                I'd like to apply that fix, too. But I can't copy the files to their destination since the file system is read-only:

                cp: cannot create regular file '/usr/share/unity8/Shell.qml': Read-only file system
                

                So I tried using adb. I can't push files there either since:

                remote Read-only file system
                

                So I tried

                adb root
                

                but after that, the VollaPhone isn't in the device list any more. So any command following that results in

                error: no devices/emulators found
                

                I also tried this:

                root@ubuntu-phablet:/home/phablet# mount -o rw,remount /system
                mount: cannot remount /dev/loop0 read-write, is write-protected
                

                Not working though I'm root...

                Can somebody help me with that?
                Thanks!

                S 1 Reply Last reply 24 Jan 2021, 17:30 Reply Quote 0
                • S Offline
                  Sander @jojumaxx
                  last edited by 24 Jan 2021, 17:30

                  @jojumaxx Hello! The file system is read-only by default. You should make it read-write before modifying system files.

                  But to save you the trouble, someone made a way better and user friendly approach of my fix.

                  You can find the fix over here on GitHub: https://github.com/JamiKettunen/unity8-notch-hax

                  Just follow te steps under Applying the patch in the terminal on your Volla.

                  I don't know if he's on the forums here, but thanks to Jami Kettunen for making this fix a lot easier to apply!

                  J 1 Reply Last reply 24 Jan 2021, 18:52 Reply Quote 2
                  • J Offline
                    jojumaxx @Sander
                    last edited by jojumaxx 24 Jan 2021, 18:52

                    @sander-klootwijk That worked. Thank you!

                    Nevertheless I wonder, how I would get write access to the file system. Quickly going through the script I found

                    sudo mount -o remount,rw
                    

                    That's the same I was trying, right? How does the script gain the access while I couldn't?
                    I'm still learning and I'd like to understand that, so I would appreceate help.

                    Thank you!

                    A 1 Reply Last reply 24 Jan 2021, 19:34 Reply Quote 0
                    • A Offline
                      AppLee @jojumaxx
                      last edited by 24 Jan 2021, 19:34

                      @jojumaxx
                      In your previous post you used ADB, it doesn't work on UT.
                      That's probably why...

                      J 1 Reply Last reply 24 Jan 2021, 19:41 Reply Quote 0
                      • J Offline
                        jojumaxx @AppLee
                        last edited by 24 Jan 2021, 19:41

                        @applee In the last piece of code I didn't use adb. I should have said that more clearly.
                        I'm going to study the script further, maybe it clarifies itself.

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          forgemo
                          last edited by 31 Jan 2021, 15:06

                          I'm glad to have found this thread. This is a very little but super-annoying ui-bug. Especially since this will immediately jump into your eye the first moment you are starting your Volla Phone for the first time.

                          I guess there are a bunch of new Volla Phone users, who might be unfamiliar with the terminal. Therefore, I thought it would be a good idea to describe the exact steps on how to apply the patch provided by JamiKettunen/unity8-notch-hax.

                          Step by step

                          1. Open The "Terminal" app on your phone and make sure, that you have a working internet connection.screenshot20210131_145923767.png

                          2. Enter your phones unlock code when asked.
                            screenshot20210131_145942573.png

                          3. Now you need to write the three lines under the section "Applying the patch" from unity8-notch-hax to the terminal.

                          Screenshot_2021-01-31 JamiKettunen unity8-notch-hax.png

                          [Optional] To make your life a little bit easier for you, I put the three lines into a QR-Code. You can scan them with the Tagger app and copy them to your phones clipboard.
                          frame.png

                          3.1 Entering the first line looks like this.
                          screenshot20210131_154430999.png

                          3.2 Entering the second line looks like this.
                          screenshot20210131_154455308.png

                          3.3 Entering the third line looks like this. It will ask you for your phones unlock code. Type your code and confirm it by starting a new line. Don't worry if you can't see anything when typing your code. It's kind of "invisible" for security reasons.
                          screenshot20210131_154544996.png

                          1. After entering the last line to the terminal and pressing enter, you will see a message in the terminal, telling you that a restart is required.You can type a 'y' for 'yes' and confirm it with starting a new line. A immediate restart will be initiated. I can't show you a screenshot of it, since I forgot to create screenshots, when applying the patch on my phone.

                          screenshot20210131_154603559.png

                          1. Enjoy your Volla Phone! 🙂

                          Reverting the changes

                          You can revert the changes by entering the last command a second time into the terminal and answering every question with "y".

                          stanwoodS 1 Reply Last reply 16 Feb 2021, 18:44 Reply Quote 6
                          • stanwoodS Offline
                            stanwood @forgemo
                            last edited by 16 Feb 2021, 18:44

                            @forgemo Thank you! I just have tried your solution and it worked perfectly well! 🙂
                            So I assume next OTA will cancel the fix? However, it will be easy to reinstall it again....

                            To revert manually, should I just type:

                            ./apply-notch-hax.sh
                            

                            ...than press Y , Correct?

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

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              domubpkm
                              last edited by domubpkm 16 Feb 2021, 19:40

                              The fix works very well but :
                              On the Volla, the Grid Unit of 22 (use UTTT) is the right one to be able to see directly the indispensable envelope icon of the notifications (with rotation of the screen locked) as well as the network icon L, 3G and.. Time. !

                              Edit : Envelope and network icon not hidden by the notch, this is the purpose of this scaling, not to take into account personal choices.

                              KenedaK 1 Reply Last reply 16 Feb 2021, 22:46 Reply Quote 0
                              • KenedaK Offline
                                Keneda @domubpkm
                                last edited by Keneda 16 Feb 2021, 22:46

                                @domubpkm
                                Grid scale impact all the OS, this thread patch, only the notfication bar.
                                Some people don't like small icons (for apps icon size and keybord firstly, big fingers...).

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

                                D 1 Reply Last reply 16 Feb 2021, 23:48 Reply Quote 0
                                • D Offline
                                  domubpkm @Keneda
                                  last edited by 16 Feb 2021, 23:48

                                  @keneda read again 😉

                                  1 Reply Last reply Reply Quote 0
                                  • KenedaK Offline
                                    Keneda
                                    last edited by 3 Mar 2021, 16:47

                                    Some modo could move this thread to VollaPhone device support?
                                    Easier for user to find...

                                    For example : https://forums.ubports.com/topic/5804/ringing-volume-and-other-issues/2

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

                                    LakotaubpL 1 Reply Last reply 3 Mar 2021, 17:17 Reply Quote 0
                                    • LakotaubpL Offline
                                      Lakotaubp @Keneda
                                      last edited by 3 Mar 2021, 17:17

                                      @keneda ☺

                                      KenedaK 1 Reply Last reply 3 Mar 2021, 17:21 Reply Quote 0
                                      • KenedaK Offline
                                        Keneda @Lakotaubp
                                        last edited by 3 Mar 2021, 17:21

                                        @lakotaubp Danke 🙂

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

                                        1 Reply Last reply Reply Quote 0
                                        • BollyB Bolly referenced this topic on 28 May 2024, 09:17
                                        • First post
                                          Last post