Hacking Ubuntu 18.04 on a Switch

  • Thread starter Thread starter cmsj
  • Start date Start date
  • Views Views 96,338
  • Replies Replies 192
  • Likes Likes 54
Maybe it helps to show the exact steps that I've done:

Code:
git clone https://github.com/cmsj/nintendo-switch-ubuntu-builder.git ubuntu
cd ubuntu
./make_build.sh
gparted ( Created a 300MB FAT32 partition then filled the rest of the sd card with a second ext4 partition labled "rootfs" )
mount /dev/sdn2 /mnt/sdcard
tar xvf bionic.tgz -C /mnt/sdcard
cp bionic.tgz /mnt/sdcard/root

can those steps be runned also under debian ?
 
can those steps be runned also under debian ?
I've not tried it, but I expect it would work.

(Not sure why Maufeat copies the tarball to the sdcard at the end, but it won't break anything, just uses up 970MB of SD space :) )
 
I've not tried it, but I expect it would work.

(Not sure why Maufeat copies the tarball to the sdcard at the end, but it won't break anything, just uses up 970MB of SD space :) )

with vmfusion will i need to patch to usb 2.0 ? that would suck because on my mac terminal i wont need to patch it
 
with vmfusion will i need to patch to usb 2.0 ? that would suck because on my mac terminal i wont need to patch it

Building the image is fine in a VM, since it's not touching the Switch. The question really is whether f0f's exploit chain can either run in macOS, or in a vmware VM and I'm afraid I don't know the answers to either of those. I happen to use a Mac, but I also have a xeon machine under my desk running Linux, so I just do all the image building and kernel compiling on that since it's faster :)
 
  • Like
Reactions: Deleted User
I've not tried it, but I expect it would work.

(Not sure why Maufeat copies the tarball to the sdcard at the end, but it won't break anything, just uses up 970MB of SD space :) )

k ty. Well, I'll definitely try to run the script again later and do again those steps without the last line. You haven't touched the f0f's exploit, right? Mind sharing your rootfs or tgz?
 
Random thought, but I wonder how much it would take to get the switch to run an image of the Nvidia Shield TV.
Given how similar their hardware is, I’d imagine it could run like a dream.


Sent from my iPhone using Tapatalk
 
Random thought, but I wonder how much it would take to get the switch to run an image of the Nvidia Shield TV.
Given how similar their hardware is, I’d imagine it could run like a dream.


Sent from my iPhone using Tapatalk

only problem is its not open source so you wont be able to simply install it
 
only problem is its not open source so you wont be able to simply install it

Oh I understand it won’t be easy, just saying that’s what these guys are good at. Seeing as it already launches some linux distros almost out of the box just fine, and with Android being based on Linux, I’d say we’re already halfway, but I guess we’ll wait and see.


Sent from my iPhone using Tapatalk
 
Oh btw, from the Image I see a full Ubuntu Installation. But with 18.04 they introduced a "minimal installation"-option without much bloat - anyway to choose minimal/full installation?
 
Is this just Ubuntu bash or does it include the desktop environment? Would love to have Ubuntu Gnome on the Switch. Arch with LXDE is pretty hard to use with such a small display and I'd prefer apt over pacman.
Amazing work btw! Keep it up!

It builds a full desktop image (see the picture in the thread's first post)

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

https://github.com/fail0verflow/shofel2/tree/master/configs

For Screen Rotation and Touch Calibration.

switch-ts-calibration.rules is a udev rule and the other file is a script you need to run to flip the Screen. Maybe you can include it.

Yeah switching over to that udev rule is on the todo list after I get 3D working properly (mesa finally just finished building, but so far it's not had any effect. Time to go spelunking :)
 
@cmsj maybe you need to include this
Yep, gonna play with that.

Have you seen a reference somewhere to controlling the CPU clock? I read a post *somewhere* about something in /proc or /sys that could bump the speed up a little, but I'll be damned if I can find it again.
 
Yep, gonna play with that.

Have you seen a reference somewhere to controlling the CPU clock? I read a post *somewhere* about something in /proc or /sys that could bump the speed up a little, but I'll be damned if I can find it again.

about the cpu clock i saw that too ... but do you want really mess with it ?
 
Nice one there, but do you think Ubuntu distro would really be the best 4 it? It is kinda too much desktop mac like for my taste ;). But still looks awesome :grog:
Unity seems perfect for touchscreen devices. I never liked it much on an actual PC.
It's not exactly light though. The Switch should be plenty powerful enough to run it, but still, with no hardware acceleration I'm not surprised it runs slowly.
 
Last edited by The Real Jdbye,

Site & Scene News

Popular threads in this forum