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

    ubports-qa update

    Scheduled Pinned Locked Moved Xiaomi Redmi Note 7
    23 Posts 7 Posters 3.9k 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.
      • K Offline
        kugiigi @Markatrafik
        last edited by

        @markatrafik Hotfix OTA update can be released if there's an urgent security fix. You may raise the security issue to the core team and they will decide if it's worth a quick release.

        As for the UBports installer, it is continuously improving but of course it's still not perfect. Contributions are greatly welcome and appreciated šŸ™‚

        stanwoodS 1 Reply Last reply Reply Quote 1
        • M Offline
          Markatrafik
          last edited by

          And yet... can you tell me how to install, within the concept of UBports, some deb application from apt repository or just a deb package with dpkg? Is it necessary to remount the partition in r/w? Or is this considered a non-standard action on the end device and could break the system? - this is unfortunate, would cool to be able to do this.

          Thank you so much for doing a good job!
          I hope to be able to help you in some way in the future.

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

            @markatrafik said in ubports-qa update:

            And yet... can you tell me how to install, within the concept of UBports, some deb application from apt repository or just a deb package with dpkg? Is it necessary to remount the partition in r/w? Or is this considered a non-standard action on the end device and could break the system?

            Yes to use apt you need to make the system r/w.
            Yes it is considered as a non-standard action.
            Yes, depending on what you do, you can break system or OTA updates.

            But if you know what you do, if you well know Ubuntu Touch, that can be no problem.

            Recently i did that (r/w + apt) because @Flohack, a core dev, needed some infos from my device (from evtest tool), but i did this under his knowledge, knowing that he wouldn't make me brake my system.

            In normal use, i stay in the standard use of the system, because i don't have skill to step out of it, and it is my daily driver so i don't want to mess with it.

            2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
            2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
            2024-***** : FPOS Fairphone 5 waiting UT for freedom šŸ˜‰
            šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

            M 2 Replies Last reply Reply Quote 0
            • stanwoodS Offline
              stanwood @kugiigi
              last edited by

              @kugiigi I Confirm that UBports Installer (0.8.7 Beta on Ubuntu 20.04.2) works pretty well with Redmi Note 7:

              UBports intaller redmi note 7 1.jpg

              UBports installer Redmi Note 7 2.jpg

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

              1 Reply Last reply Reply Quote 0
              • M Offline
                Markatrafik @Keneda
                last edited by

                @keneda let's just say, probably not always so... since I tried it on different machines under Debian 9, and there was always a problem. I was run it from under an unprivileged user, maybe it was necessary to run from under the root? Maybe I needed to add a user to the dialout group or make symlinks to adb and fastboot? Okay, next time, I'll try again with logs and screenshots... Sorry...

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Markatrafik @Keneda
                  last edited by Markatrafik

                  But if you know what you do, if you well know
                  Ubuntu Touch, that can be no problem.

                  As I understand it, I need to take old deb packages witch compatible to installed, which will not entail by dependencies and the need to replace libraries. Some libraries may pull dependencies of other packages, which in turn may break the system. Or to build static packages of what I need with debhelper etc... Just, I was hoping there was a standard way to install a number of simple shell standalone applications and utilities that would not affect dbus/systemd, udev, networking, vendor stuff and so on.
                  And No, Ubuntu Touch I do not know well enough, but I plan to look at the project. However I know Linux since kernel 0.0.99 and Debian since 1.2/rex šŸ™‚ desktop Ubuntu, some other Un*x systems, slightly Android.

                  AppLeeA 1 Reply Last reply Reply Quote 0
                  • AppLeeA Offline
                    AppLee @Markatrafik
                    last edited by

                    @markatrafik
                    Hi using APT is not standard on Ubnutu Touch, the standard way is to use click packages.

                    You can use sofwares packaged as .deb and repackaged them into a click.
                    If they are simple CLI than I think it won't be hard to include the necessary libraries into a click package.
                    This click can then be uploaded to the Open Store and be made available to all.

                    Of course on mobile, a nice GUI is always welcome šŸ˜‰

                    1 Reply Last reply Reply Quote 1
                    • M Offline
                      Markatrafik
                      last edited by Markatrafik

                      And, what about pkcon utility? It reports that over ~ 15 repositories are connected to it. But when you try to install, for example, mc - it crashes. Did this tool come from the Canonical and must not be used?

                      dobeyD 1 Reply Last reply Reply Quote 0
                      • dobeyD Offline
                        dobey @Markatrafik
                        last edited by

                        @markatrafik The supported method for installing legacy and CLI apps from the Ubuntu archive, is via a Libertine container.

                        1 Reply Last reply Reply Quote 1
                        • M Offline
                          Markatrafik
                          last edited by Markatrafik

                          Without ubports-qa update, all seems to be ok...
                          ~$ sudo bash
                          ~# mount -o remount,rw /
                          ~# apt-get install joe
                          ~# sync
                          ~# mount -o remount,ro /
                          ~# reboot
                          System is booting, working, and no errors in logs...
                          Btw, ubports-qa - simple python script, with some manipulation with repos. But, you think, that such actions are contrary to the concept? And I need to compile a static binary together with these libraries?! and then wrap it in a package manager "click" to drop it in /opt ? No, of course, I'll probably do it that way too... but later šŸ™‚

                          M KenedaK 2 Replies Last reply Reply Quote 0
                          • M Offline
                            Markatrafik @Markatrafik
                            last edited by

                            phablet@ubuntu-phablet:~$ ldd $(which joe)
                            linux-vdso.so.1 => (0x000000707013a000)
                            libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007070050000)
                            libtinfo.so.5 => /lib/aarch64-linux-gnu/libtinfo.so.5 0x000000707001a000)
                            libutil.so.1 => /lib/aarch64-linux-gnu/libutil.so.1 (0x0000007070007000)
                            libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x000000706fec1000)
                            /lib/ld-linux-aarch64.so.1 (0x000000707010f000)

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

                              @markatrafik said in ubports-qa update:

                              But, you think, that such actions are contrary to the concept?

                              Fact is, when you'll update your phone, you'll loose any "apt" modifications you did.

                              2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
                              2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
                              2024-***** : FPOS Fairphone 5 waiting UT for freedom šŸ˜‰
                              šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

                              M 1 Reply Last reply Reply Quote 0
                              • M Offline
                                Markatrafik @Keneda
                                last edited by

                                @keneda Well... I'll remember a couple of tools šŸ™‚ But! I will listen to your opinion, because I understand that you know what you are advising, as I am not the first day in IT ...

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