---
title: "Seedminer (Mii)"
---
{% include toc title="目录内容" %}
{% capture gpu_warning %}
This method requires a reasonably powerful GPU (any dedicated graphics card made in the last few years) and the ability to use a command line. If you don't know what those are or do not have the hardware necessary, join [Nintendo Homebrew on Discord](https://discord.gg/MWxPgEp), open the "#mii-mining-assistance" channel and provide the following:
+ Your Mii QR code, uploaded directly to Discord (do not take a screenshot or a photo of the image, just send the HNI_XXXX.JPG image itself)
+ Your console's ID0 (the name of the 32-character folder directly inside of Nintendo 3DS - see [this troubleshooting section](https://3ds.hacks.guide/troubleshooting#seedminer) if you have multiple)
+ Your console model (e.g. 3DS, 3DS XL, 2DS, New3DS, New3DS XL, New2DS XL)
+ Your console's approximate year of manufacturing (it may be present behind the frontplate or backplate; if you don't know, just guess - it's not super important)
{% endcapture %}
{{ gpu_warning | markdownify }}
{% capture technical_info %}
技术细节(选看)
To install boot9strap on your console, we derive your console's unique encryption key. To accomplish this, we use a tool called Seedminer to calculate the data encryption key (movable.sed) for your console.
Because we do not have access to the Friends List, we are deriving the first part of `movable.sed` using a Mii QR code instead of by performing a two-way friend exchange.
如果想要了解 Seedminer 是怎么工作的,请参见此[介绍资料](https://zoogie.github.io/web/34⅕c3)。
{% endcapture %}
{{ technical_info | markdownify }}
{: .notice--info}
## Instructions
If you are on Linux or macOS, replace `py -3` with `python3` in all commands.
{: .notice--info}
### 你需要准备点啥?
+ The latest release of [Seedminer](https://github.com/zoogie/seedminer/releases/latest) (the Seedminer .zip)
+ Any 3.x version of [Python](https://www.python.org/downloads/) installed
+ If you are on Linux, you likely already have Python 3. Check by opening a terminal and entering `python3 -V`. If this returns a version number, it will work for this guide.
### Section I - Prep Work
In this section, you will set up Seedminer and obtain your console's files that are needed for mining.
1. Extract the contents of the Seedminer `.zip` and move the folder with your operating system's name to anywhere on your PC
+ Keep this location handy, as this Seedminer folder will be where multiple other files are placed
1. In the Seedminer folder, hold SHIFT and right-click anywhere in the folder's empty space, then click the option that opens Terminal, PowerShell, or Command Prompt
1. In the command line window, type `py -3 -m pip install pycryptodomex`, hit ENTER, and allow it to install
+ If this command fails with the error `No module named pip`, you must manually install pip. The methods to do this can be found on [this page](https://pip.pypa.io/en/stable/installation/).
1. Power on your console while the SD card is inserted
1. Open the Mii Maker app
1. Tap the "QR Code/Image Options" button
1. Tap "Save Mii as QR Code"
1. Select a Mii Character **that was created on this console, NOT imported from another console** (make a new one first if you don't have any), and press "OK"
1. Power off your console
1. 将你的 SD 卡插入到电脑
1. 打开你 SD 卡的 `Nintendo 3DS` 文件夹
1. 从 Nintendo 3DS 文件夹里面复制里面的一个 32 位长名字的文件夹的名称
+ 这个 32 位字符长的文件夹是每台主机唯一使用的
+ If you see multiple 32-letter folders, follow [these instructions](troubleshooting#seedminer)
+ 如果只是多了个 `private` 文件夹,则你可以忽略它
![]({{ "/images/screenshots/seedminer/id0-example.png" | absolute_url }})
{: .notice--info}
1. 将这 32 位字符长的名字复制到一个[文档](/images/screenshots/seedminer/text-document.png)中,以便在后面的操作中使用
+ 这个文件夹名也称作 “ID0”。 请注意这个东西,本教程将在稍后提及它
1. Navigate to the `DCIM` folder on the SD card
1. Look for the QR Code, which will be a `.JPG` file starting with `HNI`
+ You may have many other files in here already if you use the Nintendo 3DS Camera app
1. Copy this file to the Seedminer folder on your PC
### Section II - Processing Mii QR and Mining
In this section, you will turn the Mii QR code into a usable file and mine `movable.sed` with it.
1. Open the [editMii](https://zoogie.github.io/web/miiqr/) website on your computer
1. Click on "Import from...", then select "QR Code" and upload the Mii QR code from earlier
1. Click on "Export to...", then select "encrypted (.bin)"
+ This will download a file named `input.bin`
1. Copy this `input.bin` to the Seedminer folder
1. Open the terminal/PowerShell/Command Prompt window from earlier
1. Inside this window, enter the command `py -3 seedminer_launcher3.py id0 `
+ Replace `` with the ID0 you copied into a document
+ Do not include the angle brackets
+ 不要尝试手动输入 ID0,因为很容易输错。 确保那是你在上一节中复制并粘贴的 ID0 以防复制错了
1. Once it completes, enter the command `py -3 seedminer_launcher3.py mii `
+ Replace `` with the model of your console (`new` or `old`) - if you aren't sure, only models with the ZL/ZR buttons and C-Stick are "new"
+ Replace `` with the year the 3DS was made (you often find this behind the backplate) - leave this empty if you aren't sure, in which case it will start from the middle
+ The mining process will usually take up to 90 minutes, depending on luck and your GPU's strength
+ The first stage will likely max out at roughly offset 1500, depending on console model
+ If the second stage (after seeing `movable_part2.sed generation success`) gets past offset 100, verify that you input the correct ID0. If your ID0 is correct, you cannot use this method and will have to update to the latest version and see if a non-Seedminer method is available for you [here](alternate-exploits)
+ If you see the message `input.bin is invalid size`, remake the `input.bin` using your QR Code. If it *still* fails, open a different browser and remake the `input.bin` there
+ If you see the message `LFCS has been left blank`, use the opposite console model (e.g. `mii old` instead of `mii new`)
1. When it finishes, a file called `movable.sed` will appear in the Seedminer folder
Continue to [BannerBomb3 (Legacy)](bannerbomb3-(legacy))
{: .notice--primary}