Support different tools for OEM unlock in the installer
Currently the easy installer has a script
oem-unlock that uses "heimdall" as tool to do the unlocking. As far as I know this only works for Samsung devices.
Hardcoding "heimdall" for OEM unlock makes it difficult to add new devices to the installer.
I could imagine two solutions:
- Use one
oem-unlockscript and add a parameter to switch between tools (heimdall, fastboot, ...) inside the script.
- Create multiple scripts like
oem-unlock-fastbootand rename the existing script to
oem-unlock-heimdalland use the correct one in the device specific YAML files.
I'm clearly in favor of option two.