2

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.

Gábor Héja
  • 458
  • 7
  • 17

1 Answers1

4

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

Gábor Héja
  • 458
  • 7
  • 17
  • What's the purpose of Developer Mode? – endolith Jul 05 '22 at 14:19
  • [This](https://webcache.googleusercontent.com/search?q=cache:np5D48sPNcUJ:https://developer.samsung.com/health-server/server/partner-only/api-reference/data-types/weight.html+&cd=1&hl=en&ct=clnk&gl=us) says you need to create "Unique ID for each health data" in order to import values? – endolith Jul 05 '22 at 15:03
  • This doesn't seem to work anymore (the app version is 6.23.3.003). I added the file, but there are no new buttons on the about screen. And the developer mode seems to be gone. After I tap on the title, only "send log report" button appears. – sigod Mar 20 '23 at 22:45