Homebrew RELEASE SXOS Hidden Emunand Backup Tool

  • Thread starter Thread starter Horaldo
  • Start date Start date
  • Views Views 43,069
  • Replies Replies 18
  • Likes Likes 8

Horaldo

Active Member
Newcomer
Joined
Jul 25, 2018
Messages
26
Reaction score
41
Trophies
0
XP
330
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

Last edited by Horaldo,
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
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,
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?
 
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.
 
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.
 
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,
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.
 
The emunand has been corrupted but I managed to make a backup before, now how do I restore it? Thank you
 
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.....
 
I was also wondering is there a tool or a way to restore the backup onto a different sd card please? Thanks
 

Site & Scene News

Popular threads in this forum