1 broadcom) 2 TO_EXTRACT="\ 3 system/vendor/firmware/bcm2079x-b5_firmware.ncd \ 4 system/vendor/firmware/bcm2079x-b5_pre_firmware.ncd \ 5 system/vendor/firmware/bcm4335c0.hcd \ 6 " 7 ;; 8 lge) 9 TO_EXTRACT="\ 10 system/app/OmaDmclient.apk \ 11 system/app/qcrilmsgtunnel.apk \ 12 system/app/SprintHiddenMenu.apk \ 13 system/app/UpdateSetting.apk \ 14 system/etc/Bluetooth_cal.acdb \ 15 system/etc/DxHDCP.cfg \ 16 system/etc/General_cal.acdb \ 17 system/etc/Global_cal.acdb \ 18 system/etc/Handset_cal.acdb \ 19 system/etc/Hdmi_cal.acdb \ 20 system/etc/Headset_cal.acdb \ 21 system/etc/permissions/serviceitems.xml \ 22 system/etc/qcril.db \ 23 system/etc/sensor_def_hh.conf \ 24 system/etc/Speaker_cal.acdb \ 25 system/framework/serviceitems.jar \ 26 system/vendor/bin/vss_init \ 27 system/vendor/firmware/bu24205_LGIT_VER_2_DATA1.bin \ 28 system/vendor/firmware/bu24205_LGIT_VER_2_DATA2.bin \ 29 system/vendor/firmware/bu24205_LGIT_VER_2_DATA3.bin \ 30 system/vendor/firmware/bu24205_LGIT_VER_3_CAL.bin \ 31 system/vendor/firmware/bu24205_LGIT_VER_3_DATA1.bin \ 32 system/vendor/firmware/bu24205_LGIT_VER_3_DATA2.bin \ 33 system/vendor/firmware/bu24205_LGIT_VER_3_DATA3.bin \ 34 system/vendor/firmware/discretix/dxhdcp2.b00 \ 35 system/vendor/firmware/discretix/dxhdcp2.b01 \ 36 system/vendor/firmware/discretix/dxhdcp2.b02 \ 37 system/vendor/firmware/discretix/dxhdcp2.b03 \ 38 system/vendor/firmware/discretix/dxhdcp2.mdt \ 39 system/vendor/firmware/keymaster/keymaster.b00 \ 40 system/vendor/firmware/keymaster/keymaster.b01 \ 41 system/vendor/firmware/keymaster/keymaster.b02 \ 42 system/vendor/firmware/keymaster/keymaster.b03 \ 43 system/vendor/firmware/keymaster/keymaster.mdt \ 44 system/vendor/lib/libAKM8963.so \ 45 system/vendor/lib/libDxHdcp.so \ 46 system/vendor/lib/libvdmengine.so \ 47 system/vendor/lib/libvdmfumo.so \ 48 system/vendor/lib/libvss_common_core.so \ 49 system/vendor/lib/libvss_common_idl.so \ 50 system/vendor/lib/libvss_common_iface.so \ 51 system/vendor/lib/libvss_nv_core.so \ 52 system/vendor/lib/libvss_nv_idl.so \ 53 system/vendor/lib/libvss_nv_iface.so \ 54 " 55 ;; 56 qcom) 57 TO_EXTRACT="\ 58 system/bin/bridgemgrd \ 59 system/bin/diag_klog \ 60 system/bin/diag_mdlog \ 61 system/bin/ds_fmc_appd \ 62 system/bin/irsc_util \ 63 system/bin/mm-qcamera-daemon \ 64 system/bin/mpdecision \ 65 system/bin/netmgrd \ 66 system/bin/nl_listener \ 67 system/bin/port-bridge \ 68 system/bin/qmuxd \ 69 system/bin/qseecomd \ 70 system/bin/radish \ 71 system/bin/rmt_storage \ 72 system/bin/sensors.qcom \ 73 system/bin/subsystem_ramdump \ 74 system/bin/thermal-engine-hh \ 75 system/bin/time_daemon \ 76 system/bin/usbhub \ 77 system/bin/usbhub_init \ 78 system/etc/firmware/cpp_firmware_v1_1_1.fw \ 79 system/etc/firmware/cpp_firmware_v1_1_6.fw \ 80 system/etc/firmware/cpp_firmware_v1_2_0.fw \ 81 system/etc/permissions/qcrilhook.xml \ 82 system/framework/qcrilhook.jar \ 83 system/lib/hw/flp.msm8974.so \ 84 system/lib/hw/gps.msm8974.so \ 85 system/lib/libadsprpc.so \ 86 system/lib/libchromatix_imx179_common.so \ 87 system/lib/libchromatix_imx179_default_video.so \ 88 system/lib/libchromatix_imx179_preview.so \ 89 system/lib/libchromatix_imx179_snapshot.so \ 90 system/lib/libchromatix_mt9m114b_common.so \ 91 system/lib/libchromatix_mt9m114b_default_video.so \ 92 system/lib/libchromatix_mt9m114b_preview.so \ 93 system/lib/libchromatix_mt9m114b_snapshot.so \ 94 system/lib/libdrmdiag.so \ 95 system/lib/libdrmfs.so \ 96 system/lib/libdrmtime.so \ 97 system/lib/libgps.utils.so \ 98 system/lib/libI420colorconvert.so \ 99 system/lib/libloc_core.so \ 100 system/lib/libloc_eng.so \ 101 system/lib/libmm-abl.so \ 102 system/lib/libmmcamera_hdr_lib.so \ 103 system/lib/libmmcamera_image_stab.so \ 104 system/lib/libmmcamera_imx179.so \ 105 system/lib/libmmcamera_mt9m114b.so \ 106 system/lib/libmmcamera_wavelet_lib.so \ 107 system/lib/libmm-color-convertor.so \ 108 system/lib/libmmQSM.so \ 109 system/lib/liboemcrypto.so \ 110 system/lib/libQSEEComAPI.so \ 111 system/lib/libril-qc-qmi-1.so \ 112 system/lib/libstagefright_hdcp.so \ 113 system/lib/libxml.so \ 114 system/vendor/firmware/a330_pfp.fw \ 115 system/vendor/firmware/a330_pm4.fw \ 116 system/vendor/firmware/venus.b00 \ 117 system/vendor/firmware/venus.b01 \ 118 system/vendor/firmware/venus.b02 \ 119 system/vendor/firmware/venus.b03 \ 120 system/vendor/firmware/venus.b04 \ 121 system/vendor/firmware/venus.mdt \ 122 system/vendor/lib/egl/eglsubAndroid.so \ 123 system/vendor/lib/egl/libEGL_adreno.so \ 124 system/vendor/lib/egl/libGLESv1_CM_adreno.so \ 125 system/vendor/lib/egl/libGLESv2_adreno.so \ 126 system/vendor/lib/egl/libplayback_adreno.so \ 127 system/vendor/lib/egl/libq3dtools_adreno.so \ 128 system/vendor/lib/hw/sensors.msm8974.so \ 129 system/vendor/lib/libacdbloader.so \ 130 system/vendor/lib/libacdbrtac.so \ 131 system/vendor/lib/libadiertac.so \ 132 system/vendor/lib/libadreno_utils.so \ 133 system/vendor/lib/libaudcal.so \ 134 system/vendor/lib/libC2D2.so \ 135 system/vendor/lib/libc2d30-a3xx.so \ 136 system/vendor/lib/libc2d30.so \ 137 system/vendor/lib/libCB.so \ 138 system/vendor/lib/libCommandSvc.so \ 139 system/vendor/lib/libconfigdb.so \ 140 system/vendor/lib/libdiag.so \ 141 system/vendor/lib/libdrmdecrypt.so \ 142 system/vendor/lib/libdsi_netctrl.so \ 143 system/vendor/lib/libdsutils.so \ 144 system/vendor/lib/libFuzzmmstillomxenc.so \ 145 system/vendor/lib/libgeofence.so \ 146 system/vendor/lib/libgsl.so \ 147 system/vendor/lib/libidl.so \ 148 system/vendor/lib/libizat_core.so \ 149 system/vendor/lib/libjpegdhw.so \ 150 system/vendor/lib/libjpegehw.so \ 151 system/vendor/lib/libllvm-a3xx.so \ 152 system/vendor/lib/libloc_api_v02.so \ 153 system/vendor/lib/libloc_ds_api.so \ 154 system/vendor/lib/libmmcamera2_c2d_module.so \ 155 system/vendor/lib/libmmcamera2_cpp_module.so \ 156 system/vendor/lib/libmmcamera2_iface_modules.so \ 157 system/vendor/lib/libmmcamera2_imglib_modules.so \ 158 system/vendor/lib/libmmcamera2_isp_modules.so \ 159 system/vendor/lib/libmmcamera2_pproc_modules.so \ 160 system/vendor/lib/libmmcamera2_sensor_modules.so \ 161 system/vendor/lib/libmmcamera2_stats_algorithm.so \ 162 system/vendor/lib/libmmcamera2_stats_modules.so \ 163 system/vendor/lib/libmmcamera2_vpe_module.so \ 164 system/vendor/lib/libmmcamera2_wnr_module.so \ 165 system/vendor/lib/libmmcamera_faceproc.so \ 166 system/vendor/lib/libmmcamera_imglib.so \ 167 system/vendor/lib/libmmcamera_imx179_eeprom.so \ 168 system/vendor/lib/libmmipl.so \ 169 system/vendor/lib/libmmjpeg.so \ 170 system/vendor/lib/libmmqjpeg_codec.so \ 171 system/vendor/lib/libnetmgr.so \ 172 system/vendor/lib/liboemcamera.so \ 173 system/vendor/lib/libqcci_legacy.so \ 174 system/vendor/lib/libqdi.so \ 175 system/vendor/lib/libqdp.so \ 176 system/vendor/lib/libqmi_cci.so \ 177 system/vendor/lib/libqmi_client_qmux.so \ 178 system/vendor/lib/libqmi_common_so.so \ 179 system/vendor/lib/libqmi_csi.so \ 180 system/vendor/lib/libqmi_encdec.so \ 181 system/vendor/lib/libqmiservices.so \ 182 system/vendor/lib/libqmi.so \ 183 system/vendor/lib/libqomx_jpegenc.so \ 184 system/vendor/lib/libril-qcril-hook-oem.so \ 185 system/vendor/lib/librs_adreno_sha1.so \ 186 system/vendor/lib/librs_adreno.so \ 187 system/vendor/lib/libRSDriver_adreno.so \ 188 system/vendor/lib/libsc-a3xx.so \ 189 system/vendor/lib/libsensor1.so \ 190 system/vendor/lib/libsensor_reg.so \ 191 system/vendor/lib/libsensor_user_cal.so \ 192 system/vendor/lib/libtime_genoff.so \ 193 system/vendor/lib/libTimeService.so \ 194 " 195 ;; 196