[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
If I just click on the exe I get a Cygwin1.dll is missing error...

Copying the missing library from any Cygwin package (installed or not) into the SplitFus executable folder should solve the issue...

a bit prettier way to add x:\cygwin\bin to your windows PATH environment var
and the you can run SplitFUS2 via Windows CMD.
I'm not sure it solves thom80's issue, but give it a try
 
  • Like
Reactions: Dhanu@xdadev

thom80

Senior Member
Apr 30, 2012
81
8
Sorry, no other idea...
Maybe something wrong with your cygwin...
btw admin permission granted to the command shell?

Last advice: use the linux version...

i tried also to execute splitfus in windows "safe mode", the program doesnt crash, but i got the message "end of stack races" and "segmentation fault" in the end of dos box
 

NanoSurfer

Senior Member
Mar 10, 2012
705
910
Cape Town
a bit prettier way to add x:\cygwin\bin to your windows PATH environment var
and the you can run SplitFUS2 via Windows CMD.
I'm not sure it solves thom80's issue, but give it a try

Yes Sir you're 100% right :)

I did that now and it works from anywhere ;)

I don't have any more thanks left cause I used them all up on you with the bin counter reset :D

Thank you!
 

thom80

Senior Member
Apr 30, 2012
81
8
i changed the file cygwin.dll and now splitfus2 works, but after starting the conversion process it create a directory but saves no file ...
 

NanoSurfer

Senior Member
Mar 10, 2012
705
910
Cape Town
thank you. i found the file b2zip.lst , how can i install it?

Just click on the 'Skip' and you will see the version number and then tick both boxes and go 'next'

It should install the required dependencies

You are here right? (ignore my packages, this is an example)

attachment.php
 

Attachments

  • Cygwin.JPG
    Cygwin.JPG
    210.9 KB · Views: 1,142
Last edited:
  • Like
Reactions: thom80

thom80

Senior Member
Apr 30, 2012
81
8
in my screen i can see all the list like you,but cant find the button search.. can you tell me what version of cygwin are you using? so i go do download it
 

NanoSurfer

Senior Member
Mar 10, 2012
705
910
Cape Town
Or follow Sir Doky's advice. His is easier than mine :)

Just type in 'zip' and install

---------- Post added at 11:38 PM ---------- Previous post was at 11:36 PM ----------

in my screen i can see all the list like you,but cant find the button search.. can you tell me what version of cygwin are you using? so i go do download it

Just go here and get it from the horses mouth ;)
 
  • Like
Reactions: thom80

thom80

Senior Member
Apr 30, 2012
81
8
i installed it just now, but is better using the prompt of ms dos or cygwin terminal to launch splitfus?
 

NanoSurfer

Senior Member
Mar 10, 2012
705
910
Cape Town
i installed it just now, but is better using the prompt of ms dos or cygwin terminal to launch splitfus?

you need to add c:\cygwin\bin to your PATH variables in Windows then you can run it from the MS DOS prompt.

For me it looks like this

attachment.php


PS: Thanks to Doky for pointing this out!
 

Attachments

  • Cygwin3.JPG
    Cygwin3.JPG
    41.8 KB · Views: 943
Last edited:

NanoSurfer

Senior Member
Mar 10, 2012
705
910
Cape Town
excuse me fot the question, where can i find the path variables enviroment in windows?

Well, if you are using Windows 7 then you can go to Control Panel\System and Security\System\Advanced System Settings

attachment.php


If you are on Windows xp, then I cant remember where that was. Just google it!
 

Attachments

  • Cygwin4.JPG
    Cygwin4.JPG
    93.5 KB · Views: 1,220

thom80

Senior Member
Apr 30, 2012
81
8
Well, if you are using Windows 7 then you can go to Control Panel\System and Security\System\Advanced System Settings

attachment.php


If you are on Windows xp, then I cant remember where that was. Just google it!

thanks. i did everything perfectly but always some problem.. i attach my dos box here ..
 

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