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?,

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Restoring my partitions, now. I did it slightly differently to what @zoogie said. I replaced a piece of my own DSiWare, instead of a system title. Hopefully, it still works.
You only have to do the one partition if you're only editing TWLN :P
Just rename/delete/move the others and it will just restore whichever partitions it finds.
I injected mine into DS DLP, never gonna use it anyway and don't own any dsiware....
 
  • Like
Reactions: WhoAmI?

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
You only have to do the one partition if you're only editing TWLN :P
Just rename/delete/move the others and it will just restore whichever partitions it finds.
I injected mine into DS DLP, never gonna use it anyway and don't own any dsiware....

Thanks for the tip. I wasn't sure if it was gonna show an error if all the .BIN's, weren't present.

Just launched my injected DSiWare and it broke :S Dunno why that was. Probably because it's out of region or something? Gonna try again :P
 

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
Yeah it'll still chuck a mental about not finding the others but it will still succeed. :)

Would be great if it was optional to choose which partitions were dumped/decrypted. :)

Edit: Does anyone wanna edit the OP and explain how to get this working on 9.x? I'm too busy to do it myself :/

Edit2: Wow - it actually works after injecting into the WiFi settings xD Nice one, zoogie :)
 
Last edited by WhoAmI?,
Joined
Feb 15, 2015
Messages
1,464
Trophies
0
XP
1,099
Country
United States
Would be great if it was optional to choose which partitions were dumped/decrypted. :)

Edit: Does anyone wanna edit the OP and explain how to get this working on 9.x? I'm too busy to do it myself :/

Edit2: Wow - it actually works after injecting into the WiFi settings xD Nice one, zoogie :)
Is there any use in keeping ds wifi settings since the old servers were shut down?
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
I wouldn't be surprised if you could just inject the wifi app somewhere else if you miss it.
Maybe inject it over the dlp app. :P Injecting is fun. :P
 
  • Like
Reactions: WhoAmI?

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
Is there any use in keeping ds wifi settings since the old servers were shut down?
Nah. Not really any use, as like you said - the old servers, were shut down ;_;

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

Was there any progress on getting homebrews like Lemmings that use the file system working with this?

Not unless someone can get the Lemmings source code, and then add libnds, I assume.
 
  • Like
Reactions: zoogie

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
Fun fact: you can take the dlp app (00030005 484e4441) off your decrypted twln, add .nds to the end, and run it on a ds flashcard :P
it runs in ds or dsi mode.

Another cool thing about it is it will cleanly return to the home menu when you exit. I've never seen a ds app do that on a flashcard.
 
  • Like
Reactions: WhoAmI?

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
Fun fact: you can take the dlp app (00030005 484e4441) off your decrypted twln, add .nds to the end, and run it on a ds flashcard :P
it runs in ds or dsi mode.

Another cool thing about it is it will cleanly return to the home menu when you exit. I've never seen a ds app do that on a flashcard.
Wow. Thanks for sharing! :D Awesome!

If only we had Pictochat :/
 

pakrett

Well-Known Member
Member
Joined
Apr 6, 2015
Messages
1,519
Trophies
0
Age
34
XP
1,351
Country
France
Hi @WhoAmI? ! I have a question ^^ (or someone else of course)

If I downgrade to 4.X (I don't have any DSIwares), and I install a dsiware like... SUDOKU (for exemple XD), then I set up sudokuHAX into SudokU.
After that I update my 3DS to 9.2 with sysUpdater (with keeping or not the TWL-firm update title). Do you think that my SuDoKu game with sudokuHax still working ?

I have cubic ninja & a DS flashcard so I can do all what I want, this is just for fun !

Or maybe there is already a way to set up sudokuHAX on 9.X ?
 
Last edited by pakrett,
  • Like
Reactions: WhoAmI?

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Hi @WhoAmI? ! I have a question ^^ (or someone else of course)

If I downgrade to 4.X (I don't have any DSIwares), and I install a dsiware like... SUDOKU (for exemple XD), then I set up sudokuHAX into SudokU.
After that I update my 3DS to 9.2 with sysUpdater (with keeping or not the TWL-firm update title). Do you think that my SuDoKu game with sudokuHax still working ?

I have cubic ninja & a DS flashcard so I can do all what I want, this is just for fun !

Or maybe there is already a way to set up sudokuHAX on 9.X ?

You don't even need to downgrade now. :P
TWL decryption works on 9.x so you can just dump the TWLN partition, inject whatever, save it and restore the partition again. Job done. :)

Get the latest Decrypt9 from here https://github.com/Shadowtrance/Decrypt9/releases
Load it up with ninjhax, go to the "Decrypt nand partitions" option in the menu, wait for that to finish.
Open the TWLN.bin (it's in the "Decrypt9" folder on sd root) in winimage or ofsmount (or whatever you use), inject what you want, save it.
REMOVE/MOVE all other .bin files from that folder except your edited TWLN.bin, load it up again from ninjhax, go to the same option in the menu and select restore.
It will bitch about the other partitions not found, but that's fine.
Reboot and now you have your dsiware injected. :)
 
Last edited by Shadowtrance,
  • Like
Reactions: pakrett and WhoAmI?

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
Hi @WhoAmI? ! I have a question ^^ (or someone else of course)

If I downgrade to 4.X (I don't have any DSIwares), and I install a dsiware like... SUDOKU (for exemple XD), then I set up sudokuHAX into SudokU.
After that I update my 3DS to 9.2 with sysUpdater (with keeping or not the TWL-firm update title). Do you think that my SuDoKu game with sudokuHax still working ?

I have cubic ninja & a DS flashcard so I can do all what I want, this is just for fun !

Or maybe there is already a way to set up sudokuHAX on 9.X ?

As Shadowtrance, has said:

You don't even need to downgrade now. :P
TWL decryption works on 9.x so you can just dump the TWLN partition, inject whatever, save it and restore the partition again. Job done. :)

No need to downgrade, as you can replace the old DS WiFi settings application. I'll see if I have time to update the OP, later this or next week, which will feature @zoogie 's instructions and how to use D9 in order to inject Sudokuhax :)

This new method, doesn't require DSiWare :)
 
  • Like
Reactions: pakrett

pakrett

Well-Known Member
Member
Joined
Apr 6, 2015
Messages
1,519
Trophies
0
Age
34
XP
1,351
Country
France
As Shadowtrance, has said:

No need to downgrade, as you can replace the old DS WiFi settings application. I'll see if I have time to update the OP, later this or next week, which will feature @zoogie 's instructions and how to use D9 in order to inject Sudokuhax :)

This new method, doesn't require DSiWare :)
See my edited post above. :) @pakrett

Ok ok, so if I understand I can mount a TWL backup like disk images ? And inject some dsiWares in it but I don't really understand how ^^ Can they be launched without CFW ? What is the format I need for DSIwares ? A lots of questions etc...

And the most important : If I read all post in this thread will I understand all I need to understand ? ^^

Edit : And I have a downgraded TWL-firm (2.0). Is it good to do that, we don't care ?
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Ok ok, so if I understand I can mount a TWL backup like disk images ? And inject some dsiWares in it but I don't really understand how ^^ Can they be launched without CFW ? What is the format I need for DSIwares ? A lots of questions etc...
And the most important : If I read all post in this thread will I understand all I need to understand ? ^^
Yeah mount it a disk image with winimage or similar program. I use OFSMount.
As for injecting, zoogie has covered that here pretty much http://gbatemp.net/threads/tutorial-installing-sudokuhax-on-3ds.388621/page-19#post-5567103
Reading the whole? probably not needed, last couple of pages could help though. :)
 
  • Like
Reactions: pakrett and WhoAmI?

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
Ok ok, so if I understand I can mount a TWL backup like disk images ? And inject some dsiWares in it but I don't really understand how ^^ Can they be launched without CFW ? What is the format I need for DSIwares ? A lots of questions etc...

And the most important : If I read all post in this thread will I understand all I need to understand ? ^^

Yup. Just download the DSiWare_Injector (as this has the save file) and the Sudoku nds file (can't be linked here. Sorry). Then, decrypt your partitions with D9, mount the TWLN.bin, with WinImage.

Once mounted, go to the path that zoogie mentioned, rename the .nds to 0000002.app and then drag n' drop it onto WinImage - it'll ask to overwrite the file. Click yes.

Then create the data directory (the option to create a folder, is within the Options of WinImage. Then open that folder, click inject (options at the top) and select the .sav file. Make sure that the .sav, has the correct file name. Read zoogie's instructions, for more info :)

Edit: Tried getting Pictochat, working:

 
  • Like
Reactions: pakrett

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Metoroid0 @ Metoroid0: im more interested in metroid prime 4