[DISCUSSION] Windows Subsystem for Android

Discussion in 'Windows 11' started by itsmemario1, Sep 12, 2021.

  1. ashoktvm

    ashoktvm MDL Addicted

    Jul 29, 2009
    521
    49
    30
    You need to install it from Programs and features in Control panel
    upload_2021-10-28_10-18-52.png
     
  2. toyo

    toyo MDL Senior Member

    Aug 14, 2009
    472
    313
    10
    Disappointed that this feature essentially requires VBS, which degrades performance somewhat.
    Was able to install it, the Amazon Store is not enabled in my country, so even if the OS is all US/English regional settings, it blocks access from IP. Not gonna bother with VPN just for this.
    Had to enable Virtual Machine Platform from Features. Disabling it now and uninstalling WSA, interesting feature, but not worth it in its current form at least not for me.
     
  3. ashoktvm

    ashoktvm MDL Addicted

    Jul 29, 2009
    521
    49
    30
    #83 ashoktvm, Oct 29, 2021
    Last edited: Oct 31, 2021
    U don't need to use a VPN for the amazon US store. u just need US amazon account. Also, u don't need even an amazon account to sideload apps. The only downside is take around 2GB ram
     
  4. richwood

    richwood MDL Novice

    Nov 16, 2013
    36
    27
    0
    #84 richwood, Nov 2, 2021
    Last edited by a moderator: Nov 2, 2021
    I can get the WSA settings window open but when clicking on "manage developer settings" under "Developer mode" the "Starting Windows Subsystem For Android" will appear for a few seconds and crash.
    This is what's being logged -
    Code:
    Microsoft (R) Windows Debugger Version 10.0.22415.1003 AMD64
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    
    Loading Dump File [C:\Users\richs\AppData\Local\CrashDumps\WsaClient.exe.13956.dmp]
    User Mini Dump File: Only registers, stack and portions of memory are available
    
    Symbol search path is: srv*
    Executable search path is:
    Windows 10 Version 22000 MP (8 procs) Free x64
    Product: WinNt, suite: SingleUserTS
    Edition build lab: 22000.1.amd64fre.co_release.210604-1628
    Machine Name:
    Debug session time: Tue Nov  2 11:41:18.000 2021 (UTC + 8:00)
    System Uptime: not available
    Process Uptime: 0 days 0:00:04.000
    ................................................................
    ...................................................
    Loading unloaded module list
    ..
    This dump file has an exception of interest stored in it.
    The stored exception information can be accessed via .ecxr.
    (3684.1e34): Security check failure or stack buffer overrun - code c0000409 (first/second chance not available)
    Subcode: 0x7 FAST_FAIL_FATAL_APP_EXIT
    For analysis of this file, run !analyze -v
    *** WARNING: Unable to verify checksum for gfxstream_backend.dll
    ucrtbase!abort+0x4e:
    00007ffc`73eadd7e cd29            int     29h
    0:000> !analyze -v
    *******************************************************************************
    *                                                                             *
    *                        Exception Analysis                                   *
    *                                                                             *
    *******************************************************************************
    
    
    KEY_VALUES_STRING: 1
    
       Key  : Analysis.CPU.mSec
       Value: 2531
    
       Key  : Analysis.DebugAnalysisManager
       Value: Create
    
       Key  : Analysis.Elapsed.mSec
       Value: 4592
    
       Key  : Analysis.Init.CPU.mSec
       Value: 296
    
       Key  : Analysis.Init.Elapsed.mSec
       Value: 15372
    
       Key  : Analysis.Memory.CommitPeak.Mb
       Value: 192
    
       Key  : FailFast.Name
       Value: FATAL_APP_EXIT
    
       Key  : FailFast.Type
       Value: 7
    
       Key  : Timeline.Process.Start.DeltaSec
       Value: 4
    
       Key  : WER.OS.Branch
       Value: co_release
    
       Key  : WER.OS.Timestamp
       Value: 2021-06-04T16:28:00Z
    
       Key  : WER.OS.Version
       Value: 10.0.22000.1
    
       Key  : WER.Process.Version
       Value: 1.7.32815.0
    
    
    NTGLOBALFLAG:  0
    
    PROCESS_BAM_CURRENT_THROTTLED: 0
    
    PROCESS_BAM_PREVIOUS_THROTTLED: 0
    
    APPLICATION_VERIFIER_FLAGS:  0
    
    CONTEXT:  (.ecxr)
    rax=0000000000000001 rbx=0000000000000001 rcx=0000000000000007
    rdx=000000000000000f rsi=00007ffc36d9af30 rdi=0000000000000000
    rip=00007ffc73eadd7e rsp=000000863697e6c0 rbp=000000863697e770
     r8=0000000000000001  r9=000000863697e668 r10=0000000000000012
    r11=000000863697e540 r12=0000000000100501 r13=0000000000000000
    r14=0000000000000000 r15=0000000000000000
    iopl=0         nv up ei pl nz na pe nc
    cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000202
    ucrtbase!abort+0x4e:
    00007ffc`73eadd7e cd29            int     29h
    Resetting default scope
    
    EXCEPTION_RECORD:  (.exr -1)
    ExceptionAddress: 00007ffc73eadd7e (ucrtbase!abort+0x000000000000004e)
       ExceptionCode: c0000409 (Security check failure or stack buffer overrun)
      ExceptionFlags: 00000001
    NumberParameters: 1
       Parameter[0]: 0000000000000007
    Subcode: 0x7 FAST_FAIL_FATAL_APP_EXIT
    
    PROCESS_NAME:  WsaClient.exe
    
    ERROR_CODE: (NTSTATUS) 0xc0000409 - The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.
    
    EXCEPTION_CODE_STR:  c0000409
    
    EXCEPTION_PARAMETER1:  0000000000000007
    
    STACK_TEXT:
    00000086`3697e6c0 00007ffc`3686d1de     : 00000000`00000003 00007ffc`00000003 00000086`3697e0e8 00000086`3697e110 : ucrtbase!abort+0x4e
    00000086`3697e6f0 00007ff6`50c8adf8     : 00000000`00000001 00000000`00000000 00000086`3697ea40 00000000`00000000 : gfxstream_backend!gfxstream_backend_init+0x85e
    00000086`3697e840 00007ff6`50c48cfc     : 000001bf`ec69c8f0 00000086`3697ea60 000001bf`ec69c8f0 000001bf`ec680850 : WsaClient+0x7adf8
    00000086`3697e960 00007ff6`50c48a54     : 00000000`00000001 00000086`3697edc0 00000000`0017054a 00000000`00000001 : WsaClient+0x38cfc
    00000086`3697eab0 00007ffc`75c71c4c     : 00000000`00000001 00000086`3697efa0 00000000`00000000 00000000`80000022 : WsaClient+0x38a54
    00000086`3697eaf0 00007ffc`75c7179c     : 00000000`00000000 00007ff6`50c489f0 00000000`0017054a 00000000`00000001 : user32!UserCallWinProcCheckWow+0x33c
    00000086`3697ec60 00007ffc`75c652d1     : 00000000`00000000 00000000`00000000 00000000`00000000 00007ffc`75c71aed : user32!DispatchClientMessage+0x9c
    00000086`3697ecc0 00007ffc`764a72b4     : 00000000`00000008 00007ffc`75c7179c 00000000`00000008 00007ff6`50c489f0 : user32!__fnINLPCREATESTRUCT+0x91
    00000086`3697ed20 00007ffc`74262174     : 00007ffc`75c6869c ffffffff`ffff0000 00000000`00000000 00000086`3697f2f8 : ntdll!KiUserCallbackDispatcherContinue
    00000086`3697ee88 00007ffc`75c6869c     : ffffffff`ffff0000 00000000`00000000 00000086`3697f2f8 00000086`3697ef50 : win32u!NtUserCreateWindowEx+0x14
    00000086`3697ee90 00007ffc`75c68281     : 00000000`00000006 00000000`00000000 00000000`00000000 00000000`00000000 : user32!VerNtUserCreateWindowEx+0x21c
    00000086`3697f220 00007ffc`75c680b2     : 00000000`00000000 00007ff6`50e7e910 00000000`00000000 ffffffff`ffffffff : user32!CreateWindowInternal+0x1bd
    00000086`3697f380 00007ff6`50c478bb     : 000001bf`ec680840 000001bf`ec680840 00000000`00000000 000001bf`ec680850 : user32!CreateWindowExW+0x82
    00000086`3697f410 00007ff6`50c172ec     : 00000000`00000005 000001bf`ec603f86 000001bf`ec603f86 00007ff6`50c10000 : WsaClient+0x378bb
    00000086`3697f860 00007ff6`50e20bb2     : 00000000`00000005 00000000`00000000 00000000`00000000 00000000`00000000 : WsaClient+0x72ec
    00000086`3697f9b0 00007ffc`74fa54e0     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : WsaClient+0x210bb2
    00000086`3697f9f0 00007ffc`7640485b     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x10
    00000086`3697fa20 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x2b
    
    
    SYMBOL_NAME:  ucrtbase!abort+4e
    
    MODULE_NAME: ucrtbase
    
    IMAGE_NAME:  ucrtbase.dll
    
    STACK_COMMAND:  ~0s ; .ecxr ; kb
    
    FAILURE_BUCKET_ID:  FAIL_FAST_FATAL_APP_EXIT_c0000409_ucrtbase.dll!abort
    
    OS_VERSION:  10.0.22000.1
    
    BUILDLAB_STR:  co_release
    
    OSPLATFORM_TYPE:  x64
    
    OSNAME:  Windows 10
    
    IMAGE_VERSION:  10.0.22000.1
    
    FAILURE_ID_HASH:  {e31753ac-c98a-8055-3663-47e707543d20}
    
    Followup:     MachineOwner
    ---------
    
    0:000> .ecxr
    rax=0000000000000001 rbx=0000000000000001 rcx=0000000000000007
    rdx=000000000000000f rsi=00007ffc36d9af30 rdi=0000000000000000
    rip=00007ffc73eadd7e rsp=000000863697e6c0 rbp=000000863697e770
     r8=0000000000000001  r9=000000863697e668 r10=0000000000000012
    r11=000000863697e540 r12=0000000000100501 r13=0000000000000000
    r14=0000000000000000 r15=0000000000000000
    iopl=0         nv up ei pl nz na pe nc
    cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000202
    ucrtbase!abort+0x4e:
    00007ffc`73eadd7e cd29            int     29h
    
     
  5. MrG

    MrG MDL Expert

    May 31, 2010
    1,397
    1,602
    60
    @ richwood
    I had that problem also.
    So I refreshed the IP
    Address until it showed up, then WSA didn't crash anymore.
     
  6. brave_eagle

    brave_eagle MDL Novice

    May 8, 2017
    1
    0
    0
    update to: 1.7.32815.0
    2021.Nov.02
     
  7. hellodongfang

    hellodongfang MDL Novice

    Mar 7, 2014
    26
    14
    0
    That's the original version released long ago.
     
  8. microtechton

    microtechton MDL Member

    Sep 11, 2018
    112
    810
    10
    Hmm, I wonder why Microsoft does not offer WSA with root from the factory, considering they want developers to build apps for this as well.

    Although, there have been modifications already on GitHub which allow a user to obtain root.
     
  9. computera

    computera MDL Novice

    Jan 20, 2017
    1
    0
    0
    After run WSA when click on Manage Developer settings open a new windows but after few seconds close it How can solve it? I test on new windows 11 and any version of WSA
    Image:ibb.co/THykDkK
     
  10. mahesh shah

    mahesh shah MDL Novice

    Nov 11, 2021
    1
    0
    0
    It is good and safe to use Windows subsystem linux on Windows 11?
     
  11. itsmemario1

    itsmemario1 MDL Expert

    Sep 10, 2012
    1,046
    280
    60
    This sounds like a lot of fun. :p
     
  12. richwood

    richwood MDL Novice

    Nov 16, 2013
    36
    27
    0
    which GPU do you have?
    I had the same error but when I changed the graphics to Intel the problem was fixed.
    I think this problem occurs due to a current incompatible GPU.
     
  13. Opa114

    Opa114 MDL Novice

    Aug 28, 2009
    37
    4
    0
    How can i access the Android Filesystem from Windows (like Windows Explorer). WSL gives the ability but Android Subsystem not yet as i can see. I know there is a way by installing SMB-Server-App, but i want a "built-in" way.
     
  14. yejin

    yejin MDL Novice

    Jan 12, 2022
    1
    0
    0
    #99 yejin, Jan 12, 2022
    Last edited by a moderator: Jan 14, 2022
    Does anyone know how to setup proxy for wsa? I have tried various methods to no avail.
     
  15. Jessie Pinkman

    Jessie Pinkman MDL Addicted

    Aug 25, 2016
    502
    232
    30
    and this has what to do with 11 ya didnt say what OS your using