mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-25 15:39:26 -05:00
Potential fix for phone call audio on shamu and others
This commit is contained in:
parent
900183743d
commit
b2b9eb7ffc
@ -1,4 +1,4 @@
|
||||
From 95dc082ad7556e88bc10fc48cb19364fce1ae9ae Mon Sep 17 00:00:00 2001
|
||||
From 7c118662b8ea517145b30c2805fccb47698b3390 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Micay <danielmicay@gmail.com>
|
||||
Date: Thu, 13 Dec 2018 09:26:25 -0500
|
||||
Subject: [PATCH] increase max_map_count for hardened malloc
|
||||
@ -8,15 +8,18 @@ Subject: [PATCH] increase max_map_count for hardened malloc
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/rootdir/init.rc b/rootdir/init.rc
|
||||
index 0fa9febdd3c..c38761021b6 100644
|
||||
index c80acdf51..21075a552 100644
|
||||
--- a/rootdir/init.rc
|
||||
+++ b/rootdir/init.rc
|
||||
@@ -671,6 +671,8 @@ on boot
|
||||
@@ -686,6 +686,8 @@ on boot
|
||||
chown root system /sys/block/zram0/writeback
|
||||
chmod 0664 /sys/block/zram0/writeback
|
||||
|
||||
+ write /proc/sys/vm/max_map_count 524240
|
||||
+
|
||||
# Tweak background writeout
|
||||
write /proc/sys/vm/dirty_expire_centisecs 200
|
||||
write /proc/sys/vm/dirty_background_ratio 5
|
||||
# F2FS tuning. Set cp_interval larger than dirty_expire_centisecs, 30 secs,
|
||||
# to avoid power consumption when system becomes mostly idle. Be careful
|
||||
# to make it too large, since it may bring userdata loss, if they
|
||||
--
|
||||
2.26.2
|
||||
|
||||
|
@ -327,7 +327,8 @@ echo "Deblobbing..."
|
||||
#blobs=$blobs"|dbvc_atvc_property_set";
|
||||
blobs=$blobs"|com.motorola.motosignature.jar|com.motorola.motosignature.xml|MotoSignatureApp.apk";
|
||||
blobs=$blobs"|TriggerEnroll.apk|TriggerTrainingService.apk|com.motorola.triggerenroll.xml";
|
||||
blobs=$blobs"|audio.motvr.default.so|libmotaudioutils.so";
|
||||
blobs=$blobs"|audio.motvr.default.so";
|
||||
#blobs=$blobs"|libmotaudioutils.so"; #breaks phone call audio
|
||||
blobs=$blobs"|libcce-socketjni.so|libmotocare.so";
|
||||
#blobs=$blobs"|qmi_motext_hook|libmdmcutback.so|libqmimotext.so|libmotext_inf.so"; #necessary for radio
|
||||
makes=$makes"|com.motorola.cameraone.xml";
|
||||
|
Loading…
Reference in New Issue
Block a user