Ultimate Guide to install Anbox in any Arch-based distro(especially Garuda)

'lxc > 4.0.6' issue has been solved just:
just do:
sudo pacman -Syyuu and you will be prompted with lxc in conflict with lxc-git, remove lxc?
enter yes and anbox should be working fine, you can also remove lxc from Ignorepkg list in /etc/pacman.conf

2 Likes

That has been out since 3 days :grimacing:

2 Likes

Yeah, I tried the same yesterday, but didn't work

Using linux-zen is a joke as it dosent provide any modules (I mean Ashmem and Binder)
used linux-xanmod-anbox and now everything working fine
BTW any method to move files between anbox system and linux system

You are wrong.
I use zen kernel and anbox works here.

5 Likes

here take this

 sudo modprobe -a binder-linux ashmem-linux
modprobe: WARNING: Module binder-linux not found in directory /lib/modules/5.12.13-zen1-2-zen
modprobe: WARNING: Module ashmem-linux not found in directory /lib/modules/5.12.13-zen1-2-zen


1 Like

any update on my second query ??????????

This command doesn't work with all kernels that I have tried, even if they support Anbox (don't know the reason?).
You can skip this step, and the rest should work fine.

:slight_smile:

2 Likes

Well you only need to install
anbox-support
Package and reboot everything is taken care of no need for user to do anything
Anbox should work out of the box.

6 Likes

You can check the internet for this.
Try this: mount - How can I access anbox filesystem? - Ask Ubuntu

1 Like

Good evening! I'm having an issue with Anbox. I've tried the instructions here, I've tried to install anbox-support and reboot, I've tried changing kernals, and nothing works! Every app I open immediately closes unless it's a preinstalled one. Any suggestions as to how I can prevent this?

Anbox still doesn't work that great till now, only a few android apps work with it (it's the case with everyone).
It is a promising project, but its development has been very slow.
But recently a new, better alternative has come up (Waydroid), though we arch users haven't been able to make it work properly. But I think, soon it will be working:
Please read this post for more details:
https://forum.garudalinux.org/t/how-to-run-android-apps-in-linux-without-an-emulator/

:slightly_smiling_face:

@dr460nf1r3 I installed anbox-support on my laptop and it automatically inserted a mount point of…‘/dev/binderfs’ in fstab. Unfortunately after reading this thread I realized Anbox only works on certain kernels, ones I don’t want to use on my laptop, so I removed Anbox-support. Unfortunately, it does not remove the ‘/dev/binderfs’ mount from fstab resulting in an error when booting, just an fyi. I had to manually edit it.

3 Likes

That's just to weed out people that shouldn't be messing with stuff. If you can't figure out how to edit your fstab file then it's time to return to Windows. :rofl:

6 Likes

Well I'd add a postinstall notice instructing how to remove it I guess

4 Likes

I would equate it to an RPG game puzzle. If you can't figure out the puzzle to proceed, you need to go back and redo the game's tutorial. :crossed_swords: :jigsaw:

:joy:

1 Like

I'm just kidding around of course. Fstab is super confusing for the inexperienced, but it does tend to separate the wheat from the chaffe (so to speak). :smile:

5 Likes

Getting tired of babysitting yet? :thinking:

Bullshit. Anyone that can use the Arch Wiki or even Google, for chrissake, then read and learn can easily handle messing around there. It’s just a friggin’ text file.

@RodneyCK did so, and good on him. We need to give an award to those users that do stuff like that, then report their findings and solutions.

@dr460nf1r3, great idea, a posted notice and maybe links will allow users to learn by doing.

2 Likes

Should I write an another post for Waydroid? Though everything is the same as for the kernels and and auto mounting binderfs and all that.

It might just help the newbies