Closed IzaacJ closed 7 years ago
If you flash Magisk in the recovery, it should be able to find the boot image. The current v9 zip has a typo in the script which causes that functionality to be broken. Please wait for the next release, thanks!
This issue has been present for the past few releases. phusson on xda has tried to help me by fixing typos in the script w/o success.
Still not working.
* Magisk v13.1 Installer
************************
- Mounting /system, /vendor, /cache, /data
- Device platform: arm
- 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/bootimg
sh: gid=0(root): unknown operand
Bad mode
- Unpacking boot image
mmap failed with 12: Out of memory
MagiskBoot v13.1(1310) (by topjohnwu) - Boot Image Modification Tool
! Unable to unpack boot image
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
Error installing zip file '/sdcard/Zips/Magisk-v13.1.zip'
Updating partition details...
I:Data backup size is 165MB, free: 4897MB.
I:Unable to mount '/external_sd'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/sd-ext'
I:Actual block device: '', current file system: 'ext4'
I:Unable to mount '/usbotg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
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: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Stock boot image is still the one above. Just flashed the device with all stock except recovery, which is TWRP 3.0.2.
@topjohnwu reopen this?
Recovery log information:
Boot partition information:
Attached files: Full recovery.txt Stock boot image