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
14-11-2023, 07:31 AM,
Post: #11
RE: SWFL Exctractor Tool
(13-11-2023, 11:05 AM)megalo84 Wrote:  
(21-07-2023, 18:07 PM)bogdantogo Wrote:  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!

Thanks!

exist a command that allows you to compress the extracted file again?

Unfortunately not. Compression may be possible but signing of the binary blob is the problem. If something like that would be available would be a major breakthrough enabling tuning and patching through E-SYS.
Quote this message in a reply
14-11-2023, 19:35 PM,
Post: #12
RE: SWFL Extractor Tool
it works with swfk?

[Image: GIF-Bandiera-Italiana.gif]
Quote this message in a reply
14-11-2023, 20:13 PM,
Post: #13
RE: SWFL Exctractor Tool
Quote:Unfortunately not. Compression may be possible but signing of the binary blob is the problem. If something like that would be available would be a major breakthrough enabling tuning and patching through E-SYS.

Seems that user Mr ben1978 can do
Attached video


Attached Files
info.txt
File Type: .txt
Downloaded: 142 times
Size: 50 bytes

Quote this message in a reply
14-11-2023, 22:58 PM,
Post: #14
RE: SWFL Exctractor Tool
(14-11-2023, 20:13 PM)jaramillo Wrote:  
Quote:Unfortunately not. Compression may be possible but signing of the binary blob is the problem. If something like that would be available would be a major breakthrough enabling tuning and patching through E-SYS.

Seems that user Mr ben1978 can do
Attached video

exactly... that's what I saw too.
Quote this message in a reply


Possibly Related Threads…
Thread Author Replies Views Last Post
XZBMW SSD Creator Ncsexpert (New Tool) scorpium59 561 41,107 Yesterday, 05:59 AM
Last Post: BSPPisz
  GenEsys Creator (New Tool FA ESYS) scorpium59 419 31,305 22-05-2024, 06:43 AM
Last Post: alsamaraee
XZBMW BMW MD1/MG1 ISN Extractor from EEPROM Dump Czozen 37 8,178 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,754 26-03-2024, 09:32 AM
Last Post: skywoker
  TESTO tool with ICOM Rolzs 5 509 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:
2 Guest(s)

Return to TopReturn to Content