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
Supported actions:
unpack [-n] [-h]
Unpack to, if available, kernel, kernel_dtb, ramdisk.cpio,
second, dtb, extra, and recovery_dtbo into current directory.
If '-n' is provided, it will not attempt to decompress kernel or
ramdisk.cpio from their original formats.
If '-h' is provided, it will dump header info to 'header',
which will be parsed when repacking.
Return values:
0:valid 1:error 2:chromeos
repack [-n] [outbootimg]
Repack boot image components from current directory
to [outbootimg], or new-boot.img if not specified.
If '-n' is provided, it will not attempt to recompress ramdisk.cpio,
otherwise it will compress ramdisk.cpio and kernel with the same format
as in if the file provided is not already compressed.
If env variable PATCHVBMETAFLAG is set to true, all disable flags will
be set in the vbmeta header.
hexpatch
Search in , and replace with
cpio [commands...]
Do cpio commands to (modifications are done in-place)
Each command is a single argument, add quotes for each command
Supported commands:
exists ENTRY
Return 0 if ENTRY exists, else return 1
rm [-r] ENTRY
Remove ENTRY, specify [-r] to remove recursively
mkdir MODE ENTRY
Create directory ENTRY in permissions MODE
ln TARGET ENTRY
Create a symlink to TARGET with the name ENTRY
mv SOURCE DEST
Move SOURCE to DEST
add MODE ENTRY INFILE
Add INFILE as ENTRY in permissions MODE; replaces ENTRY if exists
extract [ENTRY OUT]
Extract ENTRY to OUT, or extract all entries to current directory
test
Test the current cpio's status
Return value is 0 or bitwise or-ed of following values:
0x1:Magisk 0x2:unsupported 0x4:Sony
patch
Apply ramdisk patches
Configure with env variables: KEEPVERITY KEEPFORCEENCRYPT
backup ORIG
Create ramdisk backups from ORIG
restore
Restore ramdisk from ramdisk backup stored within incpio
sha1
Print stock boot SHA1 if previously backed up in ramdisk
dtb [args...]
Do dtb related actions to
Supported actions:
print [-f]
Print all contents of dtb for debugging
Specify [-f] to only print fstab nodes
patch
Search for fstab and remove verity/avb
Modifications are done directly to the file in-place
Configure with env variables: KEEPVERITY
split
Split image.*-dtb into kernel + kernel_dtb
sha1
Print the SHA1 checksum for
cleanup
Cleanup the current working directory
compress[=format] [outfile]
Compress with [format] (default: gzip), optionally to [outfile]
/[outfile] can be '-' to be STDIN/STDOUT
Supported formats: gzip zopfli xz lzma bzip2 lz4 lz4_legacy lz4_lg
decompress [outfile]
Detect format and decompress , optionally to [outfile]
/[outfile] can be '-' to be STDIN/STDOUT
Supported formats: gzip zopfli xz lzma bzip2 lz4 lz4_legacy lz4_lg
! Boot image kernel_dtb was patched by old (unsupported) Magisk
! Please try again with unpatched boot image
! Installation failed
`
PS: Magisk is installed via the boot partition
The text was updated successfully, but these errors were encountered:
`- Copying zip to temp directory
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: module.prop
Magisk Autoboot
by anasfanani
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: customize.sh
Powered by Magisk
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: LICENSE
inflating: uninstall.sh
inflating: CHANGELOG.txt
inflating: module.prop
inflating: README.md
creating: scripts/
creating: scripts/files/
inflating: scripts/files/autoboot.sh
inflating: scripts/files/init.autoboot.rc
inflating: scripts/boot_patch.sh
creating: scripts/chromeos/
inflating: scripts/chromeos/kernel_data_key.vbprivk
inflating: scripts/chromeos/futility
inflating: scripts/chromeos/kernel.keyblock
inflating: scripts/util_functions.sh
inflating: customize.sh
inflating: update.json
Parsing boot image: [/dev/block/mmcblk0p21]
HEADER_VER [0]
KERNEL_SZ [31019883]
RAMDISK_SZ [2293748]
SECOND_SZ [0]
EXTRA_SZ [0]
OS_VERSION [8.1.0]
OS_PATCH_LEVEL [2019-10]
PAGESIZE [2048]
NAME []
CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 buildvariant=user]
CHECKSUM [338164ee204f218c732402932d345713113e2f15000000000000000000000000]
KERNEL_DTB_SZ [20997004]
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
Loading cpio: [ramdisk.cpio]
Loading cpio: [ramdisk.cpio]
Create directory [overlay.d] (0750)
Create directory [overlay.d/sbin] (0750)
Add entry [overlay.d/init.autoboot.rc] (0700)
Add entry [overlay.d/sbin/autoboot.sh] (0700)
Dump cpio: [ramdisk.cpio]
MagiskBoot - Boot Image Modification Tool
Usage: /data/adb/magisk/magiskboot [args...]
Supported actions:
unpack [-n] [-h]
Unpack to, if available, kernel, kernel_dtb, ramdisk.cpio,
second, dtb, extra, and recovery_dtbo into current directory.
If '-n' is provided, it will not attempt to decompress kernel or
ramdisk.cpio from their original formats.
If '-h' is provided, it will dump header info to 'header',
which will be parsed when repacking.
Return values:
0:valid 1:error 2:chromeos
repack [-n] [outbootimg]
Repack boot image components from current directory
to [outbootimg], or new-boot.img if not specified.
If '-n' is provided, it will not attempt to recompress ramdisk.cpio,
otherwise it will compress ramdisk.cpio and kernel with the same format
as in if the file provided is not already compressed.
If env variable PATCHVBMETAFLAG is set to true, all disable flags will
be set in the vbmeta header.
hexpatch
Search in , and replace with
cpio [commands...]
Do cpio commands to (modifications are done in-place)
Each command is a single argument, add quotes for each command
Supported commands:
exists ENTRY
Return 0 if ENTRY exists, else return 1
rm [-r] ENTRY
Remove ENTRY, specify [-r] to remove recursively
mkdir MODE ENTRY
Create directory ENTRY in permissions MODE
ln TARGET ENTRY
Create a symlink to TARGET with the name ENTRY
mv SOURCE DEST
Move SOURCE to DEST
add MODE ENTRY INFILE
Add INFILE as ENTRY in permissions MODE; replaces ENTRY if exists
extract [ENTRY OUT]
Extract ENTRY to OUT, or extract all entries to current directory
test
Test the current cpio's status
Return value is 0 or bitwise or-ed of following values:
0x1:Magisk 0x2:unsupported 0x4:Sony
patch
Apply ramdisk patches
Configure with env variables: KEEPVERITY KEEPFORCEENCRYPT
backup ORIG
Create ramdisk backups from ORIG
restore
Restore ramdisk from ramdisk backup stored within incpio
sha1
Print stock boot SHA1 if previously backed up in ramdisk
dtb [args...]
Do dtb related actions to
Supported actions:
print [-f]
Print all contents of dtb for debugging
Specify [-f] to only print fstab nodes
patch
Search for fstab and remove verity/avb
Modifications are done directly to the file in-place
Configure with env variables: KEEPVERITY
split
Split image.*-dtb into kernel + kernel_dtb
sha1
Print the SHA1 checksum for
cleanup
Cleanup the current working directory
compress[=format] [outfile]
Compress with [format] (default: gzip), optionally to [outfile]
/[outfile] can be '-' to be STDIN/STDOUT
Supported formats: gzip zopfli xz lzma bzip2 lz4 lz4_legacy lz4_lg
decompress [outfile]
Detect format and decompress , optionally to [outfile]
/[outfile] can be '-' to be STDIN/STDOUT
Supported formats: gzip zopfli xz lzma bzip2 lz4 lz4_legacy lz4_lg
! Boot image kernel_dtb was patched by old (unsupported) Magisk
! Please try again with unpatched boot image
! Installation failed
`
PS: Magisk is installed via the boot partition
The text was updated successfully, but these errors were encountered: