[RELEASE] Hold+ v3.6 - Battery Saver Plugin

Discussion in 'PSP Homebrew Development' started by LocutusEstBorg, Jan 18, 2009.

  1. LocutusEstBorg

    LocutusEstBorg Contributor

    Hold+ v3.6

    Tested on 5.00M33-4

    Download: http://ifile.it/5btzpfr/hold__v3.6.zip (Click on Request Ticket).

    It does the following when the Hold switch is enabled:
    * Switches off the LCD screen and backlight.
    * Underclocks the CPU to 60MHz
    * The original screen brightness and clock speed are restored when the Hold switch is released.
    * Prevents the PSP from going into suspend mode if you accidently push the power switch too far when turning off Hold mode.
    * Allows complete operation of the PSP controls with the display turned off.
    * Turns off LEDs in hold mode. LEDs are flashed once in 30 seconds so that the PSP is not mistaken to be powered off.
    * While in hold mode, allows the use of Left, Right, LTrigger, RTrigger, Volume and Start buttons, if you hold the Select button first. Useful to skip songs, pause etc.

    Additional Features:
    * Enables the 5th brightness level on PSP Slim.
    * Increases the vertical scrolling speed of Music player by around 50% (scroll 300 songs in 10 seconds).

    Usage:
    Turn on the Hold switch to automatically disable the display and underclock the CPU. Turn off the Hold switch to return the CPU to normal speed and enable the display.

    If you push the ANALOG UP button when turning on the Hold switch, it will only lock the keypad like normal hold mode. The display and CPU speed will not be changed, so that you can watch videos etc. with the keypad locked.

    If you push the ANALOG UP button when turning off the Hold switch, the display will remain switched off and the CPU will remain underclocked, but you can operate the PSP. To return to normal, push the power switch to the suspend position, or just press the Screen button.

    While the PSP is in hold mode, if you first hold down the Select button, you can use the following buttons: Left, Right, LTrigger, RTrigger, Vol+, Vol-, Start.

    Installation:
    You can install it in the seplugins folder, and make an entry in VSH.txt. Thus it will be active in the XMB. Its also possible to use it in games by adding it to GAME.txt, but some games may crash etc., if the CPU is underclocked to such a low value.

    Optionally, its also possible to install it in your PSP's flash0 so that it will work without a Memory Stick. For this you can use FreePlay's "NewBTCFNedit" and enable it for VSH mode in the all the PSPBT?NF.bin files. Add it before vshmain.prx.

    Advanced:
    If you want to change the clock speed to your own values, you can use a hex editor to change them. The offsets in the file for v3.6 are
    0x1294 - CPU
    0x1298 - Bus (Should be half the CPU speed or less)

    The values should be entered in hexadecimal. The default value for CPU is 3C (60 MHz in decimal) and the default value for Bus is 1E (30 MHz in decimal).

    Note that simply using any arbitrary value will not work. You will have to test and see which values for CPU and Bus speed work.

    Credits:
    Thanks to adrahil for helping with preventing the suspend mode.

    Thanks to Booster for the SysCon Hook sample, based on which Hold+ v3.0 was updated.

    Thanks to Total_Noob; As his plugin MusicHold was not compatible with Hold+, with his permission I've implemented the same features in Hold+ v3.0 for people who wanted some buttons to be usable in hold mode.

     
  2. Juliet

    Juliet New Member

    <p>Can it be used within the internet browser? Especially while downloading something big? Or while listening to the radio? I mean reducing CPU speed won't interfere with these functions, is it true?</p>
     
  3. ArtfulDodger

    ArtfulDodger New Member

    <p>any one know if the brightness (level 4) feature works on the PSP phat?</p>
     
  4. x3sphere

    x3sphere Administrator Staff Member Enforcer Team

    4th brightness setting will work on a Phat but not the 5th, as it is Slim only.
     
  5. ArtfulDodger

    ArtfulDodger New Member

    <p>that's great news...um, how do i activate 4th brightness? I pressed 'display' 4 times but it didn't work.</p>
     
  6. jc1cell

    jc1cell New Member

    Can't seem to get it to work. I have 5.00 m33-6, never tried it with -4 though, so don't know if it worked with that one either. One thing I noticed is that although I have it in the seplugins folder I don't see it in the plugins section of recovery in order to enable it. It's added to the vsh.txt.

    Anything I should be looking at in the XMB that would indicate that it's running.

    jc
     
  7. LocutusEstBorg

    LocutusEstBorg Contributor

    Make sure you add it like this in vsh.txt
    ms0:/seplugins/hold.prx 1
    According to the m33-3 format which changed.
    It works anywhere.
     
  8. jc1cell

    jc1cell New Member

    thanks torch, after a bit of playing with it i had realized that i read incorrectly and it really wasn't in the vsh text. Added and its running just fine now.
     
  9. fasijimoto-san

    fasijimoto-san New Member

    This sounds quite awesome. For comparisons sake, what does the PSP do when it' put into sleep mode. IOW, how big of a power savings/difference is this?
     
  10. LocutusEstBorg

    LocutusEstBorg Contributor

    Sleep mode consumes almost no power except to keep the RAM alive. Sleep would probably only consume %1 battery every few days.

    In Hold+ hold mode you should get atleast 15 hours of music playback.
     

Share This Page