mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Many changes
- Disable patches with restrictive licenses by default - Update LICENSE - Fixup the fix for F-Droid building - 15.1: Fix forceencrypt on mako - 15.1: Fix crashes when accessing factory reset and development settings menus on devices without support for factory reset protection or oem unlocking
This commit is contained in:
parent
02908a652a
commit
f122ccb9f1
16 changed files with 106 additions and 37 deletions
|
@ -96,10 +96,8 @@ export -f enableZram;
|
|||
|
||||
enableForcedEncryption() {
|
||||
cd $base$1;
|
||||
if [[ $1 != "device/lge/mako" ]]; then #Forced encryption seems to prevent some devices from booting
|
||||
sed -i 's|encryptable=/|forceencrypt=/|' fstab.* root/fstab.* rootdir/fstab.* rootdir/etc/fstab.* &>/dev/null || true;
|
||||
echo "Enabled forceencrypt for $1";
|
||||
fi;
|
||||
sed -i 's|encryptable=/|forceencrypt=/|' fstab.* root/fstab.* rootdir/fstab.* rootdir/etc/fstab.* &>/dev/null || true;
|
||||
echo "Enabled forceencrypt for $1";
|
||||
cd $base;
|
||||
}
|
||||
export -f enableForcedEncryption;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue