Giter Site home page Giter Site logo

wsa-linux-kernel's Introduction

WSA-Linux-Kernel

Mirror for the Windows Subsystem for Android (WSA) kernel source code, and superuser.

Branches

GitHub Actions

This repository uses GitHub Actions to automatically build kernel images from source.

WSA Kernel Build

  • x86_64
  • arm64

WSA Kernel Build (Superuser)

  • X86_64 - Superuser
  • arm64 - Superuser

wsa-kernelsu-addons

Automatically add stuffs required by kernelsu for WSA kernel tree. From inside a kernelsu-patched kernel tree of yours:

curl -LsS "https://raw.githubusercontent.com/WSA-Community/WSA-Linux-Kernel/master/wsa-kernelsu-addons.sh" | bash -

Kernel source commit history

The repository only mirrors the official source code provided by Microsoft. Microsoft does not provide an official commit history.

However, according to alk3pInjection, the WSA kernel source code is a merge of Android Common Kernel on top of WSL2.

For more details, please refer to alk3p/WSA-Linux-Kernel.

Credits

License

Kernel source code (source and kernelsu branch) is licensed under the GPL v2.

wsa-linux-kernel's People

Contributors

mlgmxyysd 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

wsa-linux-kernel's Issues

So su binary

Its not a full android kernel.At least implement su binary

WARNING: linker: Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)

My device is Surface Pro X with SQ2.

  1. Downloaded MicrosoftCorporationII.WindowsSubsystemForAndroid_1.7.32815.0_neutral___8wekyb3d8bbwe.Msixbundle
  2. Unzipped Msixbundle
  3. Unzipped WsaPackage_1.7.32815.0_ARM64_Release-Nightly.msix
  4. Replaced kernel-arm64 with Tools\kernel
  5. Removed appxblockmap, appxsignature, content_types and entire appxmetadata
  6. Add-AppxPackage -Register .\AppxManifest.xml
  7. Ran WSA
  8. Enabled developer settings & debug over wifi
  9. adb connect
    and then:
C:\Users\user\Downloads\platform-tools_r31.0.3-windows\platform-tools>adb shell
WARNING: linker: Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
windows_arm64:/ $
windows_arm64:/ $ su
WARNING: linker: Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
windows_arm64:/ # ls
WARNING: linker: Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
acct        cache   data_mirror    etc                  linkerconfig  odm      sdcard   system_ext
apex        config  debug_ramdisk  fstab.windows_arm64  lost+found    oem      storage  vendor
bin         d       default.prop   init                 metadata      proc     sys
bugreports  data    dev            init.environ.rc      mnt           product  system
windows_arm64:/ #
windows_arm64:/ #

adb install doesn't work for me:

adb install ..\..\APKPure_v3.17.28_apkpure.com.apk
Performing Streamed Install
adb: failed to install ..\..\APKPure_v3.17.28_apkpure.com.apk: ☻→

Fortunately, adb push & pm install works.

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.