Aurora
c5eb2e1070
Not needed
2016-10-14 02:06:01 +02:00
Aurora
b499c7ee75
Use f_chdir and relative paths
2016-10-12 02:32:36 +02:00
Aurora
615e5dfaa7
Fixed CTRNAND writing leaving encrypted data (thanks to d0k3), added path.txt support for CTRNAND, have the firmlaunch patch panic if both payloads cannot be found
2016-10-11 16:55:37 +02:00
Aurora
a0b4e7fd5d
Fix other derps
2016-10-11 00:41:58 +02:00
Aurora
d4cf22d370
Display the number of failed patches, make loader svcBreak on failed patch, minor cleanup
2016-10-10 16:27:21 +02:00
Aurora
248ea82f76
One more check, fix non-unique pattern
2016-10-10 13:27:19 +02:00
Aurora
e9692a438b
More sanity checks
2016-10-10 03:10:53 +02:00
Aurora
85141d5eda
Fix another derp
2016-10-10 02:39:19 +02:00
Aurora
5b4712644a
Lots of refactoring, main() has its own file yet again, properly handle failed patches/decryption steps, support TWL and AGB FIRM since 3.0
2016-10-10 02:10:47 +02:00
Aurora
37030621ac
Revamp CTRNAND support, add proper support for hiding options in config menu
2016-10-08 01:47:39 +02:00
Aurora
0caf9f4214
Add safety checks, support booting from CTRNAND
2016-10-07 14:27:30 +02:00
Aurora
5fe7c7e7e1
Up the maximum custom path size to 55 characters from 37
2016-09-26 13:03:39 +02:00
Aurora
11d29368ce
Minor stuff (2), update readme
2016-09-23 14:06:03 +02:00
Aurora
a36556d7e4
Got rid of the bin2c dependency
2016-09-23 02:06:04 +02:00
Aurora
5e8990f571
Fix derp
2016-09-22 15:44:25 +02:00
Aurora
7a3d15c48b
Got rid of CakeHax, patched CakeBrah to load arm9loaderhax.bin directly (lifting size restrictions in the process), got rid of the pathchanger (to have a custom path you can now enable the option and write it in a /luma/path.txt file, it must start with a / (this path is also picked up by the patched CakeBrah loader), fixed loading SafeA9LHInstaller and other payloads which need the OTP hash if having a PIN, fixed writing a file smaller than the existing one not removing the extra size, slightly changed the PIN format, added support for the alternate framebuffer and made the splash screen use it (it is now displayed all at once), fixed screen issues from CakeBrah
2016-09-22 14:54:55 +02:00
Aurora
f418dcdb7b
Minor stuff
2016-09-19 18:21:28 +02:00
Aurora
420ccdcb82
Merge master and dev builds
2016-09-19 14:05:56 +02:00
Aurora
8f3cba37b3
Minor stuff
2016-09-14 22:48:46 +02:00
Aurora
a09fc6ebcb
Minor stuff
2016-09-12 18:14:03 +02:00
Aurora
da0adeb39e
Switch to enums for the options
2016-09-11 19:17:56 +02:00
Aurora
7bd0e4f5b4
Revert "Remove some ifdefs"
...
This reverts commit 7271850df2
.
2016-09-11 03:29:39 +02:00
TuxSH
7271850df2
Remove some ifdefs
2016-09-11 01:33:51 +02:00
Aurora
3034420ac2
Merge changes, also change the dev build variable to DEV, which must have a value of TRUE
2016-09-11 00:58:34 +02:00
TuxSH
e6645554f0
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.c
source/patches.h
2016-09-10 21:35:23 +02:00
TuxSH
0f83d1ffaa
Fix broken assumptions and bugs
2016-09-10 21:12:53 +02:00
Aurora
29dcfca608
Copyright stuff
2016-09-08 23:07:03 +02:00
Aurora
f1cb9630ec
Improve readability
2016-09-08 22:33:25 +02:00
Aurora
dc8e4e5f14
Merged the two branches
2016-09-08 18:50:17 +02:00
Aurora
942a371b6a
Fix patchKernel9Panic() pattern (fix crashes on certain O3DS FIRMs)
2016-09-06 15:41:11 +02:00
Aurora
9152884815
Merge master into developer
2016-09-04 13:55:31 +02:00
Aurora
2b4e97bec5
Get rid of the PIN on/off toggle and add an Off status to the multi option, change the config layout to allow for more multi options, add macros for all options
2016-09-04 13:45:03 +02:00
Aurora
bf234950cb
Merge master into developer
2016-09-03 21:55:37 +02:00
Aurora
bd992fca15
Remove the TWL dev launcher patch as it became unnecessary
2016-09-03 19:11:44 +02:00
Aurora
45fee57abd
Merge master into developer
2016-09-03 18:19:02 +02:00
Aurora
a2bca96d47
Cleanup, use sizeof() for pattern memsearches
2016-09-03 18:15:00 +02:00
Aurora
9862256ca7
Do not hardcode the FIRM version check for the module patch, check for the free space to be enough
2016-09-03 18:01:56 +02:00
Aurora
6afc8b3b5c
Merge master into developer
2016-09-03 17:49:54 +02:00
Aurora
9b4b4ec543
Cleanup, use sizeof() for pattern memsearches
2016-09-03 15:36:35 +02:00
Aurora
d412711868
More cleanup, ARM9 exceptions for Luma and payloads are always enabled (FIRM ARM9 and ARM11 exceptions need Dev. options not to be "none")
2016-09-03 02:25:09 +02:00
Aurora
9c1b585054
Merge branch 'master' into developer
2016-09-02 22:57:23 +02:00
Aurora
fc3a69d9ca
Small cleanup
2016-09-02 22:56:57 +02:00
Aurora
cce4a6d07f
Cleanup, re-enabled module patch on N3DS on 8.1, 9.0 and >= 11.0 FIRMs
2016-09-02 22:51:11 +02:00
Aurora
048bf0ee4d
Cleanup
2016-08-31 13:49:10 +02:00
TuxSH
8ceeca372f
Fix build issue
2016-08-31 13:24:29 +02:00
TuxSH
697c64abe4
Fix and restrain module access checks
2016-08-31 13:11:41 +02:00
Aurora
e8b9e49f57
Fix derps (thanks to @Mrrraou), general cleaup, rewrite of the modules copying function
2016-08-30 02:08:07 +02:00
TuxSH
cb9576b10e
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/firm.h
source/patches.c
source/patches.h
2016-08-29 20:12:23 +02:00
Aurora
abf7c8e565
Replace pinKeyToLetter with a C implementation, minor cleanup
2016-08-29 18:11:59 +02:00
Aurora
8209433696
Cleanup and refactoring
2016-08-29 15:42:54 +02:00
Aurora
52999db43a
Readability stuff
2016-08-28 14:41:18 +02:00
Aurora
9c5248b87a
Cleanup previous commit
2016-08-28 02:38:52 +02:00
TuxSH
83a0293af4
Add support (firmprot and firmlaunch patches) for 2.x on sysNAND
2016-08-28 00:32:47 +02:00
TuxSH
84f3eddaf8
Merge branch 'master' into developer
...
Conflicts:
source/config.c
source/config.h
2016-08-27 19:31:42 +02:00
Aurora
94f0d873df
Cleanup
2016-08-27 17:34:37 +02:00
Aurora
31458e9938
Implement a new config file format which allows invalidating the config with new releases, fix config-related bugs, cleanup
2016-08-27 16:00:15 +02:00
TuxSH
259bcc686c
Merge branch 'master' into developer
...
Conflicts:
source/config.c
source/firm.c
2016-08-26 23:28:31 +02:00
Aurora
60c4956290
Fix wrong bootconfig being picked up by 3ds_injector, cleanup
2016-08-26 18:44:39 +02:00
TuxSH
27ea6b96c4
Merge branch 'master' into developer
...
Conflicts:
Makefile
source/firm.c
source/patches.c
2016-08-25 18:49:00 +02:00
TuxSH
384dd2ad81
Implement on-the-fly patching of TwlBg
...
(and port the patches from https://github.com/ahezard/twl_firm_patcher ; big thanks to ahezard and people mentioned in this page; also to Subv for the original patching idea (for NATIVE_FIRM))
2016-08-25 00:13:43 +02:00
TuxSH
4885e0b8d8
On second thought...
2016-08-23 20:51:48 +02:00
TuxSH
2a84911d3b
Setting "Dev. options" to "None" now disables the exception handlers and related patches (again)
...
Port the UNITINFO patch to TWL/AGB (although it doesn't make debugging information display on fatal errors) and SAFE firms.
On dev units this patch will set it to its "retail" value (i.e. 0)
2016-08-23 20:39:42 +02:00
TuxSH
253e031f83
Add support for loading /luma/TwlBg.cxi (on dev branch this will take precedence)
2016-08-21 22:09:27 +02:00
TuxSH
0951260df7
Merge branch 'master' into developer
...
Conflicts:
source/patches.c
2016-08-18 00:39:21 +02:00
TuxSH
b87dadbb72
Update patches.c
2016-08-18 00:36:28 +02:00
TuxSH
1dd6a9821a
Merge branch 'master' into developer
...
Conflicts:
Makefile
source/patches.c
2016-08-18 00:35:20 +02:00
TuxSH
50a2424001
Implement svcGetCFWInfo in place of svc 0x2e (which is stubbed). Luma3DS now boots ca. 1.5s faster
...
Fix bug in pin.c where the START button wasn't recognized as well.
2016-08-17 23:47:30 +02:00
Aurora
aa7c2c0009
Various changes/cleanups, removed useless code, simplified chronometer functions
2016-08-15 03:51:48 +02:00
TuxSH
88891ef6cd
Setting "Dev. Options" to "None" no longer disable exception handling and related patches.
...
Removed the patch that disables execution protection on the global kernel FCRAM and VRAM mapping as it was unused, worthless, and caused bugs in the past.
2016-08-13 15:31:08 +02:00
TuxSH
25811e2b52
Remove handling of kernel panics for SAFE_FIRM k9, fix it for LGY FIRMs.
2016-08-13 11:47:10 +02:00
TuxSH
f81c92e35b
The user-mode context is now dumped (instead of the supervisor-mode context) on a svcBreak call.
...
Kernel panics are now handled by the exception handlers as well.
2016-08-12 15:17:19 +02:00
TuxSH
4e21cf4f1c
Add an option to disable access checks (svc, service and arm9 flag checks) (thanks to @Subv for the most part)
2016-08-04 20:10:31 +02:00
TuxSH
81e2b7c11c
Merge branch 'master' into developer
...
Conflicts:
source/patches.c
2016-08-04 00:18:53 +02:00
TuxSH
18b5cdcddf
Don't make any assumption regarding version when loading an external firmware file.
2016-08-04 00:05:01 +02:00
TuxSH
df30a2a320
Fix bug regarding Arm9 exceptions
2016-08-03 23:15:45 +02:00
TuxSH
cf7fa8ecbd
Merge branch 'master' into developer
...
Conflicts:
source/config.c
source/firm.c
source/fs.c
source/fs.h
source/patches.c
source/patches.h
source/utils.h
2016-08-03 22:52:51 +02:00
Aurora
e7b8a0ef39
Force A9LH detection is not needed anymore
2016-07-18 18:53:23 +02:00
Aurora
c63e46b1a9
Added FIRM version detection, removed firmware.bin loading unless an unsupported O3DS NATIVE_FIRM (pre-5.0) is being loaded, skip patching old unsupported O3DS AGB/TWL FIRMs, only apply 11.0 patches with 11.0 or greater
2016-07-18 16:58:29 +02:00
TuxSH
2412faf033
Merge branch 'master' into developer
2016-07-05 16:11:58 +02:00
TuxSH
72caad86cc
Minor stuff
2016-07-05 16:05:53 +02:00
TuxSH
2d6debddb9
Merge branch 'master' into developer
...
Conflicts:
source/firm.h
source/fs.h
source/patches.h
2016-07-02 17:44:08 +02:00
TuxSH
96211813e3
Use bool instead of u32 where it's relevant
2016-07-02 14:44:01 +02:00
TuxSH
0eb87df84f
Enable support for reading FIRM system modules from SD card (in /luma/sysmodules)
2016-06-27 13:21:08 +02:00
TuxSH
0ced86b55f
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.h
2016-06-13 23:16:33 +02:00
TuxSH
2943dcb2e9
Refactor firm.c as well as other files
2016-06-12 22:14:52 +02:00
TuxSH
e478908dca
Make the exception handlers dump more information
...
You'll need to the latest version of exception_dump_parser.py
2016-06-07 19:25:45 +02:00
TuxSH
35fdd470b3
Fix previous commit on N3DS, with dev. features enabled
2016-06-04 23:51:00 +02:00
TuxSH
edff11be7b
Stub svcBreak with "bkpt 65535" so we can debug it
2016-06-04 21:14:00 +02:00
TuxSH
2d7dde9cf9
ARM11 exception handlers (not working yet, it fails to retrieve the data after the reboot)
...
Uncomment the appropriate line in firm.c to test.
2016-06-02 22:33:44 +02:00
TuxSH
6a280723f8
Fix developer-branch-exclusive patches
2016-05-27 22:06:11 +02:00
Aurora
477414a636
Merge from master, fix derp, cleanup
2016-05-27 14:56:18 +02:00
Aurora
30b3a51309
Cleanup
2016-05-27 04:16:49 +02:00
TuxSH
bafba1197e
Fix and refactor stuff
2016-05-25 22:56:26 +02:00
TuxSH
2fab0be5e8
Merge branch 'master' into developer
...
Conflicts:
Makefile
source/firm.c
source/patches.c
source/patches.h
2016-05-25 22:28:50 +02:00
TuxSH
7ea2a0a278
Remove the anti-DG check on 11.0 firmware (and future ones)
2016-05-25 20:50:45 +02:00
Aurora
9aeac7af92
Move patches to patches.c and emunand.c, section 0 copying to launchFirm for consistency
2016-05-25 14:34:43 +02:00
TuxSH
58a33ee6e9
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
2016-05-13 08:46:24 +02:00
Aurora
8cbc535755
Minor pedantic changes (3)
2016-05-12 15:16:46 +02:00
TuxSH
2c10b6bff2
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.c
source/patches.h
2016-05-12 14:31:48 +02:00
TuxSH
76acfd9934
Minor pedantic changes (2)
2016-05-12 13:35:39 +02:00