11 ms·
BMW Connected Apps Protocol
- 1234_9999_46 7y agoI bought a mid-tier BMW last year. Regardless of how you look at it, it's a big, expensive luxury car. And being a big, expensive luxury car it's big and carefully made and feels like driving around in a well appointed living room or a first class cabin. And the UX is pretty good. The computer controls can almost be used by memory, they're very close to hand and well laid out. The nav is so-so but the in-dash lane view makes it sane for big cities. But the software is awful. It's not poorly designed, necessarily, but it's buggy as hell. Half the time I enter the vehicle the car thinks I'm my wife. She's a foot shorter than I am which means I can crawl into the seat for about 30 seconds before my legs start to cramp. In that time, the following invariably happens: 1. I painfully get a foot on the break and hit the ignition. 2. The computer prompts me to confirm that I'm my wife. 3. While I'm trying to select my profile CarPlay kicks in and opens the media screen. 4. I navigate through several menu levels to set the correct driver profile, swearing the whole time. Now, I can move the seat back before I enter, but it's slow and clumsy. Then I still have to go through the same process, just minus the leg cramp.
- arrty88 7y agoIt sounds like all of these problems have to do with the driver profile. My grandpa's 1999 Buick Park Ave had 2 key fobs. Each fob was paired with a different driver profile. Depending on which fob unlocked the car, the seat and preferences were adjusted instantly. Surely BMW can do something similar here. My only advice is to talk to your salesman / dealer and see if they can set you straight.
- zwirbl 7y agoAFAIK BMW used to handle it this way and I don't see a reason why they would have changed that
- richbradshaw 7y agoI have had a few BMWs and yes it is done on the fob.
- jakoblorz 7y agoI have a completely new Audi A4 2019. Unfortunately I have the same problem. Additionally, it takes ages to switch profile. When I select my profile, it loads 2-5min until an error pops up, promting me to select again. Then it takes like 5secs. What is wrong with IT culture at German car manufacturers?
- forgingahead 7y agoIt's latency, as the key fob has to communicate with the German servers, and that round-trip takes a while. ....... I'm only kind of joking, I don't know the real reason, but I dislike the fact I can't just get a simple mechanical car. It worked for decades, why did we need to add janky software to everything?
- _pmf_ 7y agoHey, it's not easy REST-ing in German: {"AnfrageArt":"Personenerkennungsschlüsselanforderungsanfrage", "ParameterListe":["HerstellerSpezifischePersonenkraftfahrzeugidentifikationsnummer":"1NXBR12E31Z463785"]} }
- franga2000 7y agoThis is giving me flashbacks to reverse-engineering some German-made code with only a veeery basic understanding of German and no technical dictionary. Google Translate usually had a seizure with technical terms and by the end I was just going by the "shape" of the code, despise having full function names. What a language!
- rconti 7y agoVCDS flashbacks.
- jakoblorz 7y agoWell I am in Germany, round-trip should not be a problem -.-
- 7y ago
- rad_gruchalski 7y agoUse the correct key fob. The car selects the profile depending on the fob used to unlock the car. I have two BMWs, both do the same.
- saberdancer 7y agoIt's pretty hilarious that the guy had this issue for a while, and not once thought about how does the car determine who is driving, and how it can prepare the seat in time.
- tonyedgecombe 7y agoYou are assuming that he didn't know that and that it isn't a bug in the system.
- saberdancer 7y agoTrue, I am assuming that. Other replies seem to point that way, but I am waiting for confirmation.
- Yizahi 7y agoPeople actually use both keys simultaneously when sharing cars? I always consider one key as an "emergency" backup, and it is never used daily. The car is single entity, so one key is more than enough (for my use cases). PS: also in my country it is illegal to drive without car ID card, which is also single entity and need to be exchanged hand to hand when car sharing.
- joking 7y agothey do when you can have a profile attached to the key and the car can have some configurations to that profile, mainly the seat and mirror positions if those are electrically adjustable. On the other side, I had an audi that on top of 2 keys, it had a plastic key with a code that can be used to create a new key as the one that you must store in house and keep safe.
- 7y ago
- danielbarla 7y ago> Half the time I enter the vehicle the car thinks I'm my wife. I had the same issue with a fairly old Volvo, and manually adjusting the seats for the large height difference was quite irritating (even with the setting memory feature). I was convinced it was buggy or random, until I accidentally figured out the car's actual "algorithm" - it was simply remembering the last seat setting for the key used, and since we were using a single key and just swapping the car between us as needed... Not sure why this took me so long to figure out, it was just kind of an unexpected default behaviour, given our use case of a shared car.
- hvidgaard 7y agoIt's in the manual...
- jakoblorz 7y agoWho reads the manual? I know how to drive ;)
- HeWhoLurksLate 7y ago... I thought it was an automatic!
- roel_v 7y agoAs all the others say, just use the right key fob. It's in the manual how all this works (it is in mine, at least).
- lowdose 7y agoHi Elon, I see what you did here! I upvoted you because you don't even hide the obvious fresh throwaway account.
- russellbeattie 7y agoOh god. I got rid of my BMW less than a year after buying it in part because of the horrible "iDrive" central console interface. It was absolutely terrible! Examples: Putting the car into drive would pass by reverse, so the reverse camera would come up, then not go away for 20 seconds or so. Notifications would pop up for gas at 1/8th of a tank with an alert sound like the scene change music to Law & Order. Unkillable notifications for unneeded oil changes. Deep menus for common functionality like sound adjustments. The audio didn't stop when you turned off the car, only when you opened and shut the door (letting everyone in the parking lot hear a snippet of your music first). The nav system took a minute or so to start up, so you can't begin to enter an address until it's ready. Where were the physical play/pause buttons? There are none. There's a reason why California companies lead the world in UI design: We actually care about the user experience. The hostility of a BMW UX is on a level that I honestly didn't think was possible. It wasn't just moronic, it was straight up belligerent. Thank goodness the car had a major safety recall and I had an excuse to get rid of it. My first and last BMW ever.
- tooop 7y agoWhich special BMW did you have when every newish BMW has Reverse at the top and Drive at the bottom (no way of passing Reverse when putting in Drive)? EDIT: Seems that you are talking about 10+ year old BMW and telling that CA car UX is amazing - cars with no buttons and clicking (touching) through submenus to get the AC blasting... How do you define "unneeded" oil changes. If the oil change wasn't reset that is up to your service.
- pokepim 7y agoAgreed, newer iDrive interfaces is one of the best if not the best car interfaces you can use. Lexus NX on the other hand, well thats what a crappy UX is.
- NullPrefix 7y ago>How do you define "unneeded" oil changes. If the oil change wasn't reset that is up to your service. Those pesky updates.
- 7y ago
- ryanlol 7y agoWhich iDrive version does your car have? The only notable software bug I’ve encountered on my G12 with the current gen NBT EVO (101172.3.214, 2017-04, Q18491l) is that carplay sometimes fails to connect until I restart the infotainment. I’ve never seen the car pick any other driver profile than the one associated with the keyfob.
- jen20 7y ago> But the software is awful. It's not poorly designed, necessarily, but it's buggy as hell. Can't say I agree with this in the slightest, assuming you are not talking about a 2002-2005 (EU) year which did have a very buggy implementation of iDrive based on Windows. The issue you are describing is otherwise known as "opening the car with a key attached to the driver profile for your wife". My 2009 3 series with the professional navigation option is not only bug-free in everyday use (with all updates applied) but substantially better than most brand new cars available today, which is why I still have it.
- brozaman 7y agoI have a 2018 2 series, with the business pack (has the cheaper navigation system, not the professional one) and my experience is that if you don't use connected apps it's great, bug connected apps are simply terrible. They have a lot of problems synchronizing, and connected drive is just garbage. It just doesn't work, if I try to use the my phone to send a location to the car's navigation system half the times the application crashes, perhaps with iPhone it's better, but with android (and I have an android one phone, wit android 10) I just gave up on this functionality.
- woobar 7y agoInteresting, I have a 2015 model, and sending destination from the phone or directly from the Google Maps on desktop always worked. I don't even need to connect my phone to the car. My wife's car is newer, and it doesn't connect to BMW Connected services at all. ;(
- rconti 7y agoMy 2011 X5 simply doesn't remember which key is whose, even with the box checked. If you look around, there are youtube videos of dealers demoing how it's supposed to work, and there are forum posts of folks taking their cars to the dealer countless times and it never getting fixed. Basically: If it it works on your car, great. If it doesn't, it probably never will. I know how it's supposed to work, my family has owned other cars with the same keyfob/system, and it works perfectly. shrug
- 88840-8855 7y agoI am driving a new Mercedes C class and can confirm: the software is utter rubbish. Half of the built-in "Mercedes apps" are crashing, not starting, not working, not connecting. Mercedes Me works - sometimes, sometimes it doesnt. Germans are very bad at software.
- ChuckNorris89 7y agoAutomotive software isn't written by Germans anymore, they outsourced most of it to the cheapest OEM over a decade ago. And it's not just the Germans, everything in automotive is cost driven with contracts going to the lowest bidder leading to a race to the bottom and the results speak for themselves as you can see.
- wtf_srsly 7y agoThis isn't true anymore. With MBUX Mercedes has started developing their infotainment system in-house again. I don't personally own a Mercedes but from what I've heard it's much better then the previously outsourced infotainment system.
- 88840-8855 7y agoPlease elaborate.
- ChuckNorris89 7y agohttps://news.ycombinator.com/item?id=21927963 https://news.ycombinator.com/item?id=21927963
- ryanlol 7y agoI guess it’s written by non-Germans who speak German then? Awful lot of BMW internals tend to be in German.
- netsharc 7y agoThe thing I can't stand on Mercs is their ugly UI, which they've kept even in this day and age: https://c1.peakpx.com/wallpaper/1018/324/929/mercedes-benz-car-amg-gt-transport-wallpaper-preview.jpg https://c1.peakpx.com/wallpaper/1018/324/929/mercedes-benz-c... One time I got in one of their cars in a car show, and the display kept popping up a modal dialog "To use X, please connect a phone". I get it, you told me 5 seconds ago!
- CowboyViking 7y agoSomething to remember about the automotive industry is that they have a long running time for each project. So each generation often have a large improvement over the last because they worked on it for years before first release. This is why some things can be "not perfect" for some users. The companies are improving rather fast just past years to be able to have things like software be improved in a much faster way and free of chains to the timeline of the project they are part of. "Car thinks i'm the wife". Some cars go by weight and some by the key used. Some go by the last use and once you sit down it adjust things to that last setting. I used to have a Audi and a Volvo with these things. The Audi i had seemed to go by weight only and the Volvo had memory buttons to be used but seemed to go by the key. What the newer BMW use i am unsure of.
- landcoctos 7y ago>And the UX is pretty good. The computer controls can almost be used by memory, they're very close to hand and well laid out. The nav is so-so but the in-dash lane view makes it sane for big cities. But the software is awful. It's not poorly designed, necessarily, but it's buggy as hell. Interesting. I have a 2015 BMW 3 Series with professional I-Drive and I still find it one of the best systems available.
- ollie87 7y agoI have a 2019 MINI Cooper S with Professional iDrive, I can confirm it is buggy. It's the best system, but it's still awful.
- landcoctos 7y agoMaybe it's because exceptions for car systems are so low.
- rconti 7y agoIs there, like, a video that explains the theory of iDrive? I can always make it do what I want it to do, but it makes no goddamned sense. What I mean is, the overlapping 'cards' and menus and when and why clicking the controller is different from togging it to the right on a menu item when those always* seem to do the same thing. I just don't get the theory behind it all. It's a system you have to LEARN how to use, and you can use it for years without ever understanding what the hell they were thinking/intending. I've just learned to work around its quirks.
- Lendal 7y agoThis reminds my of the troubles I have with CarPlay on BMW. I use Android. Anytime I try to go somewhere while my wife's iPhone is near the garage, it takes over my car and I can't do anything. No music, no phone calls, nothing but drive. In order to regain control of my car, I have to drive a mile down the road, pull over, shut off the ignition, count 30 Mississippi, then restart the car. Only then will the unresponsive CarPlay coupe coup be ultimately defeated. :) Sure I could remove her iPhone profile, but that hurts her feelings.
- jwr 7y ago> But the software is awful. It's not poorly designed, necessarily, but it's buggy as hell. Seconded. It was always crappy, but I recently switched to a 2019 model and expected it to be better. It isn't. I'm amazed that in 2019/2020 we still have problems with keeping track of two driver profiles (yes!) and their phones. It's not rocket science! A phone can stop working for no reason and require un-paring/re-connecting. The UX is crappy, Spotify integration works or does not, depending on the phase of the moon. My car also came with Apple CarPlay, which was somewhat better but after a couple of weeks both phones stopped working with the car. The dealership told me I never had a CarPlay subscription (!), which means it must have been a demo. From the point of view of the user: phones worked nicely, until suddenly they stopped working, completely. Wasted time on dealership visits and unparing/re-connecting phones again. Oh, and the much-touted feature that lets you unlock the car with an NFC card or your phone? Only works with Samsung phones. I'm not sure if manufacturers get the fact that for a certain segment of customers phone integration is one of the most important features in the car. After my lease expires I will be shopping with that in mind.
- indemnity 7y agoDidn’t BMW stop the nonsense about having to subscribe to CarPlay?
- ilikehurdles 7y agoYep. My car got an OTA that changed the subscription expiration date to sometime around 2040.
- drdaeman 7y agoJust a guess - could it be 19 January 2038? (The end of 32-bit UNIX epoch)
- ilikehurdles 7y agoGood guess, you had me checking it, but no. I looked it up and it seems to be my purchase date (and consequently original Apple Carplay subscription date) with 20 years added to the year part of the date.
- ilikehurdles 7y agoDo you and your wife use multiple BMW keys interchangeably? Each key can be made to default to a profile, so when either my wife or I enter with our keys, everything sets up per each of our preferences.
- bob1029 7y agoThis story is exactly why I want my cars to be dead simple. I don't care about the "luxury" that is having some gigantic distracting screen with whatever invariably-horrible software implementation running on it. My current car is almost entirely mechanical, with the exception of electronic throttle body. This may sound like a petty gripe considering the pure garbage that is being sold today, but I can feel the difference between this and a throttle body with a physical cable attached to it. It annoys the hell out of me that I can sense a 1mm deadzone before the computer detects that I have pressed my accelerator pedal. I cannot comprehend how people are tolerating things like brake/steer-by-wire, lane-keep assist on by default, engine auto stop, emergency auto breaking, etc. I understand the most profitable target market for these cars is "people who didn't want to drive in the first place", but can we at least spend a little time considering those still in the "I like to drive and don't want it to be a miserable experience" demographic?
- rhombocombus 7y agoFolks tolerate many of the features you describe (lane-keep assist, emergency auto braking (edit - spelling)) because they make one of the most dangerous activities we participate in as a society objectively safer. Engine auto stop helps reduce emissions. I get that you are putting a "pure" driving experience on a pedestal and from an aesthetic standpoint I tend to agree, but it sounds like you haven't had to mop up after a catastrophic collision. Tens of thousands of people die every year (edit- in highway collisions) and you are complaining about technologies designed with the express intent to mitigate that, so how do I look at your gripe as anything but selfish nostalgia?
- bob1029 7y agoWhy do we need a feature to steer for the driver or press their brakes? What is the new acceptable % of driver involvement in the activity? Is it now 95%? I don't understand why everyone seems to be OK with this grey area of man/machine responsibility. I've heard far more stories of lane keep assist doing something unexpected and causing panic than I have of it saving someone's ass.
- m463 7y agoHardware companies make terrible software. But now the problem is that software companies make very good software - that benefits themselves first, and the customer as almost an afterthought.
- speedgoose 7y agoIt's a very interesting article. I'm also impressed by such dedication. Hashing the strings from the decompiled APK to easily debug the protocol in Wireshark is inspiring. On the topic of using a BMW with you phone without being frustrated, some people put a third-party box between the screen and the car infotainment computer to get Android Auto. I heard the experience isn't perfect. Personnally I use Google Assistant and I think it works relatively well. I can use it to get directions, make the sound of random animals, change radio, play music on Spotify... To trigger it, you can long press the voice command button on the steering wheel.
- bmo-at 7y agoYeah, I 'inherited' a 2015 BMW 1-series with very basic equipment from my grandma. Plenty of car for a cs student, but I really wanted Apple Carplay and Android Auto in my car. You're right though, it is not perfect. But I was surprised how well it's integrated. It definitely connects faster and more reliably than the default Bluetooth connection in the car and it can be removed without a trace afterwards, since it's just a piggyback box. I do experience a crash though sometimes, and then I have to stop, turn off and lock the car for ~30 seconds just to restart the box. I have a binary firmware file from the manufacturer, was thinking I might try to decompile it and make my own version, but I don't have a the experience or the time atm.
- tW4r 7y agoThere is a slow movement to Reverse Engineer carplay (mostly the problem lies with apple MFi encryption) but it'd be great if more people joined in to make a truly opensource carplay implementation The most advanced RE effort I've found: https://www.youtube.com/watch?v=VnS_TP18VBk https://www.youtube.com/watch?v=VnS_TP18VBk (comments) https://gist.github.com/Wh1terat/f06c8b4a41f93f482bf5892095bbd40b https://gist.github.com/Wh1terat/f06c8b4a41f93f482bf5892095b...
- opsroller 7y agoWhat's there to reverse? CarPlay is extremely basic, you send a surface geometry to the iPhone and you tell it what it can be used for, a lot like Apple Watch complications, and then CarPlay can decide what to send to the buffer. Example: In a Mini, with wireless CarPlay I get a Main View for CarPlay's springboard, and configurable split screen for other car functions, however one of the functions is a media view for currently playing media. This allows me to use any car functions in the main view and still see what media is playing from any source including CarPlay, and it shows the Album View from CarPlay. https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=12&ved=2ahUKEwj-wIOr95LnAhUnFjQIHYUSCYkQFjALegQIBRAB&url=https%3A%2F%2Fdevstreaming-cdn.apple.com%2Fvideos%2Fwwdc%2F2016%2F722x2eefo3u2rp8k8qs%2F722%2F722_developing_carplay_systems_part_1.pdf%3Fdl%3D1&usg=AOvVaw1hlezk8GKtUDeGcCFj1-Gh https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...
- ac_20200120 7y agoIPs removed and anonymous because it's a little intrusive Someone at BMW added me accidentally as a nexus repo. I get loads of BMW traffic now, and it's really annoying. Leaks a bunch of fun stuff. [BMW'S IP] - - [20/Jan/2020:08:52:11 +0100] "GET .... com/bmw/cc/b2vngtp/statusAPI/20200120.074026-feature_2020-T1.5-CDNGTP-3818-improve-stability-of-integration-tests/statusAPI-20200120.074026-feature_2020-T1.5-CDNGTP-3818-improve-stability-of-integration-tests.war HTTP/1.1" 403 1364 [MYSITE] "-" "Nexus/3.15.1-01 (OSS; Linux; 3.0.101-108.87-xen; amd64; 1.8.0_92)" "-"
- punnerud 7y agoDang, there is something odd with the (unusual high) number of newly registrated comments on this post. Good comments, but could all be from the same person? From zwb’s bio: “(..) Hacker News is an online game you can play where your score is up in the top right corner and there's a leaderboard, and you get points by posting stuff and making comments people like. (..)”
- Tomte 7y agoE-mail exists. Please use it.
- 0x00000000 7y agoShould you though? So some drone in the legal department can accuse you of “hacking” or “stealing proprietary information”? With a tech company, maybe you could but it’s still a risk. With a big, ‘old school’ company? No. Hell no. Unsolicited advice on anything security related is a bad idea.
- Tomte 7y agoHe is supposed to mail hn@ycombinator.com. That way dang actually sees it. And the guidelines specifically ask for doing such meta communication off HackerNews.
- lima 7y ago
- shoes_for_thee 7y agoThese comments are reminding me why I like analog cars. I do wish I had adaptive cruise control, though.
- UI_at_80x24 7y agoYes completely! I want an electric car. I don't want any screens though. Analogue dials, switches, buttons. I don't expect to own a vehicle for 20 years, but what is the real life-expectancy of those LCD screens and back-lights? I'm driving a 9-year-old car right now and half of the 'tech' on it doesn't work worth shit. It drives ok, but it's nearing it's serviceable EOL.
- S0und 7y ago"<java something-something> bytecode is really easy to decompile" by the 3rd time i was laughing at this... "not a problem, barely an inconvenience"
- whois 7y ago> Cries for help on the Spotify forums were ignored Yea sounds about right :(
- scoutt 7y ago> asked if I could get access to the BMW Ready SDK ... They declined. Sometimes this is all the motivation a person needs. Now it's (almost?) reverse-engineered and it could be a big headache for BMW in the future if a exploit/bug/fun-stuff is found by the right people. Companies: share your SDKs. The guy/girl doing a RE is not your regular "coding demo SDK apps" engineer and will go deeper.
- selpop 7y agoThis happened to me with GM I tried to get developer access via a form and never got a response, so I tried sending a message the head of the infotainment on LinkedIn Thankfully he was able to get my application to the dev site moving... but unfortunately, they required a business use case to get an API key once you had access to the site. So I tried to pick the API key out of the app. They had the most novel obfuscation I've ever seen for an app's API key The key was inside the image data for the launcher icon There was a weird transformation applied to it too, so instead of trying to reverse engineer it I just fired up Charles and intercepted it from there With the API key and the documentation for the API from the dev site I was able to write a program that started preconditioning my Volt when I left my apartment (the car was in an attached underground garage, so it'd be at the right temperature by the time I got down)
- smashah 7y agoNice! I've been trying to do some RE myself to no avail. This project (https://github.com/TheCrypt0/yi-hack-v4 https://github.com/TheCrypt0/yi-hack-v4) maintainer puts a paid DRM atop the main functionality (enabling rtsp streaming for Yi cams). I tried bypassing the DRM by replacing the MC command in ghidra but it didn't work. Do you have any learning resources you can share so I can bypass/crack this DRM?
- selpop 7y agoUnfortunately I don't have anything that would be helpful Reverse engineering Android apps is pretty easy because there's a very well defined application format, and a ton of hints about the original source in the bytecode Your situation sounds a little more complicated than that
- gorkish 7y agoI can't help but feel for this guy having done my own reverse engineering of BMW's i-bus back in the day. You get to the point where you see such possibility if the carmaker would just open up a little damn bit. It's a real shame that automakers feel that every software or hardware integration with their vehichle should be something to monetize. Even the forward thinkers like Tesla are no better on this front.
- hippich 7y agoAnother possible explanation (other than keeping everything in case it can be monetized) is being concerned with mirriad of ways it can bring liability to the company. Perhaps, it is not a practical way to keep such risk away, but I can see how it can be most rational decision by a big company.
- NotSammyHagar 7y agoTesla didn't try to block it when people did figure out the calls to talk to their car, so that's at least a good thing. They figured it out by putting the android or ios app on wifi and looking at the calls. Then from there they figured out the login token. One thing Tesla hasn't done right, you can't revoke tokens (at least it didn't seem to be possible last I looked).
- mkhpalm 7y agoI'm confused why just 1 car company doesn't allow end-user developed apps. A model lineup like that seems like it'd be easy to turn dealer inventory. You have the historical success of both PC and mobile to understand how nobody can compete with a proprietary systems.