I don’t have an L5 but that should work. Just fetch files from source and then setup. Also, I would highly suggest to use molly-FOSS which is signal with the signal network and everything but without the scary google crap. It still has a giffy thing which is owned by FB but it is better.
@Tengu, the instructions to install Anbox as a Snap are from March 2020 and written by a person who is not a Purism developer, which is why I put the more recent instructions from @dos in the community Wiki.
This is a Debian packaging repo; that README comes from the upstream project, is unrelated to the Librem 5 and can’t really be cleanly changed without forking.
Thanks for you answer.
Looking at the URL one cannot say that this is NOT related to Librem5, isn’t? https://source.puri.sm/Librem5/debs/anbox#installation
Could you please point out a way to install anbox that is fully working with the current Librem5 kernel?
The instructions in the Wiki fail. Looks like the PPA is not set correctly:
E: The repository 'http://ppa.launchpad.net/morphis/anbox-support/ubuntu impish Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I have tried to help somebody else demanding andbox in the other thread when I have seen that he tries to run x86 Docker images to build android system image on the phone.
You do not need to build actual andbox binary, it is provided by CI build at Purims gitlab. Look for latest pipeline package-pureos-byzantium:arm64 artifact, download it expand and you have the required deb. But you need Andoid system image.
At the end I have managed to build image from android sources by scripts provided in the Purism project fork https://source.puri.sm/Librem5/debs/anbox/-/jobs/364593 . But actual andbox is easy to build. Problem is matching Android image. I have managed to build it after some hacks to the build process which has to be run on host GNU/Linux x86. May system has too little memory that I have problems but next changes helped me.
Resulting image works in the respect that it is able to run all ART and Dalvik machinery and run included calculator and even F-Droid and probably even install some application. But at least my built is far from state that it can be reliably used and it is based on old Android runtime. May it Wandroid can be in the better shape one day.
It would be great if @dos can report his level of the success, may it be it is breakage of my build. It would help to inform others why build Android root filesystem image is not provided. Is it licensing, problem to keep too much data to fulfill source availability or what are other reason why Android image is not made available? Its build takes really long at least on my not so dated but standard hardware.
And instructions at wiki should be updated that inform people Android image build is intended for host PC. Because unlucky ones can try tat on the phone…
I had tried Anbox on Librem 5. It is riddled with too many issues. (does not work as expected, hangs, screen freezes etc.) . Comes out, Waydroid is a better solution. You may want to try as per @dos’s instructions https://source.puri.sm/-/snippets/1195