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

Development testers for Anbox

Scheduled Pinned Locked Moved OS
222 Posts 72 Posters 209.0k Views 16 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.
    • M Offline
      mariogrip Administrators
      last edited by 16 Sept 2018, 14:21

      This happens when the backend container session daemon is not running, so this is anbox trying to start a container session as user but failing, there is no "error" messages so it just get stuck (or crashes) here. So what we want here is to display an error message instead of this, but not implemented yet.

      1 Reply Last reply Reply Quote 0
      • M Offline
        mariogrip Administrators
        last edited by mariogrip 16 Sept 2018, 14:47

        Got android keyboard working! it's not great nor native, but better then nothing.

        0_1537109249889_screenshot20180916_164621189.png

        This was fixed by adding hack to allow android keyboard, this is temporarily solution. Added bug report to add support for native keyboard here: https://github.com/ubports/anbox/issues/5

        Upgrade using:
        note, Using apt install here, that way we upgrade just anbox and nothing else

        sudo mount -o rw,remount /
        sudo apt update
        sudo apt install anbox anbox-common anbox-ubuntu-touch
        anbox-tool upgrade
        
        S 1 Reply Last reply 16 Sept 2018, 17:41 Reply Quote 3
        • J Offline
          joe
          last edited by 16 Sept 2018, 17:21

          Yay. It works.

          How do you use anbox-tool for install?

          I tried
          anbox-tool app-install FDroid.apk
          But it said that anbox is not running.

          anbox-tool status confirmed that it was not running. But the installed apps do run.

          ? 1 Reply Last reply 16 Sept 2018, 17:34 Reply Quote 0
          • ? Offline
            A Former User @joe
            last edited by 16 Sept 2018, 17:34

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S Offline
              Stefano @mariogrip
              last edited by 16 Sept 2018, 17:41

              @mariogrip You're the MAN!!!

              1 Reply Last reply Reply Quote 0
              • M Offline
                mihael @Stefano
                last edited by 16 Sept 2018, 18:12

                @stefano Does it work now on Pro 5?

                ? S 2 Replies Last reply 16 Sept 2018, 18:26 Reply Quote 0
                • A Offline
                  Alkis
                  last edited by Alkis 16 Sept 2018, 18:16

                  usually when I anbox is not starting, I just restart the ubuntu. It works most of the time. Is there a better way to make anbox run again? Also, for those not doing this, if you are connected to anbox through adb shell and lxc-console you can see debugging msgs of anbox in realtime on your PC. This helps a lot to understand what anbox is doing, since it includes error msgs.

                  "does is work in 'other phones'?"

                  The only thing specific to each phone, I belive is the modification in the "boot image" to include the requeried kernel modules (for ashmen and binder nodes in /dev). Modifications in the anbox.img are the same for everyone, I believe.

                  Hey mario, if you are going to confirm this, are there other modifications to the kernel or the boot img that you do?

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @mihael
                    last edited by A Former User 16 Sept 2018, 18:26

                    @mihael Yes it do work on a Pro 5...

                    1 Reply Last reply Reply Quote -1
                    • S Offline
                      Stefano @mihael
                      last edited by 16 Sept 2018, 18:27

                      @mihael Haven't tried that yet as I'm on holiday and have not access to a PC to flash it.

                      1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User
                        last edited by A Former User 16 Sept 2018, 19:42

                        On Telegram advocatux give me a link that worked to install apps, as Marius told me he need to do more work on the anbox-tool...

                        https://docs.anbox.io/userguide/install_apps.html

                        I have test this and indeed it install the apps.

                        A 1 Reply Last reply 16 Sept 2018, 19:57 Reply Quote -1
                        • A Offline
                          Alkis @Guest
                          last edited by Alkis 16 Sept 2018, 19:57

                          @xray2000 The method I have used to install apps is

                          $ sudo mv $APP ~/anbox-data/data
                          $ sudo lxc-console -ndefault -P /home/phablet/anbox-data/container -t0
                          $ cd data && pm install "app.apk"

                          substitute "app.apk" for the name of the apk you are installing and $APP for it's path outside anbox

                          EDIT: sorry, I miss typed the sudo command.

                          J ? 2 Replies Last reply 16 Sept 2018, 20:04 Reply Quote 3
                          • J Offline
                            joe @Alkis
                            last edited by joe 16 Sept 2018, 20:04

                            @alkis said in Development testers for Anbox:

                            @xray2000 The method I have used to install apps is

                            $ sudo mv $APP ~/anbox-data/data
                            $ sduo lxc-console -ndefault -P /home/phablet/anbox-data/container -t0
                            $ cd data && pm install "app.apk"

                            substitute "app.apk" for the name of the apk you are installing and $APP for it's path outside anbox

                            sudo lxc-console -ndefault -P /home/phablet/anbox-data/containers -t0

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Alkis
                              last edited by 16 Sept 2018, 21:07

                              I just tested the new anbox update and yes, both the keyboard and network is working. I even made a whatsapp call to my father, for shits and giggles. It doesn't have sound as expected, but it did connect.


                              this is a screenshot of a msg, but I also made a call with no sound.
                              If we get the sound server working, we would be able to start making whatsapp calls! That would be awesome.
                              Anyway, it is already a great achievement.

                              Also, I noticed that sometimes, if you already have a anbox app window opened, anbox won't open another app

                              1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User @Alkis
                                last edited by 17 Sept 2018, 03:27

                                @alkis This dont work on a Pro 5, it seems the lxc-console is running anbox output on my device continues and i can not give any command there. With the link advocatux give me that works a lot better no need to move any apk or anything...

                                1 Reply Last reply Reply Quote 1
                                • F Offline
                                  flohack
                                  last edited by 17 Sept 2018, 07:32

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    flohack
                                    last edited by 17 Sept 2018, 13:58

                                    MEHHH!!!!
                                    0_1537192699518_70dbbac8-da0d-439e-8663-90d426686a16-image.png

                                    1 Reply Last reply Reply Quote 2
                                    • M Offline
                                      mihael
                                      last edited by 17 Sept 2018, 19:51

                                      I can confirm that the turbo-test img works on the Pro 5. I also installed WhatsApp and it works. I am so very glad and delighted about all this work!!!

                                      B 1 Reply Last reply 18 Sept 2018, 20:19 Reply Quote 1
                                      • P Offline
                                        padraic
                                        last edited by padraic 17 Sept 2018, 20:23

                                        anyone successfully get frieza working? I tried but am told that

                                        phablet@ubuntu-phablet:~$ anbox-tool install
                                        Anbox kernel is not installed! Please flash this first!
                                        

                                        Pretty sure I went through the procedures correctly but maybe I missed something. If I don't hear back from anyone I'll try again in a couple of days and open an issue if it still doesn't work.

                                        P 1 Reply Last reply 26 Oct 2018, 18:59 Reply Quote 0
                                        • N Offline
                                          nfsprodriver
                                          last edited by 17 Sept 2018, 21:21

                                          On N5 I recognized: Installing System updates seem to cause the reinstallation of the native kernel. This causes a disfunctionallity of anbox and heating of your device (100% CPU). I recommend to disable automatic System updates.

                                          J 1 Reply Last reply 21 Sept 2018, 02:52 Reply Quote 1
                                          • J Offline
                                            jor1196 @mariogrip
                                            last edited by 17 Sept 2018, 21:32

                                            @mariogrip
                                            you are God?

                                            H 1 Reply Last reply 18 Sept 2018, 05:03 Reply Quote 0
                                            24 out of 222
                                            • First post
                                              24/222
                                              Last post