Modified to make system boot up.

1. No use to copy init.rc from device;
2. Fixed for formatting of /data and /cache;
3. Fixed bugs in x-boot.