@with_device
@no_emulator
def unlock_bootloader():
 AdbClient().reboot_bootloader()
 fastboot(['oem', 'unlock'])
 fastboot(['continue'])

@ with_device @ no_emulator def unlock_bootloader ( ) : AdbClient ( ) . reboot_bootloader ( ) fastboot ( [ 'oem' , 'unlock' ] ) fastboot ( [ 'continue' ] )
unlocks the bootloader of the device .