Reinstall sys firm possible?

Discussion in '3DS - Flashcards & Custom Firmwares' started by Ar7ific1al, Jun 6, 2017.

  1. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    Hey, guys and gals. For a while now my 3DS has been exhibiting some strange behaviour and I suspect there is a problem with my firmware. My system specs:
    O3DS XL
    11.4.0-37U sys firm
    Luma3DS 8.0 CFW
    boot9strap (upgraded from a9lh just today to update to the latest Luma3DS, hoping my problems would be resolved; they were not)

    My 3DS can use the eShop, it can use online features of games, and some games can successfully update (Pokémon Moon, for example, will update; Animal Crossing New Leaf would not [finally got it to update after 3 hours of trying different methods of updating]).

    Here are my symptoms:
    • 3DS will sometimes not wake from sleep. (I discovered the sleep switch is just a magnetic switch; I'll try a magnet next time it refuses to wake and see if that works)
    • Updating titles seems problematic; updating will get stuck on large downloads.
    • Certain things softlock the system, such as...
      • Trying to close freeShop once a download has become stuck
      • Trying to switch from "download now" to "download later" in the eShop after download progress gets stuck
      • Putting the system to sleep once a download has become stuck
    • Once softlocked, if I try to switch the Wi-Fi off, Rosalina will provide an error report:
      • Error type: generic
      • Process ID: 25
      • Process name: nwm
      • Process title ID: 0x0004013000002d02
      • Address: 0x00103218
      • Error code: 0xf9606c05

    My questions:
    Are my symptoms indicative of some specific problem, and if so, how do I solve the problem?
    If my symptoms are not caused my something specific that can be solved, is it possible to reinstall the firmware without losing the contents of my SD card including installed games and save data?

    I appreciate any advice/assistance. I will try my best to provide more information if it is needed.
     


  2. Starboy

    Starboy GBAtemp Regular

    Member
    155
    15
    Apr 26, 2017
    India
    Maybe reinstalling nand backup and starting from scratch will solve the multiple issues as, on the other hand go to the guide and delete any unnecessary files from the sd card


    Sent from my iPhone using Tapatalk Pro
     
    Ar7ific1al likes this.
  3. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    I considered restoring a NAND backup (only one I have is from when I downgraded from 10.2 to 9.2), but only as a last resort. I'd rather find another solution, if possible, before taking drastic measures. Thank you for the suggestion!
    I've also removed unnecessary files from my SD card. I didn't see any specifics in "the guide" for what files to delete, so I may have missed some. Is there a portion of the guide which details these files?
     
  4. squall14716

    squall14716 GBAtemp Maniac

    Member
    1,162
    662
    May 16, 2011
    United States
    edit: wrong thread.
     
  5. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    Welp, I decided to go nuclear and restored my NAND backup from last year. Oddly enough, it's FW 11.2, not 10.2. Strange. Anyway, doing a system update now so I can attempt updating Animal Crossing to see if it still gets stuck.

    EDIT: Animal Crossing update is stuck at the same spot.

    EDIT2: Welp, my 3DS had other plans, and the left shoulder ribbon cable tore as I was investigating any potential hardware issues. So now I have to wait to receive replacement for the shoulder button and hope my 3DS will power on. :( Wish me luck, folks. lol
     
    Last edited by Ar7ific1al, Jun 7, 2017
  6. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    Okay, I have my 3DS working (no L button for now). So hopefully someone can provide some insight into my problem.
    I can provide some new information, as well. I have two SD cards, and one is completely empty except for the ACNL update, B9S files, and Luma files. Using this SD card instead does not remedy any of my symptoms; my 3DS still has issues with downloads getting stuck (wifi connection is not an issue), soft locking in sleep mode, soft locking sometimes when accessing the home menu while a game is running, and the other symptoms I mentioned in my original post.
     
  7. NWPlayer123

    NWPlayer123 GBAtemp Addict

    Member
    2,629
    6,226
    Feb 17, 2012
    United States
    The Everfree Forest
    I went nuclear a while ago with FBI and Recovery Mode, here's what all I found out: you can "hotswap" (aka "Delete Title and Ticket" in FBI and then install the CIA for it without exiting) everything except the system modules (aka 0x00040130) cause it's cached while in an app
    https://yls8.mtheall.com/ninupdates/titlelist.php?date=04-10-17_08-00-38&sys=ctr&reg=E&soap=1
    https://github.com/Plailect/sysDowngrader/blob/master/source/main.cpp#L41-L49
    if you need help downloading a clean copy of all the system titles from NUS let me know
    if you hold L+R+A+up at boot you can also get into Recovery Mode which should fix some problems but not all of them
     
    Ar7ific1al and kiwiis like this.
  8. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    Sounds quite dangerous. I think I would only do this if I could afford a replacement 3DS in case something goes wrong, and I can't.
    If recovery mode will help fix anything, I guess I'll go that route, but I can't at the moment; I'm currently without a left shoulder button and have to wait to get a replacement for it.
    My main concern is losing the ability to install B9S and use CFW and homebrew. Won't recovery mode bypass the safeguards on the NAND and format it completely, destroying B9S in the process?
     
  9. NWPlayer123

    NWPlayer123 GBAtemp Addict

    Member
    2,629
    6,226
    Feb 17, 2012
    United States
    The Everfree Forest
    boot9strap is so early in boot the brick chance is literally zero, just takes a while to backup or restore NAND (like 6 minutes for me, not that bad), and no, Luma handles all the loading, even if you use recovery mode it still can't break anything, trust me, I did literally all stupid stuff possible while poking around with it, the worst was a "brick" when I accidentally deleted NATIVE_FIRM (Luma just spat out an error on boot) but I loaded GodMode9 and restored a NAND backup and it was good as new
     
    Ar7ific1al likes this.
  10. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    Hm, okay then. I'll try recovery mode when I'm able to use the left shoulder button again. Thanks! :) It'll probably be a week or two until I can get the replacement part. lol

    EDIT:
    The replacement parts I got for my 3DS are defective; they both register as always being pressed. The incorrect parts I got, which are for the original 3DS model, do work, I just can't mount it to the shell because the cable is too short and the button's board is a couple millimeters too big.
    -sigh- I'm just going to connect the wrong button to my 3DS and let it hang out the L shoulder's hole for now. I don't feel like waiting another 2 weeks (RIP my Amazon Prime) for the return, refund processing, and purchasing another set of replacements. Hell, I might as well just give up at this point and buy a N3DS when I can. My 3DS still works, it's just funky and has no L button! lol

    Still going to try the recovery mode and see if anything changes.
     
    Last edited by Ar7ific1al, Jun 15, 2017
    NWPlayer123 likes this.
  11. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    @NWPlayer123 I tried recovery mode and it just says my system is up to date. It's the same as trying to update from the settings.
     
  12. NWPlayer123

    NWPlayer123 GBAtemp Addict

    Member
    2,629
    6,226
    Feb 17, 2012
    United States
    The Everfree Forest
    weird, I guess it's just glitched out, hmm, probably need to do the uninstall and then reinstall thing then, start by making a backup of your NAND in GodMode9 (HOME Button -> More... -> NAND backup) and I'll get back to you
     
  13. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    I actually did a NAND backup last week, but I'm doing another one right now just to be safe.
     
  14. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    NAND backup has been done for several minutes now, but I just got an idea. Shouldn't I be able to create an emunand and check if it suffers the same problems? I have a spare SD card that I can use instead of the SD card that I usually use, so I don't muck up my stuff. I just wouldn't know how to create a "clean" emunand, since (to my knowledge, anyway) an emunand is created based on a NAND image, and the current speculation is there's something wrong with my NAND. lol
     
  15. Quantumcat

    Quantumcat Dead and alive

    Member
    10,382
    5,478
    Nov 23, 2014
    Australia
    Canberra, Australia
    An emuNAND you create will be a copy of your sysNAND at the time it is made. You could do a 9.2 CTR transfer after having created it though. That will wipe a little bit of the data I think.
     
    Ar7ific1al likes this.
  16. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    Haven't heard of this before, so I found it on the guide. It sounds like I should be able to do this with my sysnand, too, right?
     
  17. Quantumcat

    Quantumcat Dead and alive

    Member
    10,382
    5,478
    Nov 23, 2014
    Australia
    Canberra, Australia
    Yes you can - @NWPlayer123 knows more than I do though, so if she didn't suggest it it may not help.
     
    Ar7ific1al likes this.
  18. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    My thoughts exactly. lol I'm creating an emunand right now with GodMode9 (love that thing), then I'll try the CTRTransfer on the EmuNAND. I'll use the EmuNAND for a little while and see if anything has changed. I sure hope so, because I really cannot afford to get a N3DS to replace my O3DS (even a used one). lol

    Still happy to take suggestions and advice from you or @NWPlayer123 or others, though. :)
     
  19. NWPlayer123

    NWPlayer123 GBAtemp Addict

    Member
    2,629
    6,226
    Feb 17, 2012
    United States
    The Everfree Forest
    I wouldn't recommend a systransfer unless as a last resort so there's really no reason
    Also, uh, I'd get JKSM and back up all your system data so we can restore it if we need to, grab https://github.com/J-D-K/JKSM/raw/master/JKSM.cia and install it
    in JKSM:
    • go into System Titles and for each title, backup system save, extdata, and boss extdata
    • if it errors that's fine, like half of the options should
    • doesn't matter the name, just use the default
    • your normal game titles shouldn't be affected
    • do the same with Shared ExtData
    • once you're done backing it all up, you get to do the fun part

    okay, here's full instructions, make sure you have FBI installed as a CIA (v2.4.8 is fine), and then grab this: https://mega.nz/#!5llkkTxb!QzsZDzP1V9cxzj0t1JAt1ZnTxsuVf-KHqtQFSZ0sn4c
    password is lowercase "a"
    run download.py with python (only tested 2.7), should make a bunch of folders and cia files, should be, uh, 71 CIA files, copy those all to the SD, I'd just make an "install" folder and put them all in there
    then boot up your 3DS, we're gonna be basically "hotswapping" all system titles, following this pattern:
    https://github.com/Plailect/sysDowngrader/blob/master/source/main.cpp#L41-L49
    I'd also follow along here:
    https://yls8.mtheall.com/ninupdates/titlelist.php?date=04-10-17_08-00-38&sys=ctr&reg=E&soap=1

    round 1, 4 titles
    • open FBI and go to "Titles"
    • scroll all the way down the red until you get to the DSi stuff in blue
    • you'll see 00040138, 2, 3, 102, 202, all in red
    • those are NATIVE_FIRM, SAFE_MODE_FIRM, TWL_FIRM, and AGB_FIRM
    • for each of them, click them and "Delete Title And Ticket"
    • after they're installed, press B a few times to get to the main FBI menu
    • go into SD, and whatever folder you put all the cia files in
    • reinstall those 4 titles, 00040138-00000002, 00040138-00000003, 00040138-00000102, 00040138-00000202
    • press B a few times to get back to the main FBI menu
    • hold the power button for a second to get the "Software closed." screen
    • just press Power Off
    !!! we are now skipping all the system modules cause every time I hotswapped them, it wouldn't boot after a power cycle, even into recovery mode !!!

    round 2, 22 titles
    • boot your 3DS back up, open FBI, and go back to "Titles"
    • now we're uninstalling applets, 00040030
    • in FBI they're split up since some are named at the top
    • "Delete Title And Ticket" for:
    • amiibo Settings, Friend List, Game Notes, Instruction Manual (black icon), Internet Browser, Miiverse, MINT, Notifications, Post to Miiverse
    • down a little bit from that should be non-labelled 00040030 titles, starting with 8A02, "Delete Title And Ticket" for those too
    • be careful not to delete something not 00040030
    • once all 22 titles, both labelled and not, are deleted, press B a few times to get to the main FBI menu
    • go into SD, and whatever folder you put all the cia files in
    • reinstall all 00040030 titles, should be 8A02 to F602
    • press B a few times to get back to the main FBI menu
    • hold the power button for a second to get the "Software closed." screen
    • just press Power Off
    round 3, 16 titles
    !!! make sure FBI is installed standalone and not injected cause we're deleting and reinstalling Health and Safety !!!
    • boot your 3DS back up, open FBI, and go back to "Titles"
    • now we're uninstalling system applications, 00040010
    • looks like they're all labelled except for two
    • "Delete Title And Ticket" for:
    • ???, Activity Log, AR Games, Download Play, Face Raiders, Health and Safety, Mii Maker, 3DS Camera, 3DS Sound,
    • eShop, NNID Settings, Nintendo Zone, StreetPass Mii Plaza, System Settings,
    • and right below it, 21F00 and 24000
    • be careful not to delete the 00040030 labelled stuff you reinstalled above
    • press B a few times to get to the main FBI menu
    • go into SD, and whatever folder you put all the cia files in
    • reinstall all 00040010 titles, should be 21000 to 2C000
    • press B a few times to get back to the main FBI menu
    • hold the power button for a second to get the "Software closed." screen
    • just press Power Off
    round 4, 7 titles
    • now you're past the worst part
    • boot your 3DS back up, open FBI, and go back to "Titles"
    • now we're uninstalling all 0004001B data archives
    • none of them are labelled and there's only 7 which makes our life easy
    • scroll down a bit into the numbered red titles, and find the 7 0004001B
    • straightforward, "Delete Title And Ticket"
    • back out with B, go into SD, go into the right folder
    • reinstall those 7 titles, should be 10002 to 19002
    • press B a few times, hold the power to close the app, power off
    round 5, 14 titles
    • boot your 3DS back up, open FBI, and go back to "Titles"
    • we're reinstalling the shared archives, 0004009B
    • they're in the numbered list past 00040030, starting with 10202
    • straightforward, "Delete Title And Ticket"
    • back out with B, go into SD, go into the right folder
    • reinstall those 14 titles, should be 10202 to 15302
    • press B a few times, hold the power to close the app, power off
    last round, 4 titles
    • boot your 3DS back up, open FBI, and go back to "Titles"
    • reinstalling the other system data, 000400DB
    • they're right under the 0004009B titles we just reinstalled
    • straightforward, "Delete Title And Ticket"
    • back out with B, go into SD, go into the right folder
    • reinstall those 14 titles, should be 10202 to 15302
    • press B a few times, hold the power to close the app, power off
    I'd recommend then turning it back on holding L+R+A+up to get into recovery and letting that run to fix anything weird
    I'm not sure what actually gets erased but you can just restore whatever system data is needed from your JKSM stuff and the NAND backup
    I clean wiped so I didn't have to deal with it so I can't help you there
    Hopefully that fixes it from doing stupid stuff, I'd grab boot9strap v1.2, latest SafeB9SInstaller release, reinstalling that if you haven't already, and then updating your Luma3DS binary to the latest nightly: https://astronautlevel2.github.io/Luma3DS/

    Let me know if you hit any snags

    EDIT: oops, missed one round, uninstall the 4 DSi titles at the very very bottom of titles, DS Download Play, NINTENDO DSi^tm, and the two 0004800F, and reinstall those too, two 00048005 (the two named) and two 0004800F (the non-named)
     
    Last edited by NWPlayer123, Jun 16, 2017
  20. Ar7ific1al
    OP

    Ar7ific1al GBAtemp Regular

    Member
    131
    42
    Jul 12, 2009
    United States
    Whoa Nelly, that's a lot of stuff. lol I'm going to continue trying the CTR Transfer with my new emuNAND first, before I try all that with my SysNAND. I've already done the CTR transfer to my emuNAND, and I tried updating it but it got about a third of the way through and gave an error. I'm going to try it again.

    I really don't care about anything else except my game saves and NNID. I've already backed up all of my games' saves with JKSM. I don't mind having to reinstall all of my games on a fresh system, so long as I can keep my CFW, NNID, and restore my game saves. lol
     
    NWPlayer123 likes this.