What is the best way for USB mirroring between two android devices. I have an AOSP for one of the android device. I want to do data sharing between these devices. If I plug a USB device to one of the device that I want to be access through other device. I tried samba server install on AOSP device using termux however I cannot access it through client android device because of permissions.
I tried USB/IP. USB/IP server is working I checked with window client however, I dont get anything which may work for android device as client. Can some help in this? Any suggestions or hint will be helpful.