Talk:PS3MFW Builder: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
m (obsolete)
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Software]]
Basic patches:
*1* Patched LV1 hypervisor to allow mapping of any needed memory area
*2* Patched LV2 kernel to add Peek&Poke system calls to LV2
*3* Patched PKG installer to allow installation of pseudo-retail + debug PKGs
*4* Patched Application launcher to allow running of unsigned applications
*5* Add new icons to XMB to add Install PKGs + /app_home[/code]


<div style="float:right">[[File:Mfwbuilder.png|200px|thumb|left|PS3MFW Builder v0.2]]<br />[[File:Mfw-otherosplusplus.png|200px|thumb|left|PS3MFW Builder v0.2 OtherOS++]]<br />[[File:Mfw-rebug.png|200px|thumb|left|PS3MFW Builder v0.2 Rebug OtherOS++]]</div>
Select the following patches for making your own PS3MFW:
Kakaroto PoC: 5
Geohot : 3+5
Wutangrza : 1+2
Waninkoko : 1+2+3+4+5
Kmeaw / f0xtr()n : 1+2+3+5
graf_chokolo HV-rights: 1(+2?)
and add any patches you like to add to that. There is absolutely no reason at all to use a prepatched PUP someone made for a single firmware version.


All above mentioned patches should work on all retail OFW 3.55, 3.50, 3.42, 3.41, 3.40, 3.30, 3.21, 3.15, 3.10 without problems (*tested them with PS3MFW v0.1 & v0.2).


== Main description ==
PS3MFW is probably the most intensive pretested firmware builder existing. I have yet to hear of a single console that bricked with it, that should not have (semi)bricked with a non modified original firmware too (and yes, even consoles can brick with OFW.


For the people that still want a comparison between fluke1/kmeaw and PS3MFW Builder : http://oi53.tinypic.com/oqetrp.jpg


== Tasks ==
''selected are only the things that are default in fluke1/kmeaw 3.55''
* PS3MFW [http://git-hacks.com/ps3mfw/tasks/trees/master *]
**add_license_msg.tcl (0.1) - Add a custom message to the 'New Features' installation screen. Modifies PUP license.xml --license-auto-add-features : Automatically generate the enabled features of PS3MFW --license-features-message : Prefix message to the generated features list --license-message : New Features message (Appears after the license agreement)
**broken_bluray.tcl (0.2) – Allows you to remove Blu-Ray firmware installation so that the MFW can be installed without a working Blu-Ray drive. This is potentially dangerous if used on a PS3 with a working drive, and should only be used if the drive is broken.
**change_coldboot_files.tcl (0.2) – Advanced users only: Allows changing the sound played and image shown during the boot process. Caution: If improper files are used, this can cause a “brick”.
**change_devflash_files.tcl
**change_ssl_cer.tcl (0.2) – Allows changing of SSL certificates.
**change_theme.tcl (0.2) – Can be used to replace the default "Airbrush" theme with another theme file (.p3t format).
**change_version.tcl
**clean_friends.tcl (0.1) - Clean unwanted icons from the XMB Friends Category. Modifies dev_flash/vsh/resource/explore/xmb/category_friends.xml file --clean-friends-avcroom : Remove "Video Chat" icon from the XMB Friends Category --clean-friends-chat : Remove "Chat Room" icon from the XMB Friends Category --clean-friends-message-box : Remove "Message Box" icon from the XMB Friends Category --clean-friends-nas : Remove "My Profile" icon from the XMB Friends Category --clean-friends-new-chat : Remove "New Chat" icon from the XMB Friends Category
**clean_game.tcl (0.1) - Clean unwanted icons from the XMB Game Category. Modifies dev_flash/vsh/resource/explore/xmb/category_game.xml file --clean-game-gamedata : Remove "Game Data" icon from the XMB Game Category --clean-game-mcutility : Remove "Memory Card Utility (PS/PS2)" icon from the XMB Game Category --clean-game-minis-manual : Remove "Minis Manual" icon from the XMB Game Category --clean-game-sdps3 : Remove "Saved Data Utility (PS3)" icon from the XMB Game Category --clean-game-sdpsp : Remove "Saved Data Utility (minis)" icon from the XMB Game Category --clean-game-trophy : Remove "Trophy Collection" icon from the XMB Game Category --clean-game-welcome : Remove "PlayStation Store" icon from the XMB Game Category
**tasks/clean_music.tcl (0.1) - Clean unwanted icons from the XMB Music Category. Modifies dev_flash/vsh/resource/explore/xmb/category_music.xml file --clean-music-dlna-device : Remove "Network Media Servers" icon from the XMB Music Category --clean-music-dlna-scan : Remove "Search for Media Servers" icon from the XMB Music Category --clean-music-welcome : Remove "PlayStation Store" icon from the XMB Music Category
**clean_network.tcl (0.1) - Clean unwanted icons from the XMB Network Category. Modifies dev_flash/vsh/resource/explore/xmb/category_network.xml file --clean-network-browser : Remove "Internet Browser" icon from the XMB Network Category --clean-network-folding-at-home : Remove "Life with PlayStation" icon from the XMB Network Category --clean-network-kensaku : Remove "Internet Search" icon from the XMB Network Category --clean-network-manual : Remove "Online Instruction Manuals" icon from the XMB Network Category --clean-network-premo : Remove "Remote Play" icon from the XMB Network Category
**clean_photo.tcl (0.1) - Clean unwanted icons from the XMB Photo Category. Modifies dev_flash/vsh/resource/explore/xmb/category_photo.xml file --clean-photo-dlna-device : Remove "Network Media Servers" icon from the XMB Photo Category --clean-photo-dlna-scan : Remove "Search for Media Servers" icon from the XMB Photo Category --clean-photo-hakoniwa : Remove "Photo Gallery" icon from the XMB Photo Category --clean-photo-screenshot : Remove "Screenshot" icon from the XMB Photo Category
**clean_psn.tcl (0.1) - Clean unwanted icons from the XMB PlayStation Network Category Modifies dev_flash/vsh/resource/explore/xmb/category_psn.xml file --clean-psn-commerce-new : Remove "What's New" icon from the XMB PlayStation Network Category --clean-psn-home : Remove "PlayStation Home" icon from the XMB PlayStation Network Category --clean-psn-regist : Remove "Sign In" icon from the XMB PlayStation Network Category --clean-psn-welcome : Remove "PlayStation Store" icon from the XMB PlayStation Network Category
**clean_sysconf.tcl
**clean_tv.tcl
**clean_video.tcl (0.1) - Clean unwanted icons from the XMB Video Category. Modifies dev_flash/vsh/resource/explore/xmb/category_video.xml file --clean-video-bddata-mgmt : Remove "BD Data Utility" icon from the XMB Video Category --clean-video-dlna-device : Remove "Network Media Servers" icon from the XMB Video Category --clean-video-dlna-scan : Remove "Search for Media Servers" icon from the XMB Video Category --clean-video-editingvideo-mgmt : Remove "Video Editor & Uploader" icon from the XMB Video Category --clean-video-netflix : Remove "Netflix" icon from the XMB Video Category --clean-video-welcome : Remove "PlayStation Store" icon from the XMB Video Category
**patch_category_game.tcl (0.1) - Add new icons to the XMB Game category. Modifies dev_flash/vsh/resource/explore/xmb/category_game.xml file --patch-package-files : Add "Install Package Files" icon to the XMB Game Category --patch-app-home : Add "/app_home" icon to the XMB Game Category
**patch_lv1.tcl (0.1) - Patch LV1 hypervisor. Modifies CORE OS lv1.self --patch-lv1-mmap : Allow mapping of any memory area (Needed for LV2 Poke)
**patch_lv2.tcl (0.1) - Patch LV2 kernel. Modifies CORE OS lv1.self --patch-lv2-peek-poke : Patch to add Peek&Poke system calls to LV2
**patch_nas_plugin.tcl (0.1) - Patch package installer Modifies dev_flash/vsh/module/nas_plugin.sprx --allow-debug-pkg : Patch to allow installation of debug packages  --allow-pseudoretail-pkg : Patch to allow installation of pseudo-retail packages
**patch_privacy.tcl (0.2) – PS3 collects a large amount of personal information while it’s operating. Additionally personal information is sent to many domain names when internet access is enabled (unrelated to PSN access). This task prevents PS3 from sending any data to the domain names you select.
**patch_shop.tcl (0.2) – Creates firmware to transform demo PS3s (the units used in stores) into full retail PS3s, without the need for service mode!
**patch_translations.tcl
**patch_vsh.tcl (0.1) - Patch Application launcher. Modifies dev_flash/vsh/module/vsh.self --allow-unsigned-app : Patch to allow running of unsigned applications
**patch_xmb_plugin.tcl
**spoof_version.tcl (0.2) – Allows changing the firmware version the PS3 appears to be on, similar to the rebug spoofer.


nb: patch Appldr is not available in a public release, it is a personal added task for testing purposes)


[http://www.multiupload.com/SXJLOORR7Z 3.61  spoof_version.tcl (7.37 KB)]


----
Even with spoof : dev_flash/vsh/etc/version.txt contains proper version:
315=20091206:[email protected]
341=20100721:[email protected]
350=20100913:tetsu@tetsu-linux14
355=20101127:tetsu@tetsu-linux14
356=20110129:tetsu@tetsu-linux16
360=20110304:tetsu@tetsu-linux15


----
Shortlist of files changed with privacy patch:
autodownload_plugin.sprx
download_plugin.sprx
esehttp.sprx
eula_cddb_plugin.sprx
eula_hcopy_plugin.sprx
eula_net_plugin.sprx
explore_category_friend.sprx
explore_category_game.sprx
explore_category_music.sprx
explore_category_network.sprx
explore_category_photo.sprx
explore_category_psn.sprx
explore_category_sysconf.sprx
explore_category_tv.sprx
explore_category_user.sprx
explore_category_video.sprx
explore_plugin.sprx
explore_plugin_ft.sprx
explore_plugin_np.sprx
friendtrophy_plugin.sprx
game_ext_plugin.sprx
hknw_plugin.sprx
libad_core.sprx
libmedi.sprx
libsysutil_np_clans.sprx
libsysutil_np_commerce2.sprx
libsysutil_np_util.sprx
nas_plugin.sprx
newstore_plugin.sprx
np_eula_plugin.sprx
np_trophy_plugin.sprx
np_trophy_util.sprx
photo_network_sharing_plugin.sprx
profile_plugin.sprx
regcam_plugin.sprx
sysconf_plugin.sprx
videoeditor_plugin.sprx
videoplayer_plugin.sprx
videoplayer_util.sprx
vsh.self                              <-- responsible for game updates     
x3_mdimp11.sprx
x3_mdimp7.sprx


* Gitbrew OtherOS++ [http://git.gitbrew.org/ps3/?p=ps3mfw/tasks.git;a=tree *]
** add_license_msg.tcl
** broken_bluray.tcl
** change_coldboot_files.tcl
** change_devflash_files.tcl
** change_ssl_cer.tcl
** change_theme.tcl
** change_version.tcl
** clean_friends.tcl
** clean_game.tcl
** clean_music.tcl
** clean_network.tcl
** clean_photo.tcl
** clean_psn.tcl
** clean_sysconf.tcl
** clean_tv.tcl
** clean_video.tcl
** patch_category_game.tcl
** patch_emer_init.tcl
** patch_lv1.tcl
** patch_lv2.tcl
** patch_nas_plugin.tcl
** patch_privacy.tcl
** patch_profile.tcl
** patch_shop.tcl
** patch_translations.tcl
** patch_vsh.tcl
** patch_xmb_plugin.tcl
** spoof_version.tcl




* Rebug OtherOS++
----
..


lv1dump.pkg needs :


== Using console / shellscript ==
# Option --patch-lv2-lv1-peek-poke-355: Patch to add LV1 Peek&Poke system calls to LV2 3.55 (LV1 peek/poke patch necessary)
perhaps it needs to be updated for 315/341
needs syscall 8
which can be modified
its just a little more code


By using commandline switches you can preset every task there is, plus the source PUP, destination PUP and debug settings.
----


Example of PS3MFW Builder 0.2 tasks:
=== patch test list ===
ps3mfw.exe %1 "Y:\PS3-Firmwares" "Z:/PS3MFW-out/test.pup" --change_version --add_license_msg --patch_lv1 --patch_lv2 --patch_nas_plugin --patch_privacy --patch_vsh --patch_category_game --spoof_version --debug true


Example of PS3MFW Builder with OtherOS++ tasks (in this case tasks that fail with FW 3.15 are disabled/not selected):
{| class="wikitable"
ps3mfw.exe %1 "Y:\PS3-Firmwares\" "Z:/MFWOtherOS-out/test.pup" --change_version --add_license_msg --patch_lv1 --patch-lv1-dispmgr-access false --patch-lv1-otheros-plus-plus false --patch_lv2 --patch-emer-init --patch_category_game --patch-package-files true --patch-app-home true --patch_nas_plugin --allow-pseudoretail-pkg true --allow-debug-pkg true --patch_vsh --allow-unsigned-app true --patch_privacy --debug true
|-
 
! Patch !! 1.02 !! 1.10 !! 1.11 !! 1.30 !! 1.31 !! 1.32 !! 1.50 !! 1.51 !! 1.54 !! 1.60 !! 1.70 !! 1.80 !! 1.81 !! 1.82 !! 1.90 !! 1.92 !! 1.93 !! 1.94 !! 2.00 !! 2.01 !! 2.10 !! 2.16 !! 2.17 !! 2.20 !! 2.30 !! 2.35 !! 2.36 !! 2.40 !! 2.41 !! 2.42 !! 2.43 !! 2.50 !! 2.52 !! 2.53 !! 2.60 !! 2.70 !! 2.76 !! 2.80 !! 3.00 !! 3.01 !! 3.10 !! 3.15 !! 3.21 !! 3.30 !! 3.40 !! 3.41 !! 3.42 !! 3.50 !! 3.55 !! 3.56
 
|-
 
| lv1.self - mmap114 || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || 0xF1963 || 0xF1963 || 0xF1727 || 0xF1EEF || 0xF1EEF || 0xF4EEF || 0xF50BB || 0xF564F || 0xF3453 || 0xF31AF || 0xF31AF || 0xF31AF || 0xF31F7 || 0xF5A47 || {{No}}
== Reference ==
|-
* TCL Guide
| lv2_kernel.self - peek/poke || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || - || 0x27DB4 || 0x27DB8 || 0x27B24 || 0x27B0C || 0x27B10 || 0x27FAC || 0x27FB0 || 0x27FB0 || 0x27CB8 || 0x27CB8 || 0x27CBC || 0x27CBC || 0x297BC || 0x2933C || -  
 
|-
 
|}
== Downloads / precompiled & source ==
 
*Windows precompiled build of release v0.2 with ps3keys and tools: [http://www.multiupload.com/QSFVE64T72 ps3mfw-w32_portable.rar (4.4 MB)] (pretested Windows 7 / XP)
 
*Old Windows precompiled build of release v0.1:  [http://www.multiupload.com/RPC4L254H7 PS3MFW_0.1-win.rar (4.34 MB)]
 
*Quick build script for Debian/Ubuntu: http://www.pastie.org/2117364
 
*Git source : http://git-hacks.com/ps3mfw

Latest revision as of 13:32, 13 June 2015

Basic patches:

  • 1* Patched LV1 hypervisor to allow mapping of any needed memory area
  • 2* Patched LV2 kernel to add Peek&Poke system calls to LV2
  • 3* Patched PKG installer to allow installation of pseudo-retail + debug PKGs
  • 4* Patched Application launcher to allow running of unsigned applications
  • 5* Add new icons to XMB to add Install PKGs + /app_home[/code]

Select the following patches for making your own PS3MFW: Kakaroto PoC: 5 Geohot : 3+5 Wutangrza : 1+2 Waninkoko : 1+2+3+4+5 Kmeaw / f0xtr()n : 1+2+3+5 graf_chokolo HV-rights: 1(+2?) and add any patches you like to add to that. There is absolutely no reason at all to use a prepatched PUP someone made for a single firmware version.

All above mentioned patches should work on all retail OFW 3.55, 3.50, 3.42, 3.41, 3.40, 3.30, 3.21, 3.15, 3.10 without problems (*tested them with PS3MFW v0.1 & v0.2).

PS3MFW is probably the most intensive pretested firmware builder existing. I have yet to hear of a single console that bricked with it, that should not have (semi)bricked with a non modified original firmware too (and yes, even consoles can brick with OFW.

For the people that still want a comparison between fluke1/kmeaw and PS3MFW Builder : http://oi53.tinypic.com/oqetrp.jpg

selected are only the things that are default in fluke1/kmeaw 3.55

nb: patch Appldr is not available in a public release, it is a personal added task for testing purposes)

3.61 spoof_version.tcl (7.37 KB)


Even with spoof : dev_flash/vsh/etc/version.txt contains proper version:

315=20091206:[email protected]
341=20100721:[email protected]
350=20100913:tetsu@tetsu-linux14
355=20101127:tetsu@tetsu-linux14
356=20110129:tetsu@tetsu-linux16
360=20110304:tetsu@tetsu-linux15

Shortlist of files changed with privacy patch:

autodownload_plugin.sprx
download_plugin.sprx
esehttp.sprx
eula_cddb_plugin.sprx
eula_hcopy_plugin.sprx
eula_net_plugin.sprx
explore_category_friend.sprx
explore_category_game.sprx
explore_category_music.sprx
explore_category_network.sprx
explore_category_photo.sprx
explore_category_psn.sprx
explore_category_sysconf.sprx
explore_category_tv.sprx
explore_category_user.sprx
explore_category_video.sprx
explore_plugin.sprx
explore_plugin_ft.sprx
explore_plugin_np.sprx
friendtrophy_plugin.sprx
game_ext_plugin.sprx
hknw_plugin.sprx
libad_core.sprx
libmedi.sprx
libsysutil_np_clans.sprx
libsysutil_np_commerce2.sprx
libsysutil_np_util.sprx
nas_plugin.sprx
newstore_plugin.sprx
np_eula_plugin.sprx
np_trophy_plugin.sprx
np_trophy_util.sprx
photo_network_sharing_plugin.sprx
profile_plugin.sprx
regcam_plugin.sprx
sysconf_plugin.sprx
videoeditor_plugin.sprx
videoplayer_plugin.sprx
videoplayer_util.sprx
vsh.self                               <-- responsible for game updates      
x3_mdimp11.sprx
x3_mdimp7.sprx



lv1dump.pkg needs :

# Option --patch-lv2-lv1-peek-poke-355: Patch to add LV1 Peek&Poke system calls to LV2 3.55 (LV1 peek/poke patch necessary)
perhaps it needs to be updated for 315/341
needs syscall 8
which can be modified
its just a little more code

patch test list[edit source]

Patch 1.02 1.10 1.11 1.30 1.31 1.32 1.50 1.51 1.54 1.60 1.70 1.80 1.81 1.82 1.90 1.92 1.93 1.94 2.00 2.01 2.10 2.16 2.17 2.20 2.30 2.35 2.36 2.40 2.41 2.42 2.43 2.50 2.52 2.53 2.60 2.70 2.76 2.80 3.00 3.01 3.10 3.15 3.21 3.30 3.40 3.41 3.42 3.50 3.55 3.56
lv1.self - mmap114 No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No 0xF1963 0xF1963 0xF1727 0xF1EEF 0xF1EEF 0xF4EEF 0xF50BB 0xF564F 0xF3453 0xF31AF 0xF31AF 0xF31AF 0xF31F7 0xF5A47 No
lv2_kernel.self - peek/poke - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0x27DB4 0x27DB8 0x27B24 0x27B0C 0x27B10 0x27FAC 0x27FB0 0x27FB0 0x27CB8 0x27CB8 0x27CBC 0x27CBC 0x297BC 0x2933C -