Replies: 1 comment
-
You can try this workaround: # Run from android-unpinner directory
cd android_unpinner/vendor/frida
# Rename 32 bit binaries to 64 bit
mv frida-gadget-16.0.10-android-arm.so frida-gadget-16.0.10-android-arm64.so
mv frida-gadget-16.0.10-android-x86.so frida-gadget-16.0.10-android-x86_64.so
cd ../../../
# Rebuild the package
pip install -e . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Inject Frida gadget...
then error :
......
│ /Users/wenjie/github.com/other/android-unpinner/android_unpinner/main.py:168 in inject_frida │
│ │
│ 165 │ │ │ │ f"cp /data/local/tmp/{LIBGADGET_CONF} /data/data/{package_name}/{LIBGADG │
│ 166 │ │ │ ) │
│ 167 │ │ │ logging.info("Inject Frida gadget...") │
│ ❱ 168 │ │ │ await client.load(thread_id, f"/data/data/{package_name}/{LIBGADGET}") │
│ 169 │ │ │ logging.info("Continue app execution...") │
│ 170 │ │ │ await client.send_command(jdwplib.Commands.RESUME_VM) │
│ 171 │
│ │
│ /Users/wenjie/github.com/other/android-unpinner/android_unpinner/jdwplib.py:386 in load │
│ │
│ 383 │ │ │
│ 384 │ │ cmd_str = await self.create_string(path) │
│ 385 │ │ args = b"\x00\x00\x00\x01L" + cmd_str │
│ ❱ 386 │ │ resp = await self.invoke_method( │
│ 387 │ │ │ runtime_id, │
│ 388 │ │ │ thread_id, │
│ 389 │ │ │ "Ljava/lang/Runtime;", │
│ │
│ /Users/wenjie/github.com/other/android-unpinner/android_unpinner/jdwplib.py:345 in invoke_method │
│ │
│ 342 │ │ │ │ Commands.STRING_VALUE, resp.data[1 : self.sizes.reference + 1] │
│ 343 │ │ │ ) │
│ 344 │ │ │ val = _read_str(io.BytesIO(resp.data)) │
│ ❱ 345 │ │ │ raise RuntimeError( │
│ 346 │ │ │ │ f"Method invocation of {class_sig}.{method_sig} failed: {val}" │
│ 347 │ │ │ ) │
│ 348 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: Method invocation of Ljava/lang/Runtime;.load(Ljava/lang/String;)V failed: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.ss.android.ugc.aweme/libgadget.so" is 64-bit instead of 32-bit
Beta Was this translation helpful? Give feedback.
All reactions