• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 28 Jan 2021, 12:38

      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 L 2 Replies Last reply 28 Jan 2021, 13:03 Reply Quote 0
      • K Offline
        kugiigi @anhilde
        last edited by 28 Jan 2021, 13:03

        @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 28 Jan 2021, 14:39 Reply Quote 0
        • L Offline
          lduboeuf @anhilde
          last edited by 28 Jan 2021, 13:06

          @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 28 Jan 2021, 14:39

            @kugiigi yeap, that is what I have done.

            1 Reply Last reply Reply Quote 0
            • A Offline
              anhilde
              last edited by 28 Jan 2021, 14:47

              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.

              D 1 Reply Last reply 28 Jan 2021, 16:16 Reply Quote 0
              • D Offline
                dobey @anhilde
                last edited by 28 Jan 2021, 16:16

                @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
                • J Offline
                  jezek
                  last edited by 28 Jan 2021, 22:14

                  @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 28 Jan 2021, 22:30 Reply Quote 0
                  • A Offline
                    anhilde @jezek
                    last edited by 28 Jan 2021, 22:30

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

                    1 Reply Last reply Reply Quote 1
                    7 out of 8
                    • First post
                      7/8
                      Last post