def repart(bct, config): return execute('sudo "%s" --bct "%s" --setbct \ --bl "%s" \ --configfile "%s" \ --create \ --sync' % (nvflash(), bct, fastboot(), config))
def init(bootloader = fastboot()): return execute('sudo "%s" --bl "%s" --sync' % (nvflash(), bootloader))