Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
PS4 CFW and Hacks       Thread starter PSXHAX       Start date Feb 24, 2019 at 9:56 PM       63      
Status
Not open for further replies.
For quite some time PlayStation 4 scene developers have been researching and testing code to control the PS4 fan speed in order to adjust the console's temperature, and following the PS4 Homebrew PKG Store developer @Joaquin Salih (aka toxxic407) made available a collection of payloads via Twitter used to control the PS4 fan speed on Github.

Download: PS4-fan-control-payloads-master.zip / GIT

Recently PlayStation 4 Fan Control code from ethylamine's repository based on Zer0xFF's findings was forked by kozarovv for a 4.74 port and added to JgDuff's PS4 Exploit Host v0.4.6 updates as well. (y)

Below are some additional details from the README.md: PS4 Fan Control Payloads

Collection of Payloads used to control the fan of PS4's on version 5.05. All Credit goes to ethylamine, Zer0xFF (Twitter), theorywrong (Twitter), xvortex (Twitter) and zecoxao (Twitter). The name is equal to the Temperature threshold in degrees.

:alert: Most of the Payloads are not tested! I do not take any responsibility and I am not liable for any damage done to your PS4!
PS4 PRO 5.05 HARDWARE SPEED FAN CONTROL MOD with PSXITArch Linux via PS4LINUX
PS4 Fan Control with X-Project + New PS4 Homebrew File Manager
I compiled the fan control payloads with support for 6.72 with all threshold options from 0°C to 99°C. If anybody wants to use them: PS4 Fan Control Payloads / PS4-fan-control-payloads-master.zip / GIT
The code for the payload is from this repo and not from me: ps4-fan-threshold-master.zip / GIT
Code:
u32 sceKernelGetCpuTemperature(u64 res);

u64 numb;
u32 ret = sceKernelGetCpuTemperature(&numb);
printf("sceKernelGetCpuTemperature returned %i\n", ret);
printf("TEMP %d°C\n", numb);
Code:
connected
sceKernelGetCpuTemperature returned 0
TEMPERATURE is 62 °C
sceKernelGetCpuFrequency returned 1.60 GHz
Download: MiraTempReport.7z (172.44 KB - includes MiraTempReportByLMAndAlAzif.bin and MiraLoader.elf)
Download: ps4fancontrol-1.0.0-1-x86_64.pkg.tar.xz / PS4FanControl GIT by Ps3itaTeam
Code:
Update psxitarch v2 27/03/21
 
First remove this pkg:
sudo pacman -R jwm-git
sudo pacman -Rc openobex
 
After open the file /etc/pacman.conf, change the repo from https://psxita.it/repo to https://psxita.it/repo-testing, update psxitarch with:
sudo pacman -Syu
Answer yes to all, when you get the message that some packages are corrupted because the keyring are outdated, answer no to "..you want delete the corrupted packages?", this should abort the upgrade of system.
To fix the corrupted packages just install archlinux-keyring with sudo pacman -S archlinux-keyring
Now you can finally update the system and drivers with 
 
sudo pacman -Syu && sudo pacman -S jwm
From Pastebin.com: PS4 Get CPU Clock Speed 9.00 Code
Code:
void cpuFrequency() {
	u64 v1;
	uint8_t* kernel_base = (uint8_t*)(__readmsr(0xC0000082) - 0x1C0);
	u64*(*devclass_find)(char*) = (void*)(kernel_base + 0x38DEC0);
	u64(*devclass_get_device)(u64 a1, int a2) = (void*)(kernel_base + 0x38E480);
	long long(*cpufreq_get)(u64 a1, int* a2) = (void*)(kernel_base + 0x2830D0);

	//long long(*sub_FFFFFFFFDDD46D90)(long long a1, long long *a2, long long a3) = (void*)(kernel_base + 0x1FAD90);
	//u32(*cpufreq_pre_change)(u64 a1, int* a2, u64 unk) = (void*)(kernel_base + 0x282800);//change CPU clock speed, I tried 1866Mhz and It worked for me once & after using it again my PS4 crashed, Maybe I didn't use this function well?

	//long long v30 = v1 + 8LL * (u8)(kernel_base + 0x1A6FC80);
	//long long v23 = sub_FFFFFFFFDDD46D90(*(u64*)(v1 + 2048), &v30, (long long)(kernel_base + 0x1A6FC80));
	u64* v0 = devclass_find("cpufreq");
	v1 = devclass_get_device((long long)v0, 0);
	cpufreq_get(v1, &freq);
	printf("CPU clock speed: %dMHz", freq);
	int mhz = 1600;
	int *v38 = &mhz;
	//cpufreq_pre_change(v1, v38, 1000LL);
}

int _main(void) {
kexec(cpuFrequency, NULL);
}
PS4 Fan Control Payloads to Adjust PS4 Fan Speed and Temperature.jpg
 

Comments

@Joaquin Salih Yep tested on 2 monitors and 2 TVs results are the same. Done some further testing and got the following results:
  • PS4 Slim - CUH-20xx - Not Booting
  • PS4 Pro - CUH-70xx - Booting
  • PS4 Pro - CUH-71xx - Not Booting
  • PS4 Pro - CUH-71xx - Not Booting
  • PS4 Pro - CUH-71xx - Booting
The known booting linux PS4 + USB drive will work on any monitor\TV. The non Booting PS4 using a known working bootable USB drive and known working monitor\TV still won't boot.

As you can see even with matching models not all PS4s will boot psxitarc v2 linux. So there must still be some incompatibilities there in the paypload or Linux.
 
I tried the 60.bin and 65.bin 5.05 payloads on my Slim but it's way too loud. In the end i don't care too much about the noise if this can prolongs the lifespan of the console, but my concern is: isn't it dangerous for the fans spinning so fast for a long period of time? For now i reset to sony default. For example i have a RGH Xbox 360 and a CFW PS3 both set on 60° C threshold, but they are not so loud.
 
@AdamJensen not dangerous for the fan to run faster but doing so will decrease the lifespan of the fan, alternately running the fan faster should increase the lifespan of the console.

If your skilled enough and your PS4 is out of warranty I would recommend replacing the thermal paste between the processor and the heat sink.

Though anyone wanting to replace the thermal paste needs to be aware that there is always a risk of stressing the motherboard solder points and components resulting in a faulty PS4, especially when it comes to lifting the motherboard away from the heat sink. The old paste will not want the motherboard to separate and the board might ever so slightly bend and flex doing so.

I Recommend heating the PS4 with play beforehand or heating the heat sink with a hair drier before ever so gently lifting the motherboard while at the same time ever so slightly rock it side to side. Doing so they should come apart a lot easier.
 
@Leeful
thx - the edit kernel image works form me.
so I got the following values in Linux:
reply: 00 00 00 00 00 50 .....
That means the fan of PS4 V1 Fat normaly starts at 80 degrees.
 
Dude how did you reset to sony default ? i used 60.bin it turned in to air plane but i restart it and its not silence like before how can i reset to sony default?

How can i revert it back to sony default i got slim and its loud after using 60.bin try restarting but its not silence like before the fan gets triggered by basic games (i used the 60.bin for like 1 min then i restart it)
 
Are you sure that would work? Correct me if im wrong but Settings are stored in HDD not Ram and hdd does not lose data when there is no electric current
 
@PSBOY.
@Raziel1978 is correct.
The Fan Control settings stay in memory after a reboot. If you want to remove the settings and go back to the PS4 default you MUST disconnect the power cable from the PS4.
 
Status
Not open for further replies.
Back
Top