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
TuxSH
06cc4f7172
Minor pedantic changes
2016-05-12 12:24:14 +02:00
Aurora
158659e5b0
More cleanup
2016-05-12 03:13:17 +02:00
Aurora
808c4b7361
Cleanup, possibly slight speedup by limiting Process9 memsearches to the P9 code
2016-05-11 19:28:45 +02:00
TuxSH
b4029dcd73
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.h
2016-05-11 01:32:06 +02:00
TuxSH
edb5a82a89
Restore svcBackdoor (on ARM11, for 11.0 and higher)
2016-05-10 23:06:32 +02:00
TuxSH
ac01fe417e
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.c
source/patches.h
source/utils.h
2016-05-09 20:45:06 +02:00
Aurora
b90b138766
Cleanup, fix latest ctrulib, removed reboot after config (needs testing!), fixed L+SELECT payload
2016-05-09 03:41:29 +02:00
TuxSH
8dd9c1a1af
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
2016-05-08 00:07:25 +02:00
TuxSH
9e87679ee2
Use a much better algorithm for getLoader (Luma3DS boots around 0.25s faster now)
2016-05-07 19:16:53 +02:00
Aurora
169b12fc20
Merge changes from master, added support for netloader companion (payload must be "nlc.bin" and will be deleted after being read, moved exception vectors
2016-05-03 16:57:00 +02:00
Aurora
fef48a449a
Code refactoring, added support for SAFE_MODE FIRM on A9LH (you can update safely from it now). Thanks to delebile for the O3DS SAFE_MODE FIRM FIRM0/1 protection!
2016-05-03 01:21:43 +02:00
Aurora
efd08ff731
Revert "Move the UNITINFO patch to the developer version"
...
This reverts commit f9a1f1a79b
.
2016-04-26 22:00:29 +02:00
Aurora
f9a1f1a79b
Move the UNITINFO patch to the developer version
2016-04-26 21:51:57 +02:00
Aurora
a736e4602a
Cleanup
2016-04-26 20:10:20 +02:00
Aurora
3fd4603553
Welcome Luma3DS
2016-04-23 01:43:36 +02:00
Aurora
6d4a84a325
Remove unneeded stuff from the loader injection
2016-04-13 14:37:40 +02:00
Aurora
ef3ba896d5
Cleanup, removed the non-working clock speed patch
2016-04-12 14:32:38 +02:00
Aurora
0e9ff44746
Made N3DS >9.6 key generation version independent
2016-04-11 22:26:39 +02:00
Steven Smith
b3f0d13aa4
Add developer UNITINFO patch.
2016-04-11 12:14:51 -07:00