Links

L4T Ubuntu Jammy Installation Guide

Installation guide/tutorial for Linux4Switch L4T Ubuntu Jammy on Nintendo Switch
Current version: 5.1.2 based on Ubuntu Jammy 22.04 LTS
Note: hekate 6.0.6 or newer should be used for this release.
If you need help you can ask in our Discord Server under #jammy-support You should also take a look at our FAQ and Common Issues which may already answer to some of your questions
The important part of the guide is the Installation section. You can skip the rest if you don't want extra information about the project.

Prerequisites

  • hekate 6.0.6 or newer
  • A 16GB SD Card MINIMUM (Recommended: 128GB and up U3 or U3/A2 class, see SD Card Guide for more details)
  • A computer (for backing up and extracting the installation files)

Installation

  1. 1.
    Download the latest version of the L4T Ubuntu Jammy Image directly or via torrent from here.
  2. 2.
    Backup your SD Card:
    • Backup normal files from FAT32 (this also backs up emuMMC if file based)
    • If emuMMC raw partition exists, go to hekate -> Tools -> Backup eMMC. Tap on SD emuMMC RAW Partition button and back it up (emuMMC BOOT0/1 and emuMMC Raw GPP)
    • If android exists, do a TWRP backup Suggestion: Use hekate UMS (hekate -> Tools -> USB Tools) with a USB-C cable connecting your switch and PC to mount your SD card and transfer files instead of swapping your card from Switch to PC.
  3. 3.
    WARNING: This following will wipe everything on your SD card. Partition your SD card in hekate -> Tools -> Partition SD Card leave at least 6GB for FAT32 for installation files downloaded in step 1 AND recreate any partition that may have backed up.
4. From your PC, extract the 7z to your SD FAT32 partition. Suggestion: Use hekate UMS (hekate -> Tools -> USB Tools) with a USB-C cable connecting your switch and PC to mount your SD card instead of swapping your card from Switch to PC. 5. In Hekate, go to Tools -> Partition SD Card -> Flash Linux. 6. Go to hekate -> Nyx Options -> Dump Joy-Con BT to dump Joycon pairing data, with both Joycon connected to console, after they were paired in hos first. This must be run even if a Switch Lite is used, since it dumps the factory calibration data.
  1. 7.
    Now you can boot L4T Ubuntu Jammy. Make sure any existing online updates are done via Software Updater, Software (formerly known as Gnome Software Center), or apt command.
  2. 8.
    After making sure everything is fine, you can now restore your backed up files
    • Copy your normal files to FAT32
    • For emuMMC use Hekate to restore your backup hekate -> Tools -> Restore eMMC
    • For Android, copy your TWRP backup to your FAT32 partition then follow the steps and 4 of our android BUT instead of installing "Lineage zip, followed by your GApps zip" at step 4.g restore your backup in TWRP

Updating

Updates are shipped OTA like any standard Ubuntu Distro, so use the Software Updater or GNOME Software application. Or open terminal and execute: sudo apt update && sudo apt-get dist-upgrade

Next Steps

    • Available in your apps list You can get or build various essential stuff, apps or emulators with a single click. All configured and optimized for Switch.
  • Pi-Apps
    • Install from the L4T-Megascript or follow the official install instructions. A well-maintained collection of nearly 200 app installation-scripts with a focus on desktop applications that you can run with one click.
  • Touchscreen Gestures:
    • 3 finger swipe left/right to switch workspaces
    • 3 finger swipe up to bring up activities overview
    • drag up from bottom edge to bringup keyboard
    • drag down from top edge to exit fullscreen

Missing Features

These features are currently missing in comparison to L4T Ubuntu 18.04 and may be available in future releases.
  • No CUDA compiler support (CUDA runtime 10.0 is preinstalled and functions)
  • No GSTREAMER HW Decode or Encode (eg: GNOME Totem Videos)
    • NOTE: FFMPEG based players DO HAVE HW Decode/Encode and work great (eg: MPV, SMPLAYER, and VLC)

Additional Notes

  • GNOME Software does not always work on first boot. If it seems to not load after a couple of minutes, reboot and try again and it should work from then onwards.
  • Onscreen keyboard will attempt to move and resize windows when popping up so there is space for the keyboard. If this fails it will close immediately. Either manually resize the window so it is small enough for the keyboard to fit beneath it or use the application in maximized mode (where resizing always works).
  • On first boot you will likely encounter an error popup. Click "show more details" and if it is for /usr/bin/ubuntu-drivers we encourage you to click "send". Ubuntu has a poorly written set of scripts that error and need to be fixed. Sending the error will encourage them to fix their issue.

Credits

theofficialgman (ubuntu jammy distro maintainer, L4T-Megascript) CTCaer (kernel/bootloader, ubuntu bionic distro maintainer, NVENC/NVDEC), Gavin_Darkglider (lakka distro maintainer), Azkali (fedora distro maintainer), Ave (repo management and host), DanielOgorchock(Switch controller drivers/joycond), Bylaws, Langerhans, Natinusala, stary2001 (reboot2payload), NVIDIA (Tegra BSP), cobalt2727 (L4T-Megascript), Everyone else in switchroot