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

        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