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,798
Trophies
1
Age
44
XP
6,561
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,283
Trophies
3
XP
12,052
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.
  • K3Nv2 @ K3Nv2:
    It must be the 1st already
  • BakerMan @ BakerMan:
    1st of what?
  • BakerMan @ BakerMan:
    may?
  • K3Nv2 @ K3Nv2:
    Oh yeah it's in September
  • Xdqwerty @ Xdqwerty:
    @BakerMan, yea i think its different
  • BakerMan @ BakerMan:
    ok, because here it's in september, right before the fuckin school year starts
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
    TwoSpikedHands @ TwoSpikedHands: I appreciate the insight!