Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
arenekosreal committed Nov 18, 2021
0 parents commit 8303798
Show file tree
Hide file tree
Showing 7 changed files with 554 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
out
src
22 changes: 22 additions & 0 deletions Kconfig.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/drivers/base/superuser/Kconfig b/drivers/base/superuser/Kconfig
index 3481f5d..185618f 100644
--- a/drivers/base/superuser/Kconfig
+++ b/drivers/base/superuser/Kconfig
@@ -11,12 +11,12 @@ config ASSISTED_SUPERUSER

config HIDE_ASSISTED_SUPERUSER
bool "hide Kernel-assisted superuser"
- depends on ASSISTED_SUPERUSER
+ depends on ASSISTED_SUPERUSER
help
- When this option is on, only processes with uid/gid=0/2000
- will has the permission to access /system/xbin/su. Other
- processes will never have permission to access/stat/exec
- su binary.
+ When this option is on, only processes with uid/gid=0/2000 will has
+ the permission to access /system/xbin/su. Other processes will never
+ have permission to access/stat/exec su binary.

Say N here unless you have a vendetta against kittens.
+
endmenu
13 changes: 13 additions & 0 deletions LICENCE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2004 Sam Hocevar <[email protected]>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Magisk On WSA

## What is this?

A script to compile Magisk and Riru module for using LSPosed on WSA

## How to Use?

Install requirements listed in script, prepare a good network connection and enough space, then run `bash build.sh` and follow the script output to deploy it to Windows.

## What will have in the final artifacts?

- A modified WSA Develop Package
- Deploy PowerShell Script
- Modified Riru Magisk module for WSA

## Why create this script?

The original plan to use Magisk on WSA is from [LSPosed](https://github.com/LSPosed/MagiskOnWSA), I just do all the thing in a shell script.
Loading

0 comments on commit 8303798

Please sign in to comment.