A complete Rednand guide

Discussion in 'Wii U - Tutorials' started by BurningDesire, Oct 31, 2016.

?

Did this work for you?

  1. No it bricked

    22 vote(s)
    37.3%
  2. Yes I can have free games!

    37 vote(s)
    62.7%
  1. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    THERE IS A VERY GOOD CHANCE THIS WILL WORK BUT YOUR WII U COULD ALSO BRICK! I AM NOT RESPONSIBLE IF IT DOES, okay? <3

    Requirements

    1. A 16gb SD card for a 8gb Wii U
    2. A 64gb SD card for a 32gb WiiU
    3. The Wii U common key, Starbuck Ancast key, and the Starbuck ancast iv

    Summarized Method

    1. Install Python 2.7
    2. Install Cygwin for make
    3. Build the fwimg

    Full tutorial

    1. Use git to download @FIX94's build scripts
    Git command
    2. Download @dimok's IOSUhax via git
    Git command
    3. cd dimokiosu
    4. mkdir bin
    5. Drag and drop /fix94iosuhax/bin/getfwimg.py into bin
    6. mkdir sections
    7. Drag and drop /fix94iosuhax/sections/gensections.py into sections
    8. Edit the keys at the top of getfwimg.py you will have to find them your self do not ask for them
    9. run getfwimg.py
    10. After that go into sections
    11. run gensections.py
    12. Make it!

    Running the fw.img

    1. Download CFW Booter
    2. Add it to your sd card
    3. Copy the fw.img you got from compiling dimok's iosuhax and place into the root of your sd card
    3. Back up your sd card
    4. Load up the Homebrew Launcher with a method of your choice
    5. Choose cfw booter and tap your power button (this will format your sd card) and dump your nand!
    6. Put it back to PC to copy fw.img to SD root again.
    7 Load up cfw booter again and you should be booted into rednand!

    Installing sysConfig tool

    MAKE SURE YOU INSTALL THIS IN REDNAND, YOU'LL BRICK IF YOU DON'T
    • Find iAqua's pastebin, download sysconfigtool from there.
    • Create a folder named install on the root of your sd card and copy the contents of sysconfigtool into it.
    • Download this and copy the stuff from the meta folder into sdroot/wiiu/apps/wupinstaller if you don't have this directory create it, then copy over wupinstaller.elf from the archive.
    • Boot up your redNAND and run the homebrew launcher.
    • Choose wupinstaller and then hit "A". It'll install.

    Repacking out-of-region games which you can boot from the Home Menu

    So the Home Menu restricts which games you can boot up based on its region, right? Sure, you could just use System Config Tool every time, but think of it a bit like Loadiine; it may start to get a little tedious, and may just want to take that little extra shortcut to booting your out-of-region games more easily. Follow this guide, and you'll be able to repack your O.o.R. content for your own Home Menu region in no time!
    - - - - - - - - - - - - - - - - -​
    This tutorial requires you to have the official SDK, for repacking contents. Team SALT apparently have better, more legal tools for packing up contents, so when that time arrives, this tutorial might be unneccessary and obsolete to some. (Alternatively, I will tweak it.)



    1 - Grab the installable content folder for your Out-of-region game (the one with the *.app and *.h3 files). Use New-NUSGrabber-GUI/CDecrypt to decrypt and extract the contents of those files, resulting in code/content/meta folders to be generated.

    2 - Locate the Dev Common key inside your Cafe SDK installation. It can be found inside the following file:

    \cafe_sdk\system\bin\tool\mastering\resources\makemaster\tik_sys.bin


    Open this file inside a hex editor, such as HxD or Hex Workshop. Replace the key you see in Hex view with the Retail Common key, then save the file. This will allow us to repack our game for retail.

    3 - Now locate your meta.xml file in the extracted 'meta' folder and open it inside a text editor. Personally, I like to use Programmers' Notepad for XML editing (or any other types of code editing, for that matter!), but you can use variants such as Notepad++.

    4 - as you scan down the file, you may come across a <region> node with a single number in the format 0000000X. Replace that value with one of the following values for your console's region:

    USA - 00000002
    EUR - 00000004
    JPN - 00000001​

    *These are the only values I know at the moment. I could look into a JPN meta.xml later on if I get the chance and add it for you, if you have any Japanese titles.

    5 - Save the edited meta.xml and download this batch script. (Make sure you have CAFE_ROOT** set in your environment variables before you run it.) People were still experiencing issues running the script, even after setting CAFE_ROOT, however there is now a workaround for the said issue! Use Nintendo Dev Interface to install and set up Cafe_SDK, which will set everything neccessary for the script, without error.

    Place the script into the same folder as the code/content/meta folders' location, then run the script.
    A new explorer window inside the output folder should now show; the folder you see inside it (OutOfRegionGame_p01 folder by default) is the folder you will be installing via System Config Tool. (I never used WUPInstaller Mod while testing this method; someone feel free to also test that out as well; it should work, but you never know...)

    ** How to set up CAFE_ROOT

    6 - Copy that said folder to your SD root. (Also rename it to 'install' if using WUPInstaller Mod) Open up your System Config Tool installation by either going to Mii Maker and exiting out the app, or opening the SCT app directly from your Home Menu; which ever way you installed it.
    Locate your SD folder to install by going to Data Management -> Manage Titles -> Install -> SD -> /YourFolderOnTheSD/ ~ Press A to select that folder, then press R to install. It may take a while to install the contents, as per usual.

    7 - Now boot back to the Home Menu (Do this by just going to Launch Title -> Wii U Menu from the SCT's root menu) and launch your out-of-region title that otherwise wouldn't have booted without SCT or Loadiine!

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Attention: These edited out-of-region titles will NOT boot from SysNAND since the ticket was regenerated during repacking. I believe the original 'legit' ticket won't fix that problem either. If you try to launch these in SysNAND, you'll just encounter errir 199-9999 and may have to restart your Wii U.



    FAQ

    Q: Python error unable to get vcvarall
    A: Download this
    then go to C:\Python27\Lib\distutils and open the file msvc9compiler.py and look for this line of code
    [​IMG]
    Afterwords add this to that segment
    Code:
    vcvarsall = "C:\Users\username\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0" +"/vcvarsall.bat" 
    Restart command prompt and it should work!

    Q: Make doesn't work after installing Cyqwin
    A: Be sure to install the devel package!

    Q: Crypto is missing
    A: Download Ez_install.py and run it then do python easy_install pycrypto in cmd

    Q: Python is not working in CMD?
    A: Be sure you set your system variables![/h]

    Credits:
    @iAqua for writing the config tool instuctions
    @punderino for building the config tool
    @Voxel for maintaining this guide
    @FIX94 for his scripts
    @dimok for nand dumper
    @smealum for iosuhax
     
    Last edited by iAqua, Nov 21, 2016 - Reason: spelling fixes
    yuyuyup, TheVinAnator, KiiWii and 5 others like this.


  2. proflayton123

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,811
    2,164
    Jan 11, 2016
    Japan
    日本
    Nice guide :)
     
    BurningDesire likes this.
  3. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    Thanks, i was writing this as I was doing it so it may not be perfect but it should be decent.
     
  4. proflayton123

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,811
    2,164
    Jan 11, 2016
    Japan
    日本
    Should help fellow noobs like me (Im a noob in the Wii U scene, not so quite 3DS scene)
     
  5. Exavold

    Exavold lol

    Member
    997
    1,059
    Nov 9, 2015
    France
    lol
    Super clean , nice work !
     
    BurningDesire likes this.
  6. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    Hehe that's my goal! I was late to the 3ds scene so I couldn't help much but I am right on time for the wii u scene!
     
  7. proflayton123

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,811
    2,164
    Jan 11, 2016
    Japan
    日本
    Good to see you here c:
     
    BurningDesire likes this.
  8. iAqua

    iAqua GBAtemp Addict

    Member
    GBAtemp Patron
    iAqua is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,754
    2,268
    Dec 7, 2015
    Antarctica
    How dare ye copy my thread! jk, but in all seriousness you're gonna need to add a couple more steps...
     
    BurningDesire likes this.
  9. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    Tell ya what, Let's share threads! What do I need to add. I'll that that from your thread and give you credit!
     
  10. iAqua

    iAqua GBAtemp Addict

    Member
    GBAtemp Patron
    iAqua is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,754
    2,268
    Dec 7, 2015
    Antarctica
    That sounds fun ;). How'bout you add me to this thread and i'll add a sysConfig guide?
     
  11. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    Sure thing!

    — Posts automatically merged - Please don't double post! —

    @iAqua The stage is yours for now!
     
  12. proflayton123

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,811
    2,164
    Jan 11, 2016
    Japan
    日本
    Two members coming together as one :3 just what I like to see <3
     
    TheVinAnator and BurningDesire like this.
  13. iAqua

    iAqua GBAtemp Addict

    Member
    GBAtemp Patron
    iAqua is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,754
    2,268
    Dec 7, 2015
    Antarctica
    Uhm...
     
  14. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    Did I do something wrong from adding you?
     
  15. iAqua

    iAqua GBAtemp Addict

    Member
    GBAtemp Patron
    iAqua is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,754
    2,268
    Dec 7, 2015
    Antarctica
    nvm fixed
     
  16. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    Tsk tsk tsk strike one mister! jk I'll fix it up
     
    proflayton123 likes this.
  17. iAqua

    iAqua GBAtemp Addict

    Member
    GBAtemp Patron
    iAqua is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,754
    2,268
    Dec 7, 2015
    Antarctica
    I fixed it ;p
     
  18. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    Oh I might of broke it then.. Sorry you might have to fix it again.
     
  19. DanTheMan827

    DanTheMan827 GBAtemp Advanced Fan

    Member
    630
    394
    May 3, 2015
    United States
    Wisconsin
    @BurningDesire I feel like there should be a poll on this thread... "Did you successfully install this without bricking?"

    Might be useful for people unsure of the whole thing...
     
  20. BurningDesire
    OP

    BurningDesire GBAtemp Psycho!

    Member
    4,962
    5,811
    Jan 27, 2015
    United States
    Behind a screen reading news
    Let me add it asap

    — Posts automatically merged - Please don't double post! —

    @iAqua The reason why I removed I'll laugh at you is cuz it sounds mean