LV2 KERNEL

Xploiting

Member
Hi Guys

Remove if not allowed but is there anyone willing to talk about or point me to some information regarding the patching of the lv2kernal.self?
 
Hi Guys

Remove if not allowed but is there anyone willing to talk about or point me to some information regarding the patching of the lv2kernal.self?

It depends of what kind of patch you want to apply.

Most of the lv2kernel patches are done by Cobra/Mamba/HEN payload in main.c (or lv2_patches.h in Mamba or my Cobra fork).
https://github.com/aldostools/COBRA/blob/master/487/CEX/stage2/main.c#L1087-L1097
https://github.com/aldostools/Mamba/blob/master/stage2/lv2_patches.h#L13-L60
https://github.com/PS3Xploit/PS3HEN/blob/master/payload/main.c#L1668

Patches to other system components are performed in modulespatch.c

Also you can use peek/poke or PS3MAPI opcodes to apply LV2 patches directly from you homebrews.

Almost all CFW include hardcoded patches in lv2_kernel and in other system files when the MFW is built.
 
It depends of what kind of patch you want to apply.

Most of the lv2kernel patches are done by Cobra/Mamba/HEN payload in main.c (or lv2_patches.h in Mamba or my Cobra fork).
https://github.com/aldostools/COBRA/blob/master/487/CEX/stage2/main.c#L1087-L1097
https://github.com/aldostools/Mamba/blob/master/stage2/lv2_patches.h#L13-L60
https://github.com/PS3Xploit/PS3HEN/blob/master/payload/main.c#L1668

Patches to other system components are performed in modulespatch.c

Also you can use peek/poke or PS3MAPI opcodes to apply LV2 patches directly from you homebrews.

Almost all CFW include hardcoded patches in lv2_kernel and in other system files when the MFW is built.

This is just the kind of info I've been looking for.
Basically I have done my moduel sprx patch's and the lv0 and lv1.
I wanna get involved with the LV2 now and add work through adding the paypay loads do develop a new. I'm guessing @Evilnat will be working on a 4.88 but would like to bring more to the table even if it is just for me personally
 
It depends of what kind of patch you want to apply.

Most of the lv2kernel patches are done by Cobra/Mamba/HEN payload in main.c (or lv2_patches.h in Mamba or my Cobra fork).
https://github.com/aldostools/COBRA/blob/master/487/CEX/stage2/main.c#L1087-L1097
https://github.com/aldostools/Mamba/blob/master/stage2/lv2_patches.h#L13-L60
https://github.com/PS3Xploit/PS3HEN/blob/master/payload/main.c#L1668

Patches to other system components are performed in modulespatch.c

Also you can use peek/poke or PS3MAPI opcodes to apply LV2 patches directly from you homebrews.

Almost all CFW include hardcoded patches in lv2_kernel and in other system files when the MFW is built.

So I have been looking at the Cobra 8.30 that is on your gthub. I'm at the point now with the CFW build that I just need to add the cobra payload to it and patch the lv2_kernal.
But from reading you original message, are you saying that cobra will make the changes to the lv2_kernal and I will not need to mess with it?
 
Please keep your builds to yourself and do not post them pole revisions as you can find. No brickware please.


I would never just post them @nCadeRegal.
I have managed to patch everything on 4.88 ofw part from the lv2_kernel and add the cobra payload, im still learning the ropes on this last bit so was reaching out hopefing the guys here would give me a bit of help. I thought I had it sorted but ended up with a soft brick :highly amused:
all back up and running now but seem to have hit a brick wall and wanted to see if the devs could help.
 
That's fine I'm all about learning and growing within the scene. Just wanted to make sure you understood the ramifications if you upload something and 100s of noobs brick their ps3s with no way to recover. It's happened before. I hope you get the help you are seeking and are able to create something cool from it. Good luck
 
That's fine I'm all about learning and growing within the scene. Just wanted to make sure you understood the ramifications if you upload something and 100s of noobs brick their ps3s with no way to recover. It's happened before. I hope you get the help you are seeking and are able to create something cool from it. Good luck

Thanks @nCadeRegal

Wondering if maybe @Evilnat and @aldostools may be able to help with a couple of questions.

Like with the lv2_kernal, I read when the update for 4.88 was released that there was no changes to it, so If I was to that the kernel from the OFW and use the kernel from Evilnats 4.87, decrypt them both to Elf and copy the Hex data over from 4.87 to 4.88 then recompile as a 4.88 self, would that work.
If I can just get my head around the lv2 I pretty much have it all covered.
I'm still learn IDA and don't necessarily want my hand held through it but a push in the right direction would be amazing.
 
Thanks @nCadeRegal

Wondering if maybe @Evilnat and @aldostools may be able to help with a couple of questions.

Like with the lv2_kernal, I read when the update for 4.88 was released that there was no changes to it, so If I was to that the kernel from the OFW and use the kernel from Evilnats 4.87, decrypt them both to Elf and copy the Hex data over from 4.87 to 4.88 then recompile as a 4.88 self, would that work.
If I can just get my head around the lv2 I pretty much have it all covered.
I'm still learn IDA and don't necessarily want my hand held through it but a push in the right direction would be amazing.

I recommend that apply the patches to the new kernel, instead of use directly the old kernel as 4.88.

If you don't have a hardware flasher, test your kernel using Evilnat's Modules Tester. See the attachment.
 

Attachments

I recommend that apply the patches to the new kernel, instead of use directly the old kernel as 4.88.

If you don't have a hardware flasher, test your kernel using Evilnat's Modules Tester. See the attachment.

Thanks for getting back to me
I have manually patched all the modules of 4.88, that's all the sprx and self files. I've manually edit the rcos and xmls.
With the lv2 I will take 4.88 kernel elf file and copy same patches I find in Evilnats 4.87.3 kernel at this point I should just be able to add the cobra payload and we could have a working 4.88 CFW!

Thanks again Aldo's.
 
Last edited:
I recommend that apply the patches to the new kernel, instead of use directly the old kernel as 4.88.

If you don't have a hardware flasher, test your kernel using Evilnat's Modules Tester. See the attachment.

Didn't work and ended up with more brick ware.
All the normal patch's work fine for things like lv0, lv1, and all the other core files.
The vsh and sprx files all patched fine as well.
There is obviously something I am still to understand about the lv2 patches but not sure where I'm going wrong.
 

Similar threads

Back
Top