CFW 4.89.3 Evilnat Cobra (8.4) (CEX/DEX/PEX)

PS3 CFW 4.89.3 Evilnat Cobra (8.4) (CEX/DEX/PEX) -

@Evilnat why the cex 4.89 explorer_plugin.srpx hash is diferent from 4.82-4.88 that aré the same?

Mine from 4.88 broke the PS2 emulation and yours from 4.89 breaks my rcos
 
@Evilnat why the cex 4.89 explorer_plugin.srpx hash is diferent from 4.82-4.88 that aré the same?

Mine from 4.88 broke the PS2 emulation and yours from 4.89 breaks my rcos
The way Cobra check file hashes are different in PEX/D-PEX and CEX/DEX, in CEX/DEX the hash is usually the same while in PEX/D-PEX the slightest change can change the hash

If it brokes the PS2 emulation it can be caused by the hashes

Working good thank you nat
36sUVHm.png
Perfect mate!! I need to know if these new changes are not breaking anything. ISOs are working fine for you?
 
@Evilnat
PS1 LibCrypt implementation in Cobra 8.4 is broken.
I think may have forgotten to include the variable ext in my pull request.

This is the correct code in Mamba 8.4:
upload_2023-2-9_14-13-26.png


Notice that char *ext is a pointer: char *ext = file + (len - 4);

In Cobra 8.4 you have: char file_ext[5], ext[5];
https://github.com/Evilnat/Cobra-PS3/blob/master/8.4/4.89/EVILNAT/PEX/SRC/stage2/storage_ext.c#L3122

The variable ext can be used also in the line 3111:
strcmp(file + (len - 4), ".PNG") => strcmp(ext, ".PNG")
https://github.com/Evilnat/Cobra-PS3/blob/master/8.4/4.89/EVILNAT/PEX/SRC/stage2/storage_ext.c#L3111
 
@Evilnat
PS1 LibCrypt implementation in Cobra 8.4 is broken.
I think may have forgotten to include the variable ext in my pull request.

This is the correct code in Mamba 8.4:
View attachment 39706

Notice that char *ext is a pointer: char *ext = file + (len - 4);

In Cobra 8.4 you have: char file_ext[5], ext[5];
https://github.com/Evilnat/Cobra-PS3/blob/master/8.4/4.89/EVILNAT/PEX/SRC/stage2/storage_ext.c#L3122

The variable ext can be used also in the line 3211:
strcmp(file + (len - 4), ".PNG") => strcmp(ext, ".PNG")
Thank so much aldo!! I will fix it as soon as possible!!
 
@Evilnat are there any steps to make a partition for OtherOS on the internal HDD with the latest 4.89.3? I think there had to be something patched in CoreOS, emer_init.self. There should be some value that defines the size of that partition (0 by default?).

Not that I would be that interested in OtherOS, but it seems like it would be possible to reuse that partition from GameOS. (Maybe even to bypass that ~1TB limit of UFS/UFS2?)
 
@Evilnat firstly I'd like to say thank you for your wonderful work and epic contribution , this fw is truly amazing . I've been testing it for two days now , only issue I noticed was that Dino Crisis for PSX fails Libcrypt challenge , it works fine on Mamba 8.4 , not sure if someone else could test this to see if the issue is reproducible, it's nothing major just a tiny nitpick as all other LC titles are working fine just Dino Crisis locks up in Cobra.

Can you try this PKG to test if Dino Crisis works now my friend? It is working for me:

CEX: https://mega.nz/file/AElwEaqB#bQQ8FXDA1yqmDjXJIfbJY90u_SLnl-SbNAf0W3lLTSc
DEX: https://mega.nz/file/oBFSxbST#yMi62ikcoOPrdF02aC_HAKObI8XAfIN0JHcpiOVcm4o
PEX/D-PEX: https://mega.nz/file/EIMkyRoB#FoE0fYteh7Y9NZRxpQBKv6h81zdWKFsJQZGBx1XL1pA

@Evilnat are there any steps to make a partition for OtherOS on the internal HDD with the latest 4.89.3? I think there had to be something patched in CoreOS, emer_init.self. There should be some value that defines the size of that partition (0 by default?).

Not that I would be that interested in OtherOS, but it seems like it would be possible to reuse that partition from GameOS. (Maybe even to bypass that ~1TB limit of UFS/UFS2?)
Currently my CFW reserve 22GB in GameOS HDD region for OtherOS (patched in emer_init.self). Do you mean to create the partition to install OtherOS on the internal HDD? You need to go to Recovery Menu and select [Restore PS3 System], this will create the partition. I don't know any other method other than this

Here is the updated module, in case you want to try it. It has the fixed pointer and other minor changes in the code (removed != 0, replaced -1 with UNDENFINED, replaced some 0's with SUCCEEDED).

The code is untested.
Thank so much aldo! I was testing it but I used your code with some small changes, all is working as expected

I want to test Dino Crisis
EDIT: WORKING (Waiting for someone else to confirm)

Btw the test of PS2 Disc icon seems to working fine on with or without BC

jRJ58OV.png
 
Last edited:
Currently my CFW reserve 22GB in GameOS HDD region for OtherOS (patched in emer_init.self). Do you mean to create the partition to install OtherOS on the internal HDD? You need to go to Recovery Menu and select [Restore PS3 System], this will create the partition.
Yes, this is probably it, thank you. I only remember some older guide mentioning custom PUP that forced full reformat of the hard drive during firmware install. That was the only way for me back then to create it. Now I'm more or less only looking to get the ps3dd / /dev_hdd2 partition to see if it can be reused under GameOS.

I will report my findings once I get some time and also a hardware flasher set up.
 
Can you try this PKG to test if Dino Crisis works now my friend? It is working for me:

CEX: https://mega.nz/file/AElwEaqB#bQQ8FXDA1yqmDjXJIfbJY90u_SLnl-SbNAf0W3lLTSc
DEX: https://mega.nz/file/oBFSxbST#yMi62ikcoOPrdF02aC_HAKObI8XAfIN0JHcpiOVcm4o
PEX/D-PEX: https://mega.nz/file/EIMkyRoB#FoE0fYteh7Y9NZRxpQBKv6h81zdWKFsJQZGBx1XL1pA


Currently my CFW reserve 22GB in GameOS HDD region for OtherOS (patched in emer_init.self). Do you mean to create the partition to install OtherOS on the internal HDD? You need to go to Recovery Menu and select [Restore PS3 System], this will create the partition. I don't know any other method other than this


Thank so much aldo! I was testing it but I used your code with some small changes, all is working as expected

I want to test Dino Crisis
EDIT: WORKING (Waiting for someone else to confirm)

Btw the test of PS2 Disc icon seems to working fine on with or without BC

jRJ58OV.png

Confirmed. Now the LibCrypt games are fixed!!

Something that really disappoints me are the XMB layout issues:
If Cobra or Mamba are enabled, the XMB layout (Update History, Check for Update, etc) is scrambled.
If I disable Cobra and Mamba the XMB layout shows fine with the exception of the custom impose screen.

I wonder if you plan to make release for 4.84 or 4.88.
 
I would love it if you would write a full guide once you get this all working.
A guide about all xai_plugin and Cobra?

Confirmed. Now the LibCrypt games are fixed!!

Something that really disappoints me are the XMB layout issues:
If Cobra or Mamba are enabled, the XMB layout (Update History, Check for Update, etc) is scrambled.
If I disable Cobra and Mamba the XMB layout shows fine with the exception of the custom impose screen.

I wonder if you plan to make release for 4.84 or 4.88.
I always have Cobra enabled and I have not had this problem, I haven't installed any kind of mods either

Update History, Check for Update and even impose screen is working fine for me, can you tell what I need to do to reproduce this issue?
 
A guide about all xai_plugin and Cobra?


I always have Cobra enabled and I have not had this problem, I haven't installed any kind of mods either

Update History, Check for Update and even impose screen is working fine for me, can you tell what I need to do to reproduce this issue?

I only installed Ultimate Toolbox with the mods that I typically use (coldboot PS5, mute sound, waves 2 colors: purple/red, font 12, xml mods, impose with controller).

As the issue was there (like in Evilnat 4.89) I reinstalled the CFW 4.89.3, which removes all these mods from dev_flash, but the XMB layout issue still persists except if I disable Cobra & Mamba.
 
Last edited:
Thanks
PS2 iso worked for me on Evilnat 4.89 with sandunga's patches + Ultimate Toolbox installed.

EDIT: I have fixed the issue in 4.89.3. You can use this PKG
https://github.com/aldostools/Resources/releases/download/Addons/boot_mamba.pkg

By the way I found something interesting: the update layout works fine if Cobra & Mamba are disabled. So, it seems that there is some patch in payload that is breaking the layout.
View attachment 39697

However the impose layout is still broken with the custom RCOs.
View attachment 39698
Thanks @aldostools PS2 iso working perfectly ,@Evilnat after applying the update no Libcrypt titles work for me (might just be my console) . I'll check a bit more over the weekend ,Mamba 8.4 has no issues passing Libcrypt challenge responses for me . I might just format and reinstall after I've made a backup so it's one less variable . Thanks for your assistance and time .
 
However the impose layout is still broken with the custom RCOs.
View attachment 39698


We really need an RCO converter, PSP have a similar tool for it, it updates the RCOs from custom themes to be compatible with newer ones, i think it updates the overrides and planes that doesn't exist in older ones.

For my rcos i needed to roll back all sprx (except vsh) to 4.88 + layout tweaks with still some minor bugs

And now i'm having trouble with PS2 Emu as the 4.89 explorer_plugin is different than 4.88, maybe it stores the values to the QR codes too? i doubt because they are on separed rcos/sprx but 4.88 cex goes up to 0x584420 and 4.89 0x5840B0 it never happened before at least 4.82 to 4.88.

@Evilnat how can i find the layout values? for me via hex is impossible i'm trying by changing some differences comparing both but i'm getting no xmb items or getting direct to recovery mode
 
Guys, i saw 2 updates pkg here in the discussion to fix issues with ps1 games and the pkg installer. are they going to be merged with the fw and we would have updated cfw links in the main post? Are there any other updates i might have missed in case i want to install them now?
 
@Evilnat i would like to suggest some changes in xai,

eg: Options that automatically reboot the system need a way to block the user from doing the action again while the process has not yet completed

I changed my XMB to debug mode and clicked on it again before rebooting and i got black screen.
Btw i never liked those options in a form of a toggle, I always prefer a straight forward approach.


FTP server, if it is already enabled it can just say it and report the IP to the user, if you click multiple times on it eventually it will says an error occorred to the ftp server??? i don't remember right know, so seems like it tries to enable it again and over again


The toggle for CEX/DEX debug settings says "reboot the system to see the changes" or something like that, but actually isn't true, sysconf works on the fly.
 
The way Cobra check file hashes are different in PEX/D-PEX and CEX/DEX, in CEX/DEX the hash is usually the same while in PEX/D-PEX the slightest change can change the hash

If it brokes the PS2 emulation it can be caused by the hashes


Perfect mate!! I need to know if these new changes are not breaking anything. ISOs are working fine for you?

Yeap, isos are fine =)
 
Uncharted 2 USA black screen after dagger. On the previous firmware it was working fine.

If i delete the 1.09 update, the game works. But if the update is installed, i get a black screen and a glitched xmb.

edit:
problem fixed, installing 8 updates from 1.01 until 1.09. installing the last update only broke the game.
 
Last edited:
Back
Top