Skip to content

Instantly share code, notes, and snippets.

@fishd72
Last active July 14, 2025 06:14
Show Gist options
  • Save fishd72/d3518ef40479a9272f2bd6c425b7af07 to your computer and use it in GitHub Desktop.
Save fishd72/d3518ef40479a9272f2bd6c425b7af07 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /usr/local/src/pwnagotchi
sudo git pull
sudo cp -r /usr/local/src/pwnagotchi/pwnagotchi/* /usr/local/lib/python3.7/dist-packages/pwnagotchi/
sudo cp /usr/local/src/pwnagotchi/bin/pwnagotchi /usr/local/bin/pwnagotchi
@adax1211
Copy link

adax1211 commented Feb 5, 2025

This is a complete disaster to get working properly with V4. I was only able to turn the machine on without the display. I’ve spent almost five days copying repositories, updating, changing code, etc. It’s a shame that there are no proper instructions explaining how to fix it. It seemed to work fine about five years ago, but now there are just too many errors. Hopefully somone would add youtube video hot to do this on v4

@wpa-2
Copy link

wpa-2 commented Feb 5, 2025

This is a complete disaster to get working properly with V4. I was only able to turn the machine on without the display. I’ve spent almost five days copying repositories, updating, changing code, etc. It’s a shame that there are no proper instructions explaining how to fix it. It seemed to work fine about five years ago, but now there are just too many errors. Hopefully somone would add youtube video hot to do this on v4

V4 works on the latest image from Jay so this isn't needed anyways.

@Kree879
Copy link

Kree879 commented Mar 27, 2025

I am struggling to get my V3 working. The "sudo git pull" does not work. fatal: not a git repository (or any of the parent directories): .git
Any suggestions?

@fishd72
Copy link
Author

fishd72 commented Mar 27, 2025

This is a complete disaster to get working properly with V4.

This was a personal fix for me to get my V3 screen working and at the time, I figured I would share it with others. If you're unhappy about it not fixing something that it wasn't meant to fix... then... ?

@Kree879 - this was only to get the original Pwnagotchi image working... if you're using anything else other than that v1.5.5 image, it can't help you.

I rebuilt my pwnagotchi at the beginning of the year using the 1.5.5 image and this worked fine, as there have been no updates to that image in forever, I can't see why it would have changed.

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