Live data from Hacker News

Adbfs-rootless – Mount Android phones on Linux with adb. No root required

github.com

1–10 of 29 posts

Re: Adbfs-rootless – Mount Android phones on Linux with adb. No root required

#2
Hello, maintainer here. Happy to see this little project on the front page of HN. Unfortunately it hasn't received the appropriate attention from me lately, mainly because of the difficulties of running tests (and the android emulator) on GH action runners. Attempt to add some basic tests can be found here https://github.com/spion/adbfs-rootless/pull/62

This submission motivated me to check out the latest state of virtualization in GHA and it looks like GH shipped it for all linux runners https://github.com/actions/runner-images/discussions/7191#di... - so it might be possible to get that PR working now.

Re: Adbfs-rootless – Mount Android phones on Linux with adb. No root required

#3
post #2

Hello, maintainer here. Happy to see this little project on the front page of HN. Unfortunately it hasn't received the appropriate attention from me lately, mainly because of the difficulties of running tests (and the android emulator) on GH action runners. Attempt to add some basic tests can be found here https://github.com/spion/adbfs-rootless/pull/62 This submission motivated me to check out the latest state of vi…

Hi maintainer, can you please outline the differences in functionality between using this on a rooted vs non-rooted device? Thank you

Re: Adbfs-rootless – Mount Android phones on Linux with adb. No root required

#4
post #3
post #2

Hello, maintainer here. Happy to see this little project on the front page of HN. Unfortunately it hasn't received the appropriate attention from me lately, mainly because of the difficulties of running tests (and the android emulator) on GH action runners. Attempt to add some basic tests can be found here https://github.com/spion/adbfs-rootless/pull/62 This submission motivated me to check out the latest state of vi…

Hi maintainer, can you please outline the differences in functionality between using this on a rooted vs non-rooted device? Thank you

I've never used it with a rooted device! :)

I don't think there should be any significant difference in funcitonality, other than perhaps the set of directories accessible. In general, you should be able to access anything that you can view / access using `adb shell ls`, `adb pull` and `adb push`

Re: Adbfs-rootless – Mount Android phones on Linux with adb. No root required

#5
post #4
post #3

Earlier quoted context omitted.

Hi maintainer, can you please outline the differences in functionality between using this on a rooted vs non-rooted device? Thank you

I've never used it with a rooted device! :) I don't think there should be any significant difference in funcitonality, other than perhaps the set of directories accessible. In general, you should be able to access anything that you can view / access using `adb shell ls`, `adb pull` and `adb push`

Understood, thanks. I thought there was some exploit or something in play.

Re: Adbfs-rootless – Mount Android phones on Linux with adb. No root required

#6
post #5
post #4

Earlier quoted context omitted.

I've never used it with a rooted device! :) I don't think there should be any significant difference in funcitonality, other than perhaps the set of directories accessible. In general, you should be able to access anything that you can view / access using `adb shell ls`, `adb pull` and `adb push`

Understood, thanks. I thought there was some exploit or something in play.

Nothing that exciting, I'm afraid.

Re: Adbfs-rootless – Mount Android phones on Linux with adb. No root required

#9
post #2

Hello, maintainer here. Happy to see this little project on the front page of HN. Unfortunately it hasn't received the appropriate attention from me lately, mainly because of the difficulties of running tests (and the android emulator) on GH action runners. Attempt to add some basic tests can be found here https://github.com/spion/adbfs-rootless/pull/62 This submission motivated me to check out the latest state of vi…

Thank you for writing this. I use it routinely to back up my phone by mounting it and then simply running rsync.

Re: Adbfs-rootless – Mount Android phones on Linux with adb. No root required

#10
It's also possible to run sshd in Termux (https://wiki.termux.com/wiki/Remote_Access), and mount a regular sshfs on the Linux side. Though this may not allow modifying files in external storage. The Linux side being:

    sshfs -o follow_symlinks,IdentityFile=/your/termux/id_rsa -p 8022 Linux@$PHONE_IP:/ /path/to/where/to/mount
Post reply on HN