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
94 mount configfs none /config
95 mkdir /config/usb_gadget/g1 0770 shell shell
96 write /config/usb_gadget/g1/idVendor 0x18D1
97 mkdir /config/usb_gadget/g1/strings/0x409 0770
98 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
99 write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
100 write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
101 mkdir /config/usb_gadget/g1/functions/ffs.adb
102 mkdir /config/usb_gadget/g1/functions/ffs.fastboot
103 mkdir /config/usb_gadget/g1/configs/b.1 0777 shell shell
104 mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770 shell shell
120 on property:sys.usb.config=adb
123 on property:sys.usb.config=fastboot
126 on property:sys.usb.config=none && property:sys.usb.configfs=0
130 setprop sys.usb.state ${sys.usb.config}
132 on property:sys.usb.config=adb && property:sys.usb.configfs=0
136 setprop sys.usb.state ${sys.usb.config}
138 on property:sys.usb.config=sideload && property:sys.usb.configfs=0
142 setprop sys.usb.state ${sys.usb.config}
144 on property:sys.usb.config=fastboot && property:sys.usb.configfs=0
148 setprop sys.usb.state ${sys.usb.config}
151 on property:sys.usb.config=none && property:sys.usb.configfs=1
152 write /config/usb_gadget/g1/UDC "none"
156 rm /config/usb_gadget/g1/configs/b.1/f1
157 setprop sys.usb.state ${sys.usb.config}
159 on property:sys.usb.config=sideload && property:sys.usb.ffs.ready=1 && property:sys.usb.configfs=1
160 write /config/usb_gadget/g1/idProduct 0xD001
161 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb"
162 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1
163 write /config/usb_gadget/g1/UDC ${sys.usb.controller}
164 setprop sys.usb.state ${sys.usb.config}
166 on property:sys.usb.config=adb && property:sys.usb.ffs.ready=1 && property:sys.usb.configfs=1
167 write /config/usb_gadget/g1/idProduct 0xD001
168 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb"
169 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1
170 write /config/usb_gadget/g1/UDC ${sys.usb.controller}
171 setprop sys.usb.state ${sys.usb.config}
173 on property:sys.usb.config=fastboot && property:sys.usb.ffs.ready=1 && property:sys.usb.configfs=1
174 write /config/usb_gadget/g1/idProduct 0x4EE0
175 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "fastboot"
176 symlink /config/usb_gadget/g1/functions/ffs.fastboot /config/usb_gadget/g1/configs/b.1/f1
177 write /config/usb_gadget/g1/UDC ${sys.usb.controller}
178 setprop sys.usb.state ${sys.usb.config}