PINE64
Install Anbox on Manjaro plasma-mobile help - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130)
+---- Thread: Install Anbox on Manjaro plasma-mobile help (/showthread.php?tid=11577)

Pages: 1 2


Install Anbox on Manjaro plasma-mobile help - paju1986 - 09-22-2020

I tried to install anbox on the plasma mobile version of manjaro.
I did sudo pacman -S anbox anbox-image and then started the anbox container with
sudo systemctl start anbox-container-manager
but it keep crashing on startup.

Do anyone know what could be the problem?
In the phosh version it came already preinstalled and it work fine so something should be missing on the plasma-mobile version
maybe some env vars?

Regards!


RE: Install Anbox on Manjaro plasma-mobile help - tophneal - 09-22-2020

Last I saw, currently the Manjaro Arm kernel does not include the required ashmem and binder modules. Without these, Anbox won't run.


RE: Install Anbox on Manjaro plasma-mobile help - paju1986 - 09-22-2020

(09-22-2020, 07:38 AM)tophneal Wrote: Last I saw, currently the Manjaro Arm kernel does not include the required ashmem and binder modules. Without these, Anbox won't run.

It should be included now, because alpha3 and alpha4 with phosh came with anbox preinstalled and works fine...


RE: Install Anbox on Manjaro plasma-mobile help - tophneal - 09-22-2020

(09-22-2020, 08:22 AM)paju1986 Wrote: It should be included now, because alpha3 and alpha4 with phosh came with anbox preinstalled and works fine...

good to know! i missed that.

I presume starting through terminal doesn't give any good output?


RE: Install Anbox on Manjaro plasma-mobile help - paju1986 - 09-23-2020

(09-22-2020, 08:23 AM)tophneal Wrote:
(09-22-2020, 08:22 AM)paju1986 Wrote: It should be included now, because alpha3 and alpha4 with phosh came with anbox preinstalled and works fine...

good to know! i missed that.

I presume starting through terminal doesn't give any good output?


yes, this is error running it from terminal

[manjaro@manjaro-arm ~]$ anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

[ 2020-09-23 12:25:57] [daemon.cpp:61@Run] [org.freedesktop.DBus.Error.ServiceUnknown] The name org.anbox was not provided by any .service files


RE: Install Anbox on Manjaro plasma-mobile help - tophneal - 09-23-2020

it looks like this is a known issue: https://github.com/anbox/anbox/issues/1586

I'm trying to boot my pinetab back up into manjaro so i can try recreating this.


RE: Install Anbox on Manjaro plasma-mobile help - paju1986 - 09-23-2020

I got it running!!! now to toy with it!! Smile

I had to set up the env variable DISPLAY=:1 on the terminal and launch from it

[Image: fdroid.jpg]


RE: Install Anbox on Manjaro plasma-mobile help - hiimtye - 09-24-2020

it seems really crashy on mine, and the input is non-existent. I tried adding Simple Keyboard from F-Droid but it only shows the top row of keys. maybe in time it will be usable. there's only a few Android only apps I need - my bank app, Blink to view the stupid cameras my wife bought, and the software for my Mi Band 5. Google Pay would be nice, but I believe that they disable their app on non-closed platforms, so it's likely a no go.

at any rate, it crashes constantly for me, and it's unusable atm with no input.


RE: Install Anbox on Manjaro plasma-mobile help - paju1986 - 09-25-2020

(09-24-2020, 04:49 PM)hiimtye Wrote: it seems really crashy on mine, and the input is non-existent. I tried adding Simple Keyboard from F-Droid but it only shows the top row of keys. maybe in time it will be usable. there's only a few Android only apps I need - my bank app, Blink to view the stupid cameras my wife bought, and the software for my Mi Band 5. Google Pay would be nice, but I believe that they disable their app on non-closed platforms, so it's likely a no go.

at any rate, it crashes constantly for me, and it's unusable atm with no input.

Yes pretty much all software on the pinephone is very alpha now, including anbox. It will take time to mature but we are seeing good progress


RE: Install Anbox on Manjaro plasma-mobile help - xiano - 11-14-2020

(09-23-2020, 10:01 AM)paju1986 Wrote: I got it running!!! now to toy with it!! :)

I had to set up the env variable DISPLAY=:1 on the terminal and launch from it

Great job!
But would you mind, sharing the exact method you used to get it running? I'm struggling to reproduce your way.

What I tide:

Code:
sudo pacman -S anbox anbox-image
sudo systemctl start anbox-container-manager
env DISPLAY=:1 anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

however, I keep getting the mention error:
Code:
[ 2020-11-14 12:25:43] [daemon.cpp:61@Run] [org.freedesktop.DBus.Error.ServiceUnknown] The name org.anbox was not provided by any .service files

I'd really appreciate any tip/Help to resolve this error.