Monthly Archives: August 2010

Call for developers

We’re looking to expand our development team beyond it’s current numbers, in an effort to spread the workload out and gain some fresh perspective and insight.

If you think you have something to bring to the project, have some skill in Java, C, or other areas you think are important, and are willing to put time into the project, please let us know via Email and/or freenode IRC in #droidmod.

Wipe your data, people!

This isn’t new information, so I don’t understand why everyone seems so shocked that switching between Motorola builds and AOSP builds requires a data wipe. If you’re not sure whether you’ll need to wipe data, then there’s no reason to do it preemptively, but if your phone boot loops after you install a ROM, pull the battery, boot in to recovery (hold the X button while powering on) and do a factory restore.

I strongly recommend that everyone go download Titanium Backup from market (it’s free). It can restore apps with their data after switching to a new ROM that requires a data wipe. Make sure you do this before you install the ROM, or it will be pretty useless.

ROMs added to DMUpdater

After the release of DMUpdater, my inbox became flooded with requests/complaints from people who were expecting Durden to be released, or for more ROMs to be added. Well, Durden isn’t released yet, so don’t get your panties in a bunch. I have, however, added some ROMs that might be of interest:

  • The stock, signed by Google, FRG01B update (the one Verizon is pushing out now). You will lose root if you flash this, but the next release of DMUpdater will include the exploid root.
  • The last Eclair snapshot of Durden, from before we merged in AOSP’s Froyo release. There were a few issues with this, but it’s from May 24th, so I don’t remember what they are.
  • The July 22 snapshot of Froyo from the Durden tree. This is the same ROM that we’ve had in the topic of the IRC channel for the past month, so autofocus in the camera is broken.

DroidMod Updater 12

Click this link directly from your phone’s browser, or launch DMUpdater if you already have it installed. This version does not include the exploid root, but we’re discussing releasing a version that will, since there’s already a million copycat apps out there.

For the complete list of changes, you can view the commit log. The major changes are:

  • Compatibility with CyanogenMod
  • Compatibility with Froyo
  • Flash existing Durden snapshots from the root of the sdcard
  • Various bug fixes

The DM WordPress theme is now open source!

We’re working off the Toolbox theme (the one you’re seeing now, if you’re on our site) as a jumping off point for the DroidMod WordPress theme. You can get the source from git://git.droiddev.org/themes/droidmod.git, and you can contribute changes via Gerrit as you would with Project Durden. You can read about how to do this in the Gerrit documenation. As always, visit us on the FreeNode IRC channel #droidmod if you have any questions!

Posts restored

I thought I’d share how I restored the old posts, since someone somewhere might find it useful.

As it happens, Google Reader stores all of the old posts, so the content was not totally lost. The first step was to add the DroidMod feed to Google Reader. Next, I exported all of the posts to an Atom feed. This part is a bit tricky, because the feed is only available for starred items, so I had to un-star everything I had starred in Google Reader, and star all of the items from the DroidMod blog. Then I got an Atom feed of the posts from www.google.com/reader/atom/user/[userid]/state/com.google/starred?n=200. Replace [userid] with the _USER_ID javascript variable from the page source of Google Reader (on line 22, at the time of this post). Next, I converted the Atom feed to an RSS feed using, of all things, Yahoo Pipes. I got the idea from this pipe. One could use that pipe as is if the Atom file is somewhere reachable from a URL. I exported the pipe as RSS, sent the data in to the WordPress RSS importer, and bingo, data restored.

The drawback of the RSS importer is that it wont restore meta-data like post author, permalinks, tags, etc., so there will still be some housekeeping to do after the import, but it is certainly much less work than re-creating all of the posts by hand! Comments are also lost, but it might be possible to do something similar using the comment feed. This would certainly be much more complicated.

Win $100

Those of you who’ve been following Project Durden will already know that the only thing left to do before we release for the Droid is to fix auto-focus in the camera. This issue is something we’ve been aware of for quite some time, but is a nut we haven’t been able to crack thus far. This is truly the final piece of the Durden puzzle; once autofocus is fixed, we will change the version number and release the ROM, so we’d like to offer an incentive to get people involved with the project: We will send $100 to the first developer that can determine why auto-focus is not working, and come up with a solution.

I hope that this will get people excited about not only Project Durden, but about Android and open source development in general. Working on this project has been very rewarding for me, and am thrilled that DroidMod has grown to the point where we can do something like this.

If you have any questions, please visit us on the FreeNode IRC channel #droidmod, or drop one of us a line by email.

Who turned out the lights?

By now, you’re probably wondering where we’ve been for the past few days. The reseller we were going through to purchase hosting from Burst went out of business, and didn’t have the decency to notify us in advance so we could move to a different host. Because the information on this blog is ephemeral, we never bothered to do any backups for it, so what you’re looking at is the new home page of DroidMod. If someone would like to crawl Google’s or WBM’s cache, we might be willing to restore the content, but I’m inclined to believe that no one cares enough to bother.

So then, why the crappy theme? Perhaps because we were feeling nostalgic about how the internet used to look back in the “good old days,” or perhaps we’re trying to encourage everyone to use the RSS feed, or maybe I’m just too lazy to look for a better one. In any case, I’m not a big fan of the canned themes that are out there, and to that end, Vulcan is working on a brand new WordPress theme for us. For a preview of what that will look like, head over to his site. You can also preview our progress here.

I hope that this will end the rumors that we’ve fallen off the face of the planet, but there are other rumors floating around regarding DMUpdater that do need to be addressed. If you haven’t already heard by now, a private build of DMUpdater was leaked to the public last week. It managed to get published on several major Android blogs before we got word that it had leaked, and had a chance to disable it. The things I’ve read regarding why the app was pulled are quite ridiculous; I’ve read reports that it damages sdcards, bricks phones, and even destroys families. This is, of course, all hogwash. The app works flawlessly, and was only pulled because it was not ready for release.

When DMUpdater starts, it downloads an XML file from our server that lists all of the ROMs the app should display, and included in this file is the version information for the latest release of DMUpdater. If you are not using the latest version, the app will force you to update (historically, by sending users to the Android Market to encourage them donate $5 if they haven’t already). I used this feature to disable the leaked version of DMUpdater, but unfortunately this means that even people using the legitimately released DMUpdater 11 are no longer able to use the application. For a few days, before the problem was corrected, users of DMUpdater 11 would be sent to a screen that asked them for $20 for a new version of DMUpdater. What they were actually seeing is the ghost of an application in Market which is not actually published — in fact, if you tried to pay the $20, it wouldn’t even take your money.

By now, you must be wondering what the big deal is – why can’t we just slap together a new build of DMUpdater, fix the version number, and release? Well, the answer is actually rather complicated. The new version of DMUpdater uses a new method of rooting (popularized by Birdman for the Droid X) which actually takes advantage of a horrifyingly simple security hole in HotPlug. The “exploid” source code that was released to the world was released under the GPL license, which essentially means that any modifications that are released must be released with source code. Normally, that wouldn’t be a big deal to me – I’m a huge supporter of open-source software, and make a point to always release source code before binaries. However, in this case, I had to make changes to exploid to make it so that an Android application can become root, and the unfortunate reality is that with this code, any application could become root without the user’s permission. To further complicate matters, every Android device that uses HotPlug (that’s over 98% of Android devices, and 100% of Android phones) is vulnerable to the exploid attack.

In a nutshell, I’m not prepared to be the person responsible for enabling root access to some malicious developer that has an innocent looking application in the Android Market. Therefore, I’ve pulled down the commits to DMUpdater related to exploid, disabled the leaked version, and pulled the binary exploid code down from our servers. I’m currently investigating the possibility of rolling back the version in the XML file to re-enable DMUpdater 11, but it may be necessary to release DMUpdater 12 without the exploid code. Keep your eyes on this site for more news on that front!

In other news, we’ve been discussing putting donate apps ($5, $10, and $20) in Market that don’t actually do anything, but serve for users to donate to the project, since we get a lot of complaints that there’s no donate button. We’d love to hear what you think – should we do this?