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

can't transfer files #40

Open
bobthebleeper opened this issue Apr 21, 2020 · 9 comments
Open

can't transfer files #40

bobthebleeper opened this issue Apr 21, 2020 · 9 comments

Comments

@bobthebleeper
Copy link

I have OI Notepad 1.5.4. Previously when transferring files to a new phone I could use export CSV but now OI Convert CSV just keeps stopping. Any suggestions for fix or workaround?

@redstreet
Copy link

I have the same problem.

@bobthebleeper
Copy link
Author

I used CSV editor so that I can at least see my old notes and found another app called Memo that writes to and reads from csv files I then spent rather too much of my life trying to convert my old csv files to the correct format for Memo. I ended up just manually copying my favourite notes from csv editor to Memo, safe in the knowledge that I can access the rest as and when needed in a clunky way using CSV Editor
It is not pretty and I am not proud of myself, but can now live my life. Hope that helps

@redstreet
Copy link

Thanks for sharing! I have way too many notes for any manual approach to work, unfortunately. I'm looking at extracting the database, but am unable to decrypt.

@aperomsik
Copy link
Member

For me the most reliable way to transfer all notes to a new phone has been "adb backup" on a connected PC.

@dicer
Copy link

dicer commented May 26, 2020

This worked for me:

  1. adb backup org.openintents.notepad with your old phone connected
  2. Install OI Notepad on your new phone!
  3. adb restore backup.ab with your new phone connected

Just needed to decrypt all my notes before. Otherwise the app complained with "Decryption failed due to changes in the operating system (Android)."

@redstreet
Copy link

Thank you all. I have hundreds of encrypted notes. Does anyone know of a way to either:

  • decrypt directly from the sqlite database, or,
  • adb backup and restore without decrypting?

@dicer
Copy link

dicer commented May 28, 2020 via email

@redstreet
Copy link

redstreet commented Jan 21, 2021

This worked for me:
1. adb backup org.openintents.notepad with your old phone connected
2. Install OI Notepad on your new phone!
3. adb restore backup.ab with your new phone connected

Just needed to decrypt all my notes before. Otherwise the app complained with "Decryption failed due to changes in the operating system (Android)."

Figured out the issue here: see code, this message is associated with decryption_failed_due_to_permissions. To fix this, go to the permissions list of the app (long press app in android -> info -> permissions) and enable "encrypt/decrypt" permissions. Worked fine for me on Android 10. I was able to transfer via adb without having to decrypt/reencrypt. @dicer

@redstreet
Copy link

I'd like to decrypt notes that I extracted from the sqlite database using python. I'd imagine it should be possible, given OI-Safe uses AES, if I have the right parameters. Would anyone with a security background be kind enough to help with this?

Here is where this is decrypted in OI-Safe

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

4 participants