Hacking RELEASE Noob-Friendly L4T Ubuntu

Refriger8tor

Well-Known Member
OP
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
Recently the awesome @bylaws released an awesome port of Ubuntu for Tegra Linux on the Switch.

However, as some of you may have discovered, Linux can be unforgiving to beginners.

Therefore I imaged my own sd card after a fresh install and after installing some software and changing some settings in order to help people out.

Torrent Link: https://drive.google.com/file/d/1cWNw3msibt7VqzYezzfwJv_FR5PJDOJj/view?usp=sharing
Google Drive Link: https://drive.google.com/file/d/1Y4PhQ0IabZLQTlkoW2i2VEm1eaZbSY6b/view?usp=sharing

A detailed install guide is coming soon, but for now the gist of this is just download the image, install balenaEtcher, and flash your SD Card.
Then, using either a different Linux computer (or booting your windows computer into linux using a USB Live Drive, Google it) you can resize and expand the fat32 partition to dualboot with your CFW, and/or expand the ext4 partition to make more room for Ubuntu programs and files.

The username and password are both "switch"

Rough Guide
What You'll Need:
  • Flash drive
  • microSD card (recommended size 32GB or higher)
  • Computer with internet connection, SD card slot, and USB ports
1. Download NOOBS (links above)
2. Download balenaEtcher: https://www.balena.io/etcher/
3. Download GParted Live: https://sourceforge.net/projects/gp...ve-1.0.0-1-amd64.iso/download?use_mirror=iweb
4. Copy all the files off of your SD Card to a safe location on your computer.
5. Install balenaEtcher.
7. Extract NOOBS.
6. Flash NOOBS to your SD card using balenaEtcher.
7. Flash GParted Live to your USB using balenaEtcher. (Note this will delete all files, backup accordingly. Also if you prefer Ubuntu Live or have a dual boot or different linux computer that works too).
8. Boot your computer into the GParted USB
9. Resize the partitions on your SD Card to whatever split you desire (fat32 will be for switch, ext4 for ubuntu)
10. Boot back into Windows
11. Copy all your SD files back to the FAT32 partition
12. Inject hekate, hit launch, more configs, and then L4T.
13. Once booted, swipe in from the top-right corner and hit system settings, and the Bluetooth settings. If any joycons are already listed, tap them and then tap the minus button to remove them.
14. Tap the plus button and the the sync button on one of your joycons. Wait for it to appear in the list, and then tap it and then "next". Repeat with the other joycon. Their LEDs should be flashing now.
15. Press L and R at the same time on your joycons. They should now both have only the first LED lit. You can now use the joycons wirelessly as a mouse or as a controller. You can slide them into the rails if you want a handheld experience, but they will still be connected over Bluetooth. Press L3 to toggle mouse control on/off. Bear in mind you will need to repeat steps 13-15 every reboot, although occasionally one joycon may remain paired between boots.

Included...
  • Update 1.3.1 preinstalled
  • Retroarch and Dolphin
  • Kodi 17.6
  • GIMP 2.10
  • Google Messages and GroupMe
  • LibEReader
  • Python, Java, Javascript, Rust, C/C++, C#
  • Vim with a buttload of plugins
  • GZDoom
  • Reicast
  • 2GB Swap File
  • NEW: PCSXR
  • NEW: Moonlight
UPDATE 6/2
  • Fixed Retroarch
  • Forgot to mention before, but 2GHz overclock icon on desktop.
UPDATE 6/8
  • GZDoom Installed and Configured
  • Reicast Installed and Configured
  • Reconfigured mouse controls (toggle joycon mouse controls with L3)
  • Full OpenJDK installed.
UPDATE 6/16
  • Installed and configured PCSXR, you'll need to download BIOS for it to work
  • Installed and configured Moonlight, use "moonlight pair xxx.xxx.xxx.xxx" and "moonlight stream xxx.xxx.xxx.xxx" to use it (replacing x's with your PC's IP address).
  • Created a centralized roms directory in the home folder.
 
Last edited by Refriger8tor,

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
Just so you guys know it seems like there may be some video driver issue in 1.3.1 causing issues with retroarch, so you might want to hold off on adopting this until that gets sorted out.
Can always just replace the files on the fat32 partition with an older version after flashing if that's the case.
 
D

Deleted User

Guest
Python, Java, Javascript, Rust, C/C++, C# isnt included
and its not Ishiiruka Dolphin.
 

Refriger8tor

Well-Known Member
OP
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
Python, Java, Javascript, Rust, C/C++, C# isnt included
and its not Ishiiruka Dolphin.
Those languages are all installed. What specifically are you looking for?
Also I've found standard dolphin gets better performance, you can even still use Vulkan like Ishiiruka does if you want.

--------------------- MERGED ---------------------------

sleep mode works?
Sleep mode does indeed work.
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,211
Country
United States
Those languages are all installed. What specifically are you looking for?
Also I've found standard dolphin gets better performance, you can even still use Vulkan like Ishiiruka does if you want.

--------------------- MERGED ---------------------------


Sleep mode does indeed work.

Good to know. Wait for guide, thought.
 

Refriger8tor

Well-Known Member
OP
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
Found out the retroarch bug was caused by a glitch in the test branch I was using and not by anything from bylaws. I will post an updated image soon with the stable version of retroarch that is working.
 
  • Like
Reactions: lordelan

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
Found out the retroarch bug was caused by a glitch in the test branch I was using and not by anything from bylaws. I will post an updated image soon with the stable version of retroarch that is working.

Does the RA build you got have all the cores? Because I did everything correctly myself in setting everything up, and RA came with absolutely no cores when I downloaded it via the Terminal!
 

Refriger8tor

Well-Known Member
OP
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
Does the RA build you got have all the cores? Because I did everything correctly myself in setting everything up, and RA came with absolutely no cores when I downloaded it via the Terminal!

The testing retroarch I used in that initial image has a video driver bug but I will hopefully have a new image up with a working retroarch with cores soon.

@Sumandora you can currently compile and run Java and C++ programs. Use gedit to make a "Hello World" file and compile with terminal if you want to test. Are you sure you're not just looking for an IDE like Eclipse?
 
Last edited by Refriger8tor,

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
The testing retroarch I used in that initial image has a video driver bug but I will hopefully have a new image up with a working retroarch with cores soon.

@Sumandora you can currently compile and run Java and C++ programs. Use gedit to make a "Hello World" file and compile with terminal if you want to test. Are you sure you're not just looking for an IDE like Eclipse?

I see. What cores come with RA? Everything up to DC (be it Reicast or beetle-dc given recent events) and GC via the Dolphin core, or will Dolphin be strictly standalone? Just want to know what the options will be going into this once you get that video driver bug worked out, because I've been psyched to try this out for the past few weeks and hit a brick wall in terms of trying to get everything to work!
 

Refriger8tor

Well-Known Member
OP
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
I see. What cores come with RA? Everything up to DC (be it Reicast or beetle-dc given recent events) and GC via the Dolphin core, or will Dolphin be strictly standalone? Just want to know what the options will be going into this once you get that video driver bug worked out, because I've been psyched to try this out for the past few weeks and hit a brick wall in terms of trying to get everything to work!

I currently have Dolphin installed standalone, I haven't checked to see if there's a dolphin core included in all the cores I have in RA yet. I'll check if there's any DC cores.

work great , but some setting are binded to your stuffs , like the joy con registered is the MAC adress of your joy con lol .
Unfortunately you actually have to remove and pair Joycons every time no matter what as far as I am aware (even if using the same two joycons with the same switch. But yeah I know that I left my other bluetooth devices paired like my mouse and keyboard, makes it easier if I have to reflash to make changes haha.
 
Last edited by Refriger8tor,

Mouser X

Well-Known Member
Member
Joined
Aug 26, 2009
Messages
101
Trophies
0
XP
546
Country
United States
Unfortunately you actually have to remove and pair Joycons every time no matter what as far as I am aware
Not 100% true. About 1 out of 3-5 times one side or the other will reconnect. Obviously that's still low enough that it might as well be "reset every time," but there have been numerous rare occurances when one of my joy-cons is reconnected. It's a pleasent surprise every time. Oddly enough, my bluetooth keyboard is the other way around. It almost always reconnects.
 
  • Like
Reactions: Refriger8tor

Refriger8tor

Well-Known Member
OP
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
Update with fixed Retroarch now posted as well as an early draft of installation guide.

Also @Silent_Gunner I checked and I"m pretty sure no Dolphin or Dreamcast cores installed (but def double check), but Dolphin works standalone. I'll look into either installing a DC core or a separate DC emulator in a future image.
 
  • Like
Reactions: hippy dave

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Push it :creep:
  • Veho @ Veho:
    Talk about propaganda.
  • Veho @ Veho:
    Illinois is working to ban toxic food additives that have been banned for decades in other countries; additives that can be replaced and all those countries still have Skittles and Mountain Dew. Title of the piece: GUBMINT WANTS TO TAKE AWAY YOUR CANDY
  • Veho @ Veho:
    Gee, I wonder if the author is biased?
  • SylverReZ @ SylverReZ:
    @Veho, Sounds and smells like bullshit. They don't give you cancer, and California should know that. I don't get why they stick labels that say "may or may not cause reproductive harm or cancer".
  • Veho @ Veho:
    Arsenic doesn't give you cancer either.
    +2
  • Veho @ Veho:
    California has already banned those additives BTW.
    +2
  • Veho @ Veho:
    Psi has been banned in the state of California.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I am the cancer!!! lol
  • Psionic Roshambo @ Psionic Roshambo:
    Yayyy got arcade games on the Pi working lol
  • Veho @ Veho:
    Cool.
  • Psionic Roshambo @ Psionic Roshambo:
    Now to spend 6 months deleting all the garbage lol
  • Psionic Roshambo @ Psionic Roshambo:
    Mame should be two sets one for preservation of everything and one set for people who just want to play and enjoy the old old ganes
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Shouldn't preservation be legal tho?
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, I always see this dude's shorts, he sounds pretty annoying.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Preservation yeah it absolutely should be legal
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Believe Japan was going to make it legal at some point, according to a Kotaku story.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I swear like 99% of arcade games wouldn't even exist these days outside of MAME the arcade machines are old and busted very few ever saw any sort of home conversion
  • Psionic Roshambo @ Psionic Roshambo:
    We get 37 versions of Super Mario Bros but 0 of Beast Busters
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, There's a lot of obscure Japanese arcade titles that are either lost to time or dumped.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's so unfair, maybe AI can save us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I mean if a company could use AI to do the work of a home conversion for essentially free why not? The rights for some games are completely lost though
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, AI is taking our jobs!
    +1
    SylverReZ @ SylverReZ: @Psionic Roshambo, AI is taking our jobs! +1