F30POST
F30POST
2012-2015 BMW 3-Series and 4-Series Forum
BMW Garage BMW Meets Register Search Today's Posts Mark Forums Read
BMW 3-Series and 4-Series Forum (F30 / F32) | F30POST > Technical Forums > Navigation, iDrive, Audio, Video, Bluetooth, Phone, Cameras, Electronics > Andream MMI Box - Wireless CarPlay & Android Auto
GetBMWParts
Post Reply
 
Thread Tools
      06-24-2020, 12:36 PM   #2795
Firefly1337
Second Lieutenant
Firefly1337's Avatar
Germany
857
Rep
280
Posts

Drives: G20 M340i
Join Date: Aug 2019
Location: Germany

iTrader: (0)

Quote:
Originally Posted by cossie1 View Post
Run your file again, then recover it with the bimmertech update, you never know it might just take it
I actually tried that and it flashed. But also here I have the 'Invalid key' screen. But I noticed that Bimmertech just displays a black screen as overlay, i.e. you can still click e.g. the Settings icon and it actually works.
But nothing else, though


Name:  IMG_20200624_181259.jpg
Views: 1009
Size:  144.9 KB

Name:  IMG_20200624_181352.jpg
Views: 970
Size:  186.5 KB

Name:  IMG_20200624_181448.jpg
Views: 979
Size:  151.2 KB

Name:  IMG_20200624_181531.jpg
Views: 975
Size:  136.9 KB
//Edit: Just noticed that Bimmertech changes the '20...' in the MCU version to '10...' automatically. Weird.
Appreciate 0
      06-24-2020, 12:40 PM   #2796
muniz_ri
Major
United_States
439
Rep
1,219
Posts

Drives: BMW 320I
Join Date: Mar 2019
Location: Irvine, CA

iTrader: (1)

Quote:
Originally Posted by Firefly1337 View Post
Same here, the last .bin I flashed just turned into a blackscreen.
After recovering I had the 'Invalid key' message even on the official Andream firmware Seems like my .bin erased a bit more than anticipated.

Probably because of this:
Code:
nand erase.chip
nand bad
The original one has
Code:
setenv isp_block_size 0x${nand_erasesize}
nand erase 0 0x8a00000
nand bad
I still have access to Sunplus' original git (not Github, it's privately hosted) and can see the full commit history of the isp.c flash script.
I tried 5 different versions and none of them produce the same output as the original script. There are 2 that come really close and one of them turned my box into a blackscreen. So not that close apparently. ^^
ouch! That sucks.
Appreciate 0
      06-24-2020, 12:47 PM   #2797
cossie1
Captain
United Kingdom
623
Rep
843
Posts

Drives: 2015 F82 M4
Join Date: Nov 2018
Location: UK

iTrader: (0)

Quote:
Originally Posted by Firefly1337 View Post
I actually tried that and it flashed. But also here I have the 'Invalid key' screen. But I noticed that Bimmertech just displays a black screen as overlay, i.e. you can still click e.g. the Settings icon and it actually works.
But nothing else, though


Attachment 2346882

Attachment 2346883

Attachment 2346884

Attachment 2346885
//Edit: Just noticed that Bimmertech changes the '20...' in the MCU version to '10...' automatically. Weird.
That mcu date bug has always been there with bimmertech updates.

Previously when I soft bricked my unit with the later bimmertech updates, I could not get into the settings screen, the unit just would not respond.

Usual message is Invalid Update, so you have changed something
Appreciate 0
      06-24-2020, 12:50 PM   #2798
xDHC
Second Lieutenant
Netherlands
94
Rep
289
Posts

Drives: F20 116i
Join Date: Mar 2019
Location: Europe

iTrader: (0)

Quote:
Originally Posted by Laurens0619 View Post
Bricked or broken software which you can restore with a reboot + usb firmware?
I hope the latter, if it was really bricked you overwritten your uboot partition and can only restore by directly writing the nand using hardware

What i have ready so far you can safely experiment and it will only corrupt but not brick the device. If it was bricked people should be very cautious with the experimental updates
Yeah soft brick, i could restore original andream version.
Appreciate 0
      06-24-2020, 12:53 PM   #2799
xDHC
Second Lieutenant
Netherlands
94
Rep
289
Posts

Drives: F20 116i
Join Date: Mar 2019
Location: Europe

iTrader: (0)

Quote:
Originally Posted by Firefly1337 View Post
I actually tried that and it flashed. But also here I have the 'Invalid key' screen. But I noticed that Bimmertech just displays a black screen as overlay, i.e. you can still click e.g. the Settings icon and it actually works.
But nothing else, though


Attachment 2346882

Attachment 2346883

Attachment 2346884

Attachment 2346885
//Edit: Just noticed that Bimmertech changes the '20...' in the MCU version to '10...' automatically. Weird.
The freelance developer i spoke to said that the bimmertech version writes something to memory and this bit is checked when the devices boots up. If this bit is there it boots normally, if not you get invalid update.

"This latest BIN is justified from another binary pushed into your ARM nand memory. If I remove anything from this BIN will make the device bricked if flashed."

Or something like that at least....
Appreciate 0
      06-24-2020, 01:19 PM   #2800
Unspec
Colonel
Unspec's Avatar
1481
Rep
2,684
Posts

Drives: 2015 BMW 535xi
Join Date: Apr 2019
Location: DMV

iTrader: (1)

Here's to hoping carlinkit can get the fix too
__________________
2015 BMW 535xi
Bootmod3 Stage 2 | ER charge pipe | ER Catted DP | Remus Exhaust | Gplus FMIC | KW V3 | Turner Monoball thrust arm bushings | Wallet regrets
ISTA VM Setup/Tutorial
Appreciate 1
muniz_ri438.50
      06-24-2020, 01:29 PM   #2801
muniz_ri
Major
United_States
439
Rep
1,219
Posts

Drives: BMW 320I
Join Date: Mar 2019
Location: Irvine, CA

iTrader: (1)

Quote:
Originally Posted by xDHC View Post
Quote:
Originally Posted by Firefly1337 View Post
I actually tried that and it flashed. But also here I have the 'Invalid key' screen. But I noticed that Bimmertech just displays a black screen as overlay, i.e. you can still click e.g. the Settings icon and it actually works.
But nothing else, though


Attachment 2346882

Attachment 2346883

Attachment 2346884

Attachment 2346885
//Edit: Just noticed that Bimmertech changes the '20...' in the MCU version to '10...' automatically. Weird.
The freelance developer i spoke to said that the bimmertech version writes something to memory and this bit is checked when the devices boots up. If this bit is there it boots normally, if not you get invalid update.

"This latest BIN is justified from another binary pushed into your ARM nand memory. If I remove anything from this BIN will make the device bricked if flashed."

Or something like that at least....
Did he mention the name of that bin that pushes the code to nand?
Appreciate 0
      06-24-2020, 01:30 PM   #2802
Thormus
New Member
United_States
3
Rep
24
Posts

Drives: 2016 Bmw 328d x-drive m sport
Join Date: Aug 2019
Location: Meridian/ID

iTrader: (0)

Quote:
Originally Posted by Divanovski View Post
Hello guys,
I just signed up on bimmerpost and there are so many useful information about bmws here!

Okay, so I just installed the Andream box. Everything works good except the audio doesn't play on all of the speakers. I don't hear anything on the driver's side speakers. (Only passenger side speakers are working).
When I switch to BMW Idrive, then all of the speakers are working just fine.
Not sure what could be wrong...
I bet I know. Did you shove the un used aux cable somewhere that it could be grounding out? This happened to me and I pulled it out and re packed it. Fixed my issue.
Appreciate 0
      06-24-2020, 02:59 PM   #2803
Firefly1337
Second Lieutenant
Firefly1337's Avatar
Germany
857
Rep
280
Posts

Drives: G20 M340i
Join Date: Aug 2019
Location: Germany

iTrader: (0)

Quote:
Originally Posted by Firefly1337 View Post
Same here, the last .bin I flashed just turned into a blackscreen.
After recovering I had the 'Invalid key' message even on the official Andream firmware Seems like my .bin erased a bit more than anticipated.

Probably because of this:
Code:
nand erase.chip
nand bad
The original one has
Code:
setenv isp_block_size 0x${nand_erasesize}
nand erase 0 0x8a00000
nand bad
That gives me an idea. So clearly my .bin was executed until some point where it didn't work anymore.
We could just add our own script at the beginning and terminate ('exit 0') before anything is written or destroyed.

That way we could dump the whole partitions from nand.
https://www.denx.de/wiki/DULG/UBootCmdGroupNand
Getting all environment variables, 'nand dump' and even 'dd' is available, and then write that to the USB drive for further analysis.
Appreciate 3
cossie1623.00
x-m4n146.50
      06-24-2020, 03:06 PM   #2804
cossie1
Captain
United Kingdom
623
Rep
843
Posts

Drives: 2015 F82 M4
Join Date: Nov 2018
Location: UK

iTrader: (0)

Quote:
Originally Posted by Firefly1337 View Post
That gives me an idea. So clearly my .bin was executed until some point where it didn't work anymore.
We could just add our own script at the beginning and terminate ('exit 0') before anything is written or destroyed.

That way we could dump the whole partitions from nand.
https://www.denx.de/wiki/DULG/UBootCmdGroupNand
Getting all environment variables, 'nand dump' and even 'dd' is available, and then write that to the USB drive for further analysis.
If that works, then we should be able to "clone" another unit to our units.

Thus turning Andream units into Carlinkit or Bimmertech units and vice versa.
Appreciate 1
x-m4n146.50
      06-24-2020, 03:59 PM   #2805
muniz_ri
Major
United_States
439
Rep
1,219
Posts

Drives: BMW 320I
Join Date: Mar 2019
Location: Irvine, CA

iTrader: (1)

Quote:
Originally Posted by Firefly1337 View Post
That gives me an idea. So clearly my .bin was executed until some point where it didn't work anymore.
We could just add our own script at the beginning and terminate ('exit 0') before anything is written or destroyed.

That way we could dump the whole partitions from nand.
https://www.denx.de/wiki/DULG/UBootCmdGroupNand
Getting all environment variables, 'nand dump' and even 'dd' is available, and then write that to the USB drive for further analysis.
I actually thought that you were trying to insert a modded version of the Andream firmware with the corrected dpi value back into your Andream unit. Working with the Bimmertech ispbooot seems to add to the complexity.
Appreciate 0
      06-24-2020, 04:50 PM   #2806
F1ack1979
Registered
0
Rep
1
Posts

Drives: Bmw 640d
Join Date: Jun 2020
Location: Chandlers Ford

iTrader: (0)

Hi everyone, I've read the post and I can't see the solution to my problem. Firstly apologies for posting in this forum as I have a 2013 F06 not an F30.

I purchased the Andream mmi interface and fitted it, however the idrive doesn't control the unit. The car has a CIC stereo, however Andream advised to use the F30 loom that came with the unit. Everything else works, and I can toggle between the unit and the stereo using the 8 button, or use the phone to control CarPlay.

Andream suggested using the CIC wiring loom when I approached them with the problem with the idrive however the car doesn't like it when the idrive T wire is installed and it gives loads of errors in the car.

I hoping someone on here will have some ideas.

Thanks
Appreciate 0
      06-24-2020, 06:28 PM   #2807
phil5556
Private
9
Rep
55
Posts

Drives: 330D Touring E91 2011
Join Date: Apr 2018
Location: Ayrshire

iTrader: (0)

I know this thread has gone down the software development rabbit hole but....

Does anyone know if these units have a GPS antenna in them? Does CarPlay use it or always the phone GPS? Sometimes Google maps gets a bit behind and the accuracy circle around the pointer grows.

It seems to get better if I move my phone, but that might just be coincidence.

If the unit has GPS in it then I might try and move it, it’s currently shoved in a slot behind the dash with quite a lot of metal around it.
Appreciate 0
      06-24-2020, 06:36 PM   #2808
xDHC
Second Lieutenant
Netherlands
94
Rep
289
Posts

Drives: F20 116i
Join Date: Mar 2019
Location: Europe

iTrader: (0)

Quote:
Originally Posted by phil5556 View Post
I know this thread has gone down the software development rabbit hole but....

Does anyone know if these units have a GPS antenna in them? Does CarPlay use it or always the phone GPS? Sometimes Google maps gets a bit behind and the accuracy circle around the pointer grows.

It seems to get better if I move my phone, but that might just be coincidence.

If the unit has GPS in it then I might try and move it, it’s currently shoved in a slot behind the dash with quite a lot of metal around it.
it uses your phone's GPS.
Appreciate 0
      06-24-2020, 06:38 PM   #2809
phil5556
Private
9
Rep
55
Posts

Drives: 330D Touring E91 2011
Join Date: Apr 2018
Location: Ayrshire

iTrader: (0)

Quote:
Originally Posted by xDHC View Post
it uses your phone's GPS.
Cheers, I’ll keep playing about with phone location. It lives in the arm rest, might have to see where else I can put it.
Appreciate 0
      06-25-2020, 03:20 AM   #2810
Firefly1337
Second Lieutenant
Firefly1337's Avatar
Germany
857
Rep
280
Posts

Drives: G20 M340i
Join Date: Aug 2019
Location: Germany

iTrader: (0)

Quote:
Originally Posted by muniz_ri View Post
I actually thought that you were trying to insert a modded version of the Andream firmware with the corrected dpi value back into your Andream unit. Working with the Bimmertech ispbooot seems to add to the complexity.
I was and I am. I just tried the Bimmertech update once I realized that I wiped the 'key' off my device to see if it would work.
It doesn't :/
Appreciate 4
x-m4n146.50
muniz_ri438.50
dkeruza13.50
      06-25-2020, 12:40 PM   #2811
tekibg
New Member
6
Rep
15
Posts

Drives: BMW E60 LCI
Join Date: Sep 2019
Location: Serbia

iTrader: (0)

Quote:
Originally Posted by 0lliem View Post
Hi All,

i just brought a Andream CIC. i installed everything and it works great!

However i have no skip forward or back buttons on either the steering wheel or idrive. i press them and NOTHING happends

The other buttons like Call and Siri on the steering wheel work fine!

i have tried the following:
Checked all wiring
tried fitting the optional idrive loom that bypasses the idrive (No difference)
checked jumper switches.
the buttons work fine operating the orginal idrive system

its running the following:

SDK: 25.0.0.5.6.0.0.0
CUST: v2.1.0.5.1.gpe.c
MCU: 20.5.18.17

Please help

thank you friends!
Did you resolve problems with steering wheel buttons? I have same issue. Carplay CIC
Appreciate 0
      06-25-2020, 12:55 PM   #2812
muniz_ri
Major
United_States
439
Rep
1,219
Posts

Drives: BMW 320I
Join Date: Mar 2019
Location: Irvine, CA

iTrader: (1)

Quote:
Originally Posted by Firefly1337 View Post
I was and I am. I just tried the Bimmertech update once I realized that I wiped the 'key' off my device to see if it would work.
It doesn't :/
Got it. At least now we know that it is possible to flash a modded bin.
Appreciate 0
      06-25-2020, 01:00 PM   #2813
vennids
Private
17
Rep
60
Posts

Drives: BMW 5
Join Date: Jun 2019
Location: EU

iTrader: (0)

Quote:
Originally Posted by tekibg View Post
Did you resolve problems with steering wheel buttons? I have same issue. Carplay CIC
Volume and back/forward on the steering wheel don't work on my AA CIC either.
Appreciate 1
x-m4n146.50
      06-25-2020, 01:14 PM   #2814
dkeruza
New Member
14
Rep
28
Posts

Drives: BMW 435i xdrive
Join Date: Oct 2019
Location: Lehigh Valley

iTrader: (0)

Quote:
Originally Posted by Firefly1337 View Post
I was and I am. I just tried the Bimmertech update once I realized that I wiped the 'key' off my device to see if it would work.
It doesn't :/
How did you get the missing partitions to create the IPBOOOT.BIN?

I am trying to recreate the bin with the correct isp script.
Appreciate 0
      06-25-2020, 01:50 PM   #2815
Firefly1337
Second Lieutenant
Firefly1337's Avatar
Germany
857
Rep
280
Posts

Drives: G20 M340i
Join Date: Aug 2019
Location: Germany

iTrader: (0)

Quote:
Originally Posted by dkeruza View Post
How did you get the missing partitions to create the IPBOOOT.BIN?

I am trying to recreate the bin with the correct isp script.
I suppose you are talking about xboot and uboot?
Took them from the original .bin.

You have to look for start and end of each partition and extract them with dd.

//Edit: Only xboot.
Uboot2 comes from the extract function and is identical with uboot0 and uboot1, so just make copies.
xboot1 and xboot2 are also identical, so just extract that with dd from the original .bin and you should be fine.
Appreciate 2
      06-25-2020, 04:23 PM   #2816
ce23
New Member
Germany
5
Rep
23
Posts

Drives: 2014 F20 118i
Join Date: Aug 2019
Location: Germany

iTrader: (0)

Just installed my box, so far everything is working well. But I still have to test phone calls.

Does anybody know if the sequence of the apps in CarPlay can be changed?
Appreciate 0
Post Reply

Bookmarks

Tags
andream, android, android auto, apple, carplay, mmi, retrofit

Thread Tools

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 06:31 AM.




f30post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, 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