Fastboot Oem Frp - Unlock _best_

return output.decode('utf-8'), error.decode('utf-8') except Exception as e: return str(e)

# Unlock FRP frp_unlock_cmd = f'fastboot -s {device_serial} oem frp unlock' process = subprocess.Popen(frp_unlock_cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) output, error = process.communicate() fastboot oem frp unlock

if output: print(output) if error: print(error) return output