Unfortunately we do not accept new members for free, Now Registration cost 30€, if you are interesting Send Email to [email protected]

SWFL Extractor Tool
21-07-2023, 18:07 PM,
Post: #1
XZBMW  SWFL Extractor Tool
Hello all,


I would like to share with you a tool I developed to parse and extract BMW SWE firmware files.

It works with SWFL, BTLD, FLSL files from the psdzdata/swe/.
Maybe some of you had a look over the swfl_0000uuuu.bin.uuu_uuu_uuu files and saw that some of them use a compression method. It can also be confirmed by checking the corresponding swfl_0000uuuu.xml.uuu_uuu_uuu that some segments are marked as <FLASH-SEGMENT COMPRESSION-STATUS="COMPRESSED"> and some are <FLASH-SEGMENT COMPRESSION-STATUS="UNCOMPRESSED">.
BMW is actually using NRV algorithm for the compressed sections.

I created a Python script to parse the .xml, extract binary blocks from corresponding .bin and call the unucl extractor app which is the open source implementation of the NRV compression algorithm and reassemble the final binary.

I have included in the archive 2 builds of the UCL extractor, for x64 Linux and Windows.

Windows CMD or Linux terminal usage example:
python extract.py -i swfl_00004a5a.bin.010_006_040 -x swfl_00004a5a.xml.010_006_040

! Python is required to be installed on your machine !


Have Fun!


Attached Files
SWFLExtractor.zip
File Type: .zip
Downloaded: 388 times
Size: 8.22 MB

Reputation: +16 - juantg93 [+1] , luntik [+1] , BmwMerc [+1] , diagso [+1] , Jumper [+1] , TheNine90 [+1] , Mwahab [+1] , simzep [+1] , palapas1974 [+1] , jaramillo [+1] , OneKillaWatt [+1] , s_s [+1] , VroomVroom [+1] , ruben_17non [+1] , Kayhan 17# [+1] , zalimhan74 [+1]
Quote this message in a reply
[+] 33 users say Thank You to bogdantogo for this post


Messages In This Thread
SWFL Extractor Tool - by bogdantogo - 21-07-2023, 18:07 PM
RE: SWFL Exctractor Tool - by juantg93 - 21-07-2023, 18:31 PM
RE: SWFL Exctractor Tool - by bogdantogo - 21-07-2023, 19:26 PM
RE: SWFL Exctractor Tool - by juantg93 - 21-07-2023, 20:07 PM
RE: SWFL Exctractor Tool - by rocdeng - 21-07-2023, 23:31 PM
RE: SWFL Exctractor Tool - by zero9 - 22-07-2023, 06:21 AM
RE: SWFL Exctractor Tool - by juantg93 - 22-07-2023, 13:04 PM
RE: SWFL Exctractor Tool - by ____ANGEL___ - 21-07-2023, 23:35 PM
RE: SWFL Exctractor Tool - by bogdantogo - 24-07-2023, 14:42 PM
RE: SWFL Exctractor Tool - by megalo84 - 13-11-2023, 11:05 AM
RE: SWFL Exctractor Tool - by bogdantogo - 14-11-2023, 07:31 AM
RE: SWFL Exctractor Tool - by jaramillo - 14-11-2023, 20:13 PM
RE: SWFL Exctractor Tool - by megalo84 - 14-11-2023, 22:58 PM
RE: SWFL Extractor Tool - by ____ANGEL___ - 14-11-2023, 19:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
XZBMW SSD Creator Ncsexpert (New Tool) scorpium59 561 41,098 Today, 05:59 AM
Last Post: BSPPisz
  GenEsys Creator (New Tool FA ESYS) scorpium59 419 31,302 22-05-2024, 06:43 AM
Last Post: alsamaraee
XZBMW BMW MD1/MG1 ISN Extractor from EEPROM Dump Czozen 37 8,173 22-05-2024, 04:22 AM
Last Post: ultimate
ZBentley Tool to use to cut leather dashboard for hud retrofit Fx82 3 317 19-05-2024, 15:29 PM
Last Post: Fx82
XZBMW Tool for EGS 8HP replacement? AlpinWeiss2k18 40 8,145 24-04-2024, 13:38 PM
Last Post: BigManLT
  Possible to revert SWFL, SWFK and CAFD on DME st1 2 228 12-04-2024, 15:57 PM
Last Post: user_530d
XZBMW Tool for bench read 8hp Garryq 9 1,753 26-03-2024, 09:32 AM
Last Post: skywoker
  TESTO tool with ICOM Rolzs 5 508 17-03-2024, 20:23 PM
Last Post: Vojno
XZBMW Tool for OBD read / write ZF 8hp TIGHTFIN 7 845 10-03-2024, 07:46 AM
Last Post: syrus
  Engineering Tool mertdavid 2 690 09-03-2024, 17:24 PM
Last Post: pshoey

Forum Jump:


Users browsing this thread:
1 Guest(s)

Return to TopReturn to Content