131 Commits

Author SHA1 Message Date
d0k3
2917a9674c Vastly imporved reliability of GBA VC save injections 2017-10-11 17:00:52 +02:00
d0k3
c24a654cb9 Added CMAC and GBA VC inject support for SD AGBSAVEs 2017-10-10 16:00:19 +02:00
d0k3
a18875ea35 Fixed several cases of stray tabs 2017-10-03 14:40:22 +02:00
d0k3
dcafbaa191 Improved ntrboot checks
... this also restores default behaviour when booting from ntrboot and
simplifies the bootloader behaviour.
2017-09-23 13:11:38 +02:00
d0k3
c9f9745495 Added GBA VC save dumper / injector
... this also removes the gbavc.sav file from the virtual NAND drives
and does some general cleanup. Fixes #205.
2017-09-21 01:53:23 +02:00
d0k3
e1b135ddc5 Improved AGBSAVE / CMAC handling code 2017-09-13 16:36:31 +02:00
d0k3
28e542245b Allow recursive CMAC fxing for applicable drives 2017-09-13 16:36:08 +02:00
d0k3
e4d4b05cc9 Workaround for empty EmuNAND partitions 2017-09-10 14:15:38 +02:00
d0k3
8d1f39d235 Source code reorgnaizations 2017-09-04 16:18:07 +02:00
d0k3
e245c576cc Virtual memory: otp_dec.bin support without boot9.bin 2017-08-25 14:44:54 +02:00
d0k3
551a48149f Scripting: add fixcmac command
fixes #175
check HelloScript.gm9 for how it's done
2017-08-21 19:56:30 +02:00
Aurora Wright
387f5d6db1 Fix overwriting part of the FIRM with garbage on install 2017-08-20 15:33:05 +02:00
d0k3
8b8a8695d9 Better checks for installable FIRMs 2017-08-20 15:31:30 +02:00
d0k3
564f403f4c Rely on b9s key setup if the 0xBEEF magic is found 2017-08-18 18:52:42 +02:00
d0k3
2cc94be6b4 Added ability to install FIRM files 2017-08-18 17:08:03 +02:00
d0k3
5ec488937e Allow forced initialization of aeskeydb.bin files 2017-08-15 02:16:53 +02:00
d0k3
3f87c42334 Properly handle HWCAL0.dat / HWCAL1.dat
These files are system unique. This commit fixes the write permission
system and includes both files in the essential backup.
2017-08-04 16:56:06 +02:00
d0k3
63b7604529 Fully initialize the crypto system
This allows chainloading Luma outside of boot9strap
Requires a good aeskeydb.bin, like MD5 A5B28945A7C051D7A0CD18AF0E580D1B
2017-08-04 03:51:02 +02:00
Wolfvak
15882e7111 Allow running GodMode9 in any environment 2017-08-04 03:48:46 +02:00
d0k3
20c9b640d6 Miscelaneous small fixes 2017-07-27 14:26:59 +02:00
d0k3
f38697b156 Fix: TWL key init on certain A9LH chainloaders 2017-07-27 13:35:18 +02:00
d0k3
9589731fa6 Show nagscreen if no embedded backup is found. 2017-06-23 17:28:09 +02:00
d0k3
c240f3463d Fix data aborts on TWL MBR writes 2017-06-21 12:55:36 +02:00
d0k3
d785159827 Remove support for the secret_sector.bin support file 2017-06-07 12:42:24 +02:00
TuxSH
a27bd1f82d Fix TWL key 0x03 init for devkits 2017-06-05 13:48:12 +02:00
d0k3
d704452c28 Updated BrahmaLoader submodule 2017-06-02 17:27:57 +02:00
d0k3
7bbaf17b42 Replace (u8*) with (void*) where applicable
... also changes sector0x96 workaround to OTP encrypt method
2017-06-01 16:12:16 +02:00
d0k3
7505c0b212 Allow setting up GW type EmuNANDs after SD format
addresses #69
2017-05-31 23:26:45 +02:00
d0k3
5694df0dad Sighax compatibility improvements
... this also removes the last remaining NAND offset hardcoding
2017-05-31 23:25:34 +02:00
d0k3
348741f963 Fix remaining NAND offset hardcoding 2017-05-31 16:16:31 +02:00
d0k3
f920fc47fc Use OTP in essential backup instead of OTP hash 2017-05-31 16:16:30 +02:00
d0k3
4984df1c08 Remove offset hardcoding from AGBSAVE handling 2017-05-31 16:16:29 +02:00
d0k3
48281307a0 Use actual offsets from NCSD in virtual drives 2017-05-31 16:16:29 +02:00
d0k3
5a5b60c31e Fix: mentions of A9LH in user prompts
Fixes #65
2017-05-31 16:16:27 +02:00
d0k3
4a241c7fd9 Fix OTP crypto for devkits 2017-05-19 16:59:57 +02:00
d0k3
ac4246c75f Sighax compatibility changes
* Load OTP hash directly from OTP if available
* Enable access to otp, boot9 and boot11
* Add OTP decryption (via key/iv in boot9)
2017-05-19 16:59:57 +02:00
d0k3
761a3a7a91 Disable size checks for essential backup 2017-04-24 12:29:00 +02:00
d0k3
51a254a9b9 Updated sdmmc.c
.. thanks @Gelex, @TuxSH, @AuroraWright, @Normmatt!
2017-04-24 01:59:25 +02:00
d0k3
f5d20aa3b5 Also handle multi NANDs in GW EmuNAND format
Fixes #48
2017-04-19 14:26:09 +02:00
d0k3
5e426f2694 Include NAND CID & OTP hash in essential backup 2017-04-19 14:14:02 +02:00
d0k3
679d90dea7 Updated file type detection routines
... now also detects aeskeydb.bin & legacy slop0x??Key?.bin files
2017-04-18 01:09:31 +02:00
d0k3
89b6946789 Added ability to build seeddb.bin
... plus new entry in HOME more... menu
2017-04-12 00:27:02 +02:00
d0k3
f856211773 Better detection routines for H&S injects 2017-04-07 15:32:15 +02:00
d0k3
a0e65c01bc Improved CTRNAND transfer method 2017-03-23 19:40:27 +01:00
d0k3
d8aca859bc Fix NAND header validation 2017-03-10 12:21:58 +01:00
d0k3
e502ad1d99 Provide the tools for CTR transfers (A9LH only) 2017-03-02 22:44:30 +01:00
d0k3
aa8ede3543 Handle NAND header when safe restoring (only if required!) 2017-02-28 18:00:14 +01:00
d0k3
81e7b1fbb6 Improved unit type detection code 2017-02-26 13:35:37 +01:00
d0k3
0d5638c3a6 Some minor cosmetics 2017-02-22 18:44:39 +01:00
d0k3
12e9ca82d1 Include essential.exefs file in virtual NAND (if available) 2017-02-22 17:41:18 +01:00