1- To initialize your local repository using the OMNIROM trees to build SHRP, use a command like this:
mkdir shrp
cd shrp
repo init -u https://github.com/SHRP/manifest.git -b v3_11.0
2- Then to sync up:
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
3- Put this folder on
git clone https://github.com/iceows/shrp_android_device_huawei_marie shrp/device/huawei/marie -b lineage-20.0
git clone https://github.com/iceows/android_vendor_omni vendor/omni -b android-11.0
4- Apply patch
./device/huawei/marie/patches/apply-patches.sh
5- Then to build for a device with recovery partition:
. build/envsetup.sh
lunch twrp_marie-eng
mka recoveryimage
or
export ALLOW_MISSING_DEPENDENCIES=true; source build/envsetup.sh; lunch twrp_marie-eng; mka recoveryimage
6- The output dir
shrp/out/target/product/marie