Added device resolution and fixed EMMC wipe bug.