forked from arenekosreal/MagiskOnWSAScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8303798
Showing
7 changed files
with
554 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
out | ||
src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Oops, something went wrong.