def reboot_device(self): # Use subprocess to run a command to reboot the device subprocess.check_call(["fastboot", "reboot"])
import subprocess
def hard_reset(self): # Use subprocess to run a command to perform a hard reset subprocess.check_call(["fastboot", "erase", "userdata"]) subprocess.check_call(["fastboot", "erase", "cache"]) nokia ta 1325 hard reset unlock tool