Better readme
This commit is contained in:
parent
fe5cc70ab2
commit
f73cab41d1
15
README.md
15
README.md
@ -1,5 +1,7 @@
|
|||||||
# Reinstall Magisk on Lineageos
|
# Reinstall Magisk on Lineageos
|
||||||
|
|
||||||
|
This is a fork.
|
||||||
|
|
||||||
This little bash script is used to reinstall magisk, which gets uninstalled after each LineageOS update.
|
This little bash script is used to reinstall magisk, which gets uninstalled after each LineageOS update.
|
||||||
|
|
||||||
Before I had to patch once more the boot using the Magisk app doing all the steps manually, making some mistakes along the way. Now it takes less than 3 minutes to reinstall magisk (virtually all the time is taken by the download), and without any intervention on my part.
|
Before I had to patch once more the boot using the Magisk app doing all the steps manually, making some mistakes along the way. Now it takes less than 3 minutes to reinstall magisk (virtually all the time is taken by the download), and without any intervention on my part.
|
||||||
@ -15,11 +17,22 @@ Moreover it needs root privileges on your phone to run.
|
|||||||
|
|
||||||
So it may screw up both your computer and your phone, so I invite you to check its source code before running it and using it at your own risks!
|
So it may screw up both your computer and your phone, so I invite you to check its source code before running it and using it at your own risks!
|
||||||
|
|
||||||
|
## Docker
|
||||||
|
|
||||||
|
We use docker to make it fastly reproducible.
|
||||||
|
Steps:
|
||||||
|
|
||||||
|
1. Build <br>
|
||||||
|
```docker build -t magiskupdate .```
|
||||||
|
2. Run <br>
|
||||||
|
```docker run --env ADB_DEVICE=<PUT YOUR ADB ADDR HERE> magiskupdate```
|
||||||
|
|
||||||
|
|
||||||
## Bash
|
## Bash
|
||||||
|
|
||||||
Bash is one of the standard shells on Linux and MacOS systems.
|
Bash is one of the standard shells on Linux and MacOS systems.
|
||||||
|
|
||||||
If on Windows, you can use the [Windows Subsystem for Linux](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux) to run it. See [this guide](https://docs.microsoft.com/en-us/windows/wsl/install) to install it.
|
If on Windows, you should run linux.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user