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:
Sriharsha Allenki
2024-02-19 16:15:50 +00:00
committed by bengris32
parent 1830492e21
commit 8dddc352fa

View File

@@ -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