Git Product home page Git Product logo

Comments (2)

pxb1988 avatar pxb1988 commented on July 26, 2024

the tool d2j-dex-recompute-checksum.sh is designed to update the crc / sha1 checksum, and the filesize of the dex header.

the common scenarios to use the tool:

  1. after editing a dex by hand (by a binary editing tool, like tool Okteta on linux),
  2. increase the size of dex to hiding something after the dex.
  3. a memory dumped dex file, dexdump complains 'Bad checksum'
Usage: d2j-dex-recompute-checksum.sh [options] <input.dex>
options: 
  -o,--output output .dex file, default is [dex-name]-rechecksum.dex
  -f,--force force overwrite existing dex file by -o,--output

there are to way to invoke the command,

  1. d2j-dex-recompute-checksum.sh
  2. d2j_invoke.sh com.googlecode.dex2jar.tools.DexRecomputeChecksum

from dex2jar.

TamilanPeriyasamy avatar TamilanPeriyasamy commented on July 26, 2024

Okay very very thanks Bob Pan.

On Tue, Dec 8, 2015 at 12:59 PM, Bob Pan [email protected] wrote:

the tool d2j-dex-recompute-checksum.sh is designed to update the crc /
sha1 checksum, and the filesize of the dex header.

the common scenarios to use the tool:

  1. after editing a dex by hand (by a binary editing tool, like tool
    Okteta on linux),
  2. increase the size of dex to hiding something after the dex.
  3. a memory dumped dex file, dexdump complains 'Bad checksum'

Usage: d2j-dex-recompute-checksum.sh [options] <input.dex>
options:
-o,--output output .dex file, default is [dex-name]-rechecksum.dex
-f,--force force overwrite existing dex file by -o,--output

there are to way to invoke the command,

  1. d2j-dex-recompute-checksum.sh
  2. d2j_invoke.sh com.googlecode.dex2jar.tools.DexRecomputeChecksum


Reply to this email directly or view it on GitHub
#44 (comment).

from dex2jar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.