Errors in verification of the contents of a patched magisk boot.img
Errors in verification of the contents of a patched magisk boot.img
Given image does not look like a vbmeta image.
File "avbtool", line 411
b = 2L**32
^
SyntaxError: invalid syntax
avbtool: Image size of 36700160 exceeds maximum image size of 36630528 in order to fit in a partition size of 36700160
(07-12-2020, 09:34 AM)_Jaqb_ I can't verify the contents of a patched magisk boot.img (on Linux & Windows).
In terminal (Python 2) I got message:
Code:Given image does not look like a vbmeta image.
or (Python 3)
Code:File "avbtool", line 411
b = 2L**32
^
SyntaxError: invalid syntax
The contents of a stock boot.img in avbtool is ok...
When I ignore it and sign patched boot.img I got this message:
Code:avbtool: Image size of 36700160 exceeds maximum image size of 36630528 in order to fit in a partition size of 36700160
Is patched img wrong because of new version Magisk Canary/Magisk?
(07-12-2020, 12:37 PM)hovatek(07-12-2020, 09:34 AM)_Jaqb_ I can't verify the contents of a patched magisk boot.img (on Linux & Windows).
In terminal (Python 2) I got message:
Code:Given image does not look like a vbmeta image.
or (Python 3)
Code:File "avbtool", line 411
b = 2L**32
^
SyntaxError: invalid syntax
The contents of a stock boot.img in avbtool is ok...
When I ignore it and sign patched boot.img I got this message:
Code:avbtool: Image size of 36700160 exceeds maximum image size of 36630528 in order to fit in a partition size of 36700160
Is patched img wrong because of new version Magisk Canary/Magisk?
Try using avbtool in Linux instead of Windows
Get info for stock boot.img and paste the info here
Footer version: 1.0
Image size: 36700160 bytes
Original image size: 17016832 bytes
VBMeta offset: 17018880
VBMeta size: 2112 bytes
--
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 576 bytes
Auxiliary Block: 1280 bytes
Algorithm: SHA256_RSA4096
Rollback Index: 0
Flags: 0
Release String: 'avbtool 1.1.0'
Descriptors:
Hash descriptor:
Image Size: 17016832 bytes
Hash Algorithm: sha256
Partition Name: boot
Salt: c2e63955b2be65fb301246a850b837aec4ccb4e772cf0c65decc7a78eed5a1c6
Digest: e9c387018c85e6960d397bb838904d8d60ba8e5e6f46c55382e120d81463035d
Flags: 0
(07-12-2020, 04:34 PM)_Jaqb_ Info for stock boot.img:
Code:Footer version: 1.0
Image size: 36700160 bytes
Original image size: 17016832 bytes
VBMeta offset: 17018880
VBMeta size: 2112 bytes
--
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 576 bytes
Auxiliary Block: 1280 bytes
Algorithm: SHA256_RSA4096
Rollback Index: 0
Flags: 0
Release String: 'avbtool 1.1.0'
Descriptors:
Hash descriptor:
Image Size: 17016832 bytes
Hash Algorithm: sha256
Partition Name: boot
Salt: c2e63955b2be65fb301246a850b837aec4ccb4e772cf0c65decc7a78eed5a1c6
Digest: e9c387018c85e6960d397bb838904d8d60ba8e5e6f46c55382e120d81463035d
Flags: 0
(08-12-2020, 06:20 AM)hovatek(07-12-2020, 04:34 PM)_Jaqb_ Info for stock boot.img:
Code:Footer version: 1.0
Image size: 36700160 bytes
Original image size: 17016832 bytes
VBMeta offset: 17018880
VBMeta size: 2112 bytes
--
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 576 bytes
Auxiliary Block: 1280 bytes
Algorithm: SHA256_RSA4096
Rollback Index: 0
Flags: 0
Release String: 'avbtool 1.1.0'
Descriptors:
Hash descriptor:
Image Size: 17016832 bytes
Hash Algorithm: sha256
Partition Name: boot
Salt: c2e63955b2be65fb301246a850b837aec4ccb4e772cf0c65decc7a78eed5a1c6
Digest: e9c387018c85e6960d397bb838904d8d60ba8e5e6f46c55382e120d81463035d
Flags: 0
What version of magisk did you patch your boot with?
(08-12-2020, 10:23 AM)_Jaqb_ The newest.
Magisk Manager 8.0.3.314
Magisk 20.4 and beta 21.1
and next
Magisk Canary (app-debug.apk) from Github
(09-12-2020, 06:00 AM)hovatek(08-12-2020, 10:23 AM)_Jaqb_ The newest.
Magisk Manager 8.0.3.314
Magisk 20.4 and beta 21.1
and next
Magisk Canary (app-debug.apk) from Github
zip your stock boot and all magisk patched boots (ensure to name each properly), upload and drop the link here so I take a look
rm: can't stat '/data/unencrypted/magisk': Permission denied
rm: can't stat '/cache/magisk': Permission denied
rm: can't stat '/mnt/vendor/persist/magisk': Permission denied
boot_patch.sh: line 574: magisk: Permission denied
(07-12-2020, 09:34 AM)_Jaqb_Code:avbtool: Image size of 36700160 exceeds maximum image size of 36630528 in order to fit in a partition size of 36700160