E90Post
 


The Tire Rack
 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Technical Forums > ConnectedDrive / I-Drive / Navigation Related Discussion > Cheap and easy 1b file from CIC



Reply
 
Thread Tools Search this Thread
      04-10-2017, 02:26 PM   #199
vespa
First Lieutenant
211
Rep
245
Posts

Drives: 2011 335i
Join Date: Dec 2014
Location: Thousand Oaks

iTrader: (0)

lolkid, your car should have ethernet, you just need to get on the same subnet with it somehow. One way that should work (though I haven't tried) is to connect the car and computer to a router. The router needn't be connected to anything else and it should automatically assign similar addresses to both the car and computer (after rebooting CIC). Most routers will tell you what addresses are connected from the admin console but otherwise you can hunt around by pinging addresses similar to your PC's.
Appreciate 0
      04-10-2017, 03:02 PM   #200
thelolkid
New Member
2
Rep
5
Posts

Drives: Z4 (E89) 23i 2009
Join Date: Apr 2017
Location: UK

iTrader: (0)

I got it working!

I did the following:

1. Set my laptop's wired connection IP to 192.168.0.1; subnet mask as 255.255.255.0 and default gateway 192.168.0.1. Left DNS blank.
2. Opened Tftpd64 application and did the following:

* Went to DCHP tab
* Set IP pool start address to: 192.168.0.2
* Set size of pool to: 10
* Set default router to: 192.168.0.1
* Set mask to: 255.255.255.0
* Pressed "OK" button
* Selected 192.168.0.1 (ethernet connection) from the "Server interfaces" dropdown

3. I then connected the ethernet to ODB2 cable to the car and started the car engine.
4. I pressed and held down the radio power/volume button for 30 seconds
5. The iDrive screen restarted
6. I then noticed that the tftp32 application indicated that it had assigned 192.168.0.2 and 192.168.0.3
7. I visited ftp://192.168.0.2/ in my web browser and was promoted for a username and password
8. I entered "root" and "Hm83stN)" and logged in successfully.
9. I then downloaded the file in question.

I'm now about to try getting the part I need using a hex editor. Will let you know how I get on.
Appreciate 1
Roch M4424.00
      04-13-2017, 03:08 PM   #201
thelolkid
New Member
2
Rep
5
Posts

Drives: Z4 (E89) 23i 2009
Join Date: Apr 2017
Location: UK

iTrader: (0)

I have now successfully updated my maps to 2017-1 EUROPE WEST PREMIUM. Thanks for all the help!

I completed the following steps:

1. Opened "generalPersistencyData_DiagnosticSWTControlle r" file in HxD Hex Editor
2. In HxD Hex Editor, did a search for "01 01 00 1B" (datatype: hex)
3. This should find the value starting at the 27E offset.
4. Highlighted and deleted everything before the 01 01 00 1B point.
5. Scroll down to line 130 and delete the last block (last 2 characters) of that line and everything after it.
6. Save the file as something new e.g. "fsc.fsc"
7. Right clicked on the new file and selected properties and checked that it was exactly 319 bytes.
8. Opened Command Prompt and ran:

"fsc.exe fsc.fsc 0x28 0x29"

9. This gave me a generated FSC code which I noted down and ran in the car - which worked!

Note: When I first tried it, I thought that I had to base64 covert the file after step #6, but this is not the case. The file can be used directly in "fsc.exe".
Appreciate 0
      04-14-2017, 05:09 PM   #202
90c4
Second Lieutenant
60
Rep
299
Posts

Drives: 2009 335i xdrive coupe
Join Date: Dec 2014
Location: Boston

iTrader: (0)

Instead of messing around with IP addresses, I simply plugged my ENET cable into my router, then typed the IP address (which I could see in my router's admin panel) into my browser and navigated to the file. Didn't even ask me for a password and the FSC worked. Great post!
Appreciate 0
      04-18-2017, 11:02 AM   #203
thelolkid
New Member
2
Rep
5
Posts

Drives: Z4 (E89) 23i 2009
Join Date: Apr 2017
Location: UK

iTrader: (0)

Quote:
Originally Posted by 90c4 View Post
Instead of messing around with IP addresses, I simply plugged my ENET cable into my router, then typed the IP address (which I could see in my router's admin panel) into my browser and navigated to the file. Didn't even ask me for a password and the FSC worked. Great post!
While the router approach is certainly a good one, many people will face an issue attempting to power a hardware router within reach of the car's OBD2->ENET cable.

For many who park their car on the street far from a power socket, using software to make your (battery powered) laptop function as a router is the best viable option.
Appreciate 0
      04-18-2017, 02:34 PM   #204
thomasx
New Member
7
Rep
9
Posts

Drives: E91
Join Date: Apr 2017
Location: Europe

iTrader: (0)

E9X CIC FTP connection refused

I have a 03/2009 E91 with CIC. I want to get the 1b file.

My CIC is under 10.250.89.2, successful ping, my laptop is 10.250.89.1.

Browser (both IE and firefox) claim page could not be opened.

Via Telnet (port 23) I was able to login with root/cic0803, but telnet is not able to copy files from the car to the local computer.

Setting up a DHCP server also works fine, the CIC fetches an IP address, the rest is the same: connection refused.

I discovered with a port scan that in any of the cases the CIC is not listening at port 21. "Connection refused" is a standard answer if a device is not listening at a particular port.

Also I have tried different IP addresses, these were: 160.48.199.98 (PC) & 192.48.199.99 (CIC) and 169.254.199.98 (PC) & 169.254.199.99 (CIC), which both don't work.

10.250.89.1 (PC) 10.250.89.2 (CIC) works, but CIC does not listen at port 21.

Does anyone know how to start the ftp service via telnet? I am able to call the program "ftpd" on my car, can somebody provide a command calling ftpd that makes me able to logon via ftp?

Thanks a lot for any help!

Last edited by thomasx; 04-21-2017 at 07:57 AM.. Reason: update
Appreciate 0
      04-19-2017, 01:57 AM   #205
Xirok
Registered
Netherlands
0
Rep
4
Posts

Drives: 2010 E90 318D
Join Date: Jun 2016
Location: NL

iTrader: (0)

Quote:
Originally Posted by iamjamen View Post
Thanks to the OP for the contributions. Unfortunately, I am an idiot and can't complete the process.

When I type "fsc a.hex 0x2D 0xFF > code.txt" into the C: prompt of the directory that has my 319 byte "a.hex" file and fsc.exe a "code.txt" file is never created. A command window quickly flashes but no file is created. I am using Windows XP SP3 Professional.

This is for an '09 e90 CIC equipped that I want to update with 2017-1 North America Premium maps.

Any idea what is wrong? Why doesn't it create the code.txt file?

Thanks in advance to whomever can help.

Attachment 1545836
I have the exact same problem.
The only difference is I've tried it on Windows 10 64bit and on Windows 7 32bit. On both operating systems I'm not getting a code.txt file.
I only see the window flashing quickly (which looks like a trojan )
Appreciate 0
      04-19-2017, 10:49 AM   #206
vespa
First Lieutenant
211
Rep
245
Posts

Drives: 2011 335i
Join Date: Dec 2014
Location: Thousand Oaks

iTrader: (0)

If you guys are seeing the error "Version after create () = 0xD1" your 1b file needs a little more work as described in the OP.
Appreciate 0
      04-19-2017, 08:32 PM   #207
vespa
First Lieutenant
211
Rep
245
Posts

Drives: 2011 335i
Join Date: Dec 2014
Location: Thousand Oaks

iTrader: (0)

Quote:
Originally Posted by thomasx View Post
My CIC is under 10.250.89.2, successful ping,
Browser (both IE and firefox) claim page could not be opened...
Are you typing ftp:// in front of the address? Are you entering 89.2 as the default gateway and disabling any other network connections? Maybe you should try a dedicated FTP program.
Appreciate 0
      04-21-2017, 07:58 AM   #208
thomasx
New Member
7
Rep
9
Posts

Drives: E91
Join Date: Apr 2017
Location: Europe

iTrader: (0)

Quote:
Originally Posted by vespa View Post
Are you typing ftp:// in front of the address? Are you entering 89.2 as the default gateway and disabling any other network connections? Maybe you should try a dedicated FTP program.
Yes, I've tried all that. I was working with FileZilla, think this is a dedicated ftp program. Thanks for your help!
Appreciate 0
      04-22-2017, 03:13 PM   #209
vespa
First Lieutenant
211
Rep
245
Posts

Drives: 2011 335i
Join Date: Dec 2014
Location: Thousand Oaks

iTrader: (0)

I don't know Thomas, maybe the address you're connecting to is a different port that doesn't support file transfers. Try one of the methods above to force the CIC to the address of your choosing and see if that lets you connect.
Appreciate 0
      05-11-2017, 09:38 PM   #210
6ixSpd
Save the manuals!
6ixSpd's Avatar
5997
Rep
6,728
Posts

Drives: '16 M3, '23 718 Spyder
Join Date: Feb 2016
Location: 416

iTrader: (4)

I've been using this method to make FSC codes for years but now it's driving me nuts.

I downloaded the files in the FSC Generator link on the first page and use FSC.exe from the CIC folder, but whatever code I generate from the hex file is deemed invalid for the CIC. I've attached the a.hex file (and it shows the correct last 7 digits of the VIN of this 2012 X1), can someone take a look and let me know what is going on?

In a second instance, it doesn't prompt me for a log-in when I connect on my GF's 2010 335i. I download the SWT file, trim it, save it, but the VIN shows up as 1234567 instead of the actual VIN. Thoughts?
Attached Files
File Type: txt X1 a.hex.txt (319 Bytes, 181 views)
__________________
'16 M3 | '23 718 Spyder


Past: E92 M3, F87 M2, E39 M5, etc
Appreciate 0
      05-12-2017, 07:05 PM   #211
vespa
First Lieutenant
211
Rep
245
Posts

Drives: 2011 335i
Join Date: Dec 2014
Location: Thousand Oaks

iTrader: (0)

For the first issue where the VIN is correct and CIC is not script-hacked but an invalid code is generated, see options 9a and/or 11a in the OP.

For the second issue try a different browser. Sometimes the file gets completely converted into something else that says "BMW" and looks pretty good but somehow lists the VIN as "1234567" and contains no useful information.
Appreciate 0
      05-14-2017, 03:52 AM   #212
Pierre26
Private First Class
20
Rep
105
Posts

Drives: 2009-335D Pack M
Join Date: Jun 2014
Location: France

iTrader: (0)

Quote:
Originally Posted by 6ixSpd View Post
I've been using this method to make FSC codes for years but now it's driving me nuts.

I downloaded the files in the FSC Generator link on the first page and use FSC.exe from the CIC folder, but whatever code I generate from the hex file is deemed invalid for the CIC. I've attached the a.hex file (and it shows the correct last 7 digits of the VIN of this 2012 X1), can someone take a look and let me know what is going on?

In a second instance, it doesn't prompt me for a log-in when I connect on my GF's 2010 335i. I download the SWT file, trim it, save it, but the VIN shows up as 1234567 instead of the actual VIN. Thoughts?
Just for the first problem you didn't cut the file from the right place !!, beginning with 01 01 20 1b when this must be 00
SO retry finding the right place with 01 01 00 1b if I remember correctly this is the first one
IF this is the usual 1b length (319 bytes) you must see just before that all these data: 1B 00 01 3F 01 00 00 01 01 1B
This means 013F length in Hex or 139 in decimal, the length is repeated an the end of the data.
Some have 42 01 and means that the length is 322 bytes.
I think you have the 319 one as you reached to have your Fsc before, so verify the right cut.
If you don't want a new asked Fsc for the next map just put FF in the index.
Sample of a Fsc.bat script where 2D is for North America and FF LifeTime index and where all yours Files are in C:\EC-APPS\ (location without any space )
Code:
ECHO OFF
CLS
IF NOT EXIST fsc.exe ECHO File fsc.exe NOT FOUND  !
IF NOT EXIST a.hex ECHO a.hex does NOT EXIST !
C:\EC-APPS\Fsc.exe a.hex 0x2D 0xFF > Code.txt
IF %ERRORLEVEL% EQU 0 ECHO File code.txt was created successfully!
PAUSE

Last edited by Pierre26; 05-20-2017 at 06:04 AM..
Appreciate 0
      05-22-2017, 12:03 PM   #213
335sss
Private First Class
9
Rep
159
Posts

Drives: rip-10 335 e90/current-09 e92
Join Date: Dec 2013
Location: Chicago

iTrader: (1)

Anyone offer this update in chicago/west suburbs. I'll pay you
Appreciate 0
      05-24-2017, 12:05 PM   #214
6ixSpd
Save the manuals!
6ixSpd's Avatar
5997
Rep
6,728
Posts

Drives: '16 M3, '23 718 Spyder
Join Date: Feb 2016
Location: 416

iTrader: (4)

Quote:
Originally Posted by Pierre26 View Post
Just for the first problem you didn't cut the file from the right place !!, beginning with 01 01 20 1b when this must be 00
SO retry finding the right place with 01 01 00 1b if I remember correctly this is the first one
IF this is the usual 1b length (319 bytes) you must see just before that all these data: 1B 00 01 3F 01 00 00 01 01 1B
This means 013F length in Hex or 139 in decimal, the length is repeated an the end of the data.
Some have 42 01 and means that the length is 322 bytes.
I think you have the 319 one as you reached to have your Fsc before, so verify the right cut.
If you don't want a new asked Fsc for the next map just put FF in the index.
Sample of a Fsc.bat script where 2D is for North America and FF LifeTime index and where all yours Files are in C:\EC-APPS\ (location without any space )
Code:
ECHO OFF
CLS
IF NOT EXIST fsc.exe ECHO File fsc.exe NOT FOUND  !
IF NOT EXIST a.hex ECHO a.hex does NOT EXIST !
C:\EC-APPS\Fsc.exe a.hex 0x2D 0xFF > Code.txt
IF %ERRORLEVEL% EQU 0 ECHO File code.txt was created successfully!
PAUSE
I have attached the original SWT file in this post. I actually did cut it at 01 01 00 1B so I'm not sure where I made the mistake? If you could have a look that would be fantastic
Attached Files
File Type: txt X1 generalPersistencyData_DiagnosticSWTController.txt (8.1 KB, 165 views)
__________________
'16 M3 | '23 718 Spyder


Past: E92 M3, F87 M2, E39 M5, etc
Appreciate 0
      05-29-2017, 11:32 AM   #215
Pierre26
Private First Class
20
Rep
105
Posts

Drives: 2009-335D Pack M
Join Date: Jun 2014
Location: France

iTrader: (0)

Sorry very busy, well I tried your file but this isn't the original uncutted one ! (mine is 14.222 bytes = 13,8Ko) I did once again the procedure cutting from the first ''01 01 00 1B'' met (mine is repeated 5 times) and then cutting the end.
When I use your file searching I only have one time the data ''01 01 00 1B''
Then Fsc creating give me the known error Fsc after create xD01.

So retry using a dedicated Ftp client (eg: File Zilla) download it in mnt/HBperistence original name is: ''generalPersistencyData_DiagnosticSWTController''
Do nothing with it except file .txt extension to Upload (or make a backup before working on it).
PS: your file is 319 Bytes, you have the usual 3F 01 data before.

You can delete the last one posted, will give you my mail in PM.
Appreciate 0
      05-29-2017, 12:39 PM   #216
vespa
First Lieutenant
211
Rep
245
Posts

Drives: 2011 335i
Join Date: Dec 2014
Location: Thousand Oaks

iTrader: (0)

Quote:
Originally Posted by 6ixSpd View Post
I have attached the original SWT file in this post. I actually did cut it at 01 01 00 1B so I'm not sure where I made the mistake? If you could have a look that would be fantastic
Seemed to work fine for me. See attached.
Attached Files
File Type: txt X1.txt (49 Bytes, 152 views)
File Type: txt X1.1b.txt (319 Bytes, 138 views)
Appreciate 1
6ixSpd5996.50
      05-29-2017, 12:40 PM   #217
6ixSpd
Save the manuals!
6ixSpd's Avatar
5997
Rep
6,728
Posts

Drives: '16 M3, '23 718 Spyder
Join Date: Feb 2016
Location: 416

iTrader: (4)

Quote:
Originally Posted by vespa View Post
Quote:
Originally Posted by 6ixSpd View Post
I have attached the original SWT file in this post. I actually did cut it at 01 01 00 1B so I'm not sure where I made the mistake? If you could have a look that would be fantastic
Seemed to work fine for me. See attached.
Yup I realized the new file I obtained from the car and attached actually worked. The old one must've had some error :/
__________________
'16 M3 | '23 718 Spyder


Past: E92 M3, F87 M2, E39 M5, etc
Appreciate 0
      05-29-2017, 02:07 PM   #218
Built4Sin
TL/DR
Built4Sin's Avatar
United_States
57
Rep
234
Posts

Drives: 2009 335d Sport
Join Date: Oct 2012
Location: Arizona

iTrader: (0)

Garage List
2009 BMW 335D  [9.00]
2014 Audi Q7 TDI  [0.00]
Could somebody take a look at my 1B. I trimmed down the original to 319 bytes, and have fed it into fsc.exe multiple times. But the copy file FSC keeps giving me invalid codes using 0x2D 0x29 or 0xFF.

I tried a few different years just to make sure the lifetime FF wasn't messing it up.

Any help would be appreciated!
Attached Files
File Type: txt a.hex.txt (319 Bytes, 108 views)
File Type: txt generalPersistencyData_DiagnosticSWTController.txt (7.9 KB, 119 views)
Appreciate 0
      05-29-2017, 04:07 PM   #219
StevenY.
///M
StevenY.'s Avatar
United_States
227
Rep
2,248
Posts

Drives: 10' SG e92 335i
Join Date: Aug 2012
Location: NYC

iTrader: (1)

Can anyone PM me where I can download maps nowadays? Used to torrent maps from the vendor that sells FSC codes but it seems like they are not a vendor here anymore. My apologies if I am throwing the thread off topic, thanks!
__________________
Appreciate 0
      05-29-2017, 10:42 PM   #220
Pierre26
Private First Class
20
Rep
105
Posts

Drives: 2009-335D Pack M
Join Date: Jun 2014
Location: France

iTrader: (0)

Quote:
Originally Posted by vespa View Post
Seemed to work fine for me. See attached.
Oups you 're right, didn't take care but when I searched with HxD then delete, I also cutted 1B at the beginning ...
Appreciate 0
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 09:17 AM.




e90post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST