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

Search This thread

mai77

Senior Member
Nov 16, 2011
1,429
580
rfs is samsungs flash-adapted-FAT-fs variety

(earlier question somewhere)
 

Perka

Senior Member
Sep 15, 2010
3,642
3,122
Hi nice script, any chance to add support for I9300?

Code:
boot.img   hidden.img  recovery.img  system.img
cache.img  modem.bin   sboot.bin     tz.img
 
  • Like
Reactions: thesebastian

Doky73

Senior Member
Apr 22, 2011
848
2,950
near to Budapest
sgy.noinfo.hu
Hi nice script, any chance to add support for I9300?

Code:
boot.img   hidden.img  recovery.img  system.img
cache.img  modem.bin   sboot.bin     tz.img

Perka, Your attention as an honor for me! :eek:

SplitFUS's advantage is the ability unpack the "artificially" corrupted tar files.
Correct me if I'm wrong, but AFAIK I9x00 series has conventional tar.md5 FUS packages, so unpacking and re-packing is not a big deal by any standard GNU tar utility.

I can change my mind in case there's enough need for support of any devices :)
In case, I need the list of files in each target pack (PDA/PHONE/CSC) and an empty template of the user/data partition/image.

Implementing a new device into the util is not a big deal because of the modular structure of my util, but I need to download several packages from low bandwidth pay-if-want-better-bandwith servers... (eg Sammobile/Hotfile)
So I need some original Samsung FUS files and some leaked service bundles (which containing splitted 3 or 4 files)
Should I find some in Your file Stash?
 

Perka

Senior Member
Sep 15, 2010
3,642
3,122
Perka, Your attention as an honor for me! :eek:

SplitFUS's advantage is the ability unpack the "artificially" corrupted tar files.
Correct me if I'm wrong, but AFAIK I9x00 series has conventional tar.md5 FUS packages, so unpacking and re-packing is not a big deal by any standard GNU tar utility.

I can change my mind in case there's enough need for support of any devices :)
In case, I need the list of files in each target pack (PDA/PHONE/CSC) and an empty template of the user/data partition/image.

Implementing a new device into the util is not a big deal because of the modular structure of my util, but I need to download several packages from low bandwidth pay-if-want-better-bandwith servers... (eg Sammobile/Hotfile)
So I need some original Samsung FUS files and some leaked service bundles (which containing splitted 3 or 4 files)
Should I find some in Your file Stash?

Well, just like the idea of fast repack, md5 sum etc.
Ie I repack without bootloader manually, and this could save some time, also getting the csc in a tar.md5 is nice.
I can do it manually, so if its a hassle, leave it until you get a i9300 :)

If you get a i9300 maybe you can look at it?
Also would be cool to be able to choose the files you want in the repack, also be able to decide the names of the output, kernel modem csc full fw :)

Thx again for your time :)

Pm sent with details :)
 
Last edited:

Mostsh

Senior Member
Mar 10, 2013
64
29
Thx for the great work. I want to flash arabic firmware for my s5300, is it enough to download it from sammobile and split it with the splitfus2 and flash it with odin? Or im missing something?

Sent from my Galaxy using xda premium
 

avicohh

Senior Member
Dec 8, 2009
369
1,100
Modiin
iandroid.co.il
S5301
it's a new model with android 4.04.
the tar.md5 is encrypted like all models here, but is not supported by this script.
i tries to extract his firmware by -a option but is stuck and not extract the files from the tar.

Code:
SplitFUS2 by Doky v2.11.120625GA
Checking prerequisites...
...tar, md5sum, zip found, ready to go!
[*]Leaving work folder as is
Processing file: S5301XXAMC1_S5301SERAMB1_S5301XXMC1_HOME.tar.md5
MODEL: S5301X
PDA: XAMC1
CSC: ERAMB1
MODEM: XXMC1
Temporary workfolder: S5301X_XAMC1_ERAMB1\
[ sboot.bin.md5 ] --- Size: 493884 bytes
cygwin warning:
  MS-DOS style path detected: S5301X_XAMC1_ERAMB1\sboot.bin.md5
  Preferred POSIX equivalent is: S5301X_XAMC1_ERAMB1/sboot.bin.md5
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

here a link for his firmware
http://hotfile.com/dl/200816734/10ba8e2/S5301XXAMC1_SERAMB1_Russia_Android_4.0.4.zip.html
can you try extract this file?
thanks a lot!


edit:
it's funny...
i tried all possible options to extract this file.
7zip and winrar om windows, and terminal, Xarc and more on linux and nothing.

In the end i tried to extract the file via root explorer on my phone, and it worked like a charm!

btw, it work to galaxy y firmwares too..

screenshot2013042404275.png
 
Last edited:

roshmedia

Member
Oct 1, 2012
14
0
Lagos
Hi,

Can i Flash the latest/update firmware for my GT-S5360 from Sammobile on my device (after splitting of course ;)) if the device became bricked while it still had an old one?.

seems i cant get the old firmware (check signature), so should i go ahead with the new ones?

This is what they have:

GT-S5360 Galaxy Y
PDA: S5360XXLK3
CSC: S5360XENLL1
 
Last edited:

Deadly

Senior Member
Jul 19, 2012
10,279
3,901
Bangalore
OnePlus 5
Hi,

Can i Flash the latest/update firmware for my GT-S5360 from Sammobile on my device (after splitting of course ;)) if the device became bricked while it still had an old one?.

seems i cant get the old firmware (check signature), so should i go ahead with the new ones?

This is what they have:

GT-S5360 Galaxy Y
PDA: S5360XXLK3
CSC: S5360XENLL1
If you mean soft brick.. yes.. and all phones will have an old firmware in it even if its not booting.. If you want stock firmware files.. you can find it here. http://xdaforums.com/showthread.php?t=1465800

If you want to learn/do it yourself. then you should use this tool..
 
  • Like
Reactions: roshmedia

roshmedia

Member
Oct 1, 2012
14
0
Lagos
If you mean soft brick.. yes.. and all phones will have an old firmware in it even if its not booting.. If you want stock firmware files.. you can find it here. http://xdaforums.com/showthread.php?t=1465800

If you want to learn/do it yourself. then you should use this tool..

Been on that thread, really great work there. but the firmware i need on the thread has a much recent version on sammobile. so i plan to use this tool to put mine together - learn a few extra stuff in the process too.

just hope i dont go from soft to hard brick:fingers-crossed:
 

mobilexpert

Member
Nov 1, 2006
24
7
it didnt work at first try, was dropping some error ... but worked at second try ....

Code:
xoxo@xoxo-PC /cygdrive/c/SFus
$ ./splitfus2 -s -w S5360XXMC2_S5360OXXMC2_RST_S5360XXMC2_HOME.tar.md5
SplitFUS2 by Doky v2.11.120625GA
Checking prerequisites...
...tar, md5sum, zip found, ready to go!
[*]Including sbl.bin - USE WITH CAUTION!!!
[*]Creating WIPE package
Processing file: S5360XXMC2_S5360OXXMC2_RST_S5360XXMC2_HOME.tar.md5
MODEL: S5360
PDA: XXMC2
CSC: OXXMC2
MODEM: XXMC2
Temporary workfolder: S5360_XXMC2_OXXMC2\
[      sbl.bin ] --- Size: 1306624 bytes
cygwin warning:
  MS-DOS style path detected: S5360_XXMC2_OXXMC2\sbl.bin
  Preferred POSIX equivalent is: S5360_XXMC2_OXXMC2/sbl.bin
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
[    BcmCP.img ] --- Size: 11534336 bytes
[     boot.img ] --- Size: 4546560 bytes
[   system.img ] --- Size: 220272640 bytes
[    param.lfs ] --- Size: 765952 bytes
[      csc.rfs ] --- Size: 3957248 bytes
Checking wipe data file: _base\S5360_userdata.img  [OK]
Now creating wipe package
  adding: CSC_S5360_OXXMC2.tar.md5 (deflated 6%)
  adding: MODEM_S5360_XXMC2.tar.md5 (deflated 54%)
  adding: PDA_S5360_XXMC2.tar.md5 (deflated 44%)
  adding: readme.txt (deflated 37%)
Output file: S5360_XXMC2_OXXMC2_XXMC2_wipe_by_SplitFUS2.zip
Removing work folder
SplitFUS2 finished

xoxo@xoxo-PC /cygdrive/c/SFus


Thanx Doky, Great work .... keep it up man

b.r.
Alex
 

Shiningb

Senior Member
I'm trying to run this on a ubuntu/Linux and I could not understand the lines:
" list help by: ./splitfus2 -h
- launch according to your needs, eg ./splitfus2 -w S5360DDLC2_S5360ODDLA2_S5360DDLC2_HOME.tar.md5"
Do we need to type those at Terminal (Already tried this) or something??
 

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