rog3: rog2 --> rog3
diff --git a/extract-files.sh b/extract-files.sh
index 642f25e..242b524 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -18,48 +18,11 @@
set -e
-DEVICE=rog2
-VENDOR=asus
+# Required!
+export DEVICE=rog3
+export DEVICE_COMMON=sm8250-common
+export VENDOR=asus
-# Load extractutils and do some sanity checks
-MY_DIR="${BASH_SOURCE%/*}"
-if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
+export DEVICE_BRINGUP_YEAR=2020
-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
+"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"