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:
Code:
export DEVKITPRO="/Users/<username>/devkitPro"
export DEVKITARM="$DEVKITPRO/devkitARM"
export CTRULIB="$DEVKITPRO/libctru"

PATH="$DEVKITARM/bin:${PATH}"
export PATH
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
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

Run "git clone --recursive https://github.com/Reisyukaku/ReiNand.git"

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

Run "git clone --recursive https://github.com/AuroraWright/AuReiNand.git"

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!
  • Roxas75, myself, as the creator of rxTools
  • Gateway team, for their work
  • Reisyukaku for New 3DS MSET
  • Many GBATemp users, who helped in the testing process
  • 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
Everyone that made ReiNand
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!

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
  • Like
Reactions: RayFirefist

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    i mean, multiple have happened in my lifetime, but it's always been too cloudy
  • BakerMan @ BakerMan:
    IT'S LIKE THAT ALMOST EVERY FUCKING METEOR SHOWER TOO
  • BigOnYa @ BigOnYa:
    You need to setup a time lapse camera, be neat
  • BigOnYa @ BigOnYa:
    I actually use a pic of it on my pc desktop cause its cool looking
  • Xdqwerty @ Xdqwerty:
    Apparently the pro versión of pizza boy is back aswell
  • Xdqwerty @ Xdqwerty:
    Gonna download the update
  • Xdqwerty @ Xdqwerty:
    Only 2 antiviruses detected the APK as a virus on virustotal so it Must be safe
  • Xdqwerty @ Xdqwerty:
    Cuz false positive
  • Xdqwerty @ Xdqwerty:
    Wait
  • Xdqwerty @ Xdqwerty:
    Eh nvm
  • BakerMan @ BakerMan:
    sadly, the clouds are setting in now

    hey BigOnYa the clouds are coming from the south, maybe check again
  • Xdqwerty @ Xdqwerty:
    Good night it's 11 pm
  • BakerMan @ BakerMan:
    night
  • BigOnYa @ BigOnYa:
    @BakerMan Nuh I'm in for the night playing Fallout 4, ill look tomorrow night
  • BigOnYa @ BigOnYa:
    Ok had let dog out, and yea still can't see it, oh well. Maybe tom night.
  • K3Nv2 @ K3Nv2:
    Ballocks these drives aren't allowing raid
  • BigOnYa @ BigOnYa:
    That sucks, well you will get double the space then atleast.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy needs to come back
  • BigOnYa @ BigOnYa:
    Did you try Raid 10?
  • K3Nv2 @ K3Nv2:
    I did raid69
  • K3Nv2 @ K3Nv2:
    The physical disk keeps disabling in bios
  • BakerMan @ BakerMan:
    hey ken did you see the aurora tonight?
  • BakerMan @ BakerMan:
    also sorry it was too cloudy, that sucks
  • SylverReZ @ SylverReZ:
    @K3Nv2, This chat is sponsored by Raid Shadow Legends.
    SylverReZ @ SylverReZ: @K3Nv2, This chat is sponsored by Raid Shadow Legends.