HasH_BrowN
Android Expert
True. The needed partition locations would absolutely be tested with all parties knowledgeable of bricking possibilities.You're asking how to make your flashable run on a wider range of devices?
If so, then you certainly would/should have more flexibility in using a shell script since coding would be much easier (IMO) than the Edify syntax/language.
Like I (think?) I mentioned before, your biggest challenge would be in identifying the "fota" and "misc" partitions, but there are ways to find the obvious references.
The scary part to me is knowing that it would be proper to clear those partitions on a given device...I'm still pretty on the fence about that (and the "fota" and "misc" partitions aren't ones that are typically backed-up with a Nandroid backup, either, so if they become wiped, how do you get them restored, etc...?

.
), but pretty sure that the only issue with your .zip was the missing closing paren.