Website
Source
Telegram
Matrix
Search…
Waydroid
Usage
Install Instructions
Install and Run Android Applications
Waydroid command line options
Waydroid Prop Options
FAQ
Disable On-Screen Keyboard
Community Projects We Like
Get Waydroid to work through a VM
Using ADB with Waydroid
Setting up Waydroid only Sessions
Setting up a shared folder
Using custom Waydroid images
Development
Compile Waydroid - Lineage OS based images
Manual Patch Resolution
Compile Waydroid - Using Android-Generic Project
Debugging
Getting Essential Information
Networking Issues
Known Issues
General Troubleshooting
Powered By
GitBook
Compile Waydroid - Lineage OS based images
Getting started
To get started with Android/LineageOS, you'll need to get familiar with
Repo
and
Version Control with Git
.
Initializing
To initialize your local repository using the LineageOS trees, use a command like this:
1
repo init -u https://github.com/LineageOS/android.git -b lineage-17.1
Copied!
Then we grab the Waydroid local_manifests
1
wget -O - https://raw.githubusercontent.com/waydroid/android_vendor_waydroid/lineage-17.1/manifest_scripts/generate-manifest.sh | bash
Copied!
Syncing
Then to sync up:
1
repo sync
Copied!
Then we setup the local build environment:
1
. build/envsetup.sh
Copied!
Patching
After that is complete, we apply the Waydroid patches:
1
apply-waydroid-patches
Copied!
How to build
Please see the
LineageOS Wiki
for building environment setup.
Waydroid AOSP Lunch Options:
1
lineage_waydroid_arm-userdebug
2
lineage_waydroid_arm64-userdebug
3
lineage_waydroid_x86-userdebug
4
lineage_waydroid_x86_64-userdebug
Copied!
Waydroid Build Commands:
1
. build/envsetup.sh
2
lunch lineage_waydroid_arm64-userdebug
3
make systemimage -j$(nproc --all)
4
make vendorimage -j$(nproc --all)
Copied!
Image Generation From Sparse Image:
Make sure simg2img is installed and:
1
simg2img system.img output_dir/system.img
2
simg2img vendor.img output_dir/vendor.img
Copied!
Troubleshooting
Local Manifest:
To manually regenerate the local_manifests, we also have added a function to do so
1
waydroid-generate-manifest
Copied!
After doing that you will want to resync (this will wipe out any local changes, so make sure you save your work to a different branch)
Patch Conflicts:
See
Manual Patch Resolution
FAQ - Previous
Using custom Waydroid images
Next - Development
Manual Patch Resolution
Last modified
2mo ago
Copy link
Contents
Getting started
Initializing
Syncing
Patching
How to build
Waydroid AOSP Lunch Options:
Waydroid Build Commands:
Image Generation From Sparse Image:
Troubleshooting
Local Manifest:
Patch Conflicts: