Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 21:19, 11 June 2025 by IHaveNoIdeas (talk | contribs) (actually work on this again)

Restore-LFCS_B is a Godmode9 script that attempts recovery of the console's LocalFriendCodeSeed_B file. This script is intended to be used in the event a mismatched or malformed LocalFriendCodeSeed prevents the use of online services such as Pretendo.

Required Reading

This script is only meant to be used if certain errors occur when attempting to use online services, these being error 002-0121 on both Nintendo Network and Pretendo, or 002-0150 (custom Pretendo error), which are often accompanied on Pretendo by error code 022-2402 on services utilizing Nintendo Network IDs.

Error code 002-0121 indicates the LocalFriendCodeSeed signature is invalid. However, on Pretendo this can indicate the patches aren't being applied correctly. Ensure Luma3DS is on version 13.0 or higher, the Enable loading external FIRMs and modules and Enable game patching settings are both enabled, and that the Luma3DS configuration menu states Booted from SD via B9S. If all Luma settings correct, attempting to reinstall Pretendo may help in case the patches are broken. If after checking the Luma settings and reinstalling Pretendo the error still appears, or if the error occurs on both Nintendo Network and Pretendo Network, this script will be needed.

Error code 002-0150 indicates the LocalFriendCodeSeed doesn't match the console's serial number. Upon connecting to Pretendo, the console sends both its LFCS and serial number to the server. If the LFCS is already associated with a different serial number on the server, or the serial has been used with a different LFCS, then this error will appear and this script will be needed.

Instructions

What You Need

  • The latest release of Restore-LFCS_B
  • A device that you can use to transfer files to your 3DS, either via an SD slot or via FTP

Section I - Prep Work

  1. Power off your console and insert the SD card into your device
  2. Follow Restoring / Updating CFW, then the "Updating GodMode9" and "Creating a NAND backup" sections on 3DS:GodMode9/Usage
  3. Copy the downloaded Restore.LFCS_B.gm9 into sd:/gm9/scripts on the SD card
  4. Reinsert the SD card into your console

Section II - LFCS Restore

Section II , Part I - Running the Script

  1. Hold START, and while holding START, power on your console. This will launch GodMode9
    • If the Luma3DS chainloader appears, select GodMode9
  2. Press the HOME button, then go into Scripts... -> Restore.LFCS_B
  3. If the script asks "Do you wish to backup your current LFCS_B?" press A

Section II, Part I - Restore from Luma3DS Backups

  1. Select the Luma3DS Backups option, then press A
  2. If prompted to unlock SysNAND writes, press A, then enter the button combination
  3. If it states "Success!" press A to reboot, then try accessing the Friends List again
    • This option may fail if Luma3DS never backed up the LFCS, or if the console has only used Luma3DS v13.3.1 or newer. If that occurs, proceed to the next section
    • If the error is fixed, or a different error appears, then you are finished with this guide
    • If the error re-appears, proceed to the next section


Section II, Part III - Restore from essential.exefs

  1. Run the script again, following section II, part I
    • If prompted to create another backup of your LFCS, press B
  2. Select the Essential.exefs option, then press A
  3. If prompted to unlock SysNAND writes, press A, then enter the button combination
  4. If it states "Success!" press A to reboot, then try accessing the Friends List again
    • If the error is fixed, or a different error appears, then you are finished with this guide
    • If the error re-appears, proceed to the next section

Section II, Part IV - Restore from movable.sed from essential.exefs

  1. Run the script again, following section II, part I
    • If prompted to create another backup of your LFCS, press B
  2. Select the Essential.exefs from movable.sed option, then press A
  3. If prompted to unlock SysNAND writes, press A, then enter the button combination
  4. If it states "Success!" press A to reboot, then try accessing the Friends List again
    • If the error is fixed, or a different error appears, then you are finished with this guide
    • If the error re-appears, proceed to the next section

Section II, Part V - Restore from movable.sed

Info icon If you have performed a system transfer or Movable Moveover to this console, skip this section.
  1. Run the script again, following section II, part I
    • If prompted to create another backup of your LFCS, press B
  2. Select the movable.sed option, then press A
  3. If prompted to unlock SysNAND writes, press A, then enter the button combination
  4. If it states "Success!" press A to reboot, then try accessing the Friends List again
    • If the error is fixed, or a different error appears, then you are finished with this guide
    • If the error re-appears, proceed to the next section

Section III - Restore Backup from Script

  1. Run the script again, following section II, part I
    • If prompted to create another backup of your LFCS, press B
  2. Select the Restore Original LFCS option, then press A
  3. If prompted to unlock SysNAND writes, press A, then enter the button combination
  4. If it states "Success!" press A to reboot

By this point you have exhausted all conventional fixes. If the error still appears, ask in the Nintendo Homebrew Discord and mention that you've tried everything here.

Script options

  • Luma3DS Backups - This restores the LFCS from the 0: SDCARD/luma/backups folder.
    • This option may fail if no backup was found in this directory
  • Essential.exefs - This restores the LFCS from S:/essential.exefs
  • Movable.sed via essential.exefs - This restores the LFCS embedded inside the movable.sed file in S:/essential.exefs
  • Movable.sed - This restores the LFCS embedded inside the movable.sed file
  • Restore original LFCS - This restores the LFCS backup made while running the script