If you booted from MMC, then all your data should be on your MMC. If not, then sorry. since you can't enter any command without seeing the screen. Yes, flashing will not reset the lock code, but it will get rid all the other data.