title | layout |
---|---|
Installing Lakka on your Switch |
page |
{% include disclaimer.html %}
- A first generation Switch
- A spare SD card of at least 2Gb, formatted in FAT32
- A way to put your Switch into RCM (see this guide)
- A host PC to setup the SD card
- A way to run the exploit :
- A PC on Windows or Linux
- A Mac
- An Android device with USB OTG
- An USB cable to plug the Switch in and run the exploit (USB C-to-C or C-to-A)
- Download the latest compressed image from here (use your brain to grab the latest)
- Extract the image using the archiver of your choice (7-Zip wink wink)
- Burn the image to the SD card (everything will be erased)
- Either by using Etcher
- Or by using the
dd
command directly
- Download the latest archive from here (use your brain to grab the latest)
- Make sure that the first partition is FAT32 formatted
- Add an ext4 partition to your SD card with size of your choice - this will be the storage partition
- Extract the right files from the archive to the root of the FAT32 partition (replace everything) :
KERNEL
,KERNEL.md5
,SYSTEM
andSYSTEM.md5
(contains the read-only system partition and the kernel)- the content of the directory
3rdparty/bootloader
(contains the boot script and device tree)
- (advanced) If you want to set another partition as storage, remake
boot/boot.scr
usingmkimage
and change thedisk
variable of the boot command
Once your SD card is set up, put it back in your Switch.
{% include first_boot.html %}
Preparation work
You will first need to install the required driver :
- Get your Switch in RCM mode and plug it into your PC
- It should appear as "APX" in Windows
- Download and run the Zadig Driver Installer from here : https://zadig.akeo.ie/
- In the list, choose the device "APX"
- If it's not showing up, check "List all devices" in the options
- At the right end of the green arrow, choose "libusbK (v3.0.7.0)"
- Click on the big "Install driver" button
Booting
- Download and extract this archive
- Put your Switch into RCM
- Run
windows-boot.bat
(orwindows-win32-boot.bat
on a 32bit machine)
Preparation work
Install Python 3 (usually already installed). Open a terminal to install the required package : pip3 install pyusb==1.0.0
. I let you deal with permissions issues.
Booting
- Download and extract this archive
- Put your Switch into RCM
- Run the
linux-macos-boot.sh
script from this repository's folder. Again, I let you deal with permissions issues (if it cannot find the moduleusb
it means that you have insufficient permissions).
Preparation work
- Download and install the latest release of this app
- Run it - it will tell you that some files are missing, remember the folder in the dialog, it should look like one of these :
/storage/emulated/0/Android/data/io.mrarm.switchlinuxlauncher.noimx/files/shofel2
/sdcard/Android/data/io.mrarm.switchlinuxlauncher.noimx/files/shofel2
- Exit the app (if you can close the task using the multitask button it's better)
- From the
payloads
folder of the repository, copy thecbfs.bin
andcoreboot.rom
files to theshofel2
folder on your Android device (the folder of the previous step) - Run the app again - if the dialog doesn't show up then you can go on, otherwise you did something wrong
- (Optional) Depending on your device, you might need to enable "OTG" or "OTG Storage" in the Android settings
Booting
- Plug your Switch in your Android device
- If the Switch is charging from your phone, you can go on
- If your phone is charging from the Switch, try to reverse the cabling so that your phone charges the Switch instead
- If nothing happens, I'm afraid your phone doesn't have OTG (or it's not enabled) - the exploit might not work
- Put your Switch in RCM mode
- Done !
I suggest you read the FAQ, especially on how to access the storage partition and copy games. Actually, while you're here, read everything. Enjoy !