Skip to content

Commit

Permalink
add DLLs from Windows 11 22H2
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Dec 1, 2022
1 parent c7ffa31 commit 77a912c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ I have tested it with my Windows 10 22H2. Other versions like Windows 10 21H2 is

Steps:

1. Get WSA appx zip. You can do this by following instructions in https://github.com/LSPosed/MagiskOnWSALocal (You need to "build" this yourself with your local WSL2).
2. Get "icu.dll" from Windows 11 22H2. Note that you MUST use icu.dll from Windows 11. The icu.dll from Windows 10 will NOT work.
1. Get WSA appx zip. You can do this by following instructions in https://github.com/LSPosed/MagiskOnWSALocal
(You need to "build" this yourself with your local WSL2).
2. Get "icu.dll" from Windows 11 22H2. Note that you MUST use icu.dll from Windows 11.
The icu.dll from Windows 10 will NOT work.
(I have made a copy of these DLLs in the original.dll.win11.22h2 dir. They are digitally signed by Microsoft.)
3. Build WsaPatch.dll with source code in this repo.
4. Patch icu.dll: add WsaPatch.dll as an import DLL as icu.dll.
5. Copy patched icu.dll and WsaPatch.dll to WsaClient dir.
6. Patch AppxManifest.xml: Find TargetDeviceFamily node and change the MinVersion attribute to your windows version.
6. Patch AppxManifest.xml: Find TargetDeviceFamily node and change the MinVersion attribute to your Windows version.
7. Patch AppxManifest.xml: Delete all nodes about "customInstall" extension in AppxManifest.xml.
8. Run "Run.bat" to register your WSA appx.
9. You should be able to run WSA now.
Binary file added original.dll.win11.22h2/x86_64/icu.dll
Binary file not shown.
Binary file added original.dll.win11.22h2/x86_64/winhttp.dll
Binary file not shown.

0 comments on commit 77a912c

Please sign in to comment.