# Cập nhật firmware cho emuNAND

## ⚙️ Cách 1: update firmware dùng PC

{% stepper %}
{% step %}
Vào thư mục **atmosphere**. Xóa (hoặc đổi tên khác) thư mục **contents** để tránh các [sysmod](/guide/huong-dan-can-ban/cac-thuat-ngu-can-biet.md#sysmod-la-gi) bị lỗi không tương thích sau khi update firmware mới.

<figure><img src="/files/vekj4vVPFLIyEXIoS1Zf" alt="" width="375"><figcaption><p>Xóa thư mục "contents"</p></figcaption></figure>

Tiếp tục xóa 3 thư mục dưới đây trên thẻ nhớ (nếu có):

```
thẻ-nhớ:/atmosphere/crash_reports
thẻ-nhớ:/atmosphere/erpt_reports
thẻ-nhớ:/atmosphere/fatal_reports
```

{% endstep %}

{% step %}
Tải [gói hắc My-pack](/guide/download.md#cac-file-hac-co-ban-cho-switch) mới nhất, giải nén và copy đè vào **thư mục gốc** của thẻ nhớ SD.

{% hint style="warning" %}
Lưu ý: không dùng DBI để chép dữ liệu. Hãy chép dữ liệu vào thẻ nhớ bằng cách dùng [Hekate USB Tools](/guide/huong-dan-can-ban/quan-li-du-lieu-tren-the-nho.md#cach-1-hekate-usb-tools) và máy tính Windows. Hệ điều hành MacOS cũng không tuân thủ các tiêu chuẩn, nếu bạn chép dữ liệu bằng máy tính Mac có thể sẽ gặp lỗi.
{% endhint %}

<figure><img src="/files/YQpe3qk2Zp0wxBdk3gpB" alt="" width="375"><figcaption><p>Copy gói hắc My-pack vào thẻ nhớ</p></figcaption></figure>
{% endstep %}

{% step %}
Trong thư mục gốc của thẻ nhớ, tạo một thư mục mới và đặt tên là **Firmware**. Tải [gói firmware](/guide/download.md#linh-tinh) mới, giải nén và copy các file (đuôi **.nca**) vào thư mục **Firmware** trên thẻ nhớ.

<div><figure><img src="/files/Xr7arkYNBuBjvH2GljOy" alt=""><figcaption><p>Tạo thư mục "Firmware"</p></figcaption></figure> <figure><img src="/files/Q5YVgkKH7wt7MsRwNvoK" alt=""><figcaption><p>Giải nén firmware vào trong thư mục</p></figcaption></figure></div>
{% endstep %}

{% step %}
Ngắt kết nối thẻ nhớ với PC. Khởi động vào hệ điều hành [CFW - emuMMC](/guide/huong-dan-can-ban/tao-emunand-va-cai-dat-atmosphere.md#buoc-4-khoi-dong-vao-emunand). Mở Album để vào HBmenu. Chạy homebrew **Daybreak**.

<figure><img src="/files/LkTPCygwS4rfFqsyaHOE" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Chọn **Install**, chọn thư mục **Firmware** nơi chứa gói firmware.

<div><figure><img src="/files/vi4SBrNczJDgrBDWocbP" alt=""><figcaption></figcaption></figure> <figure><img src="/files/mPDb6n9Lfs8w7bGqo7pf" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Đợi một chút để Daybreak xác minh gói firmware, bấm **Continue** để tiếp tục.

<figure><img src="/files/Z2HTZIg4E4mLEt1WPx54" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Chọn **Preserve Settings**, chọn **Install (FAT32 + exFAT)** bất kể thẻ nhớ của bạn được format dạng nào.

<div><figure><img src="/files/4AfzGTVaDVhy2W3IO2st" alt=""><figcaption></figcaption></figure> <figure><img src="/files/fEcHCinunmJ9Yw8l6qNT" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Bấm **Continue** để bắt đầu update firmware. Sau khi update xong, chọn **Reboot** để khởi động lại máy.

<div><figure><img src="/files/YB63IFgPVnekim8oa64H" alt=""><figcaption></figcaption></figure> <figure><img src="/files/M1VDbEYck32gb3KB3Rmy" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Sau khi máy đã khởi động vào hệ điều hành [CFW - emuMMC](/guide/huong-dan-can-ban/tao-emunand-va-cai-dat-atmosphere.md#buoc-4-khoi-dong-vao-emunand). Vào ⚙️System Settings > System, kiểm tra dòng version đã hiện thông tin của firmware mới.
{% endstep %}

{% step %}
Xóa thư mục **Firmware** trên thẻ nhớ.
{% endstep %}
{% endstepper %}

***

## ⚙️ Cách 2: update firmware không dùng PC

{% stepper %}
{% step %}
Khởi động vào hệ điều hành [CFW - emuMMC](/guide/huong-dan-can-ban/tao-emunand-va-cai-dat-atmosphere.md#buoc-4-khoi-dong-vao-emunand). Mở Album để vào HBmenu. Chạy homebrew **DBI**.

<figure><img src="/files/rWM36jEcA191Dca1yqNQ" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Chọn **Browse SD Card** > chọn **atmosphere** > di chuyển đến dòng **contents** > nhấn nút (**+**) trên joycon phải > chọn **Delete** > nhấn nút (**+**) lần nữa để xác nhận xóa thư mục **contents**. Sau đó đóng DBI.

<figure><img src="/files/RzHKtJ3I1RdlkXVjPtwe" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Chạy homebrew All-in-One Switch Updater.

<figure><img src="/files/yAxbjtDiMuQXeKrvzwOo" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
Nên chạy All-in-One Switch Updater ở [chế độ non-Applet](/guide/cac-loi-thuong-gap/vao-che-do-non-applet-title-override.md) để tránh bị lỗi.
{% endhint %}
{% endstep %}

{% step %}
Cuộn xuống mục **Download firmwares**, ở bên phải, **chọn firmware** mà bạn muốn update (host Mega có tốc độ tải nhanh hơn Archive), **nhấn A**, chọn **Continue** để bắt đầu tải firmware về máy.

<div><figure><img src="/files/cnJldeJgSQD8ny5i1Qzp" alt=""><figcaption></figcaption></figure> <figure><img src="/files/KgnofwmramGu34m6AgYf" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Sau khi tải xong firmware, chọn **No** khi được hỏi có muốn chạy Daybreak hay không.

<figure><img src="/files/Di9vazRUAniulbQ2Fkju" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Cuộn xuống mục **Custom downloads**, ở mục *Downloads containing the Atmosphere custom firmware* chọn **Add a custom link**, **nhấn A**.

<figure><img src="/files/bCpteTNFEIsHiDn8iTrX" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Nhập **`My-pack.zip`** > bấm nút **Submit** > nhập chính xác **`https://rebrand.ly/mypack`** > bấm nút **Submit**.
{% endstep %}

{% step %}
Cuộn xuống mục **Custom downloads**, chọn **My-pack.zip**, **nhấn A**, chọn **Continue** để tải gói My-pack.

<div><figure><img src="/files/KzunrvfqNEoXfukitBon" alt=""><figcaption></figcaption></figure> <figure><img src="/files/9RnVMMXiJHG6Up5JRVXl" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Sau khi tải xong gói My-pack, khi được hỏi có muốn ghi đè file .ini có sẵn hay không, chọn **Yes** để giải nén gói My-pack.

<div><figure><img src="/files/66mxJhXDaDcTMqHre9bG" alt=""><figcaption></figcaption></figure> <figure><img src="/files/uqfbUXcvtaWw5yRVX42C" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Sau khi giải nén xong, chọn **No** khi được hỏi có muốn tải gói Hekate hay không. Switch sẽ tự khởi động lại máy ngay sau đó.

<figure><img src="/files/hfScKGuYpPMsTLTiW9mW" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Mở Album lần nữa để vào HBmenu. Chạy homebrew **Daybreak**.

<figure><img src="/files/LkTPCygwS4rfFqsyaHOE" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Chọn **Install**, chọn thư mục **firmware** nơi chứa gói firmware.

<div><figure><img src="/files/vi4SBrNczJDgrBDWocbP" alt=""><figcaption></figcaption></figure> <figure><img src="/files/4zaIGW91KryhMeVuYu11" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Đợi một chút để Daybreak xác minh gói firmware, bấm **Continue** để tiếp tục.

<figure><img src="/files/AW0PHFCTEocNBo7SyRv9" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Chọn **Preserve Settings**, chọn **Install (FAT32 + exFAT)** bất kể thẻ nhớ của bạn được format dạng nào.

<div><figure><img src="/files/4AfzGTVaDVhy2W3IO2st" alt=""><figcaption></figcaption></figure> <figure><img src="/files/fEcHCinunmJ9Yw8l6qNT" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Bấm **Continue** để bắt đầu update firmware. Sau khi update xong, chọn **Reboot** để khởi động lại máy.

<div><figure><img src="/files/YB63IFgPVnekim8oa64H" alt=""><figcaption></figcaption></figure> <figure><img src="/files/M1VDbEYck32gb3KB3Rmy" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Sau khi máy đã khởi động vào hệ điều hành [CFW - emuMMC](/guide/huong-dan-can-ban/tao-emunand-va-cai-dat-atmosphere.md#buoc-4-khoi-dong-vao-emunand). Vào ⚙️System Settings > System, kiểm tra dòng version đã hiện thông tin của firmware mới.
{% endstep %}

{% step %}
Vào **DBI** > chọn **Browse SD Card** > xóa thư mục **firmware** trên thẻ nhớ.
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nsw.gitbook.io/guide/huong-dan-nang-cao/cap-nhat-firmware-cho-emunand.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
