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,836
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
  • No one is chatting at the moment.
  • 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."
    +2
  • 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.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
    BakerMan @ BakerMan: smug sonic time lmao +1