mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-05-09 11:04:27 +02:00
update readme
This commit is contained in:
parent
b8edb62ffe
commit
3ec5883e09
20
README.md
20
README.md
@ -4,30 +4,30 @@
|
||||
|
||||
This repo includes a simple script that downloads all the latest version of necessary prebuilt revanced tools and the stock APKs of YouTube and YouTube Music from APKMirror, applies the patches and creates magisk modules.
|
||||
|
||||
You will need to **install the stock YouTube (or YT Music) app matching with the module's version on your phone**, there is no need for the split APKs or SAI anymore, the regular APK is just fine. The link is also provided in release notes.
|
||||
You will need to **install the stock YouTube (or YT Music) app matching with the module's version on your phone**. The link is also provided in release notes.
|
||||
|
||||
You can get the [latest CI release](https://github.com/j-hc/revanced-magisk-module/releases) from here.
|
||||
You can get the [latest CI release from here](https://github.com/j-hc/revanced-magisk-module/releases).
|
||||
|
||||
## Updating
|
||||
The modules support Magisk update which means you will receive updates from your Magisk app, downloading from github releases and reflashing is not necessary.
|
||||
To be able to update YouTube when the patches support a higher version, you will need to:
|
||||
To be able to update YouTube version, you will need to:
|
||||
* Disable the module
|
||||
* Reboot
|
||||
* Install the APK of the new version
|
||||
* Install the APK of the new YouTube
|
||||
* Update the module and reboot again
|
||||
|
||||
Or you can manually unmount the app.
|
||||
|
||||
## Note
|
||||
If you wish to include/exclude some patches to your liking:
|
||||
If you wish to include/exclude some patches:
|
||||
* Star the repo :eyes:
|
||||
* Fork the repo
|
||||
* Use the repo as template *or fork it* (if you choose the repo to be private, you won't receive updates from Magisk app)
|
||||
* Edit the patcher args in [`build.conf`](./build.conf)
|
||||
* Run the [workflow](../../actions/workflows/build.yml)
|
||||
* Grab your modules from [releases](../../releases)
|
||||
|
||||
### **Note that the [CI workflow](../../actions/workflows/ci.yml) is scheduled to build the modules and APKs everyday if there is a change. You may want to disable it.**
|
||||
|
||||
# Building the Magisk Modules
|
||||
If you are going to build locally, make sure you have [Azul Zulu distribution of OpenJDK 17](https://www.azul.com/downloads/?version=java-17-lts&os=linux&architecture=x86-64-bit&package=jdk)
|
||||
# Building the Magisk Modules Locally
|
||||
Make sure you have [Azul Zulu distribution of OpenJDK 17](https://www.azul.com/downloads/?version=java-17-lts&os=linux&architecture=x86-64-bit&package=jdk) and run:
|
||||
|
||||
```console
|
||||
$ ./build.sh build
|
||||
|
3
utils.sh
3
utils.sh
@ -85,6 +85,7 @@ get_patch_last_supported_ver() {
|
||||
|
||||
patch_apk() {
|
||||
local stock_input=$1 patched_output=$2 patcher_args=$3
|
||||
#shellcheck disable=SC2086
|
||||
java -jar "$RV_CLI_JAR" -a "$stock_input" -c -o "$patched_output" -b "$RV_PATCHES_JAR" -m "$RV_INTEGRATIONS_APK" --keystore=ks.keystore $patcher_args
|
||||
}
|
||||
|
||||
@ -96,7 +97,6 @@ zip_module() {
|
||||
cd ..
|
||||
}
|
||||
|
||||
|
||||
build_twitter() {
|
||||
echo "Building Twitter"
|
||||
local last_ver
|
||||
@ -187,6 +187,7 @@ build_music() {
|
||||
}
|
||||
|
||||
service_sh() {
|
||||
#shellcheck disable=SC2016
|
||||
local s='while [ "$(getprop sys.boot_completed)" != 1 ]; do
|
||||
sleep 1
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user