unfortunately, the EDIT 2: didn't work for me (DXG).
Now when the USB is connected it just hides the list of user
documents, but doesn't show the "USB connected" screen.
Drive letter gets created on the host, but the drive is not accessible.
Writing to /sys/devices/platform/arc_udc/gadget/gadget-lun0/file still helps...