The provided vendor images was tested with 10.0 r25 and r_preview_1
- Clone the latest AOSP code (For example 10.0.0_r25 tag)
repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r25
- Add Essential mata repo (master branch)
mkdir -p device/essential
cd device/essential
git clone https://github.com/EssentialOpenSource/device_essential_mata.git mata
- Clone the latest R AOSP code
repo init -u https://android.googlesource.com/platform/manifest -b android-r-preview-1
- Apply
https://android-review.googlesource.com/c/platform/external/e2fsprogs/+/1216916 https://android.googlesource.com/platform/libcore/+/0a5160d04a3f https://android.googlesource.com/platform/libcore/+/d8a6e4823995e64a9e21c0ad9289d9d530f18034 https://android.googlesource.com/platform/libcore/+/c6298a8b77942aa1108548bd70e97059dc9d7b6e
- Revert
BOARD_SEPOLICY_VERS := 29.0 doesn't build and without it the wrong mapping (1000) is created and 29.0 one is empty. For now, reverting this patch for the AOSP build (OK with GSI)
- Add Essential mata repo (r-preview branch)
mkdir -p device/essential
cd device/essential
git clone https://github.com/EssentialOpenSource/device_essential_mata.git mata -b r-preview
- Download prebuilt vendor-QQ1A.200105.088.img
- Extract in device/essential/mata
- Start a build
source build/envsetup.sh
lunch mata-userdebug
make -j16
- Flash boot, system and vendor (unlock device only)
- Get the latest GSI for Android 11/Android 10
- Tested with QJR1.191112.001 and RPP1.200123.016.A1
- Flash the userdebug open source build (see above)
- Disable verity (GSI image don't have any verity metadata)
adb root
adb disable-verity
- Flash GSI system image
fastboot flash system_a system.img
- Erase userdata
fastboot format userdata
- Reboot