mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-25 07:29:24 -05:00
Fix boot animation + churn
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
0e1266ac1f
commit
163a162568
@ -145,7 +145,7 @@ index 6860759eea8a..a2eef62f80be 100644
|
||||
OsConstants._LINUX_CAPABILITY_VERSION_3, 0);
|
||||
StructCapUserData[] data;
|
||||
diff --git a/core/java/com/android/internal/os/ZygoteConnection.java b/core/java/com/android/internal/os/ZygoteConnection.java
|
||||
index 993e4e7b4b3d..756547706f60 100644
|
||||
index 993e4e7b4b3d..c3e6e0453b50 100644
|
||||
--- a/core/java/com/android/internal/os/ZygoteConnection.java
|
||||
+++ b/core/java/com/android/internal/os/ZygoteConnection.java
|
||||
@@ -29,6 +29,7 @@ import android.net.Credentials;
|
||||
|
@ -78,7 +78,7 @@ index 6d4b8c5ea1ad..1f0ac0bd6520 100644
|
||||
+ public static native void nativeHandleRuntimeFlags(int runtimeFlags);
|
||||
}
|
||||
diff --git a/core/java/com/android/internal/os/ZygoteConnection.java b/core/java/com/android/internal/os/ZygoteConnection.java
|
||||
index 27518dd4cdce..a8d9400c7992 100644
|
||||
index 4573cb2c0b59..9cc90f3ac142 100644
|
||||
--- a/core/java/com/android/internal/os/ZygoteConnection.java
|
||||
+++ b/core/java/com/android/internal/os/ZygoteConnection.java
|
||||
@@ -539,7 +539,7 @@ class ZygoteConnection {
|
||||
|
@ -10,7 +10,7 @@ spawning when doing debugging.
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/core/java/com/android/internal/os/ZygoteConnection.java b/core/java/com/android/internal/os/ZygoteConnection.java
|
||||
index 756547706f60..27518dd4cdce 100644
|
||||
index c3e6e0453b50..4573cb2c0b59 100644
|
||||
--- a/core/java/com/android/internal/os/ZygoteConnection.java
|
||||
+++ b/core/java/com/android/internal/os/ZygoteConnection.java
|
||||
@@ -536,7 +536,8 @@ class ZygoteConnection {
|
||||
|
@ -1,10 +1,10 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Tad <tad@spotco.us>
|
||||
Date: Wed, 6 Apr 2022 20:15:35 -0400
|
||||
Subject: [PATCH] Merge remote-tracking branch 'qc/msm-4.9' into HEAD
|
||||
Date: Mon, 18 Apr 2022 15:51:34 -0400
|
||||
Subject: [PATCH] Merge remote-tracking branch qc/msm-4.9 into HEAD
|
||||
|
||||
Signed-off-by: Tad <tad@spotco.us>
|
||||
Change-Id: Ie4ee3fa1a2c9d22acdcb19f4d07e068ef4388513
|
||||
Change-Id: I5aa215f0a850fbeddd01e25c76946c8e290413e0
|
||||
---
|
||||
Documentation/ABI/testing/sysfs-bus-iio | 3 +-
|
||||
Documentation/DocBook/libata.tmpl | 2 +-
|
||||
@ -727,15 +727,15 @@ Change-Id: Ie4ee3fa1a2c9d22acdcb19f4d07e068ef4388513
|
||||
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 8 +-
|
||||
drivers/gpu/host1x/bus.c | 9 +
|
||||
drivers/gpu/ipu-v3/ipu-image-convert.c | 58 +-
|
||||
drivers/gpu/msm/a6xx_reg.h | 3 +-
|
||||
drivers/gpu/msm/a6xx_reg.h | 1 +
|
||||
drivers/gpu/msm/adreno.c | 10 +
|
||||
drivers/gpu/msm/adreno.h | 1 +
|
||||
drivers/gpu/msm/adreno_a6xx.c | 29 +
|
||||
drivers/gpu/msm/adreno_a6xx_preempt.c | 6 +-
|
||||
drivers/gpu/msm/adreno_a6xx_snapshot.c | 49 +-
|
||||
drivers/gpu/msm/adreno_debugfs.c | 24 +-
|
||||
drivers/gpu/msm/adreno_dispatch.c | 2 +-
|
||||
drivers/gpu/msm/adreno_ioctl.c | 7 +-
|
||||
drivers/gpu/msm/adreno_pm4types.h | 2 +-
|
||||
drivers/gpu/msm/adreno_ioctl.c | 5 +-
|
||||
drivers/gpu/msm/adreno_snapshot.c | 6 +-
|
||||
drivers/gpu/msm/kgsl.c | 18 +-
|
||||
drivers/gpu/msm/kgsl.h | 2 +
|
||||
@ -3021,7 +3021,7 @@ Change-Id: Ie4ee3fa1a2c9d22acdcb19f4d07e068ef4388513
|
||||
tools/testing/selftests/x86/syscall_nt.c | 1 +
|
||||
tools/usb/usbip/libsrc/usbip_host_common.c | 2 +-
|
||||
virt/kvm/kvm_main.c | 25 +-
|
||||
3015 files changed, 35150 insertions(+), 14778 deletions(-)
|
||||
3015 files changed, 35151 insertions(+), 14777 deletions(-)
|
||||
create mode 100644 Documentation/devicetree/bindings/input/hall_sensor.txt
|
||||
create mode 100644 Documentation/devicetree/bindings/input/misc/bma2x2.txt
|
||||
create mode 100644 Documentation/devicetree/bindings/input/misc/ltr553.txt
|
||||
@ -30505,16 +30505,10 @@ index 50b73f3876fb..098b86eb26d7 100644
|
||||
if (ret < 0) {
|
||||
dev_err(priv->ipu->dev, "could not acquire irq %d\n",
|
||||
diff --git a/drivers/gpu/msm/a6xx_reg.h b/drivers/gpu/msm/a6xx_reg.h
|
||||
index e3a664e62577..c0c0c9b39afa 100644
|
||||
index 0dc9bc1f0a99..fb0ce9a9f410 100644
|
||||
--- a/drivers/gpu/msm/a6xx_reg.h
|
||||
+++ b/drivers/gpu/msm/a6xx_reg.h
|
||||
@@ -1,4 +1,4 @@
|
||||
-/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
||||
+/* Copyright (c) 2017-2018,2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
@@ -1021,6 +1021,7 @@
|
||||
@@ -1024,6 +1024,7 @@
|
||||
/* GPUCC registers */
|
||||
#define A6XX_GPU_CC_GX_GDSCR 0x24403
|
||||
#define A6XX_GPU_CC_GX_DOMAIN_MISC 0x24542
|
||||
@ -30523,10 +30517,10 @@ index e3a664e62577..c0c0c9b39afa 100644
|
||||
/* GPU RSC sequencer registers */
|
||||
#define A6XX_RSCC_PDC_SEQ_START_ADDR 0x23408
|
||||
diff --git a/drivers/gpu/msm/adreno.c b/drivers/gpu/msm/adreno.c
|
||||
index be168688ae8d..ddb02c86d826 100644
|
||||
index 284dba3f1c5d..30424739c5e1 100644
|
||||
--- a/drivers/gpu/msm/adreno.c
|
||||
+++ b/drivers/gpu/msm/adreno.c
|
||||
@@ -2268,6 +2268,14 @@ int adreno_reset(struct kgsl_device *device, int fault)
|
||||
@@ -2271,6 +2271,14 @@ int adreno_reset(struct kgsl_device *device, int fault)
|
||||
}
|
||||
}
|
||||
if (ret) {
|
||||
@ -30541,7 +30535,7 @@ index be168688ae8d..ddb02c86d826 100644
|
||||
/* If soft reset failed/skipped, then pull the power */
|
||||
kgsl_pwrctrl_change_state(device, KGSL_STATE_INIT);
|
||||
/* since device is officially off now clear start bit */
|
||||
@@ -2281,6 +2289,8 @@ int adreno_reset(struct kgsl_device *device, int fault)
|
||||
@@ -2284,6 +2292,8 @@ int adreno_reset(struct kgsl_device *device, int fault)
|
||||
|
||||
msleep(20);
|
||||
}
|
||||
@ -30551,10 +30545,10 @@ index be168688ae8d..ddb02c86d826 100644
|
||||
if (ret)
|
||||
return ret;
|
||||
diff --git a/drivers/gpu/msm/adreno.h b/drivers/gpu/msm/adreno.h
|
||||
index 43125221826a..54386862ff00 100644
|
||||
index ea8ad562234a..d5eaebd0d8c2 100644
|
||||
--- a/drivers/gpu/msm/adreno.h
|
||||
+++ b/drivers/gpu/msm/adreno.h
|
||||
@@ -1002,6 +1002,7 @@ struct adreno_gpudev {
|
||||
@@ -1016,6 +1016,7 @@ struct adreno_gpudev {
|
||||
int (*reset)(struct kgsl_device *, int fault);
|
||||
int (*soft_reset)(struct adreno_device *);
|
||||
bool (*gx_is_on)(struct adreno_device *);
|
||||
@ -30642,6 +30636,30 @@ index 5a3a26d0083f..300361744cb4 100644
|
||||
.sptprac_is_on = a6xx_sptprac_is_on,
|
||||
.ccu_invalidate = a6xx_ccu_invalidate,
|
||||
.perfcounter_update = a6xx_perfcounter_update,
|
||||
diff --git a/drivers/gpu/msm/adreno_a6xx_preempt.c b/drivers/gpu/msm/adreno_a6xx_preempt.c
|
||||
index a5068687185e..ffae3361248f 100644
|
||||
--- a/drivers/gpu/msm/adreno_a6xx_preempt.c
|
||||
+++ b/drivers/gpu/msm/adreno_a6xx_preempt.c
|
||||
@@ -545,7 +545,8 @@ unsigned int a6xx_preemption_pre_ibsubmit(
|
||||
if (context) {
|
||||
struct adreno_context *drawctxt = ADRENO_CONTEXT(context);
|
||||
struct adreno_ringbuffer *rb = drawctxt->rb;
|
||||
- uint64_t dest = PREEMPT_SCRATCH_ADDR(adreno_dev, rb->id);
|
||||
+ uint64_t dest = adreno_dev->preempt.scratch.gpuaddr +
|
||||
+ sizeof(u64) * rb->id;
|
||||
|
||||
*cmds++ = cp_mem_packet(adreno_dev, CP_MEM_WRITE, 2, 2);
|
||||
cmds += cp_gpuaddr(adreno_dev, cmds, dest);
|
||||
@@ -578,7 +579,8 @@ unsigned int a6xx_preemption_post_ibsubmit(struct adreno_device *adreno_dev,
|
||||
struct adreno_ringbuffer *rb = adreno_dev->cur_rb;
|
||||
|
||||
if (rb) {
|
||||
- uint64_t dest = PREEMPT_SCRATCH_ADDR(adreno_dev, rb->id);
|
||||
+ uint64_t dest = adreno_dev->preempt.scratch.gpuaddr +
|
||||
+ sizeof(u64) * rb->id;
|
||||
|
||||
*cmds++ = cp_mem_packet(adreno_dev, CP_MEM_WRITE, 2, 2);
|
||||
cmds += cp_gpuaddr(adreno_dev, cmds, dest);
|
||||
diff --git a/drivers/gpu/msm/adreno_a6xx_snapshot.c b/drivers/gpu/msm/adreno_a6xx_snapshot.c
|
||||
index d3f13d4a9541..639133ae094b 100644
|
||||
--- a/drivers/gpu/msm/adreno_a6xx_snapshot.c
|
||||
@ -30809,16 +30827,10 @@ index b4bc750a9c1a..cf2c1c06c38f 100644
|
||||
if (ret)
|
||||
return ret;
|
||||
diff --git a/drivers/gpu/msm/adreno_ioctl.c b/drivers/gpu/msm/adreno_ioctl.c
|
||||
index ff9a69a29130..a5d1c0cc6f57 100644
|
||||
index 04ae62abe3b8..94a617c0e49d 100644
|
||||
--- a/drivers/gpu/msm/adreno_ioctl.c
|
||||
+++ b/drivers/gpu/msm/adreno_ioctl.c
|
||||
@@ -1,4 +1,4 @@
|
||||
-/* Copyright (c) 2002,2007-2018,2020, The Linux Foundation. All rights reserved.
|
||||
+/* Copyright (c) 2002,2007-2018,2020-2021, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
@@ -195,11 +195,8 @@ long adreno_ioctl_helper(struct kgsl_device_private *dev_priv,
|
||||
@@ -204,11 +204,8 @@ long adreno_ioctl_helper(struct kgsl_device_private *dev_priv,
|
||||
break;
|
||||
}
|
||||
|
||||
@ -30831,16 +30843,6 @@ index ff9a69a29130..a5d1c0cc6f57 100644
|
||||
|
||||
if (WARN_ON(_IOC_SIZE(cmds[i].cmd) > sizeof(data))) {
|
||||
if (__ratelimit(&_rs))
|
||||
diff --git a/drivers/gpu/msm/adreno_pm4types.h b/drivers/gpu/msm/adreno_pm4types.h
|
||||
index cf30a834546b..543496399044 100644
|
||||
--- a/drivers/gpu/msm/adreno_pm4types.h
|
||||
+++ b/drivers/gpu/msm/adreno_pm4types.h
|
||||
@@ -1,4 +1,4 @@
|
||||
-/* Copyright (c) 2002,2007-2017,2020, The Linux Foundation. All rights reserved.
|
||||
+/* Copyright (c) 2002,2007-2017,2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
diff --git a/drivers/gpu/msm/adreno_snapshot.c b/drivers/gpu/msm/adreno_snapshot.c
|
||||
index 178369171cb0..dabc443d4ece 100644
|
||||
--- a/drivers/gpu/msm/adreno_snapshot.c
|
||||
|
@ -44,7 +44,7 @@ index d6754c0932..20f0d4df5b 100644
|
||||
android:title="@string/native_debug_title"
|
||||
diff --git a/src/com/android/settings/security/ExecSpawnPreferenceController.java b/src/com/android/settings/security/ExecSpawnPreferenceController.java
|
||||
new file mode 100644
|
||||
index 0000000000..78f021210a
|
||||
index 0000000000..98cc3c29e1
|
||||
--- /dev/null
|
||||
+++ b/src/com/android/settings/security/ExecSpawnPreferenceController.java
|
||||
@@ -0,0 +1,106 @@
|
||||
|
@ -151,8 +151,7 @@ generateBootAnimationMask() {
|
||||
local text=$1;
|
||||
local font=$2
|
||||
local output=$3;
|
||||
convert -background black -fill transparent -font "$font" -gravity center -size 512x128 label:"$text" "$output";
|
||||
#optipng "$output"; #XXX: breaks boot animation on 14.1?
|
||||
convert -depth 8 -background black -fill transparent -font "$font" -gravity center -size 512x128 label:"$text" "PNG32:$output";
|
||||
}
|
||||
export -f generateBootAnimationMask;
|
||||
|
||||
@ -160,9 +159,8 @@ generateBootAnimationShine() {
|
||||
local color=$1;
|
||||
local style=$2;
|
||||
local output=$3;
|
||||
#The colors need to be symmetrical in order to make the animation smooth and not have any noticble lines
|
||||
convert -size 1024x128 -define gradient:angle=90 "$style":"$color" \( +clone -flop \) +append "$output";
|
||||
#optipng "$output";
|
||||
#The colors need to be symmetrical in order to make the animation smooth and not have any noticeable lines
|
||||
convert -depth 8 -size 1024x128 -define gradient:angle=90 "$style":"$color" \( +clone -flop \) +append "PNG24:$output";
|
||||
}
|
||||
export -f generateBootAnimationShine;
|
||||
|
||||
@ -179,7 +177,7 @@ export -f audit2allowADB;
|
||||
|
||||
processRelease() {
|
||||
#Reference (MIT): GrapheneOS
|
||||
#https://github.com/GrapheneOS/script/blob/10/release.sh
|
||||
#https://github.com/GrapheneOS/script/blob/12.1/release.sh
|
||||
local DEVICE="$1";
|
||||
local BLOCK="$2";
|
||||
local VERITY="$3";
|
||||
|
@ -417,14 +417,26 @@ enableLowRam "device/samsung/smdk4412-common";
|
||||
enableLowRam "device/samsung/toro";
|
||||
enableLowRam "device/samsung/toroplus";
|
||||
enableLowRam "device/samsung/tuna";
|
||||
enableLowRam "device/unihertz/jellypro";
|
||||
#Tweaks for <3GB RAM devices
|
||||
#enableLowRam "device/amazon/apollo";
|
||||
#enableLowRam "device/amazon/hdx-common";
|
||||
#enableLowRam "device/amazon/thor";
|
||||
#enableLowRam "device/htc/m7";
|
||||
#enableLowRam "device/htc/m7-common";
|
||||
#enableLowRam "device/htc/msm8960-common";
|
||||
#enableLowRam "device/samsung/d2att";
|
||||
#enableLowRam "device/samsung/d2-common";
|
||||
#enableLowRam "device/samsung/d2spr";
|
||||
#enableLowRam "device/samsung/d2tmo";
|
||||
#enableLowRam "device/samsung/d2vzw";
|
||||
#enableLowRam "device/samsung/i9305";
|
||||
#enableLowRam "device/samsung/kona-common";
|
||||
#enableLowRam "device/samsung/msm8960-common";
|
||||
#enableLowRam "device/samsung/n5100";
|
||||
#enableLowRam "device/samsung/n5110";
|
||||
#enableLowRam "device/samsung/n5120";
|
||||
#enableLowRam "device/samsung/n7100";
|
||||
|
||||
#Fixes
|
||||
#Fix broken options enabled by hardenDefconfig()
|
||||
|
@ -334,6 +334,13 @@ removeBuildFingerprints || true;
|
||||
|
||||
#Tweaks for <2GB RAM devices
|
||||
enableLowRam "device/asus/fugu";
|
||||
#Tweaks for <3GB RAM devices
|
||||
#enableLowRam "device/asus/deb";
|
||||
#enableLowRam "device/asus/flo";
|
||||
#enableLowRam "device/htc/flounder";
|
||||
#enableLowRam "device/htc/flounder_lte";
|
||||
#enableLowRam "device/lge/bullhead";
|
||||
#enableLowRam "device/lge/hammerhead";
|
||||
|
||||
#Fix broken options enabled by hardenDefconfig()
|
||||
sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/msm/arch/arm/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
|
@ -392,6 +392,9 @@ removeBuildFingerprints || true;
|
||||
|
||||
#Tweaks for <2GB RAM devices
|
||||
enableLowRam "device/asus/fugu" "fugu";
|
||||
#Tweaks for <3GB RAM devices
|
||||
#enableLowRam "device/lge/hammerhead" "hammerhead";
|
||||
#enableLowRam "device/samsung/kccat6" "kccat6";
|
||||
|
||||
#Fix broken options enabled by hardenDefconfig()
|
||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/asus/msm8953/arch/arm64/configs/*_defconfig; #Breaks on compile
|
||||
|
@ -30,7 +30,7 @@ awk -i inplace '!/DrawSurface\(logo.get\(\)/' recovery_ui/screen_ui.cpp; #Hide l
|
||||
mogrify -format png -fill "#FF5722" -opaque "#167C80" -fuzz 10% res-*/images/*sel.png; #Recolor icons
|
||||
mogrify -format png -fill "#FF5722" -opaque "#7c4dff" -fuzz 10% res-*/images/ic_back_sel.png;
|
||||
sed -i 's|0x7c, 0x4d, 0xff|0xff, 0x57, 0x22|' recovery_ui/*ui.cpp; #Recolor accents (recovery primary)
|
||||
sed -i 's|0xf8, 0x90, 0xff|0xff, 0x98, 0x00|' recovery_ui/*ui.cpp; #Recolor accents (recovery secondar)
|
||||
sed -i 's|0xf8, 0x90, 0xff|0xff, 0x98, 0x00|' recovery_ui/*ui.cpp; #Recolor accents (recovery secondary)
|
||||
sed -i 's|0xe6, 0x51, 0x00|0x4c, 0xaf, 0x50|' recovery_ui/*ui.cpp; #Recolor accents (fastboot primary)
|
||||
sed -i 's|0xfd, 0xd8, 0x35|0x8b, 0xc3, 0x4a|' recovery_ui/*ui.cpp; #Recolor accents (fastboot secondary)
|
||||
sed -i 's|0xfd, 0xd8,0x35|0x8b, 0xc3, 0x4a|' recovery_ui/*ui.cpp; #Recolor accents (fastboot secondary typo)
|
||||
|
@ -29,7 +29,7 @@ awk -i inplace '!/DrawSurface\(logo.get\(\)/' recovery_ui/screen_ui.cpp; #Hide l
|
||||
mogrify -format png -fill "#FF5722" -opaque "#167C80" -fuzz 10% res-*/images/*sel.png; #Recolor icons
|
||||
mogrify -format png -fill "#FF5722" -opaque "#7c4dff" -fuzz 10% res-*/images/ic_back_sel.png;
|
||||
sed -i 's|0x7c, 0x4d, 0xff|0xff, 0x57, 0x22|' recovery_ui/*ui.cpp; #Recolor accents (recovery primary)
|
||||
sed -i 's|0xf8, 0x90, 0xff|0xff, 0x98, 0x00|' recovery_ui/*ui.cpp; #Recolor accents (recovery secondar)
|
||||
sed -i 's|0xf8, 0x90, 0xff|0xff, 0x98, 0x00|' recovery_ui/*ui.cpp; #Recolor accents (recovery secondary)
|
||||
sed -i 's|0xe6, 0x51, 0x00|0x4c, 0xaf, 0x50|' recovery_ui/*ui.cpp; #Recolor accents (fastboot primary)
|
||||
sed -i 's|0xfd, 0xd8, 0x35|0x8b, 0xc3, 0x4a|' recovery_ui/*ui.cpp; #Recolor accents (fastboot secondary)
|
||||
sed -i 's|0xfd, 0xd8,0x35|0x8b, 0xc3, 0x4a|' recovery_ui/*ui.cpp; #Recolor accents (fastboot secondary typo)
|
||||
|
@ -296,15 +296,15 @@ fi;
|
||||
fi;
|
||||
|
||||
if enterAndClear "packages/modules/Permission"; then
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0002-Network_Permission-1.patch"; #always treat INTERNET as a runtime permission (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0002-Network_Permission-2.patch"; #add INTERNET permission toggle (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0003-Sensors_Permission-1.patch"; #always treat OTHER_SENSORS as a runtime permission (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0003-Sensors_Permission-2.patch"; #add OTHER_SENSORS permission group (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0004-Special_Permission-1.patch"; #refactor handling of special runtime permissions (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0004-Special_Permission-2.patch"; #don't auto revoke Network and Sensors (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0004-Special_Permission-3.patch"; #ui fix for special runtime permission (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0004-Special_Permission-4.patch"; #fix usage UI summary for Network/Sensors (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0005-Browser_No_Location.patch"; #stop auto-granting location to system browsers (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0002-Network_Permission-1.patch"; #Always treat INTERNET as a runtime permission (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0002-Network_Permission-2.patch"; #Add INTERNET permission toggle (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0003-Sensors_Permission-1.patch"; #Always treat OTHER_SENSORS as a runtime permission (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0003-Sensors_Permission-2.patch"; #Add OTHER_SENSORS permission group (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0004-Special_Permission-1.patch"; #Refactor handling of special runtime permissions (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0004-Special_Permission-2.patch"; #Don't auto revoke Network and Sensors (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0004-Special_Permission-3.patch"; #UI fix for special runtime permission (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0004-Special_Permission-4.patch"; #Fix usage UI summary for Network/Sensors (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0005-Browser_No_Location.patch"; #Stop auto-granting location to system browsers (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_packages_modules_Permission/0006-Location_Indicators.patch"; #SystemUI: Use new privacy indicators for location (GrapheneOS)
|
||||
fi;
|
||||
|
||||
|
@ -29,7 +29,7 @@ awk -i inplace '!/DrawSurface\(logo.get\(\)/' recovery_ui/screen_ui.cpp; #Hide l
|
||||
mogrify -format png -fill "#FF5722" -opaque "#167C80" -fuzz 10% res-*/images/*sel.png; #Recolor icons
|
||||
mogrify -format png -fill "#FF5722" -opaque "#7c4dff" -fuzz 10% res-*/images/ic_back_sel.png;
|
||||
sed -i 's|0x7c, 0x4d, 0xff|0xff, 0x57, 0x22|' recovery_ui/*ui.cpp; #Recolor accents (recovery primary)
|
||||
sed -i 's|0xf8, 0x90, 0xff|0xff, 0x98, 0x00|' recovery_ui/*ui.cpp; #Recolor accents (recovery secondar)
|
||||
sed -i 's|0xf8, 0x90, 0xff|0xff, 0x98, 0x00|' recovery_ui/*ui.cpp; #Recolor accents (recovery secondary)
|
||||
sed -i 's|0xe6, 0x51, 0x00|0x4c, 0xaf, 0x50|' recovery_ui/*ui.cpp; #Recolor accents (fastboot primary)
|
||||
sed -i 's|0xfd, 0xd8, 0x35|0x8b, 0xc3, 0x4a|' recovery_ui/*ui.cpp; #Recolor accents (fastboot secondary)
|
||||
sed -i 's|0xfd, 0xd8,0x35|0x8b, 0xc3, 0x4a|' recovery_ui/*ui.cpp; #Recolor accents (fastboot secondary typo)
|
||||
|
Loading…
Reference in New Issue
Block a user