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

aft-mtp-mount hides away files if I attemt to browser locked device #121

Closed
vi opened this issue May 3, 2016 · 2 comments
Closed

aft-mtp-mount hides away files if I attemt to browser locked device #121

vi opened this issue May 3, 2016 · 2 comments

Comments

@vi
Copy link

vi commented May 3, 2016

Typically I can disconnect and reconnect the device without unmounting aft-mtp-mount. I also can lock the device after connecting AFT.

But when I try to browse filesystem of a locked device, it not only hides all files (without even providing some README with a message about locked device), but also fails to restore files if I unlock the device (unlike GUI version), requiring me to remount.

Expected: when device is not accessible, show empty directory or README (or status or whatever) file mentioning that there is no device. If device is present, but locked, show message about locked device in the virtual file.

Ideally I also want AFT be authorized by key (like ADB) instead of by unlocked screen. But that's probably outside MTP feature set.

@whoozle
Copy link
Owner

whoozle commented May 4, 2016

Ideally I also want AFT be authorized by key (like ADB) instead of by unlocked screen. But that's probably outside MTP feature set.

probably you could control mtp service via adb/some phone command.

@whoozle
Copy link
Owner

whoozle commented Sep 11, 2018

unfortunately it's security feature of android itself, feel free to script -cli tool,
similar issues: #103 #74

@whoozle whoozle closed this as completed Sep 11, 2018
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