Lines Matching refs:config
7 # Copy prebuilt ld.config.txt into linkerconfig directory
8 copy /system/etc/ld.config.txt /linkerconfig/ld.config.txt
9 chmod 444 /linkerconfig/ld.config.txt
91 mount configfs none /config
92 mkdir /config/usb_gadget/g1 0770 shell shell
93 write /config/usb_gadget/g1/idVendor 0x18D1
94 mkdir /config/usb_gadget/g1/strings/0x409 0770
95 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
96 write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
97 write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
98 mkdir /config/usb_gadget/g1/functions/ffs.adb
99 mkdir /config/usb_gadget/g1/functions/ffs.fastboot
100 mkdir /config/usb_gadget/g1/configs/b.1 0777 shell shell
101 mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770 shell shell
117 on property:sys.usb.config=adb
120 on property:sys.usb.config=fastboot
123 on property:sys.usb.config=none && property:sys.usb.configfs=0
127 setprop sys.usb.state ${sys.usb.config}
129 on property:sys.usb.config=adb && property:sys.usb.configfs=0
133 setprop sys.usb.state ${sys.usb.config}
135 on property:sys.usb.config=sideload && property:sys.usb.configfs=0
139 setprop sys.usb.state ${sys.usb.config}
141 on property:sys.usb.config=fastboot && property:sys.usb.configfs=0
145 setprop sys.usb.state ${sys.usb.config}
148 on property:sys.usb.config=none && property:sys.usb.configfs=1
149 write /config/usb_gadget/g1/UDC "none"
153 rm /config/usb_gadget/g1/configs/b.1/f1
154 setprop sys.usb.state ${sys.usb.config}
156 on property:sys.usb.config=sideload && property:sys.usb.ffs.ready=1 && property:sys.usb.configfs=1
157 write /config/usb_gadget/g1/idProduct 0xD001
158 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb"
159 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1
160 write /config/usb_gadget/g1/UDC ${sys.usb.controller}
161 setprop sys.usb.state ${sys.usb.config}
163 on property:sys.usb.config=adb && property:sys.usb.ffs.ready=1 && property:sys.usb.configfs=1
164 write /config/usb_gadget/g1/idProduct 0xD001
165 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb"
166 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1
167 write /config/usb_gadget/g1/UDC ${sys.usb.controller}
168 setprop sys.usb.state ${sys.usb.config}
170 on property:sys.usb.config=fastboot && property:sys.usb.ffs.ready=1 && property:sys.usb.configfs=1
171 write /config/usb_gadget/g1/idProduct 0x4EE0
172 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "fastboot"
173 symlink /config/usb_gadget/g1/functions/ffs.fastboot /config/usb_gadget/g1/configs/b.1/f1
174 write /config/usb_gadget/g1/UDC ${sys.usb.controller}
175 setprop sys.usb.state ${sys.usb.config}