zenfone7: Import proprietary files from sm8250-common
Change-Id: I24a2e48a4c4b0a4c3476cb4404c82f14136ba93e
diff --git a/extract-files.sh b/extract-files.sh
index 9dd14df..c736f98 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -18,11 +18,48 @@
set -e
-# Required!
-export DEVICE=zenfone7
-export DEVICE_COMMON=sm8250-common
-export VENDOR=asus
+DEVICE=zenfone7
+VENDOR=asus
-export DEVICE_BRINGUP_YEAR=2020
+# Load extractutils and do some sanity checks
+MY_DIR="${BASH_SOURCE%/*}"
+if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
-"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
+CM_ROOT="$MY_DIR"/../../..
+
+HELPER="$CM_ROOT"/vendor/omni/build/tools/extract_utils.sh
+if [ ! -f "$HELPER" ]; then
+ echo "Unable to find helper script at $HELPER"
+ exit 1
+fi
+. "$HELPER"
+
+# Default to sanitizing the vendor folder before extraction
+CLEAN_VENDOR=true
+
+while [ "$1" != "" ]; do
+ case $1 in
+ -p | --path ) shift
+ SRC=$1
+ ;;
+ -s | --section ) shift
+ SECTION=$1
+ CLEAN_VENDOR=false
+ ;;
+ -n | --no-cleanup ) CLEAN_VENDOR=false
+ ;;
+ esac
+ shift
+done
+
+if [ -z "$SRC" ]; then
+ SRC=adb
+fi
+
+# Initialize the helper
+setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT" false "$CLEAN_VENDOR"
+
+extract "$MY_DIR"/proprietary-files-product.txt "$SRC" "$SECTION"
+extract "$MY_DIR"/proprietary-files.txt "$SRC" "$SECTION"
+
+"$MY_DIR"/setup-makefiles.sh
diff --git a/proprietary-files-product.txt b/proprietary-files-product.txt
new file mode 100644
index 0000000..b531184
--- /dev/null
+++ b/proprietary-files-product.txt
@@ -0,0 +1,137 @@
+# Alarm
+-product/app/PowerOffAlarm/PowerOffAlarm.apk
+-system_ext/framework/vendor.qti.hardware.alarm-V1.0-java.jar
+system_ext/lib64/vendor.qti.hardware.alarm@1.0.so
+
+# Bluetooth
+system_ext/lib64/vendor.qti.hardware.audiohalext@1.0.so
+
+# Camera
+system_ext/lib64/libQSEEComAPI_system.so
+system_ext/lib64/vendor.qti.hardware.scve.objecttracker@1.0-adapter-helper.so
+system_ext/lib64/vendor.qti.hardware.scve.objecttracker@1.0.so
+system_ext/lib64/vendor.qti.hardware.scve.panorama@1.0-adapter-helper.so
+system_ext/lib64/vendor.qti.hardware.scve.panorama@1.0.so
+
+# QTI Telephony
+-system_ext/app/datastatusnotification/datastatusnotification.apk
+-system_ext/app/DynamicDDSService/DynamicDDSService.apk
+-system_ext/app/uimgbaservice/uimgbaservice.apk
+system_ext/etc/permissions/embms.xml
+system_ext/etc/permissions/embms-noship_product_privapp_permissions_qti.xml
+system_ext/etc/permissions/UimGba.xml
+system_ext/etc/permissions/UimGbaManager.xml
+-system_ext/framework/embmslibrary.jar
+-system_ext/framework/uimgbalibrary.jar
+-system_ext/framework/uimgbamanagerlibrary.jar
+# ROG 5
+-system_ext/framework/qti-telephony-common.jar|07B2B91F5D547C5B5E0752F0F5534321BC93A2C1
+-system_ext/framework/vendor.qti.hardware.data.connection-V1.0-java.jar
+-system_ext/framework/vendor.qti.hardware.data.connection-V1.1-java.jar
+-system_ext/framework/vendor.qti.hardware.data.dynamicdds-V1.0-java.jar
+-system_ext/framework/vendor.qti.data.factory-V1.0-java.jar
+-system_ext/framework/vendor.qti.data.factory-V2.0-java.jar
+-system_ext/framework/vendor.qti.data.factory-V2.1-java.jar
+-system_ext/framework/vendor.qti.data.slm-V1.0-java.jar
+-system_ext/framework/vendor.qti.hardware.data.latency-V1.0-java.jar
+-system_ext/framework/vendor.qti.hardware.data.qmi-V1.0-java.jar
+-system_ext/framework/vendor.qti.latency-V2.0-java.jar
+-system_ext/framework/vendor.qti.voiceprint-V1.0-java.jar
+system_ext/lib64/vendor.qti.hardware.data.connection@1.0.so
+system_ext/lib64/vendor.qti.hardware.data.connection@1.1.so
+system_ext/lib64/vendor.qti.hardware.data.dynamicdds@1.0.so
+system_ext/lib64/vendor.qti.data.factory@1.0.so
+system_ext/lib64/vendor.qti.data.factory@2.0.so
+system_ext/lib64/vendor.qti.data.factory@2.1.so
+system_ext/lib64/vendor.qti.hardware.data.latency@1.0.so
+system_ext/lib64/vendor.qti.hardware.radio.qtiradio@1.0.so
+system_ext/lib64/vendor.qti.hardware.radio.qtiradio@2.0.so
+system_ext/lib64/vendor.qti.hardware.radio.qtiradio@2.1.so
+system_ext/lib64/vendor.qti.hardware.radio.qtiradio@2.2.so
+system_ext/lib64/vendor.qti.hardware.radio.qtiradio@2.3.so
+system_ext/lib64/vendor.qti.hardware.radio.qtiradio@2.4.so
+system_ext/lib64/vendor.qti.hardware.radio.uim@1.0.so
+system_ext/lib64/vendor.qti.hardware.radio.uim@1.1.so
+system_ext/lib64/vendor.qti.hardware.radio.uim@1.2.so
+system_ext/lib64/vendor.qti.hardware.radio.uim_remote_client@1.0.so
+system_ext/lib64/vendor.qti.hardware.radio.uim_remote_client@1.1.so
+system_ext/lib64/vendor.qti.hardware.radio.uim_remote_client@1.2.so
+system_ext/lib64/vendor.qti.hardware.radio.uim_remote_server@1.0.so
+system_ext/lib64/vendor.qti.latency@2.0.so
+system_ext/lib64/vendor.qti.voiceprint@1.0.so
+
+# IMS
+-system_ext/priv-app/ims/ims.apk
+system_ext/lib64/libdiag_system.so
+-system_ext/framework/com.qualcomm.qti.imscmservice-V2.0-java.jar
+-system_ext/framework/com.qualcomm.qti.imscmservice-V2.1-java.jar
+-system_ext/framework/com.qualcomm.qti.imscmservice-V2.2-java.jar
+-system_ext/framework/com.qualcomm.qti.uceservice-V2.0-java.jar
+-system_ext/framework/com.qualcomm.qti.uceservice-V2.1-java.jar
+-system_ext/framework/com.qualcomm.qti.uceservice-V2.2-java.jar
+-system_ext/framework/uimservicelibrary.jar
+-system_ext/framework/vendor.qti.ims.callcapability-V1.0-java.jar
+-system_ext/framework/vendor.qti.ims.callinfo-V1.0-java.jar
+-system_ext/framework/vendor.qti.ims.factory-V1.0-java.jar
+-system_ext/framework/vendor.qti.ims.factory-V1.1-java.jar
+-system_ext/framework/vendor.qti.ims.rcsconfig-V1.0-java.jar
+-system_ext/framework/vendor.qti.ims.rcsconfig-V1.1-java.jar
+-system_ext/framework/vendor.qti.ims.rcsconfig-V2.0-java.jar
+-system_ext/framework/vendor.qti.ims.rcsconfig-V2.1-java.jar
+system_ext/etc/permissions/UimService.xml
+system_ext/etc/permissions/com.qualcomm.qti.imscmservice-V2.0-java.xml
+system_ext/etc/permissions/com.qualcomm.qti.imscmservice-V2.1-java.xml
+system_ext/etc/permissions/com.qualcomm.qti.imscmservice-V2.2-java.xml
+system_ext/lib64/com.qualcomm.qti.imscmservice@1.0.so
+system_ext/lib64/com.qualcomm.qti.imscmservice@2.0.so
+system_ext/lib64/com.qualcomm.qti.imscmservice@2.1.so
+system_ext/lib64/com.qualcomm.qti.imscmservice@2.2.so
+system_ext/lib64/com.qualcomm.qti.uceservice@2.0.so
+system_ext/lib64/com.qualcomm.qti.uceservice@2.1.so
+system_ext/lib64/com.qualcomm.qti.uceservice@2.2.so
+system_ext/lib64/libimscamera_jni.so
+system_ext/lib64/libimsmedia_jni.so
+system_ext/lib64/lib-imsvideocodec.so
+system_ext/lib64/lib-imsvtextutils.so
+system_ext/lib64/lib-imsvt.so
+system_ext/lib64/lib-imsvtutils.so
+system_ext/lib64/libseccam.so
+system_ext/lib64/vendor.qti.diaghal@1.0.so
+system_ext/lib64/vendor.qti.hardware.radio.am@1.0.so
+system_ext/lib64/vendor.qti.hardware.radio.ims@1.0.so
+system_ext/lib64/vendor.qti.hardware.radio.ims@1.1.so
+system_ext/lib64/vendor.qti.hardware.radio.ims@1.2.so
+system_ext/lib64/vendor.qti.hardware.radio.ims@1.3.so
+system_ext/lib64/vendor.qti.hardware.radio.ims@1.4.so
+system_ext/lib64/vendor.qti.hardware.radio.ims@1.5.so
+system_ext/lib64/vendor.qti.hardware.radio.ims@1.6.so
+system_ext/lib64/vendor.qti.hardware.radio.lpa@1.0.so
+system_ext/lib64/vendor.qti.hardware.radio.qcrilhook@1.0.so
+system_ext/lib64/vendor.qti.ims.callcapability@1.0.so
+system_ext/lib64/vendor.qti.ims.callinfo@1.0.so
+system_ext/lib64/vendor.qti.ims.factory@1.0.so
+system_ext/lib64/vendor.qti.ims.factory@1.1.so
+system_ext/lib64/vendor.qti.ims.rcsconfig@1.0.so
+system_ext/lib64/vendor.qti.ims.rcsconfig@1.1.so
+system_ext/lib64/vendor.qti.ims.rcsconfig@2.0.so
+system_ext/lib64/vendor.qti.ims.rcsconfig@2.1.so
+system_ext/lib64/vendor.qti.imsrtpservice@3.0.so
+
+# IOP
+system_ext/lib64/vendor.qti.hardware.iop@2.0.so
+system_ext/lib64/vendor.qti.hardware.perf@2.0.so
+
+system_ext/lib64/vendor.qti.hardware.qteeconnector@1.0.so
+
+# Secure
+-system_ext/app/com.qualcomm.qti.services.secureui/com.qualcomm.qti.services.secureui.apk
+system_ext/lib64/libsecureuisvc_jni.so
+system_ext/lib64/libsecureui_svcsock_system.so
+system_ext/lib64/vendor.qti.hardware.tui_comm@1.0.so
+system_ext/lib64/libcryptfs_hw.so
+
+# System Helper
+-system_ext/app/com.qualcomm.qti.services.systemhelper/com.qualcomm.qti.services.systemhelper.apk
+system_ext/lib64/vendor.qti.hardware.embmssl@1.0.so
+system_ext/lib64/vendor.qti.hardware.embmssl@1.0-adapter-helper.so
+system_ext/lib64/libsystemhelper_jni.so
diff --git a/proprietary-files.txt b/proprietary-files.txt
index fd334ba..44061cf 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -1,3 +1,19 @@
+# ANT+
+-system_ext/app/AntHalService-Soong/AntHalService-Soong.apk
+system_ext/lib64/com.qualcomm.qti.ant@1.0.so
+
+# Audio
+system_ext/etc/cdma_call_conf.xml
+system_ext/lib64/libadsprpc_system.so
+system_ext/lib64/libcdsprpc_system.so
+system_ext/lib64/libmdsprpc_system.so
+system_ext/lib64/libsdsprpc_system.so
+
+# Bluetooth
+-app/aptxals/aptxals.apk
+system_ext/etc/permissions/audiosphere.xml
+-system_ext/framework/audiosphere.jar
+
# Camera
lib64/DataSet/arch/DIT_List.cfg
lib64/DataSet/ditSCidGen/msgchk.db
@@ -10,6 +26,27 @@
lib64/libxditk_ditBSP.so
lib64/libxditk_ditBSP_JNI.so
+# CNE
+-system_ext/framework/com.quicinc.cne.api-V1.0-java.jar
+-system_ext/framework/com.quicinc.cne.api-V1.1-java.jar
+-system_ext/framework/com.quicinc.cne.constants-V1.0-java.jar
+-system_ext/framework/com.quicinc.cne.constants-V2.0-java.jar
+-system_ext/framework/com.quicinc.cne.constants-V2.1-java.jar
+-system_ext/framework/vendor.qti.hardware.data.cne.internal.api-V1.0-java.jar
+-system_ext/framework/vendor.qti.hardware.data.cne.internal.constants-V1.0-java.jar
+system_ext/lib64/com.quicinc.cne.api@1.0.so
+system_ext/lib64/com.quicinc.cne.api@1.1.so
+system_ext/lib64/com.quicinc.cne.constants@1.0.so
+system_ext/lib64/com.quicinc.cne.constants@2.0.so
+system_ext/lib64/com.quicinc.cne.constants@2.1.so
+system_ext/lib64/vendor.qti.hardware.data.cne.internal.api@1.0.so
+system_ext/lib64/vendor.qti.hardware.data.cne.internal.constants@1.0.so
+system_ext/lib64/vendor.qti.hardware.data.cne.internal.server@1.0.so
+
+# Device
+-system_ext/app/DeviceInfo/DeviceInfo.apk
+-system_ext/app/DeviceStatisticsService/DeviceStatisticsService.apk
+
# Display
product/etc/permissions/com.qti.snapdragon.sdk.display.xml
-product/framework/com.qti.snapdragon.sdk.display.jar
@@ -23,6 +60,54 @@
system_ext/lib64/vendor.display.postproc@1.0.so
system_ext/lib64/vendor.qti.hardware.qdutils_disp@1.0.so
+# DPM
+-framework/tcmclient.jar
+system_ext/bin/dpmd
+system_ext/etc/dpm/dpm.conf
+system_ext/etc/init/dpmd.rc
+system_ext/etc/permissions/com.qti.dpmframework.xml
+system_ext/etc/permissions/dpmapi.xml
+-system_ext/framework/com.qti.dpmframework.jar
+-system_ext/framework/dpmapi.jar
+system_ext/lib64/com.qualcomm.qti.dpm.api@1.0.so
+system_ext/lib64/libdpmctmgr.so
+system_ext/lib64/libdpmfdmgr.so
+system_ext/lib64/libdpmframework.so
+system_ext/lib64/libdpmtcm.so
+-system_ext/priv-app/dpmserviceapp/dpmserviceapp.apk
+
+# GPS
+system_ext/etc/permissions/com.qti.location.sdk.xml
+system_ext/etc/permissions/com.qualcomm.location.xml
+system_ext/etc/permissions/izat.xt.srv.xml
+system_ext/etc/permissions/privapp-permissions-com.qualcomm.location.xml
+system_ext/etc/permissions/com.qualcomm.qti.izattools.xml
+-system_ext/framework/com.qti.location.sdk.jar
+-system_ext/framework/izat.xt.srv.jar
+-system_ext/priv-app/com.qualcomm.location/com.qualcomm.location.apk
+system_ext/lib64/vendor.qti.gnss@1.0.so
+system_ext/lib64/vendor.qti.gnss@1.1.so
+system_ext/lib64/vendor.qti.gnss@1.2.so
+system_ext/lib64/vendor.qti.gnss@2.0.so
+system_ext/lib64/vendor.qti.gnss@2.1.so
+system_ext/lib64/vendor.qti.gnss@3.0.so
+system_ext/lib64/vendor.qti.gnss@4.0.so
+
+# HotwordEnrollment
+-product/priv-app/HotwordEnrollmentOKGoogleHEXAGON/HotwordEnrollmentOKGoogleHEXAGON.apk;PRESIGNED
+-product/priv-app/HotwordEnrollmentXGoogleHEXAGON/HotwordEnrollmentXGoogleHEXAGON.apk;PRESIGNED
+system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
+-system_ext/framework/com.android.hotwordenrollment.common.util.jar
+
+# MirarCast
+system_ext/bin/sigma_miracasthalservice
+system_ext/etc/init/com.qualcomm.qti.sigma_miracast@1.0-service.rc
+system_ext/lib64/libmiracastsystem.so
+system_ext/lib64/vendor.qti.hardware.sigma_miracast@1.0-halimpl.so
+system_ext/lib64/hw/vendor.qti.hardware.sigma_miracast@1.0-impl.so
+system_ext/lib/vendor.qti.hardware.sigma_miracast@1.0.so
+system_ext/lib64/vendor.qti.hardware.sigma_miracast@1.0.so
+
# Motor
etc/permissions/asus.hardware.motor.latch_lock.xml
-priv-app/MotorService/MotorService.apk
@@ -35,3 +120,104 @@
# Power
-framework/QPerformance.jar
-framework/UxPerformance.jar
+
+# QVR
+system_ext/bin/qvrservice
+system_ext/etc/init/qvrd_ext.rc
+system_ext/etc/seccomp_policy/qvr@2.0.policy
+system_ext/etc/qvr/qvr_hid_device_list.txt
+system_ext/etc/qvr/qvrservice_config.txt
+system_ext/etc/qvr/cfg/339/0/65536/mtp855.txt
+system_ext/etc/qvr/cfg/339/0/65536/mtp855_6dof_config.xml
+system_ext/etc/qvr/cfg/341/2/65536/svr845.txt
+system_ext/etc/qvr/cfg/356/0/65536/mtp865.txt
+system_ext/etc/qvr/cfg/356/0/65536/mtp865_6dof_config.xml
+system_ext/etc/qvr/cfg/356/1/131072/morpheus.txt
+system_ext/etc/qvr/cfg/356/1/131072/morpheus_6dof_config.xml
+system_ext/etc/qvr/cfg/356/1/65536/trinity.txt
+system_ext/etc/qvr/cfg/356/1/65536/trinity_6dof_config.xml
+system_ext/etc/qvr/cfg/415/0/65536/mtplahaina.txt
+system_ext/etc/qvr/cfg/415/0/65536/mtplahaina_6dof_config.xml
+system_ext/lib/libqvrcamera_client.qti.so
+system_ext/lib/libqvrservice.so
+system_ext/lib/libScenescape.so
+system_ext/lib/rfsa/adsp/libdsp_streamer_qvrcam_receiver.so
+system_ext/lib/rfsa/adsp/libeye_tracking_dsp_sample_skel.so
+system_ext/lib/rfsa/adsp/libqvr_cam_dsp_driver_skel.so
+system_ext/lib/rfsa/adsp/libtracker_6dof_skel_8150.so
+system_ext/lib/rfsa/adsp/libtracker_6dof_skel_8250.so
+system_ext/lib/libqvr_cam_cdsp_driver_stub.so
+system_ext/lib/libqvr_eyetracking_plugin.so
+system_ext/lib/libqvr_cdsp_driver_stub.so
+system_ext/lib64/libqvrcamera_client.qti.so
+system_ext/lib64/libqvrservice_client.qti.so
+system_ext/lib64/libqvrservice_ov7251_hvx_tuning.so
+system_ext/lib64/libqvrservice_ov9282_hvx_tuning.so
+system_ext/lib64/libqvrservice_v4l_ov7251_hvx_tuning.so
+
+# Telephony
+product/etc/permissions/telephony_product_privapp-permissions-qti.xml
+system_ext/etc/permissions/qti_libpermissions.xml
+system_ext/etc/permissions/qti_permissions.xml
+system_ext/etc/sysconfig/qti_whitelist_system_ext.xml
+system_ext/etc/permissions/qcrilhook.xml
+system_ext/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml
+system_ext/etc/permissions/telephonyservice.xml
+-system_ext/framework/qcrilhook.jar
+-system_ext/app/QtiTelephonyService/QtiTelephonyService.apk
+-system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
+
+# Wfd
+-framework/WfdCommon.jar
+system_ext/bin/wfdservice
+system_ext/etc/init/wfdservice.rc
+system_ext/etc/wfdconfigsink.xml
+system_ext/etc/permissions/wfd-system-ext-privapp-permissions-qti.xml
+system_ext/etc/seccomp_policy/wfdservice.policy
+-system_ext/priv-app/WfdService/WfdService.apk
+system_ext/lib/com.qualcomm.qti.wifidisplayhal@1.0.so
+system_ext/lib/libmmosal.so
+system_ext/lib/libmmparser_lite.so
+system_ext/lib/libmmrtpdecoder.so
+system_ext/lib/libmmrtpencoder.so
+system_ext/lib/libwfdaac.so
+system_ext/lib/libwfdavenhancements.so
+system_ext/lib/libwfdclient.so
+system_ext/lib/libwfdcommonutils.so
+system_ext/lib/libwfdconfigutils.so
+system_ext/lib/libwfddisplayconfig.so
+system_ext/lib/libwfdmminterface.so
+system_ext/lib/libwfdmmsink.so
+system_ext/lib/libwfdmmsrc_system.so
+system_ext/lib/libwfdrtsp.so
+system_ext/lib/libwfdservice.so
+system_ext/lib/libwfdsinksm.so
+system_ext/lib/libwfduibcinterface.so
+system_ext/lib/libwfduibcsink.so
+system_ext/lib/libwfduibcsinkinterface.so
+system_ext/lib/libwfduibcsrc.so
+system_ext/lib/libwfduibcsrcinterface.so
+system_ext/lib/vendor.qti.hardware.wifidisplaysession@1.0.so
+system_ext/lib64/libmmosal.so
+system_ext/lib64/libmmparser_lite.so
+system_ext/lib64/libmmrtpdecoder.so
+system_ext/lib64/libmmrtpencoder.so
+system_ext/lib64/libwfdclient.so
+system_ext/lib64/libwfdcommonutils.so
+system_ext/lib64/libwfdconfigutils.so
+system_ext/lib64/libwfddisplayconfig.so
+system_ext/lib64/libwfdmminterface.so
+system_ext/lib64/libwfdmmsink.so
+system_ext/lib64/libwfdnative.so
+system_ext/lib64/libwfdrtsp.so
+system_ext/lib64/libwfdsinksm.so
+system_ext/lib64/libwfduibcinterface.so
+system_ext/lib64/libwfduibcsinkinterface.so
+system_ext/lib64/libwfduibcsink.so
+system_ext/lib64/libwfduibcsrc.so
+system_ext/lib64/libwfduibcsrcinterface.so
+system_ext/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so
+
+# Wlan
+-system_ext/framework/vendor.qti.hardware.data.iwlan-V1.0-java.jar
+system_ext/lib64/vendor.qti.hardware.data.iwlan@1.0.so
\ No newline at end of file
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index b94340e..ab48440 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -20,10 +20,39 @@
set -e
# Required!
-export DEVICE=zenfone7
-export DEVICE_COMMON=sm8250-common
-export VENDOR=asus
+DEVICE=zenfone7
+VENDOR=asus
-export DEVICE_BRINGUP_YEAR=2020
+INITIAL_COPYRIGHT_YEAR=2020
-"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
\ No newline at end of file
+# Load extractutils and do some sanity checks
+MY_DIR="${BASH_SOURCE%/*}"
+if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
+
+CM_ROOT="$MY_DIR"/../../..
+
+HELPER="$CM_ROOT"/vendor/omni/build/tools/extract_utils.sh
+if [ ! -f "$HELPER" ]; then
+ echo "Unable to find helper script at $HELPER"
+ exit 1
+fi
+. "$HELPER"
+
+# Initialize the helper
+setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT"
+
+# Copyright headers and guards
+write_headers "zenfone7"
+
+# The standard blobs
+write_makefiles "$MY_DIR"/proprietary-files.txt
+
+write_makefiles "$MY_DIR"/proprietary-files-product.txt
+
+cat << EOF >> "$ANDROIDMK"
+
+EOF
+
+# We are done!
+write_footers
+