UDPIH: USB Host Stack exploit + Recovery Menu

It's been a while without any major exploits in the Wii U scene, so I present to you:

USB Descriptor Parsing Is Hard (UDPIH)

An exploit for the Wii U's USB Host Stack. Pronounced like "mud pie" without the M.

The write-up can be found here!

What does this mean?​

Since the USB Stack is running before anything on the PPC side of the Wii U is booted, this allows unbricking things like CBHC bricks without any soldering!


Requirements​

  • A Wii U
  • One of the devices listed below
    Note: Any other linux device capable of USB device emulation should work as well.
    Prebuilt releases are only available for the Pico and Zero.
    I will add more devices below which are confirmed to work.

Supported devices:​

  • A Raspberry Pi Pico or Zero
  • A Nintendo Switch capable of running udpih_nxpayload

Instructions​

Pico​

  • Download the latest udpih.uf2 from the releases page.
  • Hold down the BOOTSEL button on the board and connect the Pico to your PC.
    Your PC will detect the Pi as a storage device.
  • Copy the .uf2 file to the Pico. It will disconnect after a few seconds.
The Pico is now flashed and can be used for udpih. Continue with "Booting the recovery_menu" below.

Raspberry Pi Zero (Linux)​

  • Install the required dependencies:
    Bash:
    sudo apt install build-essential raspberrypi-kernel-headers
  • Clone the repo:
  • Bash:
    git clone https://github.com/GaryOderNichts/udpih.git
    cd udpih
  • Download the latest arm_kernel.bin.h from the releases page and copy it to the arm_kernel directory.
  • Now build the kernel module:
  • Bash:
    cd linux
    make
  • You can now run sudo insmod udpih.ko to insert the kernel module into the kernel.
The Zero is now ready to be used for udpih.
Note that you'll need to insert the module again after rebooting the Zero. You will need 2 USB cables, one for powering the Zero and one which can be connected to the Wii U.

Continue with "Booting the recovery_menu" below.

Booting the recovery_menu​

warning
Important notes for this to work:
  • Make sure no other USB Devices are attached to the console.
  • Only use USB ports on the front of the console, the back ports will not work.
  • If your console has standby mode enabled, pull the power plug and turn it on from a full coldboot state.
  • Copy the latest release of the recovery_menu to the root of your FAT32 formatted SD Card.
  • Insert the SD Card into the console and power it on.
  • As soon as you see the "Wii U" logo on the TV or Gamepad plug in your Zero/Pico.
    This timing is important. If you're already in the menu, the exploit won't work..
  • After a few seconds you should be in the recovery menu.
So what's this recovery menu? The recovery menu allows you to fix several bricks:
screenshot

Wii U Recovery Menu

A simple recovery menu running on the IOSU for unbricking.

Options​

Set Coldboot Title
Allows changing the current title the console boots to.
Useful for unbricking CBHC bricks.
Possible options are:
  • Wii U Menu (JPN) - 00050010-10040000
  • Wii U Menu (USA) - 00050010-10040100
  • Wii U Menu (EUR) - 00050010-10040200
On non-retail systems the following additional options are available:
  • System Config Tool - 00050010-1F700500
  • DEVMENU (pre-2.09) - 00050010-1F7001FF
  • Kiosk Menu - 00050010-1FA81000
Dump Syslogs
Copies all system logs to a logs folder on the root of the SD Card.

Dump OTP + SEEPROM
Dumps the OTP and SEEPROM to otp.bin and seeprom.bin on the root of the SD Card.

Start wupserver
Starts wupserver which allows connecting to the console from a PC using wupclient.

Load Network Configuration
Loads a network configuration from the SD, and temporarily applies it to use wupserver.
The configurations will be loaded from a network.cfg file on the root of your SD.
For using the ethernet adapter, the file should look like this:
Code:
type=eth

For using wifi:
Code:
type=wifi
ssid=ssidhere
key=wifikeyhere
key_type=WPA2_PSK_AES

Pair Gamepad
Displays the Gamepad Pin and allows pairing a Gamepad to the system. Also bypasses any region checks while pairing.
The numeric values represent the following symbols: ♠ = 0, ♥ = 1, ♦ = 2, ♣ = 3.
Note that rebooting the system might be required to use the newly paired gamepad.

Install WUP
Installs a valid signed WUP from the install folder on the root of your SD Card.
Don't place the WUP into any subfolders.

Edit Parental Controls
Displays the current Parental Controls pin configuration.
Allows disabling Parental Controls.

Debug System Region
Fixes bricks caused by setting productArea and/or gameRegion to an invalid value. Symptoms include being unable to launch System Settings or other in-region titles.

System Information
Displays info about several parts of the system.
Including serial number, manufacturing date, console type, regions, memory devices...

Credits​

Special thanks to Maschell, rw-r-r-0644, QuarkTheAwesome, vgmoose, exjam, dimok789, and everyone else who contributed to the Wii U scene!
 
Last edited by GaryOderNichts,

Firexploit

Well-Known Member
Newcomer
Joined
Nov 7, 2018
Messages
77
Trophies
0
Location
NintendoSDK
XP
1,122
Country
Germany
Do you know how I can uninstall games from the nand using recovery menu? I guess it can be done using wupserver but I dunno any commands that allows me to do this. Sadly I also couldn't find much about wupserver when I searched the internet for it.

I need to uninstall games from the nand becuz my Wii U has a locked account and not enough memory to create a new account.
I would be really happy if you could help me :yayu:
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,839
Trophies
2
XP
7,944
Country
United Kingdom
@gary is the rpx replacement payload working? I saw there was a download in the actions section, but no matter how many times I try it doesn't work, it boots to the WiiU Menu but if I try to load a Channel (which is supposed to load a launch.rpx file from the root) it just boots the Channel normally :P Is there any way to confirm it has worked?

I can boot the default exploit fine, I'm using the NX Payload on switch to boot the exploit.
 

GaryOderNichts

Well-Known Member
OP
Member
Joined
Aug 9, 2018
Messages
792
Trophies
1
XP
5,521
Country
Germany
@gary is the rpx replacement payload working? I saw there was a download in the actions section, but no matter how many times I try it doesn't work, it boots to the WiiU Menu but if I try to load a Channel (which is supposed to load a launch.rpx file from the root) it just boots the Channel normally :P Is there any way to confirm it has worked?

I can boot the default exploit fine, I'm using the NX Payload on switch to boot the exploit.
It should work, at least from the testing I've done.
I uploaded another build on discord which might work: https://cdn.discordapp.com/attachments/279783073497874442/992148005052493915/recovery_menu
 
  • Like
Reactions: ploggy

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,839
Trophies
2
XP
7,944
Country
United Kingdom
It should work, at least from the testing I've done.
I uploaded another build on discord which might work: https://cdn.discordapp.com/attachments/279783073497874442/992148005052493915/recovery_menu
Thank You, I'll try it out. Is there a confirmation on success, obviously you can tell the udpih exploit works because it boots to the Recover Menu but for the RPX Replacment when successful it boots to the System Menu?
The only way to know for sure would be to boot a Channel after it loads the system Menu and see if it boots the Launch.rpx from root?
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,839
Trophies
2
XP
7,944
Country
United Kingdom
@gary it still doesnt want to catch, I think it could probably be the Switch payload, even though it works for the default recovery menu..
I have a Pico in the post I'll check again once that turns up..
The full permissions and codegen access sounds very nice :D
 
  • Like
Reactions: GaryOderNichts

Firexploit

Well-Known Member
Newcomer
Joined
Nov 7, 2018
Messages
77
Trophies
0
Location
NintendoSDK
XP
1,122
Country
Germany

carlos1984

Member
Newcomer
Joined
Jun 8, 2020
Messages
18
Trophies
0
Age
40
XP
78
Country
Canada
Hi GaryOderNichts so I have a question. My son bricked his wiiu by formatting after cbhc. So I tr ried the hardwood. It said the process was successful so put everything back together removed wired from teensy but it would still not boot. So I tried again to rewrite to the wiiu . The wiiu is recognized but the write always fails. Also now when I try to turn it on nothing happens. Is there a chance that your method would work to tecover this wiiu?
 

MXRD4K1LL4

Well-Known Member
Member
Joined
Jan 17, 2022
Messages
139
Trophies
0
XP
377
Country
Canada
Hi GaryOderNichts so I have a question. My son bricked his wiiu by formatting after cbhc. So I tr ried the hardwood. It said the process was successful so put everything back together removed wired from teensy but it would still not boot. So I tried again to rewrite to the wiiu . The wiiu is recognized but the write always fails. Also now when I try to turn it on nothing happens. Is there a chance that your method would work to tecover this wiiu?
What happens when you boot up the Wii u?
 
  • Like
Reactions: Jiba

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
    +1
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
    +1
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
  • rqkaiju2 @ rqkaiju2:
    THIS IMAGE IS SO SCARY WTF. THAT SURE AS HELL IS NOT A CAT THATS LIKE A FUCKING DEMON

    Untitled2.png
  • Psionic Roshambo @ Psionic Roshambo:
    Bonus points for running things over with the lawn mower?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Monster truck Lawn Mower extreme
    Psionic Roshambo @ Psionic Roshambo: Monster truck Lawn Mower extreme