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

New Phone - Unable to Backup or Restore Secrets file #141

Open
spence91 opened this issue Aug 10, 2016 · 8 comments
Open

New Phone - Unable to Backup or Restore Secrets file #141

spence91 opened this issue Aug 10, 2016 · 8 comments

Comments

@spence91
Copy link

hi

When I try to import - I'm unable to see any files to restore (I've placed both the backup file and the export .csv file on the root dir of both the internal and SD card) - when I try to back up - I see the "uh oh. unable to [save|export] your secrets"

I'm running Android M - and I have set the SD card as the default storage. I've allowed all permissions that the app has requested.

Am I doing something wrong?

@rogerta
Copy link
Owner

rogerta commented Aug 10, 2016

What version of secrets are you using? There was a recent fix for permission problems that affected android M and later.

@spence91
Copy link
Author

spence91 commented Aug 10, 2016

Hi, thanks for the fast reply - It's version 2.5.

Phone model is Huawei Honor 5C

@spence91
Copy link
Author

spence91 commented Aug 19, 2016

Hi - just wanted to clarify what's happening: I have the secrets file on the root DIR of the SD card - and when I try to restore I only get the time diffs, no option to select the file.

Here's where the secrets file is: http://imgur.com/a/735oN

This is what I see when I try to restore: http://imgur.com/a/2IFdh

(apologies for closing and re-opening the issue)

@spence91 spence91 reopened this Aug 19, 2016
@rogerta
Copy link
Owner

rogerta commented Aug 19, 2016

Can you verify that the path to the "SD CARD" folder is "/sdcard"? Phones with an SD card slot (your phone is one of them) don't necessarily mount that slot as /sdcard. Sometimes /sdcard is actually mapped to the internal storage. If you have a file manager app for your phone, try moving the secrets file to /sdcard and then doing the restore.

@spence91
Copy link
Author

I've just downloaded a console app. "ls -l /sdcard" shows a symlink that points to "/storage/sdcard1".

"ls -l /storage/sdcard1" returns "No such file or directory".

My SD card is mounted at "/storage/3D7D-92AC/" - which is what that picture shows.

@rogerta
Copy link
Owner

rogerta commented Aug 19, 2016

Go to storage in settings and change the default storage to external SD
card. Different phone manufacturers do this differently, and I don't have a
phone like yours, so I can't be more specific, sorry. Let MO know how it
goes.

Thanks,
Roger

On Aug 19, 2016 10:15 AM, "spence91" [email protected] wrote:

I've just downloaded a console app. "ls -l /sdcard" shows a symlink that
points to "/storage/sdcard1".

"ls -l /storage/sdcard1" returns "No such file or directory".

My SD card is mounted at "/storage/3D7D-92AC/" - which is what that
picture shows.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#141 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACvgxCbfnXszK7mjFjrtn3QXFaBhahOrks5qhbqdgaJpZM4JhHRB
.

@spence91
Copy link
Author

The default storage has already been changed to external SD, as was mentioned in the original post. It's annoying that my phone doesn't seem to conform to the standard, but there you go.

I'm going to download Android studio and try to compile secrets with a different set of paths suitable for my phone.

@rogerta
Copy link
Owner

rogerta commented Aug 26, 2016

Hi Spencer,

Sorry for delay. If you're a developer, and you're willing to make a
change to fix this, that's awesome! I'd be happy to accept a pull request
too. Would be great to have secrets use some kind of search path. Might
be good to keep using '/sdcard' for backward compat, but also use the
storage api to get the location of all "external" storage devices, the
default downloads location, etc.

Roger Tawa
http://tawacentral.net/
[When you stop, you're done.]

On Mon, Aug 22, 2016 at 10:05 AM, spence91 [email protected] wrote:

The default storage has already been changed to external SD, as was
mentioned in the original post. It's annoying that my phone doesn't seem to
conform to the standard, but there you go.

I'm going to download Android studio and try to compile secrets with a
different set of paths suitable for my phone.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#141 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACvgxHdKLtAiA2CnkHhPCXjVXSO-LbhGks5qiaytgaJpZM4JhHRB
.

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