Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Re-packing Firmware #41

@tetrahydra

Description

@tetrahydra

Hi,

Camera: Sony ZV-1
crypterName: CXD90045

I managed to unpack and changed the version number in the config.yaml

But I can't pack it, it returned this error:

G:\ZV\fwtool>fwtool.py pack -c output/config.yaml -u output/updater.img -f output/firmware.tar -o packed
Creating firmware image
Encrypting firmware image
Traceback (most recent call last):
  File "G:\ZV\fwtool\fwtool.py", line 345, in <module>
    main()
  File "G:\ZV\fwtool\fwtool.py", line 337, in main
    packCommand(args.firmwareFile, args.updaterFile, args.updaterBodyFile, args.configFile, args.device, args.outDir)
  File "G:\ZV\fwtool\fwtool.py", line 291, in packCommand
    encrypted = fdat.encryptFdat(fdatFile, datConf['crypterName'])
  File "G:\ZV\fwtool\fwtool\sony\fdat.py", line 253, in encryptFdat
    return _crypters[crypterName]().encrypt(file)
  File "G:\ZV\fwtool\fwtool\sony\fdat.py", line 212, in encrypt
    raise Exception('Encryption not supported')
Exception: Encryption not supported

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions