| View previous topic :: View next topic |
| Author |
Message |
pegasus2000
Joined: 12 Jul 2006 Posts: 160
|
Posted: Thu Aug 16, 2007 6:08 am Post subject: How to identify custom firmware |
|
|
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. |
|
| Back to top |
|
 |
dot_blank

Joined: 28 Sep 2005 Posts: 498 Location: Brasil
|
Posted: Thu Aug 16, 2007 9:06 am Post subject: |
|
|
from SDK of the past OE/SE firmwares
if user has Homebrew Enabler running
| Code: | /**
* 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: | /**
* Gets the SE/OE version
*
* @returns the SE version
*
* 3.03 OE-A: 0x00000500
*/
int sctrlSEGetVersion(); |
_________________ 10011011 00101010 11010111 10001001 10111010 |
|
| Back to top |
|
 |
kururin
Joined: 05 Jul 2006 Posts: 36
|
Posted: Thu Aug 16, 2007 3:37 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
|