L4T Ubuntu - A fully featured linux on your switch

switchroot.png

L4T Ubuntu 3.4.0
Intro
L4T Ubuntu is a version of Linux based on nvidia's linux for tegra project. It uses a different kernel compared to previous releases which allows it to use features not yet in mainline. Such as audio, docking support and vulkan.

Beware, using high clocks in handheld mode will degrade your batteries capacity a lot faster than at stock clocks

If you can't install an application check this thread, and ask all questions there
https://gbatemp.net/threads/l4t-ubuntu-applcation-install-guides.537579/

https://discord.gg/N9PPYXjWMY

We have a wiki !
To facilitate our work we will only update our wiki from now on in order to avoid multiple outdated references, please refer to the following link instead of this page

https://wiki.switchroot.org/en/Linux/Ubuntu-Install-Guide

3.4.0 update file listed below With the 3.0+ updates. If doing fresh install, install 3.4.0 image.


Big Thanks to CTCaer for 3.4.0, for fixing the final issues in Ubuntu/Linux kernel and all the testers that helped him.

Features

  • Full USB PD/OTG/OTG Docks
  • Bluetooth (both controllers and audio)
  • Full Joycon Support(Excluding NFC, and IRcamera)
  • Nvidia GPU drivers - Vulkan and OpenGL
  • Audio - Headphones, speakers and over HDMI when docked.
  • Touchscreen(more fixes)
  • Display
  • WiFi(sleep fixes/stability fixes)
  • CPU frequency scaling - The CPU scales from 200mhz to 1.7ghz (what switch is binned for) depending on the load its under. Fans are adjusted to account for this
  • Full sdcard speed
  • Hardware video acceleration when using the built in videos app (means you can watch videos without battery draining massively)
  • Overclocking
  • LP0 Sleep mode
  • IMU/Ambiant Light sensor support
  • reboot2payload
  • Minerva Memory Training
  • Support for Moonlight-QT
  • Initramfs updates(fix partition resize, add boot logo, and error screens)
Prerequisites
  • Minimum of 8 GB.
Downloads
Torrent Links can be found here:
https://torrents.switchroot.org/ubuntu/

Updates for previous 3.0+ installs. 3.4.0 link below.

https://download.switchroot.org/ubuntu/switchroot-ubuntu-3.4.0-update_only-2021-07-23.7z
1. Remove l4t-ubuntu folder and bootloader\ini\01-ubuntu.ini from fat32 partition on sdcard.
2. Extract zip to fat32 partition on sdcard.(if you have no space, try removing all ubuntu related files from fat32 partition on sdcard, and try again.)
3. Dump joycon pairing info in hekate.(Only needs to be done if you havnt already done this)
4. Boot.

How to install:
  1. Download the image (standard non cuda is probably what you want) you want from the downloads section.
  2. Partition with hekate, make sure to leave enough room on fat32 to extract chosen image.
  3. Extract 7z to fat32 partition, now labeled SWITCHSD
  4. Flash image in partition manager in hekate to linux partition.
  5. Go to NYX tools, and dump joycon pairing data, with joycons connected to console, after being paired in hos.
  6. Launch ubuntu through hekate.
  7. Wait for around 2-4 minutes while it initially loads.
  8. Enjoy, you now have fully featured Ubuntu on your switch!
Notes:
  • Pair procons by opening the bluetooth menu in settings and pressing the + button in the bottom left corner. Then press the sync button on the controller and select its name in the pairing window.
  • To update the system run "sudo apt update", "sudo apt upgrade". This will apply all switch and ubuntu updates aside from kernel updates, they will be posted here if ever needed.
  • CPU/GPU/Fan profiles and Overclocking are now handles in NVPmodel.
  • Disabled sandboxing in Chromium in order to enable GPU acceleration
    Night and day difference. Existing users can add --no-sandbox to their desktop shortcut.
Ubuntu Bionic 3.4.0 Short Changelog:
- Better performances in many scenarios (As always that should affect apps/games/emus/etc)
- Significant better deep sleep. (Measured at 582 hours. 440% better).
- Faster wake up from sleep.
- Saved 240MB ram (fb and active file page pool, aka always used pool)
- Memory remapping 800%-2000% speed up. Mostly used by emulators and VMs (and lot in android).
- Some other memory optimizations, plus enabled huge ram pages
- Faster kernel and OS boot.
- Fixed tearing issues for NVDEC/NVENC. (video hw accel)
- Lower latency for frame end calcs for builtin display
- Fixed Hori pads for joycond
- Fixed an issue where it would make railed jc to disconnect on rumble
- Joycon/Procon rumble was improved and intensity tuned for better user experience
- Kernel now uses the proper display panel init/deinit by checking panel id
- Improved dock/undock script
- Touch stays enabled now in dock mode. Users that use docks that do not cover the screen can use it as alternative input.
- Added low ram protection. Now instead of hanging for minutes it will only stutter for seconds until oom occurs and recovers ram
- Better seamless display on boot
- uenv.txt changed, read uenv_readme.txt. It's simple to transfer over custom settings.
- Reboot action can now be defined in new uenv.txt. Reboot back into Linux by changing `reboot_action=` from `bootloader` to `via-payload`.

Apps Changes:
- Full video HW decoding via new SMPV Player app (also supports youtube links)
- Full video HW encoding via ffmpeg-l4t
- Added L4T-Megascript app
You can get or build various essential stuff, apps or emulators with a single click. All configured and optimized for Switch.
- Nvpmodel was updated to include Battery charging protection limits options
Useful when you are constantly docked and want to protect battery's life.
Limit gets saved and applied on boot.
Reminder that discharging can't happen when plugged in. Even when charging is off, usb power is used to supplement system.
So you need to discharge first if you want the battery % to go inside the limit.
That also disables charging in sleep in order for the feature to work.
If you reboot/shutdown, it gets disabled and re-enabled at the next L4T boot.
As always the source is public and all L4T based projects for Switch will benefit (L4T linux distros/Lakka/Android)



Sources
They can all be found at https://gitlab.com/switchroot with the other kernel repos on http://nv-tegra.nvidia.com

Use these scripts if you want to build your own kernel: https://gitlab.com/switchroot/kernel/l4t-kernel-build-scripts/tree/test


Credits
Bylaws,
Langerhans,
Ave,
Natinusala,
CTCaer(most of the hard stuff),
Gavin_Darkglider,
DanielOgorchock(Joycon drivers/joycond),
stary2001 (reboot2payload),
NVIDIA,
Azkali
Everyone else in switchroot - more info on that in the future.
 
Last edited by azkali,

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
33
XP
571
Country
United States
@bylaws. Sorry if these are useless now. I've made bandaid tier macros to deal with the annoyances and forgot to upload.

One bug I can't avoid is the sleepy gpu (I think) After a few hours uptime only the display will die.

Also thank you! I've learned a lot from this.
I have ran gentoo for days without reboot, while compiling with dpms off, and the it has always come back. Sometimes it is a bit slow due to cpu load(Because I am compiling), but I am not sure what you mean by die.

Also, I have a new kernel, with kali patches, and a test version of coreboot/atf that I hacked together that add minerva support(Removes binary blobs, and seems to fix some loading issues I was having.) There is also a new patch for the touchscreen driver from the android kernel, which seems to help, a little, but still isnt perfect.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
33
XP
571
Country
United States
Here you go, an unofficial kernel/coreboot update for l4t-ubuntu:https://www.dropbox.com/s/bzb6pzptzsemwz1/update-1.4-unofficial-l4t-ubuntu-switchroot.zip?dl=0

This is my build:
Coreboot includes switchroot patches for: SC7Sleep(Lp0 is still broken,as it doesnt resume gpu properly), Minerva Training Cell.
Kernel includes a lot of new patches, which I will list here, with details on what they are:

1. Kali-wifi-injection-4.9.patch - Add support for monitor mode channel change, and monitor mode packet injection(This doesnt work with internal wifi card though)
2. 0001-wireless-carl9170-Enable-sniffer-mode-promisx-flag-t.patch - patch to add back support for sniffer mode promisx flag, which is needed in monitor mode for packet injection with that card(Driver not built in though.) lol.
3. usb_gadget_bashbunny_patches-l4t_4.9.patch - Personal patch set, created b me, to add bashbunny style metric spoofing to rndis and ecm gadgets(ECM metric spoofing isnt included on the actual bash bunny for some reason, but whatever, I did both.)
4. fix-usb0-rndis0-name.patch - rename local interface for rndis gadget from rndis0 to usb0 which is inline with mainline kernel, and is needed for my ATTACKMODE(Rewrite of official bashbunny version, using configfs instead of preconfigured gadgets) script.
5. stmfts-disable-input-tuning.patch - Touchscreen fixes from android kernel(It still isnt perfect, but it helps a bit)
6. read-mtc-table-addr-from-atf.patch - allow reading Minerva table address from ATF, basically coreboot runs minerva, and passes the table to ATF, then the kernel uses ATF with this patch to access it.

Feel free to test, and use this kernel/coreboot update. Let me know if you find any bugs, an once lp0 is stable, I will push that version as well, if switchroot doesnt. I may even push a more updated kernel, as this is stock 4.9.109 and we were able to patch the kernel up to 4.9.112 without it breaking. Something about 4.9.113 breaks booting.

EDIT: After further testing by me, this breaks resume from lp0 sleep, so maybe the issue I was having with deepsleep(lp0) is because of minerva. will run more tests later today, and will probably revert minerva changes.
 
Last edited by Gavin_Darkglider,

globalc

Member
Newcomer
Joined
Jun 14, 2019
Messages
21
Trophies
0
Age
48
Website
fluxcoil.net
XP
106
Country
Japan
Can I resize the initial 500mb partition to something higher? It always makes the SD card unreadable to my Switch when I resize it.

I keep all my CFW files on the first partition so I need it to be at least 1.5gb. I try to take it away from the 2nd partition (the 8gb Linux partition) while adding the space back at the end of the SD card but it always says the the card is corrupt and must be formatted when I put it back in the switch. I need some assistance, is this possible? I want an SD card with enough space for retroarch games, maybe OpenMW or OpenRTC2, L4T Ubuntu, and a 29.1gb emunand. I should be good on all of this if I could just resize the first partition without it breaking.
You already got ideas for 2 approaches, let me add a third idea.
You could just normally install L4T as per instructions, and boot it. Then extend the second partition, but not to span the whole device, but leave 1.5GB free at the end. Create an additional partition there.

All of that can be done with the graphical disk utilities, but from here maybe fdisk or parted have to be used directly. You should open the disk-device, and look at the start/end data of your 3 partitions. The partitions which are in the partition table stored as 1/2/3 do not have to be in that order on the disk. So the idea is to record the data of partition 1 and 3, then "remove" both (which just removes them from the partition table, but is not touching their real data), and then create 1 and 3 again. Just this time, when creating partition 1, you use the start/enddata of the former partition 3. And for 3 the data from partition 1. After that you should be able to mount 1 and 3, and copy over the data (that could also be done before modifying the partition table).
 

parkerlreed

Active Member
Newcomer
Joined
Sep 6, 2018
Messages
26
Trophies
0
Age
29
XP
90
Country
United States
There is an xbox emulator someone was testing and it wanted a bridge device to connect to, so the module was included in the kernel to bridge the emulator to the wifi. It was added as a request in this thread.

It also appears to be used for the USB RNDIS to a computer. I can SSH on a computer it's connected to via USB.

Code:
[[email protected] ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: wlp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 9c:b6:d0:0e:0d:cd brd ff:ff:ff:ff:ff:ff
3: enp8s0u1u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:05:6b:00:57:1a brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.90/24 brd 192.168.0.255 scope global dynamic noprefixroute enp8s0u1u1
       valid_lft 84132sec preferred_lft 84132sec
    inet6 fe80::71a:46a2:903:7140/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
4: enp0s20f0u2i5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether be:32:f0:a9:ec:1a brd ff:ff:ff:ff:ff:ff
5: enp0s20f0u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 22:fc:9d:9a:11:b5 brd ff:ff:ff:ff:ff:ff
    inet 192.168.55.100/24 brd 192.168.55.255 scope global dynamic noprefixroute enp0s20f0u2
       valid_lft 13sec preferred_lft 13sec
    inet6 fe80::d8f3:6be6:8ef6:805e/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
[[email protected] ~]$ ssh [email protected]
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.9.109+ aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

Last login: Mon Jul 15 14:09:48 2019 from 192.168.55.100
[email protected]:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether d2:96:c4:01:3d:a9 brd ff:ff:ff:ff:ff:ff
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 2e:69:8d:30:bd:79 brd ff:ff:ff:ff:ff:ff
4: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:90:4c:1a:a0:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.214/24 brd 192.168.0.255 scope global dynamic noprefixroute wlp1s0
       valid_lft 85942sec preferred_lft 85942sec
    inet6 fe80::c13c:422d:89a1:c66c/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
5: [email protected]: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/ipip 0.0.0.0 brd 0.0.0.0
6: [email protected]: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/sit 0.0.0.0 brd 0.0.0.0
7: rndis0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state UP group default qlen 1000
    link/ether be:32:f0:a9:ec:19 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::bc32:f0ff:fea9:ec19/64 scope link
       valid_lft forever preferred_lft forever
8: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state UP group default qlen 1000
    link/ether be:32:f0:a9:ec:1b brd ff:ff:ff:ff:ff:ff
    inet6 fe80::bc32:f0ff:fea9:ec1b/64 scope link
       valid_lft forever preferred_lft forever
9: l4tbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether be:32:f0:a9:ec:19 brd ff:ff:ff:ff:ff:ff
    inet 192.168.55.1/24 brd 192.168.55.255 scope global l4tbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::1/128 scope link
       valid_lft forever preferred_lft forever
    inet6 fe80::30eb:52ff:fe89:5b0a/64 scope link
       valid_lft forever preferred_lft forever
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
33
XP
571
Country
United States
It also appears to be used for the USB RNDIS to a computer. I can SSH on a computer it's connected to via USB.

Code:
[[email protected] ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: wlp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 9c:b6:d0:0e:0d:cd brd ff:ff:ff:ff:ff:ff
3: enp8s0u1u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:05:6b:00:57:1a brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.90/24 brd 192.168.0.255 scope global dynamic noprefixroute enp8s0u1u1
       valid_lft 84132sec preferred_lft 84132sec
    inet6 fe80::71a:46a2:903:7140/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
4: enp0s20f0u2i5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether be:32:f0:a9:ec:1a brd ff:ff:ff:ff:ff:ff
5: enp0s20f0u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 22:fc:9d:9a:11:b5 brd ff:ff:ff:ff:ff:ff
    inet 192.168.55.100/24 brd 192.168.55.255 scope global dynamic noprefixroute enp0s20f0u2
       valid_lft 13sec preferred_lft 13sec
    inet6 fe80::d8f3:6be6:8ef6:805e/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
[[email protected] ~]$ ssh [email protected]
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.9.109+ aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

Last login: Mon Jul 15 14:09:48 2019 from 192.168.55.100
[email protected]:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether d2:96:c4:01:3d:a9 brd ff:ff:ff:ff:ff:ff
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 2e:69:8d:30:bd:79 brd ff:ff:ff:ff:ff:ff
4: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:90:4c:1a:a0:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.214/24 brd 192.168.0.255 scope global dynamic noprefixroute wlp1s0
       valid_lft 85942sec preferred_lft 85942sec
    inet6 fe80::c13c:422d:89a1:c66c/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
5: [email protected]: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/ipip 0.0.0.0 brd 0.0.0.0
6: [email protected]: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/sit 0.0.0.0 brd 0.0.0.0
7: rndis0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state UP group default qlen 1000
    link/ether be:32:f0:a9:ec:19 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::bc32:f0ff:fea9:ec19/64 scope link
       valid_lft forever preferred_lft forever
8: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state UP group default qlen 1000
    link/ether be:32:f0:a9:ec:1b brd ff:ff:ff:ff:ff:ff
    inet6 fe80::bc32:f0ff:fea9:ec1b/64 scope link
       valid_lft forever preferred_lft forever
9: l4tbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether be:32:f0:a9:ec:19 brd ff:ff:ff:ff:ff:ff
    inet 192.168.55.1/24 brd 192.168.55.255 scope global l4tbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::1/128 scope link
       valid_lft forever preferred_lft forever
    inet6 fe80::30eb:52ff:fe89:5b0a/64 scope link
       valid_lft forever preferred_lft forever

It is only attached to the bridge, because the bridge device attaches all available network cards, unless configured differently. I have removed the bridged device, and still used rndis ethernet. If you notice my build above, which I found out after I released it that it breaks sleep mode, it has custom patches I made just for this module.
 

RealSlimSquiddy

New Member
Newbie
Joined
Jul 16, 2019
Messages
1
Trophies
0
Age
26
XP
43
Country
United States
I tried launching L4T, but my console's screen only stays lit for a few seconds and the console is sent back into RCM mode. Yes, I followed all of the instructions.
 

Worldblender

Well-Known Member
Member
Joined
May 27, 2019
Messages
307
Trophies
0
Age
26
XP
1,868
Country
United States
For the past three days, I've had my Switch unit taken into a repair store in hopes of trying to get it to work again. I was hoping that reflowing the solder of the wi-fi chip would solve all my problems - but nope! :sad: Nothing really changed, except that I no longer receive orange screens, and that even booting up CFW will cause my unit to hang without displaying anything. I really think that I'm holding a defective unit now, to the point that I want to just recycle it :hateit: (but I will never do that in reality as it is still usable in some way). However, booting up L4T Ubuntu still works like before, but it gives me no access to the console-exclusive games I so want to try. Given this situation I am in now, I am considering selling (or even giving away my unit as a last resort) my unit to let others experiment with L4T Ubuntu, or even convert it into a useful PC. Some caveats here:
  • Wi-fi and Bluetooth will not be detected, and thus be unusable.
  • An official dock is recommended to get the most out of this unit, as using one is the only other way to get another method of internet access.
  • AutoRCM is enabled on this unit for convenience purposes.
  • No other accessories are included with this unit; just the bare console (one screw on the bottom is missing).
I made a backup of the eMMC just in case; I'm trying to see if restoring it will fix all my problems. If not, I will make an update, and begin selling the unit to someone who is interested, most likely on eBay.

NEW: Restore went okay, and I have been able to successfully use Hekate 5.x.x, but the situation did not change one bit. Using Atmosphere, whether in sysNAND or emuNAND mode, always results in getting stuck at the Switch logo (if I wait long enough, I can get an orange or blue screen again). This leaves me with no choice but to get rid of my current Switch unit somehow (either by selling it or giving it away), so that I can replace it with another working Switch unit that I can enjoy hacking in the near future. (Private) Message me if interested in buying this unit, or wait until I make a listing for it.
 
Last edited by Worldblender,

skittletop

Member
Newcomer
Joined
Feb 11, 2018
Messages
6
Trophies
0
Age
55
XP
158
Country
United States
I'm getting a network error trying to download the SD card image on the first page (tried on two different networks). Anyone got a mirror or know what's going wrong?
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,615
Trophies
1
Age
43
XP
5,931
Country
Germany
Do I need to apply every single update or just the latest one?

If every single update, is it enough to go from lowest to highest, copy and overwrite everytime and do an
Code:
apt update && apt upgrade
just once after the last one?

Also do I do this once before I copy over all single updates?
MAKE SURE TO DELETE THE boot FOLDER AND boot.scr BEFORE EXTRACTING THIS UPDATE

In other words:
What's the easiest/fastest way to fresh install Ubuntu and get to the latest update (1.3.1 as of now)?
 
Last edited by lordelan,

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
33
XP
571
Country
United States
Do I need to apply every single update or just the latest one?

If every single update, is it enough to go from lowest to highest, copy and overwrite everytime and do an
Code:
apt update && apt upgrade
just once after the last one?

Also do I do this once before I copy over all single updates?


In other words:
What's the easiest/fastest way to fresh install Ubuntu and get to the latest update (1.3.1 as of now)?
Do I need to apply every single update or just the latest one?

If every single update, is it enough to go from lowest to highest, copy and overwrite everytime and do an
Code:
apt update && apt upgrade
just once after the last one?

Also do I do this once before I copy over all single updates?


In other words:
What's the easiest/fastest way to fresh install Ubuntu and get to the latest update (1.3.1 as of now)?

Updating with apt doesnt include the bootchain, that is what the updates are. Really, to update from the image directly to 1.3.1, before even booting it, just erase the stuff that written to the fat32 partition, then extract the file on the fat32 partition. then boot hekate, and launch linux. From there, you can update the userspace, like you would on a computer.
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,615
Trophies
1
Age
43
XP
5,931
Country
Germany
Updating with apt doesnt include the bootchain, that is what the updates are. Really, to update from the image directly to 1.3.1, before even booting it, just erase the stuff that written to the fat32 partition, then extract the file on the fat32 partition. then boot hekate, and launch linux. From there, you can update the userspace, like you would on a computer.
Cool thx.
 

uberloafy

New Member
Newbie
Joined
Jul 18, 2019
Messages
1
Trophies
0
Age
39
XP
38
Country
United States
Is it possible to upgrade L4T's Ubuntu version from the LTS release to the current Disco Dingo version? On my switch, attempting to do so resulted in a black screen.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
33
XP
571
Country
United States
Is it possible to upgrade L4T's Ubuntu version from the LTS release to the current Disco Dingo version? On my switch, attempting to do so resulted in a black screen.

Yes, assuming you use a 7.x(needed for cuda) gcc compiler for the packages, and use the right version of X11. after that is is a matter of installing the nvidia packages for the drivers and such. Problem is, that you would probably have to rebuild every package in the repository from source to keep linking sane.
 
  • Like
Reactions: Watermelonz

Disco Inferno

Well-Known Member
Member
Joined
Feb 25, 2016
Messages
143
Trophies
0
XP
1,350
Country
United States
I tried forever to get this working on my already CFW switch (XAW1004...) without success, but it worked the first time on my stock switch (XAW1005...) with the same microsd. Not sure what's going on there.
 

W9qI8k5QMf

Well-Known Member
Newcomer
Joined
Feb 11, 2019
Messages
68
Trophies
0
Age
34
XP
945
Country
United States
When I put it in the dock, nothing happens. It still shows the image on the Switch screen.
Any ideas?

I had the same problem.

I bought my switch used and the power cable for the dock was some unofficial power adapter.
normal switch usage, the image would show on the screen, but for l4t linux the image wouldnt switch over.

I bought a proper nintendo power adapter cable for the switch and now when I put switch in dock the image shows on tv for L4t linux.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    3h left until work finishes, bah
  • Skelletonike @ Skelletonike:
    link doesn't work
    +2
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
    K3N1 @ K3N1: Plug in*