Homebrew RELEASE SXOS Hidden Emunand Backup Tool

Horaldo

Active Member
OP
Newcomer
Joined
Jul 25, 2018
Messages
26
Trophies
0
XP
289
Country
Jamaica
Hi Guys

Here is tool to help you backup your BOOT0 , BOOT1 , Rawnand from your SXOS Hidden Emunand SD card.
This uses a free tool provided from Microsoft Sector Inspector to create the backup.

Please note that once you have selected your backup location it may look like the program has closed. In reality it is doing its thing in the background, Just wait as rawnand is 29GB in size this takes a while.
A popup will display once backup is completed. I'm planing to have this resolved with the implementation of a progress bar.

The .Zip file attached contains the following:
SecInspector
TX Hidden Emunand Backup Tool
Source Code

When i have some free time i will try add the below additional features & improvements. More than happy if someone else wants to make the changes, just provide the code once done.

**Future Features**
Add Option to Restore backup to new SD card
Progress Bar during Rawnand Backup/Restore
Option to Backup/Restore individual items EG. BOOT0 , BOOT1 or Rawnand

Finally shutouts to the following people for helping discover this solution & for the coding
Farni -
RoyalPatch
TX for their products.

Thanks
 

Attachments

  • TX Hidden Emunand Backup Tool.zip
    71.9 KB · Views: 1,285
Last edited by Horaldo,

xRock

New Member
Newbie
Joined
Aug 10, 2019
Messages
2
Trophies
0
Age
24
XP
97
Country
France
we can start Task Manager to see if it works.
If working, you'll see Sector inspector using your disk (can't send a screen cuz I don't have 5 posts yet)
 
  • Like
Reactions: Horaldo

Horaldo

Active Member
OP
Newcomer
Joined
Jul 25, 2018
Messages
26
Trophies
0
XP
289
Country
Jamaica
Sneak Peak of Version 2.0
Unfortunately i had to move away from PS however Source will be provided.

Also looking at adding option to enter custom sector values, this will give user the ability to backup alternative sectors. From what i have read so far Atmosphere may be on different sectors. I personally have not tried backing up atmosphere yet.

https://ibb.co/30YcVhZ


30YcVhZ


If anyone has experience with vb.net & would like to give me a hand please DM on GBATEMP Discord chan. Same username as here.

Thanks
 
Last edited by Horaldo,

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,400
Trophies
0
XP
1,581
Country
Australia
I will do testing on atmosphere emunand

sxos emunand starts at sector 0x02

all the tool would need is the sector range in which u place the emumd nand partition, now people who used atmos would place this at end of the card. u would need to know the starting point of where the nand is placed to end of the card.

or something like memloader to mount the partitions first then back them up?
 

Switch_Maniac

Well-Known Member
Member
Joined
Dec 16, 2018
Messages
182
Trophies
0
XP
604
Country
United States
Guess since I dual boot them from the same emunand I can just dump once :lol: and don't have to guess where the atmo one is...Gonna check this out later. It's for sure been something that's been asked for, for a while.
 

mrjoshuaco

Well-Known Member
Member
Joined
Sep 12, 2009
Messages
190
Trophies
0
XP
887
Country
United States
Same here, clickbait title a bit but well atleast you did detail enough in the post itself :)
I mean, in fairness, it's all in how you read it. When spoken aloud with the correct emphasis, it can easily mean exactly what it's trying to say. I actually read it as the Hidden Emunand + Backup Tool. As opposed Hidden + Emunand Backup Tool, if that makes sense. So, not exactly intentional in the clickbait sense.
 

eliboa

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
157
Trophies
0
XP
1,160
Country
France
For atmosphere the ideal way would be to read emummc/emummc.ini to read the start address of the emunand, because it can be anywhere.
You don't know either on which MBR partition is located the "emummc" folder, don't you ?

I guess the best way to do this is the way hekate does it (emunand migration tool) :
- Iterate every mmc's MBR partition
- For each partition, look for the GPT signature (EFI PART) of RAWNAND (in most case at offset 0x4001, after both BOOT partition)
- If signature is found, you’ve got your emuMMC partition : break, otherwise : continue to next iteration

That's the way I implemented it in NxNandManager, and it seems to work fine ;-)
 
Last edited by eliboa,

PatrickD85

Well-Known Member
Member
Joined
Jul 4, 2012
Messages
886
Trophies
0
Age
36
Location
in front of a screen...
Website
www.nintendoreporters.com
XP
1,864
Country
Netherlands
I mean, in fairness, it's all in how you read it. When spoken aloud with the correct emphasis, it can easily mean exactly what it's trying to say. I actually read it as the Hidden Emunand + Backup Tool. As opposed Hidden + Emunand Backup Tool, if that makes sense. So, not exactly intentional in the clickbait sense.

Nah no real harm was done here so it's all good :)

But please keep in mind that a title can be misleading ... even though it was not intended that way. (We humans be a strange folk about how that all works really). And then things can spiral a bit out of control. If you can prevent that it's better than in most cases correcting / curing a situation afterwards.

But as I mentioned you detailed the essence in the initial post itself very well :) so then a title is just that ... a title.
 

deSSy2724

Well-Known Member
Member
Joined
Sep 11, 2015
Messages
440
Trophies
0
Age
31
XP
902
Country
Germany
How can I check if I actually have a emunand installed? Problem is I had multiple microSD cards and for some of them I dont remember if I have it or not.....
 
General chit-chat
Help Users
    KennieDaMeanie @ KennieDaMeanie: lol someone's going wild with the +1s