GitHub - Anbox-halium/anbox-halium
source link: https://github.com/Anbox-halium/anbox-halium
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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://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)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK