Ai
2 Star 0 Fork 0

mirrors_android_source/sunfish

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
init.ramoops.sh 418 Bytes
一键复制 编辑 原始数据 按行查看 历史
achigoliu 提交于 2020-01-15 21:34 +08:00 . s5: Add ramoops shell script to vendor
#!/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...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_android_source/sunfish.git
git@gitee.com:mirrors_android_source/sunfish.git
mirrors_android_source
sunfish
sunfish
main

搜索帮助