{"push_id":575881636,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"8dd5490b00b84f1d66555a2164a1a59d3f0a3dbe","before":"d71d4d86a821c3ddb27393b70a20cedf7f1fa555","commits":[{"sha":"8dd5490b00b84f1d66555a2164a1a59d3f0a3dbe","author":{"email":"0bcd4dade8bc9135441847460b651a5ef589ec79@samsung.com","name":"Andrzej Pietrasiewicz"},"message":"Backport \"FunctionFS: initial implementation\"\n\nThis is the second version of a patch which demonstrates the possibility\nof using adbd (Android Debug Bridge daemon) with a generic FunctionFS gadget\ninstead of a custom adb usb gadget in the Linux kernel. It contains changes\nintroduced after Benoit's review - thank you Benoit.\n\nThe patch adds a new usb access layer to adbd using FunctionFS. The former\nusb access method is still available. The method is chosen at runtime\ndepending if /dev/usb-ffs/adb/ep0 or /dev/android_adb is accessible.\n\nHow to use on the target device:\n\n$ insmod g_ffs.ko idVendor=<vendor ID> iSerialNumber=<some string>\n$ mount -t functionfs adb /dev/usb-ffs/adb -o uid=2000,gid=2000\n$ ./adbd\n\nThis patch requires a patch to bionic which adds <linux/usb_functionfs.h>\nwhich is an exact copy of the relevant file in the linux kernel.\n\nChange-Id: I4b42eb267ffa50fca7a5fba46f388a2f083e8b2d\nSigned-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>\nSigned-off-by: Kyungmin Park <kyungmin.park@samsung.com>\n[benoit@android.com: detect at runtime if functionfs is mounted\nor fallback using f_adb]\nSigned-off-by: Benoit Goby <benoit@android.com>\n\nCommit: fd96db17b7f07eb6615af01fd1908b74383bf04b","distinct":true,"url":"https://api.github.com/repos/Tasssadar/multirom_adbd/commits/8dd5490b00b84f1d66555a2164a1a59d3f0a3dbe"}]}