GithubHelp home page GithubHelp logo

cinit / wsapatch Goto Github PK

View Code? Open in Web Editor NEW
1.4K 18.0 4.2K 1.96 MB

Make WSA(Windows Subsystem for Android) run on Windows 10.

License: The Unlicense

CMake 1.03% C++ 91.94% C 7.03%
win10 windows-10 windows-subsystem-android windows-subsystem-for-android wsa

wsapatch's Introduction

WSA patch for Windows 10

中文版本

This is a patch for WSA to enable WSA (Windows Subsystem for Android) to run on Windows 10.

Compatibility

Below is a list of versions of WSA and versions of Windows 10 that have been tested together.

WSA version Windows version
2210.40000.7.0 10.0.19045.2311 (22H2)
2211.40000.10.0 10.0.19045.2364 (22H2)
2302.40000.9.0 10.0.19044.2728 (21H2)

In theory, this should work with any version of Windows 10 version 2004 (20H1) and above. This is because every update since then has been very minor, and the build number even still shows as 19041 (20H1's build number) in some places, such as the desktop build number watermark if that is enabled.

Instructions

  1. Make sure your Windows version is at least Windows 10 22H2 10.0.19045.2311.

    • You can check your Windows version with command winver.
    • If your Windows version is lower than 10.0.19045.2311, please update your Windows to at least 10.0.19045.2311.
  2. 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).

  3. 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.)

  4. Build WsaPatch.dll with source code in this repo. (Build with MSVC toolchain, not MinGW or something else.)

  5. Patch icu.dll: add WsaPatch.dll as an import DLL as icu.dll.

  6. Copy patched icu.dll and WsaPatch.dll to WsaClient dir.

  7. Patch AppxManifest.xml.

    1. Find TargetDeviceFamily node in AppxManifest.xml.

      <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.22000.120" MaxVersionTested="10.0.22000.120"/>

      Change the MinVersion from 10.0.22000.120 to 10.0 plus the OS Build number that appears in winver. For example, if winver shows Version 21H2 (OS Build 19044.2728), you'd change it to 10.0.19044.2728.

    2. Delete all nodes about "customInstall" extension (see below) in AppxManifest.xml.

      <rescap:Capability Name="customInstallActions"/>
      <desktop6:Extension Category="windows.customInstall">
          <desktop6:CustomInstall Folder="CustomInstall" desktop8:RunAsUser="true">
              <desktop6:RepairActions>
                  <desktop6:RepairAction File="WsaSetup.exe" Name="Repair" Arguments="repair"/>
              </desktop6:RepairActions>
              <desktop6:UninstallActions>
                  <desktop6:UninstallAction File="WsaSetup.exe" Name="Uninstall" Arguments="uninstall"/>
              </desktop6:UninstallActions>
          </desktop6:CustomInstall>
      </desktop6:Extension>
  8. Run "Run.bat" to register your WSA appx.

  9. You should be able to run WSA now.

If you don't want to build WsaPatch.dll and patch icu.dll yourself, you can download the prebuilt binaries from the release page.

Notice

  1. You can only install WSA on a NTFS partition, not on an exFAT partition.
  2. You can NOT delete the WSA installation folder. What Add-AppxPackage -Register .\AppxManifest.xml does is to register an appx package with some existing unpackaged files, so you need to keep them as long as you want to use WSA. Check https://learn.microsoft.com/en-us/powershell/module/appx/add-appxpackage?view=windowsserver2022-ps for more details.
  3. You need to register your WSA appx package before you can run WSA (the 8th step in the instructions). For MagiskOnWSALocal users, you need to run Run.bat in the extracted dir. If the script fails, you can take the following steps for diagnosis (admin privilege required):
    1. Open a PowerShell window and change working directory to your WSA directory.
    2. Run Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion -Register .\AppxManifest.xml in PowerShell. This should fail with an ActivityID, which is a UUID required for the next step.
    3. Run Get-AppPackageLog -ActivityID <UUID> in PowerShell. This should print the log of the failed operation.
    4. Check the log for the reason of failure and fix it.

About winhttp.dll

  • WsaClient.exe does use GetProcAddress to get some functions from winhttp.dll.
  • Some functions exist in winhttp.dll of Windows 11 22H2, but not in Windows 10 22H2.
  • If you create a file EnableDebugConsole in WsaClient directory or set wsapatch::kDebug in WsaPatch.cpp to true, you will see the following message from log console.
  • If you copy a winhttp.dll from Windows 11 22H2 to WsaClient directory, WsaClient.exe will be able to find these functions.
  • WSA will still run even if you don't copy a winhttp.dll with these symbols.
12-10 16:16:29.474 W WsaPatch: -GetProcAddress: hModule=C:\WINDOWS\SYSTEM32\WINHTTP.dll(00007FFC64780000), lpProcName=WinHttpRegisterProxyChangeNotification, result=NULL
12-10 16:16:29.474 W WsaPatch: -GetProcAddress: hModule=C:\WINDOWS\SYSTEM32\WINHTTP.dll(00007FFC64780000), lpProcName=WinHttpUnregisterProxyChangeNotification, result=NULL
12-10 16:16:29.474 W WsaPatch: -GetProcAddress: hModule=C:\WINDOWS\SYSTEM32\WINHTTP.dll(00007FFC64780000), lpProcName=WinHttpGetProxySettingsEx, result=NULL
12-10 16:16:29.474 W WsaPatch: -GetProcAddress: hModule=C:\WINDOWS\SYSTEM32\WINHTTP.dll(00007FFC64780000), lpProcName=WinHttpGetProxySettingsResultEx, result=NULL
12-10 16:16:29.474 W WsaPatch: -GetProcAddress: hModule=C:\WINDOWS\SYSTEM32\WINHTTP.dll(00007FFC64780000), lpProcName=WinHttpFreeProxySettingsEx, result=NULL

Problems I met

  1. When using WSA 2209.40000.26.0, I was able to run applications in WSA, but I was not able to connect to WSA ADB after enabling Developer Mode, since netstat shows that no process is listening on port 58526. After I upgraded to WSA 2210.40000.7.0, I was able to connect to WSA ADB.
  2. The WSA settings window does not hava a draggable title, but you can move the WSA window if you hold the cursor left near the "minimize" button, or press Alt+Space, then click "Move" in the context menu. #1 #2
  3. If your WSA crashes(or suddenly disappears) when starting up, try to upgrade your Windows to Windows 10 22H2 10.0.19045.2311. (Someone has reported that WSA failed to start on 22H2 19045.2251, but worked after upgrading to 19045.2311.)

If you encounter any problems or have any suggestions, please open an issue or pull request.

Screenshot

screenshot

wsapatch's People

Contributors

aubymori avatar cinit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wsapatch's Issues

b站闪退

b站闪退

打开软件 闪了一下就退出
不知道为什么


顺带问下 怎么完全卸载 WSAPatch

Not working even with regular WSA

Windows version? 10.0.19044.1886
image
I already enabled Virtualization (VT-x) and Virtual Machine Platform on Windows Features.
image

WSA Ver? 2211.40000.11.0

2604安装WSA_2301.40000.7.0无法启动

windows版本19045.2604
这个机器安装WSA_2210.40000.7.0是可以启动的。
按照MagiskOnWSALocal说明制作了包,也尝试过更改其中组合仍无效。

windows事件中看到
错误应用程序名称: WsaClient.exe,版本: 2301.40000.7.0,时间戳: 0x63f70972
错误模块名称: KERNELBASE.dll,版本: 10.0.19041.2546,时间戳: 0xe8e9ac9b
异常代码: 0xc0000409
错误偏移量: 0x000000000010fd12
错误进程 ID: 0x11a0
错误应用程序启动时间: 0x01d9541ccf1e4eb8
错误应用程序路径: C:\Program Files\WSA\WsaClient\WsaClient.exe
错误模块路径: C:\Windows\System32\KERNELBASE.dll
报告 ID: 70f35287-9e21-49aa-82c6-8a86d65f8674
错误程序包全名: MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe
错误程序包相对应用程序 ID: App

已按照说明将dll放在WsaClient下

No Network in WSA v2211.40000.10.0 on 10.0.19045.2364

I tried the following:
WSA_2211.40000.10.0_x64_Release-Nightly-with-magisk-a468fd94(25205)-canary-MindTheGapps-13.0-RemovedAmazon
WSA_2210.40000.7.0_x64_Release-Nightly-with-magisk-25.2(25200)-stable-MindTheGapps-12.1-RemovedAmazon
on my Windows 10.0.19045.2364 Enterprise
At first I was not able to run any app because the window exited immediately.
I found that this is a problem related to my GPU, you must select the GPU to get the apps starting.
image
However, the WSA cannot connect to Google (This shouldn't be a problem for my network as my WSL Ubuntu can connect to Google) and the network seems failing
In addition, I cannot connect to the adb as no ports are open.
image
There's no program listening on localhost:58526 either.
Similar to #5 , I cannot turn on the Wireless Debug too.
image
The Wifi settings look like this
image
image
I also tried my Windows Firewall settings but it did not work.

DIDN'T WORK IN 22H2

Windows ver:Windows 10 22H2.19086.2486
Windows Subsystem For Android ver: 2210.40000.19.0

IN DETAILS / 具体情况: Service WsaService stays in "Starting" status.

image

PRE-PATCHED VERSION USED / 使用了预构建版本: https://www.123pan.com/s/YFuuVv-jCBc
最后希望尽快支持Windows Server :).

AppxManifest.xml(79,27): 错误 0x80073B06: 无法安装或更新程序包,因为无法识别当前 应用程序上下文的初始屏幕图像。

以下为完整报错信息,如何解决?

Installing MagiskOnWSA...
Add-AppxPackage : 部署失败,原因是 HRESULT: 0x80073CF6, 无法注册包。
AppxManifest.xml(24,27): 错误 0x80073B06: 无法安装或更新程序包 MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb 3d8bbwe,因为无法识别 当前应用程序上下文的初始屏幕图像。应用程序上下文可能包括特定语言、DPI、对比度或其他特殊条件。如果  无法识别上下文特定的初始屏幕图像,请添加一 个初始屏幕图像以用作默认设置。                                                注意: 有关其他信息,请在事件日志中查找 [ActivityId] 94c065bb-5a2a-0004-129b-c1942a5ad901,或使用命令行 Get-AppPackageLo g -ActivityID 94c065bb-5a2a-0004-129b-c1942a5ad901                                                                      所在位置 D:\WSA\WSA\Install.ps1:106 字符: 1
+ Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (D:\WSA\WSA\AppxManifest.xml:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

All Done!
Press any key to exit
PS D:\WSA\WSA> Get-AppPackageLog -ActivityID 94c065bb-5a2a-0004-129b-c1942a5ad901

Time                      ID           Message
----                      --           -------
2023/3/19 19:44:40        603          已使用主参数 AppxManifest.xml 以及选项 ForceApplicationShutdownOption,DevelopmentModeOption,ForceUpdat
                                       eFromAnyVersion 和 0 开始对程序包执行部署 Register 操作。要获取有关诊断应用部署问题的帮助,请参阅 http
                                       ://go.microsoft.com/fwlink/?LinkId=235160。
2023/3/19 19:44:40        216          应用部件清单(manifest)验证警告: 声明的命名空间 http://schemas.microsoft.com/developer/appx/2015/build
                                       不适用,在清单处理期间将忽略它。
2023/3/19 19:44:40        216          应用部件清单(manifest)验证警告: 声明的命名空间 http://schemas.microsoft.com/appx/manifest/desktop/wind
                                       ows10/8 不适用,在清单处理期间将忽略它。
2023/3/19 19:44:40        10002        正在为程序包 MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe 上的
                                       Register 操作创建复原文件 C:\ProgramData\Microsoft\Windows\AppRepository\7217207b-b25d-4251-864a-c35a7
                                       cb9191f_S-1-5-21-2445505369-3607524988-403652771-1001_11.rslc。
2023/3/19 19:44:40        607          已从队列中取消程序包 MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bb
                                       we 的部署 Register 操作,并且正在为用户 S-1-5-21-2445505369-3607524988-403652771-1001 运行该部署。
2023/3/19 19:44:40        854          已成功添加以下待处理的 URI:  D:\WSA\WSA\AppxManifest.xml。
2023/3/19 19:44:41        855          已完成解决操作列表。DeploymentRequest 操作列表:  addPackageList: MicrosoftCorporationII.WindowsSubsyst
                                       emForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe。
2023/3/19 19:44:41        8761         缺少 AppExecutionAlias 目录,错误代码为 0x8007010B。
2023/3/19 19:44:41        573          正在设置“同步已启用”状态,程序包系列名称为 MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3
                                       d8bbwe,已启用 false。
2023/3/19 19:44:41        9643         0x0: TerminateApplications 成功。
2023/3/19 19:44:41        9643         0x0: TerminateApplications 成功。
2023/3/19 19:44:41        10000        即将为程序包 MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe 提供
                                       服务。将程序包状态设置为 disabled 时返回 0x0。
2023/3/19 19:44:41        10000        即将为程序包 MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe 提供
                                       服务。将程序包状态设置为 disabled 时返回 0x0。
2023/3/19 19:44:41        9643         0x0: TerminateApplications 成功。
2023/3/19 19:44:41        9643         0x0: TerminateApplications 成功。
2023/3/19 19:44:41        9626         AppxManifest.xml(47,12): PackagedServiceDEH 为安装程序包 MicrosoftCorporationII.WindowsSubsystemForAnd
                                       roid_2301.40000.7.0_x64__8wekyb3d8bbwe 成功分析了清单
2023/3/19 19:44:41        9622         0x0: PackagedServiceDEH 已成功分析清单
2023/3/19 19:44:41        9623         0x0: PackagedServiceDEH 已成功分析清单
2023/3/19 19:44:41        9625         0x0: PackagedServiceDEH 已成功分析清单
2023/3/19 19:44:41        5044         AppxManifest.xml(24,27): 错误 0x80073B06: 无法安装或更新程序包 MicrosoftCorporationII.WindowsSubsystem
                                       ForAndroid_8wekyb3d8bbwe,因为无法识别当前应用程序上下文的初始屏幕图像。应用程序上下文可能包括特定语言
                                       、DPI、对比度或其他特殊条件。如果无法识别上下文特定的初始屏幕图像,请添加一个初始屏幕图像以用作默认设
                                       置。
2023/3/19 19:44:41        5042         AppxManifest.xml(24,27): 错误 0x80073B06: 无法安装、更新或卸载程序包 MicrosoftCorporationII.WindowsSub
                                       systemForAndroid_8wekyb3d8bbwe,因为无法从程序包部件清单(manifest)中分析初始屏幕元素。请验证程序包部件
                                       清单中的初始屏幕元素是否有效。
2023/3/19 19:44:41        5091         错误 0x80073B06: 在处理程序包部件清单(manifest)中的 SplashScreen 元素时,Visual Elements 扩展失败。
2023/3/19 19:44:41        303          错误 0x80073B06: 在准备处理请求时,由于以下错误,系统无法注册 windows.visualElements 扩展: 资源没有默
                                       认值或中性值。
                                       。
2023/3/19 19:44:41        5507         MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe : D:\WSA\WSA\micro
                                       soft.system.package.metadata\S-1-5-21-2445505369-3607524988-403652771-1001-MergedResources-*.pri : No
                                       user-specific merged files found
2023/3/19 19:44:41        5507         MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe : D:\WSA\WSA\micro
                                       soft.system.package.metadata\Resources.????????.pri : No shared merged files found
2023/3/19 19:44:41        5507         MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe : D:\WSA\WSA\micro
                                       soft.system.package.metadata\S-1-5-21-2445505369-3607524988-403652771-1001-MergedResources-*.pri : No
                                       user-specific merged files found
2023/3/19 19:44:41        5507         MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe : D:\WSA\WSA\micro
                                       soft.system.package.metadata\Resources.????????.pri : No shared merged files found
2023/3/19 19:44:41        300          错误 0x80073B06: 由于以下错误,无法注册 MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbw
                                       e 程序包: 资源没有默认值或中性值。
                                       。
2023/3/19 19:44:41        605          上次达到的成功状态为 SingletonRegisterAdd。在达到下一状态 RegistrationChanged 之前发生故障。hr: 0x8007
                                       3CF6
2023/3/19 19:44:41        330          错误 0x80070002: 在删除请求时,系统由于出现以下错误而无法注册 windows.MRT 扩展: 系统找不到指定的文件。
                                       。
2023/3/19 19:44:41        5044         AppxManifest.xml(24,27): 错误 0x80073B06: 无法安装或更新程序包 MicrosoftCorporationII.WindowsSubsystem
                                       ForAndroid_8wekyb3d8bbwe,因为无法识别当前应用程序上下文的初始屏幕图像。应用程序上下文可能包括特定语言
                                       、DPI、对比度或其他特殊条件。如果无法识别上下文特定的初始屏幕图像,请添加一个初始屏幕图像以用作默认设
                                       置。
2023/3/19 19:44:41        5042         AppxManifest.xml(24,27): 错误 0x80073B06: 无法安装、更新或卸载程序包 MicrosoftCorporationII.WindowsSub
                                       systemForAndroid_8wekyb3d8bbwe,因为无法从程序包部件清单(manifest)中分析初始屏幕元素。请验证程序包部件
                                       清单中的初始屏幕元素是否有效。
2023/3/19 19:44:41        5091         错误 0x80073B06: 在处理程序包部件清单(manifest)中的 SplashScreen 元素时,Visual Elements 扩展失败。
2023/3/19 19:44:41        330          错误 0x80073B06: 在删除请求时,系统由于出现以下错误而无法注册 windows.visualElements 扩展: 资源没有默
                                       认值或中性值。
                                       。
2023/3/19 19:44:42        9627         AppxManifest.xml(47,12): PackagedServiceDEH 为删除程序包 MicrosoftCorporationII.WindowsSubsystemForAnd
                                       roid_2301.40000.7.0_x64__8wekyb3d8bbwe 成功分析了清单
2023/3/19 19:44:42        9622         0x0: PackagedServiceDEH 已成功分析清单
2023/3/19 19:44:42        9623         0x0: PackagedServiceDEH 已成功分析清单
2023/3/19 19:44:42        9625         0x0: PackagedServiceDEH 已成功分析清单
2023/3/19 19:44:42        8761         缺少 AppExecutionAlias 目录,错误代码为 0x8007010B。
2023/3/19 19:44:42        10001        已完成为程序包 MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe 提
                                       供服务。将程序包状态设置为 enabled 时返回 0x0。
2023/3/19 19:44:42        10001        已完成为程序包 MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe 提
                                       供服务。将程序包状态设置为 enabled 时返回 0x0。
2023/3/19 19:44:43        401          从  (AppxManifest.xml)  使用程序包 MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x6
                                       4__8wekyb3d8bbwe 中的目标卷 C: 执行的部署 Register 操作失败,错误为 0x80073CF6。有关诊断应用部署问题的
                                       帮助,请参阅 http://go.microsoft.com/fwlink/?LinkId=235160。
2023/3/19 19:44:43        404          程序包 MicrosoftCorporationII.WindowsSubsystemForAndroid_2301.40000.7.0_x64__8wekyb3d8bbwe 的 AppX 部
                                       署操作失败,错误为 0x80073CF6。此失败的具体错误文本是: AppxManifest.xml(24,27): 错误 0x80073B06: 无法
                                       安装或更新程序包 MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe,因为无法识别当前应用
                                       程序上下文的初始屏幕图像。应用程序上下文可能包括特定语言、DPI、对比度或其他特殊条件。如果无法识别上下
                                       文特定的初始屏幕图像,请添加一个初始屏幕图像以用作默认设置。

原因是 HRESULT: 0x80073CFD

完美的报错了:Add-AppxPackage : 部署失败,原因是 HRESULT: 0x80073CFD, 无法满足安装的先决条件。有人遇到吗?

运行runbat,出现一系列错误

我的系统是2364
严格按照教程修改xml,确定dll复制到client文件夹
Version="2210.40000.7.0"
麻烦大佬看下出现什么问题了谢谢您

image

win10 2546版本 按照教程,卡最后一步

就是以管理员身份运行run.bat后,弹出两个android程序运行界面loading中,然后过了一会就没反应了,那两个android程序只是显示windows subsystem for android运行中,没有显示是play store和magisk的程序界面

功能

哥 请问可以定制一个自己喜欢的功能嘛

incompatible with Windows server

I have Windows 10 Pro installed (screenshot below), but WSA thinks I have a Windows Server, which is why it gives me an error.
The compiled patch has been installed to the latest version (20230119 - Add workaround for Windows Server :/)

image
image

I don’t really know who to contact, since I don’t have Windows 11 .. but I don’t have a Windows Server too, so I wrote here :(

mount failed: Operation not permitted.

I am using Windows 10 22H2 19045.2546.
after cloning Magisk on wsa local everything went smooth after scripts/run.sh command everything completed but...

Mount images
mount: /tmp/wsa-build-fznfYhACuN_/system: mount failed: Operation not permitted.
Build: an error has occurred, exit

Cleanup Work Directory
Cleanup Mount Directory
umount: /tmp/wsa-build-fznfYhACuN_/system: not mounted.
Cleanup Download Directory

this error came, searched it alot, but could not found solution, can you guide me what to do?

安卓子系统的语言、地区设置,每次启动都会被重置

Windows 10 Enterprise 22H2 19045.2604
因为window系统是英文语言,安卓子系统进去之后自动也是英文,然后我去设置界面改成了中文,并且修改了一下设置来符合我的习惯。但是每次启动安卓子系统,语言、时区这些设置都会被重置。

我用的是这个人的整合版#8 (comment)
配合WS工具箱使用 https://apps.microsoft.com/store/detail/wsa%E5%B7%A5%E5%85%B7%E7%AE%B1/9PPSP2MKVTGT?hl=zh-cn&gl=cn

image
image
image

WSA launched after installing update KB5020030

With your patch, WSA can only be launched after installing update KB5020030. Analyze what changes the update makes, maybe you can find out what other files need to be added so that you can run without installing this update.
P.S. you can move the WSA window if you hold the cursor near the "minimize" button.

WSAPatch has broken in v2304 of WSA

@cinit WSAPatch is no longer working with WSA v2304.40000.3.0 and higher, giving the following error:
image
Please can you have a look at the issue on hand.

Many thanks,
MustardChef

WSA无法启动, 加载一段时候后窗口闪退.

系统版本:
19045.2546
WSA版本:
WSA_2211.40000.11.0_x64_Release-Nightly-with-magisk-25.2(25200)-stable-NoGApps-RemovedAmazon
系统硬件环境:
VMWare 15 虚拟环境 开启了虚拟嵌套化 (为了验证是否为系统版本问题 所以使用了虚拟机)
崩溃日志:
20230128031241.log
20230128031303.log
20230128031323.log
20230128031339.log
20230128030825.log
20230128031013.log
20230128031146.log
20230128031213.log

PS:
每次崩溃, 日志几乎都会停止在:

01-28 03:13:13.405   724   741 I SystemApp: waitForBootCompleted - exit
01-28 03:13:13.405   300   365 I ActivityManager: Finished processing BOOT_COMPLETED for u0
01-28 03:13:13.405   300   365 I BroadcastQueue: BOOT_COMPLETED_BROADCAST_COMPLETION_LATENCY_REPORTED action:android.intent.action.BOOT_COMPLETED dispatchLatency:1 completeLatency:679 dispatchRealLatency:1 completeRealLatency:679 receiversSize:26 userId:0 userType:android.os.usertype.full.SYSTEM
01-28 03:13:13.406    22    22 I servicemanager: Found windows.services.rcm.IRemoteConnectionManager/default in device VINTF manifest.
01-28 03:13:13.410    22    22 I servicemanager: Found windows.services.rcm.IRemoteConnectionManager/default in device VINTF manifest.
01-28 03:13:13.464   724   774 I SystemApp: initializeSettingsRedirection - enter
01-28 03:13:13.466    22    22 I servicemanager: Found windows.services.rcm.IRemoteConnectionManager/default in device VINTF manifest.

这些位置

或许有帮助的描述:
每次闪退前 任务栏都有麦克风被调用的提示 然后麦克风图标迅速消失 然后WSA窗口闪退.

能够成功安装,但是尝试启动子系统会在没有报错的情况下闪退

1{AX215 B@SWXZ%RNATGQ(Y
就和这张图中的显示的一样
过完 正在启动android的Windows子系统 的弹窗之后,就没有反应了

设备名称 MoeWorld-HWServer-DESKTOP-OLM9OA7
处理器 Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz 2.30 GHz (2 个处理器)
机带 RAM 44.0 GB
设备 ID 1A14C17C-1051-43FD-A34C-0AE4BA3C0479
产品 ID 00331-10000-00001-AA272
系统类型 64 位操作系统, 基于 x64 的处理器
笔和触控 笔和单一触控支持

我不知道应该怀疑是什么问题,因为我的win11电脑直接从微软商店下载子系统也会这样闪退
这次在win10上安装更多的是想尝试一下能不能用,结果这台从未安装过wsa的设备也照样闪退

image

另外我注意到应用中显示为0个,以及开始菜单里没有出现magisk,怀疑和这个可能有一定关联

如果需要日志,请告诉我如何找到它,我会在之后将它贴上来

WSA受Windows10睡眠影响

具体现象是当Windows10从睡眠中唤醒后, WSA会重新启动, 即使子系统资源设置是连续。
这曾经是原生的bug, 但根据microsoft/WSA#279, 已于Windows 11 version 10.0.22621.0中修复。
但至少Windows 10 version 10.0.19045.2788似乎仍受其影响。
我不知道问题是发生在系统进入睡眠时还是从睡眠中唤醒时。
并非致命问题, 在此留言, 希望能帮后人避坑。

Windows 10 ARM DLL ?

Can you update ARM64 DLL (include icu.dll, winhttp.dll and WSAPatch.dll). Thanks

Add-AppxPackage : 部署失败,原因是 HRESULT: 0x80073CF6, 无法注册包。

win10 22H2 19045.2486
WSA_2211.40000.11.0
构建完成后无法安装

Add-AppxPackage : 部署失败,原因是 HRESULT: 0x80073CF6, 无法注册包。
                                                                                                                         部署操作进程: E:\WSA\AppxManifest.xml                                                                                      Processing                                                                                                              [ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo                                     ]                                                                                                                              所在位置 E:\WSA\Install.ps1:102 字符: 1
+ Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (E:\WSA\AppxManifest.xml:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

AppxManifest.xml

Como puedo cambiar el nombre de "pixel5" a otro?

Hola, andaria necesando saber por donde puedo cambiar el nombre de modelo que dice píxel5 por otro nombre, lo estaria necesitando para saber que dispositivos se conecta a la cuenta y cuando voy a selecionar me sale siempre asi como pixel5. me gustaria saber como le puedo cambiar el nombre?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.