65 Commits

Author SHA1 Message Date
Aurora
b1d596177a Change OTPless installation approach 2016-11-22 22:45:14 +01:00
Aurora
d95851286c Also move the arm11 init to the end of the install 2016-11-14 18:33:15 +01:00
Aurora
445d22db97 Extend 10.4 FIRM loading to 11.2 NANDs 2016-11-14 17:42:56 +01:00
Aurora
9898020267 Add delays when using the MCU, move screen init routines after OTPless install completes 2016-11-14 17:27:10 +01:00
Aurora
3d477d3565 Minor stuff (2) 2016-11-12 02:37:46 +01:00
Aurora
1cad3e44d5 Fix derp 2016-11-12 00:58:07 +01:00
Aurora
27d7d5c036 Minor stuff 2016-11-11 18:33:50 +01:00
Aurora
d18b0bd7d1 Add dev unit support 2016-11-11 17:44:44 +01:00
Aurora
0c11564ac6 Duplicated stuff 2016-10-30 22:48:48 +01:00
Aurora
4a3a351301 Move loader to itcm, use unprot boot9 code for caches, use 4 bytes inside the payload for the magic 2016-10-30 22:40:47 +01:00
Aurora
5ded6aa619 Minor stuff 2016-10-23 19:08:53 +02:00
Aurora
c43960f7d4 Fix derp 2016-10-17 16:44:25 +02:00
Aurora
e1b1b259ac Not needed 2016-10-17 16:32:25 +02:00
Aurora
1cc678adc3 Allow uninstalling on 11.0/11.1 or greater. On 11.0/11.1 it's possible to load 10.4 FIRM from SD card named as 'firm104.bin' in the a9lh folder 2016-10-17 16:25:56 +02:00
Aurora
68fce834fb Minor stuff 2016-10-16 22:08:17 +02:00
Aurora
051ebad2f8 Update the uninstalling feature 2016-10-16 20:48:25 +02:00
Aurora
4ab5ad9a89 Replace the used key2 as the previous one was faulty (thanks @gemarcano), allow updating from every A9LH setup 2016-10-16 20:40:56 +02:00
Aurora
5f96d42a9c Don't initialize the SD card after a reboot on an OTPless install 2016-10-06 17:41:05 +02:00
Aurora
ae7fc28c74 Minor stuff 2016-10-02 17:52:58 +02:00
Aurora
06abe5a004 Add support for payload_stage1.bin.sha and payload_stage2.bin.sha to verify stages integrity (if either file is missing, a button sequence must be entered) 2016-10-02 17:19:11 +02:00
Aurora
ef351c70de Minor stuff (3) 2016-09-30 01:02:34 +02:00
Aurora
a46bf2a4ba Minor stuff (2) 2016-09-29 16:21:25 +02:00
Aurora
3ef2ab2cc7 Minor stuff 2016-09-29 14:05:02 +02:00
Aurora
03edd13633 Remove unneeded stuff 2016-09-29 13:33:32 +02:00
Aurora
aaed6387b5 Since FCRAM is persistent, make sure to zero the magic 2016-09-28 22:31:44 +02:00
Aurora
90ea4b2130 Better order for things 2016-09-28 22:20:45 +02:00
Aurora
cd7f7c02cc Moar checks 2016-09-28 21:56:22 +02:00
Aurora
f90362b1a4 Fix some unrelated files being detected as FIRMs due to uncleared FatFs strings 2016-09-28 15:36:12 +02:00
Aurora
e8a9cfd96a Switch to arrays for otp and keysector 2016-09-28 14:56:11 +02:00
Aurora
cb6e08ac4d Remove unused key 2016-09-28 13:08:12 +02:00
Aurora
c49a7e1d8e Fix derp 2016-09-28 02:22:40 +02:00
Aurora
e8a3e453fc Minor stuff 2016-09-28 02:15:31 +02:00
Aurora
a2e44e797d Added OTPless installs for New 3DS (you need 10.0 NATIVE_FIRM as firm0_100.bin in /a9lh, temporarily removed support for 2xrsa 2016-09-28 02:04:45 +02:00
Aurora
4ba801938b Code cleanup, tentatively fix clearScreens for 2.1 2016-09-26 23:15:26 +02:00
SciresM
684b10b168 Prefer OTP from memory to OTP from file
Prevents using wrong OTP.bin by mistake/leftovers/sd card re-use.
2016-08-24 13:16:08 -07:00
Aurora
6f56b848a6 Really fix larger payloads 2016-06-23 13:16:57 +02:00
Aurora
bedb00249e Expand the maximum stage2 space (563712 bytes is the maximum using ARM9 memory). A matching stage1 is obviously needed for larger stage2s 2016-06-19 18:52:00 +02:00
Aurora
f23ac51984 Added a check to prevent pre-2.0 stage1s from being installed 2016-06-09 17:32:31 +02:00
Aurora
a7c43cd93f Disable caches/mpu before changing MPU settings 2016-06-09 16:54:44 +02:00
Aurora
bc97bc8af1 Fix issue in the start.s 2016-06-09 15:37:45 +02:00
Aurora
7e37e653b6 Cleanly exit from firmRead 2016-06-08 16:05:01 +02:00
Aurora
aa209a3ef7 Cleanup, comment things better 2016-06-08 14:41:52 +02:00
Aurora
09435c282b Added checks for successful mounting of SD/CTRNAND 2016-06-08 14:33:27 +02:00
Aurora
51c1e5567a Added unlock sequence to uninstall, adjusted error messages 2016-06-08 14:14:26 +02:00
Aurora
08b48dddb8 Move sdmmc init as NAND can be used before any FS is inited 2016-06-07 17:47:34 +02:00
Aurora
3bf029ad9c Fix derps 2016-06-07 16:25:14 +02:00
Aurora
fbef831d25 Changed stage1 position to the proper one (0x808FB90 in ARM9 memory), changed NAND FIRM0 hash check to only check up to the start of section2 (as it is all it is needed) 2016-06-07 14:35:52 +02:00
Aurora
4ec05a33bc Code restructuring, added A9LH updater with the new "perfect" key2 from @gemarcano and 8.1 instead of 9.0 FIRM for FIRM0, which together net 1312 bytes for stage1, added uninstalling feature (only works if SysNAND is not 11.0 or later to prevent resulting in an unhackable console, NOT YET TESTED ON N3DS), merged PR from @d0k3 (https://github.com/AuroraWright/SafeA9LHInstaller/pull/10) which adds support for installing A9LH and dumping OTP directly from 2.1 2016-06-07 13:53:24 +02:00
Aurora
9833b29c78 Added automatic version number printing, success messages are now green 2016-03-27 19:59:48 +02:00
Aurora
0ede524c31 Spaces and stuff
Makes things more uniform
2016-03-25 18:17:59 +01:00