Open remay opened 3 years ago
Why would leaving userdata unformatted be dangerous?
/data includes much more than just userdata. All upgrades to app are written there, along with any overrides to what's on the system partition to make the upgrades work. I don't know for sure, but it's entirely plausible to end up with broken upgrades if you change stuff on the system partition. Because of this potential I don't think such an option should ever be the default - but it may be that if you know what you are doing you want this to avoid losing your valuable data?
It's pretty dangerous to leave /data unformatted, as we have no idea what may be on it.
Perhaps we can implement most of the changes to /system from an update.zip file on SD card. Needs further investigation.
An alternative strategy may be to just replace recovery partition with a recovery image that has a back up/restore capability and use that to back up before flashing and restore after flashing?