Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54 Bug: 167996145 Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
This commit is contained in:
parent
0ef3a89b93
commit
c2b5ca99e3
308 changed files with 26964 additions and 0 deletions
17
init.ramoops.sh
Executable file
17
init.ramoops.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue