As SamFetch directly streams the file to the browser, I can't unpad the bytes of the last chunk of the file because Iterator and/or Generator doesn't allow me to know which chunk is the last, but it is normal, because SamFetch doesn't know when the file will finish downloading.
So it appends unnecessary bytes to the end of the file. And 7Zip (or etc) may return this warning. (not an error) when opening the archive.
There are some data after the end of the payload data.
But looks like it is not a critical issue because such programs like 7Zip can handle that as payload data is already stable/safe and file contents are decrypted as expected.
Anyways, if you get any errors while opening the archive because of the above error, use something like 7Zip.
Because of that hash values of the firmware archive also are different than shown on the Kies servers.
As SamFetch directly streams the file to the browser, I can't unpad the bytes of the last chunk of the file because
Iterator
and/orGenerator
doesn't allow me to know which chunk is the last, but it is normal, because SamFetch doesn't know when the file will finish downloading.So it appends unnecessary bytes to the end of the file. And 7Zip (or etc) may return this warning. (not an error) when opening the archive.
But looks like it is not a critical issue because such programs like 7Zip can handle that as payload data is already stable/safe and file contents are decrypted as expected.
Anyways, if you get any errors while opening the archive because of the above error, use something like 7Zip.
Because of that hash values of the firmware archive also are different than shown on the Kies servers.