mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-28 17:09:39 -05:00
Tiny tweaks
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
939c6aa7ed
commit
dd2e8b4b5c
@ -711,7 +711,8 @@ hardenDefconfig() {
|
||||
optionsYes+=("THREAD_INFO_IN_TASK" "VMAP_STACK");
|
||||
|
||||
#Linux 4.10
|
||||
optionsYes+=("ARM64_SW_TTBR0_PAN" "BUG_ON_DATA_CORRUPTION");
|
||||
optionsYes+=("ARM64_SW_TTBR0_PAN");
|
||||
#Disabled: BUG_ON_DATA_CORRUPTION (boot issues?)
|
||||
|
||||
#Linux 4.11
|
||||
optionsYes+=("STRICT_KERNEL_RWX" "STRICT_MODULE_RWX");
|
||||
|
@ -360,6 +360,7 @@ fi;
|
||||
|
||||
if enterAndClear "device/samsung/toroplus"; then
|
||||
awk -i inplace '!/additional_system_update/' overlay/packages/apps/Settings/res/values*/*.xml;
|
||||
awk -i inplace '!/has_powercontrol_widget/' overlay/packages/apps/Settings/res/values/bools.xml; #Fix Settings crash
|
||||
fi;
|
||||
|
||||
if enterAndClear "device/samsung/tuna"; then
|
||||
@ -373,6 +374,7 @@ patch -p1 < "$DOS_PATCHES/android_device_samsung_tuna/0003-fix_denial.patch";
|
||||
patch -p1 < "$DOS_PATCHES/android_device_samsung_tuna/0004-fix_denial.patch";
|
||||
patch -p1 < "$DOS_PATCHES/android_device_samsung_tuna/0005-fix_denial.patch";
|
||||
echo "allow system_server system_file:file execmod;" >> sepolicy/system_server.te; #fix gps load
|
||||
echo "PRODUCT_PROPERTY_OVERRIDES += persist.sys.force_highendgfx=true" >> device.mk; #override low_ram to fix artifacting
|
||||
fi;
|
||||
|
||||
if enter "vendor/google"; then
|
||||
|
Loading…
Reference in New Issue
Block a user