Homebrew Official [Download] Decrypt9 - Open Source Decryption Tools (WIP)

  • Thread starter d0k3
  • Start date
  • Views 837,667
  • Replies 4,476
  • Likes 71

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
That I get. One thing comes to mind though. Tickets in the ticket.db have unique ID attached to them, even though you can't install them as CIA unless that unique IS is changed to zeros.

I think that even clean .db might have some tickets with unique ID attached to it from preloaded stuff (such as that dinosaur 3d video?). I know preloaded games do have zeros as IDs, but I don't think that's the case with everything.

My question is, assume the following case:
2 3ds (same region/type)
First 3DS, unique ID AAAAAA .. Clean otherwise
Second 3DS, unique ID BBBBBB .. Filled with shit we want to get rid off

So assume I dump .db from 1st 3ds and inject it to the second.. Won't the ticket ID from the first 3ds remain in the second? And then, if we download from eshop, we will have entries on our tickets mixed of AAAAAA and BBBBBB?

Not effectively clean I suppose..?
Take a look at the readme in the new D9 release (released today). Download as always here.

What you want to do is dump all tickets from the clean one and check (by the naming scheme) for console ids.
 

Madridi

Card Collector
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
Take a look at the readme in the new D9 release (released today). Download as always here.

What you want to do is dump all tickets from the clean one and check (by the naming scheme) for console ids.
Either I'm too dense to understand, or we have our wires crossed lol.

I think what you are talking about is the procedure of getting the unique tickets from one 3ds to work on the other. That's not what I'm talking about here.

I'll try to explain this with 2 pictures:
2tyDNLx.png

rgcB0fD.png


See, assume the first picture is a clean .db (it's not.. just an assumption) .. see the highlighted title? This one was preinstalled on the 3ds, and has a unique consoleID.

So I'm saying if I dump this ticket, (again assuming this was clean) and injected it in the other 3ds that obviously have different consoleID, The console ID from the first ticket will transfer to the second 3ds?
And if yes, what happens if I download new stuff from eshop on my second 3ds after the injection? Will I now have a .db with a mixture of both console IDs?

On a semi-unrelated note, is there any harm for me to display my console ID like that? I'll remove the post if I shouldn't be doing so..
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Either I'm too dense to understand, or we have our wires crossed lol.

I think what you are talking about is the procedure of getting the unique tickets from one 3ds to work on the other. That's not what I'm talking about here.

I'll try to explain this with 2 pictures:
2tyDNLx.png

rgcB0fD.png


See, assume the first picture is a clean .db (it's not.. just an assumption) .. see the highlighted title? This one was preinstalled on the 3ds, and has a unique consoleID.

So I'm saying if I dump this ticket, (again assuming this was clean) and injected it in the other 3ds that obviously have different consoleID, The console ID from the first ticket will transfer to the second 3ds?
And if yes, what happens if I download new stuff from eshop on my second 3ds after the injection? Will I now have a .db with a mixture of both console IDs?

On a semi-unrelated note, is there any harm for me to display my console ID like that? I'll remove the post if I shouldn't be doing so..
Yup, that's what I meant. Check if there is actually stuff with console ids other than zero in there. What is this tool, btw?

So, the problem in your "clean" db is you have at least one ticket with a console id unequal zero. I guess if you use FBI to install the same ticket (from the other console) , the old one would get replaced. Needs experimentation.

Other than that, yup, you can have a mixture of console ids in your ticket.db.
 
  • Like
Reactions: GilgameshArcher

Madridi

Card Collector
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
Yup, that's what I meant. Check if there is actually stuff with console ids other than zero in there. What is this tool, btw?

So, the problem in your "clean" db is you have at least one ticket with a console id unequal zero. I guess if you use FBI to install the same ticket (from the other console) , the old one would get replaced. Needs experimentation.

Other than that, yup, you can have a mixture of console ids in your ticket.db.
Yeah ok, that was the problem I'm facing. A clean ticket from a new console is bound to have at least 1 non-zeroed ticket .. dumping that and injecting it in another console for usage will ultimately lead to a mixture of tickets, which defeats the purpose of a "clean" ticket I suppose.. It would be great if there is a way to edit or "clean" out the .db opposed to these workarounds.. But like I said, not sure how technically possible that is :(

As for installing the same ticket from the other console would show them twice in the .db, once with the unique consoleID, and the other as a zeroed out ConsoleID (as that's the only way a CIA would install) .. Here is a picture to show what I mean:
duKOeTy.png


As for the tool, like @Xenosaiga said, this is CDN-FX (formerly known as GroovyCIA) by @Ptrk25 .. It's a great GUI for FunkyCIA (literally ported from FunkyCIA) with some additions to it. Biggest addition is that it supports reading the title names from an XML.. A new version of it is being worked on but it's already the best tool I've personally seen in it's department :)
 
  • Like
Reactions: d0k3 and Xenosaiga

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Yeah ok, that was the problem I'm facing. A clean ticket from a new console is bound to have at least 1 non-zeroed ticket .. dumping that and injecting it in another console for usage will ultimately lead to a mixture of tickets, which defeats the purpose of a "clean" ticket I suppose.. It would be great if there is a way to edit or "clean" out the .db opposed to these workarounds.. But like I said, not sure how technically possible that is :(

As for installing the same ticket from the other console would show them twice in the .db, once with the unique consoleID, and the other as a zeroed out ConsoleID (as that's the only way a CIA would install) .. Here is a picture to show what I mean:
duKOeTy.png


As for the tool, like @Xenosaiga said, this is CDN-FX (formerly known as GroovyCIA) by @Ptrk25 .. It's a great GUI for FunkyCIA (literally ported from FunkyCIA) with some additions to it. Biggest addition is that it supports reading the title names from an XML.. A new version of it is being worked on but it's already the best tool I've personally seen in it's department :)
Alright, that is somewhat bad... I wonder, can't a ticket.db be found that doesn't have any console unique stuff? Also... Do you know what titles have that non zero console id? Clean removal of tickets is not possible afaik. Also, keep in mind that the ticket.db has two partitions, with only one active at a time (for hotswapping I assume).
 
  • Like
Reactions: Madridi

Madridi

Card Collector
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
Alright, that is somewhat bad... I wonder, can't a ticket.db be found that doesn't have any console unique stuff? Also... Do you know what titles have that non zero console id? Clean removal of tickets is not possible afaik. Also, keep in mind that the ticket.db has two partitions, with only one active at a time (for hotswapping I assume).
I assume it's possible some 3ds versions out there won't have any preloaded stuff, and therefore would only have system titles on the ticket, which is universal. Universal titles, similar to "legit titles" are zeroed titles by default, which is why they can be installed on any 3ds without any side effects such as it getting removed when visiting eshop.

But even if systems with zeroed tickets do exist, if simply dumping and injecting on another console would have any undesired side-effect, I wouldn't know.. Just because we can see the console ID on the ticket might not be necessarily be the only place where it has console specific ID or something.. I don't know I'm spitballing here.

If you do have an interest in looking into making something for this. I would talk to @Steveice10 .. He seems to have the most knowledge/experience with playing with the .db file .. Presumably When you delete a title and A ticket from FBI, it marks that title on the db for deletion for whenever you download something new for eshop. This was never confirmed though, some people say yes, and some people say no. I can't seem to get a straight answer. In any case, talking to him would be the place where I would start
 

PrometheusG.

Well-Known Member
Member
Joined
Jun 27, 2016
Messages
329
Trophies
0
XP
555
Country
Greece
hi @d0k3,
Sorry for my noob question but why Decrypt9WIP can make a full(1888MB Toshiba) and a min size(1240MB Samsung) backup and Hourglass9 makes automatically a min size backup without letting you choose first?Is the min size better?
also what is the difference of a full size vs a min size backup?
I was using my N3DSXL(Luma, a9lh) and the NAND backups match Plailect's guide
answer this post when you have free time
Thanks!
 

ih8ih8sn0w

Koreaboo
Member
Joined
Aug 22, 2015
Messages
1,677
Trophies
0
Age
25
Location
Hell
XP
898
Country
United States
hi @d0k3,
Sorry for my noob question but why Decrypt9WIP can make a full(1888MB Toshiba) and a min size(1240MB Samsung) backup and Hourglass9 makes automatically a min size backup without letting you choose first?Is the min size better?
also what is the difference of a full size vs a min size backup?
I was using my N3DSXL(Luma, a9lh) and the NAND backups match Plailect's guide
answer this post when you have free time
Thanks!
normal size nand dumps just have extra padding. min size dumps work fine and are faster to dump, while still being valid.
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
I assume it's possible some 3ds versions out there won't have any preloaded stuff, and therefore would only have system titles on the ticket, which is universal. Universal titles, similar to "legit titles" are zeroed titles by default, which is why they can be installed on any 3ds without any side effects such as it getting removed when visiting eshop.

But even if systems with zeroed tickets do exist, if simply dumping and injecting on another console would have any undesired side-effect, I wouldn't know.. Just because we can see the console ID on the ticket might not be necessarily be the only place where it has console specific ID or something.. I don't know I'm spitballing here.

If you do have an interest in looking into making something for this. I would talk to @Steveice10 .. He seems to have the most knowledge/experience with playing with the .db file .. Presumably When you delete a title and A ticket from FBI, it marks that title on the db for deletion for whenever you download something new for eshop. This was never confirmed though, some people say yes, and some people say no. I can't seem to get a straight answer. In any case, talking to him would be the place where I would start
Exactly - we can't do what SteveIce10 does, because we have no access to AM services. Also, those .db files have not been fully figured out yet (thus we can't do any edits). It is highly unlikely the console ID is anywhere else inside the ticket.db but in the tickets themselves (why should it?). You can try to find out, though. Find a clean ticket.db first, then try to find the console ID via a hex editor.

normal size nand dumps just have extra padding. min size dumps work fine and are faster to dump, while still being valid.
Yup, good answer. There really is no good reason for a standard user to have a full sized NAND backup. Everything you need is there, in the min size one.
 

Puddies

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
156
Trophies
0
Age
37
XP
174
Country
Gambia, The
How can I update to a new Decrypt9 version, if I normally use the payload?
Do I only have to replace the payloads/x_Decrypt9.bin by the new one? Or is there anything else that I have to replace?

Thanks for your help.
 

Xenosaiga

Time to switch it up
Member
Joined
Oct 9, 2015
Messages
1,501
Trophies
0
Age
33
Location
The Shadows
XP
1,070
Country
United States
How can I update to a new Decrypt9 version, if I normally use the payload?
Do I only have to replace the payloads/x_Decrypt9.bin by the new one? Or is there anything else that I have to replace?

Thanks for your help.
Nope. That's pretty much it. Download. Place Decrypt9.bin in the payload folder. Delete the old payload. Rename the new Decrypt9.bin to the old payloads name which using what you provided would be X_Decrypt9.bin
 
Last edited by Xenosaiga,
  • Like
Reactions: Puddies

Bryon15

Well-Known Member
Member
Joined
Aug 9, 2010
Messages
1,282
Trophies
0
Age
39
Location
united states
XP
1,896
Country
United States
Hello. Maybe someone here can help me. I recently switched from rxtools to arm9loaderhax+luma. And I noticed that all of my gba game saves are gone. I made a thread about it here.

https://gbatemp.net/threads/i-just-...d-that-all-my-gba-save-files-are-gone.442513/

I tried using decrypt 9. I restored my old sysnand, dumped the gbavc save, restored my new sysnand, injected the gbavc save. But the saved still weren't there. Not sure what to do now. :unsure:
 

TheMasterFOu

Member
Newcomer
Joined
Oct 17, 2011
Messages
11
Trophies
0
XP
134
Country
United States
Can you run this with a Sysnand 4.5 on an Old Gateway 3DS without arm9loader installed if you use the browser hack? I am currently trying to backup my Emunand. I have 4.5 U sysnand on and Old 3DS.
 
Last edited by TheMasterFOu,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @AncientBoi, https://www.youtube.com/watch?v=Z9p0iK877W4