This page explains some configuration tasks in Celadon.
Secure boot is enabled on the BIOS of some PCs by default. It adds the BIOS vendor’s key and Windows* key by default. However, the default setting does not include the key to verify the kernelflinger. If the BIOS has enabled secure boot, you will get the following error message:
You’ll need a USB drive with at least 1GB of free space to perform the following steps to add the key used to verify the kernelflinger to BIOS.
Download the files that comprise Keytool from their respective locations:
KeyTool.efiis a tool included in the efitools tarball. Download the tarball from https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git.
- Download DB.auth.
- Download KEK.auth.
Format the USB drive to use the FAT filesystem. Put the
KEK.authfiles on the USB drive.
Disable the device secure boot.
Plug in the USB drive and reboot the device.
F10to enter the Boot Menu.
Select “UEFI : Build-in EFI Shell” and then find your USB device.
Execute KeyTool.efi and you will see the KeyTool menu.
Selectto replace the keys.
Select theoption and press
Chooseto add the DB key.
Browse your USB drives to locate your keys and add them one at a time.
Repeat the same steps and add the new key for KEK
An Android system is typically comprised of multiple disk partitions. Each
parition is associated with an
*.img file in the Celadon image. In
addition, Celadon supports a whole GPT image to be flashed to the entire disk.
Some partitions (e.g. the system partition) are huge, but some of them are
empty. The SPARSE image format is used to reduce the image size.
The default partition size is defined in the following files:
change some of the default settings.
- Changing the partition size will cause the OTA update to fail.
- The system partition requires at least 2560MB of disk space.