Homebrew CtrBootManager: 3ds boot manager/loader (HomeMenuHax)

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
Here is a boot manager / loader, mainly for the HomeMenuHax but it should also work from homebrew menu(for loading arm9 payloads for example).

- 3ds with fw <= 9.2 !

- It currently allow you to configure boot entries (arm9 payload "*.bin/dat", tested with rxTools "code.bin" and homebrew menu "boot.3dsx") in a configuration file to be booted automatically, with a specified timer.
- It can boot some arm9 payload "*.bin/dat" or ".3dsx" files from a crappy file manager if needed.
- It can receive/execute .3dsx files from network (3dslink)

Installation :

- Install "HomeMenuHax", automatic one is better (no button to press for booting).
- Edit "boot.cfg" to suits your needs (be careful to errors)
- Copy "boot.3dsx" and "boot.cfg" to sdcard root

Custom backgrounds (Thanks to @Flat):

Images need to be in .bgr bin format. You can use this website to do so :
https://xem.github.io/3DShomebrew/tools/image-to-bin.html
This can also be accomplished with image magick using the convert command and then rotating the image 90 degrees.
Code:
convert yourimg.png -channel BGR -separate -channel RGB -combine -rotate 90 yourimg.rgb
Place it on your sdcard and edit your config to the path of the image.

boot.cfg sample :

https://github.com/Cpasjuste/CtrBootManager/blob/master/data/boot.cfg

Screenshot :

cbm.png


Source code:

https://github.com/Cpasjuste/CtrBootManager
Thanks to smea since a lot of code comes from him, and all other people involved (Myria, Steveice10..)

Changelog:

1.9: added return to homemenu (needs ninjhax >= 2.6)
-------------------------------------------------------
1.8: added arm9 netloader (nc 192.168.1.2 80 < arm9.bin)
1.8: updated to latest ctrulib + hax
-------------------------------------------------------
1.7: fix ui when no theme section found in cfg
-------------------------------------------------------
1.6: fix file browser
1.6: add reboot/shutdown items to config
-------------------------------------------------------
1.5: minor fixes and improvements
-------------------------------------------------------
1.4: adds support for user images as a background (thanks @Flat)
-------------------------------------------------------
1.3: add colors to configuration file
1.3: fix override button not working when timeout > 0 (thanks @Aroth)
1.3: add old ctrulib as submodule (fix CakeBrah)
1.3: add old CakeBrah as submodule (fix CakeBrah)
-------------------------------------------------------
1.2: change font
-------------------------------------------------------
1.1: add ("key") option to override autoboot entry
-------------------------------------------------------
1.0: add boot menu entry from the file manager (X) (.3dsx only)
1.0: remove boot menu entry from boot menu (X)
1.0: add a few more help/information to the bottom screen
-------------------------------------------------------
b09: add simple boot configuration screen ("More... -> Settings" menu)
b09: (re-re-re-re) fix netloading code
-------------------------------------------------------
b08: fix broken wifi on a lot of 3dsx
b08: fix booting some 3dsx
b08: added 3dsx descriptor support (xml)
b08: fix 3dsx netload
b08: updated to latest ctrulib
-------------------------------------------------------
b07: add "autobootfix" option to config.cfg file
b07: fix a bug when more than 22 files are in a directory (filer)...
-------------------------------------------------------
b06: added colored ui
b06: alphasort files/dirs in filer
b06: filter out .3dsx, .bin, .dat in filer
b06: fix 3dsx loading (was broken after multiple launch)
b06: few fix and improvements
-------------------------------------------------------
b05: fixed autoboot
b05: fixed booting of arm9 payload from filer (which doesn't require specific offset)
-------------------------------------------------------
b04: fixed some .3dsx not booting
-------------------------------------------------------
b03: added reboot and power off
b03: added 3dsx netloader (use 3dslink), thanks smea
b03: added recovery button to config.cfg (to be used when timeout=0)
b03: various menu changes cleanup and bug fixes
--------------------------------------------------------
b02: fix cake-cfw loading
b02: fix screen corruption
b02: added arm9 offset in config file
 

Attachments

  • CtrBootManager-1.9.zip
    172.3 KB · Views: 70,269
Last edited by cpasjuste,

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
The rxtools mset installer is now named rxinstaller.bin. code.bin is rxtools playload. In fact it will load what brahama2/khax is able to load + 3dsx.
 
Last edited by cpasjuste,

xXDungeon_CrawlerXx

Well-Known Member
Member
Joined
Jul 29, 2015
Messages
2,092
Trophies
1
Age
28
Location
Liverpool
XP
3,722
Country
Just to be sure.
Can I boot PastaCFW with it on Firmware 9.2 + have Kernel Access?

EDIT:
Tried to boot RxTools with it.
Got the following error at "khaxinit":
"Step6 failed: e0e01bfd _:error while corrupt;freezing"

How can I fix this?
 
Last edited by xXDungeon_CrawlerXx,

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
Just to be sure.
Can I boot PastaCFW with it on Firmware 9.2 + have Kernel Access?

You need to try it out but it may work yes (for testing only you don't need to add the PastaCFW "playload.bin" to the config file, just press UP/DOWN at the boot manager ui to choose "Select a file to boot" and browse to your PastaCFW "playload.bin").
 

xXDungeon_CrawlerXx

Well-Known Member
Member
Joined
Jul 29, 2015
Messages
2,092
Trophies
1
Age
28
Location
Liverpool
XP
3,722
Country
Tried to boot RxTools with it.
Got the following error at "khaxinit":
"Step6 failed: e0e01bfd _:error while corrupt;freezing"

How can I fix this?

EDIT:
Same Problem with the "loader.bin" of PastaCFW
 

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
You need to try it out but it may work yes (for testing only you don't need to add the PastaCFW "playload.bin" to the config file, just press UP/DOWN at the boot manager ui to choose "Select a file to boot" and browse to your PastaCFW "playload.bin").

It doesn't seems to work, i'll take a look sometime.
 

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
Tried to boot RxTools with it.
Got the following error at "khaxinit":
"Step6 failed: e0e01bfd _:error while corrupt;freezing"

How can I fix this?

EDIT:
Same Problem with the "loader.bin" of PastaCFW

What's your congifuration ? (3ds, firwmare..). Here it work 100% of the time for now (not pasta tought)
 

xXDungeon_CrawlerXx

Well-Known Member
Member
Joined
Jul 29, 2015
Messages
2,092
Trophies
1
Age
28
Location
Liverpool
XP
3,722
Country
What's your congifuration ? (3ds, firwmare..). Here it work 100% of the time for now (not pasta tought)
New3DS Firmware 9.0.0-25E. Using RxTools through MSET normally.
Installed MenuHax through Cubic Ninja Ninjhax 1.1b.
Copied your files (boot.3dsx and boot.cfg) to root of the SD (renamed the ninjax-boot to boot_hb.3dsx).
 
Last edited by xXDungeon_CrawlerXx,

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
New3DS Firmware 9.0.0-25E. Using RxTools through MSET normally.
Installed MenuHax through Cubic Ninja Ninjhax 1.1b.
Copied your files (boot.3dsx and boot.cfg) to root of the SD (renamed the ninjax-boot to boot_hb.3dsx).

Oups, i think brahma2/khax doesn't work on n3ds ! I have to edit the first post.
 

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
argh x_X
That'S weird ._.
PastaCFW and the other stuff worked great on N3DS.
Would you implement it, please?

The problem is to get kernel access from homemenuhax with brahama2/khax (CakeBrah, thanks Steveice10 and other involved people) which doesn't seems to be supported yet on n3ds. I don't own a n3ds so it will be hard to fix :)
 
Last edited by cpasjuste,

xXDungeon_CrawlerXx

Well-Known Member
Member
Joined
Jul 29, 2015
Messages
2,092
Trophies
1
Age
28
Location
Liverpool
XP
3,722
Country
The problem is to get kernel access from homemenuhax with brahama2/khax (CakeBrah, thanks Steveice10 and other involved people) which doesn't seems to be supported yet on n3ds. I don't own a n3ds so it will be hard to fix :)
urgh, weird x__x
the guys behind brahma2/khax should give more love to the N3ds ._.
I really want a Quickboot-Method for CFWs on N3ds...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    i like that idea
    +1
  • Veho @ Veho:
    What's the same thing?
    +1
  • The Real Jdbye @ The Real Jdbye:
    before or after a hit
    +1
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    K3Nv2 @ K3Nv2: Turns out you can't sprinkle methamphetamine on McDonald's French fries