[TOOL] SplitFUS -create your own Odin ready pack 06/25 ver 2.11

Search This thread

Doky73

Senior Member
Apr 22, 2011
848
2,950
near to Budapest
sgy.noinfo.hu
###new###: Video tutorial in post #3

06/25: update
SplitFUS2 2.11

new features:
- Wipe support for Galaxy Y Pro (GT-B5510), Galaxy Pocket (GT-S5300), Galaxy Y (GT-S5360, GT-S5360B, GT-S5360L, GT-S5360T, GT-S5363, GT-S5369) Galaxy Mini Pro or Pop Pro (GT-S5570I), Galaxy Ace (new version BMC21553 based, 833MHz CPUed GT-S5830i), Galaxy Y Duos (GT-S6102)
- tar, md5sum, zip checking at launch

Downlosd links:
SplitFUS2 ver 2.11 GA for Windows/Cygwin
SplitFUS2 ver 2.11 GA for Linux
=end of update=======================

06/11: Minor update for Samsung Galaxy Pocket GT-S5300 support
=end of update=======================

SplitFUS2
Since Galaxy Y has been released, there are several firmware files available from different sources, eg. sammobile and etc... But most of these firmware packages (which are original unmodified Kies FUS files) are useless for us, because Odin is not able to flash these files. The reason is, the available file is not a standard tar file, it's headers are corrupted. Finally I found the method to split the files, and started converting packages by request and popularity. As time passed, I made the process automatically, first by utilizing spreadsheet, then writing a small C application. This is SplitFUS2

The app converts the original files (which can be downloaded form the FUS server or from sammobile or other sources) to Odin ready 3 files tar pack.
The app useful for Samsung Galaxy Y (S536x, B551x, S6102), new Galaxy Ace (S5830i), Galaxy Pop Pro or Mini Plus or whatever it's name (S5570I)


Unpack the whole pack to a working directory, and start it from command line!


By flashing an improper firmware pack you may potentially risk the health of your phone. Do it on your own risk only!
I won't take responsibility of any damage done to your phone.


Required components under Cygwin/Linux
tar, md5sum, zip (infozip)

Code:
doky@doky-vbox:~/splitfus$ ./splitfus2
SplitFUS2 by Doky v2.00.120425GA
Usage: splitfus2 [options] filename
Converts the original Samsung Kies FUS update pack to Odin ready bundle
Options:
      -s to include sbl.bin (omitted by default) use with CAUTION!
      -w create wipe pack (currently only S5360 supported)
      -w2 generate non wipe and wipe pack at the same pass
      -a leave work folder alone (does not delete on exit)
      -k extract kernel only
      -t do not sign md5, leave tar output files

see more at: http://xdaforums.com/showthread.php?t=1611225

Features (2.00.120425GA)
- automatic conversion of one-file FUS tar.md5 files to three-files tar.md5 packed into zip
- automatic readme.txt creation
- sbl skipped by default, can be included by "-s" command line switch (see #2 for info)
- '-w[2]' switch to generate "wipe" pack [too] (user data will be eleminated by flasnig the wipepack)
- '-a' switch, not to delete the work folder - useful for ROMmmers to examine and extract the image files
- '-k' switch for create Odin flashable stock kernel file only
- '-t' switch for skip the md5sum checksum, and create .tar files

Bugs
surely got some... please report!
-

Future plans
- support data partition wipe for different models (need assistance collecting userdata.img for other models)
- include wipe partitions into the binary, and eliminate _base folder
- Windows GUI
- any request...?

Supported models (please report if not listed!)
-S5360
-S5360B
-S5360L
-S5360T
-S5363
-S5369

-B5510
-S6102
-S5570I
-S5830i


tested and NOT supported (yet, sorry):
-S5690
-
In case you have Odin flash issues with these models, and got at least one Odin working pack, please contact me!

Usage:
see post #2!



Thanks to the beta testers:
chamatht
championswimmer
Millan.SIS
N£utrino
NanoSurfer
pawanyadav
ronnieryan
 
Last edited:

Doky73

Senior Member
Apr 22, 2011
848
2,950
near to Budapest
sgy.noinfo.hu
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:

Code:
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

Code:
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.

attachment.php



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

Millan.SIS

Senior Member
Mar 20, 2012
415
1,552
Dhenkanal, Odisha
had cp: cannot stat `../_base/userdata.img': No such file or directory
putting in home folder solved
now testing....

update:

the temp workspace not removing after completion
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 124
    ###new###: Video tutorial in post #3

    06/25: update
    SplitFUS2 2.11

    new features:
    - Wipe support for Galaxy Y Pro (GT-B5510), Galaxy Pocket (GT-S5300), Galaxy Y (GT-S5360, GT-S5360B, GT-S5360L, GT-S5360T, GT-S5363, GT-S5369) Galaxy Mini Pro or Pop Pro (GT-S5570I), Galaxy Ace (new version BMC21553 based, 833MHz CPUed GT-S5830i), Galaxy Y Duos (GT-S6102)
    - tar, md5sum, zip checking at launch

    Downlosd links:
    SplitFUS2 ver 2.11 GA for Windows/Cygwin
    SplitFUS2 ver 2.11 GA for Linux
    =end of update=======================

    06/11: Minor update for Samsung Galaxy Pocket GT-S5300 support
    =end of update=======================

    SplitFUS2
    Since Galaxy Y has been released, there are several firmware files available from different sources, eg. sammobile and etc... But most of these firmware packages (which are original unmodified Kies FUS files) are useless for us, because Odin is not able to flash these files. The reason is, the available file is not a standard tar file, it's headers are corrupted. Finally I found the method to split the files, and started converting packages by request and popularity. As time passed, I made the process automatically, first by utilizing spreadsheet, then writing a small C application. This is SplitFUS2

    The app converts the original files (which can be downloaded form the FUS server or from sammobile or other sources) to Odin ready 3 files tar pack.
    The app useful for Samsung Galaxy Y (S536x, B551x, S6102), new Galaxy Ace (S5830i), Galaxy Pop Pro or Mini Plus or whatever it's name (S5570I)


    Unpack the whole pack to a working directory, and start it from command line!


    By flashing an improper firmware pack you may potentially risk the health of your phone. Do it on your own risk only!
    I won't take responsibility of any damage done to your phone.


    Required components under Cygwin/Linux
    tar, md5sum, zip (infozip)

    Code:
    doky@doky-vbox:~/splitfus$ ./splitfus2
    SplitFUS2 by Doky v2.00.120425GA
    Usage: splitfus2 [options] filename
    Converts the original Samsung Kies FUS update pack to Odin ready bundle
    Options:
          -s to include sbl.bin (omitted by default) use with CAUTION!
          -w create wipe pack (currently only S5360 supported)
          -w2 generate non wipe and wipe pack at the same pass
          -a leave work folder alone (does not delete on exit)
          -k extract kernel only
          -t do not sign md5, leave tar output files
    
    see more at: http://xdaforums.com/showthread.php?t=1611225

    Features (2.00.120425GA)
    - automatic conversion of one-file FUS tar.md5 files to three-files tar.md5 packed into zip
    - automatic readme.txt creation
    - sbl skipped by default, can be included by "-s" command line switch (see #2 for info)
    - '-w[2]' switch to generate "wipe" pack [too] (user data will be eleminated by flasnig the wipepack)
    - '-a' switch, not to delete the work folder - useful for ROMmmers to examine and extract the image files
    - '-k' switch for create Odin flashable stock kernel file only
    - '-t' switch for skip the md5sum checksum, and create .tar files

    Bugs
    surely got some... please report!
    -

    Future plans
    - support data partition wipe for different models (need assistance collecting userdata.img for other models)
    - include wipe partitions into the binary, and eliminate _base folder
    - Windows GUI
    - any request...?

    Supported models (please report if not listed!)
    -S5360
    -S5360B
    -S5360L
    -S5360T
    -S5363
    -S5369

    -B5510
    -S6102
    -S5570I
    -S5830i


    tested and NOT supported (yet, sorry):
    -S5690
    -
    In case you have Odin flash issues with these models, and got at least one Odin working pack, please contact me!

    Usage:
    see post #2!



    Thanks to the beta testers:
    chamatht
    championswimmer
    Millan.SIS
    N£utrino
    NanoSurfer
    pawanyadav
    ronnieryan
    41
    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:

    Code:
    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

    Code:
    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.

    attachment.php



    When above criterion has meet then you have good chance not to brick your phone by a wrong sbl.bin :D
    28
    Video tutorial of Cygwin and SplitFUS2 install & usage

    full screen & HD recommended

    7
    waiting for this:D
    too bad im pure linux user:(

    It's written in pure C and shell script, won't take too much time to build a linux ver... :)
    6
    GA

    Google Drive introduces:

    SplitFUS2 v2.0 GA

    zip for Windows users
    tgz for Linux user

    Windows version requires Cygwin, and tar, md5sum, zip packages installed
    Linux requires the same packs (usually default)

    unpack the whole archive including the _base folder
    usage example:
    Code:
    ./splitfus2 -a -s -w2 S5360DDLC2_S5360ODDLA2_S5360DDLC2_HOME.tar.md5

    Detailed instructions coming soon (read #1 for more info)

    Code:
    doky@doky-vbox:~/splitfus$ ./splitfus2
    SplitFUS2 by Doky v2.00.120425GA
    Usage: splitfus2 [options] filename
    Converts the original Samsung Kies FUS update pack to Odin ready bundle
    Options:
          -s to include sbl.bin (omitted by default) use with CAUTION!
          -w create wipe pack (currently only S5360 supported)
          -w2 generate non wipe and wipe pack at the same pass
          -a leave work folder alone (does not delete on exit)
          -k extract kernel only
          -t do not sign md5, leave tar output files
    
    see more at: http://xdaforums.com/showthread.php?t=1611225