Aurora Wright
9f30244bfb
Refactoring, fix bugs, move loader to itcm (without overwriting exception handlers), support for running Luma standalone
2017-06-02 19:34:55 +02:00
TuxSH
68d9674ca3
Refactor error
2017-06-02 19:34:49 +02:00
TuxSH
a9a8edeaf4
Handle arguments in a better way
2017-06-02 19:34:48 +02:00
TuxSH
53209b9be0
Begin turning Luma3DS into a proper firm
...
Unfinished work
2017-06-02 19:34:46 +02:00
Aurora Wright
a71c5f42fc
Not needed
2017-05-20 15:30:18 +02:00
Aurora Wright
de0f1dc156
Use arm11 entry define for screen.c, fix isFirmlaunch not being always defined
2017-05-20 13:52:47 +02:00
Aurora Wright
98f650a5de
Make loader recognize SD/CTRNAND modes and only look in the appropriate one
2017-05-20 05:09:48 +02:00
Aurora Wright
55b2db4a8d
Minor cleanup
2017-05-20 04:43:04 +02:00
Aurora Wright
78a7d6c5af
General cleanup/refactoring
2017-05-20 02:08:25 +02:00
TuxSH
2d7c1e42d8
Fix loader, other fixes
2017-05-20 01:04:32 +02:00
TuxSH
2349370960
Fix reboot patch and argument handling
2017-05-20 00:18:41 +02:00
TuxSH
6ccc0f0538
Add memset
2017-05-19 22:45:00 +02:00
TuxSH
9f12a47cfc
Fix string handling bugs
2017-05-19 22:40:07 +02:00
TuxSH
ab14e77b50
Remove A9LH & Brahma support altogether, use FIRM format instead
2017-05-19 22:06:49 +02:00
TuxSH
1d4245e582
Set 0x18..0x1F only on O3DS
2017-05-18 01:24:35 +02:00
TuxSH
8636a74ba4
Revert "Minor stuff"
...
This reverts commit ba88ec25f6
.
Conflicts:
source/firm.c
2017-05-18 01:07:29 +02:00
Aurora Wright
bd62f033ab
Drop pre-A9LH support
2017-05-17 14:53:29 +02:00
Aurora Wright
ba88ec25f6
Minor stuff
2017-05-17 13:36:18 +02:00
TuxSH
b9bc41a772
Groundwork
...
Change the payload loader location
Always set keys 0x18..0x1F
Set arm11 entrypoint correctly
2017-05-17 13:02:01 +02:00
Aurora Wright
033d90b866
Minor stuff/fixes
2017-05-08 01:13:29 +02:00
TuxSH
e8d4a98c7b
Refactor string handling
2017-05-07 17:58:44 +02:00
Aurora Wright
c5369a5cad
Minor stuff
2017-04-26 18:04:02 +02:00
Aurora Wright
36e54642d2
Remove unused code, fix bug
2017-04-15 15:58:07 +02:00
Aurora Wright
f7cc2d295c
Fix config derp (2)
2017-04-14 14:54:31 +02:00
Aurora Wright
a6f254b5cf
Fix config derp
2017-04-14 14:42:42 +02:00
Aurora Wright
7f33309903
Fixed config bug, minor stuff
2017-04-14 04:48:03 +02:00
Aurora Wright
c95808fa2d
CTRNAND for LayeredFS and small changes
2017-04-13 02:49:19 +02:00
TuxSH
0eab9127e3
Pretend nothing happened...
2017-03-19 21:29:58 +01:00
TuxSH
706cd50f25
Always hide PIN, rework dev. options, fix bug
2017-03-05 01:56:24 +01:00
TuxSH
7960c87579
Implement aes_setkey for TWL keyslots + TWL console info/crypto init
2017-02-09 20:35:39 +01:00
TuxSH
014a0d86f1
"Fix" the kernel9loader function and always set >= 9.6 keys, separately
2017-02-08 12:34:07 +01:00
John Kearney
92cc989dc9
Add pin hiding option
2017-01-19 17:24:06 -05:00
Aurora
bfc8ba8447
Minor cleanup
2016-11-29 20:11:30 +01:00
Aurora
9332b9eb33
Refactor the codebase to limit nested if/elses
2016-11-15 19:29:48 +01:00
Aurora
37e467ba60
Cleanup, add possibility to clear the inserted PIN by pressing SELECT
2016-11-14 15:42:26 +01:00
Aurora
c83edea7ad
Improved the waitInput function basing on code from @d0k3, added support for the power button, added possibiity to quit the payload loader menu with START
2016-11-13 22:15:03 +01:00
Aurora
2e1b943805
Implement chainloader selector menu (can be called with START, the START payload can now be booted with L+START
2016-11-13 18:10:59 +01:00
Aurora
3474faa4a2
Added support for dev units sysupdater FIRM (untested but should work)
2016-11-12 01:50:43 +01:00
Aurora
9b724d776e
Add title version support to loader, only apply userland patches to suitable title versions, report used console and safe mode boots to loader separately from the config, remove eShop update check patch as older eShop version would fail anyway and it causes issues with background updates
2016-11-03 18:56:32 +01:00
Aurora
e00ef893d0
Introduce a decimal itoa, fixed findDumpFile not working properly with more than 100 dumps
2016-10-22 16:25:27 +02:00
Aurora
b58cbd228c
We don't really need two sets of blank spaces
2016-10-15 00:32:00 +02:00
Aurora
d613cb057e
Minor stuff
2016-10-13 18:45:38 +02:00
Aurora
121792bebe
Fix A9LH patches not being applied after firmlaunch
2016-10-13 15:19:37 +02:00
Aurora
e07c230106
Simplify the main logic, remove assumption that if not using A9LH, SysNAND can't have a newer FIRM than EmuNAND, fix derp
2016-10-13 15:08:30 +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
66c041ad93
Minor stuff
2016-10-10 18:56:19 +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
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
7dbded99a2
First commit of the AuReiNand rewrite!
...
- Gotten rid of the patched FIRMs, AuReiNand now finds and loads all the FIRMs from CTRNAND by default. If you are booting an emuNAND, the FIRMs will be loaded from its CTRNAND. This also applies to AGB and TWL FIRM, and allows for a very fast boot with no firmware files on the SD card.
- If for some reason (like using NTR) you do not want to use the CTRNAND FIRM, you can place a firmware.bin in the aurei folder and it will be loaded just for the default NAND.
- The way AuReiNand works has changed. Now you can specify to autoboot SysNAND or not, and a NAND is no more tied to a FIRM (since 9.0 FIRM is autodetected). If you press nothing the default NAND is booted with its own FIRM, L boots the non-default NAND with its own FIRM, R boots EmuNAND with the SysNAND FIRM if you picked "Updated SysNAND", and vice-versa.
- In order for AuReiNand to handle FIRM reboots, the .bin path needs to be hardcoded in the program. The default is /arm9loaderhax.bin (the AuReiNand.dat is also supported for 9.0 people). A PC tool was written to make changing the path easier.
- Bug fixes and stuff I forgot.
- Gelex is a saint.
2016-04-11 05:58:46 +02:00