Assumed you have files with extension .ebk stored by Kies.
Install Ruby 2.3 or later
- Decrypt .ebk container into .bin file
# define environment variables for proper work - can be taken from https://goo.gl/gViBqb lines 31, 32
export KIES_KEY='HERE YOU PUT ENCRYPTION KEY'
export KIES_IV='HERE YOU PUT ENCRYPTION IV'
ruby ebk_decrypter.rb myfile.ebk
Header of .bin container represents XML file. If XML tag "zipType" has value "ZLib" (by Kies 4) then you can extract ZIP from .bin file with this command:
ruby extract_zip.rb myfile.ebk.bin