This script automates the process of generating the necessary keys for building Android or LineageOS. The keys are used to sign the Android build.
The script performs the following steps:
- Prompts the user for the build type: AOSP or LineageOS (LOS).
- Prompts the user for the necessary certificate details.
- Generates keys for the specified build type.
- Moves the keys to the appropriate directory.
- Sets up the keys for use in the build process.
- Make the script executable:
Move the script to source root directory chmod +x generate_all_keys.sh ./generate_all_keys.sh