QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Homebrew and Hacks Discussion
The above video goes away if you are a member and logged in, so log in now!

2.71 Homebrew Enabler

This is a discussion on 2.71 Homebrew Enabler within the PSP Homebrew and Hacks Discussion forums, part of the PSP Development, Hacks, and Homebrew category; This app patches your flash0 to let you run homebrew made for 2.71. The patch will wear off after a ...

Reply
 
LinkBack Thread Tools
Old 09-22-2006, 12:42 PM   #1
TheMarioKarters
Guest
 
Posts: n/a
Default 2.71 Homebrew Enabler

This app patches your flash0 to let you run homebrew made for 2.71. The patch will wear off after a hard reset, but running the TIFF file again, patches it again.

Dark_AleX's Post:
Quote:
Originally Posted by Dark_AleX
Download link: http://dax.lan.st/



Homebrew Enabler for 2.71
-------------------------

This program enables homebrew to be run in 2.71 through the XMB. It makes a patch that remains permanent until hardwar reset. Sleep mode won't remove the patch.

Note: this program writes some small files in the flash, ONLY the first time is executed.
IT does NOY rewrite any existing file in the system, it writes new files, so the probabilities of bricking are practically null.

Instructions
------------

- Copy all contents inside MS_ROOT to the root of your memory stick.
- Go to the PHOTO viewer of the XMB and enter in the folder "HEN".
- If the psp just freeze, reboot your psp and try again. Currently the tiff is very unstable and it is only executed sometimes. I'll try to improve that in the future.

- The first time you run the program, you will see quickly a blue screen, and after that a screen that can be of two colors:

* Red: the files couldn't be written to the flash (it hapens a few times). Just keep trying.
* Green: The files were written succesfully. After that, the xmb will be rebooted. Now you can run the homebrew in format prepared for 2.71. (see details below).

- As mentioned before, the patch will remain resident in memory, and even entering sleep mode won't delete it. Only a hardware reset will remove the program from memory.

- When you do a hardware reset, you'll have to run the tiff again.
This time there won't be green or red screen, just a blue screen and xmb reboot, since this time there is no need to write to the flash.

Note: the files pspbtknf.txt, pspbtknf_game.txt, pspbtknf_updater, and systemctrl.prx in the root of the memory stick are only needed the first time the program is executed. After that you can delete those. However, don't delete patch.bin, h.bin and the folder with the tiff, since you will need those the next time you do a hard reset and want to run the program again.

Note2: Once the program is loaded, it is independant of the memory stick contents. So you can freely swap memory sticks.


Notes about homebrew running
-----------------------------

- Current homebrews are not supported. Since current homebrews are in static elf format, they won't run (they are rejected by the 2.71 kernel). Homebrews for 2.71 have to be in prx format.
Programmers see the programming notes.
In future versions i may patch the kernel to allow it to accept static elf's.

- There are some samples in the "GAME" directory, all of them ported from the pspsdk samples, except the nanddumper written by me.

* polyphonic, pspsdk sample (user mode).
* cube, pspsdk sample (user mode). It shows a cube rotating.
* kdumper, pspsdk sample (kernel mode). It dumps kernel memory to the memory stick.
* ipldumper, pspsdk sample (kernel mode). It dumps the ipl to the memory stick.
* systemparam, pspsdk sample (user mode). It displays info about the system
* nanddumper, by me. (kernel mode). It dumps the full nand content to the file "nandimage.flash" in the memory stick. The format of the dump is compliant with u.p. chip. (It requires 33 MB of free space in the memory stick).



Programming notes for developers
--------------------------------

- As mentioned before, homebrew has to be in prx format, at least atm. Furthermore, the main prx, the one in the pbp, has to be an user prx. However this user prx can load unsigned kernel modules from the memory stick, allowing kernel mode apps.

- There is no need for noplainmodule check patch or nodevicecheck patch, since those are done by the homebrew enabler.

- Try to use USE_KERNEL_LIBS = 1 in your kernel prx's. In 2.XX, the separation between user and kernel mode is higher than in 1.XX.
Some functions in "*ForUser" are now totally separated (different address) from their "*ForKernel" equivalents. A good example is ModuleMgr. If you are in a kernel prx and you call the sceKernelLoadModule of ModuleMgrForUser, you will get a "ILLEGA_PERMANENT_CAL L" error.

- Currently devhook emulated 2.71 is not supported. I'll try to add support to devhook, so programs for 2.71 can be developed in a 1.50

- See the source code of the samples to have a hint on how to program for 2.71.

Credits and thanks.
-------------------

- Coded by Dark_AleX

Thanks to:

- Booster for creating devhook. HEN reboot method is based on devhook one.

- Nopx86, psp250, fanjita and all the others of the tiff exploit.

- hitchhikr for the kernel exploit of 2.50-2.71.

- Mathieulh for the help provided these two months that i was without psp.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 12:47 PM   #2
 
Join Date: May 2006
Location: Detroit, MI! Bia Bia!!
Posts: 1,391
Trader Feedback: 0
Default

where do the files go if we run it in dev-hook?
CA$HMON3Y is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 12:48 PM   #3

Art is explosion
 
Join Date: Jun 2005
Location: In SCE headquarters.
Posts: 555
Trader Feedback: 0
Default 2.71 Homebrew Enabler

Download link: http://dax.lan.st/



Homebrew Enabler for 2.71
-------------------------

This program enables homebrew to be run in 2.71 through the XMB. It makes a patch that remains permanent until hardwar reset. Sleep mode won't remove the patch.

Note: this program writes some small files in the flash, ONLY the first time is executed.
IT does NOY rewrite any existing file in the system, it writes new files, so the probabilities of bricking are practically null.

Instructions
------------

- Copy all contents inside MS_ROOT to the root of your memory stick.
- Go to the PHOTO viewer of the XMB and enter in the folder "HEN".
- If the psp just freeze, reboot your psp and try again. Currently the tiff is very unstable and it is only executed sometimes. I'll try to improve that in the future.

- The first time you run the program, you will see quickly a blue screen, and after that a screen that can be of two colors:

* Red: the files couldn't be written to the flash (it hapens a few times). Just keep trying.
* Green: The files were written succesfully. After that, the xmb will be rebooted. Now you can run the homebrew in format prepared for 2.71. (see details below).

- As mentioned before, the patch will remain resident in memory, and even entering sleep mode won't delete it. Only a hardware reset will remove the program from memory.

- When you do a hardware reset, you'll have to run the tiff again.
This time there won't be green or red screen, just a blue screen and xmb reboot, since this time there is no need to write to the flash.

Note: the files pspbtknf.txt, pspbtknf_game.txt, pspbtknf_updater, and systemctrl.prx in the root of the memory stick are only needed the first time the program is executed. After that you can delete those. However, don't delete patch.bin, h.bin and the folder with the tiff, since you will need those the next time you do a hard reset and want to run the program again.

Note2: Once the program is loaded, it is independant of the memory stick contents. So you can freely swap memory sticks.


Notes about homebrew running
-----------------------------

- Current homebrews are not supported. Since current homebrews are in static elf format, they won't run (they are rejected by the 2.71 kernel). Homebrews for 2.71 have to be in prx format.
Programmers see the programming notes.
In future versions i may patch the kernel to allow it to accept static elf's.

- There are some samples in the "GAME" directory, all of them ported from the pspsdk samples, except the nanddumper written by me.

* polyphonic, pspsdk sample (user mode).
* cube, pspsdk sample (user mode). It shows a cube rotating.
* kdumper, pspsdk sample (kernel mode). It dumps kernel memory to the memory stick.
* ipldumper, pspsdk sample (kernel mode). It dumps the ipl to the memory stick.
* systemparam, pspsdk sample (user mode). It displays info about the system
* nanddumper, by me. (kernel mode). It dumps the full nand content to the file "nandimage.flash" in the memory stick. The format of the dump is compliant with u.p. chip. (It requires 33 MB of free space in the memory stick).



Programming notes for developers
--------------------------------

- As mentioned before, homebrew has to be in prx format, at least atm. Furthermore, the main prx, the one in the pbp, has to be an user prx. However this user prx can load unsigned kernel modules from the memory stick, allowing kernel mode apps.

- There is no need for noplainmodule check patch or nodevicecheck patch, since those are done by the homebrew enabler.

- Try to use USE_KERNEL_LIBS = 1 in your kernel prx's. In 2.XX, the separation between user and kernel mode is higher than in 1.XX.
Some functions in "*ForUser" are now totally separated (different address) from their "*ForKernel" equivalents. A good example is ModuleMgr. If you are in a kernel prx and you call the sceKernelLoadModule of ModuleMgrForUser, you will get a "ILLEGA_PERMANENT_CAL L" error.

- Currently devhook emulated 2.71 is not supported. I'll try to add support to devhook, so programs for 2.71 can be developed in a 1.50

- See the source code of the samples to have a hint on how to program for 2.71.

Credits and thanks.
-------------------

- Coded by Dark_AleX

Thanks to:

- Booster for creating devhook. HEN reboot method is based on devhook one.

- Nopx86, psp250, fanjita and all the others of the tiff exploit.

- hitchhikr for the kernel exploit of 2.50-2.71.

- Mathieulh for the help provided these two months that i was without psp.
__________________
Cheers to Dark_Alex/Moonlight, Fanjita, Ryoko_no_usagi, Groepaz, Booster, Tyranid, Nem, MrBrown, psppet, emu_kidid and Shadowsan from GCOS, Everyone from the prometheus project. gcmods operators, every one who supported us, and every devs who I forgot to mention on this signature :)

Last edited by mathieulh; 09-22-2006 at 12:58 PM..
mathieulh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 12:50 PM   #4
 
Join Date: Jan 2006
Location: stevens bumhole
Posts: 10,308
Trader Feedback: 0
Default

TMK allready made a thread about it
madsoul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 12:50 PM   #5
 
Chrono6456's Avatar
 
Join Date: Jun 2005
Posts: 3,222
Trader Feedback: 0
Default

things just are getting better and better
__________________
[SIZE="4"][CENTER]Jeremy Clarkson, Richard Hammond, and James May
=
Gods[/CENTER][/SIZE]
Chrono6456 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 12:54 PM   #6
 

 
Join Date: May 2006
Posts: 1,416
Trader Feedback: 0
Default

Well done!
-= Double Post =-
Eh em 2.8 next
__________________
[RIGHT][URL="http://forums.qj.net/member.php?u=39120"][COLOR=green]Justingraziano[/COLOR][/URL] Is My HERO!!! [SIZE=1]Nawt[/SIZE]
[/RIGHT]

Last edited by FLA3H; 09-22-2006 at 12:54 PM.. Reason: Automerged Doublepost
-Alex- is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 12:56 PM   #7
 
Join Date: May 2006
Location: Detroit, MI! Bia Bia!!
Posts: 1,391
Trader Feedback: 0
Default

Quote:
Originally Posted by MaDSouL
TMK allready made a thread about it
lol, i thought this was TMK's to since he just made his!
CA$HMON3Y is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 12:58 PM   #8
 
Join Date: Nov 2005
Location: NoWhere . . . .
Posts: 1,266
Trader Feedback: 0
Default

awsome this loks coolb
zmathue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:04 PM   #9
 
NorthernFusion's Avatar
 
Join Date: Jun 2006
Location: Probly in a haze
Posts: 751
Trader Feedback: 0
Default

There you go... The Sky's The Limit.
Wonder where this will end up? Will 2.71 be the "New Golden"..
NorthernFusion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:16 PM   #10
 

 
Join Date: Jun 2005
Location: New London, CT
Posts: 1,370
Trader Feedback: 0
Default

I won't upgrade until the 2.71 runs homebrew like 1.5. But man, I never thought this day would come, this will be so damn awesome!

Edit: Is there a tool that merges 1.5 homebrew into 1.0 EBOOTs?
Bad Intentions is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:16 PM   #11
 
Join Date: Jul 2006
Posts: 345
Trader Feedback: 0
Default

you cant do it in devhook! its not recommended since itll flash 2.71 files to the MAIN flash of the PSP!
lalaaaaaa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:30 PM   #12

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

Theres already a thread about this...
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:31 PM   #13

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

Already 2 threads about this , but good work Mathieulh and Alex!
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:31 PM   #14
 
Join Date: Sep 2006
Location: Markham
Posts: 388
Trader Feedback: 0
Default

AWESOME. Dark_Alex = teh pwner.

Counting the days till 2.71 is the new 1.5

Great news! Another amazing breakthrough in the "who can pwn Sony the most" Saga
-Dman- is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:48 PM   #15
TheMarioKarters
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Train
Theres already a thread about this...
I made this thread first, go say that in the other one.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:52 PM   #16

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

Quote:
Originally Posted by TheMarioKarters
I made this thread first, go say that in the other one.
Umm no actually I made one last night
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:53 PM   #17
 
Join Date: Jul 2005
Posts: 530
Trader Feedback: 0
Default

Quote:
Originally Posted by TheMarioKarters
I made this thread first, go say that in the other one.
What.. were you in a race or something to post this? Do you think that because you made this thread first, it makes you look like you're the one that actually made this and that people will start liking you now? Get a grip..
Master-Chief is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:53 PM   #18
 
Join Date: May 2006
Location: Ireland Soon :D
Posts: 703
Trader Feedback: 0
Default

this is kool lol kill sony i <3 tmk
__________________
[center]<3 Mikey-Mike Phill-me-up [/center]
GamerTag = Koolioz
koolio is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:54 PM   #19
TheMarioKarters
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Train
Umm no actually I made one last night
This is a thread about the release, not the announcement.
-= Double Post =-
Quote:
Originally Posted by Master-Chief
What.. were you in a race or something to post this? Do you think that because you made this thread first, it makes you look like you're the one that actually made this and that people will start liking you now? Get a grip..
No, it's called 'doing a favour'. Try it.

Last edited by TheMarioKarters; 09-22-2006 at 01:54 PM.. Reason: Automerged Doublepost
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 01:58 PM   #20
 
Nightcrawler's Avatar
 
Join Date: Apr 2006
Location: Nashville TN
Posts: 2,014
Trader Feedback: 0
Default

Who cares who made their thread first it's time to merge the two threads!
Nightcrawler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 02:00 PM   #21

Art is explosion
 
Join Date: Jun 2005
Location: In SCE headquarters.
Posts: 555
Trader Feedback: 0
Default

I didn't see TKM thread when I posted mine, I just posted mine because Alex asked me to.
I don't mind if both threads get merged.
As long as people know the homebrew enabler exist it's ok.
__________________
Cheers to Dark_Alex/Moonlight, Fanjita, Ryoko_no_usagi, Groepaz, Booster, Tyranid, Nem, MrBrown, psppet, emu_kidid and Shadowsan from GCOS, Everyone from the prometheus project. gcmods operators, every one who supported us, and every devs who I forgot to mention on this signature :)
mathieulh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 02:08 PM   #22
 
Nightcrawler's Avatar
 
Join Date: Apr 2006
Location: Nashville TN
Posts: 2,014
Trader Feedback: 0
Default

Yea I hate when I post something that's been posted already! Everybody and their mother has to bump the thread just to say there is another thread on this or something similar. Instead of letting it die off a quick death!
Nightcrawler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 02:35 PM   #23
Enter Custom Title
 
Join Date: May 2005
Posts: 3,717
Trader Feedback: 0
Default

Looks like 1.50 has had its day. Roll on 2.71 as the new top firmware!
muratcan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 02:44 PM   #24
 
myschoo's Avatar
 
Join Date: Jul 2006
Location: Middle Europe
Posts: 1,281
Trader Feedback: 0
Default

Quote:
Originally Posted by muratcan
Looks like 1.50 has had its day. Roll on 2.71 as the new top firmware!
atm i dont think so
__________________
[CENTER][SIZE="1"][1 Year QJ Member]
[COLOR="Sienna"][LUA Coder and C Learner][/COLOR]
[URL="http://dl.qj.net/Ball-Revamped-Clone-v.1-PSP-Homebrew-Games/pg/12/fid/15231/catid/195"] [COLOR="SlateGray"][Ball Revamped Clone v0.1][/COLOR] [/URL]
[URL="http://dl.qj.net/Phil-s-Shooting-Range-v0.3-PSP-Homebrew-Games/pg/12/fid/11542/catid/194"] [COLOR="SlateGray"][Phil's Shooting Range v0.3][/COLOR] [/URL]
[URL="http://dl.qj.net/Organization-Apps/pg/12/fid/14248/catid/190"][COLOR="SlateGray"][HideFile PRX v2][/COLOR][/URL]
[URL="http://dl.qj.net/SSR-PRX-v1.1-PSP-Homebrew-Applications/pg/12/fid/14725/catid/151"][COLOR="SlateGray"][SSR PRX v1.1][/COLOR][/URL] [/SIZE][/CENTER]
myschoo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 03:03 PM   #25
 
Join Date: Jul 2006
Posts: 345
Trader Feedback: 0
Default

not now...... its like proof of conecpt but more useful since no homebrew made for it... we need to wait for the next version (well 2.71 users :P) that loads elf like in 1.5 (and kernal mode will be very nice )
lalaaaaaa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 03:06 PM   #26
 
Join Date: Nov 2005
Posts: 5,272
Trader Feedback: 0
Default

Quote:
Originally Posted by muratcan
Looks like 1.50 has had its day. Roll on 2.71 as the new top firmware!
Umm.... no.
__________________
[CENTER]
[SIZE=3][COLOR=Red]
[COLOR=black]I'm a Boy.
[COLOR=Red]: )[/COLOR][/COLOR]
[/COLOR][/SIZE]
[/CENTER]
Hooger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 03:17 PM   #27

Designs
 
MSeven's Avatar
 
Join Date: Jul 2006
Location: Canada
Posts: 1,395
Trader Feedback: 0
Default

Quote:
Originally Posted by lalaaaaaa
not now...... its like proof of conecpt but more useful since no homebrew made for it... we need to wait for the next version (well 2.71 users :P) that loads elf like in 1.5 (and kernal mode will be very nice )
it already has kernel
__________________
MSeven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 03:51 PM   #28

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

there are examples of it loading kernel apps in the package...
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 03:53 PM   #29
 
Join Date: Jul 2006
Posts: 345
Trader Feedback: 0
Default

so when D_A will change it to elf support then devhook and stuff will work?
lalaaaaaa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2006, 04:07 PM   #30
 
D_W_Y's Avatar
 
Join Date: Feb 2006
Location: Brisbane, Aus
Posts: 2,305
Trader Feedback: 0
Default

If this is opatched to run static elf files will it be able to run all known homebrew? Will it have to be kxploited?
__________________
kh fanboy
203.88.122.246:27015
D_W_Y is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
271 , enabler , homebrew

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 05:07 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us