How to Use DevkitPro to Build CFW in Windows

A video tutorial can be found here:


Steps:

Grab devkitpro here: https://github.com/devkitPro/installer/releases

Grab Cygwin here: https://cygwin.com/install.html

Go to PC properties > Advanced system settings > Environment variables > add ;C:\devkitPro\devkitA64\bin and press OK


Now download ReiNX here: https://github.com/Reisyukaku/ReiNX

Extract the zip to your desktop

Open cmd and run the following commands:


cd desktop

cd ReiNX-master

make

Now open the ReiNX-master folder you extracted to your desktop and you'll find an 'out' folder which contains the compiled files you need on your SD card

You will need a way to inject the ReiNX.bin to your Switch. In my case I use TegraRCM which can be downloaded here:
https://gbatemp.net/threads/tegrarcmgui-simple-gui-for-tegrarcmsmash.503510/

Now all you have to do is open the TegraRCMGUI.exe and locate the ReiNX.bin file, connect your Switch to your PC (RCM Mode) and inject the payload to your Switch.

If TegraRCM doesn't detect your Switch you may need to install the APX drivers from here and make sure to install the libusk 3.0.7.0 drivers:
https://zadig.akeo.ie/

After you injected the .bin file your Switch should boot the CFW :)



Included in the attachment is a compiled version of ReiNX for those that don't want to compile :)
 

Attachments

  • rei.zip
    542.8 KB · Views: 299

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,313
Trophies
3
XP
12,109
Country
Poland
can anyone help me fix this error

x0): multiple definition of `sd_power_cycle_time_start'; build/bootloader.o:(.bss.sd_power_cycle_time_start+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:93: build/ReiNX.elf] Error 1
Why can't you just ask ReinX about their stuff?
They need to fix their stuff to make it work with newest gcc, so you won't compile it without downgrading devkit. And how to do that - i don't know.
 

LyuboA

Unknown Entity
Member
Joined
Jun 1, 2018
Messages
530
Trophies
0
XP
929
Country
Bulgaria
Why can't you just ask ReinX about their stuff?
They need to fix their stuff to make it work with newest gcc, so you won't compile it without downgrading devkit. And how to do that - i don't know.

you are sure this is the issue the new gcc version and not something else
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,313
Trophies
3
XP
12,109
Country
Poland
you are sure this is the issue the new gcc version and not something else
Yes, I'm sure. Many repos broke after last devkit update. Mainly ones that have shitton of repeated includes that need to be handled more pretty. :P

You won't even compile Atmosphere 0.12.0 now.
 

LyuboA

Unknown Entity
Member
Joined
Jun 1, 2018
Messages
530
Trophies
0
XP
929
Country
Bulgaria
Yes, I'm sure. Many repos broke after last devkit update. Mainly ones that have shitton of repeated includes that need to be handled more pretty. :P

You won't even compile Atmosphere 0.12.0 now.

Thanks i will try installing an older version if i can

EDIT: tried lots of old builds devkitarm devkita64 libnx and so on all the and still dosnt work
 
Last edited by LyuboA,

scandal_uk

Not Really There
Member
Joined
Oct 3, 2005
Messages
322
Trophies
0
Location
UK
XP
580
Country
United Kingdom
With the latest devkitarm build I have found that I have had to add the flag --allow-multiple-definition to a few different makefiles to get them to compile
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    +1
  • Xdqwerty @ Xdqwerty:
    sigh
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, could you change your username?
  • Xdqwerty @ Xdqwerty:
    i guess not...
  • Xdqwerty @ Xdqwerty:
    yawn
  • Xdqwerty @ Xdqwerty:
    anybody here?
    Xdqwerty @ Xdqwerty: anybody here?