derrekr / fastboot3DS

A homebrew bootloader for the Nintendo 3DS that is similar to android's fastboot.
GNU General Public License v3.0
371 stars 19 forks source link

[v1.1-beta] Configuration doesn't get copied to SD Card #19

Closed ghost closed 6 years ago

ghost commented 6 years ago

Steps to Reproduce:

  1. Delete fastbootcfg.txt from SD
  2. Turn on 3DS
  3. Turn off 3DS (or run any mode that forces the 3DS to reboot)
  4. Fastboot3DS menu opens
  5. Open a File Manager and see that a blank fastbootcfg.txt has been created in the proper location

What I think is happening:

  1. Fastboot3DS boots the 3DS normally
  2. Reads the config from NAND
  3. Makes a config on the SD Card (as if it didn't exist on NAND or SD)
  4. Continues the boot process
  5. Upon rebooting it sees the blank config on SD and enters the menu

Additional info can be provided if required.

profi200 commented 6 years ago

Are you sure there is any config on NAND and it contains settings? Check that using GodMode9.

ghost commented 6 years ago

There is a config on NAND containing settings. Manually copying it from NAND to SD works fine.

d0k3 commented 6 years ago

Where on NAND is it, @Lykie, what's the exact path?

ghost commented 6 years ago

CTRNAND:/fastboot3DS/fastbootcfg.txt

d0k3 commented 6 years ago

Alright, thanks for the quick reply. What if you boot your 3DS without an SD card inserted - will it accept the config from the SD?

ghost commented 6 years ago

From the NAND you mean? It accepts the config when the SD Card isn't in. It also loads it while it's in and there's no config on the SD.

d0k3 commented 6 years ago

Alright. Yeah, something is wrong here. One more... is this with 1.0 stable or 1.1 beta? Or some other version?

ghost commented 6 years ago

1.1 beta (as stated in the title)

d0k3 commented 6 years ago

Ah, sorry. Missed that.

d0k3 commented 6 years ago

Okay, I tried to reproduce that issue with no success, even following your exact steps.

Is there something special with your config file? If there is no private data in it (you can have a look in any text editor), could you maybe upload it here?

Also, can you check your SD card for corruption (on a computer) and/or try a different SD card?

ghost commented 6 years ago

Strange. I don't think there's SD Card corruption since I formatted it about 3 hours before this issue happened.

I can take a video of it happening if it helps.

Config (from NAND)

DEV_MODE = Enabled
BOOT_OPTION1 = nand:/rw/luma/release.firm
BOOT_OPTION6 = firm1:
BOOT_OPTION6_BUTTONS = X

Edit: While I back up my SD Card (which will take several hours), I'm going to test startup on the SD Cards from my Wii and Wii U.

Edit 2: When deleting the 3DS and Nintendo 3DS folders from the SD Card in GodMode9, I got the prompt to enter the "Write permissions" code displayed on the screen. Is this normal?

Moire9 commented 6 years ago

@Lykie Yes, getting a write permission prompt when deleting the Nintendo 3DS folder is normal - it has savedata and is thus protected under level one of the write permission System (check GM9 README for more info on what is protected). It’s just a safety check to insure you don’t accidentally delete it (as I have done once....).

ghost commented 6 years ago

Okay, makes sense.

Anyway, the same issue occurs on all three SD Cards.

The Wii and Wii U SD Cards were formatted by GParted, and the 3DS SD Card was formatted by GodMode9.

d0k3 commented 6 years ago

Hold in, I have an idea... did you by any chance reinsert the SD card while you were navigating the fb3ds menu?

ghost commented 6 years ago

I inserted the SD Card while the 3DS was powered off in most instances.

The only times I inserted the SD Card while it was powered on, was while I was deleting the config file through GodMode9.

d0k3 commented 6 years ago

Alright, I think I've solved it. Can you try this testbuild? https://f.secretalgorithm.com/DzqTm/fastboot3ds.firm

Only installable via GM9, but I guess you know.

ghost commented 6 years ago

That fixed it!