Skip to content
Michele Salvador edited this page Oct 18, 2024 · 3 revisions

Tree files

In Family Gem trees are stored as JSON files in the device "internal storage".
To see the path of a tree file, activate Advanced tools, then go to Trees menu → InfoFile.
The path could be something like /data/data/app.familygem/files/1.json.
Usually this folder is not accessible by the user, but you can copy tree files from there using ADB (Andoid Debug Bridge).

Get tree file with ADB

Install ADB on a PC.
On the Android device activate Developer options, and then USB debugging.
Connect the Android device to the PC through USB cable.
On the PC open a Terminal and write the following commands.
To list the files:

adb shell "run-as app.familygem ls /data/data/app.familygem/files"

To copy a file:

adb shell "run-as app.familygem cat /data/data/app.familygem/files/1.json" > "C:\Users\My Name\Desktop\1.json"

Media files

Media files are stored in the device "external storage".
Usually the path is /Android/data/app.familygem/files/ + the tree ID.
On old Android devices this path is accessible with any file manager, but from Android 10 it becomes more and more restricted.
A possible solution is to access this folder from a PC, connecting the Android device through USB cable.