mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 18:07:31 +00:00
rosemary: rootdir: Set the sys.mtp.device_type property
VtsTrebleSysProp test cases fail if the sys.mtp.device_type is unset. Set the property to value 3 so that the device appears as a phone on the host PC. Change-Id: I1123ca808cf027d6d787c58f58133b6ce67af4de
This commit is contained in:
committed by
bengris32
parent
1830492e21
commit
8dddc352fa
@@ -35,6 +35,7 @@ on post-fs
|
||||
mkdir /dev/usb-ffs/ptp 0770 mtp mtp
|
||||
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
|
||||
|
||||
# ncm function
|
||||
mkdir /config/usb_gadget/g1/functions/ncm.gs9
|
||||
|
||||
Reference in New Issue
Block a user