--- title: "安装 boot9strap(通过 Fredtool)" --- {% include toc title="目录内容" %}
Technical Details (optional)

This method of using Seedminer for further exploitation uses your movable.sed file to decrypt any DSiWare title for the purposes of injecting an exploitable DSiWare title into the DS Internet Settings application. This requires you to have a DSiWare backup, which you should have gotten in the previous section.

This is a currently working implementation of the "FIRM partitions known-plaintext" exploit detailed here.

{: .notice--info} ### 你需要准备点啥? * A DSiWare Backup, normally `42383841.bin` (You should have one on the root of your SD card from following [BannerBomb3](bannerbomb3)) * 你在 [Seedminer](seedminer) 步骤中获得的 `movable.sed` 文件 * 最新版本的 [Frogminer_save](https://github.com/zoogie/Frogminer/releases/latest)(下载 `Frogminer_save.zip`) * 最新版本的 [b9sTool](https://github.com/zoogie/b9sTool/releases/latest)(下载 `boot.nds`) * 最新版本的 [Luma3DS](https://github.com/LumaTeam/Luma3DS/releases/latest)(下载 Luma3DS `.zip` 文件) #### 第一步 – 检查自制固件 As an additional safety measure, we will perform an additional check for custom firmware. This is because using this method when custom firmware is already installed has a risk of bricking the console (rendering it unusable without recovery methods like [ntrboot](ntrboot)). 1. 将主机关机 1. 按住 “Select” 键 1. 在按住 “Select” 键的同时按下电源键开机 1. 如果主机自动启动到了主菜单,则测试成功,你可以继续做此教程中的余下内容 如果主机进入到了一个配置菜单,那就表示你的主机之前已经安装过自制固件了。**如果继续操作的话可能会导致主机变砖!** 继续至[检查自制固件](checking-for-cfw)来更新你现有的自制固件。 {: .notice--danger} #### 第二步 – 准备工作 In this section, you will copy the files necessary to temporarily replace DS Connection Settings with Flipnote Studio, which is used to launch the boot9strap (custom firmware) installer. 1. 在电脑上打开 [DSIHaxInjector_new](https://jenkins.nelthorya.net/job/DSIHaxInjector_new/build?delay=0sec) 站点 1. 于“Username”一行,填入一个你的英文名(不带空格或特殊字符) 1. 于 “DSiBin” 一行,点击“Browse...”(选择文件)来上传先前的 `42383841.bin` 文件 1. 于“MovableSed”一行,点击“Browse...”(选择文件)上传你的 `movable.sed` 文件 1. 于“InjectionTarget”一行,设置注入对象为 `DSinternet`(**不是带有** memorypit 字串的那个) 1. 点击 “Build” + 等待片刻,直到构建完成 1. 将你的名字输入左边的 Build History 菜单中的 Filter Builds 一栏 1. 点击第一个搜索结果 + 它应该是所有显示的结果中时间最新的那一个 1. 点击 "output_(<你的名字>).zip" 的链接 1. 将你的 SD 卡插入到电脑 1. 打开内存卡的 `Nintendo 3DS` -> `` -> `` -> `Nintendo DSiWare` 文件夹 + `` is the 32-letter folder name that you copied in [Seedminer](seedminer) + `` is a 32-letter folder inside of the `` 1. 从下载的 DSiWare 压缩包 (`output_(<你的名字>).zip`) 里的 `hax` 文件夹复制 `42383841.bin` 到 `Nintendo DSiWare` 文件夹 ![]({{ "/images/screenshots/bb3/dsiware-location-4.png" | absolute_url }}){: .notice--info} 1. 解压 Luma3DS `.zip` 里的 `boot.firm` 和 `boot.3dsx` 到你 SD 卡的根目录 + 根目录指的是你点进 SD 卡看到的目录,你可以在这个目录下看到 Nintendo 3DS 文件夹,但请不要点进去 1. 复制 `boot.nds` (B9STool)到你的 SD 卡根目录 1. 从 Frogminer_save `.zip` 压缩包中复制 `private` 文件夹到内存卡的根目录 ![]({{ "/images/screenshots/fredtool-root-layout.png" | absolute_url }}) {: .notice--info} #### Section III - Overwriting DS Connection Settings In this section, you will copy the hacked DS Connection Settings DSiWare to internal memory, which will temporarily replace it with Flipnote Studio. 1. 启动你的主机 1. 启动你主机上的 “系统设置(System settings)” 1. Navigate to `Data Management` -> `DSiWare`-> `SD Card` ([image](/images/screenshots/bb3/dsiware-management.png)) 1. Select the "Haxxxxxxxxx!" title 1. 选择 “Copy” ,然后选择 “OK” 1. 返回系统设置的主菜单 1. Navigate to `Internet Settings` -> `Nintendo DS Connections`, then select "OK" ([image](/images/screenshots/fredtool/dsconnection.png)) 1. 如果漏洞执行成功,你的主机将进入到日版的“うごくメモ帳 (Flipnote Studio)” #### 第四步 – 触发 Flipnote 漏洞 如果你需要图片帮助,请点击 [这里](https://zoogie.github.io/web/flipnote_directions/)。 {: .notice--info} In this section, you will perform a series of very specific steps within Flipnote Studio that, when performed correctly, will launch the boot9strap (custom firmware) installer. 1. 完成游戏的初始设置,直到进入主菜单为止 + 在出现提示时,选择左边的 “我不需要(いらない)” 选项 1. 使用触摸屏点击 “メモを見る” 并选择 “SD カード” 1. 菜单载入后,点击( ͡° ͜ʖ ͡°) 图标,然后点击右下角的按钮继续 1. 通过上屏所示的选项,通过 “X” 键或十字键的 “↑” 键来选择 1. 使用触摸屏点击胶卷按钮 1. 向右移动到 “3/3” 1. 点击第三个带有 “A” 的框 1. 向左移动到 “1/3” 1. 点击第四个带有 “A” 的框 1. 如果漏洞成功执行,你的主机将会进入到 b9sTool 1. 使用十字键将光标移动至“Install boot9starp” + If you miss this step, the system will exit to HOME Menu instead of installing boot9strap and you will need to open System Settings, then start over from Step 7 of Section III 1. 按下 “A” 键,然后同时按下 START 键和 SELECT 键来开始安装 1. 一旦下屏显示 “done.” ,那么安装就已经完成了。退出b9stool ,然后关机 + 你可能需要长按电源键强制关机 + 如果你的主机在你尝试开机后自动关机了,请确认你已经从 Luma3DS `.zip` 中复制了 `boot.firm` 文件到你的 SD 卡根目录中 + 如果你看到主机显示了 Luma 配置菜单,请按下 START 键重启然后继续教程 #### 第五步 – 验证 Luma3DS Due to the nature of the exploit used, it is occasionally (but rarely) possible for boot9strap to not actually get installed. This section will therefore verify that boot9strap was successfully installed by seeing if some files that are normally automatically generated by Luma3DS were created. 1. 将主机关机 1. 将你的 SD 卡插入到电脑 1. 检查 `luma` 文件夹是否存在,再检查里面是否有 `config.ini` 文件。 + 这些文件夹和文件的存在可证实 Luma3DS 已安装 + 如果你没看到 `luma` 文件夹或 `config.ini`,[请参见此故障排查章节](https://github.com/zoogie/b9sTool/blob/master/TROUBLESHOOTING.md) 这时,你的主机默认将会自动启动 Luma3DS。 + Luma3DS 不会给正常的主菜单增添任何看上去十分特别的东西。 如果你的主机现在已经启动到主菜单了,说明自制固件已经在运行了。 + 在下一页中,我们将会教你安装一些有用的自制程序来完成安装步骤。 #### 第六步 – 还原 “DS 连接设置(DS Connection Settings)” In this section, you will restore DS Connection Settings to the way it was before it was temporarily replaced with Flipnote Studio in Section III. 1. 打开内存卡的 `Nintendo 3DS` -> `` -> `` -> `Nintendo DSiWare` 文件夹 1. Copy the `42383841.bin` file from the `clean` folder of the downloaded DSiWare archive (output_(name).zip) to the `Nintendo DSiWare` folder, replacing the existing one 1. 将 SD 卡重新插入你的主机 1. 启动你的主机 1. 启动你主机上的 “系统设置(System settings)” 1. Navigate to `Data Management` -> `DSiWare`-> `SD Card` ([image](/images/screenshots/bb3/dsiware-management.png)) 1. Select the "Nintendo DSi™" title 1. 选择 “Copy” ,然后选择 “OK” ___ ### 继续至[完成安装](finalizing-setup) {: .notice--primary}