Using a PC tool (like MSM Download Tool for OPPO), you load the Global ROM, put the phone into EDL (Emergency Download Mode), and flash. If you lose power or use the wrong file, the phone is dead.