8000 Add possibility to patch encrypted im4p files if ivkey is present · Issue #8 · xerub/img4lib · GitHub
[go: up one dir, main page]

Skip to content

Add possibility to patch encrypted im4p files if ivkey is present #8

Open

Description

@krisanovdev

Hi, I wanna to patch ibss.im4p, I've already decrypted it and patched.
I do not know how to pack it back to encrypted im4p.

Activity

  1. xerub commented on Nov 17, 2019

    @xerub
    Owner

    you can patch it with -P, there is an example of the patchfile format in the project README.
    alternatively, you can decrypt, patch, encrypt using openssl enc -aes-256-cbc -nopad, then put back with img4 -R

  2. justtryingthingsout commented on Apr 2, 2020

    @justtryingthingsout

    how do i use img4 -R? i keep getting [e] cannot open 'rawimg.bin' when i do img4 -i rawimg.bin -R out.im4p

  3. justtryingthingsout commented on Apr 2, 2020

    @justtryingthingsout

    also img4 -i original.im4p -R rawimg.bin -o out.im4p does nothing, checked with vbindiff and diff

  4. xerub commented on Oct 27, 2020

    @xerub
    Owner

    You can't replace the payload in an im4p. im4p is the payload.
    What you can do, however, is to replace the payload (aka im4p) inside an img4.
    The img4 is a container holding im4p, im4m and (optionally) im4r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0