Hacking [Guide] Compile Payloads for 5.5.0/5.5.1 and run them

GalladeGuy

Cool and Epic
Member
Joined
Oct 28, 2015
Messages
2,686
Trophies
1
XP
3,115
Country
United States
Make sure you have powerpc-eabi-ld in your devkitPPC/bin folder.

Oh yeah, I forgot it. You also have to change the LD variable.
I have that. Where is the variable? What should I change it to?

--------------------- MERGED ---------------------------

Make sure you have powerpc-eabi-ld in your devkitPPC/bin folder.

Oh yeah, I forgot it. You also have to change the LD variable.
It works! Thanks a ton! I'm gonna set up a host and test it out.
 
  • Like
Reactions: josamilu

dpad_5678

Ape weak on own. Ape strong in unity.
Member
Joined
Nov 19, 2015
Messages
2,219
Trophies
1
XP
2,880
Country
United States
Code:
make
mkdir -p ./bin/550/
mkdir -p ./bin/532/
mkdir -p ./bin/500/
mkdir -p ./bin/410/
mkdir -p ./bin/400/
mkdir -p ./bin/310/
mkdir -p ./bin/300/
mkdir -p ./bin/210/
mkdir -p ./bin/200/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=550  ./src/*.c
/bin/sh: powerpc-eabi-gcc: command not found
Makefile:19: recipe for target 'libwiiu550' failed
make: *** [libwiiu550] Error 127

Any help?
Thanks.
 

eliboa

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
157
Trophies
0
XP
1,257
Country
France
Code:
make
mkdir -p ./bin/550/
mkdir -p ./bin/532/
mkdir -p ./bin/500/
mkdir -p ./bin/410/
mkdir -p ./bin/400/
mkdir -p ./bin/310/
mkdir -p ./bin/300/
mkdir -p ./bin/210/
mkdir -p ./bin/200/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=550  ./src/*.c
/bin/sh: powerpc-eabi-gcc: command not found
Makefile:19: recipe for target 'libwiiu550' failed
make: *** [libwiiu550] Error 127

Any help?
Thanks.
If you have installed devkitPro you just have to change those two lines in your Makefile :
Code:
CC=$(DEVKITPPC)/bin/powerpc-eabi-gcc
LD=$(DEVKITPPC)/bin/powerpc-eabi-ld
 
  • Like
Reactions: josamilu

Se7ensinsMods

Well-Known Member
Newcomer
Joined
Jan 19, 2016
Messages
87
Trophies
0
Location
American Muscle
XP
173
Country
United States
you'll need these two at the beginning of your PATH environment variable 'C:\devkitpro\devkitPPC\bin;C:\devkitPro\devkitPPC\powerpc-gekko\bin;' this works for me all the time. Also, it works on Windows7 64bit cygwin with python3.4
 
  • Like
Reactions: josamilu

flashrom1

Member
Newcomer
Joined
Jan 28, 2016
Messages
5
Trophies
0
Age
45
XP
55
Country
Pakistan
If you want to start developing Homebrew for 5.5.0/5.5.1, this guide is the guide you were looking for!

Compiling homebrew for 5.5.0/5.5.1 is a bit different, than compiling for 5.3.2 or lower.

Setup :
  • Install Cygwin
  • Python (2 or 3)
  • DevkitPro (with DevkitPPC)
  • Download my fork of libwiiu. https://github.com/TheJosamilu/libwiiu (Made a pull request for the main branch) And extract it somewhere.
Building :

Before you can actually build something, you have to compile libwiiu. For that, open Cygwin and 'cd' into the extracted 'libwiiu' folder, and then in the other 'libwiiu' folder. When you are in there, you can compile libwiiu with the 'make' command.
After that is done, you can compile some examples. The easiest to compile is the Hello World example, so cd into the 'examples' folder, then the 'helloworld' one and run 'make'. If everything goes right, you can go into the /bin/ folder and you should see your code550.bin now.
Congratulations, you just compiled your first 5.5.0/5.5.1 payload!

You can't compile the 5.5.0/5.5.1 payloads using build.py, because it is only for 5.3.2 or older.

Running :

Now, to run the payload, you need to host the Browserhax somewhere. Either you have your own website, where you can upload it at, or you host a local webserver on your computer. Grab the 'wiiuhaxx.zip' I attached at the bottom of the post, and host the contents of it on the webserver. Then copy the code550.bin over to the directory of browserhax. Now, you have to edit the cfg file to match your setup.
Code:
<?php

$wiiuhaxxcfg_payloadfilepath = "url of the payload";
$wiiuhaxxcfg_loaderfilepath = "url of the loader";

?>
Now get your Wii U ready, and open the .php page like this : wiiuhaxx.php?sysver=550
PHP has to be enabled on your webserver to work!

If you have done everything correctly, your compiled payload should load and run!
If the videoplayer has frozen on your gamepad, you did a mistake. Try it again or recompile the payload. If it still not works reset the Wii U Browser.

Conversion into mp4 :

The conversion into a simpler to use .mp4 is easy. Just load up the exploit page, with your parameter, using your computer and save the video to your computer. You can do this by pressing CTRL+S.


That's all, I hoped I help you! If you have any questions or trouble getting your payloads working, ask bellow.

- josamilu
 

GalladeGuy

Cool and Epic
Member
Joined
Oct 28, 2015
Messages
2,686
Trophies
1
XP
3,115
Country
United States
If you want to start developing Homebrew for 5.5.0/5.5.1, this guide is the guide you were looking for!

Compiling homebrew for 5.5.0/5.5.1 is a bit different, than compiling for 5.3.2 or lower.

Setup :
  • Install Cygwin
  • Python (2 or 3)
  • DevkitPro (with DevkitPPC)
  • Download my fork of libwiiu. https://github.com/TheJosamilu/libwiiu (Made a pull request for the main branch) And extract it somewhere.
Building :

Before you can actually build something, you have to compile libwiiu. For that, open Cygwin and 'cd' into the extracted 'libwiiu' folder, and then in the other 'libwiiu' folder. When you are in there, you can compile libwiiu with the 'make' command.
After that is done, you can compile some examples. The easiest to compile is the Hello World example, so cd into the 'examples' folder, then the 'helloworld' one and run 'make'. If everything goes right, you can go into the /bin/ folder and you should see your code550.bin now.
Congratulations, you just compiled your first 5.5.0/5.5.1 payload!

You can't compile the 5.5.0/5.5.1 payloads using build.py, because it is only for 5.3.2 or older.

Running :

Now, to run the payload, you need to host the Browserhax somewhere. Either you have your own website, where you can upload it at, or you host a local webserver on your computer. Grab the 'wiiuhaxx.zip' I attached at the bottom of the post, and host the contents of it on the webserver. Then copy the code550.bin over to the directory of browserhax. Now, you have to edit the cfg file to match your setup.
Code:
<?php

$wiiuhaxxcfg_payloadfilepath ="url of the payload";
$wiiuhaxxcfg_loaderfilepath ="url of the loader";

?>Now get your Wii U ready, and open the .php page like this : wiiuhaxx.php?sysver=550
PHP has to be enabled on your webserver to work!
If you have done everything correctly, your compiled payload should load and run!
If the videoplayer has frozen on your gamepad, you did a mistake. Try it again or recompile the payload. If it still not works reset the Wii U Browser.
Conversion into mp4 :

The conversion into a simpler to use .mp4 is easy. Just load up the exploit page, with your parameter, using your computer and save the video to your computer. You can do this by pressing CTRL+S.


That's all, I hoped I help you! If you have any questions or trouble getting your payloads working, ask bellow.

- josamilu
Woah! You know how to copy people's posts!?! Me too! Look!
you don't need to be in cygwin either..I compile just fine from cmd.exe.
Cool, right? :P
 

GalladeGuy

Cool and Epic
Member
Joined
Oct 28, 2015
Messages
2,686
Trophies
1
XP
3,115
Country
United States
? Am i just a bystander in your conversation or where you addressing me?
Don't worry, just a bystander. I just quoted a random post. :P
I have no clue what that guy was doing. Maybe he thought that's how you make a thread and that people would think he made the tutorial or something. That's the only thing I can think of.
 
  • Like
Reactions: josamilu

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    +1
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
    BakerMan @ BakerMan: Also, no, that was his first time having a seizure, and hopefully the last +1