diff --git a/device.mk b/device.mk
index 77150e34..042fc6e5 100755
--- a/device.mk
+++ b/device.mk
@@ -572,14 +572,6 @@ PRODUCT_PACKAGES += \
com.android.media.swcodec \
libsfplugin_ccodec \
-# Codec2 files
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
- $(LOCAL_PATH)/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
- frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_audio.xml \
- frameworks/av/media/libstagefright/data/media_codecs_google_c2_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_telephony.xml \
- frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml \
-
# Codec2 switch
PRODUCT_PROPERTY_OVERRIDES += \
debug.media.codec2=2 \
diff --git a/media_codecs_c2.xml b/media_codecs_c2.xml
deleted file mode 100644
index 68393069..00000000
--- a/media_codecs_c2.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/media_codecs_performance.xml b/media_codecs_performance.xml
index d496f912..9aea48f6 100644
--- a/media_codecs_performance.xml
+++ b/media_codecs_performance.xml
@@ -17,6 +17,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -78,6 +96,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/media_codecs_performance_c2.xml b/media_codecs_performance_c2.xml
deleted file mode 100644
index 5916caa3..00000000
--- a/media_codecs_performance_c2.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-