Tutorial  Updated

Getting hbmenu from 1.0.0 to 3.0.0

Disclaimer: This comes with absolutely no warranty. Try this stuff at your own risk.

Here goes a little tutorial on getting hbmenu working on firmware 1.0.0 and up to 3.0.0.


4FptJsQ.jpg
9MWbVSR.jpg


Requirements:
- A switch with FW 1.0.0 or up to 3.0.0
- PegaSwitch access
- loader.pfs0 renamed to loader.nsp (you can build it from source) Download: Google Drive
- hblauncher.nro - Official website

Step one

Put hblauncher.nro and loader.nsp in the root of your MicroSD

Step two
Launch PegaSwitch with your favourite method

Step three
Run this javascript snippet: https://pastebin.com/UBLJsgse
To do this, save that snippet to a javascript file and call it something like "hbmenu.js", then from PegaSwitch run:
Code:
evalfile usefulscripts/hbmenu.js

Step four

Close your browser and open the Gallery App. Hbmenu should launch

Credits
Not me. I merely compiled loader.pfs0 and wrote this guide.
@TuxSH from ReSwitched for coming up with that JavaScript snippet this guide uses.
@BL4Z3D247 for pointing me in the right direction.
Of course Plutoo and Yellows8 for Homebrew Launcher (hbmenu)

This was tested on my 1.0.0 launch day Switch. Report here your results.

Post note: As other people confirmed (and to no one surprise) the majority of Homebrew designed for 3.0.0 surely won't work.
 
Last edited by Deleted member 191657,

SkulllKid

Well-Known Member
Member
Joined
Apr 10, 2015
Messages
122
Trophies
0
Age
27
XP
357
Country
United States
it works fine on 2.1 already try mystery of solarus dx and works fine, snes and nes emulator on retroarch wors perfect i thin all the apps and games for 3.0 work on 2.1. thanks to @BL4Z3D247
 
  • Like
Reactions: BL4Z3D247

c0ld

Member
Newcomer
Joined
Apr 25, 2018
Messages
19
Trophies
0
Age
38
XP
215
Country
Colombia
Yes, that and the loader.pfs0(renamed to loader.nsp).
Guys, sorry for what I know it is a very obvious question with a very obvious answer that is under my nose all the time but, where do I find the updated HBL that works with 1.0.0 - 3.0.0, I searched for it but wasn't able to find it
 

HtheB

Well-Known Member
Member
Joined
May 15, 2006
Messages
878
Trophies
1
Age
36
Location
Bize Her Yer Trabzon
Website
www.HtheB.com
XP
3,111
Country
Netherlands
Guys, sorry for what I know it is a very obvious question with a very obvious answer that is under my nose all the time but, where do I find the updated HBL that works with 1.0.0 - 3.0.0, I searched for it but wasn't able to find it
Just use the latest release (it's 2.0 at the moment of writing):
https://github.com/switchbrew/nx-hbmenu/releases/download/v2.0.0/nx-hbmenu_v2.0.0.zip

And get this:
https://drive.google.com/open?id=1Q4wIx5ZNe9qy7pwL7F-79XPnoAKSmkxd
rename the file to loader.nsp
 
  • Like
Reactions: c0ld and BL4Z3D247

c0ld

Member
Newcomer
Joined
Apr 25, 2018
Messages
19
Trophies
0
Age
38
XP
215
Country
Colombia
Just use the latest release (it's 2.0 at the moment of writing):


And get this:

rename the file to loader.nsp

Thank you! this worked like a charm.

after a lot of trial and error (had never used Bash on Win10), I was able to launch the HBM on a 2.2.0 Switch! thanks!!
 

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
Noticed this on the Reswitched discord from stuck_pixel

https://github.com/pixel-stuck/reboot_to_rcm

Has anyone here on 1.0 tried it yet?
I’ll give it a go later.
Sounds great if you can enter rcm mode thru an app.
Expect as you run it from Album it is invoked similarly to the way we’re doing homebrew app (nspwn?)

Just tried it and got a black screen which I think is the right thing.
BTW easy to do, just grab the precompiled nsp from Reswitched discord and edit the hbmenu.js in the OP to point to this nsp instead of the homebrew loader.

Now I need to setup VMWare I guess to load the exploit via USB but I guess it does seem that for 1.0.0 you don't need any wires.

BTW, has anyone tried setting up USB in VirtualBox with these instructions..
I found https://www.wintips.org/how-to-setup-usb-on-virtualbox-guest-oracle/
which may help in getting USB support for VBox as I already have that setup nicely so would be ideal if I could use that to load the payloads
but I'm getting issues in step 1.
 
Last edited by snoofly,

Deleted member 191657

Well-Known Member
OP
Newcomer
Joined
Aug 10, 2009
Messages
87
Trophies
0
XP
1,315
Country
Italy
Noticed this on the Reswitched discord from stuck_pixel

https://github.com/pixel-stuck/reboot_to_rcm

Has anyone here on 1.0 tried it yet?
I’ll give it a go later.
Sounds great if you can enter rcm mode thru an app.
Expect as you run it from Album it is invoked similarly to the way we’re doing homebrew app (nspwn?)

Just tried it and got a black screen which I think is the right thing.
BTW easy to do, just grab the precompiled nsp from Reswitched discord and edit the hbmenu.js in the OP to point to this nsp instead of the homebrew loader.

Now I need to setup VMWare I guess to load the exploit via USB but I guess it does seem that for 1.0.0 you don't need any wires.

BTW, has anyone tried setting up USB in VirtualBox with these instructions..
I found https://www.wintips.org/how-to-setup-usb-on-virtualbox-guest-oracle/
which may help in getting USB support for VBox as I already have that setup nicely so would be ideal if I could use that to load the payloads
but I'm getting issues in step 1.

Very interesting. Much much interesting.
But I would stay away from RCM for the time being as an end user. There is not anything of use to be done here for non-dev people.

Still, good having to know that there is a non-hardware way to get into RCM.
 
  • Like
Reactions: BL4Z3D247

jose1209

Well-Known Member
Member
Joined
Jul 2, 2007
Messages
117
Trophies
0
XP
698
Country
Burkina Faso
hi, i'm on 2.1.0
and i'm unable to set this up.

1st i tried with 8266 module and the https://github.com/RetroGamer74/ESP8266_Homebrew_2.0_Switch_Pegaswitch
with sd card without sd car etc nothing works i have the run and install command on the screen, the install give me a error message the run too.

i tried to set up pega with the virtual ubuntu image don't work either...

is there a bin for 8266 with the " javascript snippet: https://pastebin.com/UBLJsgse" ?

or at least to have a snes emu working on 2.1.0 without updating to 3.0.0 ?

i'm on a windows 10 machine.

thanks
 

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
Hit a wall.
Have everything setup, HB menu is fine etc but some nros just fail immediately on 1.0.0.
Seems the more complex nros fail, simple ones run fine.
I guess it's some code execution access issue?
I did a fresh build from scratch of Retroarch snes and get error immediately on starting it.
But if they rely on sdbcore, how is it they're working on 2.1?
 
  • Like
Reactions: BL4Z3D247

HtheB

Well-Known Member
Member
Joined
May 15, 2006
Messages
878
Trophies
1
Age
36
Location
Bize Her Yer Trabzon
Website
www.HtheB.com
XP
3,111
Country
Netherlands
hi, i'm on 2.1.0
and i'm unable to set this up.

1st i tried with 8266 module and the https://github.com/RetroGamer74/ESP8266_Homebrew_2.0_Switch_Pegaswitch
with sd card without sd car etc nothing works i have the run and install command on the screen, the install give me a error message the run too.

i tried to set up pega with the virtual ubuntu image don't work either...

is there a bin for 8266 with the " javascript snippet: https://pastebin.com/UBLJsgse" ?

or at least to have a snes emu working on 2.1.0 without updating to 3.0.0 ?

i'm on a windows 10 machine.

thanks
It's not working with that yet... Waiting for it too...
 
  • Like
Reactions: Ronhero

jose1209

Well-Known Member
Member
Joined
Jul 2, 2007
Messages
117
Trophies
0
XP
698
Country
Burkina Faso
i finally did it,
the problem was i didn't disable the firewall.
now works fine.

tried
snes emu and pbfa

hope retrogamer74 make the bin for 8266, it will be easyer .

.
 

MonMonz

Well-Known Member
Member
Joined
Nov 7, 2014
Messages
485
Trophies
0
XP
1,680
Country
Egypt
am stuck on this
Step three
Run this javascript snippet: https://pastebin.com/UBLJsgse
To do this, save that snippet to a javascript file and call it something like "hbmenu.js", then from PegaSwitch run:
Code:
evalfile usefulscripts/hbmenu.js
what does that mean (am a windows user so can u clarify please)
Edit
i figure it out it worked for me perfectly v2.1
 
Last edited by MonMonz,

c0ld

Member
Newcomer
Joined
Apr 25, 2018
Messages
19
Trophies
0
Age
38
XP
215
Country
Colombia
am stuck on this
)

Hi mate,

just open notepad, copy and paste the hbm code, save the file, change the extension of the file to .js and copy/move it here: C:\Users\[your windows username]\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home\[yourlinuxusername]\pegaswitch\usefulscripts

The "CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc" will be different if you are not using Ubuntu for Windows 10.

the created file is then run in the pegaswitch console window that you launched using linux bash - once you have your switch connected through Pegaswitch (by typing or pasting evalfile usefulscripts/hbmenu.js and pressing enter)
 

Attachments

  • gba.png
    gba.png
    16.8 KB · Views: 270
Last edited by c0ld,
  • Like
Reactions: Gootah and MonMonz

MonMonz

Well-Known Member
Member
Joined
Nov 7, 2014
Messages
485
Trophies
0
XP
1,680
Country
Egypt
thank you i
Hi mate,

just open notepad, copy and paste the hbm code, save the file, change the extension of the file to .js and copy/move it here: C:\Users\[your windows username]\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home\[yourlinuxusername]\pegaswitch\usefulscripts

The "CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc" will be different if you are not using Ubuntu for Windows 10.

the created file is then run in the pegaswitch console window that you launched using linux bash - once you have your switch connected through Pegaswitch (by typing or pasting evalfile usefulscripts/hbmenu.js and pressing enter)
really appreciate your help it worked fine now :)
 
  • Like
Reactions: c0ld

Gootah

Well-Known Member
Member
Joined
Aug 11, 2013
Messages
257
Trophies
0
Age
37
XP
606
Country
United States
My crash count is super high, I barely get to see the menu. I'm on 1.0, anyone else?

edit: Nevermind, the presence of some homebrew just instacrashes the unit at hbmenu launch
 
Last edited by Gootah,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @Wholesome, welcome