I guess the problem is in on of the methods open/read/releasedir.
I've tried to debug it and in the queue in method readdir there are stored all directories of root. Furthermore, fuse says all methods were successful:
[knezi@holly adbFS]$ ./adbfs point/ -d
--*-- exec_command: rm -rf /tmp/adbfs
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.26
flags=0x001ffffb
max_readahead=0x00020000
INIT: 7.19
flags=0x00000011
max_readahead=0x00020000
max_write=0x00020000
max_background=0
congestion_threshold=0
unique: 1, success, outsize: 40
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 27938
getattr /
stat -t "/"
--*-- exec_command: adb shell busybox stat -t "/"
unique: 2, success, outsize: 120
unique: 3, opcode: GETXATTR (22), nodeid: 1, insize: 72, pid: 27938
unique: 3, error: -38 (Function not implemented), outsize: 16
unique: 4, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 27957
getattr /
stat -t "/"
--*-- exec_command: adb shell busybox stat -t "/"
unique: 4, success, outsize: 120
unique: 5, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 27957
unique: 5, success, outsize: 32
unique: 6, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 27957
readdir[0] from 0
--*-- exec_command: adb shell busybox ls -1a --color\=none "/"
unique: 6, success, outsize: 1520
unique: 7, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0
unique: 7, success, outsize: 16
I've tried it both adb with root/non-root access. If you need more debugging, tell me what. I'll try to look at it once more later if I figure something out.
And I want to ask if it is really necessary to use busybox? All needed commands are present on my phone. If so, please state it to the dependencies - it took me quite a while to find out.
Hi,
I'm running Lineage OS 7.1.1 and I'm getting this error:
ls: reading directory 'point/': Input/output errorI guess the problem is in on of the methods open/read/releasedir.
I've tried to debug it and in the queue in method readdir there are stored all directories of root. Furthermore, fuse says all methods were successful:
I've tried it both adb with root/non-root access. If you need more debugging, tell me what. I'll try to look at it once more later if I figure something out.
And I want to ask if it is really necessary to use busybox? All needed commands are present on my phone. If so, please state it to the dependencies - it took me quite a while to find out.