diff --git a/src/images/firmware.ts b/src/images/firmware.ts index dd73b0c..1569e6d 100644 --- a/src/images/firmware.ts +++ b/src/images/firmware.ts @@ -66,8 +66,10 @@ export function generateAndroidInfo(device: string, blVersion: string, radioVers let android_info = `require board=${device} require version-bootloader=${blVersion} -require version-baseband=${radioVersion} ` + if (radioVersion != undefined) { + android_info += 'require version-baseband=${radioVersion}\n' + } if (stockAbOtaPartitions.includes('vendor_kernel_boot')) { android_info += 'require partition-exists=vendor_kernel_boot\n'