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

    Send Some: UBports Installer Love (week 5)

    Scheduled Pinned Locked Moved Design
    18 Posts 7 Posters 2.5k 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.
      • IngoI Offline
        Ingo
        last edited by

        I hope it's not too off-topic but I'd like to see some love for the log of the installer, mainly in case of errors. Sometimes the error details are missing and sometimes errors are not logged at all.

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

          @3arn0wl That is because the installer code is checking something other than the snap store (which it really can't do easily), and the newer version is not packaged as a snap yet (for whatever reason). Otherwise you'd almost never see that message, as snapd already automatically updates packages in the background.

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @dobey
            last edited by

            Thanks @dobey

            1 Reply Last reply Reply Quote 0
            • X Offline
              xqqy
              last edited by

              Actually, today's version works really good. And how about make it stronger: let it unlock the bootloader automatically. As it is easy to make it for some phones(such as nexus7, only need "fastboot oem unlock")
              And a big idea maybe off-topic:let UBports Installer automatically port the ubuntu-touch to android devices. This is a big deal, but it is achievable for these devices have lineage or CM.

              CiberSheepC 1 Reply Last reply Reply Quote 0
              • CiberSheepC Offline
                CiberSheep @xqqy
                last edited by

                @xqqy said in Send Some: UBports Installer Love (week 5):

                Actually, today's version works really good.

                I agree but we are in the speculative design area:)

                And how about make it stronger: let it unlock the bootloader automatically. As it is easy to make it for some phones(such as nexus7, only need "fastboot oem unlock")

                I think is there because depending on your device and provider, you might loose your warranty (not with bq, they were the few that I know that you could change the OS and keep the warranty. But even buying a second hand Nexus 5 (refurbished) I got this «if you modify the OS you loos the warranty»

                And a big idea maybe off-topic:let UBports Installer automatically port the ubuntu-touch to android devices. This is a big deal, but it is achievable for these devices have lineage or CM.

                I didn't understand this point. Porting Ubuntu Touch to a random Android device is not that easy, that's why there's a whole porting team, some devices that UT runs on and hallium project to ease the porting pain 🙂

                Another planet, another time, another universe!

                X 1 Reply Last reply Reply Quote 0
                • IngoI Offline
                  Ingo
                  last edited by

                  In the Fairphone forum someone asked why the installer doesn't automatically reboot to bootloader by issuing adb reboot bootloader.
                  In fact I do not know if the installer actually tries it and fails or if it by design wants the user to do the reboot manually.

                  advocatuxA AnotherElkA 2 Replies Last reply Reply Quote 0
                  • advocatuxA Offline
                    advocatux @Ingo
                    last edited by

                    @ingo as I understand it (I might be wrong) the installer does this:

                    });
                        downloadEvent.on("adbpush:done", () => {
                            console.log("Done pushing files");
                            console.log("Rebooting to recovery to flash");
                            adb.reboot("recovery", () => {});
                    });
                    
                    IngoI 1 Reply Last reply Reply Quote 0
                    • X Offline
                      xqqy @CiberSheep
                      last edited by xqqy

                      @CiberSheep
                      It seems is much harder than I think of the porting job on halium. 😅

                      But for unlock bootloader, I think if a user want to flash ubuntu-touch into their phone, they should already know these risks.
                      Rather than let user searching for how to unlock it, we can give them a easy way.
                      And of crouse installer should warn them before do the install job.

                      1 Reply Last reply Reply Quote 1
                      • IngoI Offline
                        Ingo @advocatux
                        last edited by

                        @advocatux Yeah, but that is rebooting to recovery, not bootloader, i.e. a different step.

                        advocatuxA 1 Reply Last reply Reply Quote 0
                        • AnotherElkA Offline
                          AnotherElk @Ingo
                          last edited by AnotherElk

                          @ingo said in Send Some: UBports Installer Love (week 5):

                          In the Fairphone forum someone asked why the installer doesn't automatically reboot to bootloader by issuing adb reboot bootloader.

                          Yeah, that was me, and that was only a minor detail I noticed with the UBports Installer. The major issue was that the installer didn't work for me (and I'm not the only one for whom it doesn't work), and there are no clear error messages to figure out what exactly it even tries to do and why that would perhaps fail.
                          To avoid some back and forth, I'll say it here, too:

                          If the installer would work like intended, I guess it would be super-convenient.
                          But it very obviously doesn’t work reliably yet, and so you can easily get stuck, because there is no alternative way given to install (at least on the Fairphone 2).

                          Not everybody is a developer able to patch the installer source code and build it from source, but there are experienced users out there.
                          You could just list the steps the installer is trying to do, and then let the users figure out manually what exactly fails why on their devices and how to prevent/ work around it … and with the feedback from this, the installer would improve in no time.

                          advocatuxA 1 Reply Last reply Reply Quote 0
                          • advocatuxA Offline
                            advocatux @Ingo
                            last edited by advocatux

                            @ingo yes, that's what I meant, that it only does those commands afaik 🙂

                            1 Reply Last reply Reply Quote 0
                            • advocatuxA Offline
                              advocatux @AnotherElk
                              last edited by

                              @anotherelk the installer's code is at https://github.com/ubports/ubports-installer/ if you want to take a look

                              AnotherElkA 1 Reply Last reply Reply Quote 0
                              • AnotherElkA Offline
                                AnotherElk @advocatux
                                last edited by

                                @advocatux said in Send Some: UBports Installer Love (week 5):

                                @anotherelk the installer's code is at https://github.com/ubports/ubports-installer/ if you want to take a look

                                I can only wish the installer, which currently fails to impress on a "promoted device", the best of luck with this approach 😉 .

                                1 Reply Last reply Reply Quote 0
                                • CiberSheepC Offline
                                  CiberSheep
                                  last edited by

                                  Please, keep focus.
                                  This thread is for sending design concepts for the installer, not bugs (there's a section for that).
                                  Thanks

                                  Another planet, another time, another universe!

                                  advocatuxA 1 Reply Last reply Reply Quote 2
                                  • advocatuxA Offline
                                    advocatux @CiberSheep
                                    last edited by

                                    @cibersheep yes, you're right, sorry. I should check which thread I am in before replying 🙂

                                    1 Reply Last reply Reply Quote 1
                                    • CiberSheepC Offline
                                      CiberSheep
                                      last edited by

                                      Time is up...
                                      Let's have a break, as December seems to be busy month.

                                      Stay tuned to your bat-channel

                                      Another planet, another time, another universe!

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