-
Open the notebook in Google Colab:
-
Authorize in Google Colab.
-
Set the variables in the "Settings" section:
- For a description of the variables, see the table build.conf.
- CONFIG:
- Specify the path to the configuration file (
.config) on your Google Drive, URL of the file, - or use the path from the Padavan repository (e.g.
padavan-ng/trunk/configs/templates/xiaomi/mi-4a_100m.config), - or leave it blank to use
build.config.
- Specify the path to the configuration file (
- ZIP:
download: Download the firmware archive after building.save: Save the firmware archive to Google Drive.
-
(Optional) Customize build settings:
- If you left the default value (
build.config) in theCONFIGvariable, edit this file according to your requirements. - You can find the template config for your device in the firmware repository.
- If you left the default value (
-
Run all code cells: Click
Runtime->Run all. -
Wait for the build to complete: The build process will take some time (30-60 minutes). You can monitor the progress in the output of the code cells.
-
Download the firmware:
- If you chose
ZIP = 'download', the firmware archive will be downloaded automatically. - If you chose
ZIP = 'save', the firmware archive will be saved to theMyDrivefolder on your Google Drive.
- If you chose


