L4T Ubuntu - A fully featured linux on your switch

switchroot.png

L4T Ubuntu
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.

Join our discord: https://discord.gg/53mtKYt

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

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,

D-an-W

Well-Known Member
Member
Joined
Nov 13, 2002
Messages
170
Trophies
2
Website
Visit site
XP
1,120
Country
Got it working with SDLoaderEnc.. I tried flashing the firmware but it says cannot communicate with hwfly something. Ubuntu works now though. Thanks.

Am I right in thinking you now have it running on original SX Core without flashing firmware?

Can you please give details if so as I have the SXLite installed and would like to try it.
 

ertaboy356b

Well-Known Member
Member
Joined
Feb 16, 2010
Messages
676
Trophies
1
XP
1,970
Country
Am I right in thinking you now have it running on original SX Core without flashing firmware?

Can you please give details if so as I have the SXLite installed and would like to try it.
What I did is I followed the instructions described here: https://github.com/hwfly-nx/firmware
It did flashed the sdloaderenc for whatever reason but I can't get it to flash the firmware, not sure though if it flashed the firmware or didn't because an error occurs if I do Update Firmware on the menu. But when I tried booting ubuntu, it booted successfully.
 

jackazz

Member
Newcomer
Joined
Apr 11, 2017
Messages
14
Trophies
0
Age
37
XP
504
Country
Italy
What I did is I followed the instructions described here: https://github.com/hwfly-nx/firmware
It did flashed the sdloaderenc for whatever reason but I can't get it to flash the firmware, not sure though if it flashed the firmware or didn't because an error occurs if I do Update Firmware on the menu. But when I tried booting ubuntu, it booted successfully.
Do I still have to flash spacecraft-nx to the chip or I can proceed to update sdloader with hwfly toolbox, even if I have a SXlite chip still flashed with SX fw? I get the error board while trying to load lakka and trying to understand what am I required to do.
 

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
382
Trophies
1
Age
39
XP
1,885
Country
Germany
Do I still have to flash spacecraft-nx to the chip or I can proceed to update sdloader with hwfly toolbox, even if I have a SXlite chip still flashed with SX fw? I get the error board while trying to load lakka and trying to understand what am I required to do.
If you have a sx chip whit sx firmware you need to flash spacecraft-nx to the chip.
After this you can flash SD loader whit Hwfly toolbox.
 
  • Like
Reactions: aruto and jackazz

D-an-W

Well-Known Member
Member
Joined
Nov 13, 2002
Messages
170
Trophies
2
Website
Visit site
XP
1,120
Country
What I did is I followed the instructions described here: https://github.com/hwfly-nx/firmware
It did flashed the sdloaderenc for whatever reason but I can't get it to flash the firmware, not sure though if it flashed the firmware or didn't because an error occurs if I do Update Firmware on the menu. But when I tried booting ubuntu, it booted successfully.
Did you follow "Method b) - Using hwfly-toolbox" in the Updating section? It seems to differ slightly from the method I tried previously that didn't work.
 

ertaboy356b

Well-Known Member
Member
Joined
Feb 16, 2010
Messages
676
Trophies
1
XP
1,970
Country
Did you follow "Method b) - Using hwfly-toolbox" in the Updating section? It seems to differ slightly from the method I tried previously that didn't work.
Yeah I just followed the Method B) up to a certain point. You'll eventually see a white background white a red line increasing in length in the middle. After that, all is done. I tried doing the next step which is updating the firmware but it doesn't work.
Post automatically merged:

Do I still have to flash spacecraft-nx to the chip or I can proceed to update sdloader with hwfly toolbox, even if I have a SXlite chip still flashed with SX fw? I get the error board while trying to load lakka and trying to understand what am I required to do.
I'm not sure with the SX Lite chip because I didn't have one but my SX Core chip is previously flashed with Spacecraft-NX, that was during the first release of Spacecraft-NX which is I think around December 2021.
 
  • Like
Reactions: D-an-W

NoCaPo

Member
Newcomer
Joined
Dec 20, 2022
Messages
7
Trophies
0
Age
32
XP
317
Country
Spain
I have two sd cards. In one of them, I have my emuNAND files, in the other one Ubuntu and Lakka. When I swap to the second one, I always have to run hwfly toolbox to "flash" sdloader.enc to run Ubuntu/Lakka.
What this file does? and why this "flash" is not persistent?
 

anthony001

Well-Known Member
Member
Joined
Oct 19, 2007
Messages
461
Trophies
1
XP
1,462
Country
since the switch isnt really meant to run linux or other os how harmful is it to run linux inside the switch?
what are some popular use case for switch running linux.
 

FanNintendo

Well-Known Member
Member
Joined
Apr 16, 2018
Messages
1,603
Trophies
0
Age
51
XP
2,574
Country
United States
on facebook that someone that running rpcs3, sega model 3, orginal xbox and teknoparrot and doplhin in hyperspin on switch l4t ubuntu like i say to myself impossible but i realize with 1 tb could be really happening. everyone was picking that person who showing off gave him negatives things and saying its fake. and that page was removed damn
 

Thorhax

Well-Known Member
Member
Joined
Apr 15, 2020
Messages
482
Trophies
0
Age
43
XP
2,165
Country
Canada
on facebook that someone that running rpcs3, sega model 3, orginal xbox and teknoparrot and doplhin in hyperspin on switch l4t ubuntu like i say to myself impossible but i realize with 1 tb could be really happening. everyone was picking that person who showing off gave him negatives things and saying its fake. and that page was removed damn
I call bullshit, I bet you he was just streaming from a PC to his switch
 
  • Like
Reactions: FanNintendo

D-an-W

Well-Known Member
Member
Joined
Nov 13, 2002
Messages
170
Trophies
2
Website
Visit site
XP
1,120
Country

M7L7NK7

Well-Known Member
Member
Joined
Oct 16, 2017
Messages
3,916
Trophies
1
Website
youtube.com
XP
6,037
Country
Australia
on facebook that someone that running rpcs3, sega model 3, orginal xbox and teknoparrot and doplhin in hyperspin on switch l4t ubuntu like i say to myself impossible but i realize with 1 tb could be really happening. everyone was picking that person who showing off gave him negatives things and saying its fake. and that page was removed damn
If they don't show it booting into it first, then it's fake
 

faiznwo

Member
Newcomer
Joined
Aug 1, 2022
Messages
10
Trophies
0
Age
32
Location
Kuala Lumpur
XP
120
Country
Malaysia
If you become a massage bord not init properly here is a fix.

WARNING: Be very very careful when following those steps, you **could** cause permanent and unexpected damages to your console if
You don't follow the exact steps of this guide OR perform extra steps not specified in this guide AND followed when not STRICTLY NEEDED

WARNING 2: DO NOT FLASH FIRMWARE.BIN

If you get the message "Board was not initialized properly. Hang prevented." while booting Linux or Android on Mariko:

1. Get this https://github.com/hwfly-nx/hwfly-toolbox/releases/download/1.1.1/hwfly_toolbox.bin
2. Put it in `sdcard:/bootloader/payloads`
3. Get this https://github.com/hwfly-nx/firmware/releases/download/0.7.1/release_071.zip
4. Extract and copy `sdloader.enc` to the root of your sdcard fat32 partition
5. Run `hwfly_toolbox` payload from hekate
6. In `----SD Loader----` section select `Update`
7. Power off your switch and boot ubuntu

In case the issue re appear, reapply the steps listed here from 4. to 7. If you didn't removed the files you downloaded in step 1. and 3.
This message also appear when i want to run lakka..can i also use this method?
 
  • Like
Reactions: evil_santa

idannnn7

Member
Newcomer
Joined
Dec 25, 2022
Messages
8
Trophies
0
Age
39
XP
38
Country
Israel
Hello, i have a problem booting in to linux it says faild to run rootfs and a red screen counting 10 seconds... Help please 🥺 ?
Post automatically merged:

Hello i have a problem i trying to run linux and it says faild to mount rootfs a red screen and counting 10 sec help please 🥺?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Julie_Pilgrim @ Julie_Pilgrim:
    oh man, that always goes great!
  • Julie_Pilgrim @ Julie_Pilgrim:
    im sure half the responses won't be literal racial slurs or "drop table" jokes
  • Veho @ Veho:
    Look, it's China. They know what it's like when you give a poll to half a billion trolls.
    +1
  • K3Nv2 @ K3Nv2:
    How much dollar do you think it is?
  • Veho @ Veho:
    ONE MILLION DOLLA
    +1
  • Veho @ Veho:
    I know the pricing of electronics nowadays isn't "how much it actually costs" but "how much we can get away with", but putting up a poll is just cynical.
    +1
  • K3Nv2 @ K3Nv2:
    Probably $150 someone said Anbernic said around the same price as rg556
  • Julie_Pilgrim @ Julie_Pilgrim:
    you know which game i wish they would rerelease
  • Julie_Pilgrim @ Julie_Pilgrim:
    sonic unleashed
  • K3Nv2 @ K3Nv2:
    Make it a happy meal toy
  • Julie_Pilgrim @ Julie_Pilgrim:
    that game's engine is really fucking intensive so it runs like literal shit on xbox 360 and ps3
  • Veho @ Veho:
    Nah I'm getting value creep again. I look at a $50 console "but for just a few more dollars you could get XYZ" and I end up considering the Steam Deck.
    +1
  • Julie_Pilgrim @ Julie_Pilgrim:
    like the lighting in that game was genuinely so good
  • Veho @ Veho:
    Not getting dragged into that again.
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont get why they didn't port the one game that ran the worst on consoles, to pc
  • Julie_Pilgrim @ Julie_Pilgrim:
    like you port everything to pc except the one game where it would make the most sense. why. what do you gain from this
  • Julie_Pilgrim @ Julie_Pilgrim:
    is sega just personally fucking with me? are they laughing while watching me through my kinect camera as i get up to restart my xbox for the third time because the game froze again
  • K3Nv2 @ K3Nv2:
    Buy handhelds from five below better quality
  • K3Nv2 @ K3Nv2:
    Valve probably going to do another refresh of the deck this fall with rog ally like specs tbh
    +1
  • Veho @ Veho:
    A smaller form factor would be nice too.
    +1
  • K3Nv2 @ K3Nv2:
    A shield portable 2 would be nice aye Nvidia
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    The big leap in all things tech is when carbon based chips start hitting.
  • Psionic Roshambo @ Psionic Roshambo:
    Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)
    Psionic Roshambo @ Psionic Roshambo: Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)