Deeply rooted adware or spyware that survives a standard factory reset.
Unplugging the device mid-flash will hard-brick your phone. Step 6: Finalizing the Flash