Right but I have nothing to upload just a code
you need to format a SD Card, download the ''payload.bin'' and sxos 2.6.1.zip files from sx.xecuter.rocks and then unpack the zip file and copy the ''boot.dat'' and ''payload.bin'' files to the SD card.
Insert the SD card, insert your RCM Jig and the SX dongle (or other branded dongle) or use the Tegra RCM program to inject the payload to the switch.
Press and hole the + volume key and tap the power button.
You should see the SX OS menu. Select BOOT CUSTOM FIRMWARE. You'll see a screen saying you don't have a licence, follow the instructions and it will create the file. DO NOT GO ONLINE WITH YOUR SWITCH - go to the Switch settings and disable wireless network, enable airplance mode.
Power off the switch, remove the SD card and copy the ''licence-request.dat'' file from the SD card to your PC.
Go to the sx.xecuter.rocks/sxos-license.html web site and upload the ''licence-request.dat'' file.
Follow the instructions and type in the licence code.
Your PC will download a file named ''licence.dat'' - copy that to your SD card and now you will have a licenced version of SX OS.
When you boot up SX OS next, I'd recommend setting up emuNAND as files on SD card (not hidden partition). This will take about an hour to setup, so make sure the switch is connected to power.
Also I do not recommend enabling RCM mode - but that is my personal preference and I extremely paranoid about ways Nintendo can / could detect you've hacked your switch and then ban it.
SX OS licence video, how to do it all here - youtu.be/4JQIlf4BFko?t=387