Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Homebrew Enabler for 2.71 (revision B)

                  
   
  1. #1
    Won Hung Lo wraggster's Avatar
    Join Date
    Apr 2003
    Location
    Nottingham, England
    Age
    52
    Posts
    139,560
    Blog Entries
    3209
    Rep Power
    50

    psp Homebrew Enabler for 2.71 (revision B)

    Dark Alex has released a new update to his Homebrew Launcher for the PSP, heres what he says:

    This update is necessary in order to run the incoming port of devhook launcher to 2.71.

    Changelog
    ----------

    - Revision A (22 september):

    * Initial release

    - Revision B (24 september):

    * Some kernel prx's didn't load because the kernel tried to load them to user partition. This problem affected devhook.prx and some other kernel prx's.
    This problem has been fixed.

    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.

    Update Instruction for people with revision A installed
    -------------------------------------------------------
    To update from HEN revision A to B, hard reset your psp (to make sure that hen is not running).
    Then copy the new files to the memory stick and run the tif. The new files will be automatically
    updated.

    People without any version of hen installed, just follow the instructions below.

    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, sincethis 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_CALL" 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

    Download and Give Feedback Via Comments

  2. #2
    DCEmu Newbie
    Join Date
    Sep 2006
    Posts
    26
    Rep Power
    0

    Default

    i am the first reply

  3. #3
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    33
    Posts
    4,123
    Rep Power
    92

    Default

    Quote Originally Posted by ToMeR
    i am the first reply

    why post that

    PSN ID: splodger15

  4. #4
    DCEmu Legend Video_freak's Avatar
    Join Date
    Dec 2005
    Location
    Bay Area, California
    Posts
    2,892
    Rep Power
    104

    Default

    Nice development. Keep it up!

    And ToMeR, this isn't Qj, so please put something other than "OMG I'm first!"

    Quote Originally Posted by splodger15
    why post that
    Why post that?!

  5. #5
    DCEmu Legend dejkirkby's Avatar
    Join Date
    Feb 2006
    Age
    44
    Posts
    2,632
    Rep Power
    97

    Default

    Tomer Change the red line in your sig, Iso talk or promotion not allowed. And with the Devhook port released by Dark_Alex, you can run homebrew on 2.71 as it can now emulate 1.5 on 2.71.

  6. #6
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    33
    Posts
    4,123
    Rep Power
    92

    Default

    Quote Originally Posted by Video_freak
    Why post that?!

    lol

    PSN ID: splodger15

  7. #7
    DCEmu Legend
    Join Date
    Sep 2006
    Location
    USA
    Posts
    2,152
    Rep Power
    75

    psp

    Quote Originally Posted by ToMeR
    i am the first reply
    But you replied with NOTHING! Why did you even post?

    Anyway, this is an awesome development, especially combined with his DevHook Launcher Port for 2.71. From what I understand, 2.71 PSP's could use this to emulate 1.50. And if it FULLY emulates 1.50, you would not even need to downgrade. So this might be really big news for TA-082 PSP owners.

    We owe Dark_AleX so much...

  8. #8
    DCEmu Legend Video_freak's Avatar
    Join Date
    Dec 2005
    Location
    Bay Area, California
    Posts
    2,892
    Rep Power
    104

    Default

    Quote Originally Posted by Veskgar
    We owe Dark_AleX so much...
    He wants our souls...

  9. #9
    DCEmu Legend dejkirkby's Avatar
    Join Date
    Feb 2006
    Age
    44
    Posts
    2,632
    Rep Power
    97

    Default

    Quote Originally Posted by Veskgar
    But you replied with NOTHING! Why did you even post?

    Anyway, this is an awesome development, especially combined with his DevHook Launcher Port for 2.71. From what I understand, 2.71 PSP's could use this to emulate 1.50. And if it FULLY emulates 1.50, you would not even need to downgrade. So this might be really big news for TA-082 PSP owners.

    We owe Dark_AleX so much...
    Thanks for backing me up!!

  10. #10
    DCEmu Rookie
    Join Date
    Aug 2006
    Posts
    188
    Rep Power
    65

    Default

    i still didnt get why use it? and what is prx?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •