Tutorial  Updated

Installing Sudokuhax on 3DS 4.x-9.2

So yeah... Title says it all. Ever heard of the DSi exploit named Sudokuhax? You want it? Okay! Here's some info:

  • DSiWare does NOT have access to game card, slot 1.
  • DSi Homebrew Channel ONLY supports a maximum SD card size of 2GBs, because of libnds? (If anyone want's to fix that problem, go ahead).
  • Does not support DLDI patching (sucks, right? Can't even run moonshell or a lot of legacy homebrew with that -_-)
  • You need a NDS mode flash card, so ROP Multiloader can be installed. (New method, doesn't have this requirement :D)
  • DSiWare already installed on the console (it must be at least 4MB's in size!) UNLESS you use the NEW method.
  • Ninjhax or Spiderhax (browser, O3DS) is currently required for the NEW method. The old method, requires a NDS flashcard or other method of installing the ROP chain for MSET.
NOTE - QUOTES ON FREEZING:

It works on my 32gb fat32 32k cluster. I used the modified boot.nds from zoogie link.

Yes cluster size is the issue with hbMenu. If it's anything beyond 8192K on 16+ GB size SD cards (not sure if this counts for anything smaller) then hbMenu won't start anything. You just get that white screen. But the problem was I had screen buffer bugs with GBA games when I had my 32GB SD card formatted to 8192k cluster size.

The ROM

1.) Google "DSiWare SDATs" - click on the link with the domain "hcs64".
2.) Scroll down to the bottom and select "page 3" - you'll see a post by "CaitSith2", posted on "March 27, 2015".
3.) Click on "nomodcrypt" and download the archive.

I can't post a direct link to the files, as it isn't allowed here. Sorry.

PC Utility

1.) Search that ISO site for "Play DSiWare in your 3DS!".
2.) Click on the link and go to page 6, post 59.
3.) Download "DSiWare_Injector.zip".

Good! That's the PC utilities downloaded.

Edit: For those of you who can't find the post, I uploaded the injector to my dropbox. Here it is: https://dl.dropbox.com/s/8pjwmgyiwg5bil4/DSiWare_Injector.zip

DSi Homebrew Channel (Mileage may vary)

1.) Download this: http://filetrip.net/nds-downloads/applications/download-dsi-homebrew-channel-1-0-f25356.html

OR Download this modified version, by @zoogie : http://gbatemp.net/attachments/boot-zip.18916/

OR the latest release (also credits to Zoogie): http://gbatemp.net/attachments/boot-zip.21417/

You don't need a 2gb card. just use nds_hb_menu.
Freshly compiled build attached for your homebrewing pleasure. :P

That's pretty much all you need :P Okay, now for the messing about.

***New Method: 4.x-9.2*** (Concept by Zoogie)

1.) Download a copy of Decrypt9, from either of the two links:
OR try @zoogie 's tool:

Here's a version of TWL_PADGEN that includes a browser-launchable decrypt9 -- no cubic ninja needed.
Use gateway firmware for nand dumping and reinjection and such.
Press select to create xorpad.

http://gbatemp.net/attachments/twln_padgen_spider_launcher-zip.21674/

2.) Place the file in their respective places (Launcher.dat, goes at the root of the 3DS SD card. "Decrypt9", goes in the "3ds" directory, if you're using Ninjhax).
3.) Launch the payload.
4.) Select "Decrypt Nand Partitions" then press "x", to backup.
5.) Once finished, shutdown the console.
6.) Rename "SUDOKU-Electronic_Arts_Inc..nds" to "00000002.app".
7.) Rename "dsiware.sav" to "public.sav" (this file is located in "DSiWare_Injector".
8.) Remove the 3DS's SD card and insert it into your computer. Navigate to SD:/Decrypt9 and open "TWLN.bin" with a piece of software such as WinImage.
9.) In WinImage, go to "\title\00030005\42383841\content" and inject the "new" 00000002.app. You can inject the new file by clicking on "Image" then "Inject".
10.) Go to "\title\00030005\42383841" and create the directory "data" (Image -> Create Folder).
11.) Open the "data" directory and inject the "public.sav" file.
12.) Go to File -> Save.
13.) Remove all files from "SD:/Decrypt9", EXCEPT FOR TWLN.bin!
14.) Eject the SD card and put it back into the 3DS.
15.) Re-launch D9, then click "Decypt Nand Partitions" then press the restore button (y).
16.) Accept the confirmation (if any) and wait for it to finish.
17.) Reboot the console, then go to System Settings -> Internet -> Nintendo DS Connections.
18.) Sudoku should load. Press start and Sudokuhax should load. It'll show an error about boot.nds
19.) Power down the console, eject the SD card and put it into your computer.
20.) Transfer the DSiHomebrew channel (boot.nds), to the root of your SD card.
21.) Reinsert the SD card into the console and relaunch Sudokuhax.


***BELOW INSTRUCTIONS ARE 4.x ONLY!***

3DS Injection Tools

1.) Download ROP Multiloader here: http://filetrip.net/3ds-downloads/homebrew/download-ropmultiloader-1-1-f32981.html

Getting your DSiWare Title ID's

1.) Go to system settings ---> Data Management ---> DSiWare.
2.) Copy the DSiWare that you want to be "Sudokuhaxed" to the SD card (make sure no other DSiWare is on your SD! It'll make things easier).
3.) Shutdown the 3DS.
4.) Remove the SD card and insert it into your computer.
5.) Go to "SD:\Nintendo 3DS\<ID1>\<ID2>\Nintendo DSiWare" - you'll see a title with a name similar to this: 4B344856 (This is just an example).
6.) Make sure it's at least 4MB's in size.
7.) Note down the name of the file (don't bother about the file extension - you don't need this).
That's the ID's sorted! Great! :vul2:

Sorting out the stuff

1.) Extract "SUDOKU-Electronic_Arts_Inc..nds" from "decrypted_titles_nomodcrypt.7z" (requires 7Zip or any other archive handler that supports the .7z file extension).
2.) Extract "DSiWare_Injector.zip".
3.) Copy/Move "SUDOKU-Electronic_Arts_Inc..nds" into the "DSiWare_Injector" directory so that it is with it's pals "dsiware_InjectTitleIDinMset.py" and "MsetForBoss.dat".
4.) Rename "SUDOKU-Electronic_Arts_Inc..nds" to "dsiware.nds".
5.) Open "dsiware_InjectTitleIDinMset.py" with a text editor, so that the title ID can be changed.
6.) Change this:
title_ID="xxxxxxxx" # 8 characters or die.

to this:

title_ID="<THE TITLE ID THAT YOU SHOULD'VE NOTED DOWN EARLIER!" # 8 characters or die.

7.) Save the changes and run "dsiware_InjectTitleIDinMset.py" (You must have Python installed!).
8.) Copy "dsiware.nds", "dsiware.sav" and "MsetForBoss.dat" to the root of your 3DS's SD card, (NOT THE NDS FLASH CARD!).
9.) Extract the DSiHomebrew channel and copy "boot.nds" to the root of your 3DS's SD card, just like the previous step.
10.) Extract "235679-ropMultiloader 1.1.zip" and copy "rop_multiloader.nds" to your flashcards SD card (NOT 3DS's!)

You're almost done!

11.) Eject all SD cards and put them back where they belong (don't ask stupid questions. You know where to put it, hehe.)

Installation onto the console


1.) Launch ROP multiloader from your flashcard and install the MsetForBoss exploit.
2.) Go to system settings ---> Profile ---> Nintendo DS profile - you'll see a magical menu, hehe.
3.) Select the option to inject the DSiWare. Wait for it to finish and shutdown the console.
4.) Turn the console back on and launch the DSiWare that you had injected Sudoku into.
5.) The exploit will load after the start menu.

You're done! I've only found this useful for installing the profile exploit, on the go without the need of carrying a flashcard with me. This lets you play NDS games and you could just re-install the exploit with Sudokuhax. Just copy any ROP installer to your 3DS's SD card and rename it to boot.nds.

Would be great if Moonshell2 could be ported to work with this :) Or even better - have a DLDI patch that lets you use more homebrew (nothing is impossible), though I doubt someone would be willing enough to make this happen -_-.

Any errors in this tutorial? Let me know and I'll correct them.

DISCLAIMER: If you break your console, I am not responsible for that. You do these sort of stupid things at your OWN risk. ALWAYS HAVE A BACKUP! Don't come crying to this forum if you've bricked your 3DS and don't have a backup of your NAND - it's just plain sense to have backed up your console, you're an idiot if you don't have one.

Special thanks to a certain user on this forum, for helping me out with the details. He prefers not to be mentioned as he'd rather not receive nooby PM's.

Credits/Info

I do NOT take credit for anything other than taking the time to write this tutorial. All files/tools mentioned in this thread belong to their respective owners - you already know where to go if you want to thank them.

Video evidence



 
Last edited by WhoAmI?,

TotalInsanity4

GBAtemp Supreme Overlord
Member
Joined
Dec 1, 2014
Messages
10,800
Trophies
0
Location
Under a rock
XP
9,814
Country
United States
Just so I know what exactly I'm getting myself into, does anyone know what the incompatibilities of 4.5 and a 2DS are? I already know about savegames being screwed over (I only have one downloaded game so that won't be an issue) and the whole wifi won't work properly, but what was it that made everyone avoid it like the plague?
 

WhoAmI?

PASTA's dirty animal
OP
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
Just so I know what exactly I'm getting myself into, does anyone know what the incompatibilities of 4.5 and a 2DS are? I already know about savegames being screwed over (I only have one downloaded game so that won't be an issue) and the whole wifi won't work properly, but what was it that made everyone avoid it like the plague?


I honestly have no idea. I'm aware that the system only has 1 speaker... Maybe it has a slightly different DSP module or whatever? Just an idea.... Possible "driver issues"or whatever.. I dunno. No idea why it would have any problems besides Wifi... Maybe the system will try to initialize 3d as the older firmware wasn't for 2ds?
 

Codename

GREEN BRO IS BEST BRO
Member
Joined
Feb 21, 2012
Messages
365
Trophies
0
XP
243
Country
Canada
Just so I know what exactly I'm getting myself into, does anyone know what the incompatibilities of 4.5 and a 2DS are? I already know about savegames being screwed over (I only have one downloaded game so that won't be an issue) and the whole wifi won't work properly, but what was it that made everyone avoid it like the plague?
The 2DS can't be downgraded to 4.5 because the drivers/code for the 2DS's differences in hardware (unibody, single screen divided into two sections, no physical WiFi toggle -> normally found in Home Menu settings on firmwares that the 2DS came with and up) don't exist in 4.5, due to the 2DS only having released with firmware 6 or 7 (I think it was one of those two versions). It would be nearly impossible AFAIK to hack in the 2DS-specific code to a 4.5 firmware, unless you got real serious mad skillz, so the best bet for an offline exploit for the 2DS is either Cubic Ninja or the MSET downgrade (like Gateway 3DS's one for the New 3DS)
 

TotalInsanity4

GBAtemp Supreme Overlord
Member
Joined
Dec 1, 2014
Messages
10,800
Trophies
0
Location
Under a rock
XP
9,814
Country
United States
I honestly have no idea. I'm aware that the system only has 1 speaker... Maybe it has a slightly different DSP module or whatever? Just an idea.... Possible "driver issues"or whatever.. I dunno. No idea why it would have any problems besides Wifi... Maybe the system will try to initialize 3d as the older firmware wasn't for 2ds?

Possibly?

Anyway, I'm quite literally my own guinea pig since I don't have a NAND mod (nor do I even know if it's possible for a 2DS), but I'll try to report back with stable results should I get it working

Now I just have to get through school so I actually have time to do that...
 

WhoAmI?

PASTA's dirty animal
OP
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
Possibly?

Anyway, I'm quite literally my own guinea pig since I don't have a NAND mod (nor do I even know if it's possible for a 2DS), but I'll try to report back with stable results should I get it working

Now I just have to get through school so I actually have time to do that...


Advice: NAND Backup. If something goes wrong, it's your own fault. At least with a backup, you can get a mod and restore it. Everything I said is nothing more than speculation - I can be completely wrong. Drivers are gonna be the biggest issue.
 

TotalInsanity4

GBAtemp Supreme Overlord
Member
Joined
Dec 1, 2014
Messages
10,800
Trophies
0
Location
Under a rock
XP
9,814
Country
United States
The 2DS can't be downgraded to 4.5 because the drivers/code for the 2DS's differences in hardware (unibody, single screen divided into two sections, no physical WiFi toggle -> normally found in Home Menu settings on firmwares that the 2DS came with and up) don't exist in 4.5, due to the 2DS only having released with firmware 6 or 7 (I think it was one of those two versions). It would be nearly impossible AFAIK to hack in the 2DS-specific code to a 4.5 firmware, unless you got real serious mad skillz, so the best bet for an offline exploit for the 2DS is either Cubic Ninja or the MSET downgrade (like Gateway 3DS's one for the New 3DS)

I do know that the 2DS at least partially works on 4.5. Although now that I think about it, the "one screen" part is probably it, I think I actually remember reading about graphical glitches making games unplayable. But it still should be ideal as long as I'm only on it long enough to inject Sudoku, then upgrade back to 7.0 or something
 

WhoAmI?

PASTA's dirty animal
OP
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
I do know that the 2DS at least partially works on 4.5. Although now that I think about it, the "one screen" part is probably it, I think I actually remember reading about graphical glitches making games unplayable. But it still should be ideal as long as I'm only on it long enough to inject Sudoku, then upgrade back to 7.0 or something


You can attempt it if you want. I seriously hope you have a NAND backup - you'll regret it if something goes wrong and you don't have one.
 

TotalInsanity4

GBAtemp Supreme Overlord
Member
Joined
Dec 1, 2014
Messages
10,800
Trophies
0
Location
Under a rock
XP
9,814
Country
United States
You can attempt it if you want. I seriously hope you have a NAND backup - you'll regret it if something goes wrong and you don't have one.

I do have one and I'll make another one. I'm doing a bit of research on it as well, and I'm not even going to be able to try for about another week so I'll have some time to talk myself out of it if need be XD
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,478
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,937
Country
United States
I found out how to build DSiWare CIAs (for pastaCFW/PBT CFW users)!

This works for Sudoku too! Simple. Download that "DSiWare SDATs" package mentioned on post 1.

The process is actually quite simple. Get make_cia. I'm sure it's easy to find so I won't find it for you. Then use this command:

Code:
make_cia --srl=NameOfYourGame.nds

It looks to create a valid DSiWare CIA. (obviously the ticket will not be valid and it won't work outside of CFW). But for those using PastaCFW. You basically have easy way of making any DSiWare you want!

I can't fully test this though as I can't yet boot PastaCFW. But the result was a valid icon and title for Sudoku on my Home Menu. But I'm sure since DSiWare works with PastaCFW anyways, this will too. The main difference with this and the primary method of getting it installed is that this one will only boot when using CFW with sig checks patched.

Note many of the game names in the sdat package probably have filenames that won't get along with make_cia so rename them to command line friendly names before attempting to build CIAs out of them.

Note that this probably will not work for DSi Enhanced titles dumped from cartridges or DS games. Obviously those won't work as they won't be proper DSi titles. DS stuff still needs to be booted from a DS flashcart.

Note that even if Sudoku is installed this way, you must still find a way of injecting the save. I don't know of a way to do that on 9.x sysnand.

EDIT:

Ok it let me build a CIA from Pokemon Black 2 (which is a DSi Enhanced game). That's interesting. I'll never be able to install because of the large size of the game, but that is indeed interesting. :P
 

GhostLatte

GBAtemp's Official Van Master™
Member
Joined
Mar 26, 2015
Messages
3,653
Trophies
3
Age
24
XP
11,270
Country
United States
I found out how to build DSiWare CIAs (for pastaCFW/PBT CFW users)!

This works for Sudoku too! Simple. Download that "DSiWare SDATs" package mentioned on post 1.

The process is actually quite simple. Get make_cia. I'm sure it's easy to find so I won't find it for you. Then use this command:

Code:
make_cia --srl=NameOfYourGame.nds

It looks to create a valid DSiWare CIA. (obviously the ticket will not be valid and it won't work outside of CFW). But for those using PastaCFW. You basically have easy way of making any DSiWare you want!

I can't fully test this though as I can't yet boot PastaCFW. But the result was a valid icon and title for Sudoku on my Home Menu. But I'm sure since DSiWare works with PastaCFW anyways, this will too. The main difference with this and the primary method of getting it installed is that this one will only boot when using CFW with sig checks patched.

Note many of the game names in the sdat package probably have filenames that won't get along with make_cia so rename them to command line friendly names before attempting to build CIAs out of them.

Note that this probably will not work for DSi Enhanced titles dumped from cartridges or DS games. Obviously those won't work as they won't be proper DSi titles. DS stuff still needs to be booted from a DS flashcart.

Note that even if Sudoku is installed this way, you must still find a way of injecting the save. I don't know of a way to do that on 9.x sysnand.

EDIT:

Ok it let me build a CIA from Pokemon Black 2 (which is a DSi Enhanced game). That's interesting. I'll never be able to install because of the large size of the game, but that is indeed interesting. :P
I wonder how the save can be injected :unsure:

Edit: I get the same message :/
image.jpg
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,478
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,937
Country
United States
TWL_NAND partition is where DSi stuff is stored. (you can move them to SD card, but it won't let you boot them from there). The partition has a fixed size and obviously you can't install Pokemon Black 2 because it's way too big to fit. You can perhaps find a smaller DSi Enhanced game and try that. make_cia will refuse to build CIAs from older DS games, so don't waste time trying that. ;)
 
  • Like
Reactions: Margen67

GhostLatte

GBAtemp's Official Van Master™
Member
Joined
Mar 26, 2015
Messages
3,653
Trophies
3
Age
24
XP
11,270
Country
United States
TWL_NAND partition is where DSi stuff is stored. (you can move them to SD card, but it won't let you boot them from there). The partition has a fixed size and obviously you can't install Pokemon Black 2 because it's way too big to fit. You can perhaps find a smaller DSi Enhanced game and try that. make_cia will refuse to build CIAs from older DS games, so don't waste time trying that. ;)
I will try to find some other ones, but thanks for your tutorial.
 
  • Like
Reactions: Margen67

nastys

Well-Known Member
Member
Joined
Aug 5, 2014
Messages
1,732
Trophies
1
Age
26
Location
Earth
XP
1,816
Country
Italy
I found out how to build DSiWare CIAs (for pastaCFW/PBT CFW users)!

This works for Sudoku too! Simple. Download that "DSiWare SDATs" package mentioned on post 1.

The process is actually quite simple. Get make_cia. I'm sure it's easy to find so I won't find it for you. Then use this command:

Code:
make_cia --srl=NameOfYourGame.nds

It looks to create a valid DSiWare CIA. (obviously the ticket will not be valid and it won't work outside of CFW). But for those using PastaCFW. You basically have easy way of making any DSiWare you want!

I can't fully test this though as I can't yet boot PastaCFW. But the result was a valid icon and title for Sudoku on my Home Menu. But I'm sure since DSiWare works with PastaCFW anyways, this will too. The main difference with this and the primary method of getting it installed is that this one will only boot when using CFW with sig checks patched.

Note many of the game names in the sdat package probably have filenames that won't get along with make_cia so rename them to command line friendly names before attempting to build CIAs out of them.

Note that this probably will not work for DSi Enhanced titles dumped from cartridges or DS games. Obviously those won't work as they won't be proper DSi titles. DS stuff still needs to be booted from a DS flashcart.

Note that even if Sudoku is installed this way, you must still find a way of injecting the save. I don't know of a way to do that on 9.x sysnand.

EDIT:

Ok it let me build a CIA from Pokemon Black 2 (which is a DSi Enhanced game). That's interesting. I'll never be able to install because of the large size of the game, but that is indeed interesting. :P
Just tried with Flipnote Studio and it didn't work. It imported and an empty icon appeared on the home screen but it disappeared immediately. Also, you won't find it in Data Management, so you'll have to remove it from devMenu.
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,478
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,937
Country
United States
A certain part of the SDAT (NDS file in this case) should still be encrypted. (but the rest of the file should be decrypted. If you downloaded it off CDN, it's still encrypted)

The file you attempted might not have been dumped correctly. Even though I can't boot DSiWare yet, I did build a Sudoku CIA and it's icon showed up correctly. I can even copy it to/from SD card in Data Management without issue.

There's something wrong with the copy of Flipnote Studio you have.

EDIT: Also, I don't think FBI is programmed to install TWL stuff correctly. Be sure you are using DevMenu/BigBlueMenu to install them. Also, they will not work on emunand or in Gateway mode.

If you have a ticket to the DSiWare in question, you can download it from eShop with CDNto3DS.py python script. (commonly included with the 3DS Multi Decrypter toolset). It should generate a TMD, a "00000000" file, and a second version but with the ".dec" extension.

That one is the decrypted version and that's the one you should build the CIA from. ;)
 
  • Like
Reactions: WhoAmI?

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,001
Country
Micronesia, Federated States of
A certain part of the SDAT (NDS file in this case) should still be encrypted. The file you attempted might not have been dumped correctly. Even though I can't boot DSiWare yet, I did build a Sudoku CIA and it's icon showed up correctly. I can even copy it to/from SD card in Data Management without issue.

There's something wrong with the copy of Flipnote Studio you have.

EDIT: Also, I don't think FBI is programmed to install TWL stuff correctly. Be sure you are using DevMenu/BigBlueMenu to install them. Also, they will not work on emunand or in Gateway mode.
Tried to install the old sudoku srl using make_cia on my 9.2 3ds and it worked with pasta. Nice find. :)
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,478
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,937
Country
United States
Oh I forgot to mention that DSi stuff are region locked. So in PBT/PastaCFW, if the installed DSiWare is from a different region you probably have to launch it from DevMenu instead as it won't show up in the Home Menu.

Make sure you are installing DSi games that match the region of your console for best results. ;)

I'm not sure how region coding is handled in the DSi games. Perhaps its the icon file much like 3DS software. But note that altering the icon for DSi/DS roms is not the same process as editing icons for 3DS titles since the game format is different.
 
  • Like
Reactions: Margen67

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://youtu.be/4l3lyXcUDkI?feature=shared&t=43