remay / tmf-hudl

Custom ROM for the Tesco Hudl 1 - Keep your Hudl working after 26th June 2020
https://rob.themayfamily.me.uk/hudl
MIT License
17 stars 1 forks source link

Need a mechanism for people who want to keep their data/apps #9

Open remay opened 3 years ago

remay commented 3 years ago

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?

RayyanAnsari commented 3 years ago

Why would leaving userdata unformatted be dangerous?

remay commented 3 years ago

/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?