46 Commits

Author SHA1 Message Date
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
d18b0bd7d1 Add dev unit support 2016-11-11 17:44:44 +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
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
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
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
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
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
f23ac51984 Added a check to prevent pre-2.0 stage1s from being installed 2016-06-09 17:32:31 +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
eaefd3638f Reorganized the code, better error messages 2016-03-25 16:51:09 +01:00
Aurora
069d77eb99 Forgot spacing 2016-03-25 05:15:43 +01:00
Aurora
b6aa3e1fd1 Removed stage2-only install, added A9LH update which only needs the stage1 and 2 payloads to update A9LH. Also, secret_sector.bin is never needed on New 3DS anymore 2016-03-25 04:47:56 +01:00
Aurora
9c7e70bb81 Useless casts 2016-03-25 01:59:12 +01:00
Aurora
1df402f35d Misc stuff 2016-03-24 16:27:03 +01:00
Aurora
ffef5ac637 Replaced confirmation prompt with unlock sequence (thanks to @TheBaloneyboy for the original commit 2016-03-24 00:53:58 +01:00
Aurora
78111b5dc7 Cleaned Makefile, added confirmation prompt on stage2 install, SD unmounting/remounting wheh coming back to menu after stage2 install 2016-03-24 00:14:29 +01:00
Aurora
a051420edd Added warning about stage2-only updates, added possibility to go back to menu after a successful stage2 update, now the installer reports which operation was successful 2016-03-20 16:55:49 +01:00
Aurora
4174e65183 Disable updating stage2 from CakeBrah
We do not need that
2016-03-20 04:58:49 +01:00
Aurora
06b81f1458 otp.bin is not needed from A9LH, just use the SHA register leftovers 2016-03-20 04:34:20 +01:00
Aurora
d522481d44 Fix derp in screen init
Removed one line too much
2016-03-19 21:31:04 +01:00
Aurora
e97cf14ee6 First commit 2016-03-19 17:30:56 +01:00