Hacking compile error help me please

shining8930

Member
OP
Newcomer
Joined
Oct 24, 2018
Messages
8
Trophies
0
Age
38
XP
97
Country
Taiwan
Hi everybody
I have a PS4 version 5.50
But don't want to update 6.72
Recently saw Joonie86 porting Hen 2.1.3
So I downloaded the 5.50 source code to compile
But an error occurred during compilation
I don’t know if my method is wrong or the file is missing
Can somebody help me Please
I have been confused for weeks
Or can you help me compile 5.50 HEN
Thank you everyone
 

MostlyUnharmful

Well-Known Member
Member
Joined
Feb 8, 2018
Messages
410
Trophies
0
Age
42
XP
1,446
Country
Italy
Well, even if you use it on FW 5.50 it's still the same exploit, so unless you have a broken Bluray, in my opinion you don't have a lot of advantages against updating to FW 6.72, anyway post the error...

From what I recall, compiling it wasn't difficult but I was never able to link it with the linker available on Debian and I lost interest before trying to grab the right Ubuntu version.
 
  • Like
Reactions: KiiWii and Leeful

shining8930

Member
OP
Newcomer
Joined
Oct 24, 2018
Messages
8
Trophies
0
Age
38
XP
97
Country
Taiwan
First let me thank you for your reply
Many people recommend keeping the lower firmware version
However, there happens to be a ported HEN2.1.3
I want to keep the firmware version without upgrading
:rofl2::rofl2::rofl2:
 

Leeful

GBAtemp Member
Developer
Joined
Sep 4, 2015
Messages
1,903
Trophies
1
XP
7,068
Country
United Kingdom
Even if you port and compile hen to work on 5.50 you will still need a webkit and a kernel exploit that works on 5.50.
 
  • Like
Reactions: KiiWii

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
Even if you port and compile hen to work on 5.50 you will still need a webkit and a kernel exploit that works on 5.50.

I think that may be included. I asked joonie about control, since it doesn't work back ported. he couldn't get it to work on any firmware between 5.05 and 6.72 despite the fact that the game says it's for 6.50. someone asked about it on psx place, and I checked with pkg viewer. unfortunately, he said it forced him to update to 6.72, so it's a bizarre game to say the least.
 
  • Like
Reactions: shining8930

shining8930

Member
OP
Newcomer
Joined
Oct 24, 2018
Messages
8
Trophies
0
Age
38
XP
97
Country
Taiwan
kernel ?
Are you talking about this
“ ps4-ipv6-uaf-5.50”

I watched some YouTube
After using the web core
Then use NetCat GUI to inject hen2.1.3.bin
Can achieve Jailbreak effect
 
Last edited by shining8930,
  • Like
Reactions: Leeful

Leeful

GBAtemp Member
Developer
Joined
Sep 4, 2015
Messages
1,903
Trophies
1
XP
7,068
Country
United Kingdom
kernel ?
Are you talking about this
“ ps4-ipv6-uaf-5.50”

I watched some YouTube
After using the web core
Then use NetCat GUI to inject hen2.1.3.bin
Can achieve Jailbreak effect
Yes, thats the one for 5.50.
If you are having trouble compiling Hen make sure you are using Ubuntu 16.04.5 {16.04.06 also works). Which SDK are you using?
 

shining8930

Member
OP
Newcomer
Joined
Oct 24, 2018
Messages
8
Trophies
0
Age
38
XP
97
Country
Taiwan
Yes, thats the one for 5.50.
If you are having trouble compiling Hen make sure you are using Ubuntu 16.04.5 {16.04.06 also works). Which SDK are you using?
I am using Ubuntu 20
Because joonie said he used Ubuntu 20 to compile HEN files
 

Leeful

GBAtemp Member
Developer
Joined
Sep 4, 2015
Messages
1,903
Trophies
1
XP
7,068
Country
United Kingdom
I am using Ubuntu 20
Because joonie said he used Ubuntu 20 to compile HEN files
Personally I have never been able to compile any PS4 payloads on anything above ubuntu 16.04.06. (apart from the latest mira versions)
I cant even compile the xVortexSDK on 20.04 without it throwing errors.
I think on later versions of ubuntu you need to change something in the make files but I have no idea what.

I just use ubuntu 16.04.5 to compile any ps4 payloads (including the latest hen for 6.72) and I have no trouble at all.

What errors are you getting when you try and compile hen?
 

MostlyUnharmful

Well-Known Member
Member
Joined
Feb 8, 2018
Messages
410
Trophies
0
Age
42
XP
1,446
Country
Italy
I cant even compile the xVortexSDK on 20.04 without it throwing errors.
I think on later versions of ubuntu you need to change something in the make files but I have no idea what.

You are not alone. I only tried with the original Vortex HEN and I recall I was able to compile it but it failed at link time or the executable produced was huge in comparison to their release.

I tried to gather more info about the tinkering of the ELF structure, or the lack of it, and got confused about the -T option in the makefile: I thought it was an option for "ln" but it made no sense, I realized a lot late it was an option passed to the linker by gcc, but at that time I had already lost interest... ^__^;

Also, looks like I can't find the ported HEN sources for FW 5.50.
 

shining8930

Member
OP
Newcomer
Joined
Oct 24, 2018
Messages
8
Trophies
0
Age
38
XP
97
Country
Taiwan
Personally I have never been able to compile any PS4 payloads on anything above ubuntu 16.04.06. (apart from the latest mira versions)
I cant even compile the xVortexSDK on 20.04 without it throwing errors.
I think on later versions of ubuntu you need to change something in the make files but I have no idea what.

I just use ubuntu 16.04.5 to compile any ps4 payloads (including the latest hen for 6.72) and I have no trouble at all.

What errors are you getting when you try and compile hen?

When I try to compile HEN appears
Missing file Ps4.h

Please let me thank you again
You answered my question very seriously
No matter what the result is
I will sincerely thank

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

8RpgEOE.jpg

But I have seen any hen version
Ps4.h file is missing
I don't know how they compile...

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

You are not alone. I only tried with the original Vortex HEN and I recall I was able to compile it but it failed at link time or the executable produced was huge in comparison to their release.

I tried to gather more info about the tinkering of the ELF structure, or the lack of it, and got confused about the -T option in the makefile: I thought it was an option for "ln" but it made no sense, I realized a lot late it was an option passed to the linker by gcc, but at that time I had already lost interest... ^__^;

Also, looks like I can't find the ported HEN sources for FW 5.50.

Do not worry
Most people choose to upgrade the system version
joonie transplanted the hen
If we can't use
We also have the option to upgrade the system
I just Can not accept the 550
I put in the closet for two years:rofl::rofl:

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

Also, looks like I can't find the ported HEN sources for FW 5.50.
HEN Code?
Search Joonie86 in github
You can find it
gatHkwh.jpg

TM575Ph.png
 
  • Like
Reactions: Leeful

MostlyUnharmful

Well-Known Member
Member
Joined
Feb 8, 2018
Messages
410
Trophies
0
Age
42
XP
1,446
Country
Italy
When I try to compile HEN appears
Missing file Ps4.h

That's why @Leeful asked about which SDK version you were using, you also need the proper PS4-SDK library and headers files, I suppose one with the offsets for FW 5.50.

I tried to build HEN with Joonie86 forked PS4-SDK repository but doesn't look like it's the right one (does it still have the conflicting type error for __dev_t from 2~3 years ago?), tried with esc0rtd3w's and it doesn't built it either but I think this one fails at link time as I remember, so next I would probably need to hunt the right Ubuntu version with the specific linker as I only have Debian on my PCs but right now I'm not in the mood...

P.S. the instruction aren't super clear but to build the HEN you need to use an env variable to point to path where you have compiled the SDK, something like "export PS4_SDK=/path/to/the/root/of/PS4-SDK".
 
  • Like
Reactions: Leeful

Leeful

GBAtemp Member
Developer
Joined
Sep 4, 2015
Messages
1,903
Trophies
1
XP
7,068
Country
United Kingdom
Here is Joonies Hen for 5.50 compiled without errors. (on Ubuntu 16.04.06)
Screenshot from 2020-09-19 10-25-36.png
If you have trouble loading it directly with binloader using chedochaps 5.50 exploit try loading miraloader.bin first (port 2020) then send Hen to port 2021.
You might not have to do this on 5.50 but on 6.72 chedochaps exploit and binloader does not load Hen directly, you have to load it through miraloader first.(miraLoader NOT mira!)
If you need help getting the 5.50 miraloader.bin just let me know and I'll upload it.

EDIT: sorry, I just checked the mira github and there is no build for 5.50 so if Hen does not load directly with the binloader in chedochaps 5.50 exploit you are stuck.:(
 

Attachments

  • ps4-hen-vtx-550.zip
    5.6 KB · Views: 213
Last edited by Leeful,

shining8930

Member
OP
Newcomer
Joined
Oct 24, 2018
Messages
8
Trophies
0
Age
38
XP
97
Country
Taiwan
Here is Joonies Hen for 5.50 compiled without errors. (on Ubuntu 16.04.06)
View attachment 225331
If you have trouble loading it directly with binloader using chedochaps 5.50 exploit try loading miraloader.bin first (port 2020) then send Hen to port 2021.
You might not have to do this on 5.50 but on 6.72 chedochaps exploit and binloader does not load Hen directly, you have to load it through miraloader first.(miraLoader NOT mira!)
If you need help getting the 5.50 miraloader.bin just let me know and I'll upload it.

EDIT: sorry, I just checked the mira github and there is no build for 5.50 so if Hen does not load directly with the binloader in

chedochaps 5.50 exploit you are stuck.:(
I am still stuck in environmental issues
Thank you so much for helping me compile
Otherwise I will still report an error
Hg3jsaD.png

I will continue to learn how to compile
thank you
Thank Very very much
 
  • Like
Reactions: Leeful

shining8930

Member
OP
Newcomer
Joined
Oct 24, 2018
Messages
8
Trophies
0
Age
38
XP
97
Country
Taiwan
Currently 5.50 has successfully loaded Hen2.1.3
I think this is very helpful for players below 6.02
Thank you for your help to me and everyone
2zgA0NW.jpg
 
  • Like
Reactions: Leeful

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @hazbeans, welcome