0x1iii1ii / PPPwn-Luckfox

PPPwn PS4 Exploit for Luckfox Pico Pro/Max/Plus/Mini
GNU General Public License v3.0
199 stars 24 forks source link

Update to new version after installing old version #18

Closed xMonTersx closed 2 months ago

xMonTersx commented 3 months ago

I successfully installed the previous version 1.0.0. Now, I want to update to version 1.0.2. Should I follow the same installation process again?

0x1iii1ii commented 3 months ago

log in to your luckfox, connect it to the internet, paste this cmd, and setup again:

cd PPPwn-Luckfox
git pull
sudo ./install.sh
xMonTersx commented 3 months ago

Thank you!

andregrillo commented 2 months ago

Hope this can help someone trying to update...

I encountered an issue when trying to update, there was not enough free space in /run when trying to reload the systemd daemon: Failed to reload daemon: Refusing to reload, not enough space available on /run/systemd. Currently, 6.0M are free, but a safety buffer of 16.0M is enforced.

To resolve this, I remounted /run with a larger size before running the install.sh script, which worked perfectly. Here are the steps I followed:

  1. Check the current size and usage of /run:

    df -h /run

    Example output:

    Filesystem      Size  Used Avail Use% Mounted on
    tmpfs           6.8M  664K  6.1M  10% /run
  2. Remount /run with a larger size (e.g., 32MB):

    sudo mount -o remount,size=32M /run
  3. Verify the new size:

    df -h /run

    Example output after remounting:

    Filesystem      Size  Used Avail Use% Mounted on
    tmpfs           32M   664K   31M   2% /run

By increasing the size of /run, I was able to successfully finish the install.sh with no errors. I hope this helps anyone else facing the same issue!

0x1iii1ii commented 2 months ago

thanks @andregrillo for the quick tuts on the error! we can just ignore that error since it didn't affect the jailbreak process, mostly this happened on Plus/Mini models due to the small RAM size. but I'll appreciate your solution and will add it to the install.sh later to avoid more questions.