Hacking Switching CFW N3DS with 10.7 EmuNAND to arm9loaderhax

pedroren

Member
OP
Newcomer
Joined
Feb 17, 2016
Messages
20
Trophies
0
Age
44
XP
54
Country
Hi, I'm currently using CFW with EmuNAND updated to version 10.7 on my N3DS (9.2 SysNAND).
Booting to lesshax->ctrlbootmanager->Reinand->Emunand

There's a great tutorial to go from full stock to A9LH. But, what's the way to go (steps) if I want to install/switch to A9LH without loosing my current EmuNAND data, which is on version 10.7, not version 9.2 as expected from the current tutorial?

Thanks
 

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,127
Trophies
0
Location
Maryland
Website
ataber.pw
XP
4,975
Country
United States
Hi, I'm currently using CFW with EmuNAND updated to version 10.7 on my N3DS (9.2 SysNAND).
Booting to lesshax->ctrlbootmanager->Reinand->Emunand

There's a great tutorial to go from full stock to A9LH. But, what's the way to go (steps) if I want to install/switch to A9LH without loosing my current EmuNAND data, which is on version 10.7, not version 9.2 as expected from the current tutorial?

Thanks
Follow Plailect's guide from part 4.
 
  • Like
Reactions: pedroren

frosty5689

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
146
Trophies
0
Age
69
XP
160
Country
Also, just for the sake of the tutorial. RedNAND or EmuNAND doesn't really matter.

It will matter in the long run if you decide to not copy EmuNAND to SysNAND and keep 9.2 SysNAND.

I have converted EmuNAND to RedNAND for better performance as I am still using EmuNAND with SysNAND 9.2 post-a9lh
 
  • Like
Reactions: astronautlevel

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,127
Trophies
0
Location
Maryland
Website
ataber.pw
XP
4,975
Country
United States
Also, just for the sake of the tutorial. RedNAND or EmuNAND doesn't really matter.

It will matter in the long run if you decide to not copy EmuNAND to SysNAND and keep 9.2 SysNAND.

I have converted EmuNAND to RedNAND for better performance as I am still using EmuNAND with SysNAND 9.2 post-a9lh
Only practical difference between redNAND and EmuNAND is that rednand is smaller if you create it from scratch on an n3ds with a 1.8 gig NAND chip. It actually doesn't have any speed improvements :P
 

frosty5689

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
146
Trophies
0
Age
69
XP
160
Country
Only practical difference between redNAND and EmuNAND is that rednand is smaller if you create it from scratch on an n3ds with a 1.8 gig NAND chip. It actually doesn't have any speed improvements :P
That is false if you take into consideration the difference between if else and +512 to every NAND access request

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.

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
 

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,127
Trophies
0
Location
Maryland
Website
ataber.pw
XP
4,975
Country
United States
That is false if you take into consideration the difference between if else and +512 to every NAND access request

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
From that post though: "Now this has a negligible impact on performance"

I had mentioned that the only practical difference was NAND size :P
 

pedroren

Member
OP
Newcomer
Joined
Feb 17, 2016
Messages
20
Trophies
0
Age
44
XP
54
Country
I thought RedNAND was just another name for EmuNAND.
Can I follow the Plailect's guide using my EmuNAND?
 

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,127
Trophies
0
Location
Maryland
Website
ataber.pw
XP
4,975
Country
United States
To the average user, yes only the smaller size NAND matters (I think only on N3DS? Not sure as I only own N3DS)
Only on the n3ds with the 1.8 gig NAND chip (1.2 gig NAND chip is unaffected). It doesn't reduce the size if you convert from EmuNAND though, you have to start from scratch.

--------------------- MERGED ---------------------------

I thought RedNAND was just another name for EmuNAND.
Can I follow the Plailect's guide using my EmuNAND?
Yes, just mentally replace "RedNAND" with "EmuNAND" wherever you see it.
 
  • Like
Reactions: pedroren

pedroren

Member
OP
Newcomer
Joined
Feb 17, 2016
Messages
20
Trophies
0
Age
44
XP
54
Country
Only on the n3ds with the 1.8 gig NAND chip (1.2 gig NAND chip is unaffected). It doesn't reduce the size if you convert from EmuNAND though, you have to start from scratch.

--------------------- MERGED ---------------------------


Yes, just mentally replace "RedNAND" with "EmuNAND" wherever you see it.

Ok
 

frosty5689

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
146
Trophies
0
Age
69
XP
160
Country
Only on the n3ds with the 1.8 gig NAND chip (1.2 gig NAND chip is unaffected). It doesn't reduce the size if you convert from EmuNAND though, you have to start from scratch.
Or you can do:
1. Backup EmuNAND using EmuNAND9 (latest ver)
2. Copy all content from SD Card (including the emunand.bin) to PC
3. Do a complete setup of RedNAND using EmuNAND9 (latest)
4. Restore RedNAND from emunand.bin

EmuNAND9 will write the 1.8GB~ NAND to the 1.2GB partition for RedNAND accordingly and everything will work fine.
 

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,127
Trophies
0
Location
Maryland
Website
ataber.pw
XP
4,975
Country
United States
Or you can do:
1. Backup EmuNAND using EmuNAND9 (latest ver)
2. Copy all content from SD Card (including the emunand.bin) to PC
3. Do a complete setup of RedNAND using EmuNAND9 (latest)
4. Restore RedNAND from emunand.bin

EmuNAND9 will write the 1.8GB~ NAND to the 1.2GB partition for RedNAND accordingly and everything will work fine.
That's mostly what I meant by start from scratch; you can't convert it, you have to do a complete setup.
 
General chit-chat
Help Users
  • Skelletonike @ Skelletonike:
    I'm reading several that do atm. x'D
  • Vetusomaru @ Vetusomaru:
    even it looks cool, i still hate smoking and i always hated smoking
  • Skelletonike @ Skelletonike:
    They're seinen though.
  • Skelletonike @ Skelletonike:
    But yeah, it also has to do with the fact that stuff are more sexualised

    now
  • Vetusomaru @ Vetusomaru:
    even at seinen i am reading, the only one that shows nipples sometimes is Oversized Sextet
  • Skelletonike @ Skelletonike:
    Like, Urusei Yatsura, I love the manga and the original anime.
  • Skelletonike @ Skelletonike:
    In the original rumiko takahashi works, nudity was common
  • Vetusomaru @ Vetusomaru:
    i still havent read the manga. also surprisinly i like both the new and the old anime adaption.
  • Skelletonike @ Skelletonike:
    Lum being topless and Ranma always topless when turning female wasn't sexual
  • Vetusomaru @ Vetusomaru:
    also the old anime adaption of Urusei Yatsura had more fanservice than the manga
  • Skelletonike @ Skelletonike:
    That's one of the issues I have with ecchi stuff recently, it focuses too much on the sexual aspect, not the comedy effect.
  • Skelletonike @ Skelletonike:
    The manga had it's fair share.
  • Skelletonike @ Skelletonike:
    I mean, Lum was supposed to be a one time character
  • Vetusomaru @ Vetusomaru:
    ecchi anime focusing too much at fanservice was always a thing
  • Skelletonike @ Skelletonike:
    Rumiko Takahashi got so much fan email about the character that she brought her back in the manga, it was going to be completely different originally (with the alien of the week type).
  • Vetusomaru @ Vetusomaru:
    also i m a takahashi fan and i love ranma
  • Skelletonike @ Skelletonike:
    There are different ways of fanservice
  • Skelletonike @ Skelletonike:
    the first manga I bought, was Psychic Academy, when I was like 12?
  • Skelletonike @ Skelletonike:
    That was good 2000s ecchi
  • Skelletonike @ Skelletonike:
    Great plot too
  • Vetusomaru @ Vetusomaru:
    psychic academy. lol. it was meh even back then when i bought volume 1. also same author also made one of the manga adaptions of Escaflowne.
  • Skelletonike @ Skelletonike:
    Pfffft!
  • Skelletonike @ Skelletonike:
    I have all the volumes.
  • Vetusomaru @ Vetusomaru:
    btw do u have discord?
    Vetusomaru @ Vetusomaru: btw do u have discord?