[Magisk] okwhateverok:
Here are the details about the error:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.IO.IOException: The process cannot access the file 'C:\Users\L\Downloads\tmp\services.jar.out\smali_classes3\com\android\server\wm\WindowSurfaceController.smali' because it is being used by another process.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)

at System.IO.File.WriteAllBytes(String path, Byte[] bytes)

at SmaliPatcherEx.Patch.secureFlag(String file) in C:\Users\Mars\source\repos\SmaliPatcherEx\SmaliPatcherEx\Patch.cs:line 445

at SmaliPatcherEx.Patch.<>c__DisplayClass27_0.<patchSmali>b__14() in C:\Users\Mars\source\repos\SmaliPatcherEx\SmaliPatcherEx\Patch.cs:line 603

at System.Threading.Tasks.Task.InnerInvoke()

at System.Threading.Tasks.Task.Execute()

************** Loaded Assemblies **************

mscorlib

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

SmaliPatcherEx

Assembly Version: 0.1.1.2

Win32 Version: 0.1.1.2

CodeBase: file:///C:/Users/L/Downloads/SmaliPatcherEx.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

MaterialSkin

Assembly Version: 2.3.1.0

Win32 Version: 0.1.1.2

CodeBase: file:///C:/Users/L/Downloads/SmaliPatcherEx.exe

----------------------------------------

System.Drawing

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9037.0 built by: NET481REL1

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Configuration

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9037.0 built by: NET481REL1

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Core

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Xml

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9037.0 built by: NET481REL1

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

Accessibility

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9037.0 built by: NET481REL1

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

System.Net.Http

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9037.0 built by: NET481REL1

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

----------------------------------------

System.IO.Compression

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9037.0 built by: NET481REL1

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.dll

----------------------------------------

System.IO.Compression.FileSystem

Assembly Version: 4.0.0.0

Win32 Version: 4.8.9037.0

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression.FileSystem/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll

----------------------------------------

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

For example:

<configuration>

<system.windows.forms jitDebugging="true" />

</configuration>

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.