support devices that don't have a baseband

This commit is contained in:
Dmitry Muhomor 2023-06-21 10:52:18 +03:00 committed by Daniel Micay
parent 06114545f4
commit 84aa406348

View file

@ -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'