SafeA9LHInstaller 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox 3DS Homebrews
{{Infobox 3DS Homebrews
|title=SafeA9LHInstaller
|title=SafeA9LHInstaller
|image=SafeA9LHInstaller.jpeg
|image=3ds.png
|description=Install arm9loaderhax.
|description=Install arm9loaderhax.
|author=AuroraWright
|author=AuroraWright
Line 7: Line 7:
|type=System Tools
|type=System Tools
|version=2.6.7
|version=2.6.7
|license=Mixed
|license=GPL-3.0
|download=https://dlhb.gamebrew.org/3dshomebrew/SafeA9LHInstaller-3DS.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/safea9lhinstaller.7z
|website=https://github.com/AuroraWright/SafeA9LHInstaller
|website=https://github.com/AuroraWright/SafeA9LHInstaller
|source=https://github.com/AuroraWright/SafeA9LHInstaller
|source=https://github.com/AuroraWright/SafeA9LHInstaller
}}
}}
<youtube>H_TMe0WYRZs</youtube>
{{Obsolete}}


== Safe A9LH Installer ==
Safe A9LH Installer is a noob-proof ARM9LoaderHax installer/updater/uninstaller. It loads all the needed files from the SD card (no more need to build console-specific installers), and it's really fast. Other than that, it's way safer than the original one, as it does the following checks:
''A noob-proof ARM9LoaderHax installer/updater/uninstaller''  
* Checks that it's able to encrypt FIRM partitions properly.
* If you have a New 3DS and you're doing a first install, it validates your OTP.
* If updating from A9LH, it verifies that the NAND keystore is the correct one (just in case) and that FIRM0 is correct before using it.
* Hashes the secret_sector, FIRM0 and FIRM1 from SD (if needed) to verify their integrity.
* Checks that stage1 and stage2 don't exceed a maximum size.
 
'''Note:''' Do not use this version to install on New 3DS unless you have an hardmod, causes random bricks. For a comprehensive guide to installing A9LH and to 3DS hacking in general, refer to [https://github.com/Plailect/Guide/wiki/Get-Started Plailect's guide].
 
==Installation==
Copy the 3ds folder and the .dat if making a first install, and run the program from a vulnerable firmware; or load the .bin using A9LH itself. Press Select for a full install, or to update A9LH if booting from it.
 
If you already have A9LH and are thus updating, copy a payload_stage2.bin (which was originally named stage0x5C000.bin) and a payload_stage1.bin to the a9lh folder on the root of the SD.
 
If doing a full (first) install, you also need to copy these files to the a9lh folder: firm0.bin (which was new3ds90.firm), firm1.bin (which was new3ds10.firm), secret_sector.bin (only needed on Old 3DS) and your personal otp.bin.
 
==Changelog==
'''v2.6.7'''
* Try something else as a new OTPless brick has been reported.
 
'''v2.6.6'''
* Changed OTPless installation method to check if it helps with the rare bricks.
* (2.6.6) The installer will now backup and restore the existing arm9loaderhax.bin automatically.
 
'''v2.6.4'''
* Added support for development units (SNAKE is still untested). Thanks to everyone involved in dumping the keys.
* Attempt again to fix the rare OTPless bricks by adding delays when using the MCU, and moving the screen init after the OTPless install completes.
* Made it possible to load 10.4 FIRM from SD when uninstalling on a 11.2 NAND.
* (2.6.4) Also moved ARM11 init to the end of the install. If your OTPless install succeeds (you don't brick) after you forcefully shutdown, and you never see the screens coming back up saying it was successful and asking you to shutdown, please report this here on GitHub or GBATemp.


==Usage / Features:==
'''v2.6.2'''
''DO NOT USE THIS VERSION TO INSTALL ON NEW 3DS UNLESS YOU HAVE AN HARDMOD, CAUSES RANDOM BRICKS! UNINSTALLATION IS FINE'' For a comprehensive guide to installing A9LH and to 3DS hacking in general, refer to [https://github.com/Plailect/Guide/wiki/Get-Started Plailect's guide].  
* Try to fix the rare OTPless bricks by using ITCM instead of ARM9 memory.


It loads all the needed files from the SD card (no more need to build console-specific installers), and it's really fast. Other than that, it's way safer than the original one, as it does the following checks:
'''v2.6.1'''
* Allow uninstalling on 11.0/11.1 or greater. On 11.0/11.1 it's possible to load 10.4 FIRM from the a9lh folder on the SD card, named as firm104.bin.


* Checks that it's able to encrypt FIRM partitions properly
'''v2.6'''
* If you have a New 3DS and you're doing a first install, it validates your OTP. Sadly I have no way of validating the OTP on an Old3DS.
* Added possibility to upgrade from any other known A9LH setup (Gelex's/Delebile's/SciresM's). Depending on which, you might need firm0 or firm1 .bins in the a9lh folder.
* If updating from A9LH, it verifies that the NAND keystore is the correct one (just in case) and that FIRM0 is correct before using it.
* The previous A9LH key2 was wrong and skipped the first 16 bytes of stage1. While this hasn't caused issues to date, the key has been replaced with a new one found again by @gemarcano. The key will also be updated on the fly as soon as you update the A9LH payloads.
* Hashes the secret_sector, FIRM0 and FIRM1 from SD (if needed) to verify their integrity.
* Fixed uninstaller to work with all A9LH forks as well.
* Checks that stage1 and stage2 don't exceed a maximum size.
* Minor cleanup.
 
[https://github.com/AuroraWright/SafeA9LHInstaller/releases Release notes.]


==How to use:==
==Credits==
* Copy the '''3ds''' folder and the '''.dat''' if making a first install, and run the program from a vulnerable firmware; or load the .bin using A9LH itself. Press '''SELECT''' for a full install, or to update A9LH if booting from it.
* delebile for his A9LH implementation.
* If you already have A9LH and are thus updating, copy a '''payload_stage2.bin''' (which was originally named '''stage0x5C000.bin''') and a '''payload_stage1.bin''' to the '''a9lh folder''' on the root of the SD.
* Everyone in #cakey.
* If doing a full (first) install, you also need to copy these files to the a9lh folder: '''firm0.bin''' (which was '''new3ds90.firm'''), '''firm1.bin''' (which was '''new3ds10.firm'''), '''secret_sector.bin''' (only needed on Old 3DS) and your personal '''otp.bin'''.
* StandardBus for allowing this to happen by hardmodding my consoles.
* Everyone who contributed to the discovery and research of OTPless A9LH.
* Code for writing to the screens is from CakesFW, several other code is from Luma3DS.
* Original exploit by plutoo.


Thanks go to everyone in #cakey on IRC, to delebile for his A9LH implementation, and to StandardBus who hardmodded my consoles and made this possible. Code for writing to the screens is from CakesFW.
==External links==
* GitHub - https://github.com/AuroraWright/SafeA9LHInstaller
* GBAtemp - https://gbatemp.net/threads/safea9lhinstaller.419577


=='''Credits:'''==
[[Category:3DS homebrew applications]]
* delebile for his A9LH implementation
[[Category:3DS homebrew system tools]]
* Everyone in #cakey
* StandardBus for allowing this to happen by hardmodding my consoles
* Everyone who contributed to the discovery and research of OTPless A9LH Code for writing to the screens is from CakesFW, several other code is from Luma3DS. Original exploit by plutoo. '''Licensing:''' This software is licensed under the terms of the GPLv3. You can find a copy of the license in the LICENSE.txt file.

Revision as of 06:32, 1 February 2022

SafeA9LHInstaller
3ds.png
General
AuthorAuroraWright
TypeSystem Tools
Version2.6.7
LicenseGPL-3.0
Last Updated2016/11/26
Links
Download
Website
Source

Safe A9LH Installer is a noob-proof ARM9LoaderHax installer/updater/uninstaller. It loads all the needed files from the SD card (no more need to build console-specific installers), and it's really fast. Other than that, it's way safer than the original one, as it does the following checks:

  • Checks that it's able to encrypt FIRM partitions properly.
  • If you have a New 3DS and you're doing a first install, it validates your OTP.
  • If updating from A9LH, it verifies that the NAND keystore is the correct one (just in case) and that FIRM0 is correct before using it.
  • Hashes the secret_sector, FIRM0 and FIRM1 from SD (if needed) to verify their integrity.
  • Checks that stage1 and stage2 don't exceed a maximum size.

Note: Do not use this version to install on New 3DS unless you have an hardmod, causes random bricks. For a comprehensive guide to installing A9LH and to 3DS hacking in general, refer to Plailect's guide.

Installation

Copy the 3ds folder and the .dat if making a first install, and run the program from a vulnerable firmware; or load the .bin using A9LH itself. Press Select for a full install, or to update A9LH if booting from it.

If you already have A9LH and are thus updating, copy a payload_stage2.bin (which was originally named stage0x5C000.bin) and a payload_stage1.bin to the a9lh folder on the root of the SD.

If doing a full (first) install, you also need to copy these files to the a9lh folder: firm0.bin (which was new3ds90.firm), firm1.bin (which was new3ds10.firm), secret_sector.bin (only needed on Old 3DS) and your personal otp.bin.

Changelog

v2.6.7

  • Try something else as a new OTPless brick has been reported.

v2.6.6

  • Changed OTPless installation method to check if it helps with the rare bricks.
  • (2.6.6) The installer will now backup and restore the existing arm9loaderhax.bin automatically.

v2.6.4

  • Added support for development units (SNAKE is still untested). Thanks to everyone involved in dumping the keys.
  • Attempt again to fix the rare OTPless bricks by adding delays when using the MCU, and moving the screen init after the OTPless install completes.
  • Made it possible to load 10.4 FIRM from SD when uninstalling on a 11.2 NAND.
  • (2.6.4) Also moved ARM11 init to the end of the install. If your OTPless install succeeds (you don't brick) after you forcefully shutdown, and you never see the screens coming back up saying it was successful and asking you to shutdown, please report this here on GitHub or GBATemp.

v2.6.2

  • Try to fix the rare OTPless bricks by using ITCM instead of ARM9 memory.

v2.6.1

  • Allow uninstalling on 11.0/11.1 or greater. On 11.0/11.1 it's possible to load 10.4 FIRM from the a9lh folder on the SD card, named as firm104.bin.

v2.6

  • Added possibility to upgrade from any other known A9LH setup (Gelex's/Delebile's/SciresM's). Depending on which, you might need firm0 or firm1 .bins in the a9lh folder.
  • The previous A9LH key2 was wrong and skipped the first 16 bytes of stage1. While this hasn't caused issues to date, the key has been replaced with a new one found again by @gemarcano. The key will also be updated on the fly as soon as you update the A9LH payloads.
  • Fixed uninstaller to work with all A9LH forks as well.
  • Minor cleanup.

Release notes.

Credits

  • delebile for his A9LH implementation.
  • Everyone in #cakey.
  • StandardBus for allowing this to happen by hardmodding my consoles.
  • Everyone who contributed to the discovery and research of OTPless A9LH.
  • Code for writing to the screens is from CakesFW, several other code is from Luma3DS.
  • Original exploit by plutoo.

External links

Advertising: