Hacking Question Moving from SX OS 2.3 SD Emunand to 2.4 SD/Hidden Partition Emunand

GraFfiX420

Well-Known Member
OP
Member
Joined
Oct 14, 2009
Messages
465
Trophies
1
XP
1,593
Country
United States
OK, so the proposed steps for the tutorial would be as follows:

Code:
dd if=/dev/rdisk* of=first1024.bin bs=1024 count=1
Code:
cat first1024.bin boot0.bin boot1.bin full.00.bin full.01.bin full.02.bin full.03.bin full.04.bin full.05.bin full.06.bin full.07.bin > /Volumes/WhereYouWantToStoreIt/emunand.bin
Write the backup with pv:
Code:
sudo dd if=/Volumes/WhereYouStoredIt/emunand.bin | pv -s 29G | sudo dd of=/dev/rdisk* bs=2m conv=noerror,notrunc
Without pv:
Code:
sudo dd if=/Volumes/WhereYouStoredIt/emunand.bin of=/dev/rdisk* bs=2m conv=noerror,notrunc

Anyone see any issues?
 

icegold

Active Member
Newcomer
Joined
Nov 19, 2018
Messages
44
Trophies
0
Age
25
XP
84
Country
United States
I'm on a fat32 6.1 emunand on SD.
Seems a big job to shift this to a hidden partition and if I was to do it I'd probably just back up saves and start with a brand new emunand.. I'd be undecided as to whether to upgrade my sysnand to 6.2 first or leave at 6.1 and upgrade the emaunand offline.

would you guys say it's worth making the change from fat32 SD emunand to hidden partition?
 

thaikhoa

Well-Known Member
Member
Joined
Sep 16, 2008
Messages
2,236
Trophies
1
XP
2,590
Country
Australia
Nand extractor should be
dd bs=512 if=/dev/disk2 of=/Volumes/Untitled/boot0.bin skip=2 count=8192

dd bs=512 if=/dev/disk2 of=/Volumes/Untitled/boot1.bin skip=8194 count=8192

dd bs=512 if=/dev/disk2 of=/Volumes/Untitled/rawnand.bin skip=16386 count=61071360
 
Last edited by thaikhoa,

Jimyb3

Member
Newcomer
Joined
Aug 25, 2018
Messages
13
Trophies
0
Age
33
XP
259
Country
Greece
When you have emunand at hidden partition and update it to latest fw you must do it offline?

Also you must have auto rcm for avoid fuse burn or with hidden partition is different?
 

chest0r

Active Member
Newcomer
Joined
Jul 8, 2018
Messages
36
Trophies
0
Age
30
XP
757
Country
Germany
OK, so the proposed steps for the tutorial would be as follows:

Code:
dd if=/dev/rdisk* of=first1024.bin bs=1024 count=1
Code:
cat first1024.bin boot0.bin boot1.bin full.00.bin full.01.bin full.02.bin full.03.bin full.04.bin full.05.bin full.06.bin full.07.bin > /Volumes/WhereYouWantToStoreIt/emunand.bin
Write the backup with pv:
Code:
sudo dd if=/Volumes/WhereYouStoredIt/emunand.bin | pv -s 29G | sudo dd of=/dev/rdisk* bs=2m conv=noerror,notrunc
Without pv:
Code:
sudo dd if=/Volumes/WhereYouStoredIt/emunand.bin of=/dev/rdisk* bs=2m conv=noerror,notrunc

Anyone see any issues?

Do you think its possible to transfer the hidden partition from one sd card to another? I want to buy me a new, larger one and want to transfer all of the old one to the new one. Dont get it how to do it. Hope you can help me out. thx!
 

GraFfiX420

Well-Known Member
OP
Member
Joined
Oct 14, 2009
Messages
465
Trophies
1
XP
1,593
Country
United States
Do you think its possible to transfer the hidden partition from one sd card to another? I want to buy me a new, larger one and want to transfer all of the old one to the new one. Dont get it how to do it. Hope you can help me out. thx!

Absolutely, instead of using the assembled nand, you need to create a new emunand on the new sd card, dump the first 1024 bytes of that card, then dump the entire hidden partition of the old sd card, take the first 1024 bytes you dumped from the new card and overwrite the first 1024 bytes on your dump from the old card. Write it to your new sd and it will work.
 
  • Like
Reactions: chest0r

chest0r

Active Member
Newcomer
Joined
Jul 8, 2018
Messages
36
Trophies
0
Age
30
XP
757
Country
Germany
Absolutely, instead of using the assembled nand, you need to create a new emunand on the new sd card, dump the first 1024 bytes of that card, then dump the entire hidden partition of the old sd card, take the first 1024 bytes you dumped from the new card and overwrite the first 1024 bytes on your dump from the old card. Write it to your new sd and it will work.

thank you it worked perfect! :-)
happy new year btw
 
  • Like
Reactions: GraFfiX420

Waltee

Active Member
Newcomer
Joined
Nov 11, 2017
Messages
38
Trophies
0
Age
34
XP
348
Country
United Kingdom
Absolutely, instead of using the assembled nand, you need to create a new emunand on the new sd card, dump the first 1024 bytes of that card, then dump the entire hidden partition of the old sd card, take the first 1024 bytes you dumped from the new card and overwrite the first 1024 bytes on your dump from the old card. Write it to your new sd and it will work.

I'm on Windows, is "dumping the first 1024 bytes" of the card as simple as copying and pasting the bytes in HxD from one card to another? Or do I have to specifically dump it somehow?
 

GraFfiX420

Well-Known Member
OP
Member
Joined
Oct 14, 2009
Messages
465
Trophies
1
XP
1,593
Country
United States
I'm on Windows, is "dumping the first 1024 bytes" of the card as simple as copying and pasting the bytes in HxD from one card to another? Or do I have to specifically dump it somehow?

You can definitely just copy/paste if you know what you're doing.
 

Waltee

Active Member
Newcomer
Joined
Nov 11, 2017
Messages
38
Trophies
0
Age
34
XP
348
Country
United Kingdom
You can definitely just copy/paste if you know what you're doing.

Cheers for the super quick response.

Just to double check I'm getting this right, I have an image of my current 128gb SD card. So would I be right in thinking that I'd need to:

1. Create new emunand on new 400gb SD.
2. Copy the first 1024 bytes in HxD of the new emunand.
3. Paste those 1024 bytes into the first 1024 bytes of the img backup of my old SD card.
4. Use that image on my new SD card and then expand the partition?
 

gizmomelb

Well-Known Member
Member
Joined
Jul 13, 2006
Messages
926
Trophies
1
XP
1,658
Country
Australia
it'd be awesome to see this expanded so it dumped the hidden partition NAND to files, then the files were compatible with the emuNAND as files on SD (or would they be already using the dump method?)
 

comegalletas

Member
Newcomer
Joined
Mar 18, 2008
Messages
24
Trophies
1
XP
216
Country
Mexico
Hello @GraFfiX420

I want to merge my "full.00.bin, etc" files to a single Raw using NxNandManager but got an error always at USER at 36%.

How can I run this script in Windows?

cat full.00.bin full.01.bin full.02.bin full.03.bin full.04.bin full.05.bin full.06.bin full.07.bin > /Volumes/WhereYouWantToStoreIt/emunand.bin

Thanks !
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: I am the cancer!!! lol