Hacking Working Bailkal Linux Kernels for PS4pros on 6.72 and distros

bbqtool

Well-Known Member
Member
Joined
Aug 21, 2018
Messages
174
Trophies
0
Age
39
XP
1,268
Country
Australia
Last edited by bbqtool,
  • Like
Reactions: BioHaZarK

bbqtool

Well-Known Member
Member
Joined
Aug 21, 2018
Messages
174
Trophies
0
Age
39
XP
1,268
Country
Australia
Okay, I understand a bit more about what is going on now. I tried using Ps-Phive and I was getting the same results you were reporting when trying to run Linux.

Darkmodder's online host updated to include GoldHEN by default which I find to be a lot more unstable, at least with my current setup which had barely any issues before. It would fail every now and then but it was maybe 1 in 30 tries. Since I have been unplugging the PS4 with my wifi powerboard/google home setup*** and plugging back in after a full shut down, I've had one failure and that was about 3 weeks ago. When I tried running GoldHEN with darkmodder's page and open the Linux loader, I was also getting the same errors. With HEN 2.1.3, I could have it enabled and run the Linux Loader and it would load the Linux Loader just fine. Now with GoldHEN if you have it enabled, trying to open Linux Loader crashes everytime.

Try this method.

Make sure the only thing plugged into the PS4 before you boot is your USB drive with Linux. Boot your PS4.

1. In the browser, delete cookies and clear website data

Open the browser, press options, go to settings and select Delete Cookies and Clear Website Data. This is important because some of the old files in previous jailbreaks can linger on in the cache.

2. Open darkmodder's webpage

https://darkmoddervc.github.io/PS4JB

Follow the instructions. Turn off the Internet connection, reopen the browser.

3. Select "New Exploit"

Wait for it to say "PS4 Jailbreak Exploit Complete." If it crashes, unplug the PS4 and try again. It might crash the first time so you'll need to reboot.

4. Select Linux Loader

Remember, you basically only need one successful boot to install Linux.

Ps-Phive isn't as stable as darkmoddervc for me, so I didn't stop using that. I found HEN 2.1.3 to be really stable this way So far, GoldHEN has either failed or crashed when running games everytime I have used it. So to run a normal jailbreak, I am currently selecting "New Exploit" then "HEN" and it's back to being stable again.

Give that a try and tell me how it goes.

***Literally just plugging my PS4 Pro into this https://www.jbhifi.com.au/products/tp-link-kasa-smart-wi-fi-power-strip and voice controlling it with this https://www.jbhifi.com.au/products/google-nest-mini-charcoal-3 to "unplug it" and "plug it back in" before turning it on again.
 
Last edited by bbqtool,

BioHaZarK

Member
Newcomer
Joined
Mar 20, 2021
Messages
7
Trophies
0
Age
21
XP
53
Country
France
Okay, I understand a bit more about what is going on now. I tried using Ps-Phive and I was getting the same results you were reporting when trying to run Linux.

Darkmodder's online host updated to include GoldHEN by default which I find to be a lot more unstable, at least with my current setup which had barely any issues before. It would fail every now and then but it was maybe 1 in 30 tries. Since I have been unplugging the PS4 with my wifi powerboard/google home setup*** and plugging back in after a full shut down, I've had one failure and that was about 3 weeks ago. When I tried running GoldHEN with darkmodder's page and open the Linux loader, I was also getting the same errors. With HEN 2.1.3, I could have it enabled and run the Linux Loader and it would load the Linux Loader just fine. Now with GoldHEN if you have it enabled, trying to open Linux Loader crashes everytime.

Try this method.

Make sure the only thing plugged into the PS4 before you boot is your USB drive with Linux. Boot your PS4.

1. In the browser, delete cookies and clear website data

Open the browser, press options, go to settings and select Delete Cookies and Clear Website Data. This is important because some of the old files in previous jailbreaks can linger on in the cache.

2. Open darkmodder's webpage

darkmoddervc.github.io/PS4JB

Follow the instructions. Turn off the Internet connection, reopen the browser.

3. Select "New Exploit"


Wait for it to say "PS4 Jailbreak Exploit Complete." If it crashes, unplug the PS4 and try again. It might crash the first time so you'll need to reboot.

4. Select Linux Loader

Remember, you basically only need one successful boot to install Linux.

Ps-Phive isn't as stable as darkmoddervc for me, so I didn't stop using that. I found HEN 2.1.3 to be really stable this way So far, GoldHEN has either failed or crashed when running games everytime I have used it. So to run a normal jailbreak, I am currently selecting "New Exploit" then "HEN" and it's back to being stable again.

Give that a try and tell me how it goes.

***Literally just plugging my PS4 Pro into this xxx and voice controlling it with this xxx to "unplug it" and "plug it back in" before turning it on again.



I follow your instructions :

1. In the browser, delete cookies and clear website data : OK

2. Open darkmodder's webpage : OK

3. Select "New Exploit" : NOK

Where did you find "new exploit" page when loading darkmoddervc.github.io/PS4JB page ? It automatically redirect me to darkmoddervc.github.io/PS4JB/index702.html and try to load the exploit. Then I can select "HEN" to load Hen 2.1.3 (that I did).

4. Select Linux Loader : NOK
Still have the message error "Out of memory" after loading Hen 2.1.3
 

bbqtool

Well-Known Member
Member
Joined
Aug 21, 2018
Messages
174
Trophies
0
Age
39
XP
1,268
Country
Australia
I follow your instructions :

1. In the browser, delete cookies and clear website data : OK

2. Open darkmodder's webpage : OK

3. Select "New Exploit" : NOK

Where did you find "new exploit" page when loading darkmoddervc.github.io/PS4JB page ? It automatically redirect me to darkmoddervc.github.io/PS4JB/index702.html and try to load the exploit. Then I can select "HEN" to load Hen 2.1.3 (that I did).

4. Select Linux Loader : NOK
Still have the message error "Out of memory" after loading Hen 2.1.3

Ah ok, I didn't know the 7.02 version runs the exploit by itself because I'm on 6.72. Don't enable HEN to run the Linux Loader. Just go straight to Linux Loader when the exploit runs successfully. That should work.

If you're enabling HEN before you run Linux in PS-Phive, it might also be a problem. Try just going straight to Linux.
 
Last edited by bbqtool,

Arko

Well-Known Member
Newcomer
Joined
Nov 14, 2019
Messages
79
Trophies
0
XP
271
Country
Antarctica
This is so fucking frustrating.

Only kernel that's working for me is the original psxita baikal 4.14.93 kernel. And that stops working once the screen turns off, I can ssh into the machine but the screen doesn't turn back on.

All the other kernels refuse to work. Closest I got was a gentoo 5.3.7 gentoo kernel (not the 12 dirty one) and that gave black screen at the start.

And the only host working for me is sleirsgoevy's host. All others either outright restart the machine or get stuck at white light. (darkmodder, gentoo, leeful, alazif et al all fail)

7116b pro on 6.72 here.

Any of you had luck with this machine?

edit: I got it to work Ill explain later
 
  • Like
Reactions: BioHaZarK

BioHaZarK

Member
Newcomer
Joined
Mar 20, 2021
Messages
7
Trophies
0
Age
21
XP
53
Country
France
Ah ok, I didn't know the 7.02 version runs the exploit by itself because I'm on 6.72. Don't enable HEN to run the Linux Loader. Just go straight to Linux Loader when the exploit runs successfully. That should work.

If you're enabling HEN before you run Linux in PS-Phive, it might also be a problem. Try just going straight to Linux.

When I just load the linux loader thanx to darkmoddervc.github.io/PS4JB/index702.html host (with or without enabling HEN) I get "out of memory" message.

PS-Phive is only for 6.72.

This is so fucking frustrating.

Only kernel that's working for me is the original psxita baikal 4.14.93 kernel. And that stops working once the screen turns off, I can ssh into the machine but the screen doesn't turn back on.

All the other kernels refuse to work. Closest I got was a gentoo 5.3.7 gentoo kernel (not the 12 dirty one) and that gave black screen at the start.

And the only host working for me is sleirsgoevy's host. All others either outright restart the machine or get stuck at white light. (darkmodder, gentoo, leeful, alazif et al all fail)

7116b pro on 6.72 here.

Any of you had luck with this machine?

edit: I got it to work Ill explain later

Seems you got same problems, can you give me the size of your kernel image bzImage (in Ko) plz in order to let me try on 7.02.
What did you do for finally solve it ?
Thanx
 
Last edited by BioHaZarK,

Arko

Well-Known Member
Newcomer
Joined
Nov 14, 2019
Messages
79
Trophies
0
XP
271
Country
Antarctica
Alright, I'm now on linux fedora 32 latest release by itmania, typing this from firefox.

I used the gentoo 5.3.7 kernel-gentoo dirty. But not the 7325kb 12-dirty one. The kernel I used is available on ps4gentoo github.

Sleirsgoevy was giving me not enough memory error. It asked me to use psxitarch site but it's only for 5.05. So I used darkmodder's linux loader but even though light turned blue, I didn't get any visual. But it was running the shell.

So I typed the installation command blindly and the external hdd led lit up, waited about an hour or so then typed the start-psxitarch.sh just incase.

Then hard turned off and used sleirsgoevy's host.

Even though the 4.14.93 kernel from psxitarch works without any issues, it's old so I wanted to use the gentoo 5.3.7. But It was botting into the shell but as soon as the graphics UI was kicking it was giving me gray screen (not black or washed out, just gray).

By pure luck and trial and error I bypassed the thing.

Do these steps:

1 New exploit from darkmodder
2 sleirsgoevy's linux
3 disconnect hdmi cable
4 wait 10 seconds then replug it. In a few seconds the controller must turn off and console's blue light must come up.
5 Rescue shell is visible, GUI is visible, everything is dandy.

Optional 6 If you turn off the display, the screen never comes back. You have to unplug and replug the HDMI cable and hit ctrl+alt+f6, Rescue shell comes up and you juts enter login and pass then hit ctrl+alt+f1 and the screen comes back.

Ethernet doesn't work and the wifi is very slow, it's like 200KB/s slow. To alleviate that, turn of your modem or wifi before you launch linux turn it back on again a minute after you launch linux. Also try different wifi channels.

Played castle crashers a bit, and it's working fine. Currently messing with lutris.

Let me know if I can be of help.
 

Falcon_X

Member
Newcomer
Joined
Apr 4, 2021
Messages
5
Trophies
0
Age
41
XP
47
Country
Germany
Just registered to thank you Arko, your post was very helpful! :toot:
I hated this HDMI black screen bug, I am now in Manjaro and using a HDMI switch. Switching back to Manjaro PS4 just works for me with ctrl+alt+f6 and ctrl+alt+f1 shortly after another, don't even need to (re-)login. When I've searched in other forums for a fix I've already read about hotkey combinations with ctrl+alt+f1/f2, but your combination with f6 does it!

Also your recommendation with the payload seems to be a good find! Have to see in longterm, but so far 3 from 3 times it worked. Leefuls HEN & linux payload was sometimes like a lottery.

About your Wifi problem, in Manjaro it's slow, but NOT that slow, still between 1-2MBs, nevertheless for big Steam games is still to slow for downloading. Might be also a solution, If you have a Windows pc or laptop near by the PS4 I would recommend using a Lan bridge, that's how I did it and I get the full 5GHz wifi speed from my laptops in Manjaro now.

Good luck with Fedora, ITMania pushing it, with new drivers and everything, that's definitly a plus. Nevertheless overall Manjaro is more user friendly... and Gentoo... a linux distro from hell (at least for Linux newbies like me). I think for gentoo are not even updated mesa drivers out there (?). But anyway... thanks again!
If you find anything useful, please post it here :)
 
  • Like
Reactions: bbqtool

valandys

Member
Newcomer
Joined
May 31, 2015
Messages
5
Trophies
0
Age
50
XP
64
Country
Greece
Hello i have dump my ps4 7.55 kernel can i make bzImage to use on linux? Thank you and sorry for my english.I have wifi problen on linux.
 
Last edited by valandys,

Clovus

Member
Newcomer
Joined
Feb 24, 2020
Messages
14
Trophies
0
Age
27
XP
125
Country
United States
The one issue I can't get past due to my lack of knowledge when it comes to Linux stuff is how the hell does one update the distro without updating the display drivers?

I get that the display drivers are modified to support the PS4's GPU and so updating them will swap them out for the normal display drivers that don't work on the PS4. That will screw up the whole system forcing me to reinstall.

But the update command "sudo pacman -Syu" automatically attempts to install the latest display drivers. Using the commands to exclude the display drivers from the update will result in the update failing due to package conflicts with the older modified drivers. If I cannot update the distro I cannot install additional packages. I run into this problem on Catjaro, Psxitarch and Gentoo.

Anyone know how to successfully update the distro without updating the display drivers and without causing conflicts? Would greatly appreciate the help.
 

bbqtool

Well-Known Member
Member
Joined
Aug 21, 2018
Messages
174
Trophies
0
Age
39
XP
1,268
Country
Australia
The one issue I can't get past due to my lack of knowledge when it comes to Linux stuff is how the hell does one update the distro without updating the display drivers?

I get that the display drivers are modified to support the PS4's GPU and so updating them will swap them out for the normal display drivers that don't work on the PS4. That will screw up the whole system forcing me to reinstall.

But the update command "sudo pacman -Syu" automatically attempts to install the latest display drivers. Using the commands to exclude the display drivers from the update will result in the update failing due to package conflicts with the older modified drivers. If I cannot update the distro I cannot install additional packages. I run into this problem on Catjaro, Psxitarch and Gentoo.

Anyone know how to successfully update the distro without updating the display drivers and without causing conflicts? Would greatly appreciate the help.

I don't think you can anymore. Whenever I try to update in terminal, I get a 404 when it tries to download the ps4.db from the psxita.it repository.
 

Arko

Well-Known Member
Newcomer
Joined
Nov 14, 2019
Messages
79
Trophies
0
XP
271
Country
Antarctica
The one issue I can't get past due to my lack of knowledge when it comes to Linux stuff is how the hell does one update the distro without updating the display drivers?

I get that the display drivers are modified to support the PS4's GPU and so updating them will swap them out for the normal display drivers that don't work on the PS4. That will screw up the whole system forcing me to reinstall.

But the update command "sudo pacman -Syu" automatically attempts to install the latest display drivers. Using the commands to exclude the display drivers from the update will result in the update failing due to package conflicts with the older modified drivers. If I cannot update the distro I cannot install additional packages. I run into this problem on Catjaro, Psxitarch and Gentoo.

Anyone know how to successfully update the distro without updating the display drivers and without causing conflicts? Would greatly appreciate the help.

I believe the ps3ita team's github details. AFAIK you needed to update keys etc.

However, I'm on ITmania's Fedora 32 and I can update everything but just the graphics driver (vulkan runtimes etc update fine). After updating GD, only vulkan apps crash, and it's easy to roll back to the previous driver, thanks to ITmania's repo.
 

BioHaZarK

Member
Newcomer
Joined
Mar 20, 2021
Messages
7
Trophies
0
Age
21
XP
53
Country
France
Alright, I'm now on linux fedora 32 latest release by itmania, typing this from firefox.

I used the gentoo 5.3.7 kernel-gentoo dirty. But not the 7325kb 12-dirty one. The kernel I used is available on ps4gentoo github.

Sleirsgoevy was giving me not enough memory error. It asked me to use psxitarch site but it's only for 5.05. So I used darkmodder's linux loader but even though light turned blue, I didn't get any visual. But it was running the shell.

So I typed the installation command blindly and the external hdd led lit up, waited about an hour or so then typed the start-psxitarch.sh just incase.

Then hard turned off and used sleirsgoevy's host.

Even though the 4.14.93 kernel from psxitarch works without any issues, it's old so I wanted to use the gentoo 5.3.7. But It was botting into the shell but as soon as the graphics UI was kicking it was giving me gray screen (not black or washed out, just gray).

By pure luck and trial and error I bypassed the thing.

Do these steps:

1 New exploit from darkmodder
2 sleirsgoevy's linux
3 disconnect hdmi cable
4 wait 10 seconds then replug it. In a few seconds the controller must turn off and console's blue light must come up.
5 Rescue shell is visible, GUI is visible, everything is dandy.

Optional 6 If you turn off the display, the screen never comes back. You have to unplug and replug the HDMI cable and hit ctrl+alt+f6, Rescue shell comes up and you juts enter login and pass then hit ctrl+alt+f1 and the screen comes back.

Ethernet doesn't work and the wifi is very slow, it's like 200KB/s slow. To alleviate that, turn of your modem or wifi before you launch linux turn it back on again a minute after you launch linux. Also try different wifi channels.

Played castle crashers a bit, and it's working fine. Currently messing with lutris.

Let me know if I can be of help.

Thanx for these precious informations :moogle:, however I still can't make Linux work on my CUH-7116B Pro on 7.02 FW...

About the loader :
First I tried darkmodder host. I got a dozen successful load of the exploit, but 100% of the time when I select the Linux loader and load it, I got systematically an error message (out of memory).

Then I used the sleirsgoevy host. I don't know if the loader worked well but when the exploit (JB + Linux 1GB) run successfuly I get this result :

- Screen get black (no signal) but the PS LED still stay white.
- Controller light turn off
- When I strike a key of the keyboard, the Keyboard LED turn off.
- On some kernels, after I stroke a key, PS light turn off and fan also but I'm not sure that's totally shut down cause to reboot the PS I have to press power button 2 times

About the kernel :
I tried the 3 gentoo kernel 5.3.7 given on the releases of the github channel (resp. 7325 (last one), 7093, 6997 (oldest) ).

Can you please :
- Give me the exact size of your kernel ?
- Describe the USB configuration of your PS4 (location of USB stick, keyboard, etc.)
- Describe the behaviour of the console just after loading the Linux loader

Thanx, I feel to be the only hashhole that can't be able to figure out Linux install on PS4 :nayps3:
 

Arko

Well-Known Member
Newcomer
Joined
Nov 14, 2019
Messages
79
Trophies
0
XP
271
Country
Antarctica

Sure, grab the pack I made for you here.

https://www51.zippyshare.com/v/6bklw84D/file.html

The 4.20 kernel is ITmania's baikal. But it's acting up at boot just like 5.3.7 gentoo. However, if you get it to boot, it's working fine.
The 4.14 is psxitarch, it's absolutely perfect when it comes to booting. Never had a problem, including black screens. However as far as I'm told, it has problems with swap file or something which requires to run Doom Eternal
The 5.3.7 327-dirty kernel is the one I'm using, and it works with the unplug the HDMI trick fine.

The intram is the regular packaged one.

Don't forget to rename whichever kernel you are going to use.


If you manage to install but get newroot mounting errors after you type "start-psxitarch.sh" try these commands:

type once "resume-boot" no quotes.
to see your partitions type "fdisk -l"
see whichever partition got linux (usually sdb2)
then type "mount -o barrier=0 /dev/sdX2 /newroot" (X being the letter)
then "resume-boot" again.

I plugged the hard drive to back back slot, used darkmodder's new exploit (not with hen) just for jailbreak as it's more succesful, then closed the page, closed the browser, opened browser, immediately start button and then stop loading page, closed the page, opened sleirsgoevy host, clicked on linux, as soon as I heard the sound I unplugged HDMI, waited ten seconds, replugged it, in two seconds the controller light bar turns off, console goes into blue light mode, rescue shell comes up, I plug in wired mouse and keyboard then continue there.

Also, please try a hard drive. I tried USB flash drive and couldn't get it to work, too many installation errors. I have to warn you though, the image flashing will completely erase the hdd, however the partitions can be recovered with Active Partition Recovery on Windows after you use Linux and shrink the Linux partition with gparted.

Let me know if I can help you further.
 

Ryan_nl

New Member
Newbie
Joined
Apr 23, 2021
Messages
1
Trophies
0
Age
33
XP
33
Country
Netherlands
I have found a bizare solution for black screens when everything should be running fine! The monitors that turn black can't handle the signal changing when the payload starts booting linux what results in the black screen when mounting in rescue mode before booting into linux... I had an automatic source switching to my other hdmi port when booting to the booting screen(The part where the ps4 starts flashing blue and orange) after that I immediately switched back to the hdmi port where my ps4 was booting Linux from and it came back with texts and eventually Fedora32! It was a coincidence of figuring it out and costed me more than 8 hours but its solved for me. Hope anyone else can profit from this.
 

Falcon_X

Member
Newcomer
Joined
Apr 4, 2021
Messages
5
Trophies
0
Age
41
XP
47
Country
Germany
Just in case, someone might have missed it, there's a newer kernel and fedora 34 beta version out there from ITmania. Can be found at youtube (gbatemp doesn't allow me to post links :glare:)
 
  • Like
Reactions: bbqtool

Arko

Well-Known Member
Newcomer
Joined
Nov 14, 2019
Messages
79
Trophies
0
XP
271
Country
Antarctica
@Falcon_X

Just going to let people know that it's not a new kernel for us (this thread is for baikal chipset) and only for belizes.
However, it has fsync and xanmod support.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    AncientBoi @ AncientBoi: :rofl2: