androidmigrationsamsung-mobilefitness

Migrating Samsung Health data without Samsung Cloud account


I am currently migrating to a new phone and would like to sync the Samsung Health data.

I don't have a Samsung Cloud account and don't want to sync my stuffs anywhere except my new phone.

There was a solution for this I used it a few years ago (when migrated to this phone), I just can't find it anywhere now. The developer mode does not help.


Solution

  • Note: It looks like Samsung removed this option in more recent versions or it must be activated differently.

    The options to export and import all data are hidden by default.

    Enabling the export and import functions

    1. Close Samsung Health if running.
    2. Create a EnableDataImporter.txt file under the download directory (/storage/emulated/0/download)

    Exporting all data from Samsung Health

    1. Open Samsung Health
    2. Navigate to Menu > Settings (gear icon) > About Samsung Health
    3. Click the "Export data" button
    4. Select all by using the topmost toggle
    5. Click "Save"

    The program will now export all your data to a directory, which may take a long time. After finishing it will show the path where you can find the export.

    The export might consist of tens of thousands of small JSON files, it might be a good idea to compress them (i.e. into a ZIP by using TotalCommander) to reduce the time needed to transfer them.

    Importing data back to Samsung Health

    1. Open Samsung Health
    2. Navigate to Menu > Settings (gear icon) > About Samsung Health
    3. Click the "Import data" button
    4. Navigate to the export directory
    5. Select all files (the directory does not need to be selected) by using the checkbox in top left corner
    6. Click "Done"

    The program will now import all the data, it will certanly take a long time.

    After the import finishes it might take some time to complete the update of all the widgets and the dashboard.

    Developer mode

    This is optional.

    1. Open Samsung Health
    2. Navigate to Menu > Settings (gear icon) > About Samsung Health
    3. Touch the "Samsung Health" logo 10 times
    4. Go back and open "About Samsung Health" again

    Screenshots Export and Import options in Samsung Health A finished export in Samsung Health