Homebrew [Release] Three Stage 2

liomajor

Well-Known Member
OP
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
Easy Install using safeA9LHinstaller

This includes only stage 1/2 files and installer!

A hardwaremod is highly recommended - use at own RISK!

Before installing this mod, please make a backup of your sysNAND!

You will need your very own private otp.bin and other files.

What will this do?

This will install delebile's a9lh to your nand to allow three stages without bootmanager
to start three different arm9loaderhax.bin from different folders. You can use this to
boot gateway's arm9loaderhax.bin or change the offered source to your own desire.

I take no credits for this as i did only little changes to have buttons and three stage2!

Credits goes to delebile, dark_samus, aurora and alle the other who helped to make this!

You can change the included source to your desire and needs.

Screen_Init is set to 80 by default bcuz FF might hurt your display in long therm.

Details for default stages:
Code:
Stage 2                Button    Sector         Offset                            Path       File to load

payload_stage2.bin   = Default = Sector 5C000 = (5C000 * 200 hex) Offset B800000  \          arm9loaderhax.bin
payload_stage2_2.bin = X + Y   = Sector 5A000 = (5A000 * 200 hex) Offset B400000  \a9lh\gw   arm9loaderhax.bin
payload_stage2_3.bin = X + A   = Sector 5A100 = (5A100 * 200 hex) Offset B420000  \a9lh      arm9loaderhax.bin

1. Extract the safeA9LHinstaller mod to your memorycard
2. Copy your desired payload_stage1.bin / payload_stage2.bin / payload_stage2_2.bin / payload_stage2_3.bin to a9lh folder
3. Copy the following files to A9LH folder: OTP.BIN (your own!) / firm0.bin / firm1.bin / secret_sector.bin

Without listed files you will brick your nand, make sure ALL files are present!!!

4. Either use your desired entry point to load Homebrew Launcher and start safeA9LH installer or update with included arm9loaderhax.bin
5. Press select to install/update a9lh
6. Place your desired arm9loaderhax.bin to the root and a9lh / gw folder.

Already using a9lh? Use arm9loaderhax.bin to update!

Modify src to change buttons:

Edit payload_stage1/source/main.c with your desired texteditor.

Example:

Currently it's set to two buttons on the same time
Code:
  if ((pressed & BUTTON_X) && (pressed & BUTTON_Y))

To change this to only B would be:

Code:
  if (pressed & BUTTON_B)

Available buttons are listed in ' hid.h '.

Modify screen_init brightness:

Edit screen_init/source/screen_init/screen_init.c with your desired texteditor.

Change '#define BRIGHTNESS 0x80' to your own value.

Restoring NAND:

Either, use decrypt9/emunand9 and reinstall your backup nand.bin
or use unedited safea9lhinstaller to update the current installation.

Backing up your sysNAND will include all changes you did!

This is tested with new3DS XL Toshiba Nand and 'should' work for Samsung
too since this is a VERY simple edit of the original from delebile!


Have Fun
 

Attachments

  • safeA9LHinstaller-mod.rar
    105.6 KB · Views: 360
  • default-payload-stage1-and-2.rar
    9.1 KB · Views: 349
  • arm9loaderhax-three-stage-2-src.rar
    546.9 KB · Views: 377
Last edited by liomajor,

NyaakoXD

( ͡° ͜ʖ ͡°)
Member
Joined
Dec 16, 2013
Messages
1,858
Trophies
2
Location
In your closet...
XP
3,671
Country
United States
What will this do?

This will install delebile's a9lh to your nand to allow three stages without bootmanager
to start three different arm9loaderhax.bin from different folders. You can use this to
boot gateway's arm9loaderhax.bin or change the offered source to your own desire.
Wait, so I can use Gateway's arm9loaderhax and can block FIRM writes or no? Kinda confused here... @~@;
 

Tomy Sakazaki

Well-Known Member
Member
Joined
Oct 23, 2006
Messages
880
Trophies
0
Website
Visit site
XP
812
Country
Brazil
Wait, so I can use Gateway's arm9loaderhax and can block FIRM writes or no? Kinda confused here... @~@;
Blocking FIRM writes for now is responsability of the CFW itself.
While you're running GW's launcher you'll be open to A9LH removal and/or bricks because for now it won't write protect the FIRMs.
If you're going to run both GW and CFW I'd recommend turning wifi off while using GW or at least setting a DNS that blocks access to Nintendo's update servers.
EDIT: updates to sysnand for now should be made only while in a trusted CFW environment, like Luma3DS' one.
 
Last edited by Tomy Sakazaki,

wiiuser2

Well-Known Member
Member
Joined
Sep 12, 2009
Messages
186
Trophies
0
XP
211
Country
Netherlands
Hi, thanks for this A9LH setup, happily using it with my GW and Luma. Great work.

I do find myself using either GW or Luma multiple times in a series of boot sequences.
That gave me the idea for a new feature: (ability to) assign a button to all three choices, write to a file what the last choice was when a button was pressed.
At next boot read the last chosen option from the file and start that option as default if no key is pressed. If a key is pressed write that one the the file again.

Makes sense?
 

Emenaria

Well-Known Member
Member
Joined
Nov 6, 2015
Messages
272
Trophies
0
XP
1,425
Country
Japan
Thanks for this! I have a request for you. According to Aurora, the stage1 binaries which can be used with SafeA9LHInstaller 2.x are incompatible with the ones usable with 1.x, and using old stage1s with 2.x will lead to an unrecoverable brick.
Could you please update the payload so that it will be compatible with data_input_v2 and SafeA9LHInstaller v2.x?
https://github.com/Plailect/Guide/wiki/Updating-arm9loaderhax
 
Last edited by Emenaria,

liomajor

Well-Known Member
OP
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
Could you please update the payload so that it will be compatible with data_input_v2 and SafeA9LHInstaller v2.x?

Tested with both new3DS i have.

Default = SDCARD:/arm9loaderhax.bin (BootManager / CFW)
X + Y = SDCARD:/a9lh/gw/arm9loaderhax.bin (Gateway)
X + A = SDCARD:/a9lh/arm9loaderhax.bin (SafeA9LHinstaller)

DO NOT MIX THEESE STAGE FILES WITH FIRST POST FILES!!!!
 

Attachments

  • USE AT OWN RISK.rar
    149.5 KB · Views: 242
Last edited by liomajor,

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,809
Trophies
2
Age
48
Location
Japan
XP
3,715
Country
United States
I"m so confused... I was around with the multiple stage 2 development, and I did my best to help pull GW's payload out of their files, but the thread was SEVERAL pages deep. This thread is only 1 page? and no posts from me? I haven't updated in forever and am sure I don't even use v2 of a9lh. So... is there a multi stage 2 setup that uses v2, and is there a point in upgrading to it from v1?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87...