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.
  • ZeroT21 @ ZeroT21:
    it wasn't a question, it was fact
  • BigOnYa @ BigOnYa:
    He said he had 3 different doctors apt this week, so he prob there. Something about gerbal extraction, I don't know.
    +1
  • ZeroT21 @ ZeroT21:
    bored, guess i'll spread more democracy
  • LeoTCK @ LeoTCK:
    @K3Nv2 one more time you say such bs to @BakerMan and I'll smack you across the whole planet
  • K3Nv2 @ K3Nv2:
    Make sure you smack my booty daddy
    +1
  • LeoTCK @ LeoTCK:
    telling him that my partner is luke...does he look like someone with such big ne
    eds?
  • LeoTCK @ LeoTCK:
    do you really think I could stand living with someone like luke?
  • LeoTCK @ LeoTCK:
    I suppose luke has "special needs" but he's not my partner, did you just say that to piss me off again?
  • LeoTCK @ LeoTCK:
    besides I had bigger worries today
  • LeoTCK @ LeoTCK:
    but what do you know about that, you won't believe me anyways
  • K3Nv2 @ K3Nv2:
    @BigOnYa can answer that
  • BigOnYa @ BigOnYa:
    BigOnYa already left the chat
  • K3Nv2 @ K3Nv2:
    Biginya
  • BigOnYa @ BigOnYa:
    Auto correct got me, I'm on my tablet, i need to turn that shit off
  • K3Nv2 @ K3Nv2:
    With other tabs open you perv
  • BigOnYa @ BigOnYa:
    I'm actually in my shed, bout to cut 2-3 acres of grass, my back yard.
  • K3Nv2 @ K3Nv2:
    I use to have a guy for that thanks richard
  • BigOnYa @ BigOnYa:
    I use my tablet to stream to a bluetooth speaker when in shed. iHeartRadio, FlyNation
  • K3Nv2 @ K3Nv2:
    While the victims are being buried
  • K3Nv2 @ K3Nv2:
    Grave shovel
  • BigOnYa @ BigOnYa:
    Nuh those goto the edge of the property (maybe just on the other side of)
  • K3Nv2 @ K3Nv2:
    On the neighbors side
    +1
  • BigOnYa @ BigOnYa:
    Yup, by the weird smelly green bushy looking plants.
    K3Nv2 @ K3Nv2: https://www.the-sun.com/news/10907833/self-checkout-complaints-new-target-dollar-general-policies...