Hacking Can anybody help me recover my saves from bricked EMUMMC

kieranearth

Member
OP
Newcomer
Joined
Feb 15, 2020
Messages
7
Trophies
0
Age
29
XP
53
Country
United States
I have been trying to extract my saves from my EMUnand partiton on my sdcard, nxnandmanager doesnt find it and I can't launch into it as I get errors, Ive restored boot1 and 2 but still get a black screen. I have made an image backup of my partition and would like to extract the save and user data but cant do it can anybody help me?
 

issayloki

Well-Known Member
Member
Joined
Mar 4, 2018
Messages
146
Trophies
0
Age
43
XP
1,386
Country
Thailand
I have been trying to extract my saves from my EMUnand partiton on my sdcard, nxnandmanager doesnt find it and I can't launch into it as I get errors, Ive restored boot1 and 2 but still get a black screen. I have made an image backup of my partition and would like to extract the save and user data but cant do it can anybody help me?
Hi Op have you use check point to backup save file at all?. If not then you have to use NXnandmanager to extract the user partion. But when did you do full nand backup?, you might not get the save file back at you current state before your Emunand is brick.
Ps. I forgot you can mount you Emcc by use Tegra smash then use Nxnandmanager to look into user partion.
https://github.com/eliboa/NxNandManager/blob/master/README.md
 
Last edited by issayloki,
  • Like
Reactions: kieranearth

kieranearth

Member
OP
Newcomer
Joined
Feb 15, 2020
Messages
7
Trophies
0
Age
29
XP
53
Country
United States
what do you mean by "bricked EMUMMC" ? and it's more easy to tell us what error exactly you have when you launch, maybe it's not a big problem to start

I updated my emummc with ChoidujoiNX to 9.1 but I installed the Exfat update, after rebooting I had pkg1 error failed to boot HOS! Then I recovered boot 1 & 2 from a backup on my eMMC. Now it boots past pk1 but then turns off and when I press any button it reboots hekate.

--------------------- MERGED ---------------------------

I updated my emummc with ChoidujoiNX to 9.1 but I installed the Exfat update, after rebooting I had pkg1 error failed to boot HOS! Then I recovered boot 1 & 2 from a backup on my eMMC. Now it boots past pk1 but then turns off and when I press any button it reboots hekate.
My SD card is fat32 with a raw partition

--------------------- MERGED ---------------------------

Hi Op have you use check point to backup save file at all?. If not then you have to use NXnandmanager to extract the user partion. But when did you do full nand backup?, you might not get the save file back at you current state before your Emunand is brick.
Ps. I forgot you can mount you Emcc by use Tegra smash then use Nxnandmanager to look into user partion.



I didn’t use checkpoint save manager (stupidly) and whilst NXnandmanager does work to open my .bin backup(from my sysnand) it doesn’t load my Emummc partition it won’t show it when I press load drive (just has a white screen) I’ve tried mounting the SD card in with tiegra rcm and also with my sd card reader to the same effect.


On the GitHub for NXnandmanager, the developer mentions using DD for windows to dump the EMUMMC, I know the sectors from where my emummc starts but can’t figure out how to use DD for windows properly my commands have been returning errors. Does anybody have any experience with this and could anybody help me with the commands? If it works I could dump the nand to a .bin which I should be able to open with NXnandmanager OR hacdiscmount so I can extract the data.

Thanks everyone for the comments so far[/QUOTE]

--------------------- MERGED ---------------------------

Ive attached a photo of the error I get on the Nintendo switch, I’m going to attach a screenshot of my file system and the commands I was trying to use on DD on the computer hopefully that will help people identify my issue
 

Attachments

  • image.jpg
    image.jpg
    824 KB · Views: 289
  • volume info DD for windows.png
    volume info DD for windows.png
    60.5 KB · Views: 280
  • NXNAND and PARTITIONS.png
    NXNAND and PARTITIONS.png
    221.5 KB · Views: 263
Last edited by kieranearth,

deejay87

Well-Known Member
Member
Joined
Aug 25, 2019
Messages
188
Trophies
0
Location
Burgundy
Website
deejay87.fr
XP
1,478
Country
France
If you update to 9.1.0 you have juste to update atmosphere 0.10.2 and hekate 5.1.1 and injecte the hekate 5.1.1.bin with TegraRcm, nothing more.

It's the simple problem everybody have when doing an update to 9.1.0 (delete your previous folder "atmosphere" and "bootloader" before)
 
Last edited by deejay87,

kieranearth

Member
OP
Newcomer
Joined
Feb 15, 2020
Messages
7
Trophies
0
Age
29
XP
53
Country
United States
I have tried that, tried deleting everything except the emummc and nintendo folder, also tried just atmosphere with no kosmos , I think the atmosphere files are fine as I can load atmosphere fine on my sysnand or my file based emummc and they use the same files on the sdcard.

the problem is it doesn't work on the partition based emummc, the error is only when booting into that one. I think its from an error the writing the update

I just need the save data as I have probably a few hundred hours of save data on that partition based emunand. I have read that you can use DD tools for windows to create a .bin file of your EMUNAND partition from the SD card but am having problems using it.
 
Last edited by kieranearth,

kieranearth

Member
OP
Newcomer
Joined
Feb 15, 2020
Messages
7
Trophies
0
Age
29
XP
53
Country
United States
I think the volume is thats what I gathered from using list comand, you can see the output in the attached file in my last post.


\\.\Volume{61182c0e-27fd-11ea-84bc-fc459652b681}\
link to \\?\Device\HarddiskVolume18
removeable media
Mounted on \\.\e:

so I tried

dd bs=2k count=31268536320 if=\?\Device\HarddiskVolume18 of=C:\
FULLNAND.bin --progress

but I get this error I think its todo with the file formating

C:\>dd bs=2k count=31268536320 if=\?\Device\HarddiskVolume18 of=C:\
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <[email protected]>
This program is covered by terms of the GPL Version 2.
Error opening input file: 123 The filename, directory name, or volume label syntax is incorrect
C:\>FULLNAND.bin --progress
'FULLNAND.bin' is not recognized as an internal or external command,
operable program or batch file.
 

kieranearth

Member
OP
Newcomer
Joined
Feb 15, 2020
Messages
7
Trophies
0
Age
29
XP
53
Country
United States
your diskmanagement show a partition without a letter, this is why emummc don't start

when I put it into computer it comes up with this "You need to format the disk in Drive E: before you can use it. Do you want to format it?" So I'm sure it is Drive E: why would that effect the atmosphere? I thought it was a RAW partition? Im sure it allways had no drive letter in diskmanager however does have a letter in windows file explorer.

if it is the problem do you have an idea how I can assign the drive letter to the partition correctly?

Thanks for your help so far.

upload_2020-2-16_15-55-1.png



EDIT* I looked in AOMEI partition manager and it is infact E:

--------------------- MERGED ---------------------------

So I figured out the DD error was with the volume destination now I get the following error, I guess DD for windows can't read the raw partition?


C:\>dd bs=2k count=31268536320 if=\\.\Volume{61182c0e-27fd-11ea-84bc-fc459652b681}\ of=C:\FULLNAND.bin --progress
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <[email protected]>
This program is covered by terms of the GPL Version 2.
Error opening input file: 1005 The volume does not contain a recognized file system.
Please make sure that all required file system drivers are loaded and that the volume is not corrupted
 
Last edited by kieranearth,

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
when I put it into computer it comes up with this "You need to format the disk in Drive E: before you can use it. Do you want to format it?" So I'm sure it is Drive E: why would that effect the atmosphere? I thought it was a RAW partition? Im sure it allways had no drive letter in diskmanager however does have a letter in windows file explorer.

if it is the problem do you have an idea how I can assign the drive letter to the partition correctly?

Thanks for your help so far.

View attachment 196588


EDIT* I looked in AOMEI partition manager and it is infact E:
You're right, a raw partition doesn't need a letter to work, not having a letter doesn't mean anything for booting emuNAND. Most people have a letter because it made creating the emuNAND easier than knowing the start sector like you do.

Should be something like:
Code:
dd --list
to get the list of your hard disk identifiers and then:
Code:
dd if=\\?\Device\HarddiskVolume18 bs=512M of=emuMMC.bin count=31268536320 --progress
In your example command you missed the double // at the start and only posted one /, not sure if that was a typo or not.

Could also try \\.\e: as the input volume too.
 
Last edited by DocKlokMan,
  • Like
Reactions: kieranearth

kieranearth

Member
OP
Newcomer
Joined
Feb 15, 2020
Messages
7
Trophies
0
Age
29
XP
53
Country
United States
You're right, a raw partition doesn't need a letter to work, not having a letter doesn't mean anything for booting emuNAND. Most people have a letter because it made creating the emuNAND easier than knowing the start sector like you do.

Should be something like:
Code:
dd --list
to get the list of your hard disk identifiers and then:
Code:
dd if=\\?\Device\HarddiskVolume18 bs=512M of=emuMMC.bin count=31268536320 --progress
In your example command you missed the double // at the start and only posted one /, not sure if that was a typo or not.

Could also try \\.\e: as the input volume too.

THANK YOU! I've copied your code and it looks to be working!
upload_2020-2-16_16-24-17.png


Looking at the size of the partition on the LIST command should it be

dd if=\\?\Device\HarddiskVolume22 bs=512M of=emuMMC.bin count=31306285056 --progress

Rather than 31268536320?
 
Last edited by kieranearth,

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
I've fixed it so it is now

dd bs=2k count=31268536320 if=\\.\Volume{61182c0e-27fd-11ea-84bc-fc459652b681}\ of=C:\FULLNAND.bin --progress

View attachment 196590

as you can see i now get a filesystem error?
Can't use Volume GUID, need to use either drive letter: \\.\e: or hard disk volume: \\?\Device\HarddiskVolume18 or if you know the starting sector (which you said you do) you can also do:
Code:
dd if=\\?\Device\Harddisk2 bs=512M of=emuMMC.bin count=31268536320 skip=XXXXXXX --progress
where XXXXXX its the sector your emuMMC raw partition starts.

EDIT: Also, I looked up the documentation and count and skip are done in BLOCKS not bytes. So if you want to read 31268536320 bytes of data you need to divide that by the block size (512). Same with skip. So maybe that's part of your issue. Try:
Code:
dd bs=2k count=61071360 if=\\.\e: of=C:\FULLNAND.bin --progress

--------------------- MERGED ---------------------------

THANK YOU! I've copied your code and it looks to be working!
View attachment 196595

Looking at the size of the partition on the LIST command should it be

dd if=\\?\Device\HarddiskVolume22 bs=512M of=emuMMC.bin count=31306285056 --progress

Rather than 31268536320?
Count is done in blocks, not bytes. So count should be 61071360 see my edit on my other post.
 
Last edited by DocKlokMan,

kieranearth

Member
OP
Newcomer
Joined
Feb 15, 2020
Messages
7
Trophies
0
Age
29
XP
53
Country
United States
I ended up with a (what I think is) a full nand dump and it loads up with NXnandexplorer I have extracted the user partition.dec will I be able to overwrite a a working emummc with the user data or is it not that easy?
 

issayloki

Well-Known Member
Member
Joined
Mar 4, 2018
Messages
146
Trophies
0
Age
43
XP
1,386
Country
Thailand
I ended up with a (what I think is) a full nand dump and it loads up with NXnandexplorer I have extracted the user partition.dec will I be able to overwrite a a working emummc with the user data or is it not that easy?
Good jop OP for extract user partion. :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    MrNoobNub @ MrNoobNub: why is everyone so horny