cinit / wsapatch Goto Github PK
View Code? Open in Web Editor NEWMake WSA(Windows Subsystem for Android) run on Windows 10.
License: The Unlicense
Make WSA(Windows Subsystem for Android) run on Windows 10.
License: The Unlicense
@cinit WSAPatch is no longer working with WSA v2304.40000.3.0 and higher, giving the following error:
Please can you have a look at the issue on hand.
Many thanks,
MustardChef
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
無法連上網路 google 無法登入
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.
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.
There's no program listening on localhost:58526 either.
Similar to #5 , I cannot turn on the Wireless Debug too.
The Wifi settings look like this
I also tried my Windows Firewall settings but it did not work.
就是以管理员身份运行run.bat后,弹出两个android程序运行界面loading中,然后过了一会就没反应了,那两个android程序只是显示windows subsystem for android运行中,没有显示是play store和magisk的程序界面
目前似乎只能通过删除旧版WSA安装新版来解决,是否有其他解决方案呢
完美的报错了:Add-AppxPackage : 部署失败,原因是 HRESULT: 0x80073CFD, 无法满足安装的先决条件。有人遇到吗?
哥 请问可以定制一个自己喜欢的功能嘛
Press Alt+Space, then click "Move" in the context menu.
First of all, thank you for all the work done on this project.
My question is whether or not it is possible to patch WSA to make it work on Windows 10 ARM.
具体现象是当Windows10从睡眠中唤醒后, WSA会重新启动, 即使子系统资源设置是连续。
这曾经是原生的bug, 但根据microsoft/WSA#279, 已于Windows 11 version 10.0.22621.0中修复。
但至少Windows 10 version 10.0.19045.2788似乎仍受其影响。
我不知道问题是发生在系统进入睡眠时还是从睡眠中唤醒时。
并非致命问题, 在此留言, 希望能帮后人避坑。
winver 20348.1487
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?
以下为完整报错信息,如何解决?
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、对比度或其他特殊条件。如果无法识别上下
文特定的初始屏幕图像,请添加一个初始屏幕图像以用作默认设置。
系统版本:
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窗口闪退.
没声音怎么调,没有声音合成器这个项啊。
没声音重启大法。解决。
就和这张图中的显示的一样
过完 正在启动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的设备也照样闪退
另外我注意到应用中显示为0个,以及开始菜单里没有出现magisk,怀疑和这个可能有一定关联
如果需要日志,请告诉我如何找到它,我会在之后将它贴上来
Can you update ARM64 DLL (include icu.dll, winhttp.dll and WSAPatch.dll). Thanks
【金山文档】 Github_Win10用WSA!
https://kdocs.cn/l/ctwrfU5tAOjU
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下
Windows ver:
Windows Subsystem For Android ver:
IN DETAILS / 具体情况: Service WsaService stays in "Starting" status.
PRE-PATCHED VERSION USED / 使用了预构建版本: https://www.123pan.com/s/YFuuVv-jCBc
最后希望尽快支持Windows Server :).
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?
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.
只需更新到19043.2311和19044.2311之后的版本就行了
我这边用w10 ltsc2021(19044.2311)测过了,完全可以,目前一切正常
https://wvbimg2-1310561333.cos.ap-tokyo.myqcloud.com/2022-12-18/1671373200-194325-227.png
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 :/)
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 :(
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.