If your device is rooted, flashing the Stock ROM will unroot it So, you may need to re-root the device if desired after the process.