Open victorbnl opened 3 years ago
For now, you can just backup and restore the internal app data directory for this app, at /data/data/me.zhanghai.android.files/shared_prefs/
, doable within this app. Remember to set the Linux owner/group to this app (it may be owned by root by default after copied back) and restore the SELinux context (the restore button in the edit SELinux context dialog) after you restore these files though.
Perfect thanks 👍
Note that you will be able to manually back up app settings without root in the next app version (1.5.0), which I'm planning to release this weekend. Here are the steps for doing that:
Settings
in drawer, and temporarily set Root access mode
to Normal access only
.Settings
, and press the three dot in the top-right corner of the main page, then tap Go to
(new in 1.5.0), input /data/user/0/me.zhanghai.android.files/shared_prefs
and tap OK
.me.zhanghai.android.files_preferences.xml
and a me.zhanghai.android.files_preferences_path.xml
(the latter only appears if you ever had any Only for this folder
options). Select the two files and copy them to your desired location for backup.New window
to select them without leaving the current folder.) Then Force stop
this app in system Settings' app info page for this app for it to pick up the settings from file system.Clear data
for this app.Root access mode
to Automatic
.Actually is "add a button to zip the configs directory" a feasible export function? Maybe change the extension in the process.
Then import/restore is just unzipping it.
This is NOT an option to backup, but the most uncomfortable way to imitate it. No way this is a duplicate of #1182
@zhanghai So, what's the news on this issue?
It would be useful to export the app data, which would include, for example :
Personally I'd use it mainly to backup bookmarks, which would be useful as I often reset my data to change ROM for example