1 broadcom) 2 TO_EXTRACT="\ 3 system/vendor/firmware/bcm20795_firmware.ncd \ 4 system/vendor/firmware/bcm4354A2.hcd \ 5 system/xbin/wlutil \ 6 " 7 ;; 8 moto) 9 TO_EXTRACT="\ 10 system/bin/adspd \ 11 system/bin/ramdump \ 12 system/bin/tcmd_mini \ 13 system/etc/Bluetooth_cal.acdb \ 14 system/etc/diag/mdm/FIT_V15_audio.cfg \ 15 system/etc/diag/mdm/FIT_V15.cfg \ 16 system/etc/diag/mdm/sensors_qxdm.cfg \ 17 system/etc/diag/sensors_qxdm.cfg \ 18 system/etc/firmware/vpu.b00 \ 19 system/etc/firmware/vpu.b01 \ 20 system/etc/firmware/vpu.b02 \ 21 system/etc/firmware/vpu.b03 \ 22 system/etc/firmware/vpu.b04 \ 23 system/etc/firmware/vpu.b05 \ 24 system/etc/firmware/vpu.b06 \ 25 system/etc/firmware/vpu.b07 \ 26 system/etc/firmware/vpu.b08 \ 27 system/etc/firmware/vpu.b09 \ 28 system/etc/firmware/vpu.b10 \ 29 system/etc/firmware/vpu.b11 \ 30 system/etc/firmware/vpu.b12 \ 31 system/etc/firmware/vpu.mbn \ 32 system/etc/firmware/vpu.mdt \ 33 system/etc/General_cal.acdb \ 34 system/etc/Global_cal.acdb \ 35 system/etc/Handset_cal.acdb \ 36 system/etc/Hdmi_cal.acdb \ 37 system/etc/Headset_cal.acdb \ 38 system/etc/permissions/org.simalliance.openmobileapi.xml \ 39 system/etc/Speaker_cal.acdb \ 40 system/framework/org.simalliance.openmobileapi.jar \ 41 system/lib/libadspd-jni.so \ 42 system/lib/libadspd.so \ 43 system/lib/librecoglib.so \ 44 system/lib/libsupermodel.so \ 45 system/priv-app/BuaContactAdapter/BuaContactAdapter.apk \ 46 system/vendor/firmware/acdb.mbn \ 47 system/vendor/firmware/atmel-a432-*-shamu-p1.tdat \ 48 system/vendor/firmware/atmel-a432-*-shamu.tdat \ 49 system/vendor/firmware/left.boost.music.eq \ 50 system/vendor/firmware/left.boost_music_table.preset \ 51 system/vendor/firmware/left.boost_n1b12.patch \ 52 system/vendor/firmware/left.boost_n1c2.patch \ 53 system/vendor/firmware/left.boost.ringtone.eq \ 54 system/vendor/firmware/left.boost_ringtone_table.preset \ 55 system/vendor/firmware/left.boost.speaker \ 56 system/vendor/firmware/left.boost.voice.eq \ 57 system/vendor/firmware/left.boost_voice_table.preset \ 58 system/vendor/firmware/right.boost.music.eq \ 59 system/vendor/firmware/right.boost_music_table.preset \ 60 system/vendor/firmware/right.boost_n1b12.patch \ 61 system/vendor/firmware/right.boost_n1c2.patch \ 62 system/vendor/firmware/right.boost.ringtone.eq \ 63 system/vendor/firmware/right.boost_ringtone_table.preset \ 64 system/vendor/firmware/right.boost.speaker \ 65 system/vendor/firmware/right.boost.voice.eq \ 66 system/vendor/firmware/right.boost_voice_table.preset \ 67 system/vendor/firmware/VRGain.bin \ 68 system/vendor/lib/libmdmcutback.so \ 69 system/vendor/lib/libmotext_inf.so \ 70 system/vendor/lib/libqmimotext.so \ 71 system/vendor/moto/audiomonitor/sensory/lts_en_us_9_5_2b.raw \ 72 system/vendor/moto/audiomonitor/sensory/nn_de_mfcc_16k_15_big_250_v3_4.raw \ 73 system/vendor/moto/audiomonitor/sensory/nn_en_uk_mfcc_16k_15_big_250_v2_2.raw \ 74 system/vendor/moto/audiomonitor/sensory/nn_en_us_mfcc_16k_15_big_250_v5_1_1.raw \ 75 system/vendor/moto/audiomonitor/sensory/nn_es_es_mfcc_16k_15_big_250_v1_5.raw \ 76 system/vendor/moto/audiomonitor/sensory/nn_es_us_mfcc_16k_15_big_250_v1_5.raw \ 77 system/vendor/moto/audiomonitor/sensory/nn_fr_ca_mfcc_16k_15_big_250_v2_5.raw \ 78 system/vendor/moto/audiomonitor/sensory/nn_fr_fr_mfcc_16k_15_big_250_v2_4.raw \ 79 system/vendor/moto/audiomonitor/sensory/nn_it_mfcc_16k_15_big_250_v3_5.raw \ 80 system/vendor/moto/audiomonitor/sensory/nn_pt_mfcc_16k_15_big_250_v1_1.raw \ 81 system/vendor/moto/audiomonitor/sensory/phonemesearch_dede_1_1.raw \ 82 system/vendor/moto/audiomonitor/sensory/phonemesearch_enuk_1_1.raw \ 83 system/vendor/moto/audiomonitor/sensory/phonemesearch_enus_2_0.raw \ 84 system/vendor/moto/audiomonitor/sensory/phonemesearch_eses_1_2.raw \ 85 system/vendor/moto/audiomonitor/sensory/phonemesearch_esus_1_2.raw \ 86 system/vendor/moto/audiomonitor/sensory/phonemesearch_frca_prec1_1_0.raw \ 87 system/vendor/moto/audiomonitor/sensory/phonemesearch_frfr_1_1.raw \ 88 system/vendor/moto/audiomonitor/sensory/phonemesearch_it_it_1_0.raw \ 89 system/vendor/moto/audiomonitor/sensory/phonemesearch_ptbr_1_0.raw \ 90 system/vendor/moto/audiomonitor/sensory/svsid_dede_1_0.raw \ 91 system/vendor/moto/audiomonitor/sensory/svsid_enuk_1_0.raw \ 92 system/vendor/moto/audiomonitor/sensory/svsid_enus_2_0.raw \ 93 system/vendor/moto/audiomonitor/sensory/svsid_eses_1_2.raw \ 94 system/vendor/moto/audiomonitor/sensory/svsid_esus_1_2.raw \ 95 system/vendor/moto/audiomonitor/sensory/svsid_frca_1_0.raw \ 96 system/vendor/moto/audiomonitor/sensory/svsid_frfr_1_1.raw \ 97 system/vendor/moto/audiomonitor/sensory/svsid_it_it_1_0.raw \ 98 system/vendor/moto/audiomonitor/sensory/svsid_ptbr_1_0.raw \ 99 system/vendor/moto/audiomonitor/sensory/svsid_triggerogn1_dede_1_0.raw \ 100 system/vendor/moto/audiomonitor/sensory/svsid_triggerogn1_enuk_1_0.raw \ 101 system/vendor/moto/audiomonitor/sensory/svsid_triggerogn1_eses_1_0.raw \ 102 system/vendor/moto/audiomonitor/sensory/svsid_triggerogn1_itit_1_0.raw \ 103 system/vendor/moto/audiomonitor/sensory/svsid_triggerogn_enus_3_1.raw \ 104 system/vendor/moto/audiomonitor/sensory/svsid_triggerogn_frfr_1_0.raw \ 105 system/vendor/moto/audiomonitor/sensory/svsid_triggerogn_ptbr_2_1.raw \ 106 " 107 ;; 108 qcom) 109 TO_EXTRACT="\ 110 system/bin/bridgemgrd \ 111 system/bin/diag_klog \ 112 system/bin/diag_mdlog \ 113 system/bin/diag_qshrink4_daemon \ 114 system/bin/irsc_util \ 115 system/bin/ks \ 116 system/bin/mdm_helper \ 117 system/bin/mm-qcamera-daemon \ 118 system/bin/mpdecision \ 119 system/bin/netmgrd \ 120 system/bin/PktRspTest \ 121 system/bin/port-bridge \ 122 system/bin/qmi-framework-tests/qmi_ping_clnt_test_0000 \ 123 system/bin/qmi-framework-tests/qmi_ping_clnt_test_0001 \ 124 system/bin/qmi-framework-tests/qmi_ping_clnt_test_1000 \ 125 system/bin/qmi-framework-tests/qmi_ping_clnt_test_1001 \ 126 system/bin/qmi-framework-tests/qmi_ping_clnt_test_2000 \ 127 system/bin/qmi-framework-tests/qmi_ping_svc \ 128 system/bin/qmi-framework-tests/qmi_ping_test \ 129 system/bin/qmi-framework-tests/qmi_test_service_clnt_test_0000 \ 130 system/bin/qmi-framework-tests/qmi_test_service_clnt_test_0001 \ 131 system/bin/qmi-framework-tests/qmi_test_service_clnt_test_1000 \ 132 system/bin/qmi-framework-tests/qmi_test_service_clnt_test_1001 \ 133 system/bin/qmi-framework-tests/qmi_test_service_clnt_test_2000 \ 134 system/bin/qmi-framework-tests/qmi_test_service_test \ 135 system/bin/qmi_motext_hook \ 136 system/bin/qmi_simple_ril_test \ 137 system/bin/qmuxd \ 138 system/bin/qseecomd \ 139 system/bin/radish \ 140 system/bin/rundiag \ 141 system/bin/sensors.qcom \ 142 system/bin/test_diag \ 143 system/bin/thermal-engine \ 144 system/bin/time_daemon \ 145 system/bin/usbhub \ 146 system/bin/usbhub_init \ 147 system/etc/firmware/cpp_firmware_v1_1_1.fw \ 148 system/etc/firmware/cpp_firmware_v1_1_6.fw \ 149 system/etc/firmware/cpp_firmware_v1_2_0.fw \ 150 system/etc/firmware/cpp_firmware_v1_6_0.fw \ 151 system/etc/firmware/cpp_firmware_v1_8_0.fw \ 152 system/etc/flp.conf \ 153 system/etc/qmi_fw.conf \ 154 system/etc/sensors/sensor_def_qcomdev.conf \ 155 system/etc/thermal-engine-shamu.conf \ 156 system/lib/hw/audio.primary.msm8084.so \ 157 system/lib/hw/gps.msm8084.so \ 158 system/lib/hw/sound_trigger.primary.shamu.so \ 159 system/lib/libaudioroute.so \ 160 system/lib/libdetectmodem.so \ 161 system/lib/libgps.utils.so \ 162 system/lib/libloc_core.so \ 163 system/lib/libloc_eng.so \ 164 system/lib/libmdmdetect.so \ 165 system/lib/libmm-qcamera.so \ 166 system/lib/librmnetctl.so \ 167 system/lib/libtinycompress.so \ 168 system/lib/soundfx/libqcomvisualizer.so \ 169 system/lib/soundfx/libqcomvoiceprocessing.so \ 170 system/lib/soundfx/libspeakerbundle.so \ 171 system/vendor/firmware/a420_pfp.fw \ 172 system/vendor/firmware/a420_pm4.fw \ 173 system/vendor/firmware/adsp.b00 \ 174 system/vendor/firmware/adsp.b01 \ 175 system/vendor/firmware/adsp.b02 \ 176 system/vendor/firmware/adsp.b03 \ 177 system/vendor/firmware/adsp.b04 \ 178 system/vendor/firmware/adsp.b05 \ 179 system/vendor/firmware/adsp.b06 \ 180 system/vendor/firmware/adsp.b07 \ 181 system/vendor/firmware/adsp.b08 \ 182 system/vendor/firmware/adsp.b10 \ 183 system/vendor/firmware/adsp.b11 \ 184 system/vendor/firmware/adsp.b12 \ 185 system/vendor/firmware/adsp.mdt \ 186 system/vendor/firmware/aonvr1.bin \ 187 system/vendor/firmware/aonvr2.bin \ 188 system/vendor/firmware/keymaster/keymaster.b00 \ 189 system/vendor/firmware/keymaster/keymaster.b01 \ 190 system/vendor/firmware/keymaster/keymaster.b02 \ 191 system/vendor/firmware/keymaster/keymaster.b03 \ 192 system/vendor/firmware/keymaster/keymaster.mdt \ 193 system/vendor/firmware/venus.b00 \ 194 system/vendor/firmware/venus.b01 \ 195 system/vendor/firmware/venus.b02 \ 196 system/vendor/firmware/venus.b03 \ 197 system/vendor/firmware/venus.b04 \ 198 system/vendor/firmware/venus.mdt \ 199 system/vendor/firmware/widevine.b00 \ 200 system/vendor/firmware/widevine.b01 \ 201 system/vendor/firmware/widevine.b02 \ 202 system/vendor/firmware/widevine.b03 \ 203 system/vendor/firmware/widevine.mdt \ 204 system/vendor/lib/egl/eglsubAndroid.so \ 205 system/vendor/lib/egl/eglSubDriverAndroid.so \ 206 system/vendor/lib/egl/libEGL_adreno.so \ 207 system/vendor/lib/egl/libGLESv1_CM_adreno.so \ 208 system/vendor/lib/egl/libGLESv2_adreno.so \ 209 system/vendor/lib/egl/libq3dtools_adreno.so \ 210 system/vendor/lib/hw/activity_recognition.msm8084.so \ 211 system/vendor/lib/hw/flp.msm8084.so \ 212 system/vendor/lib/hw/sensors.msm8084.so \ 213 system/vendor/lib/libacdbloader.so \ 214 system/vendor/lib/libacdbrtac.so \ 215 system/vendor/lib/libactuator_lc898122_camcorder.so \ 216 system/vendor/lib/libactuator_lc898122_camera.so \ 217 system/vendor/lib/libactuator_lc898122.so \ 218 system/vendor/lib/libadiertac.so \ 219 system/vendor/lib/libadreno_utils.so \ 220 system/vendor/lib/libaudcal.so \ 221 system/vendor/lib/libbccQTI.so \ 222 system/vendor/lib/libC2D2.so \ 223 system/vendor/lib/libc2d30-a3xx.so \ 224 system/vendor/lib/libc2d30-a4xx.so \ 225 system/vendor/lib/libc2d30.so \ 226 system/vendor/lib/libCB.so \ 227 system/vendor/lib/libchromatix_ar0261_common.so \ 228 system/vendor/lib/libchromatix_ar0261_cpp.so \ 229 system/vendor/lib/libchromatix_ar0261_default_video.so \ 230 system/vendor/lib/libchromatix_ar0261_liveshot.so \ 231 system/vendor/lib/libchromatix_ar0261_preview.so \ 232 system/vendor/lib/libchromatix_ar0261_snapshot.so \ 233 system/vendor/lib/libchromatix_imx132_common.so \ 234 system/vendor/lib/libchromatix_imx132_cpp.so \ 235 system/vendor/lib/libchromatix_imx132_default_video.so \ 236 system/vendor/lib/libchromatix_imx132_liveshot.so \ 237 system/vendor/lib/libchromatix_imx132_preview.so \ 238 system/vendor/lib/libchromatix_imx132_snapshot.so \ 239 system/vendor/lib/libchromatix_imx135_common.so \ 240 system/vendor/lib/libchromatix_imx135_cpp.so \ 241 system/vendor/lib/libchromatix_imx135_default_video.so \ 242 system/vendor/lib/libchromatix_imx135_hfr_120.so \ 243 system/vendor/lib/libchromatix_imx135_hfr_60.so \ 244 system/vendor/lib/libchromatix_imx135_hfr_90.so \ 245 system/vendor/lib/libchromatix_imx135_liveshot.so \ 246 system/vendor/lib/libchromatix_imx135_preview.so \ 247 system/vendor/lib/libchromatix_imx135_snapshot.so \ 248 system/vendor/lib/libchromatix_imx135_video_hd.so \ 249 system/vendor/lib/libchromatix_imx214_common.so \ 250 system/vendor/lib/libchromatix_imx214_cpp.so \ 251 system/vendor/lib/libchromatix_imx214_default_video.so \ 252 system/vendor/lib/libchromatix_imx214_hfr_120.so \ 253 system/vendor/lib/libchromatix_imx214_hfr_60.so \ 254 system/vendor/lib/libchromatix_imx214_liveshot.so \ 255 system/vendor/lib/libchromatix_imx214_preview.so \ 256 system/vendor/lib/libchromatix_imx214_snapshot_hdr.so \ 257 system/vendor/lib/libchromatix_imx214_snapshot.so \ 258 system/vendor/lib/libchromatix_imx214_video_hdr.so \ 259 system/vendor/lib/libconfigdb.so \ 260 system/vendor/lib/libcsd-client.so \ 261 system/vendor/lib/libdiag.so \ 262 system/vendor/lib/libdrmdecrypt.so \ 263 system/vendor/lib/libdrmfs.so \ 264 system/vendor/lib/libdrmtime.so \ 265 system/vendor/lib/libdsi_netctrl.so \ 266 system/vendor/lib/libdsutils.so \ 267 system/vendor/lib/libgeofence.so \ 268 system/vendor/lib/libgsl.so \ 269 system/vendor/lib/libidl.so \ 270 system/vendor/lib/libizat_core.so \ 271 system/vendor/lib/libjpegehw.so \ 272 system/vendor/lib/liblbs_core.so \ 273 system/vendor/lib/libllvm-glnext.so \ 274 system/vendor/lib/libllvm-qcom.so \ 275 system/vendor/lib/libloc_api_v02.so \ 276 system/vendor/lib/libloc_ds_api.so \ 277 system/vendor/lib/libmmcamera2_c2d_module.so \ 278 system/vendor/lib/libmmcamera2_cpp_module.so \ 279 system/vendor/lib/libmmcamera2_frame_algorithm.so \ 280 system/vendor/lib/libmmcamera2_iface_modules.so \ 281 system/vendor/lib/libmmcamera2_imglib_modules.so \ 282 system/vendor/lib/libmmcamera2_isp_modules.so \ 283 system/vendor/lib/libmmcamera2_is.so \ 284 system/vendor/lib/libmmcamera2_pproc_modules.so \ 285 system/vendor/lib/libmmcamera2_sensor_modules.so \ 286 system/vendor/lib/libmmcamera2_stats_algorithm.so \ 287 system/vendor/lib/libmmcamera2_stats_modules.so \ 288 system/vendor/lib/libmmcamera2_vpe_module.so \ 289 system/vendor/lib/libmmcamera2_wnr_module.so \ 290 system/vendor/lib/libmmcamera_ar0261_eeprom.so \ 291 system/vendor/lib/libmmcamera_ar0261.so \ 292 system/vendor/lib/libmmcamera_cac2_lib.so \ 293 system/vendor/lib/libmmcamera_faceproc.so \ 294 system/vendor/lib/libmmcamera_imglib.so \ 295 system/vendor/lib/libmmcamera_imx132.so \ 296 system/vendor/lib/libmmcamera_imx135.so \ 297 system/vendor/lib/libmmcamera_imx214.so \ 298 system/vendor/lib/libmmcamera_isp_abf44.so \ 299 system/vendor/lib/libmmcamera_isp_bcc44.so \ 300 system/vendor/lib/libmmcamera_isp_be_stats44.so \ 301 system/vendor/lib/libmmcamera_isp_bf_scale_stats44.so \ 302 system/vendor/lib/libmmcamera_isp_bf_stats44.so \ 303 system/vendor/lib/libmmcamera_isp_bg_stats44.so \ 304 system/vendor/lib/libmmcamera_isp_bhist_stats44.so \ 305 system/vendor/lib/libmmcamera_isp_bpc44.so \ 306 system/vendor/lib/libmmcamera_isp_chroma_enhan40.so \ 307 system/vendor/lib/libmmcamera_isp_chroma_suppress40.so \ 308 system/vendor/lib/libmmcamera_isp_clamp_encoder40.so \ 309 system/vendor/lib/libmmcamera_isp_clamp_video40.so \ 310 system/vendor/lib/libmmcamera_isp_clamp_viewfinder40.so \ 311 system/vendor/lib/libmmcamera_isp_clf44.so \ 312 system/vendor/lib/libmmcamera_isp_clf46.so \ 313 system/vendor/lib/libmmcamera_isp_color_correct40.so \ 314 system/vendor/lib/libmmcamera_isp_color_correct46.so \ 315 system/vendor/lib/libmmcamera_isp_color_xform_encoder40.so \ 316 system/vendor/lib/libmmcamera_isp_color_xform_viewfinder40.so \ 317 system/vendor/lib/libmmcamera_isp_cs_stats44.so \ 318 system/vendor/lib/libmmcamera_isp_demosaic44.so \ 319 system/vendor/lib/libmmcamera_isp_demux40.so \ 320 system/vendor/lib/libmmcamera_isp_fovcrop_encoder40.so \ 321 system/vendor/lib/libmmcamera_isp_fovcrop_encoder46.so \ 322 system/vendor/lib/libmmcamera_isp_fovcrop_video46.so \ 323 system/vendor/lib/libmmcamera_isp_fovcrop_viewfinder40.so \ 324 system/vendor/lib/libmmcamera_isp_fovcrop_viewfinder46.so \ 325 system/vendor/lib/libmmcamera_isp_gamma44.so \ 326 system/vendor/lib/libmmcamera_isp_ihist_stats44.so \ 327 system/vendor/lib/libmmcamera_isp_linearization40.so \ 328 system/vendor/lib/libmmcamera_isp_ltm44.so \ 329 system/vendor/lib/libmmcamera_isp_luma_adaptation40.so \ 330 system/vendor/lib/libmmcamera_isp_mce40.so \ 331 system/vendor/lib/libmmcamera_isp_mesh_rolloff44.so \ 332 system/vendor/lib/libmmcamera_isp_rs_stats44.so \ 333 system/vendor/lib/libmmcamera_isp_scaler_encoder44.so \ 334 system/vendor/lib/libmmcamera_isp_scaler_encoder46.so \ 335 system/vendor/lib/libmmcamera_isp_scaler_video46.so \ 336 system/vendor/lib/libmmcamera_isp_scaler_viewfinder44.so \ 337 system/vendor/lib/libmmcamera_isp_scaler_viewfinder46.so \ 338 system/vendor/lib/libmmcamera_isp_sce40.so \ 339 system/vendor/lib/libmmcamera_isp_sub_module.so \ 340 system/vendor/lib/libmmcamera_isp_wb40.so \ 341 system/vendor/lib/libmmcamera_onsemi_cat24c16_eeprom.so \ 342 system/vendor/lib/libmmcamera_tintless_algo.so \ 343 system/vendor/lib/libmmcamera_tintless_bg_pca_algo.so \ 344 system/vendor/lib/libmmcamera_vpu_module.so \ 345 system/vendor/lib/libmmipl.so \ 346 system/vendor/lib/libmmjpeg.so \ 347 system/vendor/lib/libmmqjpeg_codec.so \ 348 system/vendor/lib/libmmqjpegdma.so \ 349 system/vendor/lib/libnetmgr.so \ 350 system/vendor/lib/liboemcamera.so \ 351 system/vendor/lib/liboemcrypto.so \ 352 system/vendor/lib/libois_lc898122.so \ 353 system/vendor/lib/libqcci_legacy.so \ 354 system/vendor/lib/libqdi.so \ 355 system/vendor/lib/libqdp.so \ 356 system/vendor/lib/libqmi_cci.so \ 357 system/vendor/lib/libqmi_client_qmux.so \ 358 system/vendor/lib/libqmi_common_so.so \ 359 system/vendor/lib/libqmi_csi.so \ 360 system/vendor/lib/libqmi_encdec.so \ 361 system/vendor/lib/libqmiservices.so \ 362 system/vendor/lib/libqmi.so \ 363 system/vendor/lib/libqomx_jpegdec.so \ 364 system/vendor/lib/libqomx_jpegenc.so \ 365 system/vendor/lib/libQSEEComAPI.so \ 366 system/vendor/lib/libril-qc-qmi-1.so \ 367 system/vendor/lib/libril-qcril-hook-oem.so \ 368 system/vendor/lib/librpmb.so \ 369 system/vendor/lib/librs_adreno_sha1.so \ 370 system/vendor/lib/librs_adreno.so \ 371 system/vendor/lib/libRSDriver_adreno.so \ 372 system/vendor/lib/libsensor1.so \ 373 system/vendor/lib/libsensor_reg.so \ 374 system/vendor/lib/libthermalclient.so \ 375 system/vendor/lib/libthermalioctl.so \ 376 system/vendor/lib/libtime_genoff.so \ 377 system/vendor/lib/libTimeService.so \ 378 system/vendor/lib/libxml.so \ 379 " 380 ;; 381