Hacking Wii U Hacking & Homebrew Discussion

thekarter104

Well-Known Member
Member
Joined
Mar 28, 2013
Messages
1,933
Trophies
1
XP
2,650
Country
United States
Try it a few more times, if it keeps doing a weird black screen, then you're SoL, but at least we know it's an issue (Rean has the same thing, dunno what's up, you'll just have to wait since I don't think you even have code execution).

I haven't had a single black screen. It just froze halfway loading the page.
I tried it several times, on-TV and off-TV.
 

Adr990

To boldly go where no man has gone before!
Member
Joined
Apr 22, 2007
Messages
1,567
Trophies
0
Location
The Netherlands
Website
www.hyrule.net
XP
737
Country
Netherlands
Ohwell... thanks for trying out guys.

When I load them, I randomly crash, or get a popup saying the file is too big.
Then again, I am using a 3.0.0 payload on 2.1.0. (I expect no code execution, crashes are good enough :P )
So I can't really test it.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,145
Country
Antarctica
Does using OSCheckActiveThreads hang for anyone else? Just curious. Here's a sample I cobbled together to try it:

Code:
#include "loader.h"

void _start()
{
    /****************************>            Fix Stack            <****************************/
    //Load a good stack
    asm(
        "lis %r1, 0x1ab5 ;"
        "ori %r1, %r1, 0xd138 ;"
        );
    /****************************>           Get Handles           <****************************/
    //Get a handle to coreinit.rpl
    unsigned int coreinit_handle;
    OSDynLoad_Acquire("coreinit.rpl", &coreinit_handle);

    //Misc OS functions
    void(*OSRestartGame)();
    OSDynLoad_FindExport(coreinit_handle, 0, "OSRestartGame", &OSRestartGame);
    /****************************>          Initial Setup          <****************************/
    //Restart the web browser. This stops active threads for browser. Browser GUI thread runs on CPU0.
    OSRestartGame();
   
    long(*OSCheckActiveThreads)();
    OSDynLoad_FindExport(coreinit_handle, 0, "OSCheckActiveThreads", &OSCheckActiveThreads);

    long initialNumberOfThreads = OSCheckActiveThreads();
    char buffer[256];
    __os_snprintf(buffer, 256, "OSCheckActiveThreads %ld", initialNumberOfThreads);
    OSFatal(buffer);
}

For me it just makes the screen go grey with random white pixels thrown all over the place.
 

Lory171

Well-Known Member
Newcomer
Joined
Jun 20, 2015
Messages
45
Trophies
0
Age
26
XP
160
Country
Italy
I haven't had a single black screen. It just froze halfway loading the page.
I tried it several times, on-TV and off-TV.
If some examples freeze in the middle of loading then the problem is in the way they are loaded and not in the code itself. They might actually work. Try loading them directly from a favourite a soon as you fresh open the browser.
If they crash, go black screen of freeze the browser after the payload.html file has been fully loaded then you executed something in the console and the problem will be on the code.
 

Adr990

To boldly go where no man has gone before!
Member
Joined
Apr 22, 2007
Messages
1,567
Trophies
0
Location
The Netherlands
Website
www.hyrule.net
XP
737
Country
Netherlands

Kappacat

Member
Newcomer
Joined
Feb 14, 2015
Messages
12
Trophies
0
Age
29
XP
59
Country
United States
  • Like
Reactions: Adr990

Adr990

To boldly go where no man has gone before!
Member
Joined
Apr 22, 2007
Messages
1,567
Trophies
0
Location
The Netherlands
Website
www.hyrule.net
XP
737
Country
Netherlands

Adr990

To boldly go where no man has gone before!
Member
Joined
Apr 22, 2007
Messages
1,567
Trophies
0
Location
The Netherlands
Website
www.hyrule.net
XP
737
Country
Netherlands
That did work first time.
That's... interesting.
Maybe if there are one or multiple sites before the payload, it doesn't work properly anymore?

How about this:
http://wiiulib.arndroid.nl/hello2/

(Also thanks for testing)

Edit:
The problem is in that menu page http://wiiulib.arndroid.black
It makes loading of the exploit html stuck
That really seems to be the case... (I was hoping it wasn't)

But on /hello2/ I have the index.html that selects the correct payload as a extra webpage now, before the actual payload, like on /hello/.
If that doesn't work, then I could just direct link all the correct payloads instead.

Otherwise, I'll have to find some way to clean the WiiU's memory, or whatever the case may be, when clicking on a homebrew on my site.
 

Kappacat

Member
Newcomer
Joined
Feb 14, 2015
Messages
12
Trophies
0
Age
29
XP
59
Country
United States
That's... interesting.
Maybe if there are one or multiple sites before the payload, it doesn't work properly anymore?

How about this:
http://wiiulib.arndroid.nl/hello2/

(Also thanks for testing)

Edit:

That really seems to be the case... (I was hoping it wasn't)

But on hello2 I have the index.html that selects the correct payload as a extra webpage now, before the payload.
If that doesn't work, then I could just direct link all the correct payloads instead.

Otherwise, I'll have to find some way to clean the WiiU's memory, or whatever the case may be, when clicking on a homebrew on my site.

That one also worked first try.
 
  • Like
Reactions: Adr990

Lory171

Well-Known Member
Newcomer
Joined
Jun 20, 2015
Messages
45
Trophies
0
Age
26
XP
160
Country
Italy
  • Like
Reactions: Adr990

Adr990

To boldly go where no man has gone before!
Member
Joined
Apr 22, 2007
Messages
1,567
Trophies
0
Location
The Netherlands
Website
www.hyrule.net
XP
737
Country
Netherlands
I 've already tried index.html and it s working, knowing the problem is in the menu page it will probably be something you implemented to interact with the wii u.
Alright, thanks guys. :)

Then I'll look into it, mess around, and tell you guys to test some more. haha
I have a few idea's actually, but I'm not sure.

Edit:
If anyone has suggestions, I'd be pleased to hear them.

Edit2:
Here are some quick test versions I made:

http://wiiulib.arndroid.nl/test_1/
http://wiiulib.arndroid.nl/test_2/
http://wiiulib.arndroid.nl/test_3/

@Lory171
@Kappacat
Again, thanks in advance.
 
Last edited by Adr990,
General chit-chat
Help Users
    Skelletonike @ Skelletonike: wth happened during lunch break?