How do I use Magisk to patch the boot.img from the Dec update?
I transfered the boot.img to my phone, used Magisk to patch the file in my phone, but I get the following error
- Device platform: arm64-v8a
- Copying image to cache
2034+0 records in
2034+0 records out
2082816 bytes (1.9 M) copied, 0.004488 s, 443 M/s
1410+1 records in
1410+1 records out
1443916 bytes (1.3 M) copied, 0.003859 s, 357 M/s
- Unpacking boot image
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
HEADER_VER [0]
KERNEL_SZ [11574685]
RAMDISK_SZ [369099084]
SECOND_SZ [0]
EXTRA_SZ [3]
PAGESIZE [0]
NAME []
CMDLINE []
CHECKSUM [0000000000000000000000000000000000000000000000000000000000000000]
Floating point exception
- Checking ramdisk status
- Stock boot image detected
Add entry [init] (0750)
- Patching ramdisk
Patch with flag KEEPVERITY=[true] KEEPFORCEENCRYPT=[true]
Create directory [.backup] (0000)
Add entry [.backup/.magisk] (0000)
Dump cpio: [ramdisk.cpio]
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
HEADER_VER [0]
KERNEL_SZ [11574685]
RAMDISK_SZ [369099084]
SECOND_SZ [0]
EXTRA_SZ [3]
PAGESIZE [0]
NAME []
CMDLINE []
CHECKSUM [0000000000000000000000000000000000000000000000000000000000000000]
Floating point exception
- Repacking boot image
! Unable to repack boot image!
! Installation failed
How do I patch the boot.img correctly? Thanks.
I think you didn't get the correct file over to phone..
How large is that boot file .. Can you get check sum?