Hardware How I fixed 160-0103 system memory error

michalt

Well-Known Member
Newcomer
Joined
Jun 28, 2020
Messages
87
Trophies
0
Age
55
XP
284
Country
Netherlands
As I already said, your eMMC is from August 2013, it'es encoded in the CID (thats why I wanted to know the CID)
Your cid is: 0x90014a48594e4958205c008d73928000
It's encoded in the second byte 0x80. The lower nibble, which here is 0x0 encodes the year and the upper nibble, which here is 0x8 is the month.
The year is encoded this way: (year-1997) %16. mod 16 because its one hex digit. So A zero either means 1997, 2013, 2029... I don't think it was produced in 1997 or the future, so it must be 2013.

Mine was 0x7F (July 2012). So more than a year older. I assume they just had something wrong in the chemistry, when my batch was produced. Yours is younger and probably not affected.

With the mdinfo build I made, you can tell it for every console that is able to run mdinfo.

And when you were playing MK8 before, that explains why the save was still in the SLC cache. So I am sure your eMMC is fine.
Thanks ;-) What I meant if there is any way to decode year from serial number, which is written on the WiiU itself. It would be useful potentially to get the newest models from online places like eBay, etc.
 

Carnage

Member
Newcomer
Joined
Apr 30, 2014
Messages
20
Trophies
0
Age
42
XP
664
Country
Chile
I hope I didn't trigger a mass panic, where everyone will freak out over one or two save files, that fail to extract. You are all probably fine. If you have 10 or more corrupted files, like I did above, then you can worry. But a few errors are expected because of the SLC cache.
@SDIO I entered panic mode LOL and went to check if my latest DUMP was correct:
1678815555811.png

It's been a few years since I move everything from NAND to HDD, so my extracted files were less than 800mb
I also went ahead and downloaded your new mdinfo to check the CID
1678815746588.png

Well I hope with only 800mb used on a 32gb NAND, to last a lot more years (the WiiU it's being on weekly use and when not in use idle but with power for at least the past 4 years)
 
Last edited by Carnage,

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,639
Trophies
1
Age
36
XP
5,501
Country
Germany
Why is not having switched on the device for a long time the biggest correlating factor with this problem?
AFAIK it isn't. It's Just a theory started by a single reddit user. All other sources who state this refer this single reddit user as their source of information.

Real world data is still too low to draw a picture.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
@SDIO I entered panic mode LOL and went to check if my latest DUMP was correct:
View attachment 359010
It's been a few years since I move everything from NAND to HDD, so my extracted files were less than 800mb
I also went ahead and downloaded your new mdinfo to check the CID
View attachment 359011
Well I hope with only 800mb used on a 32gb NAND, to last a lot more years (the WiiU it's being on weekly use and when not in use idle but with power for at least the past 4 years)
that's normal. the full mlc backup, backs up all empty space as well.
 

SDIO

Well-Known Member
OP
Member
Joined
Feb 13, 2023
Messages
2,266
Trophies
0
Age
28
XP
1,384
Country
Germany
@Carnage chill, everything is fine. You have a Samsung and not a Hynix and your backup doesn't seem to have any corruption.

Why is not having switched on the device for a long time the biggest correlating factor with this problem?
Flash has only a limited retention period for the data, the hypothesis is that something was wrong with the 32GB Hynix chips in the launch models to have an especially bad retention time. So the data just fades away, when the console is not used, therefore emerging errors are not detected and not corrected, while they are correctable.

AFAIK it isn't. It's Just a theory started by a single reddit user. All other sources who state this refer this single reddit user as their source of information.

Real world data is still too low to draw a picture.
I agree that we should not jump to conclusions to early. Btw my console was also not used for a long time. Everything was fine, when it was stored away, but when I started using it again, I got this error left and right till it completely failed, probably because of corruption in the FTL.
 

HandsomeJack

Well-Known Member
Member
Joined
Dec 24, 2021
Messages
220
Trophies
0
Age
51
XP
1,283
Country
United Kingdom
@Carnage chill, everything is fine. You have a Samsung and not a Hynix and your backup doesn't seem to have any corruption.


Flash has only a limited retention period for the data, the hypothesis is that something was wrong with the 32GB Hynix chips in the launch models to have an especially bad retention time. So the data just fades away, when the console is not used, therefore emerging errors are not detected and not corrected, while they are correctable.


I agree that we should not jump to conclusions to early. Btw my console was also not used for a long time. Everything was fine, when it was stored away, but when I started using it again, I got this error left and right till it completely failed, probably because of corruption in the FTL.
Thanks.

This points to replacing the motherboard battery as being a good idea.
 

HandsomeJack

Well-Known Member
Member
Joined
Dec 24, 2021
Messages
220
Trophies
0
Age
51
XP
1,283
Country
United Kingdom
Do we have a sense of what the length of time the device was unused which led to the fault? One month, two months, six months?
 

Mister_X

Well-Known Member
Newcomer
Joined
Nov 24, 2016
Messages
75
Trophies
0
Website
giphy.com
XP
778
Country
I´m a tiramisu user from about 1 year ago... but previusly i used the "Red Nand" method (Emulated Nand from SD Card)... its more secure to come back to the "RedNand" method?

The RedNand method always use the emulated nand from the sd once the starting method its over, but when the WiiU starts this is working with one ds title from the original nand and later when the method its finishined work with the emulated nand.
 

CrazySquid

Well-Known Member
Member
Joined
May 27, 2017
Messages
221
Trophies
0
XP
842
Country
@SDIO I have one last question, I know my NAND if fine since when dumping it didn't retry or anything when reading the memory, but when extracting the dump it shows this:
1678902588873.png

Is this NAND backup good if I wanted to restore it later on? or is all the sys folder corrupted which means this NAND backup will be useless in case I want to flash it? That's the only thing I want to know. Thanks!
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,639
Trophies
1
Age
36
XP
5,501
Country
Germany
@CrazySquid Most likely that folder is just cached on SLC, so the MLC corruption is by design and you're fine.

//EDIT: And that's why you need matching MLC and SLC backups. In case of emergency you need to flash both back as SLC cache and MLC need to match.
 
Last edited by V10lator,
  • Like
Reactions: SDIO

HandsomeJack

Well-Known Member
Member
Joined
Dec 24, 2021
Messages
220
Trophies
0
Age
51
XP
1,283
Country
United Kingdom
Am I right in thinking one potential long term solution for this will be to redirect the NAND to an emulated NAND on the SD card or an attached USB device?
 

SDIO

Well-Known Member
OP
Member
Joined
Feb 13, 2023
Messages
2,266
Trophies
0
Age
28
XP
1,384
Country
Germany
Do we have a sense of what the length of time the device was unused which led to the fault? One month, two months, six months?
A few years

I´m a tiramisu user from about 1 year ago... but previusly i used the "Red Nand" method (Emulated Nand from SD Card)... its more secure to come back to the "RedNand" method?

The RedNand method always use the emulated nand from the sd once the starting method its over, but when the WiiU starts this is working with one ds title from the original nand and later when the method its finishined work with the emulated nand.
RedNAND wont save you from this problem, as it is most likely the retention time and not the write cycles that are the problem. Any for Red NAND you still need the normal eMMC to boot. I would not advise to use Red Nand

@SDIO I have one last question, I know my NAND if fine since when dumping it didn't retry or anything when reading the memory, but when extracting the dump it shows this:
View attachment 359234
Is this NAND backup good if I wanted to restore it later on? or is all the sys folder corrupted which means this NAND backup will be useless in case I want to flash it? That's the only thing I want to know. Thanks!
I can't tell if the backup is good, because there is a error there. This could either be due to the SLC cache or a bad dump. What speaks against the SLC cache as an explanation is, that this directory shouldn't be written much to, except if you do an Update.
If you want to be sure use the console a little bit and then do a new backup.

Am I right in thinking one potential long term solution for this will be to redirect the NAND to an emulated NAND on the SD card or an attached USB device?
The long term solution is to replace the bad eMMC, if you have bad eMMC. There is really not way around that without an exploit that works earlier in the boot process.
 
  • Like
Reactions: HandsomeJack

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,639
Trophies
1
Age
36
XP
5,501
Country
Germany
The long term solution is to replace the bad eMMC, if you have bad eMMC. There is really not way around that without an exploit that works earlier in the boot process.
I might be wrong on this but in theory a SLC only boot to redNAND should be possible:
- Change vWii to a boot_info exploiter.
- Boot while holding B: Boot to vWii. Now this exploits boot_info and reboots.
- Boot1 reads the warmoot boot_info: Code execution in boot1.
- From this boot1 code execution boot into redNAND.
Boot0, boot1 and vWii are all on SLC and boot_info is on RAM. The vWii->boot_info->boot1 expoit has been proven to work years ago.

Again: I might be wrong on this, so take it with a grain of salt.
 

SDIO

Well-Known Member
OP
Member
Joined
Feb 13, 2023
Messages
2,266
Trophies
0
Age
28
XP
1,384
Country
Germany
I think I have to read up on this boot_info exploiter. But by the point that the Wii U can communicate with the gamepad it's already running on MLC. So that wouldn't work.

But I wonder if you could move titles from the MLC to the SLC. Then you could maybe move enough to the SLC and change the coldboot title.

But I really don't if the Wii U only looks in the mlc for these titles or it just scans every title directory and has some priories assigned to them.

Maybe I will try it on the weekend but on the other hand I really don't feel like bricking the Wii U again and having to connect all the wires for the SLC again and then wait three hours for it to unbrick if it goes wrong. Maybe I try a game title first...
 

CrazySquid

Well-Known Member
Member
Joined
May 27, 2017
Messages
221
Trophies
0
XP
842
Country
I can't tell if the backup is good, because there is a error there. This could either be due to the SLC cache or a bad dump. What speaks against the SLC cache as an explanation is, that this directory shouldn't be written much to, except if you do an Update.
If you want to be sure use the console a little bit and then do a new backup.
Thanks! So, the "proper" way to do the backup would be, say, play with the console an hour, and then reboot the console to boot in the nanddumper payload (vie environmentloader) to do the backup? (I'm using Aroma, maybe it's better to download the .elf nandumper and do it from homebrew launcher in Tiramisu without rebooting?)

I also thought of deleting the SLC cache since I guess it gets rebuilt, but I have a feeling that is not a good idea.
 

SDIO

Well-Known Member
OP
Member
Joined
Feb 13, 2023
Messages
2,266
Trophies
0
Age
28
XP
1,384
Country
Germany
No deleting the SLC cache is not a good idea, it could leave the filesystem corrupted. I also didn't find any way to delete it. FTPiiU everywhere won't delete it (just so you know).

I am not sure when the write cache will be written back. Maybe it's enough to just start a big game from NAND, so everything else gets evicted from the cache. Maybe you have to write something else. I don't know the cach algorithm.

@V10lator I think isfshax would be better suited for your idea then the boot_info exploit.
Maybe it would be bossible to patch IOSU on the fly to swap the SDIO interfaces on the fly. Then the SD card in the sd slot could be a 1:1 replacement, with SLC cache for better performance but with the disadvantage that you don't have an FAT32 SD anymore.
But implementing that would be a lot of work and is beyond my skill level right now.
 

CrazySquid

Well-Known Member
Member
Joined
May 27, 2017
Messages
221
Trophies
0
XP
842
Country
No deleting the SLC cache is not a good idea, it could leave the filesystem corrupted. I also didn't find any way to delete it. FTPiiU everywhere won't delete it (just so you know).

I am not sure when the write cache will be written back. Maybe it's enough to just start a big game from NAND, so everything else gets evicted from the cache. Maybe you have to write something else. I don't know the cach algorithm.
1678912314812.png

Hm... I remember that FTPiiU doesn't show the cache in earlier versions, but the Aroma plugin shows it now, but yeah, I will probably let it be, I don't fully know how it works, so I will not mess with it.
I guess I will just try again but this time playing a bit with the console, rebooting and then loading the nanddumper payload.

...or maybe wait for an update to the NAND dumper that flushes the SLC cache before doing the backup or whatever.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    MrAllagrande @ MrAllagrande: this chat is public?