Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not start with root mode (Illegal instruction) #476

Open
Stepman123 opened this issue Jan 1, 2025 · 3 comments
Open

Does not start with root mode (Illegal instruction) #476

Stepman123 opened this issue Jan 1, 2025 · 3 comments

Comments

@Stepman123
Copy link

Each time I try to connect, I get a message like the one in the screenshot. This is followed by a message that root rights have been successfully granted.
PCAPdroid 1.4.7 (or newer, but in this version the error message does not contain any details)
Android 7.1; SuperSU
Screenshot_20250102-053830

@Stepman123
Copy link
Author

Stepman123 commented Jan 1, 2025

For version 1.7.5.
I applied the terminal as described here: #112 (comment)

p1:/ $ su
p1:/ # cd /data/user/0/com.emanuelef.remote_capture/cache
data/app/com.emanuelef.remote_capture-1/lib/arm/libpcapd.so -l pcapd.log -d -u -1 -b "not (host 192.168.0.138 and tcp port 8080)" <
WARNING: linker: /data/app/com.emanuelef.remote_capture-1/lib/arm/libpcapd.so: unsupported flags DT_FLAGS_1=0x8000001
Illegal instruction
132|p1:/data/user/0/com.emanuelef.remote_capture/cache #

version 1.6.9 (-h)

132|p1:/data/user/0/com.emanuelef.remote_capture/cache # /data/app/com.emanuelef.remote_capture-1/lib/arm/libpcapd.so -h
WARNING: linker: /data/app/com.emanuelef.remote_capture-1/lib/arm/libpcapd.so: unsupported flags DT_FLAGS_1=0x8000001
Illegal instruction
132|p1:/data/user/0/com.emanuelef.remote_capture/cache #

@emanuele-f emanuele-f changed the title Does not start with root mode Does not start with root mode (Illegal instruction) Jan 2, 2025
@emanuele-f
Copy link
Owner

It crashes on the "Illegal instruction" line. For some reason, it seems like one of the instructions of the executable is not valid for your device CPU, which is strange.

Please post the "Build info" from the PCAPdroid About page.
From adb, post the output of getprop ro.product.cpu.abi and check in logcat if you can get any log about SIGILL. There should be a log line with the crash address, which can be useful to spot the instruction causing the crash

@Stepman123
Copy link
Author

Stepman123 commented Jan 2, 2025

It seems to be a tegra-2 processor, no NEON instructions. ARM 7.

I don't have a computer with adb right now, but I looked in the catlog app:

01-02 17:40:11.696 F/libc (23927): Fatal signal 4 (SIGILL), code 1, fault addr 0xa9fb49a4 in tid 23927 (libpcapd.so)
01-02 17:40:11.777 F/DEBUG (23929): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xa9fb49a4

Build type: github
Build version: 1.7.5
Build date: 2024-11-07 04:23:20
Current date: 2025-01-02 17:27:55
Device: Samsung GT-P7500 (rooted)
OS version: Android 7.1.2 (SDK 25)

DumpMode: NONE
FullPayload: false
TLSDecryption: false
TLSSetupOk: false
CAInstallSkipped: false
BlockQuic: NEVER
RootCapture: true
Socks5: false
BlockPrivateDns: true
CaptureInterface: @inet
MalwareDetection: false
Firewall: false
PCAPNG: false
BlockNewApps: false
TargetApps: []
IpMode: IPV4_ONLY
Trailer: false
StartAtBoot: false

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

No branches or pull requests

2 participants