Hacking RELEASE Painless Linux - it's Linux, but painless (Windows, Mac OS, Linux & Android)

KitsumiTheFox

Well-Known Member
Newcomer
Joined
Jan 9, 2016
Messages
85
Trophies
0
Age
23
Location
Utah
XP
590
Country
United States
I wrote the image to an SD Card using Win32 Disk Imager, and I tried 2 different SDHC cards, a Samsung 32GB card, and a Fujifilm 16GB card, but neither of them worked.
It can't find the /dev/mmcblk0p2 and then goes into
Code:
mmc0: Timeout waiting for hardware interrupt.

I've tried using Etcher, Win32DiskImager, DD, and building the partition table myself and none of that has worked so far.

I just got a new SD card today, and it didn't work either?

@natinusala Do you have any ideas?
 

CuriousTommy

Well-Known Member
Member
Joined
Jul 22, 2014
Messages
524
Trophies
0
Age
27
XP
647
Country
United States
Xorg has nothing to do with the kernel, unless modesetting is failing, which may come from bad DRM config

I can definitely say that it is a modeset error. Are DRM kernel configs different for each distro?

Outside of compiling, I wonder if the "CONFIG_EXTRA_FIRMWARE_DIR" location is important when you boot the kernel.

Edit: Once I managed to disable Xorg from autostarting (At first I thought it was GDM, but it was actually SLiM), I was able to ssh into my custom kernel. So at least Arch Linux can boot to a command line. I am going to mess around with dmesg and see if I can find any useful information.

Edit2: Doesn't seem like dmesg is giving any useful information...

Edit3: I am starting to have reasonable suspicion that the prebuilt Arch Linux install is the cause for my problems. I noted that it does not use the standard build of mesa. It instead has a custom version of mesa called "mesa-full-tegra".
 
Last edited by CuriousTommy,

CuriousTommy

Well-Known Member
Member
Joined
Jul 22, 2014
Messages
524
Trophies
0
Age
27
XP
647
Country
United States
Because hekate only runs coreboot

I see... but I am still confused as to how to the boot process works (or how coreboot knows where to find the boot.scr file). From I understand, coreboot doesn't contain any Lakka specific paths (when I looked from the patches)...

On a side note, I would assume that we no longer need to build the shofel2 exploit now that it uses hekate instead.
 

ekson

New Member
Newbie
Joined
Sep 2, 2018
Messages
1
Trophies
0
Age
41
XP
57
Country
China
Hey Tempers,

I rebuild the painless-linux kernel with applied Lakka patches. That means we finally have bluetooth sound, fixed battery indicator and Joycon support in Painless Linux.

Install Painless-Linux as described here:

Then extract the archive attached to this post and patch your Painless-Linux setup as described in the readme.txt.

Big thx to @natinusala for your help. :)


Hi, DarkOrb. I've put your patch into the sd card. The bluetooth audio is work like a charm right now. But I don't know how to use the joycon with your patch. so please explain how to use the joycon in detail.
Thx a lot.
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,835
Trophies
1
Age
44
XP
6,619
Country
Germany
natinusala
From the github page:
Audio : not working, even through Bluetooth headphones or speakers
I thought it actually was working now through BT or was that limited to lakka?

Edit: Nevermind. If only I would have read the post above mine. :shy:
 

nickham13

Member
Newcomer
Joined
Apr 12, 2019
Messages
5
Trophies
0
Age
29
XP
158
Country
United States
Wanted to make a quick post here, I followed all the instructions very closely and I just can't get Linux to boot on my Switch. I've run the exploit multiple times and I've only been able to get that screen with the penguins on it to come up once or twice (it just black-screened after that). I've run Kosmos v12 on it (my OFW version is 7.0.1 if that helps). I think it may have something to do with my SD Card, but I don't have access to a larger one ATM. Are there any tips to make it work? I can run Lakka with no problems but I'd like to get this working in time for sound support.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,307
Trophies
3
XP
12,100
Country
Poland
Wanted to make a quick post here, I followed all the instructions very closely and I just can't get Linux to boot on my Switch. I've run the exploit multiple times and I've only been able to get that screen with the penguins on it to come up once or twice (it just black-screened after that). I've run Kosmos v12 on it (my OFW version is 7.0.1 if that helps). I think it may have something to do with my SD Card, but I don't have access to a larger one ATM. Are there any tips to make it work? I can run Lakka with no problems but I'd like to get this working in time for sound support.
This is old distro. Not maintained anymore. Sound implementation is already done, but for now only available in Lakka github to compile by yourself.
Just let it die and wait. Ubuntu l4t distro is WIP.
 

tansoftware

Active Member
Newcomer
Joined
Apr 15, 2019
Messages
36
Trophies
0
Age
42
XP
351
Country
Canada
Need help with the Painless Linux Distro !!!

I followed the instructions to the letter, but I'm getting really weird behavior from my Switch.

Out of 10 reboots, it only loads Painless Linux once, then good luck getting it to load again after a reboot.

I've tried tracing where this issue is coming from but could not find a reason for this unpredictable boot behavior.

I'm using a 32gb Samsung MicroSD which was 'etched' with the Painless Linux img, and then patched as per patching instructions to get audio to stream via Bluetooth.

There is absolutely nothing wrong with the MicroSD, verified its storage integrity, and everything checks out.

I even tried the unpatched version of Painless Linux, but still, the same behavior continues, 1 successful boot out of 10 boot attempts.

I was wondering if anyone here could help me understand why this is happening, I'd be greatly thankful.

P.S: I ordered another MicroSD, Samsung EVO Plus 64gb U3 which should arrive today.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • K3Nv2 @ K3Nv2:
    He put it down when the 3ds came out
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    BigOnYa @ BigOnYa: Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate...