This is the trickiest part. The method varies by device:

Here is a deep-dive post regarding the functionality, technical context, and utility of the SPRD U2S DIAG Reset Tool.

End of draft paper.