diff --git a/patches_platform/packages_apps_Jelly/0001-Jelly-MainActivity-Restore-applyThemeColor.patch b/patches_platform/packages_apps_Jelly/0001-Jelly-MainActivity-Restore-applyThemeColor.patch deleted file mode 100644 index 0e64b7d..0000000 --- a/patches_platform/packages_apps_Jelly/0001-Jelly-MainActivity-Restore-applyThemeColor.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 6f9026e0548bd82e7b728ef29dd7d14db93b2105 Mon Sep 17 00:00:00 2001 -From: Andy CrossGate Yan -Date: Sat, 26 Jun 2021 14:23:09 +0000 -Subject: [PATCH] Jelly: MainActivity: Restore applyThemeColor - -Fixes black statusbar on start - -Change-Id: I6816f5b1dcb3c7bcaee2736a9e2a3ecd63217bc6 ---- - app/src/main/java/org/lineageos/jelly/MainActivity.kt | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/app/src/main/java/org/lineageos/jelly/MainActivity.kt b/app/src/main/java/org/lineageos/jelly/MainActivity.kt -index 2902b0a..9ff74ed 100644 ---- a/app/src/main/java/org/lineageos/jelly/MainActivity.kt -+++ b/app/src/main/java/org/lineageos/jelly/MainActivity.kt -@@ -193,6 +193,7 @@ class MainActivity : WebViewExtActivity(), SearchBarController.OnCancelListener, - findViewById(R.id.search_menu_cancel), - this) - setUiMode() -+ applyThemeColor(mThemeColor) - try { - val httpCacheDir = File(cacheDir, "suggestion_responses") - val httpCacheSize = 1024 * 1024.toLong() // 1 MiB -@@ -763,4 +764,4 @@ class MainActivity : WebViewExtActivity(), SearchBarController.OnCancelListener, - private const val STORAGE_PERM_REQ = 423 - private const val LOCATION_PERM_REQ = 424 - } --} -\ No newline at end of file -+} --- -2.25.1 - diff --git a/patches_wephone/device_phh_treble/0004-fix-external-screen-cats22flip.patch b/patches_wephone/device_phh_treble/0004-fix-external-screen-cats22flip.patch new file mode 100644 index 0000000..3d5e8a5 --- /dev/null +++ b/patches_wephone/device_phh_treble/0004-fix-external-screen-cats22flip.patch @@ -0,0 +1,34 @@ +From b91f61d23de06f53ee6d2cc704a8379dd89b26ef Mon Sep 17 00:00:00 2001 +From: Nehemiah of Zebulun +Date: Fri, 22 Dec 2023 12:09:00 -0500 +Subject: [PATCH] fix external screen cats22flip + +Change-Id: Iecd90b2ec0e824b4956a0896c5fbd8a7578e9116 +--- + phh-on-boot.sh | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/phh-on-boot.sh b/phh-on-boot.sh +index d2d5b0a..c831788 100644 +--- a/phh-on-boot.sh ++++ b/phh-on-boot.sh +@@ -52,6 +52,16 @@ if [ "$vndk" = 28 ];then + mount $minijailSrc /vendor/lib/libminijail.so + fi + ++#Fix external screen on Cat S22 Flip ++if getprop ro.vendor.build.fingerprint | grep -iq -e S22FLIP; then ++ if ! getprop ro.vendor.gsi.image_running | grep -iq -F false; then ++ setprop ro.vendor.gsi.image_running false ++ setprop ctl.restart vendor.hwcomposer-2-1 ++ # just to see if script was successful ++ touch /mnt/banana ++ fi ++fi ++ + #Clear looping services + sleep 30 + getprop | \ +-- +2.39.2 + diff --git a/patches_wephone/device_phh_treble/0005-disable-navbar-for-cats22flip.patch b/patches_wephone/device_phh_treble/0005-disable-navbar-for-cats22flip.patch new file mode 100644 index 0000000..77aad51 --- /dev/null +++ b/patches_wephone/device_phh_treble/0005-disable-navbar-for-cats22flip.patch @@ -0,0 +1,26 @@ +From bac5a58fe89892dc3b45631668449f25a4fddc86 Mon Sep 17 00:00:00 2001 +From: Nehemiah of Zebulun +Date: Fri, 22 Dec 2023 15:44:51 -0500 +Subject: [PATCH] disable navbar for cats22flip + +Change-Id: I18d3265d2692f52b328004a80bcbd5db18249715 +--- + system.prop | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/system.prop b/system.prop +index 3dbe6df..c57614e 100644 +--- a/system.prop ++++ b/system.prop +@@ -6,7 +6,7 @@ persist.sys.overlay.nightmode=true + + #Disable debugging strict mode toasts + persist.sys.strictmode.disable=true +-persist.sys.phh.mainkeys=0 ++persist.sys.phh.mainkeys=1 + + fw.max_users=10 + persist.sys.max_profiles=10 +-- +2.39.2 + diff --git a/patches_wephone/frameworks_base/0004-disable-lock-screen.patch b/patches_wephone/frameworks_base/0004-disable-lock-screen.patch new file mode 100644 index 0000000..eb1b5d9 --- /dev/null +++ b/patches_wephone/frameworks_base/0004-disable-lock-screen.patch @@ -0,0 +1,26 @@ +From 3aceacf62182951ef8cdcb88866aa77fad768687 Mon Sep 17 00:00:00 2001 +From: Nehemiah of Zebulun +Date: Fri, 22 Dec 2023 14:48:20 -0500 +Subject: [PATCH] disable lock screen + +Change-Id: I68fd449b67d2c3fbf6dd48db87e3ea06b3a7d3ee +--- + packages/SettingsProvider/res/values/defaults.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/packages/SettingsProvider/res/values/defaults.xml b/packages/SettingsProvider/res/values/defaults.xml +index 51f69a95e16..278903e0c47 100644 +--- a/packages/SettingsProvider/res/values/defaults.xml ++++ b/packages/SettingsProvider/res/values/defaults.xml +@@ -82,7 +82,7 @@ + 1000 + 15000 + +- false ++ true + false + 1 + +-- +2.39.2 +