Archive for the 'Technology' Category

Kernel 2.6.32 for your Nexus One

Sunday, January 24th, 2010

Unlike the locked down and user-hostile iPhone, the Google Nexus One is not SIM-locked (even when bought subsidized) and ships with a bootloader that can be unlocked to enable custom firmware flashing. More importantly, you can use the Nexus One to make calls that last longer than 10 seconds :)

The Nexus One ships with a 2.6.29 kernel but if you like living on the bleeding edge you can install your own kernel (e.g. the experimental 2.6.32 kernel). Below you’ll find an update image I built which includes a 2.6.32 kernel, su, scp and ssh.

Steps to unlock your Nexus One bootloader and install your own firmware:

  • Verify USB debugging is turned on in your Nexus One settings (Applications -> Development).
  • Install the Android SDK and fastboot.
  • Power off your Nexus One. Hold down the trackball and power the device back on.
  • Run ‘fastboot oem unlock’ and then follow the instructions on the device.
  • Download Amon_RA’s custom recovery image for the Nexus One.
  • Run ‘fastboot flash recovery recovery-RA-nexus-v1.5.3.img’ and then reboot your Nexus One.
  • Copy nexus-2.6.32-root-signed.zip to your Nexus One SD-card and then run ‘adb reboot recovery’.
  • Once the device boots into Android system recovery, select “Flash zip from sdcard” and then nexus-2.6.32-root-signed.zip.

With root on your Nexus One, you can use apps such as n1torch (use your Nexus One camera flash as a flashlight).

Note that for security reasons you may want to replace the standard su with something like superuser.

Btw, my company, doubleTwist, is hiring engineers in San Francisco and Android experience is a plus. Perks include a doubleTwist engraved Nexus One :)

Pogue and Mossberg on doubleTwist

Thursday, January 14th, 2010

David Pogue in his Nexus One review last week:

The Nexus doesn’t come with any iTunes-style companion software, either. Enterprising techies know about the free DoubleTwist program for Mac or Windows, which simulates iTunes for the purposes of loading up your phone with music, photos and videos.

This week, Walt Mossberg in a follow-up to his Nexus One review:

Google doesn’t supply any equivalent to Apple’s iTunes or the BlackBerry media-syncing software. However, the third-party program doubleTwist, available at doubletwist.com, is designed to function as a sort of iTunes for syncing Android, Palm and BlackBerry devices.

What are you waiting for? Go download doubleTwist now and sync with your Nexus One :)

Mounting your Android phone

Saturday, January 9th, 2010

We released a new version of doubleTwist for Mac OS X today (v1.0b15 r2806, release notes). When you connect an Android phone like the Google Nexus One, doubleTwist now presents instructions on how to mount the phone.

We’ve also put the mounting instructions up at Mount Android (requires Chrome, Safari or Firefox).

Syncing your Droid with iTunes

Friday, November 6th, 2009

The Verizon Droid is launching today. The latest versions of doubleTwist for Windows and Mac OS X include support for the Droid. Sync your iTunes playlists to the Droid using doubleTwist! Download iTunes Droid Sync and get all your playlists and videos on your Droid.

iTunes Droid sync

Subpoenaed in Apple lawsuit

Tuesday, August 11th, 2009

I’ve been subpoenaed in the ongoing anti-trust lawsuit against Apple.




I suggest the plaintiffs lighten up and try The Cure for iPhone Envy:

the Cure for iPhone Envy

The Cure for iPhone Envy: The story behind the doubleTwist ad

Tuesday, June 9th, 2009

For our “The Cure for iPhone Envy” ad campaign we leased the window on the BART exit outside the SF Apple Store. Our contract with BART’s ad agency specified that the ad would go up on Monday morning, the day of the WWDC keynote. However, the ad agency jumped the gun and our ad went up on Friday the weekend before. Shortly after the ad was put up, it was ripped down by a BART employee. A tipster sent me pictures of this happening:

Ad being ripped down

BART’s excuse for ripping down the ad was that it was “too dark” and not letting through enough light into the BART exit. However, we have pictures that show there was plenty of light coming through the ad (the ad is printed on a clear plastic material):

Light showing through ad

We then submitted the following revised ad with a white background. A white ad would have let even more light through (notice how bright the bottle is in the original ad above). However, it was rejected for having a solid white background (!).

Rejected white ad

At the ad agency’s request, we then made the background completely transparent. It’s a lot harder to read text on a transparent background… After complying with all their requests to change the ad, we still haven’t been given a firm date on when the ad will be back up.

Apple is a major BART advertiser (in the past they’ve plastered entire BART stations with iPod ads). Apple’s WWDC conference ends on Friday. It’s pretty obvious what’s going on here… I’m sure our ad will conveniently be back up after WWDC ends.

Follow me on Twitter.

Palm Pre USB hack confirmed

Thursday, June 4th, 2009

A little birdie provided me with the following:
Palm Pre Video

As I speculated in my previous blog post on Palm Pre Sync and now confirmed by the image above, when the Pre is in “Media Sync” mode it identifies itself as an Apple iPod. However, it’s only the Mass Storage interface that identifies itself as an iPod. The root USB node (IOUSBDevice) still identifies the device as a Palm Pre (not visible in the image above). This means that Apple can very easily update iTunes to block the Pre.

Follow me on Twitter.

Update: that the Pre still works with the new iTunes 8.2 release is not surprising and doesn’t mean much. The news about the Pre’s iTunes support came out on Friday. iTunes 8.2 was released on Monday. Software has release cycles that include QA. There’s simply no way Apple could have made changes to how iTunes identifies an iPod and passed the new build through QA in such a short amount of time.

Syncing music and video to the Palm Pre

Thursday, May 28th, 2009

Palm Pre video converter
Palm today announced that the Pre will sync seamlessly with iTunes. From the press release on Palm Pre iTunes sync:

Palm media sync is a feature of webOS that synchronizes seamlessly with iTunes, giving you a simple and easy way to transfer DRM-free music, photos and videos to your Palm Pre.(2) Simply connect Pre to your PC or Mac via the USB cable, select “media sync” on the phone, and iTunes will launch on your computer desktop. You can then choose which DRM-free media files to transfer.

Reading about this on blogs I’ve seen two clueless arguments being repeated:

Palm must be doing this in co-operation with Apple.

That must be why in Palm’s demo iTunes says “Syncing iPod” instead of “Syncing Pre” and Palm investor Roger McNamee called Apple a monopolist when Walt Mossberg asked how Apple is going to feel about this.

This is nothing new. RIM and Nokia have been doing iTunes sync for a while.

No, RIM and Nokia have offered their own software which reads the iTunes XML library file and syncs to their devices. That’s nothing like the Palm Pre which identifies itself to a PC as an iPod and syncs with iTunes directly instead of 3rd party software.

The following is worth noting in Palm’s press release:

(2) Compatible with iTunes 8.1.1 on Windows XP/Vista and Mac OS X version 10.3.9-10.5.7

That’s called covering your rear :) Translated from PR-speak we get: “Don’t expect this to necessarily work with iTunes 8.1.2″.

So how is Palm doing this? It’s pretty simple, really. We’ll start with the most basic question that doesn’t even involve the Pre: To a PC, what’s the difference between an iPod and a Kingston memory stick? The iPod has a specific USB Vendor Id that identifies it as being an Apple product and a USB Product Id that identifies it as being a specific iPod model. In addition, the iPod’s filesystem has a specific folder and file structure. Modern iPods also respond to a custom USB command that returns an XML file with information about the device.

So how has Palm most likely enabled the Pre to sync directly with iTunes? By doing the following:

  • When you select “Media Sync” on the Pre, it will switch its USB interface to use Apple’s Vendor Id and the Product Id for a specific iPod model
  • The Pre exposes a filesystem through Mass Storage Class that mimics the structure of an iPod
  • The Pre responds to Apple’s custom USB command and returns XML info about the device

What can Apple do about this? When two parties implement an open standard, there’s usually some differences. In this case, there’s two implementations of a proprietary standard and it’s almost guaranteed that there will be differences. Apple will analyze the Pre and find out what those are. They will then be able to update iTunes to tell a real iPod apart from the “PrePod”.

Oh, and when that happens, be sure to download doubleTwist to sync your music and video to the Palm Pre :)

Follow me on Twitter.

Update: some people are linking to this Apple support article, claiming that’s how the Pre is able to sync with iTunes (of course, these people don’t actually explain the “how” since that would require them to know something about the subject). I didn’t even bother linking to that originally since I thought nobody would be technologically inept enough to use that as an argument: 1) That article has been archived and is no longer updated by Apple, 2) It applies to Mac OS X only, 3) The listed players are over half a decade old, 4) The reason those players were supported was because iTunes included CUSTOM CODE to support those players, 5) The Palm Pre’s iTunes sync capability works without installing any Palm software/plugins, 6) If the Palm Pre was using an iTunes API for 3rd party devices, then iTunes would be identifying the Palm Pre as a Pre, not as an iPod

Selling my MacBook Air

Friday, October 17th, 2008

I’m selling my MacBook Air 1.8GHz 64GB SSD in original box w/USB SuperDrive, 2 power adapters, VGA+DVI adapters and USB Ethernet adapter. Price: $1600. Pickup in San Francisco. Send me an email if you’re interested.

iPhoneDevCamp 2008

Monday, July 28th, 2008

I will be at iPhoneDevCamp in SF this Friday. We are sponsoring two awards:

We are looking for a full-time Cocoa developer to join our Mac team. If you are interested in joining doubleTwist, ping me during the event (I’ll only be there on Friday).