27-01-2021, 05:35 PM
(26-01-2021, 08:49 PM)Detective_Khalifah Wrote: I tried " gzip -n -k -9 "path" " and got an archive which has packed size as 7 580 234
"recovery.img-zImage" has packed size as 7 580 236, so in HxD I tried "Edit > Insert bytes... > [Bytecount -> 1, Hex values -> 00]. Had to do it three times, but I got 7 580 234 (lower), 7 580 235 (lower) at 1st & 2nd attempts, and 7 580 237 (higher) at the third.
you should only need to add 2 byte count with value 00 and ensure the cursor is at the last offset