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,116
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
  • No one is chatting at the moment.
  • The Real Jdbye @ The Real Jdbye:
    the vram is one advantage when it comes to AI but ends up being slower even with that and really AI is the only use case that needs more than 12gb vram right now
  • Psionic Roshambo @ Psionic Roshambo:
    Interesting lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think I watched a video where two games at 4K where eating just over 16GB of RAM and it's the one case where the 7900XT and XTX pulled ahead (minus RTX of course)
  • Psionic Roshambo @ Psionic Roshambo:
    So my opinion is that they could age a bit better in the future, and maybe AMD will continue improving them via drivers like they tend to do. No guarantee there but they have done it in the past. Just a feeling I have.
  • The Real Jdbye @ The Real Jdbye:
    cyberpunk at 4k without DLSS/fidelityfx *might* exceed 12gb
    +1
  • The Real Jdbye @ The Real Jdbye:
    but that game barely runs at native 4k
  • Psionic Roshambo @ Psionic Roshambo:
    I think it was some newer games and probably poorly optimized PS4 or PS5 ports
  • The Real Jdbye @ The Real Jdbye:
    they definitely will age better but i feel dlss might outweigh that since it looks about as good as native resolution and much less demanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    When I played Cyberpunk on my old 2080 Ti it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    AMD could introduce something comparable to DLSS but nvidia's got a lot more experience with that
  • The Real Jdbye @ The Real Jdbye:
    least amd 7xxx has tensor cores which the previous generations didn't so there is the potential for AI upscaling
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
    Psionic Roshambo @ Psionic Roshambo: @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to...