Merge branch 'main' of https://git.lgoon.xyz/gabriel/magisk-update into dev-ivo
This commit is contained in:
commit
b99f91cf91
@ -1,4 +1,4 @@
|
||||
FROM debian:stable-slim
|
||||
FROM python:3.9.15-buster
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y \
|
||||
|
15
README.md
15
README.md
@ -1,5 +1,7 @@
|
||||
# Reinstall Magisk on Lineageos
|
||||
|
||||
This is a fork.
|
||||
|
||||
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.
|
||||
@ -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!
|
||||
|
||||
## 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 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user