You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/1_usage.md
+15-17
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Learn how to ReVanced CLI.
10
10
adb shell exit
11
11
```
12
12
13
-
If you want to deploy the patched APK file on your device by mounting it on top of the original APK file, you will need root access. This is optional.
13
+
If you want to install the patched APK file on your device by mounting it on top of the original APK file, you will need root access. This is optional.
14
14
15
15
```bash
16
16
adb shell su -c exit
@@ -33,8 +33,7 @@ Learn how to ReVanced CLI.
33
33
-### 📃 List patches from supplied patch bundles
34
34
35
35
```bash
36
-
java -jar revanced-cli.jar \
37
-
list-patches \
36
+
java -jar revanced-cli.jar list-patches \
38
37
--with-packages \
39
38
--with-versions \
40
39
--with-options \
@@ -49,40 +48,39 @@ Learn how to ReVanced CLI.
49
48
50
49
> **Note**: The `options.json` file will be generated at the first time you use ReVanced CLI to patch an APK file for now. This will be changed in the future.
51
50
52
-
-### 💉 Use ReVanced CLI to patch an APK file but deploy without root permissions
51
+
-### 💉 Use ReVanced CLI to patch an APK file but install without root permissions
53
52
54
-
This will deploy the patched APK file on your device by installing it.
53
+
This will install the patched APK file regularly on your device.
55
54
56
55
```bash
57
-
java -jar revanced-cli.jar \
58
-
-a input.apk \
59
-
-o patched-output.apk \
56
+
java -jar revanced-cli.jar patch \
60
57
-b revanced-patches.jar \
61
-
-d device-serial
58
+
-o patched-output.apk \
59
+
-d device-serial \
60
+
input-apk
62
61
```
63
62
64
-
-### 👾 Use ReVanced CLI to patch an APK file but deploy with root permissions
63
+
-### 👾 Use ReVanced CLI to patch an APK file but install with root permissions
65
64
66
-
This will deploy the patched APK file on your device by mounting it on top of the original APK file.
65
+
This will install the patched APK file on your device by mounting it on top of the original APK file.
67
66
68
67
```bash
69
68
adb install input.apk
70
-
java -jar revanced-cli.jar \
71
-
-a input.apk \
69
+
java -jar revanced-cli.jar patch \
72
70
-o patched-output.apk \
73
71
-b revanced-patches.jar \
74
-
-e vanced-microg-support \
72
+
-e some-patch \
75
73
-d device-serial \
76
-
--mount
74
+
--mount \
75
+
input-apk
77
76
```
78
77
79
78
> **Note**: Some patches from [ReVanced Patches](https://github.com/revanced/revanced-patches) also require [ReVanced Integrations](https://github.com/revanced/revanced-integrations). Supply them with the option `-m`. ReVanced Patcher will merge ReVanced Integrations automatically, depending on if the supplied patches require them.
0 commit comments