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

    Miatoll devices UT Focal support

    Scheduled Pinned Locked Moved Xiaomi Redmi Note 9 Pro/Pro Max/9S & Poco M2 Pro
    58 Posts 7 Posters 11.6k Views 1 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.
      • B Offline
        beyolf @Keneda
        last edited by beyolf

        @Keneda

        It turned out to be kind of port specific, but yes it can occur on other devices with a bit older kernel as miatoll was. The fix is quite easy.

        The Xperia port had the same issue as miatoll and it turned out to be the same kernel problem even that both devices use different kernel versions.

        https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-redmi-note-9-pro/kernel-xiaomi-sm6250/-/commit/c45ed3b1cdf7d8e485bb4b50dfd1ec9842b4bd64

        This is the source of the issue. If in the kernel the

        oom_adj
        oom_score_adj
        

        Files are with read only permissions 400 the problem will most probably occur. Because lomiri-app-launch spawns SUID helper when it cannot set the scores in this files by it self and the spawn is done by forking so the freezes occured because of the forking.

        The problem with lomiri-app-launch is that it spawns a process for each thread to adjust the score which is not very good and in some applications as chrome this is a lot of processes and forks which copy pages and that's slow, but by making lomiri-app-launch able to set the scores by it self then it does not need to spawn SUID helper so no forks no freezes.

        Hope I managed to explain it clearly enought.

        If you need more information you can contact me in telegram.

        Ubuntu Touch fan
        UT Focal port for miatoll contributor.
        Device:
        Redmi note 9 pro

        1 Reply Last reply Reply Quote 3
        • B Offline
          beyolf
          last edited by

          Small update: The automatic screen brightness is now fixed and working properly. i made an MR with the fix so it will be available probably in couple of days

          Have a great day/night

          Ubuntu Touch fan
          UT Focal port for miatoll contributor.
          Device:
          Redmi note 9 pro

          1 Reply Last reply Reply Quote 1
          • Damian1944D Offline
            Damian1944 @beyolf
            last edited by Damian1944

            @beyolf Hello! I will join the Telegram group with pleasure. Is Telegram the most convenient way for you to report potential problems? I've now successfully installed Focal devel and it is running without any problems. Once again many thanks and congratulations for maintaining the miatoll port within 6 days. 😉 As I wrote above, everything works very well - there is a visible graphical improvement and the OS runs much faster. In the agenda of things that could be worth considering, from my small experience with UT, are: time indicator on the bottom bar partially hidden by the round corner of the screen and the similar problem on the left side in horizontal view (but it is not a important bug, only esthetical); losing mobile coverage sometimes but without any notification (it is important, but I experienced this problem on Xenial, maybe it is solved on Focal); no MMS messages (medium important, on Xenial too, it had worked well in the beginning and ended later). And finally, I would like to point out that as a user of Ubuntu desktop for 10 years, I was happy to install UT. But I didn't think it would be easy to use the UT phone everyday / as a first phone. But it is possible. I use Redmi Note 9 Pro with Ubuntu Touch as my main phone since 3 months - and it works great. 🙂

            device with Ubuntu Touch: Redmi Note 9 Pro

            B 1 Reply Last reply Reply Quote 1
            • B Offline
              beyolf @Damian1944
              last edited by beyolf

              @Damian1944

              Hello , I am very happy that you managed to install focal without problems. Hope you enjoy it.

              You can report bugs here, in the gitlab or in the telegram group. I personally am most active in telegram , so it's the easiest way to reach me.

              Hope you have pleasing experience with UT on miatoll. I am doing my best to improve the port as much as I can.

              Ubuntu Touch fan
              UT Focal port for miatoll contributor.
              Device:
              Redmi note 9 pro

              D Damian1944D 2 Replies Last reply Reply Quote 1
              • D Offline
                DPITTI @beyolf
                last edited by DPITTI

                This post is deleted!
                B 1 Reply Last reply Reply Quote 2
                • B Offline
                  beyolf @DPITTI
                  last edited by

                  @DPITTI thank you very much for the info.

                  Ubuntu Touch fan
                  UT Focal port for miatoll contributor.
                  Device:
                  Redmi note 9 pro

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    DPITTI @beyolf
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 1
                    • Damian1944D Offline
                      Damian1944 @beyolf
                      last edited by

                      @beyolf Good evening. Everything is still going great at Focal. I just want to mention three points:

                      1. A big advantage - after upgrading to Focal, I had not noticed any problem with losing mobile coverage without notification. This was sometimes a bug with Xenial, as I wrote earlier.
                      2. The camera does not work after starting the app. It works if I kill the process and restart the app. This is a consistent issue.
                      3. Not important, but you might want to know - with the Polish language in the system, there are a few places where I have English notices: keybord & time and date on the top bar, as well as the notification on the main screen before unlocking.
                      4. And another advantage - the system reads the memory correctly. Xenial has doubled it.
                        I am using the latest r25 build. Have a nice Sunday! 😉

                      device with Ubuntu Touch: Redmi Note 9 Pro

                      B 1 Reply Last reply Reply Quote 1
                      • B Offline
                        beyolf @Damian1944
                        last edited by beyolf

                        @Damian1944

                        Thank you very much for the notes.

                        I am currently investigating an issue , but when I finish I will check the camera problem and try to fix it.

                        Btw if you want join the UT for miatoll telegram group to help us test,reproduce and fix bugs.

                        https://t.me/UTForMiatoll

                        Have a great night!

                        Ubuntu Touch fan
                        UT Focal port for miatoll contributor.
                        Device:
                        Redmi note 9 pro

                        Damian1944D 1 Reply Last reply Reply Quote 0
                        • Damian1944D Offline
                          Damian1944 @beyolf
                          last edited by

                          @beyolf Hello! With pleasure. I will definitely join the Telegram group. Thank you for the invitation. Have a good night too! 🙂

                          device with Ubuntu Touch: Redmi Note 9 Pro

                          D 1 Reply Last reply Reply Quote 1
                          • D Offline
                            DPITTI @Damian1944
                            last edited by

                            This post is deleted!
                            D 1 Reply Last reply Reply Quote 0
                            • D Offline
                              DPITTI @DPITTI
                              last edited by DPITTI

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                beyolf
                                last edited by

                                Hello guys,

                                Small update . There is RC channel available now for miatoll devices, also when focal OTA-3 comes out there will be a stable channel too.

                                Have a great day/night.

                                Ubuntu Touch fan
                                UT Focal port for miatoll contributor.
                                Device:
                                Redmi note 9 pro

                                D 1 Reply Last reply Reply Quote 4
                                • D Offline
                                  DPITTI @beyolf
                                  last edited by

                                  This post is deleted!
                                  B 1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    beyolf @DPITTI
                                    last edited by beyolf

                                    @DPITTI
                                    The stock firmwares are listed in a link in the device info page.

                                    You were never "available" for testing , because testing is a personal choice. Nobody is forcing you to use or test UT. Nobody asked you to test anything , that is your own personal choice. I only updated you when there is something new as you asked me to do. The problems which you face with the UT groups is consequence of your own actions and behavior and i am not responsible for that.

                                    Have a good day.

                                    Ubuntu Touch fan
                                    UT Focal port for miatoll contributor.
                                    Device:
                                    Redmi note 9 pro

                                    D 1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      DPITTI @beyolf
                                      last edited by

                                      This post is deleted!
                                      D 2 Replies Last reply Reply Quote 0
                                      • D Offline
                                        DPITTI @DPITTI
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          DPITTI @DPITTI
                                          last edited by

                                          This post is deleted!
                                          Josele13J 1 Reply Last reply Reply Quote 0
                                          • Josele13J Offline
                                            Josele13 @DPITTI
                                            last edited by

                                            @DPITTI Try another version of Xiaomi, I use the v12.0.1 global version on a european mobile, everything works except two things, that is assumable, here there are not 300 developers as in android, you can use other OS without rubbing it here, If you keep talking like this you will be kicked out of the forum too.

                                            Xiaomi Redmi Note 9 pro
                                            Oneplus Nord 100
                                            Xiaomi Redmi Note 7
                                            Nexus 5
                                            Bq E4.5 Ubuntu edition .... is dead

                                            D 1 Reply Last reply Reply Quote 0
                                            • D Offline
                                              DPITTI @Josele13
                                              last edited by DPITTI

                                              @Josele13 This is completely ok if I should leave the forum voluntarily! Thanks for pointing out the V12.0.1.0. Can be done with TWRP without losing the OS. And again for all the people who think I am a developer, no and again no, just a normal user. Just because I now get along with TWRP and Co. Logically, there are no 300 developers, but the Xiaomi devices should finally be left on one firmware. No more tests from me, I find it too time-consuming to constantly flash the OS. You feel like you've been taken for a ride. No, the developers are not to blame, only the 10 firmware versions. I think it's time to leave here too. Greetings to all freaks from the Xiaomi department.

                                              My pictures and posts have been deleted. Now you can do whatever you want with your OS UT without me. In this sense, happy work and hopefully with a successful port. Since Bluetooth doesn't work anyway, I'm no longer keen on Ubport's Ubuntu. I think that Debian might be better.

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