Skip to content

Techwizz-somboo/WayDroid-Arch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anbox-halium

Getting started

To get started with Android/LineageOS, you'll need to get familiar with Repo and Version Control with Git.

To initialize your local repository using the LineageOS trees, use a command like this:

repo init -u git:https://github.com/LineageOS/android.git -b lineage-17.1

Add anbox manifest:

wget https://raw.githubusercontent.com/Anbox-halium/anbox-halium/lineage-17.1/anbox.xml -P .repo/local_manifests/

Then to sync up:

repo sync

Then to apply anbox patches:

anbox-patches/apply-patches.sh --mb

How to build

Please see the LineageOS Wiki for building environment setup.

To build anbox:

. build/envsetup.sh
lunch lineage_anbox_arm64-userdebug
make systemimage -j$(nproc --all)
make vendorimage -j$(nproc --all)

How to install

Execute command blew:

wget -O - https://github.com/Anbox-halium/anbox-halium/raw/lineage-17.1/scripts/install.sh | bash

Note: Run installer on the user you are willing to install anbox on

Patching kernel

Running anbox requires:

  • Veth for networking
  • Ashmem
  • Specific binder nodes (anbox-binder anbox-hwbinder anbox-vndbinder) Checkout defconfig kernel patcher script for patching halium devices kernel.
check-kernel-config.sh halium_device_defconfig -w 

On mainline devices it is highly recommanded to use needed drivers as module. (binder_linux and ashmem_linux)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%