diff --git a/shell/bash/android/compile-waydroid-lineageOS-image.sh b/shell/bash/android/compile-waydroid-lineageOS-image.sh new file mode 100755 index 0000000..e1fbcc9 --- /dev/null +++ b/shell/bash/android/compile-waydroid-lineageOS-image.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# shellcheck source=/dev/null + +# Based on: + +repo init -u https://github.com/LineageOS/android.git -b lineage-18.1 --git-lfs +repo sync build/make + +wget -O - https://raw.githubusercontent.com/waydroid/android_vendor_waydroid/lineage-18.1/manifest_scripts/generate-manifest.sh | bash + +repo sync +. build/envsetup.sh + +apply-waydroid-patches + +. build/envsetup.sh +lunch lineage_waydroid_arm64-userdebug +make systemimage -j"$(nproc --all)" +make vendorimage -j"$(nproc --all)" + +simg2img "$OUT"/system.img ~/system.img +simg2img "$OUT"/vendor.img ~/vendor.img + +# waydroid-generate-manifest diff --git a/shell/bash/android/waydroid-x11.sh b/shell/bash/android/waydroid-x11.sh new file mode 100755 index 0000000..fa3e8a4 --- /dev/null +++ b/shell/bash/android/waydroid-x11.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# +# +# + +# sudo systemctl start waydroid-container +waydroid session start & +weston +# waydroid show-full-ui + +# ~/.local/share/waydroid +# /var/lib/waydroid/