1  asus)
2    TO_EXTRACT="\
3            system/etc/apns-conf.xml \
4            system/lib/libacdbdata.so \
5            system/lib/libAKM.so \
6            "
7    ;;
8  broadcom)
9    TO_EXTRACT="\
10            system/vendor/firmware/bcm2079x-b5_firmware.ncd \
11            system/vendor/firmware/bcm2079x-b5_pre_firmware.ncd \
12            "
13    ;;
14  qcom)
15    TO_EXTRACT="\
16            system/bin/ATFWD-daemon \
17            system/bin/bridgemgrd \
18            system/bin/btnvtool \
19            system/bin/diag_klog \
20            system/bin/diag_mdlog \
21            system/bin/ds_fmc_appd \
22            system/bin/efsks \
23            system/bin/hci_qcomm_init \
24            system/bin/irsc_util \
25            system/bin/ks \
26            system/bin/mm-qcamera-app \
27            system/bin/mm-qcamera-daemon \
28            system/bin/mm-qjpeg-enc-test \
29            system/bin/mm-qomx-ienc-test \
30            system/bin/mpdecision \
31            system/bin/netmgrd \
32            system/bin/nl_listener \
33            system/bin/port-bridge \
34            system/bin/qcks \
35            system/bin/qmuxd \
36            system/bin/qseecomd \
37            system/bin/radish \
38            system/bin/rmt_storage \
39            system/bin/sensors.qcom \
40            system/bin/thermald \
41            system/bin/usbhub \
42            system/bin/usbhub_init \
43            system/etc/firmware/vidc_1080p.fw \
44            system/etc/firmware/vidc.b00 \
45            system/etc/firmware/vidc.b01 \
46            system/etc/firmware/vidc.b02 \
47            system/etc/firmware/vidc.b03 \
48            system/etc/firmware/vidcfw.elf \
49            system/etc/firmware/vidc.mdt \
50            system/etc/gps.conf \
51            system/vendor/lib/egl/eglsubAndroid.so \
52            system/vendor/lib/egl/libEGL_adreno.so \
53            system/vendor/lib/egl/libGLESv1_CM_adreno.so \
54            system/vendor/lib/egl/libGLESv2_adreno.so \
55            system/vendor/lib/egl/libplayback_adreno.so \
56            system/vendor/lib/egl/libq3dtools_adreno.so \
57            system/lib/hw/flp.msm8960.so \
58            system/lib/hw/gps.msm8960.so \
59            system/lib/hw/sensors.msm8960.so \
60            system/lib/libacdbloader.so \
61            system/vendor/lib/libadreno_utils.so \
62            system/lib/libaudcal.so \
63            system/lib/libaudioalsa.so \
64            system/vendor/lib/libC2D2.so \
65            system/vendor/lib/libc2d30-a3xx.so \
66            system/vendor/lib/libc2d30.so \
67            system/vendor/lib/libCB.so \
68            system/lib/libchromatix_ov5693_common.so \
69            system/lib/libchromatix_ov5693_default_video.so \
70            system/lib/libchromatix_ov5693_preview.so \
71            system/lib/libCommandSvc.so \
72            system/lib/libconfigdb.so \
73            system/lib/libcsd-client.so \
74            system/lib/libdiag.so \
75            system/lib/libdrmdiag.so \
76            system/lib/libdrmfs.so \
77            system/lib/libdrmtime.so \
78            system/lib/libdsi_netctrl.so \
79            system/lib/libdsprofile.so \
80            system/lib/libdss.so \
81            system/lib/libdsucsd.so \
82            system/lib/libdsutils.so \
83            system/lib/libDxHdcp.so \
84            system/lib/libgps.utils.so \
85            system/vendor/lib/libgsl.so \
86            system/lib/libI420colorconvert.so \
87            system/lib/libidl.so \
88            system/vendor/lib/libllvm-qcom.so \
89            system/lib/libloc_core.so \
90            system/lib/libloc_eng.so \
91            system/lib/libmm-abl.so \
92            system/lib/libmmcamera2_stats_algorithm.so \
93            system/lib/libmmcamera_image_stab.so \
94            system/lib/libmmcamera_mi1040.so \
95            system/lib/libmmcamera_ov5693.so \
96            system/lib/libmm-color-convertor.so \
97            system/lib/libnetmgr.so \
98            system/lib/liboemcrypto.so \
99            system/lib/libqcci_legacy.so \
100            system/lib/libqdi.so \
101            system/lib/libqdp.so \
102            system/lib/libqmi_cci.so \
103            system/lib/libqmi_client_qmux.so \
104            system/lib/libqmi_common_so.so \
105            system/lib/libqmi_csi.so \
106            system/lib/libqmi_csvt_srvc.so \
107            system/lib/libqmi_encdec.so \
108            system/lib/libqmiservices.so \
109            system/lib/libqmi.so \
110            system/lib/libQSEEComAPI.so \
111            system/lib/libril-qc-qmi-1.so \
112            system/lib/libril-qcril-hook-oem.so \
113            system/vendor/lib/librs_adreno_sha1.so \
114            system/vendor/lib/librs_adreno.so \
115            system/vendor/lib/libRSDriver_adreno.so \
116            system/vendor/lib/libsc-a3xx.so \
117            system/lib/libsensor1.so \
118            system/lib/libsensor_reg.so \
119            system/lib/libsensor_user_cal.so \
120            system/lib/libstagefright_hdcp.so \
121            system/lib/libxml.so \
122            system/vendor/firmware/a300_pfp.fw \
123            system/vendor/firmware/a300_pm4.fw \
124            system/vendor/firmware/discretix/dxhdcp2.b00 \
125            system/vendor/firmware/discretix/dxhdcp2.b01 \
126            system/vendor/firmware/discretix/dxhdcp2.b02 \
127            system/vendor/firmware/discretix/dxhdcp2.b03 \
128            system/vendor/firmware/discretix/dxhdcp2.mdt \
129            system/vendor/firmware/dsps.b00 \
130            system/vendor/firmware/dsps.b01 \
131            system/vendor/firmware/dsps.b02 \
132            system/vendor/firmware/dsps.b03 \
133            system/vendor/firmware/dsps.b04 \
134            system/vendor/firmware/dsps.b05 \
135            system/vendor/firmware/dsps.mdt \
136            system/vendor/firmware/gss.b00 \
137            system/vendor/firmware/gss.b01 \
138            system/vendor/firmware/gss.b02 \
139            system/vendor/firmware/gss.b03 \
140            system/vendor/firmware/gss.b04 \
141            system/vendor/firmware/gss.b05 \
142            system/vendor/firmware/gss.b06 \
143            system/vendor/firmware/gss.b07 \
144            system/vendor/firmware/gss.b08 \
145            system/vendor/firmware/gss.b09 \
146            system/vendor/firmware/gss.b10 \
147            system/vendor/firmware/gss.b11 \
148            system/vendor/firmware/gss.mdt \
149            system/vendor/firmware/keymaster/keymaster.b00 \
150            system/vendor/firmware/keymaster/keymaster.b01 \
151            system/vendor/firmware/keymaster/keymaster.b02 \
152            system/vendor/firmware/keymaster/keymaster.b03 \
153            system/vendor/firmware/keymaster/keymaster.mdt \
154            system/vendor/firmware/q6.b00 \
155            system/vendor/firmware/q6.b01 \
156            system/vendor/firmware/q6.b03 \
157            system/vendor/firmware/q6.b04 \
158            system/vendor/firmware/q6.b05 \
159            system/vendor/firmware/q6.b06 \
160            system/vendor/firmware/q6.mdt \
161            system/vendor/firmware/tzapps.b00 \
162            system/vendor/firmware/tzapps.b01 \
163            system/vendor/firmware/tzapps.b02 \
164            system/vendor/firmware/tzapps.b03 \
165            system/vendor/firmware/tzapps.mdt \
166            system/vendor/firmware/wcnss.b00 \
167            system/vendor/firmware/wcnss.b01 \
168            system/vendor/firmware/wcnss.b02 \
169            system/vendor/firmware/wcnss.b04 \
170            system/vendor/firmware/wcnss.b05 \
171            system/vendor/firmware/wcnss.mdt \
172            system/vendor/lib/libdrmdecrypt.so \
173            system/vendor/lib/libgemini.so \
174            system/vendor/lib/libgeofence.so \
175            system/vendor/lib/libimage-jpeg-enc-omx-comp.so \
176            system/vendor/lib/libimage-omx-common.so \
177            system/vendor/lib/libizat_core.so \
178            system/vendor/lib/libloc_api_v02.so \
179            system/vendor/lib/libloc_ds_api.so \
180            system/vendor/lib/libmmcamera2_c2d_module.so \
181            system/vendor/lib/libmmcamera2_cpp_module.so \
182            system/vendor/lib/libmmcamera2_iface_modules.so \
183            system/vendor/lib/libmmcamera2_imglib_modules.so \
184            system/vendor/lib/libmmcamera2_isp_modules.so \
185            system/vendor/lib/libmmcamera2_pproc_modules.so \
186            system/vendor/lib/libmmcamera2_sensor_modules.so \
187            system/vendor/lib/libmmcamera2_stats_modules.so \
188            system/vendor/lib/libmmcamera2_vpe_module.so \
189            system/vendor/lib/libmmcamera2_wnr_module.so \
190            system/vendor/lib/libmmcamera_faceproc.so \
191            system/vendor/lib/libmmcamera_imglib.so \
192            system/vendor/lib/libmmipl.so \
193            system/vendor/lib/libmmjpeg.so \
194            system/vendor/lib/libmmqjpeg_codec.so \
195            system/vendor/lib/libmmstillomx.so \
196            system/vendor/lib/liboemcamera.so \
197            system/vendor/lib/libqomx_jpegenc.so \
198            "
199    ;;
200