Tutorial
Updated
Compiling CFW on Mac rxTools, ReiNand and CakesFW -Noob-Friendly-
Recently I came in a problem with compiling on a mac, now that it is fixed. I realise how little tutorials there are on compiling on mac, so this is my spin on it!
Section 1: Universal Requirements and Instructions:
Xcode (found on Mac App Store and here, used to get make and other development commands)
DevKit Pro Download here
Python 2.7 Download here
1. Once you downloaded Xcode, go to the directory you downloaded the DevKit Pro file in Terminal.
2. Run in terminal "perl devkitARMupdate.pl"
3. Run command "defaults write com.apple.finder AppleShowAllFiles YES"
4. Hold alt/option key and Right Click Finder
5. Click Relaunch
6. open in TextEdit ".bash_profile" and enter in at the bottom after a return:
Replace <username> with your UserName
7. Install the Python .pkg file
8. Run cd Documents
9. Run command "git clone --recursive https://github.com/Kingcom/armips.git"
10. Run "cd armips/"
11. Run " cmake" and drag CMakeLists.txt to terminal so it displays something like this
12. Run "make"
13. Copy the newly generated file "armips" to /Users/<username>/devkitPro/devkitARM/bin
Section 2: Optional
From this point on you can choose your CFW from this list.
Section 3: Copying files over
1. Copy the corresponding files over to the SD card
Thanks for reading, any problems just ask me!
Credits:
ihaveamac: for helping me with the .bash_profile bit
mxalbert1996: for helping with a rxTools issue
MrMandraque: for helping me with an rxTools issue
AlbertoSonic: for helping me with an rxTools issue
duke_srg: for helping me with an rxTools issue
Everyone that made rxTools: for making rxTools!
Everyone that made ReiNand
Everyone that made CakesFW
Disclaimer: Most credits come from their respective GitHub pages
Section 1: Universal Requirements and Instructions:
Xcode (found on Mac App Store and here, used to get make and other development commands)
DevKit Pro Download here
Python 2.7 Download here
1. Once you downloaded Xcode, go to the directory you downloaded the DevKit Pro file in Terminal.
2. Run in terminal "perl devkitARMupdate.pl"
3. Run command "defaults write com.apple.finder AppleShowAllFiles YES"
4. Hold alt/option key and Right Click Finder
5. Click Relaunch
6. open in TextEdit ".bash_profile" and enter in at the bottom after a return:
Code:
export DEVKITPRO="/Users/<username>/devkitPro"
export DEVKITARM="$DEVKITPRO/devkitARM"
export CTRULIB="$DEVKITPRO/libctru"
PATH="$DEVKITARM/bin:${PATH}"
export PATH
7. Install the Python .pkg file
8. Run cd Documents
9. Run command "git clone --recursive https://github.com/Kingcom/armips.git"
10. Run "cd armips/"
11. Run " cmake" and drag CMakeLists.txt to terminal so it displays something like this
Code:
cmake /Users/<UserName>/Documents/armips/CMakeLists.txt
12. Run "make"
13. Copy the newly generated file "armips" to /Users/<username>/devkitPro/devkitARM/bin
Section 2: Optional
From this point on you can choose your CFW from this list.
Run "git clone --recursive https://github.com/roxas75/rxTools.git"
1. Run "sudo port install ImageMagick" (This will take a while)
2. Run "make release" in rxTools
1. Run "sudo port install ImageMagick" (This will take a while)
2. Run "make release" in rxTools
Run "git clone --recursive https://github.com/Reisyukaku/ReiNand.git"
1. Just run "make"!
2. You've finished!
1. Just run "make"!
2. You've finished!
Run "git clone --recursive https://github.com/mid-kid/CakesForeveryWan.git"
1. Just run "make"!
2. You've finished
1. Just run "make"!
2. You've finished
Run "git clone --recursive https://github.com/AuroraWright/AuReiNand.git"
1. Just run "make"!
2. You've finished!
1. Just run "make"!
2. You've finished!
Section 3: Copying files over
1. Copy the corresponding files over to the SD card
Thanks for reading, any problems just ask me!
Credits:
ihaveamac: for helping me with the .bash_profile bit
mxalbert1996: for helping with a rxTools issue
MrMandraque: for helping me with an rxTools issue
AlbertoSonic: for helping me with an rxTools issue
duke_srg: for helping me with an rxTools issue
Everyone that made rxTools: for making rxTools!
- All the documentation on http://3dbrew.org, and to all the devs who contributed
- Roxas75, myself, as the creator of rxTools
- Gateway team, for their work
- Reisyukaku for New 3DS MSET
- Archshift, who wrote some useful libs I used: https://github.com/archshift
- Many GBATemp users, who helped in the testing process
- patois, who developed BRAHMA: https://github.com/patois/Brahma
- mid-kid and b1l1s, who developed CakeHax: https://github.com/mid-kid/CakeHax
- Many other people who helped me in private
- All the dudes who reversed and fucked up my project, who wasted their time on making useless keeping the sources private
Cakes team for teaching me a few things and just being helpful in general! And for ROP/mset related code, and crypto libs.
3DBREW for saving me plenty of reverse engineering time.
Patois for Brahma code.
Normmatt for sdmmc.c and generally being helpful!
Rei for coding everything else.
The community for your support and help!
3DBREW for saving me plenty of reverse engineering time.
Patois for Brahma code.
Normmatt for sdmmc.c and generally being helpful!
Rei for coding everything else.
The community for your support and help!
Everyone that made CakesFW
- b1|1s for the POC based on a decompilation of rxTools, porting it to spider and a lot of help when creating this. He's the guy who reverse-engineered all the info I needed for this.
- Normmatt for the emuNAND patch.
- Roxas75 for the font and firmlaunchax on MSET (rxTools)
- 3dbrew for info
- Apache Thunder for being a fearless test-kanninchen.
- Gateway for some offsets
- Mid-Kid
Disclaimer: Most credits come from their respective GitHub pages
Last edited by jackb994,
, Reason: Update: Added AuReiNand and fixed typos