[Galaxy Y GT-S5360 Android Development] Doky73:
Usage:

- start Cygwin terminal in Windows or terminal shell in Linux

- unpack the whole archive including the _base folder into your work folder (eg into Win: C:\Cygwin\home\username\splitfus, Linux: /home/username/splitfus)

- on Linux set file permissions to executable, and check ownership of splitfus, _base and it's content (chmod 755 splitfus)

- put your source Samsung FUS file (one file *.tar.md5) into the work folder

- list help by: ./splitfus2 -h :)

- launch according to your needs, eg ./splitfus2 -w S5360DDLC2_S5360ODDLA2_S5360DDLC2_HOME.tar.md5

see Video tutorial on installing Cygwin

At packs selection (time - 3:15) make sure "tar", "md5sum", "zip" has been selected. On newer installer there's a search box above, type search words in it!

Examples:

Linux:
doky@doky-vbox:~/splitfus$ ./splitfus2 -a -s -w2 S5360DDLC2_S5360ODDLA2_S5360DDLC2_HOME.tar.md5
SplitFUS2 by Doky v2.00.120425GA

[*]Leaving work folder as is

[*]Including sbl.bin - USE WITH CAUTION!!!

[*]Creating WIPE package

[*] ...and non-wipe too :)
Processing file: S5360DDLC2_S5360ODDLA2_S5360DDLC2_HOME.tar.md5
MODEL: S5360
PDA: DDLC2
CSC: ODDLA2
MODEM: DDLC2
Temporary workfolder: S5360_DDLC2/
[ sbl.bin ] --- Size: 1306624 bytes
[ BcmCP.img ] --- Size: 11534336 bytes
[ boot.img ] --- Size: 4513792 bytes
[ system.img ] --- Size: 211652096 bytes
[ param.lfs ] --- Size: 765952 bytes
[ csc.rfs ] --- Size: 4875776 bytes
Now creating nonwipe package
adding: CSC_S5360_ODDLA2.tar.md5 (deflated 5%)
adding: MODEM_S5360_DDLC2.tar.md5 (deflated 54%)
adding: PDA_S5360_DDLC2.tar.md5 (deflated 45%)
adding: readme.txt (deflated 36%)
Output file: S5360_DDLC2_ODDLA2_DDLC2_by_SplitFUS2.zip
Now creating wipe package
adding: CSC_S5360_ODDLA2.tar.md5 (deflated 5%)
adding: MODEM_S5360_DDLC2.tar.md5 (deflated 54%)
adding: PDA_S5360_DDLC2.tar.md5 (deflated 45%)
adding: readme.txt (deflated 37%)
Output file: S5360_DDLC2_ODDLA2_DDLC2_wipe_by_SplitFUS2.zip
SplitFUS2 finished

Windows:
g:\SplitFUS2>splitfus2.exe -a -k S5360XXLA4_S5360DBTKK1_S5360XXLA4_HOME.tar.md5
SplitFUS2 by Doky v2.00.120425GA

[*]Leaving work folder as is

[*]Exctracting kernel image only
Processing file: S5360XXLA4_S5360DBTKK1_S5360XXLA4_HOME.tar.md5
MODEL: S5360
PDA: XXLA4
CSC: DBTKK1
MODEM: XXLA4
Temporary workfolder: S5360_XXLA4\
[ sbl.bin ] --- Size: 1306624 bytes
[ BcmCP.img ] --- Size: 11534336 bytes
[ boot.img ] --- Size: 4501504 bytes
Packing kernel image
Now creating the kernel pack
Output file: Kernel_S5360_XXLA4.tar.md5
SplitFUS2 finished

more on usage to come...

#

#

#

#

One notice on SBL:

I decided to not include the SBL by default, because SBL is crucial point of hard-bricking your phone.

According to my tests (about 30+ packs), SplitFUS2 handles correctly the SBL, but in future Samsung FUS files it might change.

Who wants to include SBL can use '-s' switch, but my recommendation is to check the generated sbl.bin with a hex editor.

some criteria to judge about good (SGY) sbl.bin:

- Size is 1306624

- starts with HEX 13 00 00 EA

- at the end there's a lot of 00 00 00 00 00 00 00 00 blocks

- somewhere at 0x9BBxx there's a string of 'Secondary Boot Loaded'

In addition compare with a working one. If similar (but not necessarily identical) then it's OK.

When above criterion has meet then you have good chance not to brick your phone by a wrong sbl.bin :D