Advertising (This ad goes away for registered users. You can Login or Register)

Psp Usermode Tutorial

All the Help you need is here
Vagosdj
Posts: 32
Joined: Sat Jan 05, 2013 8:04 pm
Location: Εverywhere

Re: Psp Usermode Tutorial

Post by Vagosdj » Wed Jan 09, 2013 2:08 pm

It doesn't work with psp go.Help.
Advertising

User avatar
Xian Nox
Retired Mod
Posts: 2749
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: Psp Usermode Tutorial

Post by Xian Nox » Sun Jan 13, 2013 6:44 pm

Vagosdj wrote:It doesn't work with psp go.Help.
No one can help you unless you provide some proper information.
Advertising

Vagosdj
Posts: 32
Joined: Sat Jan 05, 2013 8:04 pm
Location: Εverywhere

Re: Psp Usermode Tutorial

Post by Vagosdj » Fri Mar 08, 2013 3:07 pm

Sgdeemer doesn't work for my psp go.It freeze and shutdown.It's cfw is 6.60 pro c2.

User avatar
hgoel0974
Retired Mod
Posts: 2154
Joined: Mon Jul 23, 2012 11:42 pm
Location: Maia, Pleiades Nebula

Re: Psp Usermode Tutorial

Post by hgoel0974 » Thu Apr 04, 2013 5:13 am

altairnexus wrote:
Jackson Zee wrote:I found some error with the makefile for the "Green Screen Flasher",
at line 9:

Code: Select all

 rm -rf *~ *.o *.elf *.bin main.s *.bin hx

Code: Select all

PSPSDK=$(shell psp-config --pspsdk-path)
PSPDEV=$(shell psp-config --pspdev-path)
INCLUDE=$(PSPSDK)/include

all:    main

clean:
   rm -rf *~ *.o *.elf *.bin main.s *.bin hx

CC       = psp-gcc
CFLAGS   := -D PSP -I $(INCLUDE) -W -Wall -O2 -G0 -fno-pic -mno-abicalls -w -fomit-frame-pointer

ASM      = psp-as


main.o: main.c
   $(CC) $(CFLAGS) -S main.c -o main.s
   $(ASM) main.s -o main.o

main: main.o linker.x
   $(PSPDEV)/bin/psp-ld -T linker.x -L$(PSPSDK)/lib main.o -o main.elf
   $(PSPDEV)/bin/psp-strip -s main.elf
   $(PSPDEV)/bin/psp-objcopy -O binary main.elf h.bin
Fix with :

Code: Select all

PSPSDK=$(shell psp-config --pspsdk-path)
PSPDEV=$(shell psp-config --pspdev-path)
INCLUDE=$(PSPSDK)/include

all:    main

clean:
	rm -rf *~ *.o *.elf *.bin main.s *.bin 

CC       = psp-gcc
CFLAGS   := -D PSP -I $(INCLUDE) -W -Wall -O2 -G0 -fno-pic -mno-abicalls -w -fomit-frame-pointer

ASM      = psp-as

sdk.o: sdk.S
	$(ASM) sdk.S -o sdk.o


main.o: main.c
	$(CC) $(CFLAGS) -S main.c -o main.s
	$(ASM) main.s -o main.o

main: main.o sdk.o linker.x
	$(PSPDEV)/bin/psp-ld -T linker.x -L$(PSPSDK)/lib main.o sdk.o -o main.elf
	$(PSPDEV)/bin/psp-strip -s main.elf
	$(PSPDEV)/bin/psp-objcopy -O binary main.elf h.bin
When i try do this:

Image

how I can fix it?
That happens because the makefile expects a TAB there, not spaces, so select the spaces right before the line and replace them with a tab, do it for each line that throws the exception
"If the truth is a cruel mistress, then a lie must be a nice girl"

liquidmagic
Posts: 1
Joined: Tue Sep 24, 2013 6:26 pm

Re: Psp Usermode Tutorial

Post by liquidmagic » Tue Sep 24, 2013 6:30 pm

did i ever tell you i love you guys XDD :D

grief3r
Posts: 357
Joined: Sat Nov 09, 2013 4:12 am

Re: Psp Usermode Tutorial

Post by grief3r » Sat Dec 07, 2013 9:37 am

how can i hex edit an iso so that it loads the opcode i want for an address

for example if an instruction was beq,what do i need to do to make it load bne instead without the need of a cheat device?
PSV1001 2.61 FieldRunners
PSP1001 6.60 Pro-C
PSP 3001 6.20 Pro-C2

User avatar
qwikrazor87
Guru
Posts: 2868
Joined: Sat Apr 21, 2012 1:23 pm
Location: The North Pole

Re: Psp Usermode Tutorial

Post by qwikrazor87 » Sat Dec 07, 2013 10:41 am

grief3r wrote:how can i hex edit an iso so that it loads the opcode i want for an address

for example if an instruction was beq,what do i need to do to make it load bne instead without the need of a cheat device?
Extract EBOOT.BIN from disc0:/PSP_GAME/SYSDIR/.
Decrypt EBOOT.BIN, look for the instruction that you want to modify, modify it and save the file. Use UMDGen to replace EBOOT.BIN with your modified one and save as an ISO.
PSP 2001 - TA-085 - 6.61 PRO-C2
PS Vita 3G - PCH-1101 - 3.65 HENkaku Ensō
Maxwest Nitro 4 phone - Android 5.1
Laptop - Toshiba Satellite L305D-S5974 - Ubuntu 16.04 LTS

grief3r
Posts: 357
Joined: Sat Nov 09, 2013 4:12 am

Re: Psp Usermode Tutorial

Post by grief3r » Thu Dec 19, 2013 9:30 am

i got one game to crash without the name method, i also used a cheat device to get it to crash but how do i find $ra when i decrypt the save?
PSV1001 2.61 FieldRunners
PSP1001 6.60 Pro-C
PSP 3001 6.20 Pro-C2

User avatar
Kankertje
Moderator
Posts: 830
Joined: Mon Apr 23, 2012 12:22 pm
Contact:

Re: Psp Usermode Tutorial

Post by Kankertje » Thu Dec 19, 2013 9:33 am

grief3r wrote:i got one game to crash without the name method, i also used a cheat device to get it to crash but how do i find $ra when i decrypt the save?
Post exception from psplink, then we'll see if its exploitable

grief3r
Posts: 357
Joined: Sat Nov 09, 2013 4:12 am

Re: Psp Usermode Tutorial

Post by grief3r » Thu Dec 19, 2013 9:39 am

i'd have to fix my psp before i do that lol, it's just one cable that needs replacement
don't know why it crashed on vita but on psp emu it doesn't
PSV1001 2.61 FieldRunners
PSP1001 6.60 Pro-C
PSP 3001 6.20 Pro-C2

Post Reply

Return to “Tutorials”