Bad CPU type in executable
Do you use an Apple Silicon Mac by any chance?
Comment on Meet Rayhunter: A New Open Source Tool from EFF to Detect Cellular Spying
Ulrich@feddit.org 4 days ago
Just got mine and getting this error. Would appreciate any support you nerds can give me because I don’t have a Github account:
Using adb at ./platform-tools/adb Force a switch into the debug mode to enable ADB /Applications/release/install-common.sh: line 20: ./serial-macos-latest/serial: Bad CPU type in executable
Bad CPU type in executable
Do you use an Apple Silicon Mac by any chance?
It’s the other way around, an Apple Silicon Mac would be able to run an intel binary through Rosetta (I think there’s almost no exceptions at this point). It’s intel macs that can’t run Arm specific binaries.
You’re right, I forgot that
I don’t
Can I message you on Matrix to help you diagnose this?
I think it needs special hardware to run on:
It is developed to run on an Orbic mobile hotspot (Amazon, Ebay) which is available for $20 or less at the time of this writing.
That’s what I’m trying to run it on.
Oh, right, you did say “just got mine”… Never mind me. It does seem like it could be a mismatch between what the adb was compiled for and what it’s being asked to install on.
rottingleaf@lemmy.world 4 days ago
From what’s written here, it appears you have an Intel Mac and the thing has only ARM Mac executable, or the other way around.
Ulrich@feddit.org 3 days ago
It didn’t mention anything about the CPU in the install instructions…
I guess I’ll give it a try on my Linux machine.
Andromxda@lemmy.dbzer0.com 3 days ago
Try locating the binary that crashes with the “Bad CPU type” exception and run the
file
command on it. It will show you which architecture the binary was built for.That’s good to hear