1# Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 2# 3# Redistribution and use in source and binary forms, with or without 4# modification, are permitted provided that the following conditions are met: 5# 6# * Redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer. 8# * Redistributions in binary form must reproduce the above 9# copyright notice, this list of conditions and the following 10# disclaimer in the documentation and/or other materials provided 11# with the distribution. 12# * Neither the name of The Linux Foundation nor the names of its 13# contributors may be used to endorse or promote products derived 14# from this software without specific prior written permission. 15# 16# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 17# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 18# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 19# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 20# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 23# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 25# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 26# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# 28 29# USB compositions 30on property:sys.usb.config=none && property:sys.usb.configfs=1 31 rm /config/usb_gadget/g1/configs/b.1/f1 32 rm /config/usb_gadget/g1/configs/b.1/f2 33 rm /config/usb_gadget/g1/configs/b.1/f3 34 rm /config/usb_gadget/g1/configs/b.1/f4 35 rm /config/usb_gadget/g1/configs/b.1/f5 36 rm /config/usb_gadget/g1/configs/b.1/f6 37 rm /config/usb_gadget/g1/configs/b.1/f7 38 rm /config/usb_gadget/g1/configs/b.1/f8 39 rm /config/usb_gadget/g1/configs/b.1/f9 40 41on property:sys.usb.config=mass_storage && property:sys.usb.configfs=1 42 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "msc" 43 rm /config/usb_gadget/g1/configs/b.1/f1 44 rm /config/usb_gadget/g1/configs/b.1/f2 45 rm /config/usb_gadget/g1/configs/b.1/f3 46 rm /config/usb_gadget/g1/configs/b.1/f4 47 rm /config/usb_gadget/g1/configs/b.1/f5 48 rm /config/usb_gadget/g1/configs/b.1/f6 49 rm /config/usb_gadget/g1/configs/b.1/f7 50 rm /config/usb_gadget/g1/configs/b.1/f8 51 rm /config/usb_gadget/g1/configs/b.1/f9 52 write /config/usb_gadget/g1/idVendor 0x05C6 53 write /config/usb_gadget/g1/idProduct 0xF000 54 symlink /config/usb_gadget/g1/functions/mass_storage.0 /config/usb_gadget/g1/configs/b.1/f1 55 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 56 setprop sys.usb.state ${sys.usb.config} 57 58on property:sys.usb.config=mass_storage,adb && property:sys.usb.configfs=1 59 start adbd 60 61on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mass_storage,adb && property:sys.usb.configfs=1 62 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb_msc" 63 rm /config/usb_gadget/g1/configs/b.1/f1 64 rm /config/usb_gadget/g1/configs/b.1/f2 65 rm /config/usb_gadget/g1/configs/b.1/f3 66 rm /config/usb_gadget/g1/configs/b.1/f4 67 rm /config/usb_gadget/g1/configs/b.1/f5 68 rm /config/usb_gadget/g1/configs/b.1/f6 69 rm /config/usb_gadget/g1/configs/b.1/f7 70 rm /config/usb_gadget/g1/configs/b.1/f8 71 rm /config/usb_gadget/g1/configs/b.1/f9 72 write /config/usb_gadget/g1/idVendor 0x05C6 73 write /config/usb_gadget/g1/idProduct 0x9015 74 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1 75 symlink /config/usb_gadget/g1/functions/mass_storage.0 /config/usb_gadget/g1/configs/b.1/f2 76 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 77 setprop sys.usb.state ${sys.usb.config} 78 79on property:sys.usb.config=diag,adb && property:sys.usb.configfs=1 80 start adbd 81 82on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,adb && property:sys.usb.configfs=1 83 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_adb" 84 rm /config/usb_gadget/g1/configs/b.1/f1 85 rm /config/usb_gadget/g1/configs/b.1/f2 86 rm /config/usb_gadget/g1/configs/b.1/f3 87 rm /config/usb_gadget/g1/configs/b.1/f4 88 rm /config/usb_gadget/g1/configs/b.1/f5 89 rm /config/usb_gadget/g1/configs/b.1/f6 90 rm /config/usb_gadget/g1/configs/b.1/f7 91 rm /config/usb_gadget/g1/configs/b.1/f8 92 rm /config/usb_gadget/g1/configs/b.1/f9 93 write /config/usb_gadget/g1/idVendor 0x05C6 94 write /config/usb_gadget/g1/idProduct 0x901D 95 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 96 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 97 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 98 setprop sys.usb.state ${sys.usb.config} 99 100on property:sys.usb.config=diag && property:sys.usb.configfs=1 101 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag" 102 rm /config/usb_gadget/g1/configs/b.1/f1 103 rm /config/usb_gadget/g1/configs/b.1/f2 104 rm /config/usb_gadget/g1/configs/b.1/f3 105 rm /config/usb_gadget/g1/configs/b.1/f4 106 rm /config/usb_gadget/g1/configs/b.1/f5 107 rm /config/usb_gadget/g1/configs/b.1/f6 108 rm /config/usb_gadget/g1/configs/b.1/f7 109 rm /config/usb_gadget/g1/configs/b.1/f8 110 rm /config/usb_gadget/g1/configs/b.1/f9 111 write /config/usb_gadget/g1/idVendor 0x05C6 112 write /config/usb_gadget/g1/idProduct 0x900E 113 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 114 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 115 setprop sys.usb.state ${sys.usb.config} 116 117on property:sys.usb.config=diag,serial_cdev,rmnet,adb && property:sys.usb.configfs=1 118 start adbd 119 120on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,serial_cdev,rmnet,adb && property:sys.usb.configfs=1 121 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "Default composition" 122 rm /config/usb_gadget/g1/configs/b.1/f1 123 rm /config/usb_gadget/g1/configs/b.1/f2 124 rm /config/usb_gadget/g1/configs/b.1/f3 125 rm /config/usb_gadget/g1/configs/b.1/f4 126 rm /config/usb_gadget/g1/configs/b.1/f5 127 rm /config/usb_gadget/g1/configs/b.1/f6 128 rm /config/usb_gadget/g1/configs/b.1/f7 129 rm /config/usb_gadget/g1/configs/b.1/f8 130 rm /config/usb_gadget/g1/configs/b.1/f9 131 write /config/usb_gadget/g1/idVendor 0x05C6 132 write /config/usb_gadget/g1/idProduct 0x9091 133 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 134 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 135 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 136 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f4 137 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 138 setprop sys.usb.state ${sys.usb.config} 139 140on property:sys.usb.config=diag,serial_cdev,rmnet && property:sys.usb.configfs=1 141 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "Default comp without ADB" 142 rm /config/usb_gadget/g1/configs/b.1/f1 143 rm /config/usb_gadget/g1/configs/b.1/f2 144 rm /config/usb_gadget/g1/configs/b.1/f3 145 rm /config/usb_gadget/g1/configs/b.1/f4 146 rm /config/usb_gadget/g1/configs/b.1/f5 147 rm /config/usb_gadget/g1/configs/b.1/f6 148 rm /config/usb_gadget/g1/configs/b.1/f7 149 rm /config/usb_gadget/g1/configs/b.1/f8 150 rm /config/usb_gadget/g1/configs/b.1/f9 151 write /config/usb_gadget/g1/idVendor 0x05C6 152 write /config/usb_gadget/g1/idProduct 0x9092 153 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 154 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 155 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 156 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 157 setprop sys.usb.state ${sys.usb.config} 158 159on property:vendor.usb.tethering=true 160 write /sys/class/net/rndis0/queues/rx-0/rps_cpus ${vendor.usb.rps_mask} 161 162on property:sys.usb.config=rndis 163 setprop sys.usb.config rndis,${persist.vendor.usb.config.extra} 164 165on property:sys.usb.config=rndis,none && property:sys.usb.configfs=1 166 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis" 167 rm /config/usb_gadget/g1/configs/b.1/f1 168 rm /config/usb_gadget/g1/configs/b.1/f2 169 rm /config/usb_gadget/g1/configs/b.1/f3 170 rm /config/usb_gadget/g1/configs/b.1/f4 171 rm /config/usb_gadget/g1/configs/b.1/f5 172 rm /config/usb_gadget/g1/configs/b.1/f6 173 rm /config/usb_gadget/g1/configs/b.1/f7 174 rm /config/usb_gadget/g1/configs/b.1/f8 175 rm /config/usb_gadget/g1/configs/b.1/f9 176 write /config/usb_gadget/g1/idVendor 0x05C6 177 write /config/usb_gadget/g1/idProduct 0xF00E 178 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 179 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 180 setprop sys.usb.state rndis 181 182on property:sys.usb.config=rndis,adb 183 setprop sys.usb.config rndis,${persist.vendor.usb.config.extra},adb 184 185on property:sys.usb.config=rndis,none,adb && property:sys.usb.configfs=1 186 start adbd 187 188on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,none,adb && property:sys.usb.configfs=1 189 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_adb" 190 rm /config/usb_gadget/g1/configs/b.1/f1 191 rm /config/usb_gadget/g1/configs/b.1/f2 192 rm /config/usb_gadget/g1/configs/b.1/f3 193 rm /config/usb_gadget/g1/configs/b.1/f4 194 rm /config/usb_gadget/g1/configs/b.1/f5 195 rm /config/usb_gadget/g1/configs/b.1/f6 196 rm /config/usb_gadget/g1/configs/b.1/f7 197 rm /config/usb_gadget/g1/configs/b.1/f8 198 rm /config/usb_gadget/g1/configs/b.1/f9 199 write /config/usb_gadget/g1/idVendor 0x05C6 200 write /config/usb_gadget/g1/idProduct 0x9024 201 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 202 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 203 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 204 setprop sys.usb.state rndis,adb 205 206on property:sys.usb.config=rndis,diag && property:sys.usb.configfs=1 207 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag" 208 rm /config/usb_gadget/g1/configs/b.1/f1 209 rm /config/usb_gadget/g1/configs/b.1/f2 210 rm /config/usb_gadget/g1/configs/b.1/f3 211 rm /config/usb_gadget/g1/configs/b.1/f4 212 rm /config/usb_gadget/g1/configs/b.1/f5 213 rm /config/usb_gadget/g1/configs/b.1/f6 214 rm /config/usb_gadget/g1/configs/b.1/f7 215 rm /config/usb_gadget/g1/configs/b.1/f8 216 rm /config/usb_gadget/g1/configs/b.1/f9 217 write /config/usb_gadget/g1/idVendor 0x05C6 218 write /config/usb_gadget/g1/idProduct 0x902C 219 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 220 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 221 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 222 setprop sys.usb.state rndis 223 224on property:sys.usb.config=rndis,diag,adb && property:sys.usb.configfs=1 225 start adbd 226 227on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,adb && property:sys.usb.configfs=1 228 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_adb" 229 rm /config/usb_gadget/g1/configs/b.1/f1 230 rm /config/usb_gadget/g1/configs/b.1/f2 231 rm /config/usb_gadget/g1/configs/b.1/f3 232 rm /config/usb_gadget/g1/configs/b.1/f4 233 rm /config/usb_gadget/g1/configs/b.1/f5 234 rm /config/usb_gadget/g1/configs/b.1/f6 235 rm /config/usb_gadget/g1/configs/b.1/f7 236 rm /config/usb_gadget/g1/configs/b.1/f8 237 rm /config/usb_gadget/g1/configs/b.1/f9 238 write /config/usb_gadget/g1/idVendor 0x05C6 239 write /config/usb_gadget/g1/idProduct 0x902D 240 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 241 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 242 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 243 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 244 setprop sys.usb.state rndis,adb 245 246on property:sys.usb.config=rndis,serial_cdev && property:sys.usb.configfs=1 247 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_dun" 248 rm /config/usb_gadget/g1/configs/b.1/f1 249 rm /config/usb_gadget/g1/configs/b.1/f2 250 rm /config/usb_gadget/g1/configs/b.1/f3 251 rm /config/usb_gadget/g1/configs/b.1/f4 252 rm /config/usb_gadget/g1/configs/b.1/f5 253 rm /config/usb_gadget/g1/configs/b.1/f6 254 rm /config/usb_gadget/g1/configs/b.1/f7 255 rm /config/usb_gadget/g1/configs/b.1/f8 256 rm /config/usb_gadget/g1/configs/b.1/f9 257 write /config/usb_gadget/g1/idVendor 0x05C6 258 write /config/usb_gadget/g1/idProduct 0x90B3 259 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 260 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 261 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 262 setprop sys.usb.state rndis 263 264on property:sys.usb.config=rndis,serial_cdev,adb && property:sys.usb.configfs=1 265 start adbd 266 267on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,serial_cdev,adb && property:sys.usb.configfs=1 268 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_dun_adb" 269 rm /config/usb_gadget/g1/configs/b.1/f1 270 rm /config/usb_gadget/g1/configs/b.1/f2 271 rm /config/usb_gadget/g1/configs/b.1/f3 272 rm /config/usb_gadget/g1/configs/b.1/f4 273 rm /config/usb_gadget/g1/configs/b.1/f5 274 rm /config/usb_gadget/g1/configs/b.1/f6 275 rm /config/usb_gadget/g1/configs/b.1/f7 276 rm /config/usb_gadget/g1/configs/b.1/f8 277 rm /config/usb_gadget/g1/configs/b.1/f9 278 write /config/usb_gadget/g1/idVendor 0x05C6 279 write /config/usb_gadget/g1/idProduct 0x90B4 280 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 281 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 282 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 283 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 284 setprop sys.usb.state rndis,adb 285 286on property:sys.usb.config=rndis,serial_cdev,diag && property:sys.usb.configfs=1 287 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_dun_diag" 288 rm /config/usb_gadget/g1/configs/b.1/f1 289 rm /config/usb_gadget/g1/configs/b.1/f2 290 rm /config/usb_gadget/g1/configs/b.1/f3 291 rm /config/usb_gadget/g1/configs/b.1/f4 292 rm /config/usb_gadget/g1/configs/b.1/f5 293 rm /config/usb_gadget/g1/configs/b.1/f6 294 rm /config/usb_gadget/g1/configs/b.1/f7 295 rm /config/usb_gadget/g1/configs/b.1/f8 296 rm /config/usb_gadget/g1/configs/b.1/f9 297 write /config/usb_gadget/g1/idVendor 0x05C6 298 write /config/usb_gadget/g1/idProduct 0x90B5 299 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 300 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 301 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f3 302 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 303 setprop sys.usb.state rndis 304 305on property:sys.usb.config=rndis,serial_cdev,diag,adb && property:sys.usb.configfs=1 306 start adbd 307 308on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,serial_cdev,diag,adb && property:sys.usb.configfs=1 309 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_dun_diag" 310 rm /config/usb_gadget/g1/configs/b.1/f1 311 rm /config/usb_gadget/g1/configs/b.1/f2 312 rm /config/usb_gadget/g1/configs/b.1/f3 313 rm /config/usb_gadget/g1/configs/b.1/f4 314 rm /config/usb_gadget/g1/configs/b.1/f5 315 rm /config/usb_gadget/g1/configs/b.1/f6 316 rm /config/usb_gadget/g1/configs/b.1/f7 317 rm /config/usb_gadget/g1/configs/b.1/f8 318 rm /config/usb_gadget/g1/configs/b.1/f9 319 write /config/usb_gadget/g1/idVendor 0x05C6 320 write /config/usb_gadget/g1/idProduct 0x90B6 321 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 322 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 323 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f3 324 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f4 325 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 326 setprop sys.usb.state rndis,adb 327 328on property:sys.usb.config=mtp,diag && property:sys.usb.configfs=1 329 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "mtp_diag" 330 rm /config/usb_gadget/g1/configs/b.1/f1 331 rm /config/usb_gadget/g1/configs/b.1/f2 332 rm /config/usb_gadget/g1/configs/b.1/f3 333 rm /config/usb_gadget/g1/configs/b.1/f4 334 rm /config/usb_gadget/g1/configs/b.1/f5 335 rm /config/usb_gadget/g1/configs/b.1/f6 336 rm /config/usb_gadget/g1/configs/b.1/f7 337 rm /config/usb_gadget/g1/configs/b.1/f8 338 rm /config/usb_gadget/g1/configs/b.1/f9 339 write /config/usb_gadget/g1/idVendor 0x05C6 340 write /config/usb_gadget/g1/idProduct 0x901B 341 symlink /config/usb_gadget/g1/functions/mtp.gs0 /config/usb_gadget/g1/configs/b.1/f1 342 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 343 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 344 setprop sys.usb.state ${sys.usb.config} 345 346on property:sys.usb.config=mtp,diag,adb && property:sys.usb.configfs=1 347 start adbd 348 349on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mtp,diag,adb && property:sys.usb.configfs=1 350 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "mtp_diag_adb" 351 rm /config/usb_gadget/g1/configs/b.1/f1 352 rm /config/usb_gadget/g1/configs/b.1/f2 353 rm /config/usb_gadget/g1/configs/b.1/f3 354 rm /config/usb_gadget/g1/configs/b.1/f4 355 rm /config/usb_gadget/g1/configs/b.1/f5 356 rm /config/usb_gadget/g1/configs/b.1/f6 357 rm /config/usb_gadget/g1/configs/b.1/f7 358 rm /config/usb_gadget/g1/configs/b.1/f8 359 rm /config/usb_gadget/g1/configs/b.1/f9 360 write /config/usb_gadget/g1/idVendor 0x05C6 361 write /config/usb_gadget/g1/idProduct 0x903A 362 symlink /config/usb_gadget/g1/functions/mtp.gs0 /config/usb_gadget/g1/configs/b.1/f1 363 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 364 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 365 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 366 setprop sys.usb.state ${sys.usb.config} 367 368on property:sys.usb.config=diag,qdss && property:sys.usb.configfs=1 369 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_qdss" 370 rm /config/usb_gadget/g1/configs/b.1/f1 371 rm /config/usb_gadget/g1/configs/b.1/f2 372 rm /config/usb_gadget/g1/configs/b.1/f3 373 rm /config/usb_gadget/g1/configs/b.1/f4 374 rm /config/usb_gadget/g1/configs/b.1/f5 375 rm /config/usb_gadget/g1/configs/b.1/f6 376 rm /config/usb_gadget/g1/configs/b.1/f7 377 rm /config/usb_gadget/g1/configs/b.1/f8 378 rm /config/usb_gadget/g1/configs/b.1/f9 379 write /config/usb_gadget/g1/idVendor 0x05C6 380 write /config/usb_gadget/g1/idProduct 0x904A 381 write /config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface 1 382 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 383 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f2 384 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 385 setprop sys.usb.state ${sys.usb.config} 386 387on property:sys.usb.config=diag,qdss,adb && property:sys.usb.configfs=1 388 start adbd 389 390on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,qdss,adb && property:sys.usb.configfs=1 391 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_qdss_adb" 392 rm /config/usb_gadget/g1/configs/b.1/f1 393 rm /config/usb_gadget/g1/configs/b.1/f2 394 rm /config/usb_gadget/g1/configs/b.1/f3 395 rm /config/usb_gadget/g1/configs/b.1/f4 396 rm /config/usb_gadget/g1/configs/b.1/f5 397 rm /config/usb_gadget/g1/configs/b.1/f6 398 rm /config/usb_gadget/g1/configs/b.1/f7 399 rm /config/usb_gadget/g1/configs/b.1/f8 400 rm /config/usb_gadget/g1/configs/b.1/f9 401 write /config/usb_gadget/g1/idVendor 0x05C6 402 write /config/usb_gadget/g1/idProduct 0x9060 403 write /config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface 1 404 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 405 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f2 406 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 407 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 408 setprop sys.usb.state ${sys.usb.config} 409 410on property:sys.usb.config=diag,qdss,rmnet && property:sys.usb.configfs=1 411 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_qdss_rmnet" 412 rm /config/usb_gadget/g1/configs/b.1/f1 413 rm /config/usb_gadget/g1/configs/b.1/f2 414 rm /config/usb_gadget/g1/configs/b.1/f3 415 rm /config/usb_gadget/g1/configs/b.1/f4 416 rm /config/usb_gadget/g1/configs/b.1/f5 417 rm /config/usb_gadget/g1/configs/b.1/f6 418 rm /config/usb_gadget/g1/configs/b.1/f7 419 rm /config/usb_gadget/g1/configs/b.1/f8 420 rm /config/usb_gadget/g1/configs/b.1/f9 421 write /config/usb_gadget/g1/idVendor 0x05C6 422 write /config/usb_gadget/g1/idProduct 0x9083 423 write /config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface 1 424 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 425 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f2 426 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 427 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 428 setprop sys.usb.state ${sys.usb.config} 429 430on property:sys.usb.config=diag,qdss,rmnet,adb && property:sys.usb.configfs=1 431 start adbd 432 433on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,qdss,rmnet,adb && property:sys.usb.configfs=1 434 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_qdss_rmnet_adb" 435 rm /config/usb_gadget/g1/configs/b.1/f1 436 rm /config/usb_gadget/g1/configs/b.1/f2 437 rm /config/usb_gadget/g1/configs/b.1/f3 438 rm /config/usb_gadget/g1/configs/b.1/f4 439 rm /config/usb_gadget/g1/configs/b.1/f5 440 rm /config/usb_gadget/g1/configs/b.1/f6 441 rm /config/usb_gadget/g1/configs/b.1/f7 442 rm /config/usb_gadget/g1/configs/b.1/f8 443 rm /config/usb_gadget/g1/configs/b.1/f9 444 write /config/usb_gadget/g1/idVendor 0x05C6 445 write /config/usb_gadget/g1/idProduct 0x9084 446 write /config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface 1 447 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 448 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f2 449 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 450 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f4 451 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 452 setprop sys.usb.state ${sys.usb.config} 453 454on property:sys.usb.config=rndis,diag,qdss && property:sys.usb.configfs=1 455 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_qdss" 456 rm /config/usb_gadget/g1/configs/b.1/f1 457 rm /config/usb_gadget/g1/configs/b.1/f2 458 rm /config/usb_gadget/g1/configs/b.1/f3 459 rm /config/usb_gadget/g1/configs/b.1/f4 460 rm /config/usb_gadget/g1/configs/b.1/f5 461 rm /config/usb_gadget/g1/configs/b.1/f6 462 rm /config/usb_gadget/g1/configs/b.1/f7 463 rm /config/usb_gadget/g1/configs/b.1/f8 464 rm /config/usb_gadget/g1/configs/b.1/f9 465 write /config/usb_gadget/g1/idVendor 0x05C6 466 write /config/usb_gadget/g1/idProduct 0x9081 467 write /config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface 1 468 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 469 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 470 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 471 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 472 setprop sys.usb.state ${sys.usb.config} 473 474on property:sys.usb.config=rndis,diag,qdss,adb && property:sys.usb.configfs=1 475 start adbd 476 477on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,qdss,adb && property:sys.usb.configfs=1 478 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_qdss_adb" 479 rm /config/usb_gadget/g1/configs/b.1/f1 480 rm /config/usb_gadget/g1/configs/b.1/f2 481 rm /config/usb_gadget/g1/configs/b.1/f3 482 rm /config/usb_gadget/g1/configs/b.1/f4 483 rm /config/usb_gadget/g1/configs/b.1/f5 484 rm /config/usb_gadget/g1/configs/b.1/f6 485 rm /config/usb_gadget/g1/configs/b.1/f7 486 rm /config/usb_gadget/g1/configs/b.1/f8 487 rm /config/usb_gadget/g1/configs/b.1/f9 488 write /config/usb_gadget/g1/idVendor 0x05C6 489 write /config/usb_gadget/g1/idProduct 0x9082 490 write /config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface 1 491 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 492 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 493 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 494 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f4 495 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 496 setprop sys.usb.state ${sys.usb.config} 497 498on property:sys.usb.config=ncm && property:sys.usb.configfs=1 499 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ncm" 500 rm /config/usb_gadget/g1/configs/b.1/f1 501 rm /config/usb_gadget/g1/configs/b.1/f2 502 rm /config/usb_gadget/g1/configs/b.1/f3 503 rm /config/usb_gadget/g1/configs/b.1/f4 504 rm /config/usb_gadget/g1/configs/b.1/f5 505 rm /config/usb_gadget/g1/configs/b.1/f6 506 rm /config/usb_gadget/g1/configs/b.1/f7 507 rm /config/usb_gadget/g1/configs/b.1/f8 508 rm /config/usb_gadget/g1/configs/b.1/f9 509 write /config/usb_gadget/g1/idVendor 0x05C6 510 write /config/usb_gadget/g1/idProduct 0xA4A1 511 symlink /config/usb_gadget/g1/functions/ncm.0 /config/usb_gadget/g1/configs/b.1/f1 512 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 513 setprop sys.usb.state ${sys.usb.config} 514 515on property:sys.usb.config=ncm,adb && property:sys.usb.configfs=1 516 start adbd 517 518on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ncm,adb && property:sys.usb.configfs=1 519 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ncm_adb" 520 rm /config/usb_gadget/g1/configs/b.1/f1 521 rm /config/usb_gadget/g1/configs/b.1/f2 522 rm /config/usb_gadget/g1/configs/b.1/f3 523 rm /config/usb_gadget/g1/configs/b.1/f4 524 rm /config/usb_gadget/g1/configs/b.1/f5 525 rm /config/usb_gadget/g1/configs/b.1/f6 526 rm /config/usb_gadget/g1/configs/b.1/f7 527 rm /config/usb_gadget/g1/configs/b.1/f8 528 rm /config/usb_gadget/g1/configs/b.1/f9 529 write /config/usb_gadget/g1/idVendor 0x05C6 530 write /config/usb_gadget/g1/idProduct 0x908C 531 symlink /config/usb_gadget/g1/functions/ncm.0 /config/usb_gadget/g1/configs/b.1/f1 532 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 533 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 534 setprop sys.usb.state ${sys.usb.config} 535 536on property:sys.usb.config=diag,serial_cdev && property:sys.usb.configfs=1 537 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun" 538 rm /config/usb_gadget/g1/configs/b.1/f1 539 rm /config/usb_gadget/g1/configs/b.1/f2 540 rm /config/usb_gadget/g1/configs/b.1/f3 541 rm /config/usb_gadget/g1/configs/b.1/f4 542 rm /config/usb_gadget/g1/configs/b.1/f5 543 rm /config/usb_gadget/g1/configs/b.1/f6 544 rm /config/usb_gadget/g1/configs/b.1/f7 545 rm /config/usb_gadget/g1/configs/b.1/f8 546 rm /config/usb_gadget/g1/configs/b.1/f9 547 write /config/usb_gadget/g1/idVendor 0x05C6 548 write /config/usb_gadget/g1/idProduct 0x9004 549 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 550 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 551 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 552 setprop sys.usb.state ${sys.usb.config} 553 554on property:sys.usb.config=diag,adb,serial_cdev && property:sys.usb.configfs=1 555 start adbd 556 557on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,adb,serial_cdev && property:sys.usb.configfs=1 558 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_adb_dun" 559 rm /config/usb_gadget/g1/configs/b.1/f1 560 rm /config/usb_gadget/g1/configs/b.1/f2 561 rm /config/usb_gadget/g1/configs/b.1/f3 562 rm /config/usb_gadget/g1/configs/b.1/f4 563 rm /config/usb_gadget/g1/configs/b.1/f5 564 rm /config/usb_gadget/g1/configs/b.1/f6 565 rm /config/usb_gadget/g1/configs/b.1/f7 566 rm /config/usb_gadget/g1/configs/b.1/f8 567 rm /config/usb_gadget/g1/configs/b.1/f9 568 write /config/usb_gadget/g1/idVendor 0x05C6 569 write /config/usb_gadget/g1/idProduct 0x901f 570 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 571 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 572 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f3 573 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 574 setprop sys.usb.state ${sys.usb.config} 575 576on property:sys.usb.config=diag,serial_cdev,rmnet,dpl && property:sys.usb.configfs=1 577 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_dpl" 578 rm /config/usb_gadget/g1/configs/b.1/f1 579 rm /config/usb_gadget/g1/configs/b.1/f2 580 rm /config/usb_gadget/g1/configs/b.1/f3 581 rm /config/usb_gadget/g1/configs/b.1/f4 582 rm /config/usb_gadget/g1/configs/b.1/f5 583 rm /config/usb_gadget/g1/configs/b.1/f6 584 rm /config/usb_gadget/g1/configs/b.1/f7 585 rm /config/usb_gadget/g1/configs/b.1/f8 586 rm /config/usb_gadget/g1/configs/b.1/f9 587 write /config/usb_gadget/g1/idVendor 0x05C6 588 write /config/usb_gadget/g1/idProduct 0x90b7 589 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 590 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 591 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 592 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f4 593 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 594 setprop sys.usb.state ${sys.usb.config} 595 596on property:sys.usb.config=diag,serial_cdev,rmnet,dpl,adb && property:sys.usb.configfs=1 597 start adbd 598 599on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,serial_cdev,rmnet,dpl,adb && property:sys.usb.configfs=1 600 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_dpl_adb" 601 rm /config/usb_gadget/g1/configs/b.1/f1 602 rm /config/usb_gadget/g1/configs/b.1/f2 603 rm /config/usb_gadget/g1/configs/b.1/f3 604 rm /config/usb_gadget/g1/configs/b.1/f4 605 rm /config/usb_gadget/g1/configs/b.1/f5 606 rm /config/usb_gadget/g1/configs/b.1/f6 607 rm /config/usb_gadget/g1/configs/b.1/f7 608 rm /config/usb_gadget/g1/configs/b.1/f8 609 rm /config/usb_gadget/g1/configs/b.1/f9 610 write /config/usb_gadget/g1/idVendor 0x05C6 611 write /config/usb_gadget/g1/idProduct 0x90b8 612 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 613 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 614 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 615 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f4 616 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f5 617 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 618 setprop sys.usb.state ${sys.usb.config} 619 620on property:sys.usb.config=rndis,diag,dpl && property:sys.usb.configfs=1 621 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_dpl" 622 rm /config/usb_gadget/g1/configs/b.1/f1 623 rm /config/usb_gadget/g1/configs/b.1/f2 624 rm /config/usb_gadget/g1/configs/b.1/f3 625 rm /config/usb_gadget/g1/configs/b.1/f4 626 rm /config/usb_gadget/g1/configs/b.1/f5 627 rm /config/usb_gadget/g1/configs/b.1/f6 628 rm /config/usb_gadget/g1/configs/b.1/f7 629 rm /config/usb_gadget/g1/configs/b.1/f8 630 rm /config/usb_gadget/g1/configs/b.1/f9 631 write /config/usb_gadget/g1/idVendor 0x05C6 632 write /config/usb_gadget/g1/idProduct 0x90bf 633 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 634 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 635 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f3 636 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 637 setprop sys.usb.state rndis 638 639on property:sys.usb.config=rndis,diag,dpl,adb && property:sys.usb.configfs=1 640 start adbd 641 642on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,dpl,adb && property:sys.usb.configfs=1 643 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_dpl_adb" 644 rm /config/usb_gadget/g1/configs/b.1/f1 645 rm /config/usb_gadget/g1/configs/b.1/f2 646 rm /config/usb_gadget/g1/configs/b.1/f3 647 rm /config/usb_gadget/g1/configs/b.1/f4 648 rm /config/usb_gadget/g1/configs/b.1/f5 649 rm /config/usb_gadget/g1/configs/b.1/f6 650 rm /config/usb_gadget/g1/configs/b.1/f7 651 rm /config/usb_gadget/g1/configs/b.1/f8 652 rm /config/usb_gadget/g1/configs/b.1/f9 653 write /config/usb_gadget/g1/idVendor 0x05C6 654 write /config/usb_gadget/g1/idProduct 0x90c0 655 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 656 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 657 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f3 658 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f4 659 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 660 setprop sys.usb.state rndis,adb 661 662on property:sys.usb.config=ccid && property:sys.usb.configfs=1 663 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ccid" 664 rm /config/usb_gadget/g1/configs/b.1/f1 665 rm /config/usb_gadget/g1/configs/b.1/f2 666 rm /config/usb_gadget/g1/configs/b.1/f3 667 rm /config/usb_gadget/g1/configs/b.1/f4 668 rm /config/usb_gadget/g1/configs/b.1/f5 669 rm /config/usb_gadget/g1/configs/b.1/f6 670 rm /config/usb_gadget/g1/configs/b.1/f7 671 rm /config/usb_gadget/g1/configs/b.1/f8 672 rm /config/usb_gadget/g1/configs/b.1/f9 673 write /config/usb_gadget/g1/idVendor 0x05C6 674 write /config/usb_gadget/g1/idProduct 0x90CE 675 symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f1 676 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 677 setprop sys.usb.state ${sys.usb.config} 678 679on property:sys.usb.config=ccid,adb && property:sys.usb.configfs=1 680 start adbd 681 682on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ccid,adb && property:sys.usb.configfs=1 683 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ccid_adb" 684 rm /config/usb_gadget/g1/configs/b.1/f1 685 rm /config/usb_gadget/g1/configs/b.1/f2 686 rm /config/usb_gadget/g1/configs/b.1/f3 687 rm /config/usb_gadget/g1/configs/b.1/f4 688 rm /config/usb_gadget/g1/configs/b.1/f5 689 rm /config/usb_gadget/g1/configs/b.1/f6 690 rm /config/usb_gadget/g1/configs/b.1/f7 691 rm /config/usb_gadget/g1/configs/b.1/f8 692 rm /config/usb_gadget/g1/configs/b.1/f9 693 write /config/usb_gadget/g1/idVendor 0x05C6 694 write /config/usb_gadget/g1/idProduct 0x90CF 695 symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f1 696 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 697 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 698 setprop sys.usb.state ${sys.usb.config} 699 700on property:sys.usb.config=ccid,diag && property:sys.usb.configfs=1 701 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ccid_diag" 702 rm /config/usb_gadget/g1/configs/b.1/f1 703 rm /config/usb_gadget/g1/configs/b.1/f2 704 rm /config/usb_gadget/g1/configs/b.1/f3 705 rm /config/usb_gadget/g1/configs/b.1/f4 706 rm /config/usb_gadget/g1/configs/b.1/f5 707 rm /config/usb_gadget/g1/configs/b.1/f6 708 rm /config/usb_gadget/g1/configs/b.1/f7 709 rm /config/usb_gadget/g1/configs/b.1/f8 710 rm /config/usb_gadget/g1/configs/b.1/f9 711 write /config/usb_gadget/g1/idVendor 0x05C6 712 write /config/usb_gadget/g1/idProduct 0x90D0 713 symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f1 714 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 715 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 716 setprop sys.usb.state ${sys.usb.config} 717 718on property:sys.usb.config=ccid,diag,adb && property:sys.usb.configfs=1 719 start adbd 720 721on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ccid,diag,adb && property:sys.usb.configfs=1 722 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ccid_diag_adb" 723 rm /config/usb_gadget/g1/configs/b.1/f1 724 rm /config/usb_gadget/g1/configs/b.1/f2 725 rm /config/usb_gadget/g1/configs/b.1/f3 726 rm /config/usb_gadget/g1/configs/b.1/f4 727 rm /config/usb_gadget/g1/configs/b.1/f5 728 rm /config/usb_gadget/g1/configs/b.1/f6 729 rm /config/usb_gadget/g1/configs/b.1/f7 730 rm /config/usb_gadget/g1/configs/b.1/f8 731 rm /config/usb_gadget/g1/configs/b.1/f9 732 write /config/usb_gadget/g1/idVendor 0x05C6 733 write /config/usb_gadget/g1/idProduct 0x90D1 734 symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f1 735 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 736 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 737 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 738 setprop sys.usb.state ${sys.usb.config} 739 740on property:sys.usb.config=diag,serial_cdev,rmnet,ccid && property:sys.usb.configfs=1 741 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_ccid" 742 rm /config/usb_gadget/g1/configs/b.1/f1 743 rm /config/usb_gadget/g1/configs/b.1/f2 744 rm /config/usb_gadget/g1/configs/b.1/f3 745 rm /config/usb_gadget/g1/configs/b.1/f4 746 rm /config/usb_gadget/g1/configs/b.1/f5 747 rm /config/usb_gadget/g1/configs/b.1/f6 748 rm /config/usb_gadget/g1/configs/b.1/f7 749 rm /config/usb_gadget/g1/configs/b.1/f8 750 rm /config/usb_gadget/g1/configs/b.1/f9 751 write /config/usb_gadget/g1/idVendor 0x05C6 752 write /config/usb_gadget/g1/idProduct 0x90D2 753 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 754 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 755 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 756 symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f4 757 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 758 setprop sys.usb.state ${sys.usb.config} 759 760on property:sys.usb.config=diag,serial_cdev,rmnet,ccid,adb && property:sys.usb.configfs=1 761 start adbd 762 763on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,serial_cdev,rmnet,ccid,adb && property:sys.usb.configfs=1 764 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_ccid_adb" 765 rm /config/usb_gadget/g1/configs/b.1/f1 766 rm /config/usb_gadget/g1/configs/b.1/f2 767 rm /config/usb_gadget/g1/configs/b.1/f3 768 rm /config/usb_gadget/g1/configs/b.1/f4 769 rm /config/usb_gadget/g1/configs/b.1/f5 770 rm /config/usb_gadget/g1/configs/b.1/f6 771 rm /config/usb_gadget/g1/configs/b.1/f7 772 rm /config/usb_gadget/g1/configs/b.1/f8 773 rm /config/usb_gadget/g1/configs/b.1/f9 774 write /config/usb_gadget/g1/idVendor 0x05C6 775 write /config/usb_gadget/g1/idProduct 0x90D3 776 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 777 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 778 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 779 symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f4 780 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f5 781 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 782 setprop sys.usb.state ${sys.usb.config} 783 784on property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,rmnet && property:sys.usb.configfs=1 785 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm,qdss_qdss_mdm_dun_dun_mdm_rmnet" 786 rm /config/usb_gadget/g1/configs/b.1/f1 787 rm /config/usb_gadget/g1/configs/b.1/f2 788 rm /config/usb_gadget/g1/configs/b.1/f3 789 rm /config/usb_gadget/g1/configs/b.1/f4 790 rm /config/usb_gadget/g1/configs/b.1/f5 791 rm /config/usb_gadget/g1/configs/b.1/f6 792 rm /config/usb_gadget/g1/configs/b.1/f7 793 rm /config/usb_gadget/g1/configs/b.1/f8 794 rm /config/usb_gadget/g1/configs/b.1/f9 795 write /config/usb_gadget/g1/idVendor 0x05C6 796 write /config/usb_gadget/g1/idProduct 0x90D7 797 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 798 symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 799 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 800 symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 801 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 802 symlink /config/usb_gadget/g1/functions/cser.dun.2 /config/usb_gadget/g1/configs/b.1/f6 803 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f7 804 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 805 setprop sys.usb.state ${sys.usb.config} 806 807on property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,rmnet,adb && property:sys.usb.configfs=1 808 start adbd 809 810on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,rmnet,adb && property:sys.usb.configfs=1 811 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm,qdss_qdss_mdm_dun_dun_mdm_rmnet_adb" 812 rm /config/usb_gadget/g1/configs/b.1/f1 813 rm /config/usb_gadget/g1/configs/b.1/f2 814 rm /config/usb_gadget/g1/configs/b.1/f3 815 rm /config/usb_gadget/g1/configs/b.1/f4 816 rm /config/usb_gadget/g1/configs/b.1/f5 817 rm /config/usb_gadget/g1/configs/b.1/f6 818 rm /config/usb_gadget/g1/configs/b.1/f7 819 rm /config/usb_gadget/g1/configs/b.1/f8 820 rm /config/usb_gadget/g1/configs/b.1/f9 821 write /config/usb_gadget/g1/idVendor 0x05C6 822 write /config/usb_gadget/g1/idProduct 0x90D8 823 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 824 symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 825 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 826 symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 827 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 828 symlink /config/usb_gadget/g1/functions/cser.dun.2 /config/usb_gadget/g1/configs/b.1/f6 829 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f7 830 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f8 831 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 832 setprop sys.usb.state ${sys.usb.config} 833 834on property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,dpl,rmnet && property:sys.usb.configfs=1 835 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm,qdss_qdss_mdm_dun_dun_mdm_dpl_rmnet" 836 rm /config/usb_gadget/g1/configs/b.1/f1 837 rm /config/usb_gadget/g1/configs/b.1/f2 838 rm /config/usb_gadget/g1/configs/b.1/f3 839 rm /config/usb_gadget/g1/configs/b.1/f4 840 rm /config/usb_gadget/g1/configs/b.1/f5 841 rm /config/usb_gadget/g1/configs/b.1/f6 842 rm /config/usb_gadget/g1/configs/b.1/f7 843 rm /config/usb_gadget/g1/configs/b.1/f8 844 rm /config/usb_gadget/g1/configs/b.1/f9 845 write /config/usb_gadget/g1/idVendor 0x05C6 846 write /config/usb_gadget/g1/idProduct 0x90DD 847 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 848 symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 849 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 850 symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 851 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 852 symlink /config/usb_gadget/g1/functions/cser.dun.2 /config/usb_gadget/g1/configs/b.1/f6 853 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f7 854 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f8 855 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 856 setprop sys.usb.state ${sys.usb.config} 857 858on property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,dpl,rmnet,adb && property:sys.usb.configfs=1 859 start adbd 860 861on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,dpl,rmnet,adb && property:sys.usb.configfs=1 862 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm,qdss_qdss_mdm_dun_dun_mdm_dpl_rmnet_adb" 863 rm /config/usb_gadget/g1/configs/b.1/f1 864 rm /config/usb_gadget/g1/configs/b.1/f2 865 rm /config/usb_gadget/g1/configs/b.1/f3 866 rm /config/usb_gadget/g1/configs/b.1/f4 867 rm /config/usb_gadget/g1/configs/b.1/f5 868 rm /config/usb_gadget/g1/configs/b.1/f6 869 rm /config/usb_gadget/g1/configs/b.1/f7 870 rm /config/usb_gadget/g1/configs/b.1/f8 871 rm /config/usb_gadget/g1/configs/b.1/f9 872 write /config/usb_gadget/g1/idVendor 0x05C6 873 write /config/usb_gadget/g1/idProduct 0x90DE 874 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 875 symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 876 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 877 symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 878 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 879 symlink /config/usb_gadget/g1/functions/cser.dun.2 /config/usb_gadget/g1/configs/b.1/f6 880 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f7 881 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f8 882 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f9 883 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 884 setprop sys.usb.state ${sys.usb.config} 885 886on property:sys.usb.config=diag,serial_cdev,rmnet,dpl,qdss && property:sys.usb.configfs=1 887 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_dpl_qdss" 888 rm /config/usb_gadget/g1/configs/b.1/f1 889 rm /config/usb_gadget/g1/configs/b.1/f2 890 rm /config/usb_gadget/g1/configs/b.1/f3 891 rm /config/usb_gadget/g1/configs/b.1/f4 892 rm /config/usb_gadget/g1/configs/b.1/f5 893 rm /config/usb_gadget/g1/configs/b.1/f6 894 rm /config/usb_gadget/g1/configs/b.1/f7 895 rm /config/usb_gadget/g1/configs/b.1/f8 896 rm /config/usb_gadget/g1/configs/b.1/f9 897 write /config/usb_gadget/g1/idVendor 0x05C6 898 write /config/usb_gadget/g1/idProduct 0x90DC 899 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 900 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 901 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 902 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f4 903 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f5 904 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 905 setprop sys.usb.state ${sys.usb.config} 906 907on property:sys.usb.config=diag,serial_cdev,rmnet,dpl,qdss,adb && property:sys.usb.configfs=1 908 start adbd 909 910on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,serial_cdev,rmnet,dpl,qdss,adb && property:sys.usb.configfs=1 911 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_dpl_qdss_adb" 912 rm /config/usb_gadget/g1/configs/b.1/f1 913 rm /config/usb_gadget/g1/configs/b.1/f2 914 rm /config/usb_gadget/g1/configs/b.1/f3 915 rm /config/usb_gadget/g1/configs/b.1/f4 916 rm /config/usb_gadget/g1/configs/b.1/f5 917 rm /config/usb_gadget/g1/configs/b.1/f6 918 rm /config/usb_gadget/g1/configs/b.1/f7 919 rm /config/usb_gadget/g1/configs/b.1/f8 920 rm /config/usb_gadget/g1/configs/b.1/f9 921 write /config/usb_gadget/g1/idVendor 0x05C6 922 write /config/usb_gadget/g1/idProduct 0x90DB 923 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 924 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 925 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 926 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f4 927 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f5 928 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f6 929 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 930 setprop sys.usb.state ${sys.usb.config} 931 932on property:sys.usb.config=diag,uac2,adb && property:sys.usb.configfs=1 933 start adbd 934 935on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,uac2,adb && property:sys.usb.configfs=1 936 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uac2_adb" 937 rm /config/usb_gadget/g1/configs/b.1/f1 938 rm /config/usb_gadget/g1/configs/b.1/f2 939 rm /config/usb_gadget/g1/configs/b.1/f3 940 rm /config/usb_gadget/g1/configs/b.1/f4 941 rm /config/usb_gadget/g1/configs/b.1/f5 942 rm /config/usb_gadget/g1/configs/b.1/f6 943 rm /config/usb_gadget/g1/configs/b.1/f7 944 rm /config/usb_gadget/g1/configs/b.1/f8 945 rm /config/usb_gadget/g1/configs/b.1/f9 946 write /config/usb_gadget/g1/idVendor 0x05C6 947 write /config/usb_gadget/g1/idProduct 0x90CA 948 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 949 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 950 symlink /config/usb_gadget/g1/functions/uac2.0 /config/usb_gadget/g1/configs/b.1/f3 951 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 952 setprop sys.usb.state ${sys.usb.config} 953 954on property:sys.usb.config=diag,uac2 && property:sys.usb.configfs=1 955 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uac2" 956 rm /config/usb_gadget/g1/configs/b.1/f1 957 rm /config/usb_gadget/g1/configs/b.1/f2 958 rm /config/usb_gadget/g1/configs/b.1/f3 959 rm /config/usb_gadget/g1/configs/b.1/f4 960 rm /config/usb_gadget/g1/configs/b.1/f5 961 rm /config/usb_gadget/g1/configs/b.1/f6 962 rm /config/usb_gadget/g1/configs/b.1/f7 963 rm /config/usb_gadget/g1/configs/b.1/f8 964 rm /config/usb_gadget/g1/configs/b.1/f9 965 write /config/usb_gadget/g1/idVendor 0x05C6 966 write /config/usb_gadget/g1/idProduct 0x901C 967 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 968 symlink /config/usb_gadget/g1/functions/uac2.0 /config/usb_gadget/g1/configs/b.1/f2 969 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 970 setprop sys.usb.state ${sys.usb.config} 971 972on property:sys.usb.config=diag,uvc,adb && property:sys.usb.configfs=1 973 start adbd 974 975on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,uvc,adb && property:sys.usb.configfs=1 976 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uvc_adb" 977 rm /config/usb_gadget/g1/configs/b.1/f1 978 rm /config/usb_gadget/g1/configs/b.1/f2 979 rm /config/usb_gadget/g1/configs/b.1/f3 980 rm /config/usb_gadget/g1/configs/b.1/f4 981 rm /config/usb_gadget/g1/configs/b.1/f5 982 rm /config/usb_gadget/g1/configs/b.1/f6 983 rm /config/usb_gadget/g1/configs/b.1/f7 984 rm /config/usb_gadget/g1/configs/b.1/f8 985 rm /config/usb_gadget/g1/configs/b.1/f9 986 write /config/usb_gadget/g1/idVendor 0x05C6 987 write /config/usb_gadget/g1/idProduct 0x90CB 988 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 989 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 990 symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f3 991 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 992 setprop sys.usb.state ${sys.usb.config} 993 994on property:sys.usb.config=diag,uvc && property:sys.usb.configfs=1 995 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uvc" 996 rm /config/usb_gadget/g1/configs/b.1/f1 997 rm /config/usb_gadget/g1/configs/b.1/f2 998 rm /config/usb_gadget/g1/configs/b.1/f3 999 rm /config/usb_gadget/g1/configs/b.1/f4 1000 rm /config/usb_gadget/g1/configs/b.1/f5 1001 rm /config/usb_gadget/g1/configs/b.1/f6 1002 rm /config/usb_gadget/g1/configs/b.1/f7 1003 rm /config/usb_gadget/g1/configs/b.1/f8 1004 rm /config/usb_gadget/g1/configs/b.1/f9 1005 write /config/usb_gadget/g1/idVendor 0x05C6 1006 write /config/usb_gadget/g1/idProduct 0x90DF 1007 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 1008 symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f2 1009 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 1010 setprop sys.usb.state ${sys.usb.config} 1011 1012on property:sys.usb.config=diag,uac2,uvc,adb && property:sys.usb.configfs=1 1013 start adbd 1014 1015on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,uac2,uvc,adb && property:sys.usb.configfs=1 1016 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uac2_uvc_adb" 1017 rm /config/usb_gadget/g1/configs/b.1/f1 1018 rm /config/usb_gadget/g1/configs/b.1/f2 1019 rm /config/usb_gadget/g1/configs/b.1/f3 1020 rm /config/usb_gadget/g1/configs/b.1/f4 1021 rm /config/usb_gadget/g1/configs/b.1/f5 1022 rm /config/usb_gadget/g1/configs/b.1/f6 1023 rm /config/usb_gadget/g1/configs/b.1/f7 1024 rm /config/usb_gadget/g1/configs/b.1/f8 1025 rm /config/usb_gadget/g1/configs/b.1/f9 1026 write /config/usb_gadget/g1/idVendor 0x05C6 1027 write /config/usb_gadget/g1/idProduct 0x90CC 1028 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 1029 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 1030 symlink /config/usb_gadget/g1/functions/uac2.0 /config/usb_gadget/g1/configs/b.1/f3 1031 symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f4 1032 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 1033 setprop sys.usb.state ${sys.usb.config} 1034 1035on property:sys.usb.config=diag,uac2,uvc && property:sys.usb.configfs=1 1036 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uac2_uvc" 1037 rm /config/usb_gadget/g1/configs/b.1/f1 1038 rm /config/usb_gadget/g1/configs/b.1/f2 1039 rm /config/usb_gadget/g1/configs/b.1/f3 1040 rm /config/usb_gadget/g1/configs/b.1/f4 1041 rm /config/usb_gadget/g1/configs/b.1/f5 1042 rm /config/usb_gadget/g1/configs/b.1/f6 1043 rm /config/usb_gadget/g1/configs/b.1/f7 1044 rm /config/usb_gadget/g1/configs/b.1/f8 1045 rm /config/usb_gadget/g1/configs/b.1/f9 1046 write /config/usb_gadget/g1/idVendor 0x05C6 1047 write /config/usb_gadget/g1/idProduct 0x90E0 1048 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 1049 symlink /config/usb_gadget/g1/functions/uac2.0 /config/usb_gadget/g1/configs/b.1/f2 1050 symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f3 1051 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 1052 setprop sys.usb.state ${sys.usb.config} 1053 1054on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet && property:sys.usb.configfs=1 1055 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm_qdss_qdss_mdm_dun_dpl_rmnet" 1056 rm /config/usb_gadget/g1/configs/b.1/f1 1057 rm /config/usb_gadget/g1/configs/b.1/f2 1058 rm /config/usb_gadget/g1/configs/b.1/f3 1059 rm /config/usb_gadget/g1/configs/b.1/f4 1060 rm /config/usb_gadget/g1/configs/b.1/f5 1061 rm /config/usb_gadget/g1/configs/b.1/f6 1062 rm /config/usb_gadget/g1/configs/b.1/f7 1063 rm /config/usb_gadget/g1/configs/b.1/f8 1064 rm /config/usb_gadget/g1/configs/b.1/f9 1065 write /config/usb_gadget/g1/idVendor 0x05C6 1066 write /config/usb_gadget/g1/idProduct 0x90E4 1067 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 1068 symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 1069 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 1070 symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 1071 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 1072 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f6 1073 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f7 1074 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 1075 setprop sys.usb.state ${sys.usb.config} 1076 1077on property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb && property:sys.usb.configfs=1 1078 start adbd 1079 1080on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb && property:sys.usb.configfs=1 1081 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm_qdss_qdss_mdm_dun_dpl_rmnet_adb" 1082 rm /config/usb_gadget/g1/configs/b.1/f1 1083 rm /config/usb_gadget/g1/configs/b.1/f2 1084 rm /config/usb_gadget/g1/configs/b.1/f3 1085 rm /config/usb_gadget/g1/configs/b.1/f4 1086 rm /config/usb_gadget/g1/configs/b.1/f5 1087 rm /config/usb_gadget/g1/configs/b.1/f6 1088 rm /config/usb_gadget/g1/configs/b.1/f7 1089 rm /config/usb_gadget/g1/configs/b.1/f8 1090 rm /config/usb_gadget/g1/configs/b.1/f9 1091 write /config/usb_gadget/g1/idVendor 0x05C6 1092 write /config/usb_gadget/g1/idProduct 0x90E5 1093 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 1094 symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 1095 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 1096 symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 1097 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 1098 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f6 1099 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f7 1100 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f8 1101 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 1102 setprop sys.usb.state ${sys.usb.config} 1103 1104on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl && property:sys.usb.configfs=1 1105 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_diag_mdm_qdss_qdss_mdm_dun_dpl" 1106 rm /config/usb_gadget/g1/configs/b.1/f1 1107 rm /config/usb_gadget/g1/configs/b.1/f2 1108 rm /config/usb_gadget/g1/configs/b.1/f3 1109 rm /config/usb_gadget/g1/configs/b.1/f4 1110 rm /config/usb_gadget/g1/configs/b.1/f5 1111 rm /config/usb_gadget/g1/configs/b.1/f6 1112 rm /config/usb_gadget/g1/configs/b.1/f7 1113 rm /config/usb_gadget/g1/configs/b.1/f8 1114 rm /config/usb_gadget/g1/configs/b.1/f9 1115 write /config/usb_gadget/g1/idVendor 0x05C6 1116 write /config/usb_gadget/g1/idProduct 0x90E6 1117 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 1118 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 1119 symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f3 1120 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f4 1121 symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f5 1122 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f6 1123 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f7 1124 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 1125 setprop sys.usb.state rndis 1126 1127on property:sys.usb.config=rndis,diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,adb && property:sys.usb.configfs=1 1128 start adbd 1129 1130on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,adb && property:sys.usb.configfs=1 1131 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_diag_mdm_qdss_qdss_mdm_dun_dpl_adb" 1132 rm /config/usb_gadget/g1/configs/b.1/f1 1133 rm /config/usb_gadget/g1/configs/b.1/f2 1134 rm /config/usb_gadget/g1/configs/b.1/f3 1135 rm /config/usb_gadget/g1/configs/b.1/f4 1136 rm /config/usb_gadget/g1/configs/b.1/f5 1137 rm /config/usb_gadget/g1/configs/b.1/f6 1138 rm /config/usb_gadget/g1/configs/b.1/f7 1139 rm /config/usb_gadget/g1/configs/b.1/f8 1140 rm /config/usb_gadget/g1/configs/b.1/f9 1141 write /config/usb_gadget/g1/idVendor 0x05C6 1142 write /config/usb_gadget/g1/idProduct 0x90E7 1143 symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 1144 symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 1145 symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f3 1146 symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f4 1147 symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f5 1148 symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f6 1149 symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f7 1150 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f8 1151 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 1152 setprop sys.usb.state rndis,adb 1153 1154on property:sys.usb.config=adb && property:sys.usb.configfs=1 1155 write /config/usb_gadget/g1/idVendor 0x18d1 1156 write /config/usb_gadget/g1/idProduct 0x4ee7 1157 1158on property:sys.usb.config=mtp && property:sys.usb.configfs=1 1159 write /config/usb_gadget/g1/idVendor 0x18d1 1160 write /config/usb_gadget/g1/idProduct 0x4ee1 1161 1162on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1 1163 write /config/usb_gadget/g1/idVendor 0x18d1 1164 write /config/usb_gadget/g1/idProduct 0x4ee2 1165 1166on property:sys.usb.config=ptp && property:sys.usb.configfs=1 1167 write /config/usb_gadget/g1/idVendor 0x18d1 1168 write /config/usb_gadget/g1/idProduct 0x4ee5 1169 1170on property:sys.usb.config=ptp,adb && property:sys.usb.configfs=1 1171 write /config/usb_gadget/g1/idVendor 0x18d1 1172 write /config/usb_gadget/g1/idProduct 0x4ee6 1173 1174on property:sys.usb.config=accessory && property:sys.usb.configfs=1 1175 write /config/usb_gadget/g1/idVendor 0x18d1 1176 write /config/usb_gadget/g1/idProduct 0x2d00 1177 1178on property:sys.usb.config=accessory,adb && property:sys.usb.configfs=1 1179 write /config/usb_gadget/g1/idVendor 0x18d1 1180 write /config/usb_gadget/g1/idProduct 0x2d01 1181 1182on property:sys.usb.config=audio_source && property:sys.usb.configfs=1 1183 write /config/usb_gadget/g1/idVendor 0x18d1 1184 write /config/usb_gadget/g1/idProduct 0x2d02 1185 1186on property:sys.usb.config=audio_source,adb && property:sys.usb.configfs=1 1187 write /config/usb_gadget/g1/idVendor 0x18d1 1188 write /config/usb_gadget/g1/idProduct 0x2d03 1189 1190on property:sys.usb.config=accessory,audio_source && property:sys.usb.configfs=1 1191 write /config/usb_gadget/g1/idVendor 0x18d1 1192 write /config/usb_gadget/g1/idProduct 0x2d04 1193 1194on property:sys.usb.config=accessory,audio_source,adb && property:sys.usb.configfs=1 1195 write /config/usb_gadget/g1/idVendor 0x18d1 1196 write /config/usb_gadget/g1/idProduct 0x2d05 1197 1198on property:sys.usb.config=midi && property:sys.usb.configfs=1 1199 write /config/usb_gadget/g1/idVendor 0x18d1 1200 write /config/usb_gadget/g1/idProduct 0x4ee8 1201 1202on property:sys.usb.config=midi,adb && property:sys.usb.configfs=1 1203 write /config/usb_gadget/g1/idVendor 0x18d1 1204 write /config/usb_gadget/g1/idProduct 0x4ee9 1205 1206on property:vendor.usb.eud=1 1207 write /config/usb_gadget/g1/configs/b.1/MaxPower 1 1208 write /sys/module/eud/parameters/enable 1 1209 write /sys/kernel/debug/pmic-votable/USB_ICL/force_active 1 1210 write /sys/kernel/debug/pmic-votable/USB_ICL/force_val 500 1211 1212on property:vendor.usb.eud=0 1213 write /sys/kernel/debug/pmic-votable/USB_ICL/force_active 0 1214 write /sys/kernel/debug/pmic-votable/USB_ICL/force_val 0 1215 write /config/usb_gadget/g1/configs/b.1/MaxPower 0 1216 write /sys/module/eud/parameters/enable 0 1217