diff --git a/device.mk b/device.mk index 74799a6d..99d00267 100644 --- a/device.mk +++ b/device.mk @@ -209,7 +209,6 @@ PRODUCT_COPY_FILES += \ # Shell scripts PRODUCT_COPY_FILES += \ device/google/gs101/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \ - device/google/gs101/init.ramoops.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ramoops.sh # insmod files PRODUCT_COPY_FILES += \ diff --git a/init.ramoops.sh b/init.ramoops.sh deleted file mode 100755 index 22146da1..00000000 --- a/init.ramoops.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/vendor/bin/sh - -# Decrypt the keys and write them to the kernel -ramoops -D - -if [ $? -eq 0 ]; then - # Pivot (and decrypt) - echo 1 > /sys/devices/virtual/ramoops/pstore/use_alt -else - setprop vendor.ramoops.decryption.error $? -fi - -# Trigger remount of pstore regardless of decryption state -setprop vendor.ramoops.decrypted true - -# Generate keys (if none exist), and load the keys to carveout -ramoops -g -l -c