Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
4c9f5f46
Commit
4c9f5f46
authored
Sep 15, 2017
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support patching second slot
parent
b80ba13c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
176 additions
and
138 deletions
+176
-138
MagiskManager.java
app/src/main/java/com/topjohnwu/magisk/MagiskManager.java
+1
-0
Utils.java
app/src/main/java/com/topjohnwu/magisk/utils/Utils.java
+174
-138
strings.xml
app/src/main/res/values/strings.xml
+1
-0
No files found.
app/src/main/java/com/topjohnwu/magisk/MagiskManager.java
View file @
4c9f5f46
...
@@ -229,6 +229,7 @@ public class MagiskManager extends Application {
...
@@ -229,6 +229,7 @@ public class MagiskManager extends Application {
"export PATH="
+
BUSYBOXPATH
+
":$PATH"
,
"export PATH="
+
BUSYBOXPATH
+
":$PATH"
,
". "
+
utils
,
". "
+
utils
,
"mount_partitions"
,
"mount_partitions"
,
"BOOTIMAGE="
,
"find_boot_image"
,
"find_boot_image"
,
"migrate_boot_backup"
"migrate_boot_backup"
);
);
...
...
app/src/main/java/com/topjohnwu/magisk/utils/Utils.java
View file @
4c9f5f46
This diff is collapsed.
Click to expand it.
app/src/main/res/values/strings.xml
View file @
4c9f5f46
...
@@ -114,6 +114,7 @@
...
@@ -114,6 +114,7 @@
<string
name=
"download_zip_only"
>
Download Zip Only
</string>
<string
name=
"download_zip_only"
>
Download Zip Only
</string>
<string
name=
"patch_boot_file"
>
Patch Boot Image File
</string>
<string
name=
"patch_boot_file"
>
Patch Boot Image File
</string>
<string
name=
"direct_install"
>
Direct Install (Recommend)
</string>
<string
name=
"direct_install"
>
Direct Install (Recommend)
</string>
<string
name=
"install_second_slot"
>
Install to Second Slot (After OTA)
</string>
<string
name=
"select_method"
>
Select Method
</string>
<string
name=
"select_method"
>
Select Method
</string>
<string
name=
"no_boot_file_patch_support"
>
Target Magisk version doesn\'t support boot image file patching
</string>
<string
name=
"no_boot_file_patch_support"
>
Target Magisk version doesn\'t support boot image file patching
</string>
<string
name=
"boot_file_patch_msg"
>
Select stock boot image dump in .img or .img.tar format
</string>
<string
name=
"boot_file_patch_msg"
>
Select stock boot image dump in .img or .img.tar format
</string>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment