PS3Hax Network - Playstation 3 Hacks and Mods

PS3Hax Network - Playstation 3 Hacks and Mods (http://www.ps3hax.net/forums.php)
-   PS3 | Technical Development and Coding Area (http://www.ps3hax.net/forumdisplay.php?f=151)
-   -   How to compile metldrpwn? (http://www.ps3hax.net/showthread.php?t=40191)

hewman 07-18-2012 09:24 AM

How to compile metldrpwn?
 
Hello

Ive installed red Ribbon (link found on http://www.ps3hax.net/showthread.php?t=40151&page=7)

trying to compile metldrpwn with make, but am getting this error

/lib/modules/2.6.38powerpc64-otheros/build: no such file or directory. stop.

can anyone help?

Ive run

sudo apt-get install autoconf automake bison flex gcc make wget git libppl0.10-dev libcloog-ppl-dev libelf-dev libncurses5-dev build-essential


but that doesnt help either and am still receiving the same error???

I have tried searching "compile metldrpwn" 3 searches come up with 129 pages!.

hewman 07-18-2012 01:08 PM

Hi all

I had no luck compiling metldrpwn on red ribbon and after a stressful hour trying bits to compile i gave up and decided to install debian using nikitis automated script, no problem up and running after a couple of hours compiling the kernel and downloading all the sources etc.

Now I have a different error with metldrpwn, I have run "make" and from what i could tell all is good,

I then
chmod 755 ./run.sh
and run ./run.sh

but im getting problem status 0x00010282 when I should be getting problem status (0x00000089)

Here is a pic of the problem
http://imageshack.us/photo/my-images...718190157.jpg/

I searched for that error code and cannot find a thing!, can anyone help me out?

Much appreciated.

Hewman

sbmotoracer 07-18-2012 05:05 PM

If I had to take a stab in the dark without access kernel sources right now i'd say it means that it cannot access metldr.

when the script tries to copy(cat) metldr it outputs an error indicating no memory left to do so.

Are you running anything that would use memory such as Gnome,etc?

hewman 07-19-2012 05:58 AM

Quote:

Originally Posted by sbmotoracer (Post 394340)
If I had to take a stab in the dark without access kernel sources right now i'd say it means that it cannot access metldr.

when the script tries to copy(cat) metldr it outputs an error indicating no memory left to do so.

Are you running anything that would use memory such as Gnome,etc?

Thanks for the reply - killed the majority of the services running in the background and managed to get a clean dump from metldrpwn

root @ps3 :/mnt/metldrpwn# chmod 755 metldr
root @ps3 :/mnt/metldrpwn# ./run.sh
++ insmod ./metldrpwn.ko
++ cat metldr
++ sleep 1
++ cat appldr-metldrexploit350.self
++ sleep 2
++ echo 1
++ sleep 5
++ cat /proc/metldrpwn/debug
PPE id (0x0000000000000001) VAS id (0x0000000000000002)
lv1_construct_logical_spe (0x00000000)
SPE id (0x0000000000000033)
lv1_enable_logical_spe (0x00000000)
lv1_set_spe_interrupt_mask(0) (0x00000000)
lv1_set_spe_interrupt_mask(1) (0x00000000)
lv1_set_spe_interrupt_mask(2) (0x00000000)
lv1_set_spe_privilege_state_area_1_register (0x00000000)
ea (0xc00000000e0c0000) esid (0xc000000008000000) vsid (0x0000408f92c94500)
lv1_get_spe_interrupt_status(0) (0x00000000)
lv1_get_spe_interrupt_status(1) (0x00000000)
lv1_get_spe_interrupt_status(2) (0x00000000)
sleep
lv1_get_spe_interrupt_status(0) (0x00000000)
lv1_get_spe_interrupt_status(1) (0x00000000)
lv1_get_spe_interrupt_status(2) (0x00000000)
out interrupt mbox (0x0000000000000001)
lv1_clear_spe_interrupt_status(2) (0x00000000)
transferring EID0, ldr args and revoke list to LS
waiting until MFC transfers are finished
MFC transfers done
out mbox (0x00000001)
problem status (0x00000089)
lv1_destruct_logical_spe (0x00000000)
root @ps3 :/mnt/metldrpwn# cp /proc/metldrpwn/dump /mnt/dump


Now onto the next stage :-) - will report back with my findings.

hewman 07-19-2012 09:13 AM

All done, a few hairy moments, but overall not that hard,

Some interesting stuff for those who are doing the CEX-DEX conversion
the command you use to write back to the flash (dd if=/mnt/flashDEX.BIN of=/dev/ps3nflasha bs=1024)

It does error out, however it will drop you back to the prompt after 5/6 minutes what ever you do here do NOT reboot or stop the process.
(pic of errors attached for reference)
http://img41.imageshack.us/img41/438/20120719143439.jpg

after you flashed,
When you turn the ps3 back on in recovery mode it will boot into petiboot, exit to shell and type "ps3-boot-gameos" (without quotes ) this will boot you back into CEX XMB(Strange but true), now you can go into recovery mode and install DEX FW.

Spungy 07-19-2012 09:35 AM

Quote:

Originally Posted by hewman (Post 394654)
All done, a few hairy moments, but overall not that hard,

(dd if=/mnt/flashDEX.BIN of=/dev/ps3nflasha bs=1024)

What console are you using? I haven't got that far yet but is that the same command for NAND?

hewman 07-19-2012 10:42 AM

Quote:

Originally Posted by Spungy (Post 394668)
What console are you using? I haven't got that far yet but is that the same command for NAND?


Im using a Ps3 Slim NOR model, definitely read up on everything first I dont want you to brick your console.

Spungy 07-19-2012 10:45 AM

Quote:

Originally Posted by hewman (Post 394705)
Im using a Ps3 Slim NOR model, definitely read up on everything first I dont want you to brick your console.

Yeah thanks man Im not going to flash anything until im 100%

hewman 07-19-2012 10:53 AM

Quote:

Originally Posted by Spungy (Post 394707)
Yeah thanks man Im not going to flash anything until im 100%

I can walk you through the linux/metldrown steps via skype or some message client if ya get stuck, give us a shout.

Spungy 07-19-2012 11:07 AM

yeah no problem thanks ill give you a shout..

Im on otherOS++ when I first tried to install petitboot nothing happened so I reset the system settings.
I have the minimal dtbImage.bin on a memory stick because I have a NAND. When I run setup_flash_for_otherOS.pkg It goes to a black screen and does nothing.. The light on my memory stick is flashing but it has been for over an hour. Is this normal?


All times are GMT -5. The time now is 07:30 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.