@@ -13,56 +13,56 @@ java -jar revanced-cli.jar -h
13
13
## 📃 List patches
14
14
15
15
``` bash
16
- java -jar revanced-cli.jar list-patches --with-packages --with-versions --with-options revanced- patches.rvp
16
+ java -jar revanced-cli.jar list-patches --with-packages --with-versions --with-options patches.rvp
17
17
```
18
18
19
19
## 💉 Patch an app
20
20
21
21
To patch an app using the default list of patches, use the ` patch ` command:
22
22
23
23
``` bash
24
- java -jar revanced-cli.jar patch -b revanced- patches.rvp input.apk
24
+ java -jar revanced-cli.jar patch -p patches.rvp input.apk
25
25
```
26
26
27
- You can also use multiple patch bundles :
27
+ You can also use multiple files containing patches :
28
28
29
29
``` bash
30
- java -jar revanced-cli.jar patch -b revanced- patches.rvp -b another-patches.rvp input.apk
30
+ java -jar revanced-cli.jar patch -p patches.rvp -b another-patches.rvp input.apk
31
31
```
32
32
33
- To change the default set of used patches, use the option ` -i ` or ` -e ` to use or disuse specific patches.
34
- You can use the ` list-patches ` command to see which patches are used by default.
33
+ To change the default set of enabled or disabled patches, use the option ` -e ` or ` -d ` to enable or disable specific patches.
34
+ You can use the ` list-patches ` command to see which patches are enabled by default.
35
35
36
- To only use specific patches, you can use the option ` --exclusive ` combined with ` -i ` .
37
- Remember that the options ` -i ` and ` -e ` match the patch's name exactly. Here is an example:
36
+ To only enable specific patches, you can use the option ` --exclusive ` combined with ` -e ` .
37
+ Remember that the options ` -e ` and ` -d ` match the patch's name exactly. Here is an example:
38
38
39
39
``` bash
40
- java -jar revanced-cli.jar patch -b revanced- patches.rvp --exclusive -i " Patch name" -i " Another patch name" input.apk
40
+ java -jar revanced-cli.jar patch -p patches.rvp --exclusive -e " Patch name" -e " Another patch name" input.apk
41
41
```
42
42
43
- You can also use the options ` --ii ` and ` --ie ` to use or disuse patches by their index.
44
- This is useful, if two patches happen to have the same name.
43
+ You can also use the options ` --ei ` or ` --di ` to enable or disable patches by their index.
44
+ This is useful, if two patches happen to have the same name, or if typing the names is too cumbersome .
45
45
To know the indices of patches, use the command ` list-patches ` :
46
46
47
47
``` bash
48
- java -jar revanced-cli.jar list-patches revanced- patches.rvp
48
+ java -jar revanced-cli.jar list-patches patches.rvp
49
49
```
50
50
51
- Then you can use the indices to use or disuse patches:
51
+ Then you can use the indices to enable or disable patches:
52
52
53
53
``` bash
54
- java -jar revanced-cli.jar patch -b revanced- patches.rvp --ii 123 --ie 456 input.apk
54
+ java -jar revanced-cli.jar patch -b patches.rvp --ei 123 --di 456 input.apk
55
55
```
56
56
57
- You can combine the option ` -i ` , ` -e ` , ` --ii ` , ` --ie ` and ` --exclusive ` . Here is an example:
57
+ You can combine the option ` -e ` , ` -d ` , ` --ei ` , ` --di ` and ` --exclusive ` . Here is an example:
58
58
59
59
``` bash
60
- java -jar revanced-cli.jar patch -b revanced- patches.rvp --exclusive -i " Patch name" --ii 123 input.apk
60
+ java -jar revanced-cli.jar patch -p patches.rvp --exclusive -i " Patch name" --ei 123 input.apk
61
61
```
62
62
63
63
64
64
> [ !TIP]
65
- > You can use the option ` -d ` to automatically install the patched app after patching.
65
+ > You can use the option ` -i ` to automatically install the patched app after patching.
66
66
> Make sure ADB is working:
67
67
>
68
68
> ``` bash
@@ -83,26 +83,26 @@ Patches can have options you can set using the option `-O` alongside the option
83
83
To know the options of a patch, use the option ` --with-options` when listing patches:
84
84
85
85
` ` ` bash
86
- java -jar revanced-cli.jar list-patches --with-options revanced- patches.rvp
86
+ java -jar revanced-cli.jar list-patches --with-options patches.rvp
87
87
```
88
88
89
89
Each patch can have multiple options. You can set them using the option ` -O ` .
90
90
For example, to set the options for the patch with the name ` Patch name `
91
91
with the key ` key1 ` and ` key2 ` to ` value1 ` and ` value2 ` respectively, use the following command:
92
92
93
93
``` bash
94
- java -jar revanced-cli.jar patch -b revanced- patches.rvp -i " Patch name" -Okey1=value1 -Okey2=value2 input.apk
94
+ java -jar revanced-cli.jar patch -b patches.rvp -e " Patch name" -Okey1=value1 -Okey2=value2 input.apk
95
95
```
96
96
97
- If you want to set a value to ` null ` , you can omit the value:
97
+ If you want to set the option value to ` null ` , you can omit the value:
98
98
99
99
``` bash
100
100
java -jar revanced-cli.jar patch -b revanced-patches.rvp -i " Patch name" -Okey1 input.apk
101
101
```
102
102
103
103
> [ !WARNING]
104
104
> Option values are usually typed. If you set a value with the wrong type, the patch can fail.
105
- > Option value types can be seen when listing patches with the option ` --with-options ` .
105
+ > The value types can be seen when listing patches with the option ` --with-options ` .
106
106
>
107
107
> Example option values:
108
108
>
@@ -131,7 +131,7 @@ java -jar revanced-cli.jar patch -b revanced-patches.rvp -i "Patch name" -Okey1
131
131
> Example command with an escaped integer as a string:
132
132
>
133
133
> ``` bash
134
- > java -jar revanced-cli.jar -b revanced- patches.rvp -i " Patch name" -OstringKey=\' 1\' input.apk
134
+ > java -jar revanced-cli.jar -p patches.rvp -e " Patch name" -OstringKey=\' 1\' input.apk
135
135
> ` ` `
136
136
# # 📦 Install an app manually
137
137
0 commit comments