Omar01 Posted March 3, 2021 Share Posted March 3, 2021 >First step is to stop the above script echo 0 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role sleep 1 rmmod usbhid -f rmmod g_ether -f >In the second step we create the image and mount the client as usb mkdir -p /mnt/USBFake/ dd if=/dev/zero of=/mnt/fakeUSB bs=1M count=200 mkfs.vfat /mnt/fakeUSB fatlabel /mnt/fakeUSB KeyBackup insmod /usr/local/croc/lib/croc_gadget.ko is_storage=1 file=/mnt/fakeUSB stall=0 removable=1 nofua=0 idVendor=0xF000 idProduct=0xFF10 iSerialNumber=ch000001 echo 2 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role mount /mnt/fakeUSB /mnt/USBFake/ Its ready! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.