Exporting Data from ColorNote Android
First: If you're googling this because you think about using ColorNote: don't! It does not support exporting your data to a free format. You have to jump through internal hoops to get it back.
If however you have used it in the past, here is how to liberate your data:
- Install the android sdk so that you have adb
- Enable adb debugging on your device
- Connect to your device:
- Connect phone via usb cable
- Switch to usb mode (in case you were debugging over network before):
adb usb
- Check if your device appears in the list:
adb devices
-
Backup ColorNote app data to
./backup.ab
, i.e. run:adb backup -noapk com.socialnmobile.dictapps.notepad.color.note
- extract the file:
dd if=backup.ab bs=1 skip=24 | python2 -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))"= | tar -xvf -
- Open
databases/colornote.db
in something like SQLite Browser - List all the notes:
SELECT datetime(created_date/1000,'unixepoch') as created, datetime(modified_date/1000,'unixepoch') as modified,note FROM notes ORDER BY created
- Export as CSV
- Try this script to convert to org-mode headlines
Caveats:
I have a few entries with weird json/binary blobs
Dates might be in UTC (?)
Instructions based on http://android.stackexchange.com/a/92756 and http://stackoverflow.com/a/17876731.