Skip to content

Instantly share code, notes, and snippets.

@windsurfer1122
Last active July 27, 2020 11:39
Show Gist options
  • Save windsurfer1122/e1b6612dce2a39ccea30fe147f1d2934 to your computer and use it in GitHub Desktop.
Save windsurfer1122/e1b6612dce2a39ccea30fe147f1d2934 to your computer and use it in GitHub Desktop.
Guide for Manual PS3HEN Clean-Up with External XMB Mod for XMB File Explorer over USB

Clean-Up of PS3HEN 3.0.1/2.3.2

Stand: 2020-04-15T16:04:00Z

Table of Contents

Step 0 - Preparations

  • Read the complete guide before doing anything.
  • Do at your own risk! - Hell yeah, I assume PS3HEN is already installed, so you know what you are doing, right?
  • Recommended file/backup manager is IrisMan (Alternative Download) as it does not create any extra folders, e.g. for GAMES.
    • It can also be run only in file manager mode by setting "FileManager=1" in /dev_hdd0/game/IRISMAN00/USRDIR/settings.ini. Just copy the settings.ini file to a USB HDD/stick, edit it on a PC, then copy back to the PS3.
  • Also recommended is the use of SEN Enabler to conveniently get rid of the execution history for all users at once.
  • ATTENTION! Only installing a full OFW/HFW file (=PS3UPDAT.PUP) will format /dev_flash and install all files in flash memory anew. Do not use any PS3PATCH.PUP files.
  • Prepare a USB HDD or a USB stick formatted with FAT32 (PS3 doesn't support exFAT, NTFS or ext2/3/4).
    • USB 3.0 devices work on PS3 in general, but only in USB 2.0 mode and therefore with USB 2.0 speed.
    • Stick must be a either a typical Superdisk (unpartitioned) or partitioned with MBR (PS3 doesn't support GPT).
    • HDD must be partitioned with MBR (PS3 doesn't support GPT).
    • Recommended is a cluster/allocation size of 64 KiB. Higher values like 128 KiB will increase access times.
    • Windows: Use Ridgecrop's Fat32Format - fat32format.exe -c128 X:
    • Linux: mkfs.vfat -F 32 -s 128 /dev/...

Step 1 - Backup And First Clean-up of Homebrew

  • Add XMB File Explorer to XMB category game via external definitions on USB.
    • Useful to delete/unlink files or folders without any homebrew.
    • Advantage: No execution history, hence best for doing the final clean-up before reverting to OFW/HFW. Even after any file/backup manager was deleted.
    • Copy external.xml from this guide to the root folder of the USB HDD/stick.
    • Remove any USB extension (hubs, etc.) from the PS3, as the original USB ports must be used for the XMB modification.
    • Connect USB HDD/stick to the right (most inner) USB port of the PS3 (/dev_usb000).
    • Reload the XMB by starting Game > Remote Play and just quitting it.
    • Find it under Game > *XMB File Explorer.
    • Usage: Correctly choose Unlink for files and Unlink (folder) for folders.
  • Backup files to USB if needed.
    • Use file/backup manager Game > IrisMan to copy wanted folders and files.
  • Deinstall all homebrew except for the file/backup manager IrisMan and SEN Enabler.
  • Start file/backup manager Game > IrisMan to clean-up remaining homebrew related folders and files, but not PS3HEN related ones yet.
    • What folder and files remained undeleted depends on the individually used homebrew.

Step 2 - Final Clean-up of PS3HEN, Execution History And Last Homebrew

  • Restart PS3 anew.
  • Start file/backup manager Game > IrisMan to clean-up HEN/HAN/Homebrew related folders and files.
    • If not already in file manager mode then go there via Start > Tools > File Manager.
    • The following list contains the typical candidates for vanilla installations with just file/backup manager IrisMan installed.
    • Harddisk
      • ATTENTION! Do not clean-up /dev_hdd0/HENplugin.sprx yet, this will be done as the very last step with the XMB File Explorer. Otherwise SEN Enabler may crash the console, if so, then reboot, enable HEN and restart from here.
      • Unlink/Delete folder /dev_hdd0/BDISO
      • Unlink/Delete folder /dev_hdd0/DVDISO
      • Unlink/Delete folder /dev_hdd0/GAMES
      • Unlink/Delete folder /dev_hdd0/PS2ISO
      • Unlink/Delete folder /dev_hdd0/PS3ISO
      • Unlink/Delete folder /dev_hdd0/PSPISO
      • Unlink/Delete folder /dev_hdd0/PSXISO
      • Unlink/Delete folder /dev_hdd0/ROMS
      • Unlink/Delete folder /dev_hdd0/exdata
      • Unlink/Delete folder /dev_hdd0/hen (before PS3HEN 3.0.0)
      • Unlink/Delete folder /dev_hdd0/packages
      • Clear folder /dev_hdd0/tmp
      • ➡️ not always present:
      • Unlink/Delete folder /dev_hdd0/plugins
      • Unlink/Delete file /dev_hdd0/boot_plugins.txt
      • Unlink/Delete file /dev_hdd0/Latest_HEN_installer*.pkg
      • Unlink/Delete file /dev_hdd0/theme/PS3HEN.p3t
      • ➡️ rarely present:
      • Unlink/Delete folder /dev_hdd0/GAMEZ
      • Unlink/Delete folder /dev_hdd0/PKG
      • Unlink/Delete folder /dev_hdd0/PKGTMP
      • Unlink/Delete folder /dev_hdd0/game/XMBMANPLS (HAN? CFW left-over?)
      • Unlink/Delete folder /dev_hdd0/xmlhost
    • ATTENTION! Still files from these and other homebrew could be left behind in several other places. What are the typical locations to clear or remove?
  • Exit file manager mode of IrisMan via Select+Start.
    • If still in IrisMan, then exit IrisMan via Circle > Circle > Yes.
  • Delete file/backup manager Game > IrisMan via Triangle > Delete.
    • Still Game > *XMB File Explorer is available as a last resort.
  • Start SEN Enabler via Game > GT Academy 2013.
    • Remove execution history via Delete history files (these contain all app/game calls, including HomeBrew like IrisMan).
      • Pushlist:
        • /dev_hdd0/vsh/pushlist/game.dat
        • /dev_hdd0/vsh/pushlist/patch.dat
      • Boot History:
        • /dev_hdd0/home/*/etc/boot_history.dat
    • Exit SEN Enabler.
  • Delete SEN Enabler via Game > GT Academy 2013 and Triangle > Delete.
  • Goto Game > *XMB File Explorer > /dev_hdd0.
    • Unlink/Delete file /dev_hdd0/HENplugin.sprx
  • "Update" to OFW/HFW PS3UPDAT.PUP via Settings > System Update > Update via Storage Media.
    • Always flash twice, so that both flash banks are getting flashed anew.

Credits

  • esc0rtd3w - big help in investigation
  • DeViL303 - big help in investigation (XMB File Explorer)
<?xml version="1.0" encoding="UTF-8"?>
<XMBML version="1.0">
<View id="external">
<Attributes>
<Table key="pkg_files_devs">
<Pair key="icon_rsc"><String>tex_album_icon</String></Pair>
<Pair key="title"><String>★ XMB File Explorer</String></Pair>
<Pair key="info"><String>Browse complete filesystem and delete files.</String></Pair>
</Table>
</Attributes>
<Items>
<Query
class="type:x-xmb/folder-pixmap"
key="pkg_files_devs"
attr="pkg_files_devs"
src="host://localhost/q?path=/"
/>
</Items>
</View>
</XMBML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment