E90Post
 


Coby Wheel
 
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
      05-17-2018, 07:33 PM   #287
cst1077
Registered
0
Rep
2
Posts

Drives: BMW 528i xDRIVER
Join Date: May 2015
Location: NY

iTrader: (0)

Is it possible to apply nbt head unit?
Thanks.
Appreciate 0
      05-18-2018, 08:14 AM   #288
lnxguy
Lieutenant Colonel
353
Rep
1,715
Posts

Drives: 2009 335D
Join Date: Jun 2016
Location: Barrie

iTrader: (1)

Quote:
Originally Posted by cst1077 View Post
Is it possible to apply nbt head unit?
Thanks.
No.
__________________
'09 335D
Appreciate 0
      05-27-2018, 04:38 AM   #289
HelloHello
Registered
0
Rep
2
Posts

Drives: BMW
Join Date: May 2018
Location: NL

iTrader: (0)

Angry cannot access F11 CIC via Enet..

Hello everyone, I was trying to download the 1b file from my 2013 F11 using the enet cable and the method described in Vespa's post, but was unsuccessful. I think my NAV unit is a small size screen business version (Map is MOVE 2017-1).

I connected my win7 laptop (anti-virus and firewall disabled) to the OBD2 socket with the Enet cable, switched on the car, assigned the IP address to network adapter (IPV4), typed in the ftp address in firefox browser, then got a timeout error message.

I used the command line to ping the CIC address and didn't receive any ping back.

Can someone suggest how to fix this?

Many thanks!

[QUOTE=vespa;18314028]Many thanks to Rotary Rasp and many others for developing these tools and techniques, I just combined several approaches to find a 12 step program. Here goes:

1. Get a ENET cable (yes, even though e9x doesn't normally use ENET). These typically end up costing about $5 by the time you pay for shipping and everything, but you can certainly save some money by making your own. Search eBay for "bmw enet", see this example for pre-made cables, or make your own with these instructions.
2. Set your PC/Android/Mac ethernet port to IP: 169.254.199.98, subnet: 255.255.255.0, Gateway: 169.254.199.99, any DNS
3. Connect the cable and turn on the car (acc mode is fine)
4. In your web browser go to: ftp://169.254.199.99
5. It should prompt for a login, user name is "root", password is either "Hm83stN)" or "cic0803"
6. Click the link to go up a directory a couple of times then browse to /HBpersistence/normal and download the file "generalPersistencyData_DiagnosticSWTControlle r"
7. Disconnect from the car and get that file into Windows
8. Open the file in a hex editor like Hxd http://mh-nexus.de/downloads/HxDSetupEN.zip
9. Press CTRL-F to search, change the search mode to "Hex" and then search for "01 01 00 1B”. Note that the data just before this should read "3F 01 00 00", otherwise see 9a below.
10. Highlight and delete everything prior to "01 01 00 1B”
11. Go to line (offset) 130 and delete the last block and everything after. The data to be deleted should begin with "3F 01", otherwise see 11a below.
12. Save the file as "a.hex", which should be exactly 319 bytes


Alternative options:
1a. Use a very particular USB-Ethernet adapter per a thread on the other board titled "showthread.php?11728-Get-1B-file-from-Exx-CIC-WITHOUT-ICOM" In this case the address settings may be:
Static IP:160.48.199.98 Mask:255.255.255.128 Gateway/CIC IP:160.48.199.99
or: Static IP:10.250.89.1 Mask:255.255.0.0 Gateway/CIC IP:10.250.89.2
2a. Use tftp32 to turn your computer into the host and force the CIC to the IP address of your choosing. Set your PC to a static IP address (e.g. 192.168.10.10/255.255.255.0) Launch TFTD32 and bind it to your wired adapter. Under the options tab, set the start address to 192.168.10.11 with at least 2 for the pool size. Reboot your CIC by pressing the VOLUME button for about 30 seconds. The CIC will now be accessible at the address you specified, 192.168.10.11 in this case. See post #200 for more details.
4a. Use tftp32, WinSCP, or similar to make the FTP connection. You can check the "anonymous" box to login without a password. In this case the file will be called "data03" and located at “/mnt/hbdebug/”
9a. Sometimes the 1b file is not 319 bytes. The data that you cut in step 10 should end with "...01 3F 01 00 00" where "01 3F" is big endian hex for 319. If you have something different you need to translate it and cut the file accordingly. Note that most online hex-decimal converters expect little endian so to translate 01 3F, enter 3F01.
11a. Sometimes the download process inserts extra carriage returns (hex "0D") into the file and fsc.exe will give an error "Version after create () = 0xD1". It seems normal files have only one instance of "0D" near the end so try deleting any earlier instances until you get to 319 bytes. See more advanced detail in the bmw coding thread "get 1b file from Exx CIC without ICOM" starting at post #296.[/QUOTE]
Appreciate 0
      05-30-2018, 04:58 PM   #290
athlon_ati
New Member
0
Rep
7
Posts

Drives: 2009, F07 530D GT
Join Date: May 2018
Location: Lisbon, Portugal

iTrader: (0)

Why don't you use SWID_Reader since you have ENET cable? I think that software is more convenient.


Quote:
Originally Posted by HelloHello View Post
Hello everyone, I was trying to download the 1b file from my 2013 F11 using the enet cable and the method described in Vespa's post, but was unsuccessful. I think my NAV unit is a small size screen business version (Map is MOVE 2017-1).

I connected my win7 laptop (anti-virus and firewall disabled) to the OBD2 socket with the Enet cable, switched on the car, assigned the IP address to network adapter (IPV4), typed in the ftp address in firefox browser, then got a timeout error message.

I used the command line to ping the CIC address and didn't receive any ping back.

Can someone suggest how to fix this?

Many thanks!

[QUOTE=vespa;18314028]Many thanks to Rotary Rasp and many others for developing these tools and techniques, I just combined several approaches to find a 12 step program. Here goes:

1. Get a ENET cable (yes, even though e9x doesn't normally use ENET). These typically end up costing about $5 by the time you pay for shipping and everything, but you can certainly save some money by making your own. Search eBay for "bmw enet", see this example for pre-made cables, or make your own with these instructions.
2. Set your PC/Android/Mac ethernet port to IP: 169.254.199.98, subnet: 255.255.255.0, Gateway: 169.254.199.99, any DNS
3. Connect the cable and turn on the car (acc mode is fine)
4. In your web browser go to: ftp://169.254.199.99
5. It should prompt for a login, user name is "root", password is either "Hm83stN)" or "cic0803"
6. Click the link to go up a directory a couple of times then browse to /HBpersistence/normal and download the file "generalPersistencyData_DiagnosticSWTControlle r"
7. Disconnect from the car and get that file into Windows
8. Open the file in a hex editor like Hxd http://mh-nexus.de/downloads/HxDSetupEN.zip
9. Press CTRL-F to search, change the search mode to "Hex" and then search for "01 01 00 1B”. Note that the data just before this should read "3F 01 00 00", otherwise see 9a below.
10. Highlight and delete everything prior to "01 01 00 1B”
11. Go to line (offset) 130 and delete the last block and everything after. The data to be deleted should begin with "3F 01", otherwise see 11a below.
12. Save the file as "a.hex", which should be exactly 319 bytes


Alternative options:
1a. Use a very particular USB-Ethernet adapter per a thread on the other board titled "showthread.php?11728-Get-1B-file-from-Exx-CIC-WITHOUT-ICOM" In this case the address settings may be:
Static IP:160.48.199.98 Mask:255.255.255.128 Gateway/CIC IP:160.48.199.99
or: Static IP:10.250.89.1 Mask:255.255.0.0 Gateway/CIC IP:10.250.89.2
2a. Use tftp32 to turn your computer into the host and force the CIC to the IP address of your choosing. Set your PC to a static IP address (e.g. 192.168.10.10/255.255.255.0) Launch TFTD32 and bind it to your wired adapter. Under the options tab, set the start address to 192.168.10.11 with at least 2 for the pool size. Reboot your CIC by pressing the VOLUME button for about 30 seconds. The CIC will now be accessible at the address you specified, 192.168.10.11 in this case. See post #200 for more details.
4a. Use tftp32, WinSCP, or similar to make the FTP connection. You can check the "anonymous" box to login without a password. In this case the file will be called "data03" and located at “/mnt/hbdebug/”
9a. Sometimes the 1b file is not 319 bytes. The data that you cut in step 10 should end with "...01 3F 01 00 00" where "01 3F" is big endian hex for 319. If you have something different you need to translate it and cut the file accordingly. Note that most online hex-decimal converters expect little endian so to translate 01 3F, enter 3F01.
11a. Sometimes the download process inserts extra carriage returns (hex "0D") into the file and fsc.exe will give an error "Version after create () = 0xD1". It seems normal files have only one instance of "0D" near the end so try deleting any earlier instances until you get to 319 bytes. See more advanced detail in the bmw coding thread "get 1b file from Exx CIC without ICOM" starting at post #296.
[/QUOTE]
Appreciate 0
      06-11-2018, 02:10 PM   #291
Ibo24
New BMW owner
Ibo24's Avatar
Belgium
137
Rep
621
Posts

Drives: BMW 316d, BMW F40 116d
Join Date: Jan 2012
Location: Belgium

iTrader: (0)

Garage List
Hi all,

Small question.

After using TFTPD64, linking the CIC to IP 192.168.0.1 I can access the CIC but when I want to download the SWT file, I always get Access Denied.

Any help on this ... ?
Appreciate 0
      06-24-2018, 05:58 AM   #292
Najt
Second Lieutenant
No_Country
5
Rep
260
Posts

Drives: e92 325D 2008
Join Date: Jan 2010
Location: Europe

iTrader: (0)

hmm. quick question..

I have succesfully got 1b file from e92 335i 2008 via enet cable, with the 169.254.199.99 IP settings...

but when I have tried again with different car ( e90 325i 2008), I was not able to ping the car. I have also tried second IP option: 160.48.199.99

still not possible to ping car or connect via ftp. Is there any way when I am connected with the enet cable , how to determine, which MAC addr.or IP address are in the network? to figure out which IP shall I set?
Appreciate 0
      06-24-2018, 05:09 PM   #293
opjose
Major
opjose's Avatar
242
Rep
1,353
Posts

Drives: 335xi
Join Date: May 2016
Location: Md

iTrader: (0)

Quote:
Originally Posted by Najt View Post
hmm. quick question..

I have succesfully got 1b file from e92 335i 2008 via enet cable, with the 169.254.199.99 IP settings...

but when I have tried again with different car ( e90 325i 2008), I was not able to ping the car. I have also tried second IP option: 160.48.199.99

still not possible to ping car or connect via ftp. Is there any way when I am connected with the enet cable , how to determine, which MAC addr.or IP address are in the network? to figure out which IP shall I set?
You would need a PC with a network interface set to promiscuous mode.

Then you could use a sniffer program to watch for packets on the car's network.

The sniffer program can capture a few packets from which you can get the subnet IP addresses.

With the subnet IP's any IP scanner can then search for devices on the same subnet including the car's CIC.
Appreciate 0
      06-25-2018, 04:11 PM   #294
Najt
Second Lieutenant
No_Country
5
Rep
260
Posts

Drives: e92 325D 2008
Join Date: Jan 2010
Location: Europe

iTrader: (0)

hm.. the only thing which I understand is that I need wireshark

- I have tried arp -a on F11 - where I knew correct IP of the car, but in the list, the IP was not there neither
Appreciate 0
      06-25-2018, 07:06 PM   #295
opjose
Major
opjose's Avatar
242
Rep
1,353
Posts

Drives: 335xi
Join Date: May 2016
Location: Md

iTrader: (0)

Quote:
Originally Posted by Najt View Post
hm.. the only thing which I understand is that I need wireshark

- I have tried arp -a on F11 - where I knew correct IP of the car, but in the list, the IP was not there neither
If you install WireShark under Linux, it will offer to switch any found network interface into promiscuous mode.

That means the network interface will read and log any packets that are flying by, even those not destined for it.

Wireshark can be used to log those packets and look for reoccurring IP's.

Once you have a few consistent IP addresses you can set the interface to use the same subnet (aka "Network) and any program that can poll and search for devices on the same network, should return the addresses of the car's modules.

If I recall correctly ARP requires some packet exchanges before it can return the mac & IP addresses of the destination packets. Since ARP is only looking for packets on the same subnet it will not return a valid result until you have your computer exchanging packets with the car.

I've read on other threads that people have had success by providing DHCP to the car over ethernet. This requires installing some sort of DHCP service on your PC... I believe they used TFTP and all of the required components to act as a mini-DHCP service. I did not need to resort to this when I tried getting my 1B file originally.
Appreciate 0
      06-27-2018, 10:04 AM   #296
Najt
Second Lieutenant
No_Country
5
Rep
260
Posts

Drives: e92 325D 2008
Join Date: Jan 2010
Location: Europe

iTrader: (0)

hm. I am not user of LInux. only Win. I am not neither familiar with wireshark. so I will need some easy step by step tutorial , how to find out the IP address of the CIC
Appreciate 0
      06-28-2018, 07:18 AM   #297
m_thompson
Major
m_thompson's Avatar
United_States
133
Rep
1,416
Posts

Drives: M-Sport 128i, 328xi, 3.0CS
Join Date: Jun 2008
Location: New England, USA

iTrader: (0)

Garage List
2009 128i  [0.00]
1972 3.0CS  [10.00]
Quote:
Originally Posted by Najt View Post
hm. I am not user of LInux. only Win. I am not neither familiar with wireshark. so I will need some easy step by step tutorial , how to find out the IP address of the CIC
Wireshark works fine with Windows.
__________________
'09 128i - Black Sapphire Metallic\Coral Red\Glacier Silver\N51 DISA\6MT\Navigation\Premium\M-Sport\Heated seats\Xenon\Headlights\iPod\Smartphone\Euro Delivery
Appreciate 0
      06-28-2018, 10:08 AM   #298
lnxguy
Lieutenant Colonel
353
Rep
1,715
Posts

Drives: 2009 335D
Join Date: Jun 2016
Location: Barrie

iTrader: (1)

This method is outdated... Use this instead.

http://www.e90post.com/forums/showthread.php?t=1461515
__________________
'09 335D
Appreciate 0
      07-03-2018, 01:16 PM   #299
Najt
Second Lieutenant
No_Country
5
Rep
260
Posts

Drives: e92 325D 2008
Join Date: Jan 2010
Location: Europe

iTrader: (0)

if the usb script will work for me.. I will not bother here
Appreciate 0
      10-30-2018, 08:52 PM   #300
B-Moose
Private First Class
B-Moose's Avatar
Australia
2
Rep
100
Posts

Drives: 2008 BMW 135i
Join Date: Dec 2010
Location: Melbourne, Australia

iTrader: (0)

Need some help please guys, I'm at my wits end!

Have gone to the effort of getting the ENET cable and following the instructions, successfully FTPd in and got the required generalpersistencydata file (attached). But just can't work out how to get my 1b hex file from that, the hex values in my file don't match the required as per the instructions, and it fails to generate an fsc code (file corrupt error). The USB trick method generates the same file.

If anyone can manage to generate the correct 1b or code from that file, would be greatly appreciated!
Thanks
Attached Files
File Type: zip generalPersistencyData_DiagnosticSWTController.zip (2.6 KB, 112 views)
Appreciate 0
      10-31-2018, 08:33 PM   #301
Jagaer
Private First Class
Canada
430
Rep
170
Posts

Drives: 2011 E91 328xi 6MT
Join Date: Aug 2017
Location: Kingston, Ont

iTrader: (0)

@B-Moose

Your GeneralPersistencyFile was corrupt, with extra bytes inserted into the file.

Your repaired FSC file, is as att.
Attached Files
File Type: zip B-Moose-201003222153_VF20705_001B001.fsc.zip (495 Bytes, 217 views)
Appreciate 1
      11-02-2018, 02:04 AM   #302
B-Moose
Private First Class
B-Moose's Avatar
Australia
2
Rep
100
Posts

Drives: 2008 BMW 135i
Join Date: Dec 2010
Location: Melbourne, Australia

iTrader: (0)

Quote:
Originally Posted by Jagaer View Post
@B-Moose

Your GeneralPersistencyFile was corrupt, with extra bytes inserted into the file.

Your repaired FSC file, is as att.

Thanks so much, you're a legend!
Appreciate 0
      03-10-2019, 12:20 PM   #303
gsl521628
Registered
United_States
0
Rep
4
Posts

Drives: 2010 bmw 335i
Join Date: Mar 2019
Location: Duncan, SC

iTrader: (0)

Jagaer, having the same 1234567 issue pulling the 1b.hex. Can I PM you to get the correct FSC?
Appreciate 0
      05-30-2019, 05:59 AM   #304
David10
Registered
0
Rep
2
Posts

Drives: Bmw E91
Join Date: May 2019
Location: Romania

iTrader: (0)

Hello,
I have a BMW E91 made in 2010/03 with factory Motion 2010 map on it.
The copie_scr.sh script not worked so I used an ENET cable to extract the generalPersistencyData_DiagnosticSWTController file and converted it to a FSC code.
I plugged in the flash drive with the map, the car recognizes the map update USB flash drive, it asks the FSC code, but when I enter it nothing happens, the window not appear where it appears the percentage of installation.
What am I making wrong and what can be the solution?
Thanks in advance!
Appreciate 0
      06-20-2019, 12:24 AM   #305
bcoz
spectator
bcoz's Avatar
Australia
81
Rep
507
Posts

Drives: 330d Sedan
Join Date: Oct 2008
Location: Sydney, Australia

iTrader: (0)

Quote:
Originally Posted by David10 View Post
The copie_scr.sh script not worked so I used an ENET cable to extract the generalPersistencyData_DiagnosticSWTController file and converted it to a FSC code.
How did you generate the FSC code … did you use this CIC/NBT FSC Generator? https://www.e90post.com/forums/showthread.php?t=1453464

If so, attach your 1b file so someone can take a look at it
Appreciate 0
      07-15-2019, 09:54 PM   #306
bcoz
spectator
bcoz's Avatar
Australia
81
Rep
507
Posts

Drives: 330d Sedan
Join Date: Oct 2008
Location: Sydney, Australia

iTrader: (0)

Quote:
Originally Posted by vespa View Post
I just combined several approaches to find a 12 step program. Here goes:
Thanks vespa.

I tried to use the automated method using USB stick (by portalseo): https://www.e90post.com/forums/showthread.php?t=1461515,
but it returned a generic/incorrect VIN of "1234567" due to my car's older production date of 2009-09-25.

More info on the generic/incorrect VIN can be found here: https://www.e90post.com/forums/showp...&postcount=319

So I ended up buying an ENET to OBD2 Connector and followed vespa's method as per this thread.

In case others may find this useful, here's a summary of my experience:
  • In step 2, I left DNS blank.
  • Step 5 didn't prompt me for a username nor password (I used Firefox on Windows 10 1903).
  • In step 6, clicking UP didn't work, so I clicked on the folder names instead (HBpersistence, then Normal).
  • My downloaded 'generalPersistencyData_DiagnosticSWTController' file was 26.0 KB in size (which I think is larger than normal).
  • In step 9, the search for "01 01 00 1B" found 20 hits. The first 13 hits contained a generic/incorrect VIN of "1234567", and the next 7 hits (14th to 20th) contained my correct VIN number (last 7 characters).
  • All seven 1b.hex files that I extracted from the "01 01 00 1B" segments with correct VIN number (14th to 20th) were identical.

I used one of the identical 1b.hex files to generate an FSC Code (Lifetime) using Jagaer's FSC Generator: https://www.e90post.com/forums/showthread.php?t=1453464
and used the FSC code to update my PREMIUM navigation maps.

Last edited by bcoz; 07-15-2019 at 11:20 PM..
Appreciate 0
      12-16-2019, 05:00 AM   #307
neo11
New Member
0
Rep
7
Posts

Drives: BMW 318D E90 2011
Join Date: Dec 2019
Location: france

iTrader: (0)

générating 1b.hex file

Hello, i'm french sorry for my bad english.

I tried to get my own 1b file with usb script, but no way, even after many minutes after navigation ok ok.

I tried with several usb key.


no génération done on my key.
I put on my key, only copie_scr.sh file, after low formated fat32.

I tried with 256mo key, 4go key, 8go key etc....



Have you some solutions to this?



i've got a cic with idrive2, my bmw is a 318d of 15 december 2010 (2011) with gps business with MOTION WEST EUROPE cards inside (version 2011 very old ^^)

thanks for yours great jobs, especialy to jaeger who detailled how to do, and create générator.

Last edited by neo11; 12-16-2019 at 07:09 AM..
Appreciate 0
      12-16-2019, 09:45 AM   #308
opjose
Major
opjose's Avatar
242
Rep
1,353
Posts

Drives: 335xi
Join Date: May 2016
Location: Md

iTrader: (0)

Quote:
Originally Posted by neo11 View Post
Hello, i'm french sorry for my bad english.

I tried to get my own 1b file with usb script, but no way, even after many minutes after navigation ok ok.

I tried with several usb key.


no génération done on my key.
I put on my key, only copie_scr.sh file, after low formated fat32.

I tried with 256mo key, 4go key, 8go key etc....



Have you some solutions to this?



i've got a cic with idrive2, my bmw is a 318d of 15 december 2010 (2011) with gps business with MOTION WEST EUROPE cards inside (version 2011 very old ^^)

thanks for yours great jobs, especialy to jaeger who detailled how to do, and create générator.
The script does not work for MOTION.

It is for CIC.
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 04:29 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