After @dimok released the WFS Block Injector and was able to install haxchi with it, it occurred to me that there is no need to allocate new file system blocks or change the directory tree to install haxchi (which is why I haven't add full modifying capabilities yet).
So I added to wfslib basic editing capabilities. You can change the content and the size of any file, up to the already allocated size of the file on the disk.
wfs-file-injector is a tool that wrap this capability and allow you to inject files.
In the next few days I hope to release an automatic PC haxchi installer, but right now you can do it manually with this tool, just inject the correct rom.zip
WARNING: It is very experimental, and may corrupt your file system. Use at your own risk and make sure to backup the image before.
Download (Source)
see also: wfsdump, wfs-fuse
Example:
Inject rom.zip
So I added to wfslib basic editing capabilities. You can change the content and the size of any file, up to the already allocated size of the file on the disk.
wfs-file-injector is a tool that wrap this capability and allow you to inject files.
In the next few days I hope to release an automatic PC haxchi installer, but right now you can do it manually with this tool, just inject the correct rom.zip
WARNING: It is very experimental, and may corrupt your file system. Use at your own risk and make sure to backup the image before.
Download (Source)
see also: wfsdump, wfs-fuse
Code:
Usage: wfs-file-injector --image <wfs image> --inject-file <file to inject> --inject-path <file path in wfs> --otp <opt path> [--seeprom <seeprom path>] [--mlc] [--usb]
Allowed options:
--help produce help message
--image arg wfs image file
--inject-file arg file to inject
--inject-path arg wfs file path to replace
--otp arg otp file
--seeprom arg seeprom file (required if usb)
--mlc device is mlc (default: device is usb)
--usb device is usb
Example:
Inject rom.zip
Code:
wfsdump --image usb.img --inject-file rom.zip --inject-path /usr/title/00050000/101c3500/content/0010/rom.zip --otp otp.bin --seeprom seeprom.bin
Last edited by EyeKey,