aboutsummaryrefslogtreecommitdiff
path: root/releasetools/init.asus.sh
diff options
context:
space:
mode:
Diffstat (limited to 'releasetools/init.asus.sh')
-rw-r--r--releasetools/init.asus.sh47
1 files changed, 0 insertions, 47 deletions
diff --git a/releasetools/init.asus.sh b/releasetools/init.asus.sh
deleted file mode 100644
index abdf812..0000000
--- a/releasetools/init.asus.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/sbin/sh
-
-cpu_id_file=/sys/devices/soc0/soc_id
-cpu_id=`cat /sys/devices/soc0/soc_id`
-
-# OpenGLES AEP is supported only by msm8939
-# Remove it for the other targets
-if [ -f "$cpu_id_file" ]; then
- case "$cpu_id" in
- "239" | "241" | "263" | "268" | "269" | "270" | "271")
- # Stub
- ;;
- *)
- rm -f /system/etc/permissions/android.hardware.opengles.aep.xml
- ;;
- esac
-fi
-
-# We support 3 different devices with this repository
-# Let's replace /system/etc/mixer_paths_mtp.xml with correct config
-APID=`cat /proc/apid`
-if [ $APID -eq "1" ]; then
- mv /system/etc/mixer_paths_mtp_ZE600KL.xml /system/etc/mixer_paths_mtp.xml
- rm -f /system/etc/mixer_paths_mtp_ZD551KL.xml
-elif [ $APID -eq "3" ]; then
- mv /system/etc/mixer_paths_mtp_ZD551KL.xml /system/etc/mixer_paths_mtp.xml
- rm -f /system/etc/mixer_paths_mtp_ZE600KL.xml
-else
- rm -f /system/etc/mixer_paths_mtp_ZD551KL.xml
- rm -f /system/etc/mixer_paths_mtp_ZE600KL.xml
-fi
-
-# Use proper media_codecs by SOC
-if [ -f "$cpu_id_file" ]; then
- case "$cpu_id" in
- "239" | "241" | "263" | "268" | "269" | "270" | "271")
- mv /system/etc/media_codecs_8939.xml /system/etc/media_codecs.xml
- mv /system/etc/media_codecs_performance_8939.xml /system/etc/media_codecs_performance.xml
- ;;
- *)
- rm -f /system/etc/media_codecs_8939.xml
- rm -f /system/etc/media_codecs_performance_8939.xml
- ;;
- esac
-fi
-
-exit 0