mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Revert "Try to fixup cell service on crackling"
didn't work
This reverts commit 43e55668fd
.
This commit is contained in:
parent
0f127cfcc8
commit
aa0ab3c1ba
@ -1,29 +0,0 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Tad <tad@spotco.us>
|
||||
Date: Fri, 18 Aug 2023 11:22:58 -0400
|
||||
Subject: [PATCH] Add workaround for netmgrd
|
||||
|
||||
Signed-off-by: Tad <tad@spotco.us>
|
||||
Change-Id: Id889f2a24e534bc3fa42f59726ade7ba615090a5
|
||||
---
|
||||
h_malloc.c | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/h_malloc.c b/h_malloc.c
|
||||
index f680fa6..2cbb22e 100644
|
||||
--- a/h_malloc.c
|
||||
+++ b/h_malloc.c
|
||||
@@ -1070,6 +1070,13 @@ COLD static void handle_bugs(void) {
|
||||
if (strcmp(audio_service, path) == 0) {
|
||||
ro.slot_randomize = false;
|
||||
}
|
||||
+
|
||||
+ // Qualcomm network manager daemon incompatibility
|
||||
+ if (strstr(path, "netmgrd") != NULL && (strncmp("/system", path, 7) == 0 || strncmp("/vendor", path, 7) == 0)) {
|
||||
+ ro.zero_on_free = false;
|
||||
+ ro.purge_slabs = false;
|
||||
+ ro.region_quarantine_protect = false;
|
||||
+ }
|
||||
}
|
||||
|
||||
COLD static void init_slow_path(void) {
|
@ -132,7 +132,6 @@ fi;
|
||||
if [ "$DOS_GRAPHENE_MALLOC" = true ]; then
|
||||
if enterAndClear "external/hardened_malloc"; then
|
||||
applyPatch "$DOS_PATCHES/android_external_hardened_malloc/0001-Broken_Cameras.patch"; #Expand workaround to all camera executables (DivestOS)
|
||||
applyPatch "$DOS_PATCHES/android_external_hardened_malloc/0002-Broken_netmgrd.patch"; #Add workaround for netmgrd (DivestOS)
|
||||
fi;
|
||||
fi;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user