0

I sideloaded a binary that I built using the NDK for android and I used to be able to push it to /data and then I could run it by just calling it in adb shell with /data/program. Now suddenly, without changing anything I am unable to do so with the error message being: /system/bin/sh: /data/program: No such file or directory.

But the file exists, when I read it with cat /data/program it outputs me the entire binary.

I tried looking into it, I don't think there is a sepolicy violation and it also doesn't seem to be an issue with permissions. I tried using root and I added the execution permission using chmod +x /data/program and chmod 777 /data/program. None of this worked.

Has anybody had a similar issue? I am running on LineageOS 19.1 on my Pixel 3

Markusbug
  • 31
  • 6

0 Answers0