|
@@ -238,7 +238,6 @@ jobs:
|
|
|
cp "$SUSFS4KSU/kernel_patches/fs/"* ./fs/
|
|
cp "$SUSFS4KSU/kernel_patches/fs/"* ./fs/
|
|
|
cp "$SUSFS4KSU/kernel_patches/include/linux/"* ./include/linux/
|
|
cp "$SUSFS4KSU/kernel_patches/include/linux/"* ./include/linux/
|
|
|
cp "$SUSFS4KSU/kernel_patches/50_add_susfs_in_gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch" ./
|
|
cp "$SUSFS4KSU/kernel_patches/50_add_susfs_in_gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch" ./
|
|
|
- cp "$ZEROMOUNT/${{ inputs.android_version }}-${{ inputs.kernel_version }}/WildKSU/patches/60_zeromount-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch" .
|
|
|
|
|
|
|
|
|
|
#Prepare open.c for susfs patching
|
|
#Prepare open.c for susfs patching
|
|
|
sed -i '/#ifdef CONFIG_SECURITY_DEFEX/,/^#endif/d' fs/open.c
|
|
sed -i '/#ifdef CONFIG_SECURITY_DEFEX/,/^#endif/d' fs/open.c
|
|
@@ -267,7 +266,8 @@ jobs:
|
|
|
else
|
|
else
|
|
|
echo "No directory found, skipping"
|
|
echo "No directory found, skipping"
|
|
|
fi
|
|
fi
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+ cp "$ZEROMOUNT/${{ inputs.android_version }}-${{ inputs.kernel_version }}/WildKSU/patches/60_zeromount-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch" .
|
|
|
#patch -p1 < 51_enhanced_susfs_gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch || true
|
|
#patch -p1 < 51_enhanced_susfs_gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch || true
|
|
|
patch -p1 < 60_zeromount-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch || true
|
|
patch -p1 < 60_zeromount-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch || true
|
|
|
#patch -p1 < 70_ksu_safety-wksu-${{ inputs.kernel_version }}.patch || true
|
|
#patch -p1 < 70_ksu_safety-wksu-${{ inputs.kernel_version }}.patch || true
|
|
@@ -276,21 +276,8 @@ jobs:
|
|
|
cat >> "$DEFCONFIG" << 'EOF'
|
|
cat >> "$DEFCONFIG" << 'EOF'
|
|
|
# SUSFS Configuration
|
|
# SUSFS Configuration
|
|
|
CONFIG_KSU_SUSFS=y
|
|
CONFIG_KSU_SUSFS=y
|
|
|
- CONFIG_KSU_SUSFS_SUS_PATH=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_SUS_MOUNT=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_SUS_KSTAT=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_SUS_KSTAT_REDIRECT=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_SUS_MAP=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_SPOOF_UNAME=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_ENABLE_LOG=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_SPOOF_CMDLINE_OR_BOOTCONFIG=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_OPEN_REDIRECT=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_HIDE_KSU_SUSFS_SYMBOLS=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_UNICODE_FILTER=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_AUTO_ADD_SUS_KSU_DEFAULT_MOUNT=y
|
|
|
|
|
- CONFIG_KSU_SUSFS_AUTO_ADD_SUS_BIND_MOUNT=y
|
|
|
|
|
|
|
+ CONFIG_ZEROMOUNT=y
|
|
|
EOF
|
|
EOF
|
|
|
-
|
|
|
|
|
|
|
|
|
|
- name: Fix WiFi and Bluetooth on Samsung 6.6 GKI devices
|
|
- name: Fix WiFi and Bluetooth on Samsung 6.6 GKI devices
|
|
|
if: ${{ inputs.kernel_version == '6.6' }}
|
|
if: ${{ inputs.kernel_version == '6.6' }}
|