1. Press'n'hold the Power button until the phoe turns off.

2. Is it off? Then press and hold both Volume and Power buttons.

3. Lastly, select Factory mode. Yaay, done.