Skip to content

Commit

Permalink
Clarify magiskboot requirements for repacking img
Browse files Browse the repository at this point in the history
  • Loading branch information
aviraxp authored and topjohnwu committed Sep 8, 2024
1 parent 310be7a commit 53d7cbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ Supported actions:
repack [-n] <origbootimg> [outbootimg]
Repack boot image components using files from the current directory
to [outbootimg], or 'new-boot.img' if not specified.
to [outbootimg], or 'new-boot.img' if not specified. Current directory
should only contain required files for [outbootimg], or incorrect
[outbootimg] may be produced.
<origbootimg> is the original boot image used to unpack the components.
By default, each component will be automatically compressed using its
corresponding format detected in <origbootimg>. If a component file
Expand Down
4 changes: 3 additions & 1 deletion native/src/boot/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ Supported actions:
repack [-n] <origbootimg> [outbootimg]
Repack boot image components using files from the current directory
to [outbootimg], or 'new-boot.img' if not specified.
to [outbootimg], or 'new-boot.img' if not specified. Current directory
should only contain required files for [outbootimg], or incorrect
[outbootimg] may be produced.
<origbootimg> is the original boot image used to unpack the components.
By default, each component will be automatically compressed using its
corresponding format detected in <origbootimg>. If a component file
Expand Down

0 comments on commit 53d7cbc

Please sign in to comment.