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
e7842122
Commit
e7842122
authored
Mar 28, 2019
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tools docs
parent
66eb1078
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
75 additions
and
82 deletions
+75
-82
tools.md
docs/tools.md
+73
-80
main.cpp
native/jni/magiskboot/main.cpp
+2
-2
No files found.
docs/tools.md
View file @
e7842122
This diff is collapsed.
Click to expand it.
native/jni/magiskboot/main.cpp
View file @
e7842122
...
...
@@ -19,12 +19,12 @@ static void usage(char *arg0) {
"
\n
"
"Supported actions:
\n
"
" unpack [-h] <bootimg>
\n
"
" Unpack <bootimg> to, if available, kernel, ramdisk.cpio,
\n
"
" Unpack <bootimg> to, if available, kernel,
kernel_dtb,
ramdisk.cpio,
\n
"
" second, dtb, extra, and recovery_dtbo into current directory.
\n
"
" If '-h' is provided, it will dump header info to 'header',
\n
"
" which will be parsed when repacking.
\n
"
" Return values:
\n
"
" 0:valid 1:error 2:chromeos
3:ELF32 4:ELF64
\n
"
" 0:valid 1:error 2:chromeos
\n
"
"
\n
"
" repack <origbootimg> [outbootimg]
\n
"
" Repack boot image components from current directory
\n
"
...
...
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