Skip to content

Instantly share code, notes, and snippets.

View rvtr's full-sized avatar
🤫
I zerofilled your DSi NAND

Lillian Skinner rvtr

🤫
I zerofilled your DSi NAND
View GitHub Profile
@rvtr
rvtr / TWL_MCU_33-MP_95811supp.hex
Last active December 20, 2024 04:06
DSi/TWL MCU release ver (I think). From twl_mcu in the gigaleaks and some copies of TWL EVA.
:10000000F600FFFFFFFFFFFFFFFFFFFFFFFFFFFF08
:10002000FFFFFFFF350DFFFFFFFF6A0EFFFFFFFF22
:10003000FFFFFFFF8813FFFFFFFFFFFFFFFFFFFF33
:100080007E00000000CC23BAC37D94FE73A5E6FF7A
:1000900000080000000A00A00003000000000000AB
:1000A000000000000002070E150000000028333990
:1000B00040464C52565A5F646A6F74797E83898FCA
:1000C00094999DA1A5A8ABAEB1B4B7BA6352431F32
:1000D000006352442E1B4D34210B0052372A1E1B45
:1000E0004E3E3020004E3E302010000000FFFFFF4B
@rvtr
rvtr / UTL_MCU_BA.hex
Last active December 20, 2024 04:03
DSi MCU firmware from TWL MCU FIRM WRITER. It is different from the one found in the gigaleak and some TWL EVAs, and may be intended for DSi XLs (UTL).
:00000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF // Does not look like part of the FW
:10000000F400FFFFFFFFFFFFFFFFFFFFFFFFFFFF0A
:10002000FFFFFFFFA10EFFFFFFFFD60FFFFFFFFF48
:10003000FFFFFFFFD214FFFFFFFFFFFFFFFFFFFFE8
:100080007E00000000E59DB29927AC37E372A9FF1E
:1000900000080000000A00A00003000000000000AB
:1000A000680000000002050A1000002833394046AD
:1000B0004C52565A5F646A6F74797E83898F949923
:1000C0009DA1A5A8ABAEB1B4B7BA6352431F0063FC
:1000D00052442E1B4D34210B0052372A1E1B4E3E1C
1749648cb3e50359144a53a16e5daf25e74fa4a1,2.0 FC;Arm-Deb-Fer
1749648cb3e50359144a53a16e5daf25e74fa4a1,2.0 FC;Arm-Rel-Fer
b45d626b73887fbda5cffa50835ebf72271887aa,2.0 FC;Arm-Rom-Fer
c6c0d12ef3c7ff13ab116673d894d6b442bd50ec,2.0 FC;Thu-Deb-Fer
c6c0d12ef3c7ff13ab116673d894d6b442bd50ec,2.0 FC;Thu-Rel-Fer
16a7279055164dc25b0c707e07ca227090c017f8,2.0 FC;Thu-Rom-Fer
740427689f4e1ed2296bee5eb31ef64131ad7667,2.0 FC;Arm-Deb-Mon
8cdf8eb15153b0b30c0058bda09ac6bde66e3253,2.0 FC;Arm-Rel-Mon
5da4ef5646d0b3d70038ec69a8dfbf63529dc947,2.0 FC;Arm-Rom-Mon
3099e5358973e905cf13976617aa971ebf6dc40b,2.0 FC;Thu-Deb-Mon
@rvtr
rvtr / remaketad.pl
Last active May 15, 2024 23:32
DSi and Wii (T/W)AD decryption tool from TwlIPL but better!
#!/bin/perl
#
# You'll need to do "cpan Crypt::Rijndael" and "cpan Switch" in order to run this.
#
# I've commented out all the lines for using maketad to create a new TAD.
# Just doing a bunch of testing stuff.
use strict;
use Crypt::Rijndael;
use Digest::SHA1 qw(sha1);
@rvtr
rvtr / decrypt_tad.py
Last active December 14, 2023 04:01 — forked from NWPlayer123/decrypt_tad.py
Tool for decrypting DSi TADs (not the ones listed on dsibrew, that's wrong, the installable ones that are closer to WADs), py2/3
from io import BytesIO
from struct import unpack
from binascii import hexlify, unhexlify
from Crypto.Cipher import AES #pip install pycryptodome
import sys
dsi_common_key = unhexlify(b"%032X" % 0xAF1BF516A807D21AEA45984F04742861) # DSi common key
debugger_common_key = unhexlify(b"%032X" % 0xA2FDDDF2E423574AE7ED8657B5AB19D3) # DSi debugger common key (used for `maketad.updater` TADs)
wii_debug_key = unhexlify(b"%032X" % 0xA1604A6A7123B529AE8BEC32C816FCAA) # Wii debug key
@rvtr
rvtr / extract-updater-rofs.sh
Last active August 21, 2023 08:28
Extract firmware from gigaleak 3DS SystemUpdaters
# extract-updater-rofs
# Extracts firmware CIAs from ROFS containers for some gigaleak SystemUpdaters. Will accept "Contents.cnt" and decrypted "romfs.bin"
# Usage: ./extract-updater-romfs <input file> (output directory)
###################################################################################
# Set input and output paths
###################################################################################
OUTPUT_DIR="extract-updater-romfs_output"
rm -r "extract-updater-romfs_output"
mkdir "extract-updater-romfs_output"