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

    Reinstalling original version of a broken component

    Scheduled Pinned Locked Moved App Development
    8 Posts 5 Posters 399 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.
      • A Offline
        anhilde
        last edited by anhilde

        Hi,

        I have a nexus 5 with UBPorts OTA15 installed. I wanted to try out some app development. Therefore I cloned the ubuntu-app-launch git repo and ran a build using crossbuilder. The build was successful and deployed to the phone. Unfortunately, with the head revision build of branch xenial the terminal no longer launches.

        How can I now get the original OTA15 release version of the ubuntu-app-launch back on the device, without re flashing it? How do I find out, which branch/commit of the component is actually present in the OTA15 release of ubuntu-app-launcher?

        Best Regards,

        anhilde

        K lduboeufL 2 Replies Last reply Reply Quote 0
        • K Offline
          kugiigi @anhilde
          last edited by

          @anhilde I think the best way is to reflash without wipe or switch between channels. You won't lose data anyway.

          A 1 Reply Last reply Reply Quote 0
          • lduboeufL Offline
            lduboeuf @anhilde
            last edited by

            @anhilde maybe by removing the deb package and try to reinstall the last one via apt-get install ( after doing an update )?

            1 Reply Last reply Reply Quote 0
            • A Offline
              anhilde @kugiigi
              last edited by

              @kugiigi yeap, that is what I have done.

              1 Reply Last reply Reply Quote 0
              • A Offline
                anhilde
                last edited by

                What I really need to know is, whether it is possible to "undeploy" a component after depoying it via crossbuilder. But perhaps my idea about how this should work is totally flawed.

                dobeyD 1 Reply Last reply Reply Quote 0
                • dobeyD Offline
                  dobey @anhilde
                  last edited by

                  @anhilde Yes, but not easily. You can ssh/adb in and do it manually, but it's much easier to just re-flash.

                  1 Reply Last reply Reply Quote 0
                  • jezekJ Offline
                    jezek
                    last edited by

                    @anhilde You can try to look on the deploy code in crossbuilder script, and try to undeploy manually by "reverse engineering" the deploy steps. And maybe if you can find out how, you can help by implementing undeploy. 😉
                    Have a nice hacking.

                    jEzEk

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      anhilde @jezek
                      last edited by

                      @jezek good idea actually, I will give that a try.

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