mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-25 15:39:26 -05:00
Revert past two commits
Disabling extended sizes classes does not appear to have the savings it does on desktop. Disabling the quarantine isn't acceptable given that default scudo implements it
This commit is contained in:
parent
005ef7882a
commit
0d8ab187e3
@ -23,12 +23,6 @@ source "$DOS_SCRIPTS_COMMON/Shell.sh";
|
|||||||
|
|
||||||
echo "Optimizing...";
|
echo "Optimizing...";
|
||||||
|
|
||||||
if [ "$DOS_GRAPHENE_MALLOC_MEMORY_EFFICIENT" = true ]; then
|
|
||||||
if enter "external/hardened_malloc"; then
|
|
||||||
sed -i 's/CONFIG_EXTENDED_SIZE_CLASSES=true/CONFIG_EXTENDED_SIZE_CLASSES=false/' Android.bp;
|
|
||||||
fi;
|
|
||||||
fi;
|
|
||||||
|
|
||||||
if enter "frameworks/base"; then
|
if enter "frameworks/base"; then
|
||||||
sed -i 's/ScaleSetting = 1.0f;/ScaleSetting = 0.5f;/' services/java/com/android/server/wm/WindowManagerService.java &>/dev/null || true;
|
sed -i 's/ScaleSetting = 1.0f;/ScaleSetting = 0.5f;/' services/java/com/android/server/wm/WindowManagerService.java &>/dev/null || true;
|
||||||
sed -i 's/AnimationScale = 1.0f;/AnimationScale = 0.5f;/' services/java/com/android/server/wm/WindowManagerService.java &>/dev/null || true;
|
sed -i 's/AnimationScale = 1.0f;/AnimationScale = 0.5f;/' services/java/com/android/server/wm/WindowManagerService.java &>/dev/null || true;
|
||||||
|
@ -61,7 +61,6 @@ export DOS_GPS_GLONASS_FORCED=false; #Enables GLONASS on all devices
|
|||||||
export DOS_GRAPHENE_BIONIC=true; #Enables the bionic hardening patchset on 16.0+17.1+18.1+19.1
|
export DOS_GRAPHENE_BIONIC=true; #Enables the bionic hardening patchset on 16.0+17.1+18.1+19.1
|
||||||
export DOS_GRAPHENE_CONSTIFY=true; #Enables 'Constify JNINativeMethod tables' patchset on 16.0+17.1+18.1+19.1
|
export DOS_GRAPHENE_CONSTIFY=true; #Enables 'Constify JNINativeMethod tables' patchset on 16.0+17.1+18.1+19.1
|
||||||
export DOS_GRAPHENE_MALLOC=true; #Enables use of GrapheneOS' hardened memory allocator on 64-bit platforms on 16.0+17.1+18.1+19.1
|
export DOS_GRAPHENE_MALLOC=true; #Enables use of GrapheneOS' hardened memory allocator on 64-bit platforms on 16.0+17.1+18.1+19.1
|
||||||
export DOS_GRAPHENE_MALLOC_MEMORY_EFFICIENT=true; #Disables slab quarantines and raises the guard slab interval from 1 to 8 to reduce memory usage at cost of reduced hardening
|
|
||||||
export DOS_GRAPHENE_EXEC=true; #Enables use of GrapheneOS' exec spawning feature on 16.0+17.1+18.1+19.1
|
export DOS_GRAPHENE_EXEC=true; #Enables use of GrapheneOS' exec spawning feature on 16.0+17.1+18.1+19.1
|
||||||
export DOS_HOSTS_BLOCKING=true; #Set false to prevent inclusion of a HOSTS file
|
export DOS_HOSTS_BLOCKING=true; #Set false to prevent inclusion of a HOSTS file
|
||||||
export DOS_HOSTS_BLOCKING_LIST="https://divested.dev/hosts-wildcards"; #Must be in the format "127.0.0.1 bad.domain.tld"
|
export DOS_HOSTS_BLOCKING_LIST="https://divested.dev/hosts-wildcards"; #Must be in the format "127.0.0.1 bad.domain.tld"
|
||||||
|
Loading…
Reference in New Issue
Block a user