From 84aa406348dcfe54518246fdaa96cd87e8a028f1 Mon Sep 17 00:00:00 2001 From: Dmitry Muhomor Date: Wed, 21 Jun 2023 10:52:18 +0300 Subject: [PATCH] support devices that don't have a baseband --- src/images/firmware.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'