- Clone the repository.
git clone https://github.com/Sakura-Devices/vendor_sakura-priv-template vendor/sakura-priv
- Generate keys into vendor/sakura-priv Use lineage-priv-template
git clone https://github.com/LineageOS/scripts vendor/scripts
Then
cd vendor/scripts/lineage-priv-template
- Execute key generation script
./keys.sh
-
Move all *.pk8 and all *.pem to vendor/sakura-priv
-
Build!