mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-05 16:05:02 -04:00
Fixup athene
- Disable default encryption on athene, doesn't work - Remove QC telephony extensions, causes Dialer to crash Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
e067f59555
commit
f7d0ff4af2
3 changed files with 5 additions and 2 deletions
|
@ -620,7 +620,7 @@ hardenUserdata() {
|
|||
|
||||
#TODO: Ensure: noatime,nosuid,nodev
|
||||
sed -i '/\/data/{/discard/!s|nosuid|discard,nosuid|}' *fstab* */*fstab* */*/*fstab* &>/dev/null || true;
|
||||
if [ "$1" != "device/samsung/tuna" ] && [ "$1" != "device/amazon/hdx-common" ]; then #tuna needs first boot to init, hdx-c has broken encryption
|
||||
if [ "$1" != "device/samsung/tuna" ] && [ "$1" != "device/amazon/hdx-common" ] && [ "$1" != "device/motorola/athene" ]; then #tuna needs first boot to init, hdx-c has broken encryption
|
||||
sed -i 's|encryptable=/|forceencrypt=/|' *fstab* */*fstab* */*/*fstab* &>/dev/null || true;
|
||||
fi;
|
||||
echo "Hardened /data for $1";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue