In case you need to factory reset the C520 WiMi, perform the following sequence:

Press [Menu] key + 07#*1850#

This means, start with the Arrow up key an then type 07#*1850#

If everything went right, a message will be shown on the display and the phone will reboot.