[temporary] include OTA firmware on 6th generation devices

This commit is contained in:
flawedworld 2022-01-30 23:34:29 +00:00 committed by Daniel Micay
parent 66848d73bf
commit b411a2a14c

View file

@ -101,6 +101,17 @@ export function serializeModulesMakefile(mk: ModulesMakefile) {
blocks.push(mk.radioFiles.map(img => `$(call add-radio-file,${img})`).join('\n')) blocks.push(mk.radioFiles.map(img => `$(call add-radio-file,${img})`).join('\n'))
} }
// Temporary hack for OTA firmware on Pixel 6 and 6 Pro
blocks.push(`$(call add-radio-file,firmware/bl1.img)
$(call add-radio-file,firmware/pbl.img)
$(call add-radio-file,firmware/bl2.img)
$(call add-radio-file,firmware/abl.img)
$(call add-radio-file,firmware/bl31.img)
$(call add-radio-file,firmware/tzsw.img)
$(call add-radio-file,firmware/gsa.img)
$(call add-radio-file,firmware/ldfw.img)
$(call add-radio-file,firmware/modem.img)`)
if (mk.symlinks.length > 0) { if (mk.symlinks.length > 0) {
let mkdirCmds = new Set<string>() let mkdirCmds = new Set<string>()
let linkCmds = [] let linkCmds = []