GaryOderNichts / udpih

Exploit for the Wii U's USB Host Stack
https://garyodernichts.blogspot.com/2022/06/exploiting-wii-us-usb-descriptor-parsing.html
GNU General Public License v2.0
285 stars 18 forks source link

Guide for when there's no tv signal #6

Open nelgin opened 1 year ago

nelgin commented 1 year ago

I'm faced with a WiiU with no tv signal. I can boot using a pico, the light turns purple but need to know which buttons to press in which order to get a log file dump and try to set boot to US device.

chepe263 commented 1 year ago

would this help? https://youtu.be/14n5r1rRB9s?t=338

nelgin commented 1 year ago

That is useful, thank you.

LuxBrush commented 1 year ago

What if the Wii U doesn't show the Wii U logo? After my system crashed during a file copy to the system memory, it doesn't show anything at all. It turns on, but all you get is the disc drive working, and then nothing. When should I plug in the Pico, or do I need to do something else? I have a felling I'm out of luck. -_-

nelgin commented 1 year ago

@LuxBrush It works for me after the drive starts to spin up a second time.

LuxBrush commented 1 year ago

@nelgin Thanks, but it's still not working for me. I really appreciate the reply. I'm trying to fix my friend's system that broke after I had just finished getting all of their games working. Their system was giving "the data errors" for all of their games. For some reason, I thought it was a good idea to copy one of the games back to system memory after everything was working, and that's when the whole system froze up, and now it won't work.

filipe-maia commented 1 year ago

I'm having the same problem, and I had to rely on youtube videos to be able to access the recovery_menu. I think that on the README.me of the UDPIH could be modified to: As soon as you see the "Wii U" logo on the TV or Gamepad (this logo usually comes up a little before or a little after the CD drive stops making it's initialization noises) plug in your Zero/Pico.

nelgin commented 1 year ago

There's someone, Jan I think, on Gary's Homebrew Channel on Discord that has made a version of UDPIH that doesn't require you to plug in the USB device as a certain point. Power on the WiiU with it plugged in and it'll go into the menu. This has been 100% reliable for me. It will even boot into UDPIH from a shutdown without you having to power off the device.

filipe-maia commented 1 year ago

Thanks @nelgin .

I decided to investigate, and found that V10lator made a pull request with the message "this allows to connect the Pico before turning the Wii U on, making it more simple": https://github.com/GaryOderNichts/udpih/pulls

Maybe the Jan you speak of got that version of UDPIH from V10lator, or maybe it's a different version.

Anyway, I cloned this repository: https://github.com/GaryOderNichts/udpih.git Then added the following lines to pico/main.c after line 163 (this is the same thing that V10lator did):

    gpio_init(PICO_DEFAULT_LED_PIN);
    gpio_set_dir(PICO_DEFAULT_LED_PIN, GPIO_OUT);
    gpio_put(PICO_DEFAULT_LED_PIN, 1);

    sleep_ms(8125);
    gpio_put(PICO_DEFAULT_LED_PIN, 0);

Then I ran the following commands to build:

docker build -t udpihbuilder .
docker run -it --rm -v ${PWD}:/project udpihbuilder make pico
docker run -it --rm -v ${PWD}:/project udpihbuilder make arm_kernel

Then I used the udpih.uf2 I've build. udpih.uf2.zip I've tried the new udpih.uf2 in 3 consoles and it worked:

Do you have the udpih.uf2 by Jan?