Homebrew Linux for 3DS

  • Thread starter Thread starter BufferOverflow
  • Start date Start date
  • Views Views 57,013
  • Replies Replies 185
  • Likes Likes 12

Would you like have Linux for 3DS?

  • Yes

    Votes: 274 84.0%
  • No

    Votes: 8 2.5%
  • I dont care

    Votes: 43 13.2%

  • Total voters
    326
in my years of modding/scene stuff.. 1st rule dont update if you really dont need too.
I would say it's more like "don't update unless you know you can go back". And you know you can go back, so no permanent harm will be done ^^
I would just not recommend you to update if you use a Gateway and retail carts. I did that and lost all my save files from retail carts (due to some incompatibility introduced when updating). If you're a full pirate however, I don't know if you lose anything.
 
I'm using sysnand 4.5 and Gateway emunand 10.3. What would be my options to run this ? (launching homebrew via Cubic Ninja CIA)
 
New version! Now it runs Weston!! :D

It uses Brahma2 so it will only work on <=9.2 FW.
Here's the download (Linux + loader): http://www.mediafire.com/download/kjd88rh4o61q9v1/Linux_3DS_binaries.zip

Code:
Linux 3DS Loader by xerpi

Installation:
1) Copy the zImage and the nintendo3ds_ctr.dtb to the root of the SD card
2) Copy the 3ds folder to the root of the SD card
3) Run 3DS Linux Loader.3dsx with a Homebrew Launcher
    User: root
    Pass: root

You can start Weston by running:
    # /start-weston.sh

Sources:
* Linux: https://github.com/xerpi/linux
* Linux 3DS Loader: https://github.com/xerpi/3DS-Linux-Loader

OBWYJ5Z.jpg
 
New version! Now it runs Weston!! :D

It uses Brahma2 so it will only work on <=9.2 FW.
Here's the download (Linux + loader): http://www.mediafire.com/download/kjd88rh4o61q9v1/Linux_3DS_binaries.zip

Code:
Linux 3DS Loader by xerpi

Installation:
1) Copy the zImage and the nintendo3ds_ctr.dtb to the root of the SD card
2) Copy the 3ds folder to the root of the SD card
3) Run 3DS Linux Loader.3dsx with a Homebrew Launcher
    User: root
    Pass: root

You can start Weston by running:
    # /start-weston.sh

Sources:
* Linux: https://github.com/xerpi/linux
* Linux 3DS Loader: https://github.com/xerpi/3DS-Linux-Loader

OBWYJ5Z.jpg
Wow, can't wait to try this out! BTW try setting the driver to 240x400 instead of 400x240 that should rotate it properly (I think)

EDIT: also I'm pretty sure Brahma2 works on 4.x and above... Maybe not, but I'm pretty sure it does

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

Also I think porting this over to MSET and other entrypoints should be possible with cakerop :)
 
Last edited by dark_samus3,
I typed in "startx" automatically as I saw the shell prompt :rofl2:
Also, how do I xrandr on *this* Wayland? :P

Anyways, it works perfectly fine :P The bottom keyboard is rotated right 90degrees :P 'cause the 3DS's screens are in portrait mode, exactly as Wayland renders.

if I want to make binaries for this, should I use? gcc-linux-gnueabi, or gcc-none-eabi?

Except not being able to *randr somehow, you did a great job ;)

Edit: what do we need those 64 tty devices for? :rofl2:
 
Last edited by Sono,
I typed in "startx" automatically as I saw the shell prompt :rofl2:
Also, how do I xrandr on *this* Wayland? [emoji14]

Anyways, it works perfectly fine [emoji14] The bottom keyboard is rotated right 90degrees [emoji14] 'cause the 3DS's screens are in portrait mode, exactly as Wayland renders.

if I want to make binaries for this, should I use? gcc-linux-gnueabi, or gcc-none-eabi?

Except not being able to *randr somehow, you did a great job ;)

Edit: what do we need those 64 tty devices for? :rofl2:
IIRC randr is an x extension. So xrandr tool only works on x.
 
  • Like
Reactions: ihaveahax
I want to try making a video of this, but I'm not sure what to show off other than loading Weston. what could I do?
 
I figured there wasn't much to do :P

I'm going to have to figure out how to get my own files into it, or just create something really short on the 3DS
If it has wget you could download it to the ramdisk I suppose.

EDIT: Scratch that, no network hardware drivers. Actually not sure how you'd get anything on there without just typing it manually. Probably could edit the ramdisk somehow.
 
Last edited by shinyquagsire23,
If it has wget you could download it to the ramdisk I suppose.

EDIT: Scratch that, no network hardware drivers. Actually not sure how you'd get anything on there without just typing it manually. Probably could edit the ramdisk somehow.
forgot about wget. it has it, but I have yet to see if it has internet access. I'm going to have such a fun time typing a url on this

...and I only just realized your edit. I imagine zImage has the files
 
Last edited by ihaveahax,
forgot about wget. it has it, but I have yet to see if it has internet access. I'm going to have such a fun time typing a url on this

...and I only just realized your edit. I imagine zImage has the files
Yeah wget won't work unless @xerpi implemented network drivers while I wasn't looking. Your best bet would be typing in commands to bash manually or editing the ramdisk.
 
Yeah wget won't work unless @xerpi implemented network drivers while I wasn't looking. Your best bet would be typing in commands to bash manually or editing the ramdisk.
nope, it doesn't work

also, the only editor on it was "vi". there was no way I could exit it though (":" doesn't do anything?) besides forcing the power off. maybe I'm just missing something.

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

I found a (pretty bad) way to make and execute a shell script:
  1. do "tee filename"
  2. type something, press Start to enter
  3. press Y to send Ctrl-C
  4. do "bash filename" (since you can't do "chmod +x" without + unless there's a workaround)
rg0gOYRl.jpg


someone just told me a way to type : though;
":" is actually ";", just cut off. To send a colon, tap and hold Shift, swipe up then let go, then tap :, then tap Shift.
this also makes things like > possible. well, off I go doing things I guess.
 
Last edited by ihaveahax,
  • Like
Reactions: shinyquagsire23
nope, it doesn't work

also, the only editor on it was "vi". there was no way I could exit it though (":" doesn't do anything?) besides forcing the power off. maybe I'm just missing something.

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

I found a (pretty bad) way to make and execute a shell script:
  1. do "tee filename"
  2. type something, press Start to enter
  3. press Y to send Ctrl-C
  4. do "bash filename" (since you can't do "chmod +x" without + unless there's a workaround)
rg0gOYRl.jpg


someone just told me a way to type : though;

this also makes things like > possible. well, off I go doing things I guess.
You could have also done maybe something like echo -e "#!/bin/bash\necho Hey\necho Whatever" > file.sh and that would have worked. uname is also fun to play with to get the kernel version and other information.
 

Site & Scene News

Popular threads in this forum