--- title: "安装 boot9strap(通过 Fredtool)" --- {% include toc title="目录内容" %} {% capture technical_info %} 技术细节(选看) 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 is a currently working implementation of the "FIRM partitions known-plaintext" exploit detailed [here](https://www.3dbrew.org/wiki/3DS_System_Flaws). {% endcapture %}
{{ technical_info | markdownify }}
{: .notice--info} ### 你需要准备点啥? * 你在 [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` 文件) #### 第一步 – 检查自制固件 我们将预先检查主机是否安装了自制固件,以确保安装能够安全进行。 因为如果主机已经安装了自制固件,使用此方法再次安装可能会导致主机变砖(导致其无法开机,只能使用 [ntrboot](ntrboot) 之类的方法恢复。) 1. 将主机关机 1. 按住 “Select” 键 1. 在按住 “Select” 键的同时按下电源键开机 1. 如果主机自动启动到了主菜单,则测试成功,你可以继续做此教程中的余下内容 1. 将主机关机 如果主机进入到了一个配置菜单或者直接关机了,那就表示你的主机之前已经安装过自制固件了。**如果继续操作的话可能会导致主机变砖!** 继续至[检查自制固件](checking-for-cfw)来更新你现有的自制固件。 {: .notice--danger} #### 第二步 – BannerBomb3 本节中,你将会使用 DSiWare 数据管理菜单触发 BannerBomb3 漏洞,并利用它导出一个在下一个步骤中需要使用的文件。 1. 将 SD 卡重新插入你的主机 1. 启动你的主机 1. 启动你主机上的 “系统设置(System settings)” 1. 依次点击 `数据管理(データ管理/Data Management)` -> `DSiWare 数据管理(DSiWareデータ管理/DSiWare)` -> `SD卡(micro SDカード/SDカード/SD/microSD)`([例图](/images/screenshots/bb3/dsiware-management.png)) + 你的主机将会打开 BB3 multihax 菜单 + 如果做完这步之后你的主机崩溃了,[请参照此故障排查](troubleshooting#dsiware-management-menu-crashes-without-showing-bb3-multihax-menu)。 1. 使用十字键移动至 “Dump DSiWare” ,然后按下 A 键 + 主机将会自动重启 1. 将主机关机 #### 第三步 – 准备工作 本节中,你将会临时将 DS 连接设置(DS Connection Settings)程序临时替换为 Flipnote Studio,用来启动 boot9strap(自制固件)安装器。 1. 将你的 SD 卡插入到电脑 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. 打开内存卡的 `Nintendo 3DS` -> `` -> `` -> `Nintendo DSiWare` 文件夹 + `` 是你在 [Seedminer](seedminer) 部分中复制的 32 位字母长的文件夹名称 + `` 是一个在 `` 文件夹内,另一个 32 位字母长的文件夹 1. 删除 Nintendo DSiWare 文件夹中的 `F00D43D5.bin` 文件 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` 文件夹到内存卡的根目录 1. 将SD卡重新插入你的主机 1. 启动你的主机 ![]({{ "/images/screenshots/fredtool/fredtool-root-layout.png" | absolute_url }}) {: .notice--info} #### 第四步 – 覆盖 “DS 连接设置(DS Connection Settings)” 本节中,你将把被修改过的 DS 连接设置应用程序复制进内部存储,这将临时替换其为 Flipnote Studio。 1. 启动你主机上的 “系统设置(System settings)” 1. 依次点击 `数据管理(データ管理/Data Management)` -> `DSiWare 数据管理(DSiWareデータ管理/DSiWare)` -> `SD卡(micro SDカード/SDカード/SD/microSD)`([例图](/images/screenshots/bb3/dsiware-management.png)) 1. 选择 “Haxxxxxxxxx!” 1. 选择 “Copy” ,然后选择 “OK” 1. 返回系统设置的主菜单 1. 进入至 `网络设置(インターネツト設定/Internet Settings)` -> `DS 连接设置(DSソフト用設定/Nintendo DS Connections)`,然后点击 “OK”([例图](/images/screenshots/fredtool/dsconnection.png)) 1. 如果漏洞执行成功,你的主机将进入到日版的“うごくメモ帳 (Flipnote Studio)” #### 第五步 – 触发 Flipnote 漏洞 如果你需要图片帮助,请点击 [这里](https://zoogie.github.io/web/flipnote_directions/)。 {: .notice--info} 本节中,你将要在 Flipnote Studio 中进行一些非常特殊的步骤,一旦全部操作正确,你将直接进入 boot9strap(自制固件)安装器。 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 6 of Section IV 1. 按下 “A” 键,然后同时按下 START 键和 SELECT 键来开始安装 1. 一旦下屏显示 “done.” ,那么安装就已经完成了。退出b9stool ,然后关机 + 你可能需要长按电源键强制关机 + 如果你的主机在你尝试开机后自动关机了,请确认你已经从 Luma3DS `.zip` 中复制了 `boot.firm` 文件到你的 SD 卡根目录中 + If you see the Luma Configuration screen, power off your device and continue to the next section #### Section VI - Luma3DS Configuration 1. Press and hold (Select), and while holding (Select), power on your device. This will launch Luma3DS configuration + Luma3DS configuration menu are settings for the Luma3DS custom firmware. Many of these settings may be useful for customization or debugging + For the purpose of this guide, these settings will be left on default settings + If you boot to HOME Menu, [follow this troubleshooting guide](https://github.com/zoogie/b9sTool/blob/master/TROUBLESHOOTING.md) 1. 按下 “Start” 键保存设置并重启 这时,你的主机默认将会自动启动 Luma3DS。 + Luma3DS 不会给正常的主菜单增添任何看上去十分特别的东西。 如果你的主机现在已经启动到主菜单了,说明自制固件已经在运行了。 + 在下一页中,我们将会教你安装一些有用的自制程序来完成安装步骤。 #### 第七步 – 还原 “DS 连接设置(DS Connection Settings)” 本节中,你将会把之前第四步中被替换为 Flipnote Studio 的 DS 连接设置程序还原回原来的状态。 1. 打开内存卡的 `Nintendo 3DS` -> `` -> `` -> `Nintendo DSiWare` 文件夹 1. 下载的 DSiWare 压缩包 (`output_(<你的名字>).zip`) 里的 `clean` 文件夹复制 `42383841.bin` 到 `Nintendo DSiWare` 文件夹,替换已有文件 1. 将SD卡重新插入你的主机 1. 启动你的主机 1. 启动你主机上的 “系统设置(System settings)” 1. 依次点击 `数据管理(データ管理/Data Management)` -> `DSiWare 数据管理(DSiWareデータ管理/DSiWare)` -> `SD卡(micro SDカード/SDカード/SD/microSD)`([例图](/images/screenshots/bb3/dsiware-management.png)) 1. 选择 “Nintendo DSi™” 1. 选择 “Copy” ,然后选择 “OK” ___ ### 继续至[完成安装](finalizing-setup) {: .notice--primary}