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

    Locking bootloader re-enabled Andoid!

    Scheduled Pinned Locked Moved Unsolved Support
    6 Posts 4 Posters 756 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.
      • M Offline
        mikeand
        last edited by

        Hi all,
        My first post here, I have a Fairphone 3 which a couple of weeks back I happily installed UT using ubports-installer on a Mac.
        I was very pleased with my install getting it nicely configured as I liked it. Then I decided I was over due locking the bootloader. I carried this out from terminal on my Ubuntu Mac. Low and behold on restart I was back in Android with no hint of the existence of my lovely UT install. It was as if the phone had been clean installed with a new Android install. WTF. Scuse my language, but did I screw up horribly locking the bootloader. Kind of difficult to get wrong even for me, it is only 1 command. Any thoughts much appreciated.

        MoemM 1 Reply Last reply Reply Quote 0
        • MoemM Offline
          Moem @mikeand
          last edited by

          @mikeand As far as I know*, UT does not work with a locked bootloader. I'm sorry you had to find out the hard way!

          *and I sure hope someone corrects me if I'm mistaken

          Is currently using an Op5t
          Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            mikeand @Moem
            last edited by

            @moem Bugger, OK that was the hard way to find out. I thought I should heed the warnings of the risks to 'Software Integrity' Is this a non issue with UT or should I be concerned running with a unlocked bootloader?

            LuksusL 1 Reply Last reply Reply Quote 0
            • LuksusL Offline
              Luksus @mikeand
              last edited by Luksus

              @mikeand An unlocked bootloader is a problem, if someone steels your phone, than he will have full access to your device.
              Sadly UT does not work with locked bootloader... please read this comment for further explanations: https://forums.ubports.com/post/47334.

              Regarding your specific situation:
              The Fairphone 3 has slot A and B. It is a feature in case something wents wrong on an OTA update and the current slot is not bootable anymore.
              UT got installed on the current slot (lets assume it was slot A).
              Maybe your device switched the "slots" after locking and rebooting, because slot A was not bootable anymore. Then it booted the Android system, which was still there on slot B.

              That means, you could try to switch back to slot A again and boot UT again. But to switch slots, you would need to unlock the bootloader again, which always wipes your data-partition.
              So I don't think that you can get back your UT data.

              The fastboot-commands for getting current and switching slots are:

              fastboot getvar current-slot
              fastboot --set-active=a #or b
              

              Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

              1 Reply Last reply Reply Quote 0
              • M Offline
                mikeand
                last edited by

                Hi Luksus, Moem, sorry for the delayed reply, I have been offline for a few days. Thanks to both of you, its sounds like the most likely scenario. I didn't have a chance to post before I went AWOL. But I did try a unlock and reinstall, which appeared to go perfectly. But on boot neither sim slots were recognised and I received a 'No Network' in any app that would address the sim.

                To test I reinstalled the latest FP3 android and all worked correctly. I will try putting UT back on tomorrow and see what happens.

                Thanks guys for all your help so far.

                I will let you know if I stuff up my phone again 🙂

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kugiigi
                  last edited by

                  Actually you may even be lucky that Android booted. From what I read/heard, locking bootloader while UT is installed may brick your device because you won't have a bootable OS and a way to unlock the bootloader again. I may be wrong or misunderstood that though 😅

                  In any case, congrats with your new UT device and good luck 😄

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