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

    Installing to Pixel 3a

    Scheduled Pinned Locked Moved Google Pixel 3a/3a XL
    49 Posts 4 Posters 8.7k 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.
      • MrT10001M Offline
        MrT10001 @Fizz
        last edited by

        @Fizz It is going past fastboot. You need to use the key combination to get there - the device needs to be totally powered off. Then press Volume down and the Power button together. When the device powers on, release the power button, then a couple of seconds later the volume down button. It may take a couple of attempts to get there. Once at fastboot, connect the device to the PC.

        You are not in your platform tools folder. You need to go to your Home folder, find the Android folder. In the Android folder find the Sdk folder. In the Sdk folder open the platform-tools folder.

        Open a terminal there and copy your Pixel 3a unzipped ROM - factory image PQ3B.190801.002 into it and not in a folder, it has to be the root of the folder, not in a folder, it makes life easier.

        Now run sh flash-all.sh in terminal.

        Xiaomi Redmi Note 7.... And more...
        I have too many devices...

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          Fizz @MrT10001
          last edited by Fizz

          @MrT10001
          The problem is i can't get the thing to totally power off. If i hold the power button (takes like 5+ seconds), it will reset and go back to that bootloader warning, regardless of where it's at otherwise (that bootloader warning or Google splash). Is there some other way to force it to power off?

          Also, i don't have an Android folder in the my home folder. However, i did find it under /usr/lib/android-sdk . So i will copy my image files to there and proceed from there going forward.

          So now I just need to figure out how to get the thing to power off...

          -Fizz

          MrT10001M 1 Reply Last reply Reply Quote 0
          • MrT10001M Offline
            MrT10001 @Fizz
            last edited by MrT10001

            @Fizz Press and hold volume down and the power button till it restarts, then release the power button, keep the volume button held down for a few seconds longer.
            Unplug the device from the USB cable when doing this.
            In your Android SDK folder is power tools in there?

            Xiaomi Redmi Note 7.... And more...
            I have too many devices...

            F 1 Reply Last reply Reply Quote 0
            • F Offline
              Fizz @MrT10001
              last edited by

              @MrT10001
              OK, got it back to Fastboot Mode, thanks. It never feels like it totally powers off, but at least i am at the right screen now.

              As for the platform-tools folder, here's what i have. The highlighted files are the files moved there from the image download.

              folder2.png

              -Fizz

              MrT10001M 1 Reply Last reply Reply Quote 0
              • MrT10001M Offline
                MrT10001 @Fizz
                last edited by

                @Fizz That looks better. Ok try getting the correct Android ROM installed.

                Xiaomi Redmi Note 7.... And more...
                I have too many devices...

                F 1 Reply Last reply Reply Quote 0
                • F Offline
                  Fizz @MrT10001
                  last edited by Fizz

                  @MrT10001
                  Ugh... still issues...

                  If i just run "flash-all.sh", it still says command not found. If i run "./flash-all.sh", i get the error "fastboot too old; please download the latest version at https://developer.android.com/studio/releases/platform-tools.html". That link is the same one i used to get the file originally, so...

                  Though for what it's worth, the files in my home directory platform-tools (which are the ones downloaded from the link above) appear to be different from the ones in the/usr/lib/android-sdk/platform-tools directory (which came from my manual install of adb, maybe?) Maybe i still don't have something installed properly here.

                  I could try the Android Flash tool again i suppose... Thoughts?

                  -Fizz

                  MrT10001M 1 Reply Last reply Reply Quote 0
                  • MrT10001M Offline
                    MrT10001 @Fizz
                    last edited by

                    @Fizz See if there are any operating system updates?

                    Xiaomi Redmi Note 7.... And more...
                    I have too many devices...

                    F 3 Replies Last reply Reply Quote 0
                    • F Offline
                      Fizz @MrT10001
                      last edited by Fizz

                      @MrT10001
                      A few, but none seem related. I let my system update, but it hasn't made a difference.

                      I'm trying the Android Flash Tool again, so we'll see...

                      If that fails, then maybe i should try to un-install all the relevant Android sdk stuff and re-install it from scratch... But we'll cross that if the Flasher fails again.

                      -Fizz

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        Fizz @MrT10001
                        last edited by

                        @MrT10001
                        Nope, Android Flash failed again- 3 times, always getting stuck after the download, "timed out waiting for device to disconnect". <sigh>

                        Why is this so bloody difficult? Ugh.

                        Now what to try... reinstall adp and fastboot etc?

                        -Fizz

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          Fizz @MrT10001
                          last edited by Fizz

                          @MrT10001
                          Well, here's what i've done now...

                          As there was clearly a version difference between the two platform-tools, i looked into that. Basically, the CLI install from the Mint repositories was out of date. But the version from Android's site is the one to use.

                          So i copied the files from the Android's version into the /usr/lib/android-sdk folder. Basically, i moved the newest version files into Mint's expected install folder.

                          And now the command works- no error about the file being too old. It flashed quickly, and i'm now in the initial setup with the correct Android build. In other words, it worked!

                          So i think i'm now finally ready to run the UT installer. I'll be doing that tonight or tomorrow unless someone tells me i'm missing something. 🙂

                          Apologies for so many posts thus far, but hopefully someone else wanting to try UT will find this and save them some hassle.

                          -Fizz

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            Fizz
                            last edited by

                            Well, i have another question-

                            I've gone to start the UT install. I've downloaded the ubports-installer version 0.10.0 .deb package and installed it. So far so good.

                            But i can't figure out how to start the installer. Looking at https://docs.ubports.com/en/latest/userguide/install.html it only says "start the installer", but doesn't say how.

                            I tried running "ubports-installer" from the command line, but it returns "bash: ./ubports-installer: Permission denied". The user guide specifically says to not start it using sudo,

                            So how do i actually start the installer? Thoughts?

                            -Fizz

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

                              @Fizz said in Installing to Pixel 3a:

                              I've downloaded the ubports-installer version 0.10.0 .deb package and installed it. So far so good.

                              I'm on Mint too. For me, it placed a menu entry in the main menu, so I can just start it that way.

                              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.

                              F 1 Reply Last reply Reply Quote 0
                              • F Offline
                                Fizz @Moem
                                last edited by Fizz

                                @Moem
                                For me it didn't add to the menu anywhere. I was hoping it had, but no new menu item is found anywhere. Did you install through the .deb ?

                                Ultimately, i don't care how i start it, i just need to start it without a permissions warning. Any thoughts?

                                -Fizz

                                MrT10001M MoemM 2 Replies Last reply Reply Quote 0
                                • MrT10001M Offline
                                  MrT10001 @Fizz
                                  last edited by

                                  @Fizz Try this way:

                                  sudo apt update
                                  sudo apt install snapd
                                  sudo snap install core

                                  Then:

                                  sudo snap install ubports-installer

                                  From here.

                                  Xiaomi Redmi Note 7.... And more...
                                  I have too many devices...

                                  F 1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    Fizz @MrT10001
                                    last edited by Fizz

                                    @MrT10001
                                    Hmmm.... well when run the second line sudo apt install snapd, it tells me...

                                    Reading package lists... Done
                                    Building dependency tree       
                                    Reading state information... Done
                                    Package snapd is not available, but is referred to by another package.
                                    This may mean that the package is missing, has been obsoleted, or
                                    is only available from another source
                                    
                                    E: Package 'snapd' has no installation candidate*
                                    

                                    So not sure what's up with that.

                                    You know, when i first tried UT and installed it on my Nexus 5 a couple years back, it went so smoothly. This one has been so troublesome.

                                    -Fizz

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

                                      @Fizz said in Installing to Pixel 3a:

                                      Did you install through the .deb ?

                                      Yes I did.

                                      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.

                                      F 1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        Fizz @Moem
                                        last edited by

                                        @Moem
                                        Strange that yours added a menu item and mine did not. This was version 0.10.0? What's the name of the menu item that you see?

                                        -Fizz

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

                                          @Fizz said in Installing to Pixel 3a:

                                          This was version 0.10.0? What's the name of the menu item that you see?

                                          It is now, but I did install an earlier version first, and upgrade when the current one came out. In my menu it's listed as 'ubports-installer'.

                                          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.

                                          MrT10001M 1 Reply Last reply Reply Quote 0
                                          • MrT10001M Offline
                                            MrT10001 @Moem
                                            last edited by

                                            @Moem I had it running on Mint, Manjaro, Debian and my go to Ubuntu. It installed and ran fine.

                                            Xiaomi Redmi Note 7.... And more...
                                            I have too many devices...

                                            F 1 Reply Last reply Reply Quote 0
                                            • F Offline
                                              Fizz @MrT10001
                                              last edited by Fizz

                                              @MrT10001
                                              Then what the heck is wrong with my system that it won't run? Grrr. I suppose i can try doing the install through desktop machine instead (everything has been through my laptop thus far).

                                              -Fizz

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