Tutorial  Updated

How To: Upgrading / Rebuilding Wii U Internal Memory (MLC)

Warning


This tutorial is only for advanced users and has a serious risk of bricking the console. Make sure you read it completely before executing any step and that you understand every step and its implications. With de_Fuse everything should be unbrickable if you know how.

You should at least have a backup of SLC and SLCCMPT, as we can’t rebuild them at the moment. (can be done in minute_minute, so there is no excuse). We had two cases where the SLC corrupted for an unknown reason, so a backup is essential.

What is this for?


This tutorial goes into rebuilding the MLC from scratch on a clean media. This can become useful, if
  • the MLC (eMMC) chip died or corrupted the filesystem
  • the SCFM (SLC cache for MLC) became inconsistent
  • you want to upgrade the capacity of the internal storage.
  • you want to set up a redNAND without SCFM
If you have a bad eMMC chip, but the recovery still works (which is most likely), then there are also ways to fix it without a complete reformat.
If the LED is blinking blue, you have a SLC problem and not a MLC problem, so this tutorial won't help with that.

It will format your MLC, so all data on the internal Wii U memory will be lost.

Update


13.03.2024 - The wafel_setup_mlc.ipx now uses a built in IOSU function to create system folders, that should make sure the permissions are right, which caused problems with game updates in the past. It will also recreate the update folder (so system updates won't be blocked by that)

Prerequisites


Backing up save games



Do a backup of what you want to preserve, like savegames and Miis.
For Backing up Save games, it is recommended to use SaveMii. That requires that you have Tiramisu or Aroma running.
You can also move your savgames (or whole games) to USB, which should still be readable. When recreating the users after the rebuild, you just have to be carefull to create the users in the right order, to make the ID’s match. A backup by other means (Like savemii) is still recommended.
If you are using this tutorial to fix a failing eMMC you might not be able to use the other Backup options. In that case use the Dump MLC option in the Recovery. You can extract your data from there using wfs-extract.

Storage Options


The Wii U has two ways of connecting internal memory, each with its own drawbacks:
  • SDIO – On retail consoles the internal memory is a eMMC chip connected through an internal SDIO bus to the Latte chip. This SDIO bus can also use SD cards (hence the name SD IO). Access to media connected on the SDIO is cached through a file on the SLC, presumably to reduce writes on the MLC. This cache is called SCFM and it is the reason why you always need to backup / restore SLC and MLC together and doesn’t allow easy swapping of multiple SDs.
    IOSU also only supports 3 sizes of media on this bus: <=8GB, 32GB and 64GB. The size will be limited to the biggest it fits, the rest is unusable. This bus is limited to 26MB/s (4bit@52Mhz). For replacing the eMMC with an micro SD you can use MLC2SD or a similar Interposer. Soldering and micro SD adapter using wires, works too.
    It is recommended to use a 64GB Sandisk Max Endurance card (But similar card should also be fine), since the Wii U is known for writing much.

  • SATA – The Disc drive is connected through SATA, the connectors are different but the electrical signals are still the same. Some Kiosk consoles used this Interface to connect to a HDD. The type of the SATA device can be configured in the SEEPROM, so we can configure our retail consoles to also use a SATA HDD / SSD.
    NOTE: @QuarkTheAwesome is building an SATA adapter for that purpose, available soon™.

    The advantage of using this interface is, that the size isn’t limited (well WFS is limited to 2TB) and it doesn’t use SCFM, which makes some things easier and improves performance in some circumstances. The obvious disadvantage is that you can’t use your disc drive anymore. Without the Disc Drive vWii System Menu doesn't work. vWii Injectes / Wii VC from the eShop can still be used, but only when installed to USB. Also you still might need to disable the MLC on the SDIO bus, or else the wii u might still use the SDIO one if the SATA device takes too long to init.

  • redNAND – redirects the read / writes to one or more of the internal storage devices to paritions on the SD card. You can create an arbitrary size MLC partition on the SD card and set it up using this tutorial. SCFM can be easily disabled for the redNAND. The 64GB limit does not exist for redNAND if the SCFM is disabled. For redNAND we have a dedicated Tutorial here: https://gbatemp.net/threads/fixing-...-soldering-using-rednand-with-isfshax.642268/

Does that mean we can’t get more than 64GB on the SDIO bus? No, BUT it requires ISFShax / defuse to boot the console every time. @GaryOderNichts created a patch to remove the limits and always use the maximum size of the SDIO media and it also disables SCFM, because SCFM doesn’t work with more than 64GB and disabling SCFM improves performance and reduces wear on the SLC, at the cost of increasing wear of the MLC media. I packaged this patch in wafel_unlimit_mlc.

Rebuilding the MLC


Now that you decided what media you want to use as MLC, we can start with the actual process:
  1. Download all the mlc system titles for your region from NUS. This can be done conveniently with MLCRestorerDownloader by @Xpl0itU. Copy the otp.bin from the SD to the folder with the MLCRestorer Downloader so it can get the common key from there.

    You will get the output/MLC/{region} directory, which then contains a directory for each title. In total there should be 52 titles totaling ~1.1GiB.

    If your console has an old firmware it might also be necessary to get the latest SLC titles.

  2. On the root of your SD card (the one that will go in the front slot, not the MLC replacement) create a folder wafel_install. Then copy all 52 titles to the wafel_install folder, so it now contains the 52 subfolders, one for each title. If you want to reinstall / update SLC titles, you would also put them there.

  3. Attach your MLC media of choice. (If you are using SATA got to Backup and Restore, then at Set SATA Device in SEEPROM select GEN2-HDD (Kiosk CAT-I with HDD)).
    For installing MLC2SD look here: https://gbatemp.net/threads/using-n...emmc-fix-160-0103-system-memory-error.636361/ at the Soldering section.

  4. If you install to eMMC / MLC2SD, got to Backup and Restore and select Erase MLC and Delete scfm.img. If the Erase MLC fails, you can ignore that if it wasn't formatted as MLC before (from a failed install or so).

  5. Put the wafel_setup_mlc.ipx on the SD card in /wiiu/ios_plugins. If you want more than 64GB on SDIO you also need to put the wafel_unlimit_mlc.ipx there. If you install with wafel_unlimit_mlc.ipx, it will be permanently required and therefore also permanently requires ISFShax or defuse.

  6. [Optional, only when using defuse] Open the serial monitor on the PC (Putty / minicom) for defuse to see the setup progress. There will be no display output in the Wii U itself. I attached the whole serial log of a successfull install as a reference.

  7. Select Patch (sd) and boot IOS (slc) in minute to start the setup of your fresh MLC.During the setup you won't see anything on the screen. You have to go by the power led.
    The power LED will flash blue, while it is installing the titles.
    if something goes wrong the LED will turn orange, but it will continue as long as it is blinking.
    The LED will become static once it finished. You can now power off the console.
    If the led is blinking red, something fatal happend. Ask for help.
    During the setup a short log gets written to the SD: wafel_setup_mlc.log.
    In the end it will enable the initial setup on the next boot.

  8. Remove the wafel_setup_mlc.ipx from /wiiu/ios_plugins on the SD.

  9. Boot the console. Patch (sd) and boot IOS (slc)

  10. If everything worked, the initial setup should launch.

ISFShax only: Finalizing


If you are using the wafel_unlimit_mlc.ipx you need to keep ISFShax installed. If you haven't done already complete the "Booting without SD" step form the ISFShax tutorial but also add the wafel_unlimit_mlc.ipx renamed to 9unlimit.ipx to the /storage_slc/sys/hax/ios_plugins directory.
If you are not using the wafel_unlimit_mlc.ipx you can either uninstall ISFShax or keep it as a brick protection. If you keep it complete the "Booting without SD" step form the ISFShax tutorial.
The Wii U should now boot automatically if you don't have an SD in.
You probably also want to enable the autobooting now.

See Also


https://gbatemp.net/threads/wii-u-internal-storage-upgrades-are-possible.635629/

Pictures


512 GB SD card:
img_20230702_021647-jpg.381270


@QuarkTheAwesome 120 GB SSD:
img_2709-jpg.381271


Thanks


 

Attachments

  • serial-log.txt
    87.6 KB · Views: 62
Last edited by SDIO,

Ysecond

Well-Known Member
Member
Joined
Apr 27, 2023
Messages
187
Trophies
0
Age
26
XP
501
Country
China
Hello @Ysecond, Could you share the connection you made between the Wii U board and the SATA disk
Do you mean this? Yes, it will work, but without the disc drive, you will lose your vwii,for now, this is not a good idea.
And even if you connect correctly, software is the most important. The person who first published this method did not have any further tutorials, so I will not publish the software either,Unless you study it yourself,sorry.
 

Attachments

  • 1693333306647.png
    1693333306647.png
    559.1 KB · Views: 33
  • 20230830023239.jpg
    20230830023239.jpg
    920.3 KB · Views: 32

Fabioperez

Active Member
Newcomer
Joined
Jul 31, 2022
Messages
32
Trophies
0
Age
40
Location
San Gil
XP
227
Country
Colombia
Do you mean this? Yes, it will work, but without the disc drive, you will lose your vwii,for now, this is not a good idea.
And even if you connect correctly, software is the most important. The person who first published this method did not have any further tutorials, so I will not publish the software either,Unless you study it yourself,sorry.
Ho?, I see, thanks for the diagram, to take it into account when the subject is more advanced
 
Joined
Apr 19, 2015
Messages
1,024
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,936
Country
Australia

Ysecond

Well-Known Member
Member
Joined
Apr 27, 2023
Messages
187
Trophies
0
Age
26
XP
501
Country
China
There is a 64GB emmc, without wafel_unlimit_mlc to run setup_mlc, It will throw DATA CORRUPTION ERROR.
But with wafel_unlimit_mlc, It will work very well. Before every attempt, I always use wafel_destroy_mlc first.
have any ideas?
 

Attachments

  • without wafel_unlimit_mlc DATA CORRUPTION ERROR.txt
    39.3 KB · Views: 30

SDIO

Well-Known Member
OP
Member
Joined
Feb 13, 2023
Messages
2,484
Trophies
0
Age
28
XP
1,744
Country
Germany
In the log you uploaded it didn't format the MLC. Maybe the MLC destroy didn't work. Can you run that again and see if it formats the MLC?
 

Ysecond

Well-Known Member
Member
Joined
Apr 27, 2023
Messages
187
Trophies
0
Age
26
XP
501
Country
China
The first time setup without unlimit_ always succeeds, the console working well.
Then before the second setup_mlc, I used destroy_ Mlc, and from then on, unlimit_ becoming necessary.
Forgive me for mishandling, I just enjoy testing various scenarios.
 

Attachments

  • destroy_mlc.txt
    29.8 KB · Views: 20

SDIO

Well-Known Member
OP
Member
Joined
Feb 13, 2023
Messages
2,484
Trophies
0
Age
28
XP
1,744
Country
Germany
Strangely it didn't detect it as raw and so it didn't format.
Maybe do one install with the destroy MLC, that way there should be enough writes to hopefully fully destroy the 64gb wfs
 

SDIO

Well-Known Member
OP
Member
Joined
Feb 13, 2023
Messages
2,484
Trophies
0
Age
28
XP
1,744
Country
Germany
Last edited by SDIO,

Ysecond

Well-Known Member
Member
Joined
Apr 27, 2023
Messages
187
Trophies
0
Age
26
XP
501
Country
China
Erase MLC seem does not working properly.
I tried setup with unlimt_ again, everything is normal.
Is this related to EMMC having more sectors, greater than 64GB?
Code:
00:00:01:018: FSA: [uptime 1.018 s]: Attached volume to mlc01 (raw): Capacity 59608 MB, 122077184 logical blocks of size 512 B.
 

Attachments

  • mmc_erase.txt
    656 bytes · Views: 23
  • setup with unlimit_ .txt
    75.5 KB · Views: 29
Last edited by Ysecond,

SDIO

Well-Known Member
OP
Member
Joined
Feb 13, 2023
Messages
2,484
Trophies
0
Age
28
XP
1,744
Country
Germany
Hm somehow minute seems to have a problem talking to your eMMC in general, not only the erase.

IOSU has predefined size bins, so it won't use all the available space. The unlimit plugin removes that and disables SCFM
 
Last edited by SDIO,
  • Like
Reactions: Ysecond

Ysecond

Well-Known Member
Member
Joined
Apr 27, 2023
Messages
187
Trophies
0
Age
26
XP
501
Country
China
Is there a way to reset SCFM? I think the chaotic SCFM prevented me from replacing the emmc. I switched to an 8GB eMMC,this 8GB emmc used to work well on the console, now it cannot be work without unlimit_ , but it can be formatted
by mlc-erase-v1.
Can I try removing SCFM file in SLC?

EDIT:I recalled it for a moment, there should be no way.
 
Last edited by Ysecond,

Ysecond

Well-Known Member
Member
Joined
Apr 27, 2023
Messages
187
Trophies
0
Age
26
XP
501
Country
China
Pi pico / Minute suddenly couldn't dump OTP, I tried three consoles, the error are all the same. Do you have any ideas
 

Attachments

  • Dump OTP via PRSHhax.txt
    4.7 KB · Views: 20

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BakerMan @ BakerMan: tl;dr i started reading dungeon meshi bc it was in a surprise box from my library, and i will...