Hacking Wii U Hacking & Homebrew Discussion

  • Thread starter Thread starter filfat
  • Start date Start date
  • Views Views 5,079,183
  • Replies Replies 21,104
  • Likes Likes 29
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.
 
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.
 
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.
 
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.
 
  • Like
Reactions: Adr990
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.
 
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
  • Like
Reactions: Adr990
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,

Site & Scene News

Popular threads in this forum