Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Saved Story Doesn't Work on Android 10 App Version 3.3 #1448

Open
wellitecho opened this issue May 19, 2021 · 1 comment
Open

Export Saved Story Doesn't Work on Android 10 App Version 3.3 #1448

wellitecho opened this issue May 19, 2021 · 1 comment

Comments

@wellitecho
Copy link

wellitecho commented May 19, 2021

First of all, I'd like to say that this app is a joy to use. Thank you for your hard work on this. So the thing is, I would like to export my saved stories so that I can migrate it as needed. But the export function seems to be not working.
There is no notification, no sign of failure or success. I tried the workaround(search for something like '%' and then export) mentioned in another thread, no luck. Also, no file like 'materialistic-export.txt' was found anywhere.
I read through the issues pertaining to export function, but no workaround seemed to work for me.

So my question is:

  1. is this export function broken?
  2. if it's working, where can I find the exported file?

Thanks in advance.

@ErikBird
Copy link

ErikBird commented Aug 4, 2022

Hey, I also had the same troubles with no luck with the workaround.
Eventually I was able to export all saved links by exporting the database with the Android Developer Tools ADB.
These were my steps (Ubuntu)

  1. Install ADB
    sudo apt-get install android-tools-adb
  2. Make sure USB Debugging is enabled on your phone and allow your pc (USB Connection Required)
  3. Check for all installed packages on your phone
    adb shell pm list packages -f -3
    For me and probably for you, the name is io.github.hidroh.materialistic.
  4. Backup the application data to your pc:
    adb backup -apk io.github.hidroh.materialistic -f hn.adb
  5. Extract the backup data:
    Probably you haven't installed the zlib-flate binary so first:
    apt install qpdf
    Then extract the data in:
    dd if=freeotp.adb bs=24 skip=1 | zlib-flate -uncompress | tar xf -
  6. Now in your directory, there is a folder apps. You can find the database in apps/io.github.hidroh.materialistic/db/Materialistic.db. You can open this database with every SQLite viewer and get your saved stories from the table saved.

The commands are sourced from: https://gist.github.com/AnatomicJC/e773dd55ae60ab0b2d6dd2351eb977c1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants