Homebrew Official [Release] GodMode9 - All Access File Browser for the 3DS

  • Thread starter d0k3
  • Start date
  • Views 305,338
  • Replies 1,143
  • Likes 105

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
@d0k3 thanks for the big update!!!
just wnt to ask will it be possible to build a godmode9 with enable/disable write to nand feature... so that building another one (safemode9)... protection will be integrated to godmode9...
Did you even try GodMode9? You know that there is no writing to critical stuff without unlocking it via a button sequence and that there is warning for everything?
 
  • Like
Reactions: noctis90210

rocknard

Well-Known Member
Newcomer
Joined
Mar 10, 2017
Messages
48
Trophies
0
XP
750
Country
Spain
Is there way to create rednands without wipe sd card data? or multiple rednands on the same sd? (i can convert to emunand with emunand9).

I'm trying to figure out how to create "emunands" on 10.7 nand (without gw or others methods limited to firmwares <9.2).

Thanks.
 

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,306
Country
United States
I am seeing "8: BONUS DRIVE / IMGNAND TWLN" in the readme, says that the home menu can format it. How does one even set that up? What can it be used for outside of GODMODE9? I've got a n3DS XL if that helps at all.
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Even for a CTRnand?
Yes, even for a CTRNAND.

I am seeing "8: BONUS DRIVE / IMGNAND TWLN" in the readme, says that the home menu can format it. How does one even set that up? What can it be used for outside of GODMODE9? I've got a n3DS XL if that helps at all.
It's in the readme, "You may set up the bonus drive via the HOME menu on 3DS consoles that provide the space for it.". If the option doesn't turn up for you, your console doesn't have that extra space in NAND. Currently I don't know of any software that would provide access to this memory or even use it in any way, so this is useful for GM9 only, as some kind of on device storage. Maybe other's will follow suit and this drive will be more useful in the future.
 

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,917
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,723
Country
United States
Just found that this became a part of the A9LH setup. I honestly use these programs (by these, I mean Decrypt9WIP) to make dumps of game carts, so I'll stick with Decrypt9WIP. It's much more familiar to me.
 

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,306
Country
United States
Yes, even for a CTRNAND.


It's in the readme, "You may set up the bonus drive via the HOME menu on 3DS consoles that provide the space for it.". If the option doesn't turn up for you, your console doesn't have that extra space in NAND. Currently I don't know of any software that would provide access to this memory or even use it in any way, so this is useful for GM9 only, as some kind of on device storage. Maybe other's will follow suit and this drive will be more useful in the future.
I do have the option, figured that meant Nintendo's home menu. Explains why I couldn't find it.

How would one go about accessing the drive? About what precent of 3DSes have it?

Thanks for the great software.
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
I do have the option, figured that meant Nintendo's home menu. Explains why I couldn't find it.

How would one go about accessing the drive? About what precent of 3DSes have it?

Thanks for the great software.
My N3DS has an additional ~600MB of space after the end of the actual CTRNAND. There are consoles that have even more. O3DSes always have very little to no additional space, and about N3DS / 2DS, just an elaborate guess, but newer consoles are more likely to have mroe space. And, well, as I said, only GM9 can access it right now. You can also dump it and access via OSFMount on PC.
 

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,306
Country
United States
My N3DS has an additional ~600MB of space after the end of the actual CTRNAND. There are consoles that have even more. O3DSes always have very little to no additional space, and about N3DS / 2DS, just an elaborate guess, but newer consoles are more likely to have mroe space. And, well, as I said, only GM9 can access it right now. You can also dump it and access via OSFMount on PC.
I'll just look at your implementation then, might make some sort of POC.
 

ThisIsDaAccount

Well-Known Member
Member
Joined
Apr 8, 2016
Messages
1,158
Trophies
0
XP
944
Country
United States
Is there anything that Decrypt9 does that this still doesn't do? I remember that you posted a list on the subredit for version 1.0, and a couple of things on it kept me from switching.
 

tomx86

Well-Known Member
Member
Joined
Jun 3, 2015
Messages
778
Trophies
0
Age
38
XP
2,163
Country
Poland
This has been in so called 'alpha' for a long time, while growing an actual user base (right @Shadowtrance ? ;)). In fact this has been tested enough, and it should be rock solid by this time (read the thingy about challenge below). So Im releasing to you today...


GODMODE9
All Access File Browser

Current public version: v1.0.7
GodMode9 v1.0.7
What's new:
  • New, improved CTRNAND transfer method
  • A minor bugfix

GodMode9 v1.0.6
What's new:
  • New fancy splash screen and GodMode9 logo
  • CTRtransfer made possible (recommended on A9LH only, refer to the Guide)
  • New NAND backup operation in HOME menu
  • Easy restore of H&S after injection from HOME menu
  • Improved TWL cart compatibility (thanks to @Normmatt)
  • Red screen indicates extra dangerous operations now
  • Allow setting up the bonus drive even if little space is available
  • Improved devkit support for NCCH / CIA operations
  • Automatic detection of SD card insert and ejects (you still need to unmount!)
  • Dirs can be analyzed (for total size / # of files / # of subdirs) now
  • "Copy to 0:/gm9out" operation for dirs is now available
  • Images can now be mounted from ram drive and bonus drive

GodMode9 v1.0.0
What's new:
  • A9LH preserving NAND restore (A button on NAND dumps)
  • Injecting and dumping the virtual GBA save (Virtual SysNAND drive)
  • Virtual Gamecart drive (C:, allows access to CTR/TWL/NTR) carts
  • Bonus drive, utilizing the unused space on NAND (home menu)
  • NCCH/NCSD/CIA encryption (in A button menu)
  • BOSS file decryption/encryption/verification (in A button menu)
  • Health & Safety injection for CXIs (also inside CIAs)
  • Decrypting / verifying / building CIA from NUS/CDN downloads (check the readme)
  • Mounting ticket.db files (for access to tickets)
  • Calculating and fixing CMACs for basically all files that have it
  • Generating XORpads from ncchinfo.bin files
  • Launching ARM9 payloads (thanks @Wolfvak)
  • Embedding essential backups into NAND files
  • Handling Multi EmuNAND setups (check the home menu)
  • ETA displayed for large / long operations
  • Completely revised and improved permission system (check the readme)
  • Changed drive order, to group SysNAND / EmuNAND stuff
  • Countless minor improvements and bug fixes

GodMode9 v0.9.2
What's new:
  • This is a major rewrite for most of the code GM9 consists of
  • Verify support for CIA, NCSD, NCCH, TMD and FIRMs
  • Decrypt support for CIA, NCSD, NCCH, FIRMs
  • Building CIAs from NCSD, NCCH and TMD (that includes building CIAs from SD installed and system contents)
  • Batch support for all of the above
  • Mount support for CIA, NCSD (.3DS), NCCH, ExeFS, RomFS and FIRMs (from system and SD installed content, too)
  • New X: drive for NAND XORpads
  • Persistent RAM drive on 9:, not coupled to image handling
  • No SD mode - GodMode9 can now run without an SD card inserted
  • Readme finally provides actual useful information
  • Countless smaller improvements and bug fixes

GodMode9 v0.7.3
What's new:
  • New SD data drives (A:/B:), for unencrypted access to data installed to your SD card
  • Selection of cluster size enabled in SD formatter
  • Simplified RedNAND setup after SD format
  • New HOME menu (just press the HOME button) with shutdown / restart / SD format options
  • POWER button is now functional and shuts down the console
  • Improved permissions system
  • Multiple minor improvements and fixes

GodMode9 v0.6.6
What's new:
  • New 6x10 font, and various improvements to the UI
  • Search for file via wildcard patterns (R+A on drives/folders)
  • SD card formatter (unmount via R+B first) (auto copies GM9 A9LH payload)
  • Goto offset feature in hex editor
  • Search for strings and data in hex editor
  • Added handling and verification for .SHA files
  • Removed slot0x05keyY.bin requirement on A9LH v2
  • Injecting files into files (must have exactly one file in clipboard)
  • Faster encryption/decryption of NAND partitions
  • Tweaked button react times
  • Half copied files are now properly removed
  • Countless smaller fixes and improvements
  • More stuff I possibly forgot

GodMode9 v0.5.1
What's new:
  • Simple hex editor is now included (only single byte changes, no inserts / deletes)
  • New hex view, utilizing both screens
  • Totally revised write permission system, now allowing granular permissions
  • Writing to memory is now allowed (when the permission is unlocked)
  • Improved handling when copying / moving to existing files
  • Encrypting / decrypting sector0x96 is supported (needs otp.bin on entrypoints other than a9lh)
  • Auto-scroll when holding arrow buttons, thanks to the ARM9 timer register
  • Multiple minor bugfixes
  • SafeMode9, a safe variant of GodMode9 which makes it impossible to brick

GodMode9 v0.4.0
What's new:
  • No more additional files are required for GM9 to work (=> no more slot0x05keyY.bin / aeskeydb.bin)
  • You can mount a RAMdrive in root via R+X (28MB for O3DS / 128MB for N3DS)
  • You can now calculate & compare file SHA-256s
  • Moving FAT files and folders is now possible
  • Safety check for A9LH when trying to overwrite A9LH regions
  • Extended and fixed the virtual memory feature
  • GW Launcher.dat support is deprecated and the Launcher.dat no more included in the archive.
  • Countless smaller fixes and improvements

GodMode9 v0.3.5
What's new:
  • You can now mount NAND and FAT images and use them as additional drive(s)
  • Hexviewer for files from any locations
  • Virtual Memory drive added (allows you to view and dump certain memory regions)
  • Dual pane handling added, switch with R + (Right / Left)
  • Vastly improved button react times on O3DS (thanks @AuroraWright)
  • More useful info displayed in directory view
  • Fixed filename input dialogue (this would fail on rare occasions)
  • Fixed case sensitive renaming
  • Some minor bugfixes

GodMode9 v0.2.0
Initial release version

Features:
  • Manage files on all your data storages: You wouldn't have expected this, right? Included are all standard file operations such as copy, delete, rename files and create folders. Use the L button to mark multiple files and apply file operations to multiple files at once.
  • Make screenshots: Press R+L anywhere. Screenshots are in BMP format.
  • Use multiple panes: Press R+left|right. This enables you to stay in one location in the first pane and open another in the second pane.
  • Search drives and folders: Just press R+A on the drive / folder you want to search.
  • Format your SD card / setup a RedNAND: Press the HOME button, select SD format menu. This also allows to setup a RedNAND on your SD card. You will get a warning prompt and an unlock sequence before any operation starts.
  • Run it without an SD card / unmount the SD card: If no SD card is found, you will be offered to run without the SD card. You can also unmount and remount your SD card from the file system root at any point.
  • Direct access to SD installed contents: Just take a look inside the A:/B: drives. One the fly crypto is taken care for, you can access this the same as any other content.
  • Build CIAs from NCCH / NCSD (.3DS) / TMD (installed contents): Press A on the file you want converted, the option will be shown. Installed contents are found (among others) in 1:/titles/(SysNAND) and A:/titles/(SD installed). Where applicable, you will also be able to generate legit CIAs. Note: this works also from a file search.
  • Decrypt and verify NCCH / NCSD / CIA / TMD / FIRM images: Options are found inside the A button menu. You will be able to decrypt to the standard output directory or (where applicable) in place.
  • Batch mode for the above two operations: Just select multiple files of the same type via the L button, then press the A button on one of the selected files.
  • Access any file inside NCCH / NCSD / CIA / FIRM images: Just mount the file via the A button menu and browse to the file you want.
  • Generate XORpads for any NAND partition: Take a look inside the X: drive. You can use these XORpads for decryption of encrypted NAND images on PC. Additional tools such as 3dsFAT16Tool are required on PC.
  • Directly mount and access NAND dumps or standard FAT images: Just press the A button on these files to get the option. You can only mount NAND dumps from the same console.
  • Restore / dump NAND partitions or even full NANDs: Just take a look into the S: (or E:/ I:) drive. This is done the same as any other file operation.
  • Compare and verify files: Press the A button on the first file, select Calculate SHA-256. Do the same for the second file. If the two files are identical, you will get a message about them being identical. On the SDCARD drive (0:) you can also write a SHA file, so you can check for any modifications at a later point.
  • Hexview and hexedit any file: Press the A button on a file and select Show in Hexeditor. A button again enables edit mode, hold the A button and press arrow buttons to edit bytes. You will get an additional confirmation prompt to take over changes. Take note that for certain file, write permissions can't be enabled.
  • Inject a file to another file: Put exactly one file (the file to be injected from) into the clipboard (via the Y button). Press A on the file to be injected to. There will be an option to inject the first file into it.

Downloads:

Binaries:
https://github.com/d0k3/GodMode9/releases
Source: https://github.com/d0k3/GodMode9


Screenshots:

View attachment 57520 View attachment 57519 View attachment 57521 View attachment 57522


What do I need to run this?

You need some way of running ARM9 payloads. One possibility is a 3DS console on FW 9.0...9.2 with *hax installed, another is an installed arm9loaderhax, but there are more. The included readme file details all possible ways.


A Word of Warning:

This is powerful stuff, but precautions are taken so you don't accidentially damage the filesystem of your console. The write permissions system protects you by providing warnings and forces you to enter an unlock sequence for enabling write permissions. It is not possible to overwrite or modify any important stuff without such unlock sequences and it is not possible to accidentially unlock something.

After unlocking write permissions on SysNAND, any writing change to your CTRNAND can result in a brick (still recoverable via A9LH). Writing changes to your TWLN partition can lead to a partial brick, leading to your console not being able to run DSiWare / DS cartridges anymore. If you unlock the A9LH write permission, you are able to overwrite and remove the A9LH installation in your system, which allows you to full brick your console (in that case, only recoverable via hardmod).

As always, be smart, keep backups, just to be safe.


A Challenge for you (preferably hardmod owners):

As I wrote, GodMode9 is written to be rock solid. So, I challenge you to make it crash or at least do something unexpected / unwanted (like writing to NAND without write permissions, breaking files, etc...). If you manage to do so, and give us a description of what you did in thread, you get a free mention in the opening post.

@capito27 managed to crash GodMode9 by removing the SD card while it was in use (without dismounting). There is nothing much that I can do about this, but doing this almost counts as vandalism and is basically the same as removing a game cart while in use ;).


Is this CTRXplorer v2.0?

No. While GodMode9 and CTRXplorer do have overlapping functionality, both projects are completely separate. CTRXplorer actually has additional stuff in there (like a text viewer) that may never be in GodMode9. It also has much better compatibility and includes a functional CIA, which is not possible with this. If all you want to do is to manage the files on your SD card, I do in fact recommend you use CTRXplorer instead of GodMode9.


Credits:

As always, this wouldn't have been possible without the help from several people. So, my thanks go to:
  • Archshift, for providing the base project infrastructure
  • Normmatt, for sdmmc.c / sdmmc.h
  • Cha(N), Kane49, and all other FatFS contributors for FatFS
  • b1l1s, for helping me figure out A9LH compatibility
  • @dark_samus3 for discovery and initial testing of the 6x10 font.
  • @al3x_10m, @Supster131, @Wolfvak, @Shadowtrance and all other fearless alpha users and testers.
  • The fine folks on freenode #Cakey
  • Everyone I possibly forgot, if you think you deserve to be mentioned, just contact me!
Can you turn off system update notification to?
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Is there anything that Decrypt9 does that this still doesn't do? I remember that you posted a list on the subredit for version 1.0, and a couple of things on it kept me from switching.
This is the list (for the most recent nightly):
https://pastebin.com/qejKPpJz

If you can live with that, use GM9 over D9. Most likely the last release will be enough for what you need, too.

Can you turn off system update notification to?
Short answer: GM9 can do basically everything. But you need to find a tutorial on how to do it.
 

ThisIsDaAccount

Well-Known Member
Member
Joined
Apr 8, 2016
Messages
1,158
Trophies
0
XP
944
Country
United States
This is the list (for the most recent nightly):
https://pastebin.com/qejKPpJz

If you can live with that, use GM9 over D9. Most likely the last release will be enough for what you need, too.


Short answer: GM9 can do basically everything. But you need to find a tutorial on how to do it.
Thanks, looks like I'll be making the switch soon!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    maaaaan that's so awesome but I also don't want to fork over a hundo for it
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Leo could not withstand communism.
  • SylverReZ @ SylverReZ:
    Its OUR products to begin with lol.
    SylverReZ @ SylverReZ: Its OUR products to begin with lol.