Soundtoxin

[GUIDE] Downgrading your 3DS and installing CFW

Jan 6th, 2016
21,326
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. A guide to downgrading from >=9.3 and installing custom firmware (CFW).
  2.  
  3. NOTE: O3DS refers to the old 3DS, the original model, whether it's XL or not, and N3DS refers to the new model with a c stick and extra buttons (also XL or not). The 2DS is an O3DS.
  4.  
  5. If you get stuck along the way, please read the FAQ at the bottom of this pastebin before asking questions.
  6.  
  7. =====Downgrade=====
  8. Get the 9.2 firmware for your system here. Make sure to get the right one, or you risk bricking your system. The letter in the file name pertains to your region. (United States, Europe, Japan, etc.)
  9. https://mega.nz/#F!IApGwLJL!kYHL5jMlDfd0rmn6a8DaFw
  10. copy the updates folder to the root of your SD card.
  11.  
  12. JAPAN N3DS ONLY: Delete the 000400102002CA00.cia file from your updates folder. (or else you will brick)
  13.  
  14. This is Julian20's latest sysUpdater; run it till it works.
  15. https://my.mixtape.moe/fgaxct.zip
  16. If you're not sure where the files go, make sure the .3dsx and .smdh are both in a folder called sysUpdater inside your 3DS folder on the SD card.
  17.  
  18. After getting to the homebrew menu, find sysUpdater. It's probably near the bottom of your list.
  19.  
  20. =====cakepack=====
  21.  
  22. Below I have compiled every file you should need for the process for you to download all at once if you so choose. If you'd like to do this manually, continue on to the Files section.
  23. O3DS cakepack: https://my.mixtape.moe/nasuuo.7z
  24. N3DS cakepack: https://my.mixtape.moe/wnkzxj.7z
  25.  
  26. =====Files=====
  27.  
  28. Homebrew Starter Kit
  29. https://smealum.github.io/ninjhax2/starter.zip
  30.  
  31. EmuNAND9
  32. https://github.com/d0k3/EmuNAND9/releases
  33. (put the 3DS folder on the root of the SD card)
  34.  
  35. FBI
  36. https://github.com/Steveice10/FBI/releases
  37. (put the 3ds folder on the root of your SD card/merge with your existing one, place the cia file either in a folder called cia or at the root of your SD card, either works)
  38.  
  39. miniPasta
  40. https://gbatemp.net/attachments/minipasta-zip.28168/
  41. (place the miniPasta folder inside the 3DS folder)
  42.  
  43. TinyFormat
  44. https://github.com/javimadgit/TinyFormat/releases
  45.  
  46. =====FBI/Menuhax (optional) installation=====
  47.  
  48. To start with, we need to get to the homebrew menu. Feel free to use your favorite method. Here, we'll use browserhax since anyone can use it. Navigate to http://yls8.mtheall.com/3dsbrowserhax_auto.php and you should arrive at the homebrew menu. Once here, you may want to install menuhax as an easier entrypoint. (NOTE: to setup menuhax you must have gone to the theme settings at least once. These are at the top left of the bottom screen on the home menu. Go to where you would change your theme, but then back out if you don't want to. You should see a message about data being created)
  49.  
  50. First off we'll need signature patching so we can run FBI. To do this, you'll launch miniPasta. If you don't want to use browserhax, hold your menuhax trigger right after launching miniPasta. If you're using browserhax, just wait. It'll kick you back to your home menu, only this time with signature patching, allowing you to install whatever you want. Now return to the homebrew menu via the browserhax URL again. Once here, launch FBI. Now that you're in FBI you can install .cia files. Go to where you save FBI.cia and install it. This will allow you to access FBI from your home menu instead of the homebrew launcher.
  51.  
  52. =====SysNAND backup=====
  53.  
  54. Once you're done with that, return to the homebrew launcher and run the Emunand9 application. From here select emuNAND Manager Options, then dump sysNAND to NAND.bin. This can take up to ten minutes, so make sure it's plugged into a charger if the battery is low. Once this is finished, press select to unmount your SD card. At this point you're going to leave the 3DS powered on, but eject the SD card. Put the SD card in your computer and back up all your files. The next step is going to wipe your SD card so this is important. You may also want to backup NAND.bin to several places, as it's useful for restoring your sysNAND in an emergency.
  55.  
  56. =====EmuNAND creation and backup=====
  57. DISCLAIMER: if you don't want an emuNAND and you're willing to go through some extra work, you may skip this step as well as the unlinking step and go setup a9lh (arm9loaderhax) instead. See FAQ for more info.
  58.  
  59. Once you've finished transferring those files to your computer and you've put the SD card back in, press b twice to get back to the main menu of Emunand9. This time you're going to select Complete emuNAND Setup, it will format your SD card, create an emuNAND partition, and copy your sysnand to it. If you get a message about starter.bin missing, it's safe to ignore it and continue. This will likely take as long as it took to dump your NAND earlier. Once it's done, you now have an emuNAND. Your CIA manager is already installed there if you did this right, since you installed FBI before creating an emuNAND. Once that's done, you might want to make an emuNAND backup as well. This is next to the option you selected before for dumping sysNAND to a file. After you've done that, shutdown your 3DS and put your SD card back in your computer, then copy all your backed up files to your SD card again. The emuNAND you just created will take up 1GB of space on an O3DS and 2GB of space on an N3DS. This space takes the form of a hidden partition, not a file. Keep this in mind if you ever switch SD cards. You'll have to do more than just copy all your files over.
  60.  
  61. =====Unlinking NANDs=====
  62.  
  63. You can unlink your NANDs at this point by formatting your sysNAND. To do this, we're going to use TinyFormat. You should've downloaded it earlier. You're going to go Homebrew Launcher > TinyFormat (or if you're using the cakepack, you can use the file manager in ctrbootmanager to boot TinyFormat right after you trigger one of the *hax). This method is better than just removing your SD card and formatting sysNAND. It won't require you to have your SD card out, and it'll also avoid your NNID becoming unlinked on Nintendo's servers. All your data on sysNAND will be wiped, but will still be safe on your emuNAND after you do so.
  64.  
  65. WARNING: You must run TinyFormat from the NAND you want to format. Don't run it in emuNAND.
  66.  
  67. =====Cakes installation=====
  68. This is the hardest part (but it's not that hard). Cakes is easy and straightforward to run and use compared to everything else, but finding the right files and setting up your SD card for it the first time can be a bit confusing.
  69.  
  70. If you got the cakepack from earlier in the guide, you don't need to download any other files.
  71.  
  72. Cakes
  73. https://github.com/mid-kid/CakesForeveryWan/releases
  74. Just download the .zip.
  75.  
  76. slot0x11key96.bin (for 9.6 or higher emuNAND on N3DS)
  77. https://mega.nz/#!tNtCETAS!IanlyPjKlPnmoS-QhXmVbROeOVC0_0q71VgKYvvwTK0
  78.  
  79. --o3DS--
  80. firmware.bin
  81. http://nus.cdn.c.shop.nintendowifi.net/ccs/download/0004013800000002/00000049 (rename it to firmware.bin)
  82. mirror:
  83. https://mega.nz/#!gNFAHC6S!Qma2ec3NWKq8td8-JrjN1tXYl9UfyknvLMZ0oTIWhbc
  84.  
  85. cetk
  86. http://nus.cdn.c.shop.nintendowifi.net/ccs/download/0004013800000002/cetk
  87. ---
  88.  
  89. --n3DS--
  90. firmware.bin
  91. http://nus.cdn.c.shop.nintendowifi.net/ccs/download/0004013820000002/0000001B (rename it to firmware.bin)
  92. mirror:
  93. https://my.mixtape.moe/shhpjw.bin
  94.  
  95. cetk
  96. http://nus.cdn.c.shop.nintendowifi.net/ccs/download/0004013820000002/cetk
  97. ---
  98.  
  99. Just place the relevant files for your system on your SD card. For every .here file on your SD card you should have the real file next to it. Once done you can safely delete the .here files. To review: firmware.bin and firmkey.bin both go in the /cakes folder. Now launch Cakes through the homebrew launcher, and hopefully you get to a menu. Go to "Select Patches" and check "Enable emuNAND" as well as "Disable signature checks". Now Boot your CFW.
  100.  
  101. Welcome to emuNAND. Protip: make a new folder right now so you can tell when you're in emuNAND or not. Cakes does not yet tell you which NAND you're in. To do this, tap on an empty square of your home menu and press new folder. If you're ever unsure which NAND you're in, just check to see if it's there or not. Another way to tell NANDs apart is by themes/installed content. Creating this folder is not necessary and is only for the paranoid/unsure.
  102.  
  103. =====Installing other common homebrew applications=====
  104.  
  105. DevMenu (The official Nintendo CIA Manager that's better than FBI in some ways)
  106. https://my.mixtape.moe/vppkko.cia
  107.  
  108. HBLauncher Loader (.cia file to load the homebrew launcher)
  109. https://github.com/yellows8/hblauncher_loader/releases
  110.  
  111. sysUpdater
  112. https://github.com/profi200/sysUpdater/releases
  113.  
  114. Decrypt9
  115. https://github.com/d0k3/Decrypt9/releases
  116.  
  117. Universal Inject Generator (this runs on your computer)
  118. https://github.com/d0k3/Universal-Inject-Generator
  119.  
  120. =====Updating emuNAND=====
  121.  
  122. You may also want to update your emuNAND to be newer than your sysNAND
  123. If you're on an O3DS, you can just go to System Settings from emuNAND and update. If you're on an N3DS, make sure you have the proper firmware.bin file as well as slot0x11key96.bin and do the same. (if you have the cakepack it is safe to update)
  124.  
  125. =====Coldboot=====
  126.  
  127. The last useful thing to do is to setup coldbooting into emuNAND with ctrbootmanager. This is a handy tool similar to GRUB if you're familiar with GNU/Linux.
  128.  
  129. To start with, go to your sysNAND and make sure you've loaded a theme. I touched on this further up, but you've probably formatted sysNAND since then, so you'll have to do it again. Once this data has been created, get back to the homebrew launcher via the browserhax URL. (http://yls8.mtheall.com/3dsbrowserhax_auto.php) From here run Menuhax Manager to setup Menuhax. Once it's done installing, go to where you configure how it's triggered. Select type 2, then decide what button you want to press to NOT run Menuhax on startup. I chose X, as it's often easier to reach then the shoulder buttons. When you've decided on the button, hold it down and then touch the touch screen to set it. At this point we could move on, but you should probably make sure menuhax works. Power off your 3DS and then turn it back on. If everything went okay you should return to the homebrew launcher without having to press any buttons.
  130.  
  131. =====ctrbootmanager=====
  132.  
  133. Now that menuhax works, we're moving on to ctrbootmanager. This can be downloaded here: https://gbatemp.net/attachments/ctrbootmanager-1-2-zip.29831/ Next, remove your SD card and put it back in your computer for this next part.
  134.  
  135. What we're doing now is taking advantage of menuhax automatically launching the file titled boot.3dsx by switching that file. Don't delete your boot.3dsx! Just rename it. We'll want this for later. Rename it to boot_hb.3dsx. Once that's done, drag the boot.3dsx and boot.cfg files from the ctrbootmanager download on to the root of your SD card. Now you'll want to edit your boot.cfg file. Since we're using Cakes instead of rxTools, but we still have miniPasta and the homebrew launcher, let's just overwrite the entry for rxTools with one for Cakes. It should look something like this
  136.  
  137. title = "CakesFW";
  138. path = "/Cakes.dat";
  139. offset = "0x12000";
  140.  
  141. That's it! Save the file and put your SD card back in your 3DS. It should now boot to ctrbootmanager when you power it on, and after waiting a few seconds, it should boot Cakes. If you want to boot sysnand ever, just hold the key you assigned for menuhax earlier when you power on your 3DS.
  142.  
  143. =====Region Free=====
  144. Cakes is currently lacking Region Free features found in other CFWs. To make up for this you can run NTR on top of Cakes.
  145. https://github.com/44670/BootNTR/releases
  146. Download BootNTR as well as NTR3.2.zip from this page. From the zip file place ntr.bin on the root of your SD card, and put BootNTR.cia wherever you've been keeping .cia files. After that just install BootNTR with FBI or BigBlueMenu and then run it.
  147.  
  148. =====FAQ=====
  149.  
  150. Q: My 3DS has been at the "Rebooting in 10 seconds" stage of the downgrade for a long time, what do I do?
  151. A: It should be safe to power it off and back on. If you still can't get to the home menu successfully, remove your SD card and then try to boot. If this works, you just have to change your theme or delete the Menuhax related files on your SD card. (read further down for more info)
  152.  
  153. Q: How do I install games now?
  154. A: When looking for games, make sure they come in a .cia file. Once you've got that, just place it anywhere on your SD card and then install it from FBI or BigBlueMenu.
  155.  
  156. Q: I'm having problems autobooting into Cakes, it just keeps freezing, can someone help me out?
  157. A: Try setting autobootfix = 200
  158.  
  159. Q: Is it true that rxTools is better for O3DS and Cakes for N3DS?
  160. A: No! mid-kid, the creator of Cakes, has an O3DS with no plans of upgrading. Cakes is fine for use on both.
  161.  
  162. Q: *hax freezes on a yellow screen, what do I do?
  163. A: This is normal, homebrew doesn't have a 100% boot rate. If you want to improve your bootrate, check out this thread: https://gbatemp.net/threads/guide-how-to-improve-menuhax-boot-rate-to-nearly-100.410764/
  164.  
  165. Q: Why does FBI give me INVALID SIGNATURE?
  166. A: You might be trying to install a .cia file without signature patching, use miniPasta if you're on sysNAND, if it's happening on emuNAND make sure you disabled signature checking in the Cakes menu under patches
  167.  
  168. Q: FBI gives DATABASE_ERROR
  169. A: Enter eshop once, it doesn't have to let you in. This should create database files.
  170.  
  171. Q: FBI gives INVALID_COMMAND
  172. A: You can't install .cia files using FBI.3dsx from emuNAND.
  173.  
  174. Q: Menuhax keeps looping!
  175. A: You have to unlink your NANDs to make autoboot work
  176.  
  177. Q: Why do games keep re-wrapping themselves?
  178. A: You have to unlink your NANDs to fix this
  179.  
  180. Q: After downgrading my screen stays black
  181. A: Remove your SD from your 3DS and try to boot again. If that worked, delete the following on your computer:
  182. SD:/Nintendo 3DS/gibberish/gibberish/extdata
  183.  
  184. Q: I just set all this up, but now I don't have room for games! How hard will it be to switch to a new SD card after I've already made my emuNAND?
  185. A: Not that hard, but still more than a simple copy/pasting of files. You'll still do said copy/pasting of files, but you'll also need Emunand Tool.
  186. Windows: https://my.mixtape.moe/nbxxqi.zip
  187. GNU/Linux or Mac OS: https://mega.nz/#F!o5pzFD6Q!1tZEMtYfp21chwOnsyEQRA
  188. A2: If you want to try another method, you can use dd on Mac OS or GNU/Linux, and bbcopy on Windows to make an image (exact copy) of your SD card and save it to a .bin file or equivalent, then put in the new SD card and flash that image to it. From there it'll be the size of the old SD card, so you'll have to backup the files on the fat32 partition, then resize the fat32 partition, and lastly reformat the fat32 partition because resizing fat32 breaks it.
  189.  
  190. Q: How do I fix CHMM2.cia displaying an error about sound modules?
  191. A: Get this homebrew application and run it from emuNAND.
  192. https://rinnegatamante.it/dsp_firmware_dumper.rar
  193.  
  194. Q: Where can I get themes for my 3DS?
  195. A: https://3dsthem.es
  196.  
  197. Q: Where is the slot0x25KeyX.bin download? Why is it not in the cakepack?
  198. A: New CakesFW no longer requires this. If you're on 7.x or older there's a patch in the menu you can enable for the same effect. You now don't need any slotkey file on the O3DS, and you only need slot0x11key96.bin on an N3DS on 9.6 emuNAND or higher.
  199.  
  200. Q: I forgot to install FBI before making my emuNAND! Do I have to start over?
  201. A: Injecting FBI to your Health & Safety app on emuNAND is the easiest option.
  202. >download Decrypt9 and Universal Inject Generator and run it from sysNAND
  203. >go to emuNAND options and then dump Health & Safety
  204. >put hs.app into the input folder in the Universal Inject Generator Folder and then run go.bat on Windows or go.sh on a UNIX-like OS
  205. >it should output "FBI_inject_no_banner.app" and "FBI_inject_with_banner.app" to outside the input folder
  206. >rename one of these files (your choice) to hs.app and put it back on your SD card
  207. >return to Decrypt9/emuNAND options and now inject it
  208.  
  209. Q: I believe I made a mistake, how do I restore my sysNAND backup?
  210. A: Decrypt9
  211.  
  212. Q: How do I extract .tar.gz?
  213. A: 7zip should handle this fine on Windows, I use 'file-roller' on GNU/Linux. Alternatively just run 'tar -xvf'.
  214.  
  215. Q: Does Cakes work on 10.7 emuNAND?
  216. A: Yes, of course. Why wouldn't it? NATIVE_FIRM did not change. This also means NTR still works.
  217.  
  218. Q: Isn't NTR still buggy to the point where you can't launch one game after another without it causing a reboot error?
  219. A: 3.3 has this issue, 3.2 does not. Both work on latest emuNAND using 10.2 NATIVE_FIRM.
  220.  
  221. Q: Where's the arm9loaderhax tutorial?
  222. A: There's already a great guide written and I'm not sure I could improve upon it in any way: https://github.com/Plailect/Guide/wiki/Part-4-(Getting-the-OTP)
  223.  
  224. Q: What version of Cakes is in the cakepack?
  225. A: It was 108 stable for a while, but with the rising popularity of a9lh recently, I have now compiled the latest source and put that build in there. Last change was a week ago. Says it's version 137 but it might have some differences from the nightly anyway.
  226.  
  227. Q: I already dumped my otp.bin, now where do I get the input_files for the arm9loaderhax installer?
  228. A: http://pastebin.com/iSdfHnDY
  229.  
  230. Q: I ran the arm9loaderhax installer and now my 3DS instantly shuts off!
  231. A: This is normal. Next you need a boot manager, such as ctrbootmanager9. You can find it in the cakepack, or download it from here: https://gbatemp.net/threads/release-ctrbootmanager9.417159/
  232.  
  233. Q: Is Cakes with a9lh as safe as aureinand?
  234. A: Yes. They both can protect firm0 and firm1 files. If you need this (if you're using cfw in sysNAND) make sure to enable the patch in the Cakes menu. It's not needed, however, for emuNAND.
RAW Paste Data