UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. gimait
    G
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Groups 0

    gimait

    @gimait

    3
    Reputation
    3
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    gimait Unfollow Follow

    Best posts made by gimait

    • Development for Anbox in UBports

      Re: Anbox development

      Hi!

      I am looking on ways to do some bug fixing and adding some functionalities to the current version of Anbox available for UBports. I have been looking around quite a lot now and I am having trouble building and installing from source Anbox.

      So far, I managed to compile Anbox successfully by:

      1. Creating a development container based on Xenial, including the necessary packages for the build.
      2. Opening https://github.com/ubports/anbox in the container and executing cross-compile-chroot.sh.

      Following the steps on the Anbox development thread, I went ahead and copied the generated binary file to /usr/bin/. This seemed to go well, since I managed to log into the Anbox container using adb, however, I can't get any application to start, and I don't know if that is due to the Anbox version or something missing in the installation.

      Does someone know how to compile and run this, and how to access logs and debug information from the Anbox container?
      Is someone working on this, or has a plan to do so?

      Thank you!

      posted in OS
      G
      gimait
    • RE: Development testers for Anbox

      Hi! Does someone know how to build anbox from source and set it up in a mobile device?

      I would like to do some development on anbox for ubports, but I am struggling with making my builds work. I am using a Nexus 5 to test, which I managed to get up and running with the current release version of anbox in the repositories via apt.

      So far I managed to compile the code following the steps on this thread, but I unfortunately didn't manage to get it up and running. Any ideas of what can I try? Do you know how to get the debug logs out of this anbox version? (All the info I found about that was regarding the snap version of anbox)

      posted in OS
      G
      gimait

    Latest posts made by gimait

    • RE: Development testers for Anbox

      Hi! Does someone know how to build anbox from source and set it up in a mobile device?

      I would like to do some development on anbox for ubports, but I am struggling with making my builds work. I am using a Nexus 5 to test, which I managed to get up and running with the current release version of anbox in the repositories via apt.

      So far I managed to compile the code following the steps on this thread, but I unfortunately didn't manage to get it up and running. Any ideas of what can I try? Do you know how to get the debug logs out of this anbox version? (All the info I found about that was regarding the snap version of anbox)

      posted in OS
      G
      gimait
    • RE: Development for Anbox in UBports

      @rocket2nfinity thank you for letting me know, I’ll try to reach him, I’m sure he can get me started 🙂 In the meantime I’ll continue digging, and maybe follow your suggestion and asking in some thread in anbox. thanks!

      posted in OS
      G
      gimait
    • RE: Development for Anbox in UBports

      @rocket2nfinity Thank you, that’s the way I installed anbox originally, and that is fine. I’m happy to hear that there is no need for kernel patches.
      Do you have any ideas of how to build the code from source and test it on the device? I have no problems with the current anbox version (apart from several bugs that need taking care of to make it usable), but I’m trying to doing some development, that could become a good contribution to both anbox and ubports. Has someone tried this?

      posted in OS
      G
      gimait
    • RE: Development for Anbox in UBports

      @arubislander I’m using a Nexus 5, where I installed Anbox via apt successfully, so I think that the firmware of the device is not the issue, but honestly, I have no idea. Any ideas of something I might be missing in the build process, or something that needs configuring on the device?

      posted in OS
      G
      gimait
    • RE: Development for Anbox in UBports

      @Emphrath Thanks for pointing that out! I guess that ticks the current anbox version out of the question.

      I have been looking into merging the current anbox into the ubports fork to see if it would be possible to have two targets for anbox, but yeah, we will see.. For now I don't know even how build and run anbox on my phone, so there might be some time to get there. Any help will be very welcome 🙂

      posted in OS
      G
      gimait
    • RE: Development for Anbox in UBports

      I thought on doing so, but if I understand it correctly, their development diverged from the version used in UBports a while ago, when they moved to use snaps.

      I guess that it might be possible to then set up a libertine container with snaps and install anbox on it, and then it would be completely an Anbox issue, but I posted here as well to know whether there is any development of Anbox for UBports.

      I am also not sure about the performance difference between installing anbox in natively and running it in a libertine container. Has someone tried it out?

      posted in OS
      G
      gimait
    • Development for Anbox in UBports

      Re: Anbox development

      Hi!

      I am looking on ways to do some bug fixing and adding some functionalities to the current version of Anbox available for UBports. I have been looking around quite a lot now and I am having trouble building and installing from source Anbox.

      So far, I managed to compile Anbox successfully by:

      1. Creating a development container based on Xenial, including the necessary packages for the build.
      2. Opening https://github.com/ubports/anbox in the container and executing cross-compile-chroot.sh.

      Following the steps on the Anbox development thread, I went ahead and copied the generated binary file to /usr/bin/. This seemed to go well, since I managed to log into the Anbox container using adb, however, I can't get any application to start, and I don't know if that is due to the Anbox version or something missing in the installation.

      Does someone know how to compile and run this, and how to access logs and debug information from the Anbox container?
      Is someone working on this, or has a plan to do so?

      Thank you!

      posted in OS
      G
      gimait