mkdir /cache/recovery/
echo --wipe_data > /cache/recovery/command
reboot recovery

