Ugly hack

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2022-11-22 07:24:21 -05:00
parent fd0e3e8117
commit 680bf51e05
No known key found for this signature in database
GPG key ID: B286E9F57A07424B
2 changed files with 32 additions and 0 deletions

View file

@ -117,6 +117,7 @@ if [ "$DOS_GRAPHENE_MALLOC" = true ]; then
if enterAndClear "external/hardened_malloc"; then
applyPatch "$DOS_PATCHES/android_external_hardened_malloc/0001-Broken_Cameras-1.patch"; #Workarounds for Pixel 3 SoC era camera driver bugs (GrapheneOS)
applyPatch "$DOS_PATCHES/android_external_hardened_malloc/0001-Broken_Cameras-2.patch"; #Expand workaround to all camera executables (DivestOS)
applyPatch "$DOS_PATCHES/android_external_hardened_malloc/0002-Broken_Displays.patch"; #Add workaround for OnePlus 8 & 9 display driver crash (DivestOS)
sed -i 's/34359738368/2147483648/' Android.bp; #revert 48-bit address space requirement
fi;
fi;