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

How to go back to OTA-3?

Scheduled Pinned Locked Moved Support
nexus5ota-5
34 Posts 8 Posters 6.8k 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.
    • K Offline
      Krille
      last edited by 23 Oct 2018, 08:19

      At the trip in Vienna GPS always broke again after some time. You were right. 😞 I'm now switched to the rc channel and there it seems to work so far...

      1 Reply Last reply Reply Quote 1
      • M Offline
        mprotic
        last edited by mprotic 11 Nov 2018, 22:30 11 Nov 2018, 22:28

        @lyovushka

        How did you hack the ubports-installer to install OTA3 ?

        1 Reply Last reply Reply Quote 0
        • M Offline
          mprotic
          last edited by 12 Nov 2018, 20:36

          This works for rollback to OTA3:

          ubuntu-device-flash --server=http://system-image.ubports.com touch --device=arale --channel=15.04/stable --revision=3

          1 Reply Last reply Reply Quote 0
          • J Offline
            jezek @advocatux
            last edited by 14 Nov 2018, 17:57

            @advocatux said in How to go back to OTA-3?:

            What happens if you run this in your phone terminal? sudo system-image-cli --switch 15.04/stable

            Today I tried to downgrade back to 15.04... Didn't work. The device was a clean install.

            Just reffering...

            jEzEk

            A 1 Reply Last reply 14 Nov 2018, 18:05 Reply Quote 0
            • A Offline
              advocatux @jezek
              last edited by advocatux 14 Nov 2018, 18:05

              @jezek have you tried forcing the UT version with that command @mprotic posted?

              If you don't have ubuntu-device-flash installed in your computer [*] you can install Ubuntu 16.04 in a usb stick and install in it all the necessary tools too (ubports-installer, adb, and fastboot).

              [*] Assuming you don't have xenial running in your computer 🙂

              Edit: of course, don't forget to change "arale" for "FP2" in your case

              1 Reply Last reply Reply Quote 0
              • J Offline
                jezek
                last edited by jezek 14 Nov 2018, 18:11

                Strange. On my notbook, I have adb, fastboot and even ubports-installer installed, but the ubunt-device-flash command is missing. How can I install it?

                edit: notebook is a

                $ lsb_release -a
                No LSB modules are available.
                Distributor ID:	Ubuntu
                Description:	Ubuntu 18.04.1 LTS
                Release:	18.04
                Codename:	bionic
                

                jEzEk

                A 1 Reply Last reply 14 Nov 2018, 18:16 Reply Quote 0
                • A Offline
                  advocatux @jezek
                  last edited by advocatux 14 Nov 2018, 18:16

                  @jezek it's only available for trusty & xenial. If you're running anyone of them, you can install ubuntu-device-flash (you forgot an 'u' btw) enabling the "universe" repo.

                  Edit: ah, you edited your post. Use a live usb stick then or try to run that package (https://packages.ubuntu.com/xenial/ubuntu-device-flash) on your computer but I don't know if it will work.

                  Another edit: Thinking about that now, I think someone (maybe @dobey?) built that tool for 18.04.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jezek
                    last edited by 14 Nov 2018, 18:21

                    @advocatux Sorry, where did I forgot an 'u'?

                    jEzEk

                    A 1 Reply Last reply 14 Nov 2018, 18:23 Reply Quote 0
                    • A Offline
                      advocatux @jezek
                      last edited by 14 Nov 2018, 18:23

                      @jezek in ubunt-device-flash. I pointed at that just in case you were typing the wrong command 🙂

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jezek
                        last edited by 14 Nov 2018, 18:25

                        @advocatux ahh... I see... just a typo on this forum... in terminal I tried the right thing...

                        jEzEk

                        A 1 Reply Last reply 14 Nov 2018, 18:26 Reply Quote 0
                        • A Offline
                          advocatux @jezek
                          last edited by 14 Nov 2018, 18:26

                          @jezek I've found that tool built for your OS 🙂

                          https://repo.ubports.com/pool/bionic/main/g/goget-ubuntu-touch/ubuntu-device-flash_0.35+ubports+0~20181003134221.2~1.gbp4044a0_amd64.deb

                          J S 2 Replies Last reply 14 Nov 2018, 18:42 Reply Quote 0
                          • J Offline
                            jezek @advocatux
                            last edited by 14 Nov 2018, 18:42

                            @advocatux said in How to go back to OTA-3?:

                            @jezek I've found that tool built for your OS 🙂

                            https://repo.ubports.com/pool/bionic/main/g/goget-ubuntu-touch/ubuntu-device-flash_0.35+ubports+0~20181003134221.2~1.gbp4044a0_amd64.deb

                            $ sudo dpkg -i ubuntu-device-flash_0.35+ubports+0_20181003134221.2_1.gbp4044a0_amd64.deb 
                            [sudo] password for jezek: 
                            (Reading database ... 356801 files and directories currently installed.)
                            Preparing to unpack ubuntu-device-flash_0.35+ubports+0_20181003134221.2_1.gbp4044a0_amd64.deb ...
                            Unpacking ubuntu-device-flash (0.35+ubports+0~20181003134221.2~1.gbp4044a0) over (0.34-0ubuntu1) ...
                            dpkg: dependency problems prevent configuration of ubuntu-device-flash:
                             ubuntu-device-flash depends on click-ubuntu-policy; however:
                              Package click-ubuntu-policy is not installed.
                             ubuntu-device-flash depends on debsig-verify; however:
                              Package debsig-verify is not installed.
                             ubuntu-device-flash depends on kpartx; however:
                              Package kpartx is not installed.
                             ubuntu-device-flash depends on qemu-user-static; however:
                              Package qemu-user-static is not installed.
                            
                            dpkg: error processing package ubuntu-device-flash (--install):
                             dependency problems - leaving unconfigured
                            Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
                            Errors were encountered while processing:
                             ubuntu-device-flash
                            

                            I have to sort out the dependency stuff somehow... anyway thank you

                            jEzEk

                            A 1 Reply Last reply 14 Nov 2018, 18:45 Reply Quote 0
                            • A Offline
                              advocatux @jezek
                              last edited by 14 Nov 2018, 18:45

                              @jezek you're welcome. I'm pinging Rodney now, he built that package and he knows the solution for sure 🙂

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                Stefano @advocatux
                                last edited by 14 Nov 2018, 18:45

                                @advocatux it won't install on mine 18.04, it shows installing, shows 100 %, and then nothing. How's that?

                                1 Reply Last reply Reply Quote 0
                                • dobeyD Offline
                                  dobey
                                  last edited by 14 Nov 2018, 18:50

                                  @jezek You should be able to run sudo apt-get -f install after manually installing a package with dpkg, to resolve the dependencies. If any are uninstallable though, I think it will just remove the package you were trying to install. I'm not sure if all of those dependencies are available in Ubuntu 18.04 though.

                                  All I did was fix the build so goget-ubuntu-touch would build on bionic. If it's not working/installing, feel free to open an issue or two on https://github.com/ubports/goget-ubuntu-touch about it.

                                  1 Reply Last reply Reply Quote 1
                                  • J Offline
                                    jezek
                                    last edited by 14 Nov 2018, 22:14

                                    Meantime I tried to downgrade via ubports-installer
                                    Selected 15.04/stable, choose wipe option (for sure) and followed the instructions... result was, that 16.04/stable was installed...

                                    To summarize: It is NOT possible to downgrade to 15.04 either with ubports-installer, nor with system-image-cli. And on 18.04 I failed to install ubuntu-device-flash tool, so there is no way to downgrade to me for now.

                                    I will not accept defeat, will try again. Any suggestions?

                                    Btw, the phone is FP2.

                                    jEzEk

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jezek
                                      last edited by 14 Nov 2018, 22:23

                                      @lyovushka Please, help me. How did you hack the ubports-installer to install 15.04/stable - OTA3?

                                      jEzEk

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jezek
                                        last edited by jezek 14 Nov 2018, 23:12

                                        @dobey How did you build the goget-ubuntu-touch

                                        I have tried to clone the repository and followed the README.md, but it was a dead end.

                                        Then I used the go get -v -u github.com/ubports/goget-ubuntu-touch/ubuntu-device-flash command... result

                                        github.com/ubports/goget-ubuntu-touch (download)
                                        github.com/jessevdk/go-flags (download)
                                        Fetching https://launchpad.net/goget-ubuntu-touch/devices?go-get=1
                                        Parsing meta tags from https://launchpad.net/goget-ubuntu-touch/devices?go-get=1 (status code 404)
                                        launchpad.net/goget-ubuntu-touch (download)
                                        go: missing Bazaar command. See https://golang.org/s/gogetcmd
                                        package launchpad.net/goget-ubuntu-touch/devices: exec: "bzr": executable file not found in $PATH
                                        Fetching https://launchpad.net/goget-ubuntu-touch/diskimage?go-get=1
                                        Parsing meta tags from https://launchpad.net/goget-ubuntu-touch/diskimage?go-get=1 (status code 404)
                                        package launchpad.net/goget-ubuntu-touch/diskimage: cannot find package "launchpad.net/goget-ubuntu-touch/diskimage" in any of:
                                        	/usr/local/go/src/launchpad.net/goget-ubuntu-touch/diskimage (from $GOROOT)
                                        	/home/jezek/.go/src/launchpad.net/goget-ubuntu-touch/diskimage (from $GOPATH)
                                        Fetching https://launchpad.net/goget-ubuntu-touch/sysutils?go-get=1
                                        Parsing meta tags from https://launchpad.net/goget-ubuntu-touch/sysutils?go-get=1 (status code 404)
                                        package launchpad.net/goget-ubuntu-touch/sysutils: cannot find package "launchpad.net/goget-ubuntu-touch/sysutils" in any of:
                                        	/usr/local/go/src/launchpad.net/goget-ubuntu-touch/sysutils (from $GOROOT)
                                        	/home/jezek/.go/src/launchpad.net/goget-ubuntu-touch/sysutils (from $GOPATH)
                                        Fetching https://launchpad.net/goget-ubuntu-touch/ubuntuimage?go-get=1
                                        Parsing meta tags from https://launchpad.net/goget-ubuntu-touch/ubuntuimage?go-get=1 (status code 404)
                                        package launchpad.net/goget-ubuntu-touch/ubuntuimage: cannot find package "launchpad.net/goget-ubuntu-touch/ubuntuimage" in any of:
                                        	/usr/local/go/src/launchpad.net/goget-ubuntu-touch/ubuntuimage (from $GOROOT)
                                        	/home/jezek/.go/src/launchpad.net/goget-ubuntu-touch/ubuntuimage (from $GOPATH)
                                        

                                        so I have fixed all imports in .go files from launchpad.net to github.com/ubports and managed to build the ubuntu-image-flash binary and ran it. But with no success:

                                        $ ubuntu-device-flash --server=http://system-image.ubports.com touch --device=FP2 --channel=15.04/stable --revision=3
                                        Unknown command `ubuntu-device-flash'. Please specify one command of: core, personal, query or touch
                                        

                                        any suggetions?

                                        jEzEk

                                        1 Reply Last reply Reply Quote 0
                                        • dobeyD Offline
                                          dobey
                                          last edited by 15 Nov 2018, 01:31

                                          I just tweaked a few things to get the debian package building in CI. I didn't actually build it locally.

                                          I didn't run it either. I just presumed if it built, it would work.

                                          You can however, grab the ubuntu-device-flash package from the official Ubuntu 16.04 repositories, and it does indeed run and work on 18.04. I'm not sure why the build in the ubports repo would not work. It seems there may be some additional issues there.

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            advocatux
                                            last edited by 15 Nov 2018, 08:27

                                            I will not accept defeat, will try again. Any suggestions?

                                            @jezek my suggestion still is: use a live usb stick running xenial & the necessary tools 🙂

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