Homebrew [Release] Easily load payloads in HB Launcher via Brahma 2 mod

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,218
Country
Canada
you're saying its just a glitch of somekind that arm9 is somehow running on my 3ds??? then why didn't it give me a fail message????
It's not running arm9 at all.

It fails to access arm11 exploit, which is requires to exploit arm9.
So basically, it's just a userland code unning, showing a failed message.
 
  • Like
Reactions: ihaveahax

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
@Everyone, I rebased this around my Brahma2Loader, which seems like the much better choice, as the Brahma2Loader was already designed to direct-boot payloads from the beginning. There is also a new feature, the Voodoo loader. For now, I still kept the old fix2 and fix5 downloads in the opening post, but it is recommended to update.

Note that there are now four parameters inside the XML <args> instead of the previous three. The fourth parameter is for the Voodoo loader. The Voodoo loader is called the way it is because no one (at this point) seems to know why the methods it implements do work (but they seem to do, almost a bit like magic). It takes a parameter from 0x0 to 0xF (0x0 means standard loading, 0xF means full voodoo). Depending on your ARM9 payload and your system, different values may work for you and experimentation is strongly recommended. The highest value is most likely not always the best. The last release before (fix5), f.e. does the same as the Voodoo loader with parameter 0xC - and that doesn't mean that 0xF is guaranteed to be better, but it may be. If you are lazy and just want a good value to use everywhere, I'd recommend 0x0 or 0xF, but I'd also like to hear what values you had success with if you are willing to experiment.

Also, the <executable> is now "/3DS/BrahmaLoader/BrahmaLoader.3dsx" instead of "/Brahma2/Brahma2.3DSX". You may move the executable somewhere else but you have to change it in your XML shortcuts as well, of course.

Looking forward to hear your opinions. Also note that the instructions in the opening post are now slightly changed.
 
Last edited by d0k3,
  • Like
Reactions: klear and peteruk

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
I've seen there have been a few downloads already, so, how is the mileage for thse users that are already using Brahma2Loader instead of Brahma2? Anyone tried around with the voodoo loader parameter? I myself have tried around for a bit and get very good boot rates for ReiNAND (in fact, 100% so far) with voodoo 0xF, but it looks like Decrypt9 fares better with a different paramter, that I still have to find out.

BTW, if you want to understand the voodoo launcher paramter better, it is actually processed in binary (0b1111 = 0xF = 15). Starting from the right, this is what those bits do (and of course you can combine this three fixes, this is what is intended).
  • Bit 0: Load (unnecessary) HB services. 0b0001/0x1 => Load them.
  • Bit 1: "Magic Fix" no one (might not be absolutely correct) knows what it does, but CTR Boot Manager, BootCTR and HBL itself all use it. 0b0010/0x2 => Use magic fix.
  • Bit 2 and Bit 3: length of the bootfix delay (0b0000/0x0 => 0; 0b0100/0x4 => 50; 0b1000/0x8 => 100; 0b1100/0xC = 150).
 
Last edited by d0k3,
  • Like
Reactions: peteruk

FONZD

Well-Known Member
Member
Joined
Jan 27, 2015
Messages
232
Trophies
0
XP
788
Country
France
About Brahma2Loader_XML_release

After some tests I have the best results for rxTools with this arg: <arg>/rxtools/sys/code.bin 0x12000 0x10000 0x8</arg> (boot rate without pb 5/10)

FYI with version 'fix2', the bottom screen is still displayed, the top screen is displayed in about 80% of cases... (<arg>/rxtools/sys/code.bin 0x12000 0x10000</arg>)

So I prefer to keep this version:
 

Attachments

  • Brahma2_XML_enabled_fix2.zip
    360.8 KB · Views: 180
  • Like
Reactions: d0k3

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
About Brahma2Loader_XML_release

After some tests I have the best results for rxTools with this arg: <arg>/rxtools/sys/code.bin 0x12000 0x10000 0x8</arg> (boot rate without pb 5/10)

FYI with version 'fix2', the bottom screen is still displayed, the top screen is displayed in about 80% of cases... (<arg>/rxtools/sys/code.bin 0x12000 0x10000</arg>)

So I prefer to keep this version:
Thanks a ton! Well, fix2 intitialized text output, then deinitialized it and set the screenmode correct before going on - that's the one difference. As you see, that still leads to garbled output at times, so I didn't even include it in the voodoo_load() function. I'll see about including that back in now, of course.
 
  • Like
Reactions: peteruk

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
About Brahma2Loader_XML_release

After some tests I have the best results for rxTools with this arg: <arg>/rxtools/sys/code.bin 0x12000 0x10000 0x8</arg> (boot rate without pb 5/10)

FYI with version 'fix2', the bottom screen is still displayed, the top screen is displayed in about 80% of cases... (<arg>/rxtools/sys/code.bin 0x12000 0x10000</arg>)

So I prefer to keep this version:
Alright, I made a new release (see opening post). Now, the VOODOO parameter is between 0x00 and 0x1F, the additional bit controls wether the console is initialized or not. Should have the exact same result as the earlier 'fix2' version.

Here, the updated description of what the voodoo parameter does:
It is actually processed in binary (0b11111 = 0x1F = 31). Starting from the right, this is what those bits do (and of course you can combine these four fixes, this is what is intended).
  • Bit 0: Load (unnecessary) HB services. 0b00001/0x01 => Load them.
  • Bit 1: "Magic Fix", no one (might not be absolutely correct) knows what it does, but CTR Boot Manager, BootCTR and HBL itself all use it. 0b00010/0x02 => Use magic fix.
  • Bit 2 and Bit 3: length of the bootfix delay (0b0000/0x0 => 0; 0b00100/0x04 => 50; 0b01000/0x08 => 100; 0b01100/0x0C = 150).
  • Bit 4: Initialize console and print some nonsense text. 0b10000/0x10 => Use this fix.
 
Last edited by d0k3,
  • Like
Reactions: peteruk

FONZD

Well-Known Member
Member
Joined
Jan 27, 2015
Messages
232
Trophies
0
XP
788
Country
France
Alright, I made a new release (see opening post). Now, the VOODOO parameter is between 0x00 and 0x1F, the additional bit controls wether the console is initialized or not. Should have the exact same result as the earlier 'fix2' version.

Here, the updated description of what the voodoo parameter does:
It is actually processed in binary (0b11111 = 0x1F = 31). Starting from the right, this is what those bits do (and of course you can combine these four fixes, this is what is intended).
  • Bit 0: Load (unnecessary) HB services. 0b00001/0x01 => Load them.
  • Bit 1: "Magic Fix", no one (might not be absolutely correct) knows what it does, but CTR Boot Manager, BootCTR and HBL itself all use it. 0b00010/0x02 => Use magic fix.
  • Bit 2 and Bit 3: length of the bootfix delay (0b0000/0x0 => 0; 0b00100/0x04 => 50; 0b01000/0x08 => 100; 0b01100/0x0C = 150).
  • Bit 4: Initialize console and print some nonsense text. 0b10000/0x10 => Use this fix.
THX !

I use this for rxTools: <arg>/rxtools/sys/code.bin 0x12000 0x10000 0x1A</arg>

with a good boot rate (8/10)
 
  • Like
Reactions: peteruk

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
THX !

I use this for rxTools: <arg>/rxtools/sys/code.bin 0x12000 0x10000 0x1A</arg>

with a good boot rate (8/10)
Good to hear :). There are no problems like garbled output now, correct? And we still haven't reached the boot rate possible by other means (10/10, if I got that correct)? Maybe loading HBL (which is heavyweight compared to the likes of CBM or BootCTR) automagically reduces the success rate and not much can be done about it. Still unsure.
 
Last edited by d0k3,

FONZD

Well-Known Member
Member
Joined
Jan 27, 2015
Messages
232
Trophies
0
XP
788
Country
France
Good to hear :). There are no problems like garbled output now, correct? And we still haven't reached the boot rate possible by other means (10/10, if I got that correct)? Maybe loading HBL (which is heavyweight compared to the likes of CBM or BootCTR) automagically reduces the success rate and not much can be done about it. Still unsure.
As for the release 'fix2' the bottom screen is always displayed and the boot rate is more than correct.

I wanted to say good job as usual for all of your releases ! ;)
 
  • Like
Reactions: peteruk

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Everyone, I just uploaded a new release (check the opening post). This contains the system stabilty / bootrate fix by @173210 and should greatly improve boot rates on N3DS. Maybe it will even make parts of the voodoo loader unnecessary. It might also help on O3DS, but I don't know yet. Experimentation needed :). Let me know about your results if you test it.
 
Last edited by d0k3,
  • Like
Reactions: klear and peteruk

peteruk

Well-Known Member
Member
Joined
Jun 26, 2015
Messages
3,004
Trophies
2
XP
7,358
Country
United Kingdom
Everyone, I just uploaded a new release (check the opening post). This contains the system stabilty / bootrate fix by @173210 and should greatly improve boot rates on N3DS. Maybe it will even make parts of the voodoo loader unnecessary. It might also help on O3DS, but I don't know yet. Experimentation needed :). Let me know about your results if you test it.

thank you for this, will try it over the next couple of days :)
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
thank you for this, will try it over the next couple of days :)
Let me know how it works for you! For me, I just tested it with ReiNAND CFW, 10/10 boots without problems (voodoo parameter 0xF). Before it was around 8/10. Your mileage may vary and I might have been lucky, but I think that fix really helped.
 
  • Like
Reactions: peteruk

peteruk

Well-Known Member
Member
Joined
Jun 26, 2015
Messages
3,004
Trophies
2
XP
7,358
Country
United Kingdom
Let me know how it works for you! For me, I just tested it with ReiNAND CFW, 10/10 boots without problems (voodoo parameter 0xF). Before it was around 8/10. Your mileage may vary and I might have been lucky, but I think that fix really helped.

Ok will report back as soon as i can, am trying to help a relative with his new O3DS atm and it's taking up my time, but will report back ASAP :)
 

FONZD

Well-Known Member
Member
Joined
Jan 27, 2015
Messages
232
Trophies
0
XP
788
Country
France
Let me know how it works for you! For me, I just tested it with ReiNAND CFW, 10/10 boots without problems (voodoo parameter 0xF). Before it was around 8/10. Your mileage may vary and I might have been lucky, but I think that fix really helped.
N3DS - boots 10/10 wirth rxtools (voodoo parameter 0x1A)
2/10 without top screen & 8/10 without problems
 
  • Like
Reactions: peteruk and d0k3

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
N3DS - boots 10/10 wirth rxtools (voodoo parameter 0x1A)
2/10 without top screen & 8/10 without problems
Alright, check the opening post. The newest release extends the consolefix to the top screen. This might not do anything useful, but it may also solve your problems with rxTools not showing anything on there.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • 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
  • 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.
    K3Nv2 @ K3Nv2: @BigOnYa...