GloDroid / glodroid_manifest

Android port that aims to bring both user- and developer-friendly experience in using AOSP with a set of single-board computers (SBC), phones and other devices.
471 stars 67 forks source link

[Question] How to update without data lost. #82

Closed kev-dev1 closed 4 years ago

kev-dev1 commented 4 years ago

How to update or upgrade the newest build without to lost the Data.

rsglobal commented 4 years ago

Hi @kev-dev1 ,

It depends on many factors. The main is partition layout. In case new release has the same partition layout as previous, you can just put a comment on ./fastboot format userdata & metadata lines in ./flash.sh script and flash.

In theory this should work for v0.3.0 to v0.4.0 transition, but nobody from GD team tested it. So there is a risk for you to lose your data.

To eliminate any risks mobile brands have test department, which tests how will OTA influence user data and system stability before publishing release.

kev-dev1 commented 4 years ago

Ok. I will test it in the next Days and see if it is possible to update without data loss

kev-dev1 commented 4 years ago

The Upgrade from version 0.3.0 to 0.4.0 works.