[Magisk] _dgj_:
insufficient boot partition size

Device: Huawei P8

I attempted to flash Magisk v12.0 zip via twrp, but got the following error message stating that the boot partition space is insufficient.

! Boot partition space insufficient

! Remove ramdisk backups and try again

! Boot partition size still too small...

! Unable to install Magisk

Updater process ended with ERROR: 1

I know this issue has been adressed in the past, but I still have the problem. Is there maybe a way to allocate /data space to /boot? Or is there another way to fix my problem?

full log here:

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP 3.1.1-0-9c3b7e99 on Sat Jun 17 16:05:48 2017
(pid 2804)
RECOVERY_SDCARD_ON_DATA := true
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled
I:TW_BRIGHTNESS_PATH := /sys/devices/platform/hisi_fb.1048577/leds/lcd_backlight0/brightness
I:Found brightness file at '/sys/devices/platform/hisi_fb.1048577/leds/lcd_backlight0/brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:LANG: en
Starting the UI...
setting DRM_FORMAT_RGB565 and GGL_PIXEL_FORMAT_RGB_565
cannot find/open a drm device: No such file or directory
fb0 reports (possibly inaccurate):
vi.bits_per_pixel = 32
vi.red.offset = 16 .length = 8
vi.green.offset = 8 .length = 8
vi.blue.offset = 0 .length = 8
setting GGL_PIXEL_FORMAT_BGRA_8888
double buffered
framebuffer: 0 (1080 x 1920)
Using fbdev graphics.
TW_SCREEN_BLANK_ON_BOOT := true
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:Loading package: splash (/twres/splash.xml)
I:Load XML directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly
I:Checking resolution...
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page splash
I:Switching packages (splash)
=> Linking mtab
Renaming regular /etc/recovery.fstab -> /etc/recovery.fstab.bak
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I:Processing '/boot'
I:Processing '/recovery'
I:Processing '/cache'
I:Processing '/cust'
I:Created '/cust' folder.
I:Processing '/oeminfo'
I:Processing '/misc'
I:Processing '/data'
I:Processing '/system'
I:Processing '/external_sd'
I:Created '/external_sd' folder.
I:Processing '/usb-otg'
I:Created '/usb-otg' folder.
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/S7M7N15720000616'
I:Settings storage is '/data/media/0'
Updating partition details...
I:Data backup size is 6415MB, free: 2632MB.
I:cmd: /sbin/exfat-fuse -o big_writes,max_read=131072,max_write=131072 /dev/block/mmcblk1p1 /external_sd
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Unmounting main partitions...

Partition Logs:
/boot | /dev/block/mmcblk0p27 | Size: 24MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p27
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/recovery | /dev/block/mmcblk0p28 | Size: 32MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p28
Display_Name: Recovery
Storage_Name: Recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/cache | /dev/block/mmcblk0p34 | Size: 247MB Used: 8MB Free: 239MB Backup Size: 8MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p34
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/cust | /dev/block/mmcblk0p39 | Size: 495MB Used: 458MB Free: 37MB Backup Size: 458MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk0p39
Display_Name: Cust
Storage_Name: Cust
Backup_Path: /cust
Backup_Name: cust
Backup_Display_Name: Cust
Storage_Path: /cust
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65537

/oeminfo | /dev/block/mmcblk0p8 | Size: 32MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p8
Display_Name: OEMinfo
Storage_Name: OEMinfo
Backup_Path: /oeminfo
Backup_Name: oeminfo
Backup_Display_Name: OEMinfo
Storage_Path: /oeminfo
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/misc | /dev/block/mmcblk0p19 | Size: 2MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p19
Display_Name: Misc
Storage_Name: Misc
Backup_Path: /misc
Backup_Name: misc
Backup_Display_Name: Misc
Storage_Path: /misc
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/data | /dev/block/mmcblk0p40 | Size: 10734MB Used: 6415MB Free: 2632MB Backup Size: 6415MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p40
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65538

/system | /dev/block/mmcblk0p38 | Size: 2479MB Used: 2260MB Free: 218MB Backup Size: 2260MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p38
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/external_sd | /dev/block/mmcblk1p1 | Size: 59672MB Used: 23207MB Free: 36464MB Backup Size: 23207MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: external_sd
Storage_Name: external_sd
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: external_sd
Storage_Path: /external_sd
Current_File_System: exfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65539

/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB OTG
Storage_Name: USB OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB OTG
Storage_Path: /usb-otg
Current_File_System: auto
Fstab_File_System: auto
Backup_Method: files
MTP_Storage_ID: 65540

I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading zip theme
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/it.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/el.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:PageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly
I:Checking resolution...
I:Loading resources...
I:Failed to load image from indeterminate013, error -1
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Including file: /twres/portrait.xml...
I:PageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page flash_sleep_and_reboot
I:Loading page flashimage_confirm
I:Loading page clear_vars
I:Loading page reboot_system_routine
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page appcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Loading page refreshfilesystem
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page backup_options
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/0/TWRP/BACKUPS/S7M7N15720000616'
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page system_readonly_check
I:Loading page reboot
I:Loading page rebootapp
I:Loading page system_readonly
I:Loading page settings
I:Loading page settings_timezone
I:Loading page settings_screen
I:Loading page settings_vibration
I:Loading page settings_language
I:Loading page copylog
I:Loading page advanced
I:Loading page partsdcardsel
I:Loading page partsdcardcheck
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageraction
I:Loading page decrypt
I:Loading page decrypt_pattern
I:Loading page trydecrypt
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page fixcontexts
I:Loading page installsu
I:Loading page slideout
I:Loading page select_storage
I:Loading page select_language
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
Boot command: boot-recovery
Startup Commands:
ro.com.google.clientidbase=android-google
ro.com.android.dataroaming=true
ro.com.android.wifi-watchlist=GoogleGuest
ro.boot.mode=normal
ro.boot.swtype=normal
ro.boot.selinux=permissive
ro.boot.hardware=hi3635
ro.boot.serialno=S7M7N15720000616
ro.omni.device=grace
ro.omni.version=6.0.1-20170517-grace-HOMEMADE
ro.twrp.boot=1
ro.twrp.version=3.1.1-0
ro.wifi.channels=
ro.allow.mock.location=1
ro.board.platform=hi3635
ro.build.id=MOB30M
ro.build.date=Wed May 17 12:08:17 UTC 2017
ro.build.date.utc=0
ro.build.hide=false
ro.build.host=5f51a4c0d870
ro.build.tags=test-keys
ro.build.type=eng
ro.build.user=jenkins
ro.build.flavor=omni_grace-eng
ro.build.display.id=omni_grace-eng 6.0.1 MOB30M 4 test-keys
ro.build.product=grace
ro.build.version.sdk=23
ro.build.version.base_os=
ro.build.version.release=6.0.1
ro.build.version.codename=REL
ro.build.version.incremental=4
ro.build.version.preview_sdk=0
ro.build.version.all_codenames=REL
ro.build.version.security_patch=2016-06-01
ro.build.description=omni_grace-eng 6.0.1 MOB30M 4 test-keys
ro.build.fingerprint=generic/omni_grace/grace:6.0.1/MOB30M/4:eng/test-keys
ro.build.characteristics=default
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.alarm_alert=Argon.ogg
ro.config.notification_sound=pixiedust.ogg
ro.dalvik.vm.native.bridge=0
ro.kernel.android.checkjni=1
ro.secure=0
ro.zygote=zygote32
ro.carrier=unknown
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.name=omni_grace
ro.product.board=hi3635
ro.product.brand=generic
ro.product.model=grace
ro.product.device=grace
ro.product.locale=en-US
ro.product.manufacturer=HUAWEI
ro.baseband=unknown
ro.bootmode=normal
ro.hardware=hi3635
ro.revision=0
ro.serialno=S7M7N15720000616
ro.bootimage.build.date=Wed May 17 12:11:11 UTC 2017
ro.bootimage.build.date.utc=1495023071
ro.bootimage.build.fingerprint=generic/omni_grace/grace:6.0.1/MOB30M/4:eng/test-keys
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=OmniROM-6.0.1-20170517-grace-HOMEMADE
ro.recovery_id=0xaaecfc4ec8f7e31ebcefb80d0c52bd1f9107951f000000000000000000000000
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
sys.usb.ffs.ready=1
init.svc.adbd=running
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.set_permissive=stopped
twrp.crash_counter=0
twrp.action_complete=0
debug.atrace.tags.enableflags=0
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
dalvik.vm.isa.arm64.variant=cortex-a53
dalvik.vm.isa.arm64.features=default
dalvik.vm.usejit=true
dalvik.vm.lockprof.threshold=500
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.dex2oat-filter=verify-at-runtime
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.image-dex2oat-filter=verify-at-runtime
persist.sys.usb.config=adb
persist.sys.dalvik.vm.lib.2=libart
persist.sys.root_access=1
service.adb.root=1
keyguard.no_require_sim=true

I:Copying file /cache/recovery/log to /cache/recovery/last_log
tw_get_context got selinux context: u:object_r:media_rw_data_file:s0
I:Got default contexts and file mode for storage files.
I:Attempt to load settings from settings file...
I:InfoManager loading from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/external_sd/TWRP/BACKUPS/S7M7N15720000616'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:cmd: /sbin/exfat-fuse -o big_writes,max_read=131072,max_write=131072 /dev/block/mmcblk1p1 /external_sd
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:Backup folder set to '/external_sd/TWRP/BACKUPS/S7M7N15720000616'
I:Starting MTP
I:[MTP] Starting MTP
I:sending message to add 65537 '/cust' 'Cust'
I:Message sent, add storage ID: 65537
I:sending message to add 65538 '/data/media/0' 'Internal Storage'
I:Message sent, add storage ID: 65538
I:sending message to add 65539 '/external_sd' 'Micro SDCard'
I:Message sent, add storage ID: 65539
MTP Enabled
I:Check_Lifetime_Writes result: '2325976'
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:[MTP] created new mtpserver object
I:[MTP] MtpServer::run fd: 17
I:[MTP] mtppipe add storage 65537 '/cust'
I:[MTP] MtpStorage id: 65537 path: /cust
I:[MTP] mtppipe add storage 65538 '/data/media/0'
I:[MTP] MtpStorage id: 65538 path: /data/media/0
I:[MTP] mtppipe add storage 65539 '/external_sd'
I:[MTP] MtpStorage id: 65539 path: /external_sd
I:Set page: 'install'
I:Set overlay: 'select_storage'
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/S7M7N15720000616'
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/sdcard/MagiskManager/Magisk-v12.0.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
Archive: /sdcard/MagiskManager/Magisk-v12.0.zip
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: arm/busybox
inflating: arm/magiskboot
inflating: arm/magiskhide
inflating: arm/magiskpolicy
inflating: arm/resetprop
inflating: arm/su
inflating: arm64/busybox
inflating: arm64/magiskboot
inflating: arm64/magiskhide
inflating: arm64/magiskpolicy
inflating: arm64/resetprop
inflating: arm64/su
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: common/custom_ramdisk_patch.sh
inflating: common/file_contexts_image
inflating: common/init.magisk.rc
inflating: common/magic_mask.sh
inflating: common/magisk.apk
inflating: common/magiskhide/add
inflating: common/magiskhide/disable
inflating: common/magiskhide/enable
inflating: common/magiskhide/list
inflating: common/magiskhide/rm
inflating: x64/busybox
inflating: x64/magiskboot
inflating: x64/magiskhide
inflating: x64/magiskpolicy
inflating: x64/resetprop
inflating: x64/su
inflating: x86/busybox
inflating: x86/magiskboot
inflating: x86/magiskhide
inflating: x86/magiskpolicy
inflating: x86/resetprop
inflating: x86/su
*****************************
Magisk v12.0 Boot Image Patcher
*****************************
- Mounting /system(ro), /cache, /data
- Device platform: arm64
- Constructing environment
- Creating /data/magisk.img
Creating filesystem with parameters:
Size: 67108864
Block size: 4096
Blocks per group: 32768
Inodes per group: 4096
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 16384
Block groups: 1
Reserved block group size: 7
Created filesystem with 11/4096 inodes and 1294/16384 blocks
- Mounting /data/magisk.img to /magisk
- Found Boot Image: /dev/block/mmcblk0p27
- Unpacking boot image
MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/dev/block/mmcblk0p27]

IMG [AOSP]
KERNEL [21085704] @ 0x00680000
RAMDISK [4022902] @ 0x07c00000
SECOND [0] @ 0x00f00000
DTB [0] @ 0x00200000
PAGESIZE [2048]
NAME []
CMDLINE [mem=3072M coherent_pool=512K mmcparts=mmcblk0:p1(vrl),p2(vrl_backup),p6(modemnvm_factory),p9(splash),p10(modemnvm_backup),p11(modemnvm_img),p12(modemnvm_system),p14(3rdmodemnvm),p15(3rdmodemnvmback),p17(modem_om),p20(modemnvm_update),p30(modem),p31(modem_dsp),p32(dfx),p33(3rdmodem) androidboot.selinux=enforcing ate_enable=true]
COMPRESSION [gzip]

Decompressing to [ramdisk.cpio]

- Checking patch status
MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

- SuperSU patched boot detected!
- Adding ramdisk patch script for SuperSU
- We are using SuperSU's own tools, mounting su.img
losetup: /data/su.img
- Mounting /data/su.img to /su
- Restoring ramdisk backup with sukernel
sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [ramdisk.cpio] ...

Archive does not contain backup
! Cannot restore from ramdisk
- Finding stock boot image backup with sukernel
sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [ramdisk.cpio] ...

Loading from cpio:[init.rc] ...

Finding [^# SuperSU:STOCK:]
-Found@0692 [# SuperSU:STOCK:a2c31cd0960646bbcd877b038e29e91b86b14e7c]

[/data/stock_boot_a2c31cd0960646bbcd877b038e29e91b86b14e7c.img.gz](13064621) --> [stock_boot.img](25165824)

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [stock_boot.img]

IMG [AOSP]
KERNEL [21085704] @ 0x00680000
RAMDISK [4020208] @ 0x07c00000
SECOND [0] @ 0x00f00000
DTB [0] @ 0x00200000
PAGESIZE [2048]
NAME []
CMDLINE [mem=3072M coherent_pool=512K mmcparts=mmcblk0:p1(vrl),p2(vrl_backup),p6(modemnvm_factory),p9(splash),p10(modemnvm_backup),p11(modemnvm_img),p12(modemnvm_system),p14(3rdmodemnvm),p15(3rdmodemnvmback),p17(modem_om),p20(modemnvm_update),p30(modem),p31(modem_dsp),p32(dfx),p33(3rdmodem) androidboot.selinux=enforcing ate_enable=true]
COMPRESSION [gzip]

Decompressing to [ramdisk.cpio]

- Patching ramdisk
sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [/dev/tmp/boottmp/ramdisk.cpio] ...

Removing [.subackup] ...
Could not locate entry

sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [/dev/tmp/boottmp/ramdisk.cpio] ...

Saving to [init.rc] ...

sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [/dev/tmp/boottmp/ramdisk.cpio] ...

Creating [init.rc] ...

Loading from [init.rc] ...

Saving to [/dev/tmp/boottmp/ramdisk.cpio] ...

sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [/dev/tmp/boottmp/ramdisk.cpio] ...

Saving to [sepolicy] ...

(Android M policy compatibility mode)
sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [/dev/tmp/boottmp/ramdisk.cpio] ...

Creating [sepolicy] ...

Loading from [sepolicy] ...

Saving to [/dev/tmp/boottmp/ramdisk.cpio] ...

sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [/dev/tmp/boottmp/ramdisk.cpio] ...

Creating [magisk] ...

Saving to [/dev/tmp/boottmp/ramdisk.cpio] ...

sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [/dev/tmp/boottmp/ramdisk.cpio] ...

Creating [init.magisk.rc] ...

Loading from [/data/magisk/init.magisk.rc] ...

Saving to [/dev/tmp/boottmp/ramdisk.cpio] ...

sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [/dev/tmp/boottmp/ramdisk.cpio] ...

Creating [sbin/magic_mask.sh] ...

Loading from [/data/magisk/magic_mask.sh] ...

Saving to [/dev/tmp/boottmp/ramdisk.cpio] ...

sukernel v2.82 (ndk:arm64-v8a) - Copyright (C) 2014-2017 - Chainfire & CCMT

Loading from [ramdisk.cpio.orig] ...

Loading from [ramdisk.cpio] ...

Append@0000 [+ init.magisk.rc]
Append@0001 [+ magisk]
Append@0002 [+ sbin/magic_mask.sh]
Creating [.subackup] ...

Append@0003 [* init.rc 0000_init.rc]
Creating [.subackup/0000_init.rc] ...

Append@0004 [* sepolicy 0001_sepolicy]
Creating [.subackup/0001_sepolicy] ...

Creating [.subackup/index] ...

Saving to [ramdisk.cpio] ...

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

- Repacking boot image
Boot partition too small!

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/dev/block/mmcblk0p27]

IMG [AOSP]
KERNEL [21085704] @ 0x00680000
RAMDISK [4022902] @ 0x07c00000
SECOND [0] @ 0x00f00000
DTB [0] @ 0x00200000
PAGESIZE [2048]
NAME []
CMDLINE [mem=3072M coherent_pool=512K mmcparts=mmcblk0:p1(vrl),p2(vrl_backup),p6(modemnvm_factory),p9(splash),p10(modemnvm_backup),p11(modemnvm_img),p12(modemnvm_system),p14(3rdmodemnvm),p15(3rdmodemnvmback),p17(modem_om),p20(modemnvm_update),p30(modem),p31(modem_dsp),p32(dfx),p33(3rdmodem) androidboot.selinux=enforcing ate_enable=true]
COMPRESSION [gzip]

Repack to boot image: [new-boot.img]

Compressing to [ramdisk.cpio.gz]

KERNEL [21085704] @ 0x00680000
RAMDISK [4090510] @ 0x07c00000
SECOND [0] @ 0x00f00000
DTB [0] @ 0x00200000
PAGESIZE [2048]
NAME []
CMDLINE [mem=3072M coherent_pool=512K mmcparts=mmcblk0:p1(vrl),p2(vrl_backup),p6(modemnvm_factory),p9(splash),p10(modemnvm_backup),p11(modemnvm_img),p12(modemnvm_system),p14(3rdmodemnvm),p15(3rdmodemnvmback),p17(modem_om),p20(modemnvm_update),p30(modem),p31(modem_dsp),p32(dfx),p33(3rdmodem) androidboot.selinux=enforcing ate_enable=true]
COMPRESSION [gzip]

! Boot partition space insufficient
! Remove ramdisk backups and try again
MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Dump cpio: [ramdisk.cpio]

Boot partition too small!

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/dev/block/mmcblk0p27]

IMG [AOSP]
KERNEL [21085704] @ 0x00680000
RAMDISK [4022902] @ 0x07c00000
SECOND [0] @ 0x00f00000
DTB [0] @ 0x00200000
PAGESIZE [2048]
NAME []
CMDLINE [mem=3072M coherent_pool=512K mmcparts=mmcblk0:p1(vrl),p2(vrl_backup),p6(modemnvm_factory),p9(splash),p10(modemnvm_backup),p11(modemnvm_img),p12(modemnvm_system),p14(3rdmodemnvm),p15(3rdmodemnvmback),p17(modem_om),p20(modemnvm_update),p30(modem),p31(modem_dsp),p32(dfx),p33(3rdmodem) androidboot.selinux=enforcing ate_enable=true]
COMPRESSION [gzip]

Repack to boot image: [new-boot.img]

Compressing to [ramdisk.cpio.gz]

KERNEL [21085704] @ 0x00680000
RAMDISK [4090527] @ 0x07c00000
SECOND [0] @ 0x00f00000
DTB [0] @ 0x00200000
PAGESIZE [2048]
NAME []
CMDLINE [mem=3072M coherent_pool=512K mmcparts=mmcblk0:p1(vrl),p2(vrl_backup),p6(modemnvm_factory),p9(splash),p10(modemnvm_backup),p11(modemnvm_img),p12(modemnvm_system),p14(3rdmodemnvm),p15(3rdmodemnvmback),p17(modem_om),p20(modemnvm_update),p30(modem),p31(modem_dsp),p32(dfx),p33(3rdmodem) androidboot.selinux=enforcing ate_enable=true]
COMPRESSION [gzip]

! Boot partition size still too small...
! Unable to install Magisk
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
I:Install took 10 second(s).
Error installing zip file '/sdcard/MagiskManager/Magisk-v12.0.zip'
Updating partition details...
I:Data backup size is 6481MB, free: 2623MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:Set overlay: ''
I:Set overlay: 'slideout'
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 255
Truncating string cache entries.
I:Set overlay: ''
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log