Hacking Question Dumping SX OS Emunand partition

nachuz

Well-Known Member
OP
Member
Joined
May 21, 2017
Messages
636
Trophies
0
XP
2,113
Country
Chile
So I updated my emunand to 7.0.0 due to nobody telling that updating via local wireless updates the system too and since I don't have tickets from nsps installed on the emunand on my sysnand and my saves are on the emunand, I want to backup the emunand, restore it on sysnand and switch to Atmosphere because SX OS doesn't seem to update anytime soon (and Atmosphere is better anyways, I don't care about $25 spent one year ago)
The problem is that the SX payload doesn't let you backup your emunand and as far as I know, there's no software to backup your emunand on another partition, so how I do that, I'm fucked up for using fucking SX?
 
Joined
Jan 19, 2019
Messages
755
Trophies
0
XP
947
Country
United Kingdom
So I updated my emunand to 7.0.0 due to nobody telling that updating via local wireless updates the system too and since I don't have tickets from nsps installed on the emunand on my sysnand and my saves are on the emunand, I want to backup the emunand, restore it on sysnand and switch to Atmosphere because SX OS doesn't seem to update anytime soon (and Atmosphere is better anyways, I don't care about $25 spent one year ago)
The problem is that the SX payload doesn't let you backup your emunand and as far as I know, there's no software to backup your emunand on another partition, so how I do that, I'm fucked up for using fucking SX?
Use win32 disk imager to img your sd to dump it
 

thaikhoa

Well-Known Member
Member
Joined
Sep 16, 2008
Messages
2,236
Trophies
1
XP
2,590
Country
Australia
Backup
dd bs=512 if=/dev/disk2 of=/Users/khoa/Desktop/boot0.bin skip=2 count=8192
dd bs=512 if=/dev/disk2 of=/Users/khoa/Desktop/boot1.bin skip=8194 count=8192
dd bs=512 if=/dev/disk2 of=/Users/khoa/Desktop/rawnand.bin skip=16386 count=61071360

Restore
dd bs=512 if=/Users/khoa/Desktop/boot0.bin of=/dev/disk2 seek=2 conv=notrunc
dd bs=512 if=/Users/khoa/Desktop/boot1.bin of=/dev/disk2 seek=8194 conv=notrunc
dd bs=512 if=/Users/khoa/Desktop/rawnand.bin of=/dev/disk2 seek=16386 conv=notrunc
 

gizmomelb

Well-Known Member
Member
Joined
Jul 13, 2006
Messages
926
Trophies
1
XP
1,658
Country
Australia
old post, but following up since nachuz is still whining about emuNAND in other threads - this is how you extract the hidden partition emuNAND and convert it to files.

I highly recommend to ALL SX OS users that use emuNAND to use it as files on SD, not the hidden partition. Makes it easier to backup, you can edit it with hacdisk etc.

https://gbatemp.net/posts/8602506
 

josete2k

Well-Known Member
Member
Joined
Apr 24, 2009
Messages
680
Trophies
1
Age
43
Location
Spain
XP
1,623
Country
Spain
old post, but following up since nachuz is still whining about emuNAND in other threads - this is how you extract the hidden partition emuNAND and convert it to files.

I highly recommend to ALL SX OS users that use emuNAND to use it as files on SD, not the hidden partition. Makes it easier to backup, you can edit it with hacdisk etc.

https://gbatemp.net/posts/8602506

But when your sd becomes corrupt your emunand could be too...
 

gizmomelb

Well-Known Member
Member
Joined
Jul 13, 2006
Messages
926
Trophies
1
XP
1,658
Country
Australia
But when your sd becomes corrupt your emunand could be too...

while it is possible it is also as possible for hidden partition to become corrupt. FAT32 at least has some ''protection'' to file allocation tables due to two copies of it on the storage media, EXFAT corrupts more easily due to it only having one file allocation table - so if that corrupts, goodbye all data.

my personal obervation - I have less errors from coming out of sleep more since I have converted to SD files, than what I had when running a hidden partition emuNAND.

But everyone may have different experiences.
 
Last edited by gizmomelb,

xs4all

Well-Known Member
Member
Joined
Jun 9, 2008
Messages
721
Trophies
1
Location
37°16'55.2"N 115°47'58.6"W
XP
2,825
Country
Australia
But when your sd becomes corrupt your emunand could be too...

Yes this is true, think of it this way, what if you want to backup your EmuNand?

EmuNand as files on microSD <= Copying your EmuNand files is quick, fast and easy.
EmuNand as hidden partition <= Very slow using DD method.

If your using a minimum 64GB SD CARD and combined that with a USB3 card reader, the transfer speeds are pretty fast if you want to make backup of your EmuNand.
Try to do the same backup using DD command for EmuNand as hidden partition, since it's doing a raw backup, it takes ages!

Touch wood I haven't had any SD CARD corruptions but I'm one of those that prefer EmuNand as files on microSD over EmuaNand as hidden partition for backup purposes.
 
  • Like
Reactions: gizmomelb

josete2k

Well-Known Member
Member
Joined
Apr 24, 2009
Messages
680
Trophies
1
Age
43
Location
Spain
XP
1,623
Country
Spain
I made a backup with DD in 2 hours... Not bad.

Restoring is faster... Around 45 minutes because I use a bigger block size.
 

xs4all

Well-Known Member
Member
Joined
Jun 9, 2008
Messages
721
Trophies
1
Location
37°16'55.2"N 115°47'58.6"W
XP
2,825
Country
Australia
I made a backup with DD in 2 hours... Not bad.

Restoring is faster... Around 45 minutes because I use a bigger block size.

I was going to ask how long it takes on average to backup using DD? Your 2 hours seems to be quicker than me.

I've tried on a couple different laptops with built in SD CARD readers and also USB card readers and I followed your detailed guide on that Spanish site that you posted. For some reason the backup process was very slow, nothing like your 2 hours completion time, from memory it took me more that 8 hours to complete to backup using DD.
Restore is roughly the same as yours, anything I should know about the DD backup process? I pretty much followed all the steps to backup, but still slow, that is why in my previous reply I said it was slow, but maybe slow only for me?
 

xs4all

Well-Known Member
Member
Joined
Jun 9, 2008
Messages
721
Trophies
1
Location
37°16'55.2"N 115°47'58.6"W
XP
2,825
Country
Australia
I had long time for backup too... Until I tested this MicroSD adapter:

https://www.amazon.es/dp/B07416LQVM/ref=cm_sw_r_cp_awdb_t1_L3TXCbD4EGKX6

Interesting, with this adapter, are you still using the bs=1024 when dumping in the dd command?

I managed to find a few more SD CARD readers lying around, I did a test of dumping for about 1 minute, in that 1 minute, with all my readers, I manage to find a reader that dumps roughy about 80mb per minute, all the other readers I have dumps at around 50mb per minute.

So it works out, the reader that was the fastest that I had will take roughly 6 hours to fully dump the 29.1GB rawnand, while the slower ones take about 9.7 hours to fully dump the 29.1GB rawnand. The 9.7 hours which it took to backup my hidden emunand backup a few weeks back sounds about right.

So the SD CARD reader does play a role as to how fast it dumps the rawnand from hidden EmuNand partition, does changing the bs=1024 when dumping makes a difference? I did a test with bs=1M and 5M and the backup speeds was pretty fast, but I assume this will mess up the dumping process of the rawnand?
 
Last edited by xs4all,
  • Like
Reactions: gizmomelb

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
I did a test with bs=1M and 5M and the backup speeds was pretty fast, but I assume this will mess up the dumping process of the rawnand?
pretty sure it will
because the skip parameter used in dd means skipping data based on the block size. so if you're using bs=1M then the starting offset of your dumped data will change too
 
  • Like
Reactions: xs4all

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1