How to identify custom firmware

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
pegasus2000
Posts: 160
Joined: Wed Jul 12, 2006 7:09 am

How to identify custom firmware

Post by pegasus2000 »

Is there a way to identify that a custom firmware is currently
installed in a PSP ?

I have a program that enables network support on 1.50, but
when the user uses a PSP with custom firmware and 1.50
emulation, the program hangs itself.

So, I must choose the correct initialization procedure, on the
basis of the firmware that is currently installed.

I have tried sceKernelGetDevkitVersion, but when the firmware
is in 1.50 emulation, the code returned is 1.50 and the program
cannot recognize that it is a custom firmware and not a real
1.50 firmware.

Thanks in advance.
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

from SDK of the past OE/SE firmwares

if user has Homebrew Enabler running

Code: Select all

/**
 * Gets the HEN version
 *
 * @returns - The HEN version
 *
 * HEN D / SE-C :  0x00000400
 */
int sctrlHENGetVersion();
if user has Special Editions | Open Editions and NOT running HEN

Code: Select all

/**
 * Gets the SE/OE version
 *
 * @returns the SE version
 *
 * 3.03 OE-A: 0x00000500
*/
int sctrlSEGetVersion();
10011011 00101010 11010111 10001001 10111010
kururin
Posts: 36
Joined: Wed Jul 05, 2006 7:19 am

Post by kururin »

Read the file /vsh/etc/version.txt. It is always plain text, and version code is there. If is something different to the 1.50 code, it is probably a custom firmware.
Post Reply