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

    Flashing to UBports on PP64 Convergence

    Scheduled Pinned Locked Moved PinePhone
    15 Posts 5 Posters 1.3k 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
        mark1250 @Lt. Dillinger
        last edited by

        @lt-dillinger

        So I understand, have UBPorts on the microSD, boot the phone, then go to the terminal and use that command?

        No, you would boot the PInePhone with JumpDrive from the SD card. Connect the PinePhone to your Linux computer with a USB cable and then on the computer find the PinePhone's location using lsblk. Using that information from lsblk command, write the UBports image (ubuntu-touch-pinephone.img.xz) to the PinePhone's eMMC. Pine64 has this info on their wiki.

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          Lt. Dillinger @mark1250
          last edited by

          @mark1250 That's what I did before, but before the flashing would begin Mobian asked for me to put in my pass code, which I also did. After it was flashed I received and error message which almost bricked my phone. what I need is a way to get ride of the passcode and also the file encryption I did when I first set up the phone. I'm still on the hunt to do a complete reset as I was going to sell the phone but leave Mobian installed. I think if I could get the hard reset done, then the flash would work.

          AppLeeA 1 Reply Last reply Reply Quote 0
          • AppLeeA Offline
            AppLee @Lt. Dillinger
            last edited by

            @lt-dillinger
            Booting JumpDrive on your Pinephone connected with the USB cable will allow your computer to see the internal memory of the phone.
            As @mark1250 said, you'll have to run the command on your computer and be careful to use the device and not the partition.

            Just be careful at every step and keep the history of command lines in case it doesn't work so you can share it there for us to review.

            Good luck :crossed_fingers:

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

              If you are not seeing this image on your PinePhone using Jumpdrive on an SD card, then you didn't burn Jumpdrive correctly to the SD card.

              400px-Jumpdrive.jpg

              1 Reply Last reply Reply Quote 0
              • L Offline
                Lt. Dillinger
                last edited by

                Yes, I get that on my phone, then I use etcher to upload the UBPorts to it. All goes well till the very end, where it uploads and then verifies. Then I get the error message that the eMMC didn't accept the flash. I sent they Pine folks a ticket for help and I'm waiting to hear back from them. I think and I may be wrong, is the Mobian fies on the phone are encrypted, thus locked down and the flash won't take until they are unencrypted.

                K M 2 Replies Last reply Reply Quote 0
                • K Offline
                  kugiigi @Lt. Dillinger
                  last edited by

                  @lt-dillinger Try using bmaptool instead. Make sure you put the correct storage or else you may destroy your desktop 😅
                  Sample command:
                  sudo bmaptool copy --bmap=ubuntu-touch-pinephone.img.bmap ubuntu-touch-pinephone.img.xz /dev/sdd

                  L 1 Reply Last reply Reply Quote 0
                  • M Offline
                    mark1250 @Lt. Dillinger
                    last edited by

                    @lt-dillinger I've never used etcher, so I unable to help if that's the tool you want to use. You could ask on etcher's forum, else get your hands dirty at the command line.

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      Lt. Dillinger @kugiigi
                      last edited by

                      @kugiigi Do put this command into the terminal on the phone after boot into UBPorts on the phone?

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        mark1250 @Lt. Dillinger
                        last edited by

                        @lt-dillinger said in Flashing to UBports on PP64 Convergence:

                        @kugiigi Do put this command into the terminal on the phone after boot into UBPorts on the phone?

                        No, you would run that command in a terminal on your PC. You may need to install bmaptool. - If you are on Ubuntu: sudo apt-get install -y bmap-tools

                        Then download the .bmap file and .img.xz file.

                        Then find the block device of your PinePhone: sudo fdisk -l
                        Here is what mine looks like:

                        user@ws1:~> sudo fdisk -l
                        ...Snip...
                        Disk /dev/sdc: 29.12 GiB, 31268536320 bytes, 61071360 sectors
                        Disk model: e eMMC          
                        Units: sectors of 1 * 512 = 512 bytes
                        Sector size (logical/physical): 512 bytes / 512 bytes
                        I/O size (minimum/optimal): 512 bytes / 512 bytes
                        Disklabel type: gpt
                        Disk identifier: F74C6CF1-1978-405E-8D1A-7177BEDE414D
                        ...Snip...
                        

                        Then using @kugiigi command:

                        sudo bmaptool copy --bmap=ubuntu-touch-pinephone.img.bmap ubuntu-touch-pinephone.img.xz /dev/sdc
                        
                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          Lt. Dillinger
                          last edited by

                          Ok, I've got email(s) to the Pine Phone folks and they are looking into some options too. I'm going to hold off a bit to see what they say. I can't believe that within Mobian you cannot uncrypt your files, or do a hard reset that take Mobian back to square one.

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