• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • K Offline
      Keneda @Lt. Dillinger
      last edited by 23 Apr 2021, 01:55

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

      If so, how do you unencrypt them?

      Maybe you should ask that on Mobian community?

      2015-2023 : Meizu MX4 ☠️⚰️✝️
      2023-2024 : Nexus 5 ☠️⚰️✝️
      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
      🇲🇫🇬🇧

      L 1 Reply Last reply 23 Apr 2021, 02:11 Reply Quote 0
      • L Offline
        Lt. Dillinger @Keneda
        last edited by 23 Apr 2021, 02:11

        @keneda I have a post there too and I'm waiting for a reply. I thought maybe someone here might have an idea as this board is a bit more active. I do think that is the key, either decrypt them OR do a hard reset, which I haven't found anything out yet on how to do that.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mark1250
          last edited by 23 Apr 2021, 02:33

          If you are using jumpdrive in the pinephone, you would use dd to write the UBports image to /dev/sdX . Make sure you are writing to the whole device and not to a partition (as an example /dev/sdc would be correct, but /dev/sdc1 would be incorrect). dd should not be asking for a password as it writes at the block level. An example of the command I use is xzcat ubports-pinephone.img.xz |dd of=/dev/sdc bs= 4M iflag=fullblock oflag=direct; sync

          L 1 Reply Last reply 23 Apr 2021, 13:28 Reply Quote 0
          • L Offline
            Lt. Dillinger @mark1250
            last edited by 23 Apr 2021, 13:28

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

            M 1 Reply Last reply 23 Apr 2021, 13:53 Reply Quote 0
            • M Offline
              mark1250 @Lt. Dillinger
              last edited by 23 Apr 2021, 13:53

              @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 23 Apr 2021, 20:56 Reply Quote 0
              • L Offline
                Lt. Dillinger @mark1250
                last edited by 23 Apr 2021, 20:56

                @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.

                A 1 Reply Last reply 23 Apr 2021, 21:03 Reply Quote 0
                • A Offline
                  AppLee @Lt. Dillinger
                  last edited by 23 Apr 2021, 21:03

                  @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 23 Apr 2021, 21:19

                    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 24 Apr 2021, 15:04

                      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 24 Apr 2021, 15:18 Reply Quote 0
                      • K Offline
                        kugiigi @Lt. Dillinger
                        last edited by 24 Apr 2021, 15:18

                        @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 24 Apr 2021, 17:00 Reply Quote 0
                        • M Offline
                          mark1250 @Lt. Dillinger
                          last edited by 24 Apr 2021, 15:20

                          @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 24 Apr 2021, 17:00

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

                            M 1 Reply Last reply 24 Apr 2021, 17:33 Reply Quote 0
                            • M Offline
                              mark1250 @Lt. Dillinger
                              last edited by 24 Apr 2021, 17:33

                              @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 24 Apr 2021, 22:08

                                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
                                11 out of 15
                                • First post
                                  11/15
                                  Last post