repo init -u https://github.com/Penguin-nonsense/manifest -b unityrepo sync --force-sync --no-clone-bundle --current-branch --no-tags -j$(nproc --all)The bundled builder tool ./rom-build.sh handles all the building steps for the specified device automatically
./rom-build.sh <device> <flags>You may include additional flags as per your requirements
• -t to set type
user/userdebug/eng
• -s to specific path to your keys if you wanna use classic method of signing builds
• -c for clean build and so on...
• -i for installclean
• -z for fastboot update zip
• -d to generate incremental OTA zip
• -m to build specific modules like partitions/apks/executables/java
• -b absolute dogshit, it saves the unsigned zip god knows why you'd use that
• -r run a resync before starting lunch
• you can check all available flags here
I use
./rom-build.sh phone1 -t user -s certs -z -i