Tutorial  Updated

Using Luma3DS + Gateway on B9S


SYSNAND-ONLY USERS: DO NOT BOOT GW MODE ON 11.3+ - YOU WILL LOSE B9S AND BE LEFT ON A STOCK FIRMWARE
I highly advise against the use of GW on SysNAND-Only Setups.
GW currently DOES NOT support firmwares 11.3//11.4 - B9S does not change that!
If you're on 11.3+ - Don't even try to use GW. Use Luma3DS or any other CFW that has confirmed support for 11.3+ firmwares.



Setting up GW with Luma3DS' chainloader

Requirements: SysNAND or EmuNAND on 11.2 or lower!
Tested and working on B9S 1.2 (Luma3DS 8.0)
  1. Download the v2gw.zip attached to this post.
  2. Extract the "arm9loaderhax.bin" from v2gw.zip to your /luma/payloads/ folder.
  3. Rename that very "arm9loaderhax.bin" you just extracted to "v2gw.bin" or to whatever you want. However, step 12 will assume v2gw.bin was used, you can edit that reference to meet whatever you decided to name it.
  4. Download GW's ‘arm9loaderhax.bin.zip‘ file.
    • On their main home page. Under the post titled: "GATEWAY 4.0B PRIVATE BETA #2"
    • Or on their openly public Private Beta Program page, on this page it'll be under the "» arm9loaderhax for users with existing a9lh installs" section.
  5. Extract GW's "arm9loaderhax.bin" file from their zip file to your /luma/payloads/ folder.
  6. Rename that very "arm9loaderhax.bin" you just extracted to "gateway.bin"
  7. Make sure you have the latest GW's Launcher.dat on the root of your SD Card.
  8. This dev-build of BootCTR9: https://gbatemp.net/threads/release-the-bootctr9-release-thread.435347/page-3#post-7370533
  9. Extract the "boot.firm" file from the BootCTR9-firmv2.zip to your /luma/payloads/ folder.
  10. Rename that very "boot.firm" you just extracted to "down_BootCTR9.firm" or to whatever you want that is allowed by Luma3DS' payload chainloader.
    - Other button options: https://github.com/AuroraWright/Luma3DS/wiki/Other-features-and-notes#payload-chainloading
  11. Extract the "boot_config.ini" file from from the BootCTR9-firmv2.zip to the root of your SD Card.
  12. Open the "boot_config.ini" file and overwrite everything with the following:
    Code:
    [BOOTCTR9]
    key_delay = 1000
    
    [DEFAULT]
    path = /luma/payloads/v2gw.bin
  13. You are now done. If you followed this tutorial, holding DPAD-DOWN at boot time, will load up Gateway Mode.
    - SysNAND-Only Users on 11.2 will be prompted to press 'L+R+SELECT' to boot SYSNAND. DO NOT PRESS THE BUTTON PROMPT ON 11.3+
    - GW EmuNAND users will automatically boot into their GW EmuNAND.


FAQ

Q: How do I boot into the GW Menu?
A: Hold L+Select, as soon as you see the Dragon Logo.

Q: Can I use my GW Blue Card?
A: Yes, but only while using Luma3DS. It will not work in GW Mode.

Q: Can I play online while in GW Mode?
A: Yes, sort-of. But you have to either:

Q: I'm getting a black screen!? HELP!?
A: Multiple reasons for that below:
  • Modified SecureInfo_A - GW does not patch this. You'll need an untouched donor file of this.
  • Using a RedNAND - GW only supports GW EmuNAND, it cannot boot RedNAND. Use the GW Menu or GodMode9 to make one.
  • On SysNAND-Only Setups - Not having properly removed EmuNAND//RedNAND. Use GodMode to properly format your SD Card. But I advise you set one up.
  • Trying to boot an 11.3//11.4 EmuNAND - GW does not support anything higher than 11.2
  • If it's not listed, then who knows. Do you have a modified Home Menu or font? Those might not work at all in GW Mode.


Credits

Many thanks to the above lovely people~ <3 ♥
Original posts:
Link: https://gbatemp.net/threads/using-gateway-on-a9lh-v2.431222/page-4#post-6464898
Link: http://gbatemp.net/threads/tutorial-using-luma3ds-with-gateway-on-v2-a9lh.431691/page-4#post-6472283
Link: https://gbatemp.net/threads/tutorial-booting-gw-with-b9s-and-some-help.471417/







I highly advise against the use of GW for SysNAND-Only setups.

11.3&11.4 Break GW. GW currently DOES NOT support 11.3 or 11.4. You will either brick or lose A9LH. More than likely it seems you will just lose A9LH.


Again, if you attempt to boot GW Mode, on a SYSNAND-Only Setup while on 11.3 or 11.4, you will lose A9LH. It does not matter if you safely updated to this firmware via another CFW that safely protects FIRM.

If you want to use 11.3+, you will not be able to use GW. Don't even try. Only use Luma3DS or other CFW that support 11.3+

If you are a Gateway3DS user, and have recently finished Plailect's A9LH Guide, then you should be on v2 A9LH. Unfortunately, at the time this thread was made, GW's a9lh.bin file is incompatible with Luma3DS' payload chainloading feature while on v2 A9LH.

So one way around this was to either forego using Luma3DS' payload chainloading, and use a boot manager that does work in initializing GW's a9lh.bin correctly. Like BootCTR9. Either you let BootCTR9 handle all payloads, or you set it up to chainload into Luma3DS and from there let Luma3DS do all the work.

Either way, some people might not like BootCTR9 (Big fan of BootCTR9, seriously thing is amazing~!)

So if you don't want to use the BootCTR9 method, then @Hayleia made a very stripped down boot manager that only loads /luma/payloads/gateway.bin. You still need GW's a9lh.bin in addition to this stripped down bootmanager, but that's all you need, these two files! No need for messy configs if you just want to stick with Luma3DS' payload chainloader.


Now on to the damn tutorials already~!



Gateway Logo


1. Download the v2gw.zip attached to this post.
2. Extract the "arm9loaderhax.bin" from v2gw.zip to your /luma/payloads/ folder.
3. Rename that very "arm9loaderhax.bin" you just extracted to "down_v2gw.bin" or to whatever you want that is allowed by Luma3DS' payload chainloader.
Other button options: https://github.com/AuroraWright/Luma3DS/wiki/Other-features-and-notes#payload-chainloading
4. Download GW's ‘arm9loaderhax.bin.zip‘ file.
You have to get this directly from Gateway's site. Which is either:
A) On their main home page.
B) Or on their openly public Private Beta Program page, on this page it'll be under the "» arm9loaderhax for users with existing a9lh installs" section.
5. Extract GW's "arm9loaderhax.bin" file from their zip file to your /luma/payloads/ folder.
6. Rename that very "arm9loaderhax.bin" you just extracted to "gateway.bin"
7. Make sure you have the latest GW's Launcher.dat on the root of your SD Card.
8. You are now done. If you followed this tutorial, holding DPAD-DOWN at boot time, will load up Gateway Mode.
However, if you are a SysNAND Only User, and on 11.1 and using the 4.2 Launcher.dat, you will be prompted to press 'L+R+SELECT' to boot SYSNAND.
GW EmuNAND users will automatically boot into their GW EmuNAND.

Notes: To Boot into the GW Menu: Hold L+Select, as soon as you see the Dragon Logo.
To Force a Manual Gateway3DS RedCard Update: Hold R+Select as soon as you see the Dragon Logo.




No Gateway Logo (Not Recommend - Only for those allergic to the dragon logo - USE AT YOUR OWN RISK)

Notes: This version will de-init the screen by default, and as such you won't see the Gateway Logo. Don't worry it'll init once you land on the Home. Due to how this works, only GW EmuNAND users should consider using this. This is because SysNAND users will land on the SysNAND prompt nag.

1. Download the v2gw-de-init.zip attached to this post.
2. Extract the "v2gw.bin" from v2gw-de-init.zip to your /luma/payloads/ folder.
3. Rename that very "v2gw2.bin" you just extracted to "down_v2gw.bin" or to whatever you want that is allowed by Luma3DS' payload chainloader.
Other button options: https://github.com/AuroraWright/Luma3DS/wiki/Other-features-and-notes#payload-chainloading
4. Download GW's ‘arm9loaderhax.bin.zip‘ file.
You have to get this directly from Gateway's site. Which is either:
A) On their main home page.
B) Or on their openly public Private Beta Program page, on this page it'll be under the "» arm9loaderhax for users with existing a9lh installs" section.
5. Extract GW's "arm9loaderhax.bin" file from their zip file to your /luma/payloads/ folder.
6. Rename that very "arm9loaderhax.bin" you just extracted to "gateway.bin"
7. Make sure you have the latest GW's Launcher.dat on the root of your SD Card.
8. You are now done. If you followed this tutorial, holding DPAD-DOWN at boot time, will load up Gateway Mode without the Gateway Logo.


Tested on N3DS and O3DS by me, 2DS by @Hayleia.
Should work on either screen-init or non-screen-init v2 A9LH.



Important Note: Never update your SysNAND in Gateway Mode. It does not matter what Launcher.dat version you use, if you go ahead and update while in SysNAND Mode, you will either brick or lose A9LH+CFW and be on the latest stock firmware. This is because GW Mode does not offer FIRM protection in A9LH. Updating your GW EmuNAND is fine and safe, and is what Gateway actually recommends you do and use even when using A9LH.



!~Getting Black Screen After Dragon Logo and After Following This Guide~! (PLEASE READ)
Sounds like someone hasn't properly removed their EmuNAND//RedNAND with EmuNAND9. The Black Screen problem is common to people who skipped doing it properly and used a third-party tool like EaseUS or any other partition manager.

Since EmuNAND//RedNAND wasn't removed properly, traces were leftover and GW by default sees it, and tries to boot into this non-existent EmuNAND//RedNAND and fails. So how do we fix it? We use EmuNAND9 to preperly remove traces of it.

Part 5, Section V of the old A9LH guide covers this. However, I will list all relevant steps here.
Link: https://github.com/Plailect/Guide_R...ax)#section-v---removing-rednand-from-your-sd

The new guide also sort of mentions if in this new page, and does show you how to setup EmuNAND9:
Link: https://plailect.github.io/Guide/move-emunand

Files we'll need:
Latest release of EmuNAND9: https://github.com/d0k3/EmuNAND9/releases/latest

1. Copy EmuNAND9.bin from the EmuNAND9.zip to the /luma/payloads/ folder on your SD card and rename EmuNAND9.bin to y_EmuNAND9.bin
2. Backup every file on your SD card to a folder on your computer, all files will be deleted in the following steps
3. Reinsert your SD card into your 3DS
4. Hold (Y) at boot time to open EmuNAND9
5. Go to "SD Format Options...", then select the "Format SD (no EmuNAND)" option, and wait for it to finish
6. Press (B) to return to the menu, then press Select to safely eject your SD Card
7. Put your SD card back into your computer, and copy all the files you backed up previously, back into your SD Card
8. Reinsert your SD card into your 3DS, then press (Start) to reboot



Additional Note: You will still have to look into BootCTR9 if for some reason you want GW to be the default, as opposed to Luma3DS. This tutorial is meant more for the people who want Luma3DS as their main//default, and want to use Luma3DS' payload chainloader to boot into GW Mode.
Go to the following link for the tutorial on setting up GW as your main with BootCTR9.
Link: https://gbatemp.net/threads/using-gateway-on-a9lh-v2.431222/


All credits to @Hayleia for making both of these~! Thank you~ <3 ♥
Original posts:
Link: https://gbatemp.net/threads/using-gateway-on-a9lh-v2.431222/page-4#post-6464898
Link: http://gbatemp.net/threads/tutorial-using-luma3ds-with-gateway-on-v2-a9lh.431691/page-4#post-6472283
 

Attachments

  • v2gw.zip
    6.3 KB · Views: 12,154
  • v2gw-de-init.zip
    9.1 KB · Views: 3,295
Last edited by Temptress Cerise,

Temptress Cerise

Miss Magic~ <3
OP
Member
Joined
May 1, 2016
Messages
2,242
Trophies
1
XP
2,336
Country
United States
OK. Guide updated to link to the latest dev build of BootCTR9 that officially supports B9S 1.2. I have tested it and it does work.

The old dev build of BootCTR9 worked just fine being chainloaded of Luma3DS. I personally tested 1 N3DS and 3 o3DS systems in my possesion, and they all worked fine.

Hopefully this new dev build fixes issues that some people were having, which I personally did not experience.

Edit: Also, it looks like in the future BootCTR9 may natively fix booting GW's a9lh.bin without the need of v2gw.bin. I will update the guide with that, when that does happen.
 
Last edited by Temptress Cerise,
  • Like
Reactions: rocknard

KhenemetHeru

Well-Known Member
Newcomer
Joined
Apr 22, 2015
Messages
80
Trophies
0
Age
51
Location
New Britain, CT
XP
321
Country
United States
I am somewhat confused as to how the booting works (VERY new to Luma and all this stuff, sorry if I misunderstand this)...

I have a N3DS XL on Luma 8.0/boot9strap 1.2 sysnand running (thanks to following the guide) 11.4; I went back and set up a GW emunand with godmode9, unlinked it via TinyFormat and reinstalled necessary CIAs on the emunand. I then downgraded the emunand to 11.2 via SysUpdate. All is working well, so now the big question.

If I want to follow this guide and get my Gateway access on this console, will following this guide do it (or did I screw myself out of that by updating the sysnand under Luma)? And how exactly do I boot the emunand and the GW payload together, or does BootCTR9 do that for me?
 

Temptress Cerise

Miss Magic~ <3
OP
Member
Joined
May 1, 2016
Messages
2,242
Trophies
1
XP
2,336
Country
United States
I am somewhat confused as to how the booting works (VERY new to Luma and all this stuff, sorry if I misunderstand this)...

I have a N3DS XL on Luma 8.0/boot9strap 1.2 sysnand running (thanks to following the guide) 11.4; I went back and set up a GW emunand with godmode9, unlinked it via TinyFormat and reinstalled necessary CIAs on the emunand. I then downgraded the emunand to 11.2 via SysUpdate. All is working well, so now the big question.

If I want to follow this guide and get my Gateway access on this console, will following this guide do it (or did I screw myself out of that by updating the sysnand under Luma)? And how exactly do I boot the emunand and the GW payload together, or does BootCTR9 do that for me?
If you have a GW EmuNAND, then following this guide will allow you to boot GW Mode. By default, GW Mode will always attempt to boot EmuNAND. It doesn't matter what your SysNAND is.

If you get a SysNAND nag at boot, then you've done something wrong and should power off the console. Do not press the button prompt if you are on 11.3+ SysNAND.

As for how it boots into EmuNAND, like I said. GW Mode will always prefer EmuNAND. The method outline in the guide is just to get us to that point, it has nothing to do with it.
 
  • Like
Reactions: KhenemetHeru

KhenemetHeru

Well-Known Member
Newcomer
Joined
Apr 22, 2015
Messages
80
Trophies
0
Age
51
Location
New Britain, CT
XP
321
Country
United States
If you have a GW EmuNAND, then following this guide will allow you to boot GW Mode. By default, GW Mode will always attempt to boot EmuNAND. It doesn't matter what your SysNAND is.

If you get a SysNAND nag at boot, then you've done something wrong and should power off the console. Do not press the button prompt if you are on 11.3+ SysNAND.

As for how it boots into EmuNAND, like I said. GW Mode will always prefer EmuNAND. The method outline in the guide is just to get us to that point, it has nothing to do with it.
Thanks for the assist! I followed your steps and no sysnand nag, everything is working perfectly. Only thing i need to remember is to only use the red card with this, the blue card for DS games only works in sysnand apparently, I got a black screen lockup when I tried that on the GW emunand.
 

Oscar Lopez

Member
Newcomer
Joined
May 28, 2016
Messages
6
Trophies
0
Age
35
XP
73
Country
United States
Sorry if I'm asking a noob question. Before I continue with this tutorial... I use a9lh on an Old 3DXL. I have Luma 6.6 on both emuNAND and sysNAND as per Plailect's guide. I automatically boot to sysNAND, which is already at 11.4. emuNAND is at 11.2. Am I safe to follow the old instructions (these: "Gateway Logo (Recommend for Everyone - SysNAND Only & GW EmuNAND Users)")? Does the problem only happen when you UPDATE and not when you had previously updated your sysNAND to 11.4? Or am I still going to screw myself over if I try?

...I think I should probably downgrade my sysNAND to 11.2 and ues ctr-httpwn to play online before I attempt this, but I thought I'd ask just in case.
 
Last edited by Oscar Lopez,

ch-vox

Member
Newcomer
Joined
Dec 31, 2014
Messages
18
Trophies
0
Age
45
XP
160
Country
France
Hi @Temptress Cerise,
Just to report a single bug that is not annoying me but maybe could be solved.
I'm using latest Luma3DS with latest B9S and latest BootCTR9 files with SysNAND 11.2 (no EmuNAND).
While booting normally on SysNAND, I can launch and quit Homebrew as often as I want.
While booting using GW CTR9 firmware on SysNAND, I can launch Homebrew only once (sometimes it even won't launch after having used a game on Gateway microSD) and I can't quit with Home button. I need to force close causing GW firmware crash.
I suppose it is a normal behavior as CTR9 firmware differs from Luma's one.
Once again, I'm not complaining, I don't really use Homebrew apps. I just wanted to let you know.
Thank you for your great work !
 

zhdarkstar

Well-Known Member
Member
Joined
Jan 30, 2008
Messages
573
Trophies
1
XP
566
Country
United States
If your using BootCTR9 as your main, then you're SOL. It's broken as the main boot.firm file. That's an issue you should be bringing up in BootCTR9's support thread, I guess.

It works just fine as being used as part of the chain to get GW to boot, with Luma3DS' boot.firm as the main.
I am using it via Luma's chainloading and getting this result. I already brought it up in the BootCTR9 support thread, where others are having similar issues. I brought it up here because you apparently are not having these problems.

I followed the guide to the letter when installing b9s 1.0 and it was working just fine. I didn't touch any of the files when updating to b9s 1.2. Now it doesn't work.

Edit: Just saw that 1.2 support has been added to BootCTR9
 
Last edited by zhdarkstar,

otakusensei

Well-Known Member
Member
Joined
Sep 21, 2007
Messages
101
Trophies
1
XP
477
Country
United States
I have a N3DS console running 11.2 that I left on in a game for about a month. When I came back to it the SDcard wasn't reading or writing. I didn't have a recent backup so I'm trying to rebuild as best I can. At the same time I decided to upgrade to B9S and subsequently to B9S 1.2 and Luma 8.0. All that runs fine. I can boot Luma into the Emunand I built with Godmode9. However when I try to boot Gateway I get the dragon and then a blank screen and blue power light but the system just hangs. Gateway diags check out as well so I don't think it's the card.

I've tried older Enumand backups and I got the system to boot into Gateway mode, but while I get the select menu on the home screen I can't load any cias via FBI. Then when I try to boot into the emunand via Luma I get an error that it can't patch the firm. Do I have a setting wrong somewhere? My Emunand is formatted correctly per Godmode9 as far as I can tell. I can't seem to run the converted Enunand9.firm on B9S 1.2 or else I'd try that again.

There's got to be something I'm missing here.
 

Temptress Cerise

Miss Magic~ <3
OP
Member
Joined
May 1, 2016
Messages
2,242
Trophies
1
XP
2,336
Country
United States
I have a N3DS console running 11.2 that I left on in a game for about a month. When I came back to it the SDcard wasn't reading or writing. I didn't have a recent backup so I'm trying to rebuild as best I can. At the same time I decided to upgrade to B9S and subsequently to B9S 1.2 and Luma 8.0. All that runs fine. I can boot Luma into the Emunand I built with Godmode9. However when I try to boot Gateway I get the dragon and then a blank screen and blue power light but the system just hangs. Gateway diags check out as well so I don't think it's the card.

I've tried older Enumand backups and I got the system to boot into Gateway mode, but while I get the select menu on the home screen I can't load any cias via FBI. Then when I try to boot into the emunand via Luma I get an error that it can't patch the firm. Do I have a setting wrong somewhere? My Emunand is formatted correctly per Godmode9 as far as I can tell. I can't seem to run the converted Enunand9.firm on B9S 1.2 or else I'd try that again.

There's got to be something I'm missing here.
You could try making an EmuNAND with GW instead.
Once, you see the Dragon Logo - Hold L+Select. From there go to format emunand. (this should go without saying, but be sure you backed up your SD Card, before doing the process)
 

otakusensei

Well-Known Member
Member
Joined
Sep 21, 2007
Messages
101
Trophies
1
XP
477
Country
United States
You could try making an EmuNAND with GW instead.
Once, you see the Dragon Logo - Hold L+Select. From there go to format emunand. (this should go without saying, but be sure you backed up your SD Card, before doing the process)

I tried that as well, same result. That's why I don't think it's something up with my formatting.
 

Temptress Cerise

Miss Magic~ <3
OP
Member
Joined
May 1, 2016
Messages
2,242
Trophies
1
XP
2,336
Country
United States
I tried that as well, same result. That's why I don't think it's something up with my formatting.
I wouldn't trust GW's diag tool. Format the card completely with GodMode9.

After: check your SD card for errors using H2testw (Windows), F3 (Linux), or F3X (Mac)!

Report the results.

As always, be sure to backup your SD Card, before doing this.
 

otakusensei

Well-Known Member
Member
Joined
Sep 21, 2007
Messages
101
Trophies
1
XP
477
Country
United States
I ran a surface test on the SD card as a first step last week, it was all clear. I'm not sure what caused to inertial error but it doesn't seem to be hardware. I also tested with another SD card as well.

Sorry for sounding difficult, I just can't figure out what would be causing this behavior.
 

Temptress Cerise

Miss Magic~ <3
OP
Member
Joined
May 1, 2016
Messages
2,242
Trophies
1
XP
2,336
Country
United States
I ran a surface test on the SD card as a first step last week, it was all clear. I'm not sure what caused to inertial error but it doesn't seem to be hardware. I also tested with another SD card as well.

Sorry for sounding difficult, I just can't figure out what would be causing this behavior.
Try this build of Luma3DS: https://gbatemp.net/threads/luma-8-0-wont-load-my-emunand.473263/#post-7373368

Also, did you try using the FBI.3DS via GW Mode, to see if the problem is still there?
 

otakusensei

Well-Known Member
Member
Joined
Sep 21, 2007
Messages
101
Trophies
1
XP
477
Country
United States

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=bgCjp3-rF_Y