Closed Curiosity007 closed 4 months ago
You can bypass the Pi's input power, I put a USB C breakout port to my Pi3B+ direct to 5v in bypassing voltage/current protection, this allows the Pi to use full power the PS4 USBs can deliver. PS4 USB's are maxed out between 900-950mah.
My PS4 slim had very low power from its usb ports, so I had to keep the pi running from another power source. What I noticed, if PI has ppwned console once, it will not again try to jailbreak it, unless the PI service is restarted. So, created a small utility which will do this, and thereby separating out PS4 shutdown and PI shutdown.
Create a Shell Script: Write a script that tails the
journalctl
logs and checks for the specified line. If the line is found, the script will restart the service./usr/local/bin/check_and_restart.sh
.chmod +x /usr/local/bin/check_and_restart.sh
.Create a systemd Service: Create a systemd service that runs this script.
Create a systemd service file at
/etc/systemd/system/pipwn_monitor.service
:Enable and start the service:
Monitoring and logs: You can monitor the logs of your script using: