mirror of
https://github.com/Evolution-X-Devices/device_google_redbull
synced 2026-02-01 09:20:23 +00:00
usb: set sys.usb.mtp.batchcancel to true
The cancelling behavior in MTP has two behaviors. 1. cancel requests one by one 2. batch cancel all requests This patch will set the property to true to enable batch cancel all requests. Bug: 193868252 Test: Verified work Change-Id: If8c78b00858b049c68eb2b398ce679fd830107c4
This commit is contained in:
@@ -49,6 +49,7 @@ on post-fs-data
|
||||
mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
||||
mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
||||
setprop sys.usb.mtp.device_type 3
|
||||
setprop sys.usb.mtp.batchcancel true
|
||||
setprop sys.usb.controller "a600000.dwc3"
|
||||
symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1
|
||||
write /sys/module/libcomposite/parameters/disable_l1_for_hs "y"
|
||||
|
||||
Reference in New Issue
Block a user