Hacking Should I use emuNAND or redNAND?

Naendow

Brick-Master
OP
Member
Joined
Jan 4, 2016
Messages
685
Trophies
0
Age
24
XP
2,984
Country
Germany
Hello together :)

So, I saw in the last days that there are differences between emuNAND and redNAND. I use AuReiNand with Arm9LoaderHax. What would be better for me? If you have a bit knowledge, could you explain why one of them is better?

Thx for answering
 

frosty5689

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
146
Trophies
0
Age
70
XP
170
Country
Here's another copy&paste of what I posted multiple times before

Here's what I posted in AuReiNAND threed and a few other threads asking diff between RedNAND and EmuNAND:

Looking at the differences between RedNAND and EmuNAND, we can assume the CFW needs to correct the offset for every read/write request to NAND.

Code:
RedNAND:
1. 3DS firmware requests for access to some place in NAND
2. CFW Calculate offset using formula: offset + 512
3. CFW redirect read/write to SD Card.

EmuNAND
1. 3DS firmware requests for access to some place in NAND
2. CFW Calculate offset using formula:
if (offset < 512) {
    actualOffset = EmuNANDSizeInBytes + offset;
}
else {
    actualOffset = offset;
}
3. CFW redirect read/write to SD Card.
This is just an abstraction and the calculation could have off-by-one error as I quickly wrote it up.
But having to do integer comparsion for every request is always going to take longer than always adding 512 to the offset.
Now this has a negligible impact on performance, but it still impacts performance.

Here's the original post by neobrain comparing the two for those who is into technical stuff:
https://gbatemp.net/threads/emunand-rednand-technical-implementation.401969/#post-5783813

Other than that, RedNAND can save 600MB of space on N3DS.
 

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,912
Country
Hungary
So.
The first sector on the SD is the FAT, it can't be moved.
EmuNAND maps original NAND sectors (except the first) to their respective locations on the SD, the first becomes the last one, after the others.
RedNAND simply shifts all of them to the next sector on the SD.
RedNAND is faster because no integer comparison.
 

MattKimura

3DS & WiiU Enthusiast
Member
Joined
Jun 30, 2014
Messages
2,137
Trophies
1
XP
2,937
Country
United States
From what I understand:

Emunand = Takes up more space, but not a whole lot more than rednand
RedNand = Uses up less space, pretty much the only benefit you'd get out of it

I believe you can use emunand9 to convert yourself to rednand, through a process:

1. Backup emunand to emunand.bin
2. Unmount the card and backup all the files to the PC
3. Insert it back into the 3DS, select "complete rednand setup"
4. Unmount it when it's done, restore all your files to your SD
5. Clone emunand.bin to rednand (Is that even an option?)

Can someone clarify that these are the right steps?
 
  • Like
Reactions: Raph_friend

frosty5689

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
146
Trophies
0
Age
70
XP
170
Country
From what I understand:

Emunand = Takes up more space, but not a whole lot more than rednand
RedNand = Uses up less space, pretty much the only benefit you'd get out of it

I believe you can use emunand9 to convert yourself to rednand, through a process:

1. Backup emunand to emunand.bin
2. Unmount the card and backup all the files to the PC
3. Insert it back into the 3DS, select "complete rednand setup"
4. Unmount it when it's done, restore all your files to your SD
5. Clone emunand.bin to rednand (Is that even an option?)

Can someone clarify that these are the right steps?
Yes. step 5 is possible. You can restore RedNAND to EmuNAND or vise-versa. EmuNAND9 will detect and handle it for you.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    i like that idea
    +1
  • Veho @ Veho:
    What's the same thing?
    +1
  • The Real Jdbye @ The Real Jdbye:
    before or after a hit
    +1
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    K3Nv2 @ K3Nv2: Turns out you can't sprinkle methamphetamine on McDonald's French fries