Homebrew [Q/Request] Moving ticket.db from LINKED emuNAND to sysNAND

sonic2756

Friendly Neighborhood Wolf
OP
Member
Joined
Feb 3, 2010
Messages
673
Trophies
1
Age
25
Website
www.keenbrigade.com
XP
1,028
Country
United States
Myself and other GBATemp users have quite a few eShop titles that don't work inside of emuNAND due to GW mode breaking it.

A way to remedy this would be having your emuNAND and sysNAND linked, downloading the eShop content in emuNAND, then copying the ticket.db to sysNAND.

Would something like this be possible with a custom Launcher.dat?
 

sonic2756

Friendly Neighborhood Wolf
OP
Member
Joined
Feb 3, 2010
Messages
673
Trophies
1
Age
25
Website
www.keenbrigade.com
XP
1,028
Country
United States

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,660
Trophies
2
XP
7,999
Country
Tuvalu
If you intend extdata nand, yes, ORGANIZ3D can access it.
extdata is only a small part of nand.
can you access both 'nands' in your app? emunand and sysnand?

sonic2756 - it would be very possible to do with a custom launcher.dat, i have done very similar things myself.
but, spending some time doing something for myself is different to doing work for other people, when you do not have lots of time... :(
 

sonic2756

Friendly Neighborhood Wolf
OP
Member
Joined
Feb 3, 2010
Messages
673
Trophies
1
Age
25
Website
www.keenbrigade.com
XP
1,028
Country
United States
extdata is only a small part of nand.
can you access both 'nands' in your app? emunand and sysnand?

sonic2756 - it would be very possible to do with a custom launcher.dat, i have done very similar things myself.
but, spending some time doing something for myself is different to doing work for other people, when you do not have lots of time... :(

I totally understand,

Which is why I was going to try liomajor's idea, since it seems to be exactly what I need to do.
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,369
Country
United States
I understand what you did except for steps 9, 10, and 11. Could you write out a quick guide? I have everything setup, just need to know what to do there.

1. I extracted my fat16 xorpad using launcher.dat from 3DS_Multi_Decryptor
2. Dumped emuNAND.bin using emuNANDTool
3. Extracted emunand.fat16.bin
4. xor'ed emunand.fat16.bin
5. Mounted emunand.fat16.bin.out with WinImage

6. Browsed to \data\<your unique id>\sysdata\00010038
7. Replaced 00000000 with another one i've extracted the same way that never had nnid


6/7 whatever needs to be done ;)

8. Renamed emunand.fat16.bin.out to test.bin

9. xor'ed test.bin

padxorer test.bin <name_of_fat16 xorpad>

10. Injected test.bin.out into emunand.fat16.bin with HxD

Opened test.bin.out that padxorer created with HxD
Opened emunand.fat16.bin
Switched the tab to test.bin.out and selected ALL by pressing ctrl+a, then ctrl+c to copy it
Switched back to emunand.fat16.bin and pressed ctrl+b to overwrite everything and saved the file

(emunand.fat16.bin is usualy bigger than the decrypted/re-encrypted, thats why i did two steps)

11. Injected emunand.fat16.bin @ offset B930000 with HxD

Opened emuNAND.bin and pressed ctrl+g to jump to offset B930000
Switchet to emunand.fat16.bin and selected ALL by pressing ctrl+a, then ctrl+c to copy it
Switched back to emuNAND.bin and pressed ctrl+b to overwrite everything and saved the file

12. Injected my new emunand.fat16.bin into my SD Card using emuNANDTool
 

sonic2756

Friendly Neighborhood Wolf
OP
Member
Joined
Feb 3, 2010
Messages
673
Trophies
1
Age
25
Website
www.keenbrigade.com
XP
1,028
Country
United States
1. I extracted my fat16 xorpad using launcher.dat from 3DS_Multi_Decryptor
2. Dumped emuNAND.bin using emuNANDTool
3. Extracted emunand.fat16.bin
4. xor'ed emunand.fat16.bin
5. Mounted emunand.fat16.bin.out with WinImage

6. Browsed to \data\<your unique id>\sysdata\00010038
7. Replaced 00000000 with another one i've extracted the same way that never had nnid

6/7 whatever needs to be done ;)

8. Renamed emunand.fat16.bin.out to test.bin

9. xor'ed test.bin

padxorer test.bin <name_of_fat16 xorpad>

10. Injected test.bin.out into emunand.fat16.bin with HxD

Opened test.bin.out that padxorer created with HxD
Opened emunand.fat16.bin
Switched the tab to test.bin.out and selected ALL by pressing ctrl+a, then ctrl+c to copy it
Switched back to emunand.fat16.bin and pressed ctrl+b to overwrite everything and saved the file

(emunand.fat16.bin is usualy bigger than the decrypted/re-encrypted, thats why i did two steps)

11. Injected emunand.fat16.bin @ offset B930000 with HxD

Opened emuNAND.bin and pressed ctrl+g to jump to offset B930000
Switchet to emunand.fat16.bin and selected ALL by pressing ctrl+a, then ctrl+c to copy it
Switched back to emuNAND.bin and pressed ctrl+b to overwrite everything and saved the file

12. Injected my new emunand.fat16.bin into my SD Card using emuNANDTool

Gettting out of memory with HxD trying to paste anything
 

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3N1 @ K3N1: Maybe one day I can be Bruce almighty