asus) TO_EXTRACT="\ system/bin/teeprov \ system/etc/firmware/IT8566_CEC.BIN \ system/lib/hw/hdmi_cec.fugu.so \ system/vendor/lib/mediadrm/libplayreadydrmplugin.so \ " ;; broadcom) TO_EXTRACT="\ system/bin/BtFwLoader \ system/etc/wifi/bcmdhd.cal \ system/etc/wifi/bcmdhd_sr2.cal \ system/vendor/firmware/BCM4350C0.hcd \ system/vendor/firmware/BCM4350C0_SR2.hcd \ " ;; google) TO_EXTRACT="\ system/lib/arm/libbase.so \ system/priv-app/AtvRemoteService/AtvRemoteService.apk \ system/priv-app/LeanbackLauncher/LeanbackLauncher.apk \ system/priv-app/TV/TV.apk \ " ;; intel) TO_EXTRACT="\ system/bin/houdini \ system/etc/binfmt_misc/arm_dyn \ system/etc/binfmt_misc/arm_exe \ system/etc/binfmt_misc/disable \ system/etc/firmware/msvdx.bin.0008.0000.0000 \ system/etc/firmware/msvdx.bin.0008.0000.0001 \ system/etc/firmware/msvdx.bin.0008.0000.0002 \ system/etc/firmware/msvdx.bin.0008.0002.0001 \ system/etc/firmware/msvdx.bin.000c.0001.0001 \ system/etc/firmware/topaz.bin.0008.0000.0000 \ system/etc/firmware/topaz.bin.0008.0000.0001 \ system/etc/firmware/topaz.bin.0008.0000.0002 \ system/etc/firmware/topaz.bin.0008.0002.0001 \ system/etc/firmware/topaz.bin.000c.0001.0001 \ system/etc/firmware/vsp.bin.0008.0000.0000 \ system/etc/firmware/vsp.bin.0008.0000.0001 \ system/etc/firmware/vsp.bin.0008.0000.0002 \ system/etc/firmware/vsp.bin.0008.0002.0001 \ system/etc/firmware/vsp.bin.000c.0001.0001 \ system/etc/vp9_interpredict.binary \ system/lib/arm/cpuinfo \ system/lib/arm/libandroidfw.so \ system/lib/arm/libandroid_runtime.so \ system/lib/arm/libandroid.so \ system/lib/arm/libart.so \ system/lib/arm/libaudioflinger.so \ system/lib/arm/libaudioresampler.so \ system/lib/arm/libaudiospdif.so \ system/lib/arm/libaudioutils.so \ system/lib/arm/libbacktrace.so \ system/lib/arm/libbcc.so \ system/lib/arm/libbcinfo.so \ system/lib/arm/libbinary_parse.so \ system/lib/arm/libbinder.so \ system/lib/arm/libblas.so \ system/lib/arm/libcamera2ndk.so \ system/lib/arm/libcamera_client.so \ system/lib/arm/libcamera_metadata.so \ system/lib/arm/libcommon_time_client.so \ system/lib/arm/libcompiler_rt.so \ system/lib/arm/libcrypto.so \ system/lib/arm/libc.so \ system/lib/arm/libc++.so \ system/lib/arm/libcutils.so \ system/lib/arm/libdl.so \ system/lib/arm/libdng_sdk.so \ system/lib/arm/libeffects.so \ system/lib/arm/libEGL.so \ system/lib/arm/libETC1.so \ system/lib/arm/libexpat.so \ system/lib/arm/libFFTEm.so \ system/lib/arm/libfilterfw.so \ system/lib/arm/libfilterpack_imageproc.so \ system/lib/arm/libft2.so \ system/lib/arm/libgabi++.so \ system/lib/arm/libGLESv1_CM.so \ system/lib/arm/libGLESv2.so \ system/lib/arm/libGLESv3.so \ system/lib/arm/libgui.so \ system/lib/arm/libhardware.so \ system/lib/arm/libharfbuzz_ng.so \ system/lib/arm/libhwui.so \ system/lib/arm/libicui18n.so \ system/lib/arm/libicuuc.so \ system/lib/arm/libimage_type_recognition.so \ system/lib/arm/libimg_utils.so \ system/lib/arm/libinputflinger.so \ system/lib/arm/libinput.so \ system/lib/arm/libjnigraphics.so \ system/lib/arm/libjpeg.so \ system/lib/arm/libLLVM.so \ system/lib/arm/liblog.so \ system/lib/arm/liblz4.so \ system/lib/arm/liblzma.so \ system/lib/arm/libmediandk.so \ system/lib/arm/libmedia.so \ system/lib/arm/libmediautils.so \ system/lib/arm/libmemtrack.so \ system/lib/arm/libmemunreachable.so \ system/lib/arm/libminikin.so \ system/lib/arm/libm.so \ system/lib/arm/libnativebridge.so \ system/lib/arm/libnativehelper.so \ system/lib/arm/libnativeloader.so \ system/lib/arm/libnbaio.so \ system/lib/arm/libnetd_client.so \ system/lib/arm/libnetutils.so \ system/lib/arm/libnfc_ndef.so \ system/lib/arm/libnl.so \ system/lib/arm/libOpenMAXAL.so \ system/lib/arm/libOpenSLES.so \ system/lib/arm/libopus.so \ system/lib/arm/libpackagelistparser.so \ system/lib/arm/libpcre.so \ system/lib/arm/libpdfium.so \ system/lib/arm/libpiex.so \ system/lib/arm/libpixelflinger.so \ system/lib/arm/libpng.so \ system/lib/arm/libpowermanager.so \ system/lib/arm/libprocessgroup.so \ system/lib/arm/libprotobuf-cpp-lite.so \ system/lib/arm/libradio_metadata.so \ system/lib/arm/libradio.so \ system/lib/arm/libRScpp.so \ system/lib/arm/libRSCpuRef.so \ system/lib/arm/libRSDriver.so \ system/lib/arm/libRS.so \ system/lib/arm/libselinux.so \ system/lib/arm/libserviceutility.so \ system/lib/arm/libsigchain.so \ system/lib/arm/libskia.so \ system/lib/arm/libsonic.so \ system/lib/arm/libsonivox.so \ system/lib/arm/libsoundtrigger.so \ system/lib/arm/libspeexresampler.so \ system/lib/arm/libsqlite.so \ system/lib/arm/libssl.so \ system/lib/arm/libstagefright_avc_common.so \ system/lib/arm/libstagefright_enc_common.so \ system/lib/arm/libstagefright_foundation.so \ system/lib/arm/libstagefright_http_support.so \ system/lib/arm/libstagefright_omx.so \ system/lib/arm/libstagefright.so \ system/lib/arm/libstagefright_yuv.so \ system/lib/arm/libstdc++.so \ system/lib/arm/libsurfaceflinger.so \ system/lib/arm/libsync.so \ system/lib/arm/libsysutils.so \ system/lib/arm/libtiff_directory.so \ system/lib/arm/libui.so \ system/lib/arm/libunwind.so \ system/lib/arm/libusbhost.so \ system/lib/arm/libutils.so \ system/lib/arm/libvorbisidec.so \ system/lib/arm/libvulkan.so \ system/lib/arm/libwebrtc_audio_coding.so \ system/lib/arm/libwebviewchromium_plat_support.so \ system/lib/arm/libwilhelm.so \ system/lib/arm/libz.so \ system/lib/arm/linker \ system/lib/arm/nb/libandroid_runtime.so \ system/lib/arm/nb/libandroid.so \ system/lib/arm/nb/libart.so \ system/lib/arm/nb/libaudioflinger.so \ system/lib/arm/nb/libbinder.so \ system/lib/arm/nb/libcamera_client.so \ system/lib/arm/nb/libc.so \ system/lib/arm/nb/libcutils.so \ system/lib/arm/nb/libdl.so \ system/lib/arm/nb/libEGL.so \ system/lib/arm/nb/libft2.so \ system/lib/arm/nb/libGLESv1_CM.so \ system/lib/arm/nb/libGLESv2.so \ system/lib/arm/nb/libGLESv3.so \ system/lib/arm/nb/libgui.so \ system/lib/arm/nb/libhwui.so \ system/lib/arm/nb/libicui18n.so \ system/lib/arm/nb/libicuuc.so \ system/lib/arm/nb/libjnigraphics.so \ system/lib/arm/nb/libmediandk.so \ system/lib/arm/nb/libmedia.so \ system/lib/arm/nb/libm.so \ system/lib/arm/nb/libnativehelper.so \ system/lib/arm/nb/libOpenMAXAL.so \ system/lib/arm/nb/libOpenSLES.so \ system/lib/arm/nb/libpcre.so \ system/lib/arm/nb/libpixelflinger.so \ system/lib/arm/nb/libskia.so \ system/lib/arm/nb/libsqlite.so \ system/lib/arm/nb/libstagefright.so \ system/lib/arm/nb/libsurfaceflinger.so \ system/lib/arm/nb/libui.so \ system/lib/arm/nb/libutils.so \ system/lib/arm/nb/libz.so \ system/lib/hw/keystore.moorefield.so \ system/lib/libDecoderVP9Hybrid.so \ system/lib/libdx_cc7.so \ system/lib/libgabi++-mfx.so \ system/lib/libhoudini.so \ system/lib/libifp.so \ system/lib/libkeymaster.so \ system/lib/libmfx_omx_components_sw.so \ system/lib/libmfx_omx_core.so \ system/lib/libmfxsw32.so \ system/lib/libmixvbp_h264secure.so \ system/lib/libmixvbp_h264.so \ system/lib/libmixvbp_mpeg2.so \ system/lib/libmixvbp_mpeg4.so \ system/lib/libmixvbp.so \ system/lib/libmixvbp_vc1.so \ system/lib/libmixvbp_vp8.so \ system/lib/libOMXVideoDecoderAVCSecure.so \ system/lib/libsepdrm_cc54.so \ system/lib/libstlport-mfx.so \ system/vendor/bin/hwperfbin2jsont \ system/vendor/bin/pvrdebug \ system/vendor/bin/pvrhtb2txt \ system/vendor/bin/pvrtld \ system/vendor/bin/rscompiler \ system/vendor/firmware/PR-ModelCert \ system/vendor/firmware/rgx.fw.signed \ system/vendor/lib/egl/libEGL_POWERVR_ROGUE.so \ system/vendor/lib/egl/libGLESv1_CM_POWERVR_ROGUE.so \ system/vendor/lib/egl/libGLESv2_POWERVR_ROGUE.so \ system/vendor/lib/hw/gralloc.moorefield.so \ system/vendor/lib/hw/memtrack.moorefield.so \ system/vendor/lib/hw/vulkan.moorefield.so \ system/vendor/lib/libclangIMG.so \ system/vendor/lib/libcptcompiler.so \ system/vendor/lib/libglslcompiler.so \ system/vendor/lib/libIMGegl.so \ system/vendor/lib/libLLVMIMG.so \ system/vendor/lib/libpvrANDROID_WSEGL.so \ system/vendor/lib/libpvrcpt.so \ system/vendor/lib/libPVRRS.sha1.so \ system/vendor/lib/libPVRRS.so \ system/vendor/lib/libPVRScopeServices.so \ system/vendor/lib/libseppr_hal.so \ system/vendor/lib/libsrv_um.so \ system/vendor/lib/libufwriter.so \ system/vendor/lib/libusc.so \ " ;; widevine) TO_EXTRACT="\ system/etc/permissions/com.google.widevine.software.drm.xml \ system/framework/com.google.widevine.software.drm.jar \ system/lib/arm/libdrmframework.so \ system/vendor/lib/drm/libdrmwvmplugin.so \ system/vendor/lib/libdrmdecrypt.so \ system/vendor/lib/liboemcrypto.so \ system/vendor/lib/libwvdrm_L1.so \ system/vendor/lib/libwvm.so \ system/vendor/lib/libWVStreamControlAPI_L1.so \ system/vendor/lib/mediadrm/libwvdrmengine.so \ " ;;