Bizarre Droid auto-focus bug revealed

What was making the Droid camera go out of focus?

By Peter Smith  11 comments

Verizon's launch of the Droid has been marred by a handful of bugs that Google and/or Motorola and/or Verizon appear to be squashing pretty quickly (seriously, how much buck-passing goes on behind the scenes when there's a bug with this device?). One of the most interesting bug stories I've heard in a while has to do with the auto-focus bug. Apparently it just didn't work. The on-board camera would focus, then blur out again.

And then it suddenly started working properly for everyone. The first theory of why it would fix itself was that there was some film on the lens when a Droid was fresh from the factory, but it got cleared off with use somehow. Folks claimed that directly cleaning the lens with a soft cloth would fix the problem, and that much made sense, but other theories had the film getting cleaned by the action of sticking the Droid in your pocket? I wish I lived in a world where things got cleaner the more you used them!

The next theory was that some kind of stealth patch got pushed to the Droids without the owner's knowledge. Officials quickly denied this rumor. Probably good news that they can't (or at least, won't) patch your phone without your choosing to accept the patch.

Finally the real reason for the bug and fix was revealed, and maybe it's just because I write web scripts for a living, but I really got a kick out of this. The auto-focus routines somehow make use of a timestamp, and the bug was due to a rounding error. In a comment on an Engadget post, someone claiming to be Google engineer Dan Morrill said:

There's a rounding-error bug in the camera driver's autofocus routine (which uses a timestamp) that causes autofocus to behave poorly on a 24.5-day cycle. That is, it'll work for 24.5 days, then have poor performance for 24.5 days, then work again.

The 17th is the start of a new "works correctly" cycle, so the devices will be fine for a while. A permanent fix is in the works.

How crazy is that? Engadget says they tested this by backdating their Droid to November 11th and sure enough, the problem returned. I pity the engineer who had to uncover this one; talk about finding a needle in a haystack.

Anyway, let's hope they get this patched up before the current 'good' cycle ends.

By the way, I'm considering springing for a Droid; if any readers have one, I'd love to hear comments on it. Are you happy with your purchase?

Follow Peter on Google+

Peter Smith writes about personal technology for ITworld.

11 comments

    Anonymous 1 year ago
    I switched from an HTC Touch on one provider to an HTC Dream with a different provider. On both counts I am extremely happy with my choice.I am an IT Pro, and as such, would have a use for the VPN software that is out there for the Droid, but this requires rooting the phone, and my provider (Rogers) has taken away that functionality. It is a bit of a sore spot with me, but I do understand that they must have gotten calls from people who didn't have a clue what they were doing, and bricked their phones.Over all, the phone is fast, lots of apps available for it (even a full-featured GPS by intrynsic that works VERY well). The screen is very high resolution, and images, and videos are crisp and clear on it.I really like this phone! My son has an iPhone, and I have to say that while I haven't used his much, I much prefer mine over his. In fairness, part of that is due to the slide out keyboard on the Dream, and the iPhone doesn't even offer a model like that...and they should :)Happy Droiding!
    Anonymous 2 years ago
    Just switched to Droid from my broken down iPhone this week and I'm loving it!Honestly, I didn't think the Droid would stack up. I was a bit scared to lose the history I've built up with my iphone with music, apps, etc. There are still a few minor areas where the iPhone wins out, but I'm really glad I made the switch.First, talking on a phone that actually works through a carrier that doesn't drop calls is practically a wholly new experience. I really enjoyed the other parts of the iPhone so much that I continuously overlooked it's crappy phone functionality. Everything sounds clearer on the Droid and I haven't experienced a single issue yet with dropped calls, which were damn near expected with my iPhone. The 3G network seems to be faster though not by much and I'll wait until I get more apps running before I can truly tell if Verizon's 3G is faster than AT&T's.Second, I was worried about the lack of apps compared to the iPhone's app store. I didn't have pages and pages of apps, I did have a few that I used regularly (Mint.com, Gilt, the iTunes music store to name a few). However, I quickly some great apps in the Android marketplace. I'm still waiting on the Android Mint app, though.Third, the Droid's screen is sharper which makes it both easier to read finer print and it has great brightness setting. However, the iPhone screen is still better in my mind because it supports multitouch and I like the fact that it is a little wider (whereas the Droid's screen is a little longer). Finally, the iPhone seems to have a breaking point and with the two I've had I started experiencing major problems around one year into the lifespan the phone. Both phones experienced the same problems even after several restarts, resorations, et al: severe lagging when switching between programs like iTunes, Safari, or even texting; the battery life suddenly couldn't sustain for a full day without explanation; and, worst of all, both phones would randomly shut themselves off or freeze in locked mode. Of course, I haven't had the Droid for that long yet, but it's such a relief to be able to navigate the snappy and responsive UI. I think the iPhone has a little bit of an edge in terms of the flow of its simple interface, but Android as a mobile OS is really impressive so far. I'm confident it will only get better thanks to the vast open source community.
    Anonymous 2 years ago
    Its crazy enough to make crazy lol.., seriously talking good bug revealed at timely.Cellulite TreatmentsFat Removal Sarasota
    Anonymous 2 years ago
    Since the good phase of the droids should have ended on the 11th - are the droids back into their out of focus phase for the holidays?
    pasmith
    pasmith 2 years ago in reply to Anonymous
    Mine seems to be working fine. I assume the glitch was fixed in the 2.0.1 update that went out over the last couple weeks.
    pasmith
    pasmith 2 years ago
    Thanks to those of you who gave me feedback. I picked up a Droid today and so far I'm really digging it.
    Anonymous 2 years ago
    One of my many tech functions is to test cell phones for my organization before determining which phones users can have. In one hand I have an iPhone 3Gs. In the other I have a Motorola Droid from Verizon. The phone arrived on the 17th, so no issues with the camera for me so far. So far, I like the browser better. I like the OS better. The GPS is far more accurate. The text recognition is amazing. I spoke the name of a business and had the exact address, plhone number and location on a navigation ready map in 2 seconds. This was not a common business, but one that only has one location in the world.I am beyond impressed. I really liked the iPhone, until I got a Droid.
    Anonymous 2 years ago
    I really, really like my Driod. Supposedly 250,000 have been sold so far and Moto / Verizon is predicting 1M by year's end. The Android Market has more than enough aps to download and play with until it achieves parity with the iPhone ap store in quantity and quality. It's a work in progress that's 90%+ where it needs to be already - I say go for it.
    Anonymous 2 years ago
    Peter,Now that the autofocus "bio-rhythm" is in the correct "moon phase" I have absolutely no reservation in recommending the Droid (well, maybe one -> the task management {memory useage} needs to mature)...
    Anonymous 2 years ago
    I got mine on launch date and overalll have been very pleased with it coming from the iPhone 3GS. So far I find only a few things that are quirky; one is that emails and SMS with phone numbers aren't highlighted like a link and can't be dialed directly from the message, I miss that the most. Cut and paste is a bit quirky, there isn't a good printing app yet. Battery life is a challenge but I had to use a Mophie Juice pack on the iPhone to get a full day out of it and it added a ton of weight and bulk to get it. On the plus side Remote Desktop from Xtralogic is the best RDP app I have ever used on a phone, it beat the 2 I had on the iPhone hands down. Call quality is a welcome change from the dropped hissing calls I had with ATT half the time. They can cry all they want about Verizon's ads, but while I really like the iPhone their network just doesn't cut it.
    Anonymous 1 year ago in reply to Anonymous
    I made the switch over to Verizon a couple of years ago as well, and I couldn't be happier with the call quality. Before that I had AT&T and was using the iPhone(Click here for more info.). While I do miss a few things about my iPhone,(I own a Droid currently) the pro's certainly outweigh the con's.

      Add a comment

      Post a comment using one of these accounts
      Or join now
      At least 6 characters

      Note: Comment will appear soon after you have activated your account.
      Obscene/spam comments will be removed and accounts suspended.
      The information you submit is subject to our Privacy Policy and Terms of Service.

      ITworld LIVE

      OffbeatWhite Papers & Webcasts

      White Paper

      Differentiating Unified Storage Appliances

      Are your storage systems flexible and adaptable enough to meet your company's changing demands? That's not an easy question to answer. Download this Tech Dossier to understand the benefits of unified storage systems, and what you need to consider when looking for a product that meets your specific needs.

      See more White Papers | Webcasts

      Ask a question

      Ask a Question