L4T Ubuntu - A fully featured linux on your switch

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by bylaws, Apr 28, 2019.

  1. Cation163

    Cation163 Newbie

    Newcomer
    1
    Oct 24, 2019
    Russia
    Good afternoon.

    Love the idea of using my Switch as a portable PC when I travel.
    Anyone heard anything about Nintendo ban when using installation guide from this topic?
    I mean I do not have intention to play illegal games, L4T/official gaming only. But cannot find any feedback whether big N bans for any loader exploits or unofficial gaming only?

    Thanks in advance.

    PS. Can't find how to delete clone messages.
     
    Last edited by Cation163, Oct 24, 2019
  2. Cation163

    Cation163 Newbie

    Newcomer
    1
    Oct 24, 2019
    Russia
    Good afternoon.
     
    Last edited by Cation163, Oct 24, 2019
  3. Cation163

    Cation163 Newbie

    Newcomer
    1
    Oct 24, 2019
    Russia
    Good afternoon.
     
    Last edited by Cation163, Oct 24, 2019
  4. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    I pushed reboot2payload for ubuntu a month or so before android. go check page 98, you want the 1.5.0 update. ;)
    Not really. The image will be the same, just a few config file edits, a copy of hekate for a reboot payload, and joycond, for the hid-nintendo and new joycon rail driver. Really, for what you are looking for, I am sure that our gentoo and arch builds are probably more your speed. ;) Much more updated packages. For some reason 18.04 is still outdated, and poorly optimized for the switch. It works, but ubuntu, and most distros compile packages to be as generic as possible for an arch(so it will run on all arm64 chips, but isnt optimized to the tegra 210 in the switch.) Gentoo lets you get around this problem, because you compile it from the ground up. Arch is a happy medium, because of AUR. Now, both of these builds is still in development, so they are missing some things(OpenMAX, Cuda, CUDNN, etc.) Mainly deb packages installed on top of ubuntu, I havnt converted yet.
     
    Last edited by Gavin_Darkglider, Oct 24, 2019
  5. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    Also, nintendo cant detect linux/android booting, the are looking for changes in emmc, which is disabled in linux.
     
  6. CalcProgrammer1

    CalcProgrammer1 Member

    Newcomer
    2
    May 4, 2019
    United States
    Looking forward to Joycon rails driver! Being able to used joycons with external power and no Bluetooth would be great, I'd definitely like to use Joycons as a mouse, maybe with a button set to toggle soft keyboard.
     
  7. Cation163

    Cation163 Newbie

    Newcomer
    1
    Oct 24, 2019
    Russia
    Great! Thanks a lot!
    I know what to do on week-end )))
     
  8. StarGazerTom

    StarGazerTom GBAtemp Advanced Maniac

    Member
    11
    Feb 2, 2015
    They literally cannot ban you as Horizon OS never starts.
     
  9. shim80

    shim80 Member

    Newcomer
    2
    Jul 30, 2015
    France
    Anything new about Arch Linux for Switch?
     
  10. kai98yoshi

    kai98yoshi GBAtemp Regular

    Member
    5
    Sep 25, 2016
    Germany
    - message deleted -
     
    Last edited by kai98yoshi, Nov 2, 2019
  11. biip

    biip Newbie

    Newcomer
    1
    Nov 6, 2019
    Syria
    i.ibb.co/3yhygV5/IMG-20191105-142924.jpg
    i.ibb.co/zG0BK8J/IMG-20191105-142537.jpg

    that's my ubuntu set up right now! foldable bluetooth keyboard that fits inside the bag like a glove. it has it's own stand and for charging i just do "xrandr -o inverted" to invert the screen.
    which code editors you recommend for the L4T? Usually I use sublime text 3, but wasn't able to install it since it doesn't have an ARM build. if someone was successful with ST3 or similar please share the secret.
     
    Last edited by biip, Nov 6, 2019
    stick267 likes this.
  12. CalcProgrammer1

    CalcProgrammer1 Member

    Newcomer
    2
    May 4, 2019
    United States
    I use Headmelted's arm64 VS Code builds. Some of the capability is reduced vs. the x86/amd64 version due to various addons not working (C/C++ intellisense doesn't work) but the editor and syntax highlighting works great.
     
  13. biip

    biip Newbie

    Newcomer
    1
    Nov 6, 2019
    Syria
    i've tried today.. felt super slow and buggy. one time even froze on me for more than 5 minutes.
    i might just keep using gedit with some custom plugins if i can't find a better option. :unsure:

    edit: i also tried to install hangover like you suggested in other post. couldn't get it to compile without errors, even after 10x make -j4
     
    Last edited by biip, Nov 6, 2019
  14. CalcProgrammer1

    CalcProgrammer1 Member

    Newcomer
    2
    May 4, 2019
    United States
    I get random hangups with everything sometimes. Terminal, Firefox, Chrome, Code, etc. It seems like the kernel is waiting on some blocking operation and preventing anything else. I'm using a Samsung Evo Select 256GB card.
     
  15. Halo69

    Halo69 Member

    Newcomer
    1
    Aug 6, 2019
    United States
    Are those codes to run it in terminal?
     
  16. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    3
    May 20, 2019
    United States
    No, those are put in rc.local. But that being said, I am doing a bunch of updates to ubuntu, and that wont be needed in the future.

    We managed to get stable lp0 in ubuntu, and I am adding a bunch of the fixes from the new kernel. New joycon drivers, new touchscreen. Basically I am working on 2 things, 1 a new base image, and 2 updating the ubuntu repo, so you can get all of the userspace changes through apt update.
     
    Last edited by Gavin_Darkglider, Nov 7, 2019
  17. Halo69

    Halo69 Member

    Newcomer
    1
    Aug 6, 2019
    United States
    Ok cool, i am starting to learn linux as much as possible but where will i find rc.local?
    I am not to familiar with linux and trying to learn it. I'm using L4T ubuntu and can you show me how and where to create /etc/rc.local eg. touch /etc/rc.local
    Then make that executable.
    Do i have to create it just like that? What does the (eg) stand for? Not sure if thats part of it
     
  18. Halo69

    Halo69 Member

    Newcomer
    1
    Aug 6, 2019
    United States
    To create /etc/rc.local on the switch do i have to enter: sudo nano /etc/rc.local
     
  19. Worldblender

    Worldblender Advanced Member

    Newcomer
    2
    May 27, 2019
    United States
    Yes, you will have to use sudo, since you will be writing to a location that is normally read-only first normal users.
     
  20. Halo69

    Halo69 Member

    Newcomer
    1
    Aug 6, 2019
    United States
    But do i have to install nano 1st? I see that gedit is installed
     
  21. Halo69

    Halo69 Member

    Newcomer
    1
    Aug 6, 2019
    United States
    Also how do i boot to ofw? Or do i have to add a payload for it?

    — Posts automatically merged - Please don't double post! —

    I used to have Noob-friendly L4T ubuntu installed and decided to install this image, i installed twice and my joycons are connected to bluetooth but they not working, i press L3 for mouse but nothing.
     
  22. Worldblender

    Worldblender Advanced Member

    Newcomer
    2
    May 27, 2019
    United States
    You don't actually have to install nano first. You could also use gedit (or vim if you're brave enough) and save this file in the same place. Run this like:
    Code:
    sudo gedit /etc/rc.local
    If nothing else is installed on the microSD card on which your L4T Ubuntu installation resides on, your only option is to disable autoRCM (beware that this goes through the fuse check; if you're running on older OFW version and there are more fuses burnt than expected, your system won't boot). If you have Atmosphere or Kosmos Atmosphere installed, you can use their provided configs to boot into OFW, only this time it can bypass the fuse check.
     
Quick Reply
Draft saved Draft deleted
Loading...