Error on Raspbian

Issue #37 closed
Paul Kalbing created an issue

It works great on my Ubuntu System, but I would like to use it on my Raspberry Pi which is running with Minibian, which is a minimized version of Raspbian.

I get the following message:

#### Unzipping libhmac.so ####
Archive:  com.tellm.android.app-4.66.0.apk
  inflating: lib/x86/libhmac.so
####   Decrypting key     ####
./libhmac-objdump-decrypt.sh: line 33: x86_64-linux-gnu-objdump: command not found
/tmp/tmp.mW67sJKt0M: In function ‘main’:
/tmp/tmp.mW67sJKt0M:8:14: error: expected expression before ‘;’ token
 int offset = ;
              ^

Comments (3)

  1. Christian Fibich repo owner

    You need to install or build objdump from the GNU binutils for x86_64 to run the script. The "standard" objdump you get for Raspbian is of course the ARM one.

    To build the needed x86 objdump from source:

    1. Download the binutils source from https://ftp.gnu.org/gnu/binutils/ e.g., wget https://ftp.gnu.org/gnu/binutils/binutils-2.29.tar.xz
    2. Unpack it, cd into the dir, make a build directory and cd into it
    3. ../configure --prefix=$HOME/opt --target=x86_64-linux-gnu --enable-targets=x86_64-linux-gnu --disable-nls --host=arm-linux-gnu
    4. make, make install
    5. Change the path to your newly installed ~/opt/bin/x86_64-linux-gnu-objdump in libhmac-objdump-decrypt.sh
  2. Log in to comment