Offset 10, 9 lines modifiedOffset 10, 377 lines modified
10 #·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software10 #·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
11 #·distributed·under·the·License·is·distributed·on·an·"AS·IS"·BASIS,11 #·distributed·under·the·License·is·distributed·on·an·"AS·IS"·BASIS,
12 #·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY·KIND,·either·express·or·implied.12 #·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY·KIND,·either·express·or·implied.
13 #·See·the·License·for·the·specific·language·governing·permissions·and13 #·See·the·License·for·the·specific·language·governing·permissions·and
14 #·limitations·under·the·License.14 #·limitations·under·the·License.
15 #15 #
  
16 on·property:ro.boot.mode=normal16 on·init
17 ····rm·/dev/diag17 ····chmod·666·/dev/diag
  
 18 on·post-fs-data
 19 ····#·Modem·logging·collection
 20 ····mkdir·/data/vendor/radio·0777·radio·radio
 21 ····mkdir·/data/vendor/radio/diag_logs·0777·system·system
 22 ····#·WLAN·logging·collection
 23 ····mkdir·/data/vendor/wifi·0777·system·system
 24 ····mkdir·/data/vendor/wifi/cnss_diag·0777·system·system
  
 25 on·property:sys.usb.ffs.ready=1·&&·property:sys.usb.config=diag·&&·property:sys.usb.configfs=1
 26 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"diag"
 27 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 28 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 29 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 30 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 31 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 32 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 33 ····write·/config/usb_gadget/g1/idProduct·0x900E
 34 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f1
 35 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 36 ····setprop·sys.usb.state·${sys.usb.config}
  
 37 on·property:sys.usb.config=diag,adb·&&·property:sys.usb.configfs=1
 38 ····start·adbd
  
  
 39 on·property:sys.usb.ffs.ready=1·&&·property:sys.usb.config=diag,adb·&&·property:sys.usb.configfs=1
 40 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"diag_adb"
 41 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 42 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 43 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 44 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 45 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 46 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 47 ····write·/config/usb_gadget/g1/idProduct·0x901D
 48 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f1
 49 ····symlink·/config/usb_gadget/g1/functions/ffs.adb·/config/usb_gadget/g1/configs/b.1/f2
 50 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 51 ····setprop·sys.usb.state·${sys.usb.config}
  
 52 on·property:sys.usb.config=diag,serial_cdev,rmnet_gsi,adb·&&·property:sys.usb.configfs=1
 53 ····start·adbd
 54 ····start·port-bridge
  
 55 on·property:sys.usb.ffs.ready=1·&&·property:sys.usb.config=diag,serial_cdev,rmnet_gsi,adb·&&·property:sys.usb.configfs=1
 56 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"Default·composition"
 57 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 58 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 59 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 60 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 61 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 62 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 63 ····write·/config/usb_gadget/g1/idProduct·0x9091
 64 ····write·/config/usb_gadget/g1/os_desc/use·1
 65 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f1
 66 ····symlink·/config/usb_gadget/g1/functions/cser.dun.0·/config/usb_gadget/g1/configs/b.1/f2
 67 ····symlink·/config/usb_gadget/g1/functions/gsi.rmnet·/config/usb_gadget/g1/configs/b.1/f3
 68 ····symlink·/config/usb_gadget/g1/functions/ffs.adb·/config/usb_gadget/g1/configs/b.1/f4
 69 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 70 ····setprop·sys.usb.state·${sys.usb.config}
  
 71 on·property:sys.usb.config=diag,serial_cdev,rmnet_gsi·&&·property:sys.usb.configfs=1
 72 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"Default·comp·without·ADB"
 73 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 74 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 75 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 76 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 77 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 78 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 79 ····write·/config/usb_gadget/g1/idProduct·0x9092
 80 ····write·/config/usb_gadget/g1/os_desc/use·1
 81 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f1
 82 ····symlink·/config/usb_gadget/g1/functions/cser.dun.0·/config/usb_gadget/g1/configs/b.1/f2
 83 ····symlink·/config/usb_gadget/g1/functions/gsi.rmnet·/config/usb_gadget/g1/configs/b.1/f3
 84 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 85 ····setprop·sys.usb.state·${sys.usb.config}
 86 ····start·port-bridge
  
 87 on·property:sys.usb.config=rndis,diag·&&·property:sys.usb.configfs=1
 88 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"rndis_diag"
 89 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 90 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 91 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 92 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 93 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 94 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 95 ····write·/config/usb_gadget/g1/idProduct·0x902C
 96 ····symlink·/config/usb_gadget/g1/functions/gsi.rndis·/config/usb_gadget/g1/configs/b.1/f1
 97 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f2
 98 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 99 ····setprop·sys.usb.state·${sys.usb.config}
  
 100 on·property:sys.usb.config=rndis,diag,adb·&&·property:sys.usb.configfs=1
 101 ····start·adbd
  
 102 on·property:sys.usb.ffs.ready=1·&&·property:sys.usb.config=rndis,diag,adb·&&·property:sys.usb.configfs=1
 103 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"rndis_diag_adb"
 104 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 105 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 106 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 107 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 108 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 109 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 110 ····write·/config/usb_gadget/g1/idProduct·0x902D
 111 ····symlink·/config/usb_gadget/g1/functions/gsi.rndis·/config/usb_gadget/g1/configs/b.1/f1
 112 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f2
 113 ····symlink·/config/usb_gadget/g1/functions/ffs.adb·/config/usb_gadget/g1/configs/b.1/f3
 114 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 115 ····setprop·sys.usb.state·${sys.usb.config}
  
 116 on·property:sys.usb.config=rndis,serial_cdev,diag·&&·property:sys.usb.configfs=1
 117 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"rndis_dun_diag"
 118 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 119 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 120 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 121 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 122 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 123 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 124 ····write·/config/usb_gadget/g1/idProduct·0x90B5
 125 ····symlink·/config/usb_gadget/g1/functions/gsi.rndis·/config/usb_gadget/g1/configs/b.1/f1
 126 ····symlink·/config/usb_gadget/g1/functions/cser.dun.0·/config/usb_gadget/g1/configs/b.1/f2
 127 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f3
 128 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 129 ····setprop·sys.usb.state·${sys.usb.config}
 130 ····start·port-bridge
  
 131 on·property:sys.usb.config=rndis,serial_cdev,diag,adb·&&·property:sys.usb.configfs=1
 132 ····start·adbd
 133 ····start·port-bridge
  
 134 on·property:sys.usb.ffs.ready=1·&&·property:sys.usb.config=rndis,serial_cdev,diag,adb·&&·property:sys.usb.configfs=1
 135 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"rndis_dun_diag"
 136 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 137 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 138 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 139 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 140 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 141 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 142 ····write·/config/usb_gadget/g1/idProduct·0x90B6
 143 ····symlink·/config/usb_gadget/g1/functions/gsi.rndis·/config/usb_gadget/g1/configs/b.1/f1
 144 ····symlink·/config/usb_gadget/g1/functions/cser.dun.0·/config/usb_gadget/g1/configs/b.1/f2
 145 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f3
 146 ····symlink·/config/usb_gadget/g1/functions/ffs.adb·/config/usb_gadget/g1/configs/b.1/f4
 147 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 148 ····setprop·sys.usb.state·${sys.usb.config}
  
 149 on·property:sys.usb.config=mtp,diag·&&·property:sys.usb.configfs=1
 150 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"mtp_diag"
 151 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 152 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 153 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 154 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 155 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 156 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 157 ····write·/config/usb_gadget/g1/idProduct·0x901B
 158 ····symlink·/config/usb_gadget/g1/functions/mtp.gs0·/config/usb_gadget/g1/configs/b.1/f1
 159 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f2
 160 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 161 ····setprop·sys.usb.state·${sys.usb.config}
  
 162 on·property:sys.usb.config=mtp,diag,adb·&&·property:sys.usb.configfs=1
 163 ····start·adbd
  
 164 on·property:sys.usb.ffs.ready=1·&&·property:sys.usb.config=mtp,diag,adb·&&·property:sys.usb.configfs=1
 165 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"mtp_diag_adb"
 166 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 167 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 168 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 169 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 170 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 171 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 172 ····write·/config/usb_gadget/g1/idProduct·0x903A
 173 ····symlink·/config/usb_gadget/g1/functions/mtp.gs0·/config/usb_gadget/g1/configs/b.1/f1
 174 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f2
 175 ····symlink·/config/usb_gadget/g1/functions/ffs.adb·/config/usb_gadget/g1/configs/b.1/f3
 176 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 177 ····setprop·sys.usb.state·${sys.usb.config}
  
 178 on·property:sys.usb.config=diag,qdss·&&·property:sys.usb.configfs=1
 179 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"diag_qdss"
 180 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 181 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 182 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 183 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 184 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 185 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 186 ····write·/config/usb_gadget/g1/idProduct·0x904A
 187 ····write·/config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface·1
 188 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f1
 189 ····symlink·/config/usb_gadget/g1/functions/qdss.qdss·/config/usb_gadget/g1/configs/b.1/f2
 190 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 191 ····setprop·sys.usb.state·${sys.usb.config}
  
 192 on·property:sys.usb.config=diag,qdss,adb·&&·property:sys.usb.configfs=1
 193 ····start·adbd
  
 194 on·property:sys.usb.ffs.ready=1·&&·property:sys.usb.config=diag,qdss,adb·&&·property:sys.usb.configfs=1
 195 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"diag_qdss_adb"
 196 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 197 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 198 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 199 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 200 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 201 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 202 ····write·/config/usb_gadget/g1/idProduct·0x9060
 203 ····write·/config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface·1
 204 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f1
 205 ····symlink·/config/usb_gadget/g1/functions/qdss.qdss·/config/usb_gadget/g1/configs/b.1/f2
 206 ····symlink·/config/usb_gadget/g1/functions/ffs.adb·/config/usb_gadget/g1/configs/b.1/f3
 207 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 208 ····setprop·sys.usb.state·${sys.usb.config}
  
 209 on·property:sys.usb.config=diag,qdss,rmnet_gsi·&&·property:sys.usb.configfs=1
 210 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"diag_qdss_rmnet"
 211 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 212 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 213 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 214 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 215 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 216 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 217 ····write·/config/usb_gadget/g1/idProduct·0x9083
 218 ····write·/config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface·1
 219 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f1
 220 ····symlink·/config/usb_gadget/g1/functions/qdss.qdss·/config/usb_gadget/g1/configs/b.1/f2
 221 ····symlink·/config/usb_gadget/g1/functions/gsi.rmnet·/config/usb_gadget/g1/configs/b.1/f3
 222 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 223 ····setprop·sys.usb.state·${sys.usb.config}
  
 224 on·property:sys.usb.config=diag,qdss,rmnet_gsi,adb·&&·property:sys.usb.configfs=1
 225 ····start·adbd
  
 226 on·property:sys.usb.ffs.ready=1·&&·property:sys.usb.config=diag,qdss,rmnet_gsi,adb·&&·property:sys.usb.configfs=1
 227 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"diag_qdss_rmnet_adb"
 228 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 229 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 230 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 231 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 232 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 233 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 234 ····write·/config/usb_gadget/g1/idProduct·0x9084
 235 ····write·/config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface·1
 236 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f1
 237 ····symlink·/config/usb_gadget/g1/functions/qdss.qdss·/config/usb_gadget/g1/configs/b.1/f2
 238 ····symlink·/config/usb_gadget/g1/functions/gsi.rmnet·/config/usb_gadget/g1/configs/b.1/f3
 239 ····symlink·/config/usb_gadget/g1/functions/ffs.adb·/config/usb_gadget/g1/configs/b.1/f4
 240 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 241 ····setprop·sys.usb.state·${sys.usb.config}
  
 242 on·property:sys.usb.config=rndis,diag,qdss·&&·property:sys.usb.configfs=1
 243 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"rndis_diag_qdss"
 244 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 245 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 246 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 247 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 248 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 249 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 250 ····write·/config/usb_gadget/g1/idProduct·0x9081
 251 ····write·/config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface·1
 252 ····symlink·/config/usb_gadget/g1/functions/gsi.rndis·/config/usb_gadget/g1/configs/b.1/f1
 253 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f2
 254 ····symlink·/config/usb_gadget/g1/functions/qdss.qdss·/config/usb_gadget/g1/configs/b.1/f3
 255 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 256 ····setprop·sys.usb.state·${sys.usb.config}
  
 257 on·property:sys.usb.config=rndis,diag,qdss,adb·&&·property:sys.usb.configfs=1
 258 ····start·adbd
  
 259 on·property:sys.usb.ffs.ready=1·&&·property:sys.usb.config=rndis,diag,qdss,adb·&&·property:sys.usb.configfs=1
 260 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"rndis_diag_qdss_adb"
 261 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 262 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 263 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 264 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 265 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 266 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 267 ····write·/config/usb_gadget/g1/idProduct·0x9082
 268 ····write·/config/usb_gadget/g1/functions/qdss.qdss/enable_debug_inface·1
 269 ····symlink·/config/usb_gadget/g1/functions/gsi.rndis·/config/usb_gadget/g1/configs/b.1/f1
 270 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f2
 271 ····symlink·/config/usb_gadget/g1/functions/qdss.qdss·/config/usb_gadget/g1/configs/b.1/f3
 272 ····symlink·/config/usb_gadget/g1/functions/ffs.adb·/config/usb_gadget/g1/configs/b.1/f4
 273 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 274 ····setprop·sys.usb.state·${sys.usb.config}
  
 275 on·property:sys.usb.config=diag,serial_cdev·&&·property:sys.usb.configfs=1
 276 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"diag_dun"
 277 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 278 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 279 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 280 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 281 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 282 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 283 ····write·/config/usb_gadget/g1/idProduct·0x9004
 284 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f1
 285 ····symlink·/config/usb_gadget/g1/functions/cser.dun.0·/config/usb_gadget/g1/configs/b.1/f2
 286 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 287 ····setprop·sys.usb.state·${sys.usb.config}
 288 ····start·port-bridge
  
 289 on·property:sys.usb.config=diag,adb,serial_cdev·&&·property:sys.usb.configfs=1
 290 ····start·adbd
 291 ····start·port-bridge
  
 292 on·property:sys.usb.ffs.ready=1·&&·property:sys.usb.config=diag,adb,serial_cdev·&&·property:sys.usb.configfs=1
 293 ····write·/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration·"diag_adb_dun"
 294 ····rm·/config/usb_gadget/g1/configs/b.1/f1
 295 ····rm·/config/usb_gadget/g1/configs/b.1/f2
 296 ····rm·/config/usb_gadget/g1/configs/b.1/f3
 297 ····rm·/config/usb_gadget/g1/configs/b.1/f4
 298 ····rm·/config/usb_gadget/g1/configs/b.1/f5
 299 ····write·/config/usb_gadget/g1/idVendor·0x05C6
 300 ····write·/config/usb_gadget/g1/idProduct·0x901f
 301 ····symlink·/config/usb_gadget/g1/functions/diag.diag·/config/usb_gadget/g1/configs/b.1/f1
 302 ····symlink·/config/usb_gadget/g1/functions/ffs.adb·/config/usb_gadget/g1/configs/b.1/f2
 303 ····symlink·/config/usb_gadget/g1/functions/cser.dun.0·/config/usb_gadget/g1/configs/b.1/f3
 304 ····write·/config/usb_gadget/g1/UDC·${sys.usb.controller}
 305 ····setprop·sys.usb.state·${sys.usb.config}
  
 306 service·diag_mdlog_start·/vendor/bin/diag_mdlog
 307 ····class·late_start
 308 ····user·shell
 309 ····group·system·diag·media_rw
 310 ····disabled
 311 ····oneshot
  
 312 service·diag_mdlog_stop·/vendor/bin/diag_mdlog·-k
 313 ····class·late_start
 314 ····user·shell
 315 ····group·system·diag·media_rw
 316 ····disabled
 317 ····oneshot
  
 318 on·boot·&&·property:persist.sys.modem.diag.mdlog=*
 319 ····setprop·sys.modem.diag.mdlog·${persist.sys.modem.diag.mdlog}
  
 320 on·property:sys.modem.diag.mdlog=true
 321 ····start·diag_mdlog_start
  
 322 on·property:sys.modem.diag.mdlog=false
 323 ····start·diag_mdlog_stop
  
 324 on·property:persist.sys.cnss.diag_qxdm=true
 325 ····start·cnss_diag
  
 326 on·property:persist.sys.cnss.diag_qxdm=false
 327 ····stop·cnss_diag
  
 328 on·property:persist.sys.cnss.diag_txt=true
 329 ····start·cnss_diag_txt
  
 330 on·property:persist.sys.cnss.diag_txt=false
 331 ····stop·cnss_diag_txt
  
 332 service·cnss_diag·/vendor/bin/cnss_diag·-q·-u·-w
 333 ····class·late_start
 334 ····user·system
 335 ····group·system
 336 ····oneshot
  
 337 service·cnss_diag_txt·/vendor/bin/cnss_diag·-s·-f·-m·/data/vendor/wifi/cnss_diag/cnss_diag.conf
 338 ····class·late_start
 339 ····user·system
 340 ····group·system
 341 ····disabled
 342 ····oneshot
  
 343 on·property:debug.htc.ramdump.crash=true
 344 ····write·/proc/sysrq-trigger·"c"