API call to flash tinker?

You should use enterSafeMode from the device. See

1 Like