[Paid Software Announcement and Discussion] hanspampel:
Hi

Seems to work. But im not getting a bootable ROM. Got some errors, see red lines in code:

Installiere Zip '/sdcard1/ROM_SAMSUNG_SMG975F_111059.zip'
Suche nach Digest-Datei...
I:Update binary zip
Verifying package compatibility...
Package doesn't contain compatibility.zip entry
I:Extracting updater binary 'META-INF/com/google/android/update-binary'
I:Zip does not contain SELinux file_contexts file in its root.
-------------------------------
Powered by
-------------------------------
###### ######## ########
## ## ## ## ## ##
## ## ## ## ##
## ######## ########
## ## ## ## ##
## ## ## ## ## ##
###### ## ## ########
-------------------------------
-------------------------------
Powered by
-------------------------------
###### ######## ########
## ## ## ## ## ##
## ## ## ## ##
## ######## ########
## ## ## ## ##
## ## ## ## ## ##
###### ## ## ########
-------------------------------
about to run program [/sbin/sh] with 2 args
@Wiping partitions
@Wiping partitions
Creating filesystem with parameters:
Size: 5976883200
Block size: 4096
Blocks per group: 32768
Inodes per group: 8112
Inode size: 256
Journal blocks: 22800
Label:
Blocks: 1459200
Block groups: 45
Reserved block group size: 359
error: build_default_directory_structure: cannot lookup security context for /system_root/lost+found
format: make_ext4fs failed (1) on /dev/block/platform/13d60000.ufs/by-name/systemCreating filesystem with parameters:
Size: 1153433600
Block size: 4096
Blocks per group: 32768
Inodes per group: 7824
Inode size: 256
Journal blocks: 4400
Label:
Blocks: 281600
Block groups: 9
Reserved block group size: 71
Created filesystem with 11/70416 inodes and 9187/281600 blocks
warning: wipe_block_device: Wipe via secure discard failed, used discard instead

Creating filesystem with parameters:
Size: 650117120
Block size: 4096
Blocks per group: 32768
Inodes per group: 7936
Inode size: 256
Journal blocks: 2480
Label:
Blocks: 158720
Block groups: 5
Reserved block group size: 39
Created filesystem with 11/39680 inodes and 5096/158720 blocks
warning: wipe_block_device: Wipe via secure discard failed, used discard instead

@Extracting RAM Disk
@Extracting RAM Disk
about to run program [/sbin/sh] with 2 args
[COLOR=Red]umount: /system_root/system: No such file or directory
umount: /system_root: Invalid argument[/COLOR]
e2fsck 1.43.3 (04-Sep-2016)
e2fsck: need terminal for interactive repairs
resize2fs 1.43.3 (04-Sep-2016)
Resizing the filesystem on /dev/block/by-name/system to 1459200 (4k) blocks.
The filesystem on /dev/block/by-name/system is now 1459200 (4k) blocks long.

@Extracting System
@Extracting System
I:TWFunc::Set_Brightness: Setting brightness control to 5
@Extracting Vendor
@Extracting Vendor
I:TWFunc::Set_Brightness: Setting brightness control to 16300
@Extracting Product
@Extracting Product
@Creating Symlinks
@Creating Symlinks
@Setting Permissions
@Setting Permissions
@Installing Kernel Image
@Installing Kernel Image
@Running Multidisabler
about to run program [/sbin/sh] with 2 args
@Running Multidisabler
[COLOR=red]/tmp/system-patcher.sh[175]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[175]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[176]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[176]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[177]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[177]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[178]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[178]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[179]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[179]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[180]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[180]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[181]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[181]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[182]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[182]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[183]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[183]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[184]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[184]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[185]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[185]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[205]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[205]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[207]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[207]: can't create /proc/self/fd/: Is a directory
mount: '/dev/block/sda25'->'/system_root': Device or resource busy
/tmp/system-patcher.sh[209]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[209]: can't create /proc/self/fd/: Is a directory
mount: '/dev/block/sda26'->'/vendor': Device or resource busy
/tmp/system-patcher.sh[212]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[212]: can't create /proc/self/fd/: Is a directory
sed: /vendor/etc/fstab.qcom: No such file or directory
/tmp/system-patcher.sh[213]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[213]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[214]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[214]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[215]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[215]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[216]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[216]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[218]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[218]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[218]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[218]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[218]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[218]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[220]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[220]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[222]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[222]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[225]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[225]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[226]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[226]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[227]: can't create /proc/self/fd/: Is a directory
/tmp/system-patcher.sh[227]: can't create /proc/self/fd/: Is a directory[/COLOR]
run_program: child exited with status 1
@Cleaning up and unmounting
@Cleaning up and unmounting

--[ Installation Completed Successfully ]--

--[ Installation Completed Successfully ]--

Not totally sure if the unmount error came from your system-resize.sh. Ive never get a ROM with old metadata and symlinks to boot on my s10+. The safest way for flashing ROMs for S10/Note 10 atm was to flash the RAWs. This is how i build my ROMs atm.

But ill try to test other scripts/methods, maybe i find a solution.