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

    Booting twrp freezes

    Scheduled Pinned Locked Moved Oneplus 5/5T
    17 Posts 3 Posters 1.5k 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.
      • LakotaubpL Offline
        Lakotaubp @PauloAugusto
        last edited by

        @pauloaugusto I have managed ton get as far as UBports recovery but thats it. out of time for today.

        1 Reply Last reply Reply Quote 0
        • LakotaubpL Offline
          Lakotaubp @PauloAugusto
          last edited by

          @pauloaugusto Tried again this morning. Got connection lost message, changed cable and all went well. So keep trying and change the usb cable and you should be ok. Good luck

          1 Reply Last reply Reply Quote 0
          • P Offline
            PauloAugusto
            last edited by

            It is still failing for me and I don't think it is the cable. This is a screengrab sequence of everything I did on my latest attempt:

            There's a slight mistake with the instructions - to invoke the special boot menu it is holding Power + VolumeDown. The combo Power + VolumeUp does nothing on my OnePlus 5:
            980b2391-36ad-4bf9-8e30-2ff4e99fb898-image.png

            93d6278d-32fc-4687-8a65-5bf1b1992a4e-image.png

            Then finally in Fastboot mode:
            e069ec70-f733-4c4e-a3f1-506c209e70cb-image.png

            Started ub-ports as root + sspecifying the OnePlus5 config file, Justin Case,

            # ubports-installer -f /home/paulo/Desktop/cheeseburger.yml
            

            Installer automatically detects the mobile, I check all checkboxes:
            910b89d6-a6f7-40d9-aad4-1fc963d33e77-image.png

            Installer asks me to continue (and gives me the wrong? instruction to Power+VolumeUp):
            aa7f05fe-93ef-4bd3-a33d-7e51d78c05cf-image.png

            After reboot the mobile just hangs:
            ec3378b6-893f-4d0d-8424-0a570c1113fc-image.png

            I notice that the mobile is still responsive and is in "fastboot" (whatever that means), so I make is boot up the latest TWRP:

            root@paulo-B450-AORUS-ELITE:~/.cache/ubports# fastboot devices
            957ec7db	fastboot
            root@paulo-B450-AORUS-ELITE:~/.cache/ubports# fastboot flash recovery /home/paulo/Desktop/twrp-3.4.0-1-cheeseburger.img
            target reported max download size of 536870912 bytes
            sending 'recovery' (33412 KB)...
            OKAY [  0.792s]
            writing 'recovery'...
            OKAY [  0.314s]
            finished. total time: 1.106s
            root@paulo-B450-AORUS-ELITE:~/.cache/ubports# fastboot boot /home/paulo/Desktop/twrp-3.4.0-1-cheeseburger.img
            downloading 'boot.img'...
            OKAY [  0.797s]
            booting...
            OKAY [ 10.094s]
            finished. total time: 10.891s
            

            Once TWRP boots up, the installer recognizes it and reacts:
            9655c758-2257-4316-b2cc-964b6766c49e-image.png

            Following the instructions:
            e35fe2ac-3446-4556-8a91-933c334ca8fe-image.png

            601d8dc4-be6c-4642-8ca6-9c4bdb6d4ea6-image.png

            28e21695-332a-4801-a018-9fe289260e8d-image.png

            Instead of following directly the instructions, I pressed back, back, then Reboot, then Bootloader:
            709f55b4-abe6-4d81-81ec-b91c525aa4ad-image.png

            Installer recognizes the mobile in the Boot menu and issues a reboot:
            0733c87b-7515-4626-b22f-08ca8f02ebee-image.png
            c5fbe94e-f0a6-4d1f-8bed-49d3cb8d287f-image.png

            However, once again the mobile doesn't progress from the Bootup image:
            d3fcbf82-fd0e-40e8-b80c-3c76fdc4711d-image.png

            Once again I detect that the mobile is recognized by Fastboot, so I reboot it to boot loader then start in Recovery Mode:

            root@paulo-B450-AORUS-ELITE:~/.cache/ubports# fastboot devices
            957ec7db	fastboot
            root@paulo-B450-AORUS-ELITE:~/.cache/ubports# fastboot reboot-bootloader
            rebooting into bootloader...
            OKAY [  0.000s]
            finished. total time: 0.050s
            root@paulo-B450-AORUS-ELITE:~/.cache/ubports#
            

            Installer recognizes the mobile after restarting in Recovery Mode:
            17776f81-7a3a-4212-99f0-f9222aea0411-image.png

            However now it always fails with something which I'm suspecting is not the cable (and UBports is now loaded):
            6128cdf9-7b5c-4729-8073-9c15428c0cad-image.png

            1 Reply Last reply Reply Quote 0
            • P Offline
              PauloAugusto
              last edited by

              In the UBports menu I saw it mentions 2 log files:
              6e3a694a-9a33-4a64-b08f-27d94505e68e-image.png

              So I downloaded them with the Fastboot command:
              I cannot paste files into here, it tells me I'm not authorized...

              LakotaubpL 2 Replies Last reply Reply Quote 0
              • LakotaubpL Offline
                Lakotaubp @PauloAugusto
                last edited by

                @pauloaugusto The third picture up is where I got to before I changed the cable. Also to reboot using vol up and power i had to disconnect the OP5 to get it to work so that button press can be awkward. You could try just unplugging, replugging and pressing try again. Also on my last attempt I did not pick wipe data or firmware update but that probably was just coincidence.

                1 Reply Last reply Reply Quote 0
                • flohackF Offline
                  flohack
                  last edited by

                  Please try to use the installer now without -f, the yml file might have changed after we released it, and so if you keep using the local one you might not get important updates.

                  My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                  1 Reply Last reply Reply Quote 0
                  • LakotaubpL Offline
                    Lakotaubp @PauloAugusto
                    last edited by

                    @pauloaugusto The connection lost message seems to appear across a few devices here and in the Install group on TELEports so not sure what the reason is. You are very close now so it should just be a matter of re-trying. You could just unplug and replug the same cable and try again or any other you have to hand. The newness of the cable seems not to matter. I also did not use the -f for the yml just the installer as Flohack suggested.

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      PauloAugusto
                      last edited by

                      I tried again, with a new cable, without the "-f" option, and without checking the "Update Firmware" or "Wipe user data".

                      Everything ran perfectly smoothly this time and I now have Ubuntu Touch UBports-version running. Can't say for sure, but I suspect the cause of the issues was the checkboxes I was ticking before. This time I left them unticked, since Lakotaubp mentioned that's how s/he was doing it successfully. (looking back, don't know why I didn't try that before - a couple of good night's sleep are good advisors)

                      Alas I'm finally free from the unbelievable level of T&C abuse and Orwellian level of spying and am now free again to turn on mobile data, location, have maps, etc. Finally, ffs! Been waiting years since Canonical unfortunately (though understandably) dropped Ubuntu Phone.

                      What a marvelous feeling of renewed freedom.
                      Thank you for the help.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        PauloAugusto
                        last edited by PauloAugusto

                        I had a slight issue with the OnePlus 5, though - it didn't recognize the SIM card.

                        I rebooted <- nothing
                        Took the SIM card off, put it on again and rebooted <- nothing
                        | The mobile is Dual-SIM, so: |
                        Took the SIM card off from the outermost slot and changed it to the innermost slot <- recognized <- rebooted and now everything ok.

                        (the SIM card is Lycamobile Portugal and I'm currently residing in Finland, though I suspect that doesn't affect anything, but still FYI)

                        LakotaubpL 1 Reply Last reply Reply Quote 1
                        • LakotaubpL Offline
                          Lakotaubp @PauloAugusto
                          last edited by

                          @pauloaugusto Great your up and running and yes I am using the first sim slot too. Not sure that the dual sim works on any device yet.

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