Switching CFW N3DS with 10.7 EmuNAND to arm9loaderhax

Discussion in '3DS - Flashcards & Custom Firmwares' started by pedroren, Apr 6, 2016.

  1. pedroren
    OP

    pedroren Member

    Newcomer
    20
    4
    Feb 17, 2016
    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
     
  2. astronautlevel

    astronautlevel Trying to Find My Way

    Member
    4,026
    4,963
    Jan 26, 2016
    United States
    That Nightly Site™
    Follow Plailect's guide from part 4.
     
    pedroren likes this.
  3. pedroren
    OP

    pedroren Member

    Newcomer
    20
    4
    Feb 17, 2016
    But, at that point everything is about a 9.2 EmuNAND/RedNAND.
     
  4. astronautlevel

    astronautlevel Trying to Find My Way

    Member
    4,026
    4,963
    Jan 26, 2016
    United States
    That Nightly Site™
    Part 4 assumes you've updated RedNAND/EmuNAND to 10.7 at the end of part 3.
     
    pedroren and MajinCubyan like this.
  5. pedroren
    OP

    pedroren Member

    Newcomer
    20
    4
    Feb 17, 2016
    Ohh, I see, I didn't notice that step.
    "29. Update your RedNAND to the latest version using system settings"
    So I'm good to go.
    Thanks a lot!
     
    astronautlevel likes this.
  6. frosty5689

    frosty5689 GBAtemp Regular

    Member
    145
    53
    Jan 30, 2016
    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
     
    astronautlevel likes this.
  7. astronautlevel

    astronautlevel Trying to Find My Way

    Member
    4,026
    4,963
    Jan 26, 2016
    United States
    That Nightly Site™
    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
     
  8. frosty5689

    frosty5689 GBAtemp Regular

    Member
    145
    53
    Jan 30, 2016
    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
     
  9. astronautlevel

    astronautlevel Trying to Find My Way

    Member
    4,026
    4,963
    Jan 26, 2016
    United States
    That Nightly Site™
    From that post though: "Now this has a negligible impact on performance"

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

    frosty5689 GBAtemp Regular

    Member
    145
    53
    Jan 30, 2016
    To the average user, yes only the smaller size NAND matters (I think only on N3DS? Not sure as I only own N3DS)
     
  11. pedroren
    OP

    pedroren Member

    Newcomer
    20
    4
    Feb 17, 2016
    I thought RedNAND was just another name for EmuNAND.
    Can I follow the Plailect's guide using my EmuNAND?
     
  12. astronautlevel

    astronautlevel Trying to Find My Way

    Member
    4,026
    4,963
    Jan 26, 2016
    United States
    That Nightly Site™
    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.

    — Posts automatically merged - Please don't double post! —

    Yes, just mentally replace "RedNAND" with "EmuNAND" wherever you see it.
     
    pedroren likes this.
  13. pedroren
    OP

    pedroren Member

    Newcomer
    20
    4
    Feb 17, 2016
    Ok
     
  14. frosty5689

    frosty5689 GBAtemp Regular

    Member
    145
    53
    Jan 30, 2016
    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.
     
  15. astronautlevel

    astronautlevel Trying to Find My Way

    Member
    4,026
    4,963
    Jan 26, 2016
    United States
    That Nightly Site™
    That's mostly what I meant by start from scratch; you can't convert it, you have to do a complete setup.
     
  16. frosty5689

    frosty5689 GBAtemp Regular

    Member
    145
    53
    Jan 30, 2016
    Heh.