openintents / notepad

OpenIntents Notepad
http://www.openintents.org/notepad/
47 stars 39 forks source link

can't transfer files #40

Open bobthebleeper opened 4 years ago

bobthebleeper commented 4 years ago

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 commented 4 years ago

I have the same problem.

bobthebleeper commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

dicer commented 4 years ago

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 commented 4 years ago

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

dicer commented 4 years ago

If your new phone can still encrypt things, you can leave the encryption on I think. As far as I understand things, it's a problem with the Android version the app is running on. Just try the adb backup/restore without changing anything. The app will complain if Android doesn't work anymore. There is also an email displayed you can try.

redstreet commented 3 years ago

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 commented 3 years ago

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