User:Pcfree/RealWnW

From WiiBrew
Jump to: navigation, search
A Real On-Console Wii NAND Writer
General
Author(s)pcfree
TypeSystem tool
Versionv0.2 beta preview
Licencefree software
Peripherals
Wiimote.svg Loads files from the Front SD slot


It has been found that some flaws may exist in IOS NAND access. Downlink is temporarily removed.

This program has been superseded by RealWnP. The new version of RealWnW included with RealWnP use new but incompatible packed NAND image file format to save space.


THIS PROGRAM IS FOR BETA TESTERS ONLY. THE BETA TESTERS SHOULD HAVE BOOTMII INSTALLED AS BOOT2 AND ALREADY BACKUP THEIR NAND BY BOOTMII.

WARNING

This program comes with ABSOLUTELY NO WARRANTY. It is a HIGHLY DANGEROUS program that may brick your Wii. USE AT YOUR OWN RISK. If you can install BootMii, please use the BootMii's NAND functions instead. Please note that CROSS-WRITE (programming other's image to your Wii console) will DEFINITELY BRICK your Wii. And power ailure during programming stage will also say GOOD-BYE to your Wii.


Introduction

RealWnW is an on-console Wii NAND writer/programmer. I know there is BootMii now, and it seems nobody need another NAND writer. I write it for fun and hope in the future it may help someone who cannot install BootMii or has SD compatibility issues in current BootMii release.

Please note that direct NAND writing is a TOP ONE HIGH RISK operation to your Wii. Currently this program is still a preview beta stage. Only beta testers who have BootMii/boot2 installed and already have NAND backup from BootMii should try this preview program, so that if the program does things wrong, you can use BootMii to restore your Wii.

Only Programming Stage is dangerous. And before Programming Stage, RealWnW will do the following pre-program test/analysis:

Basic Test:

  • Check if NAND could be opened and readable.
  • Analyze Imang & NAND FAT entries.
  • Compare FAT bad blocks info to ensure this is truly your image.

Adv Test (time-consuming):

  • Analyze FAT and compare data contents to find data needed to be writted and to ensure SD data readable.
  • Check if boot1s are matched to ensure this is your image.

Finally the program will write only necessary data to NAND. It also exclude BOOT BLOCK (blocks 0-7, the boot1 and boot2 area) to preserve BootMii if you are using the old image. Then it verify written contents. If verifying fails, it will retry.

There are two dol files in the packages. One use the default IOS assigned by loader (usually the HBC). The other will reload cIOS 249. You have to use old version of IOSes that do not block direct NAND access. The cIOS249 prior to and including rev10 should be OK. The cIOS249 rev12 is based on new IOS38 but not patched to unlock NAND access yet. I didn't try it but I know the original IOS38 has a "open-failure code" after comparing "/dev/" and then "flash". Also don't know if there are other check points. For those who is interested may try to patch it by yourselves. If it works, then any LU64+ that cannot use old IOSes may also use such patch method.

The program is in preview stage and use a bare text mode Q&A interface. And due to the fact that libogc/libfat have low efficiency for large file, you have to split your image into 16 sub-images by my attached Win32 Console program. It greatly improve performance in advanced test stage and programming/verifying.

How To Use

Preparation

  • Install BootMii as boot2.
  • Backup your NAND by BootMii.
  • Prepare your own NAND images dumped by RealWnd, YaWnD, WiiND or even nand.bin from BootMii.

Operations

  • Use Win32\NImgGen.exe from the package to split your image into 16 sub-image files NImg00 to NImg15.
  • Copy 16 sub-images to directory "RealWnS" of SD card.
  • Try RealWnW or RealWnW_cIOS.