Hacker News new | past | comments | ask | show | jobs | submit login

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.




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


Are you rooted? Have you ever tried restoring a backup in this way?

Backup on android (without Google Services' online) is awful, SeedVault exists but has issues.


Am I missing something? Your phone isn’t using encrypted storage?


Encrypted storage is an implementation detail of the filesystem. Once you're at the point of connecting an unlocked phone to a computer running ADB, you can just transfer files and not care about whether or not the underlying data is encrypted at rest.


Hi there do you think adbfs could work with adb over TCP (wifi)?


Answer - yes it can.

Pair over TCP like normal, connect to it, then follow the README.

``` adb pair xxx:xxx

adb connect yyy:yyy

adb devices

mkdir -p testhere

./adbfs testhere

ls testhere ```


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.


Nothing that exciting, I'm afraid.


Can't you somehow run adb on real Linux?




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: