Archive for the ‘Ponderings’ Category

The $12 Gongkai Phone

Thursday, April 18th, 2013

How cheap can you make a phone?

Recently, I paid $12 at Mingtong Digital Mall for a complete phone, featuring quad-band GSM, Bluetooth, MP3 playback, and an OLED display plus keypad for the UI. Simple, but functional; nothing compared to a smartphone, but useful if you’re going out and worried about getting your primary phone wet or stolen.

Also, it would certainly find an appreciative audience in impoverished and developing nations.


$12 is the price paid for a single quantity retail, contract-free, non-promotional, unlocked phone — in a box with charger, protective silicone sleeve, and cable. In other words, the production cost of this phone is somewhere below the retail price of $12. Rumors place it below $10.

This is a really amazing price point. That’s about the price of a large Domino’s cheese pizza, or a decent glass of wine in a restaurant. Or, compared to an Arduino Uno (admittedly a little unfair, but humor me):

Spec This phone Arduino Uno
Price $12 $29
CPU speed 260 MHz, 32-bit 16 MHz, 8-bit
RAM 8MiB 2.5kiB
Interfaces USB, microSD, SIM USB
Wireless Quadband GSM, Bluetooth -
Power Li-Poly battery, includes adapter External, no adapter
Display Two-color OLED -

How is this possible? I don’t have the answers, but it’s something I’m trying to learn. A teardown yields a few hints.


First, there are no screws. The whole case snaps together.

Also, there are (almost) no connectors on the inside. Everything from the display to the battery is soldered directly to the board; for shipping and storage, you get to flip a switch to hard-disconnect the battery. And, as best as I can tell, the battery also has no secondary protection circuit.

The Bluetooth antenna is nothing more than a small length of wire, seen on the lower left below.

Still, the phone features accoutrements such as a back-lit keypad and decorative lights around the edge.

The electronics consists of just two major ICs: the Mediatek MT6250DA, and a Vanchip VC5276. Of course, with price competition like this, Western firms are suing to protect ground: Vanchip is in a bit of a legal tussle with RF Micro, and Mediatek has also been subject to a few lawsuits of its own.

The MT6250 is rumored to sell in volume for under $2. I was able to anecdotally confirm the price by buying a couple of pieces on cut-tape from a retail broker for about $2.10 each. [No, I will not broker these chips or this phone for you...]



That beats the best price I’ve ever been able to get on an ATMega of the types used in an Arduino.

Of course, you can’t just call up Mediatek and buy these; and it’s extremely difficult to engage with them “going through the front door” to do a design. Don’t even bother; they won’t return your calls.

However, if you know a bit of Chinese, and know the right websites to go to, you can download schematics, board layouts, and software utilities for something rather similar to this phone…”for free”. I could, in theory, at this point attempt to build a version of this phone for myself, with minimal cash investment. It feels like open-source, but it’s not: it’s a different kind of open ecosystem.

Introducing Gongkai

Welcome to the Galapagos of Chinese “open” source. I call it “gongkai” (公开). Gongkai is the transliteration of “open” as applied to “open source”. I feel it deserves a term of its own, as the phenomenon has grown beyond the so-called “shanzhai” (山寨) and is becoming a self-sustaining innovation ecosystem of its own.

Just as the Galapagos Islands is a unique biological ecosystem evolved in the absence of continental species, gongkai is a unique innovation ecosystem evolved with little western influence, thanks to political, language, and cultural isolation.

Of course, just as the Galapagos was seeded by hardy species that found their way to the islands, gongkai was also seeded by hardy ideas that came from the west. These ideas fell on the fertile minds of the Pearl River delta, took root, and are evolving. Significantly, gongkai isn’t a totally lawless free-for-all. It’s a network of ideas, spread peer-to-peer, with certain rules to enforce sharing and to prevent leeching. It’s very different from Western IP concepts, but I’m trying to have an open mind about it.

I’m curious to study this new gongkai ecosystem. For sure, there will be critics who adhere to the tenets of Western IP law that will summarily reject the notion of alternate systems that can nourish innovation and entrepreneurship. On the other hand, it’s these tenets that lock open hardware into technology several generations old, as we wait for patents to expire and NDAs to lift before gaining access to the latest greatest technology. After all, 20 years is an eternity in high tech.

I hope there will be a few open-minded individuals who can accept an exploration of the gongkai Galapagos. Perhaps someday we can understand — and maybe even learn from — the ecosystem that produced the miracle of the $12 gongkai phone.

Releasing free PDF of “Hacking the Xbox” in honor of Aaron Swartz

Monday, March 11th, 2013

No Starch Press and I have decided to release a free ebook version of Hacking the Xbox in honor of Aaron Swartz. As you read my book, I hope that you’ll be reminded of how important freedom is to the hacking community and that you’ll be inclined to support the causes that Aaron believed in.

Apologies in advance if there are any hiccups in the distribution of the free copy. The primary host is a server in my flat, which only has a 100Mbps up-link (currently pushing >30Mbps one hour after posting).

Open Source Geiger Counter Update

Monday, March 11th, 2013

Today, March 11, marks the second anniversary of the Tohoku-Oki earthquake that devastated Japan and triggered the meltdown of Fukushima Daiichi. In a desire to help any way I could, I joined Safecast and created an open source Geiger counter reference design, which I released last year around this time.

Since then, Safecast launched a successful Kickstarter campaign, and International Medcom has completed the monumental tasks of tooling, testing, debugging, and developing firmware for this little device.


Above: the limited edition Kickstarter version of the Geiger counter in action.


Above: the steel tools used to injection mold the ventral case of the Geiger counter.

Finally, the clear, limited-edition Kickstarter devices are shipping. You can see some photos of them on the Make Blog as Eric Weinhoffer at Make is helping to put the finishing touch on every unit: a laser-cut, limited edition serial number on the back of each case.

Having shipped many products myself, I know how hard everyone has worked to make this a reality. Congrats guys!

If you donate to Safecast between now and 11:59 PM EDT tomorrow, March 11th, Global Giving will match your donation 200%. As long as funding remains, they’ll even match your donation 100% until March 15th. Click the image below to learn more and contribute to a great project.


A Moment of Silence for Aaron Swartz

Saturday, January 19th, 2013

I am joining three academic research web sites, SIFT and Polyphen (websites for predicting disease mutations) and CRAVAT (a website for predicting cancer mutations), in a moment of silence to mark Aaron Swartz’ passing. On January 25, we will bring down our sites for the day to honor his contributions and mark the tragedy of his passing.

Aaron’s treatment by MIT is not unfamiliar to me. Back when I was a graduate student there, I extracted security keys from the original Microsoft Xbox video game console. I still remember the crushing disappointment of receiving a letter from MIT legal repudiating any association with my work, effectively leaving me on my own to face Microsoft. However, in my case, the faculty of my then-lab, the AI lab, were outraged by this treatment. They openly defied MIT legal by publishing my work as an official AI Lab Memo, thereby granting me greater negotiating leverage with Microsoft. Microsoft, mindful of the potential backlash from the court of public opinion over suing an openly legitimized academic researcher, came to a civil understanding with me over the issue.

It saddens me that America’s so-called government for the people, by the people, and of the people has less compassion and enlightenment toward their fellow man than a corporation. Having been a party myself to subsequent legal bullying by other entities, I am all too familiar with how ugly and gut-wrenching a high-stakes lawsuit can be. Fortunately, the stakes in my cases were not as high, nor my adversaries as formidable as Aaron’s, otherwise I too might have succumbed to hopelessness and fear. A few years ago, I started rebuilding my life overseas, and I find a quantum of solace in the thought that my residence abroad makes it a little more difficult to be served.

While the US legal system strives for justice, the rules of the system create an asymmetric war that favors those with resources. By and far one of the most effective methods to force a conclusion, right or wrong, against a small player is to simply bleed them of resources and the will to fight through pre-trial antics. Your entire life feels like it is under an electron microscope, every tiny blemish magnified into a pitched battle of motions, counter-motions, discovery, subpoenas and affidavits, with each action heaping tens of thousands of dollars onto your legal bill. Your friends, co-workers, employers, and family are drawn into this circus of humiliation as witnesses. Worse yet, you are counseled not to speak your candid thoughts to anyone, lest they be summoned as a witness against you. Isolated and afraid, it eventually makes more sense to roll over and settle than to take the risk of losing on a technicality versus a better-funded adversary, regardless of the justice.

The US government is by and far the most well-funded and fearsome enemy to spar with, and copyright law has some unusually large, if not cruel, penalties associated with it. I don’t know Aaron personally, but I feel the magnitude of the bullying he was subjected to is reflected by his decision to end his life. I echo Larry Lessig’s notion that the legal system in the US needs a sense of shame. At least to an outsider like me, it seems like some prosecutors in the US government are obsessed with making a big name for themselves. Winning cases gets them the recognition and credibility needed for promotions and assignments to ever higher profile cases. It’s not about justice, it’s about victory.

This system of incentives, I feel, contributes to the shameless bullying of individuals and small entities with enough guts to stand up and to do something a little daring. Individuals are robbed of the will and strength to fight for what they feel is right, as the mere act of prosecution can be as much a punishment as the verdict. As a result, I fear the era of civil disobedience may be coming to a close.

What has America become?

Sifteo Gen2: from Concept to Product

Monday, December 17th, 2012

Some readers may have already seen this, but adafruit has a great article written by Sifteo engineer Elizabeth Micah Scott about the challenges and trade-offs they encountered bringing their Gen2 product to market (full disclosure: I am an advisor for Sifteo).


I really appreciate the candidness of the writing, and the openness with which they discuss internal design aspects that many startups would normally regard as highly secret sauce. Then again, they do some amazingly clever things with very light, cheap 8-bit hardware, and they have every right to be proud of their technical accomplishments.


Sifteo has an SDK for those interested in developing for the platform.

I highly recommend the read, check out the article titled “How we built a Super Nintendo out of a Wireless Keyboard @Sifteo” here.