john-tornblom / tiny-ps4-shell

GNU General Public License v3.0
27 stars 6 forks source link

Elf loader for statically linked binaries #4

Open spiral009 opened 2 years ago

spiral009 commented 2 years ago

By the way can I install external static binaries and run them?

john-tornblom commented 2 years ago

Not at the moment, but its not a terribly difficult thing to add, assuming the static binary does not interact with sce libs at runtime. The fork syscall on the ps4 creates subprocesses without initializing the sce dynlib kernel data structure, thus making the dynlib syscall inaccessible to all commands in the shell.

spiral009 commented 2 years ago

For example I want to use adb to control my cellphone but I happen to have a jailbroken PS4 only

john-tornblom commented 2 years ago

If you manage to compile adb as a single static binary that works on the ps4 kernel, sure. But does adb even work on freebsd? If ps4 is your only desktop-like system, just run Linux, it supports adb.

spiral009 commented 2 years ago

Well still don't have a pc to compile a working .pkg file for 9.00

seisdr commented 2 years ago

Unable to escape jail on 9.00

b2ag commented 1 year ago

Unable to escape jail on 9.00

Works for me. But it's off-topic.