Tutorial  Updated

Building iosuhax on windows

In this tutorial I will go over how to build iosuhax from either my branch (for wupserver only) or dimoks branch (for rednand and signature patches) without having anything related installed yet.

Getting python
The first thing you want to do is download python, for this guide you will click download python 3.5, this will give you the current 3.5 32bit installer of python. If you already have a python 2 installation and you dont want to uninstall for python 3 then skip this step but note that you may have to add the python installation path into the PATH variable yourself if you didnt do that during that installation.
After opening the 3.5 32bit installer make sure to enable "Add Python 3.5 to PATH" because we want to be able to call python from anywhere, now let it install.

Installing pycrypto
To easly install pycrypto we will install it from this github page for the current 3.5 or this page for 2.7 if you have that. Open up a command prompt by for example pressing windows+r and typing in "cmd", in this command prompt you want to enter the following (just copy paste this depending on your python version):
PYTHON 3
Python 3.5 32bit:
Code:
pip install --use-wheel --no-index --find-links=https://github.com/sfbahr/PyCrypto-Wheels/raw/master/pycrypto-2.6.1-cp35-none-win32.whl pycrypto
Python 3.5 64bit:
Code:
pip install --use-wheel --no-index --find-links=https://github.com/sfbahr/PyCrypto-Wheels/raw/master/pycrypto-2.6.1-cp35-none-win_amd64.whl pycrypto
PYTHON 2
Python 2.7 32bit:
Code:
pip install --use-wheel --no-index --find-links=https://bitbucket.org/alexandrul/wheels/downloads/pycrypto-2.6.1-cp27-none-win32.whl pycrypto
Python 2.7 64bit:
Code:
pip install --use-wheel --no-index --find-links=https://bitbucket.org/alexandrul/wheels/downloads/pycrypto-2.6.1-cp27-none-win_amd64.whl pycrypto
If you have any older python 2/3 version then maybe just consider upgrading to the current version of python 2/3.
This will automatically install pycrypto for your python version, just let it finish up.

Getting devkitARM
Download the devkitpro updater from here and start it up, it will give you quite a few options on things to install, all you need to select is "Minimal System" and "devkitARM", you can uncheck everything else. Now just let it download and install everything.

Getting armips
For armips you can just download my pre-compiled exe and put it into "C:\devkitPro\msys\bin" so it can be directly used on compilation.

Downloading and preparing iosuhax
Depending on what you want head over to my branch or dimoks branch, click on "Clone or download" and if you have git then clone it, if you dont have git just click "Download ZIP" and extract the contents of it into a new folder on your computer. Make sure that new full folder path does not contain any spaces, a wrong path would be "C:\my folder\iosuhax", a correct folder would be "C:\my_folder\iosuhax".

Now if you have "the 2 keys" already you can edit the getfwimg from the little guide below:
Go into the "bin" folder, right click on getfwimg and select "Edit with IDLE", put the 2 keys in like this:
Code:
wiiu_common_key = "D7000000000000000000000000000000"
starbuck_ancast_key = "B5000000000000000000000000000000"
Of course these are not the full keys but only their first 2 digits. Now just save it.
If you dont have "those 2 keys" you can easly get them from your wiiu itself like this without having to edit any scripts:
Go grab otp2sd and start it via the homebrew launcher, it will just restart you and place a otp.bin on your wiiu sd card. Copy that otp.bin one folder above the iosuhax one so in our example let iosuhax be in "C:\my_folder\iosuhax", so you copy otp.bin into "C:\my_folder", iosuhax will find that otp.bin and use it automatically, you dont need to edit any scripts this way.

Now that you finally prepared iosuhax its time to compile it! Shift-right click in the iosuhax main folder, click on "Open command window here" and just type in "make" and press enter, this will get you a fw.img as output which you can put on you sd card root and use in cfw booter! If it failed to compile because of commands being unknown you may have to reboot your computer to make sure it properly installed all of the software.

I hope with this you were able to successfully compile iosuhax, now have fun with it :)

Note by Cyan:
Dimok branch can now build both CFW with and without NAND redirection to SD card, while Fix94 branch only compile a SysNAND CFW.

Fix94 branch : sysNAND. doesn't have latest cfw patches, but fix94 version contain new wupserver command instead.
Dimok branch : sysNAND and redNAND. This branch has currently more features than fix94 branch (allows HBL channel version installation, unrestricted NAND FTP access, NAND to SD dump, FAT32 USB mount support, etc.)

When you are at the compiling step,
fix94 sysNAND, type : make
dimok sysNAND, type : make cfw
dimok redNAND, type : make redNAND
by default, typing only "make" on dimok branch, it will build redNAND
 
Last edited by Cyan, , Reason: Added new compile steps and differences between Fix94 and Dimok branches.

N3wbs

Well-Known Member
Newcomer
Joined
Feb 10, 2016
Messages
70
Trophies
0
Location
In the matrix
XP
170
Country
Canada
I did and it just says unrecognised command
go to C:\my_folder

my folder without space in the name.
Put OTP.bin here

make sure C:\my_folder\iosuhax (was here)

Shift-right click in the iosuhax main folder, click on "Open command window here" and just type in "make" and press enter

--------------------- MERGED ---------------------------
 

Attachments

  • 111.jpg
    111.jpg
    274.6 KB · Views: 232

tunip3

[debugger active]
Banned
Joined
Oct 31, 2016
Messages
1,675
Trophies
0
XP
1,661
Country
United Kingdom
In this tutorial I will go over how to build iosuhax from either my branch (for wupserver only) or dimoks branch (for rednand and signature patches) without having anything related installed yet.

Getting python
The first thing you want to do is download python, for this guide you will click download python 3.5, this will give you the current 3.5 32bit installer of python. If you already have a python 2 installation and you dont want to uninstall for python 3 then skip this step but note that you may have to add the python installation path into the PATH variable yourself if you didnt do that during that installation.
After opening the 3.5 32bit installer make sure to enable "Add Python 3.5 to PATH" because we want to be able to call python from anywhere, now let it install.

Installing pycrypto
To easly install pycrypto we will install it from this github page for the current 3.5 or this page for 2.7 if you have that. Open up a command prompt by for example pressing windows+r and typing in "cmd", in this command prompt you want to enter the following (just copy paste this depending on your python version):
PYTHON 3
Python 3.5 32bit:
Code:
pip install --use-wheel --no-index --find-links=https://github.com/sfbahr/PyCrypto-Wheels/raw/master/pycrypto-2.6.1-cp35-none-win32.whl pycrypto
Python 3.5 64bit:
Code:
pip install --use-wheel --no-index --find-links=https://github.com/sfbahr/PyCrypto-Wheels/raw/master/pycrypto-2.6.1-cp35-none-win_amd64.whl pycrypto
PYTHON 2
Python 2.7 32bit:
Code:
pip install --use-wheel --no-index --find-links=https://bitbucket.org/alexandrul/wheels/downloads/pycrypto-2.6.1-cp27-none-win32.whl pycrypto
Python 2.7 64bit:
Code:
pip install --use-wheel --no-index --find-links=https://bitbucket.org/alexandrul/wheels/downloads/pycrypto-2.6.1-cp27-none-win_amd64.whl pycrypto
If you have any older python 2/3 version then maybe just consider upgrading to the current version of python 2/3.
This will automatically install pycrypto for your python version, just let it finish up.

Getting devkitARM
Download the devkitpro updater from here and start it up, it will give you quite a few options on things to install, all you need to select is "Minimal System" and "devkitARM", you can uncheck everything else. Now just let it download and install everything.

Getting armips
For armips you can just download my pre-compiled exe and put it into "C:\devkitPro\msys\bin" so it can be directly used on compilation.

Downloading and preparing iosuhax
Depending on what you want head over to my branch or dimoks branch, click on "Clone or download" and if you have git then clone it, if you dont have git just click "Download ZIP" and extract the contents of it into a new folder on your computer. Make sure that new full folder path does not contain any spaces, a wrong path would be "C:\my folder\iosuhax", a correct folder would be "C:\my_folder\iosuhax".

Now if you have "the 2 keys" already you can edit the getfwimg from the little guide below:
Go into the "bin" folder, right click on getfwimg and select "Edit with IDLE", put the 2 keys in like this:
Code:
wiiu_common_key = "D7000000000000000000000000000000"
starbuck_ancast_key = "B5000000000000000000000000000000"
Of course these are not the full keys but only their first 2 digits. Now just save it.
If you dont have "those 2 keys" you can easly get them from your wiiu itself like this without having to edit any scripts:
Go grab otp2sd and start it via the homebrew launcher, it will just restart you and place a otp.bin on your wiiu sd card. Copy that otp.bin one folder above the iosuhax one so in our example let iosuhax be in "C:\my_folder\iosuhax", so you copy otp.bin into "C:\my_folder", iosuhax will find that otp.bin and use it automatically, you dont need to edit any scripts this way.

Now that you finally prepared iosuhax its time to compile it! Shift-right click in the iosuhax main folder, click on "Open command window here" and just type in "make" and press enter, this will get you a fw.img as output which you can put on you sd card root and use in cfw booter! If it failed to compile because of commands being unknown you may have to reboot your computer to make sure it properly installed all of the software.

I hope with this you were able to successfully compile iosuhax, now have fun with it :)
;




i have completely followed the tutorial but the make command continually does not work and is unrecognised by cmd it may be because also devkit pro fails to install something about bin; and a string
 

BIFFTAZ

Well-Known Member
Member
Joined
Jul 26, 2010
Messages
596
Trophies
1
XP
846
Country
Iv done these a few times now, Im sure they're done right. Leave these here for reference.

Dimoks redNAND 15/11/2016
Code:
MD5 = CDA2C0E74BB7361790EE05A2F6BC74E1
SHA1 = 581F942BF1BB94355AB9B0751A135467F5C790B9
SHA-256 = C225B8F87896F78C5CCE69140624577BEC16BE3E8D51FCEA98EC4C2EA7E3F1E9

FIX94 IOSUHAX 15/11/2016
Code:
MD5 = 91AEC1450002169E68C86ED1DC75CDBD
SHA1 = 0DEBE7B0E3F7B66031BED29846269E1604582842
SHA-256 = C69C4D8F7C101E1860C23ADA9951FB8F5240C953444712FFDC8A2D429D465305
 

vickdu31

Well-Known Member
Member
Joined
Nov 14, 2016
Messages
228
Trophies
0
Age
27
XP
353
Country
Iv done these a few times now, Im sure they're done right. Leave these here for reference.

Dimoks redNAND 15/11/2016
Code:
MD5 = CDA2C0E74BB7361790EE05A2F6BC74E1
SHA1 = 581F942BF1BB94355AB9B0751A135467F5C790B9
SHA-256 = C225B8F87896F78C5CCE69140624577BEC16BE3E8D51FCEA98EC4C2EA7E3F1E9

FIX94 IOSUHAX 15/11/2016
Code:
MD5 = 91AEC1450002169E68C86ED1DC75CDBD
SHA1 = 0DEBE7B0E3F7B66031BED29846269E1604582842
SHA-256 = C69C4D8F7C101E1860C23ADA9951FB8F5240C953444712FFDC8A2D429D465305

Thanks for a little clarification. I would like to ask one last thing.

There are 4 sources of iosuhax 2 of them have different readme.

Sources FIX94 : https://github.com/FIX94/iosuhax
Dimok784 : https://github.com/dimok789/iosuhax
Smealum (oldest one, doesnt include sign patch made by fix94) : https://github.com/smealum/iosuhax
Mashell : https://github.com/Maschell/iosuhax

Which ones of them boot on SYSNAND and which one of them boot on REDNAND ?
 

RealityNinja

Well-Known Member
Member
Joined
Nov 4, 2015
Messages
1,716
Trophies
0
Location
Pokéland
XP
667
Country
France
Thanks for a little clarification. I would like to ask one last thing.

There are 4 sources of iosuhax 2 of them have different readme.

Sources FIX94 : https://github.com/FIX94/iosuhax
Dimok784 : https://github.com/dimok789/iosuhax
Smealum (oldest one, doesnt include sign patch made by fix94) : https://github.com/smealum/iosuhax
Mashell : https://github.com/Maschell/iosuhax

Which ones of them boot on SYSNAND and which one of them boot on REDNAND ?
FIX94 -> sysnand
Dimok784 -> rednand
 
Last edited by RealityNinja,
  • Like
Reactions: vickdu31

BIFFTAZ

Well-Known Member
Member
Joined
Jul 26, 2010
Messages
596
Trophies
1
XP
846
Country
Thanks for a little clarification. I would like to ask one last thing.

There are 4 sources of iosuhax 2 of them have different readme.

Sources FIX94 : https://github.com/FIX94/iosuhax
Dimok784 : https://github.com/dimok789/iosuhax
Smealum (oldest one, doesnt include sign patch made by fix94) : https://github.com/smealum/iosuhax
Mashell : https://github.com/Maschell/iosuhax

Which ones of them boot on SYSNAND and which one of them boot on REDNAND ?
Fix94 & maschell is for sysnand, Dimok is redand.

--------------------- MERGED ---------------------------

FIX94 -> sysnand
Dimok -> rednand
I thought others were saying in another thread that maschell was just iosuhax Which allow that nus packer on sysnand? Maybe a different branch I'm talking about.

--------------------- MERGED ---------------------------

In any case, just stick to either dimok & fix94
 
Last edited by BIFFTAZ,
  • Like
Reactions: vickdu31

vickdu31

Well-Known Member
Member
Joined
Nov 14, 2016
Messages
228
Trophies
0
Age
27
XP
353
Country
Fix94 & maschell is for sysnand, Dimok is redand.

--------------------- MERGED ---------------------------


I thought others were saying in another thread that maschell was just iosuhax Which allow that nus packer on sysnand? Maybe a different branch I'm talking about.

--------------------- MERGED ---------------------------

In any case, just stick to either dimok & fix94
Not that I don't beleive you but are you sure FIX94 and Dimok version are not similar ?
Latest commit on FIX94 is : -sync with dimoks fork
https://github.com/FIX94/iosuhax
 

torekiki

Well-Known Member
Newcomer
Joined
Mar 3, 2016
Messages
58
Trophies
0
Age
50
XP
690
Country
Italy
100% sure. Dimok is rednand, fix94 is iosuhax. It also says this in the very first line of the OP's post of this thread.
From latest DIMOK commit: "added make target to build redNAND or CFW for sysNAND with all patches (use "make redNAND" or "make cfw", default build is make redNAND)"!!!
 
  • Like
Reactions: BIFFTAZ

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
33
Location
Seinegald
XP
2,875
Country
Iraq
@Omegadrien hey mate, got some questions bear with me!

to get vwii on my wii u without requiring game i have to do this compiling stuff yes?

will i be able to play Skyward Sword after i finish building iosuhax+wuphax ?
and how would i be able to actually play it, would i have to go into the wii menu in order to load the game?

and finally , if i were to download the game , can i get it from newnusgrabber (in full titles i see the game) but would this work if i were to install it with the USB method? i currently have USB games already set up so i cant use another HDD i assume, so now i am confused as in how to load a wii game after setting up vwii.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Cool.