Droidscope icon indicating copy to clipboard operation
Droidscope copied to clipboard

Fail to unpack the apk using droidunpack

Open morangeous opened this issue 4 years ago • 3 comments

Sorry to bother you, but I have no idea that what goes wrong. I successfully load the plugin droidunpack, but in the next step, the whole system crashes down. my input is: (qemu) do_hookapitests com.example.hellojni the output is: terminate called after throwing an instance of 'std::invalid_argument' what(): parse error - unexpected end of input ./startDroidScope.sh: line 1: 129 Aborted (core dumped) sudo ./objs/emulator -no-audio -partition-size 1000 -sysdir /home/developer/images -kernel /home/developer/images/zImage -memory 4000 -qemu -monitor stdio

By the way, I find the file stats.json in the folder /home/developer/android_source/external/droidscope/DECAF_plugins/DroidUnpack/out

Any help will be appreciate! Forward to your reply!

morangeous avatar Mar 16 '20 13:03 morangeous

Sorry to bother you, but I have no idea that what goes wrong. I successfully load the plugin droidunpack, but in the next step, the whole system crashes down. my input is: (qemu) do_hookapitests com.example.hellojni the output is: terminate called after throwing an instance of 'std::invalid_argument' what(): parse error - unexpected end of input ./startDroidScope.sh: line 1: 129 Aborted (core dumped) sudo ./objs/emulator -no-audio -partition-size 1000 -sysdir /home/developer/images -kernel /home/developer/images/zImage -memory 4000 -qemu -monitor stdio

By the way, I find the file stats.json in the folder /home/developer/android_source/external/droidscope/DECAF_plugins/DroidUnpack/out

Any help will be appreciate! Forward to your reply!

Do you know how to unpack apps using DroidUnpack?

101142TS avatar Mar 25 '20 07:03 101142TS

I ran into the same issue now. Did you find out how to deal with it?

Luluno01 avatar Sep 09 '20 18:09 Luluno01

Oh I finally figured out that you should put a valid empty stats.json under /home/developer/android_source/external/droidscope/DECAF_plugins/old_dex_extarctor.

Luluno01 avatar Sep 23 '20 17:09 Luluno01