Droids in Space: Rooting and applying a custom image to my Desire for more app space

I love my HTC Desire. I really do. And after having tested a HTC Desire HD for work for a little over a month, I love it even more (my Desire, that is). There’s only one thing I hated to let go when I returned the Desire HD, and that was the 1GB of space for apps. My Desire has only 149MB available, and even with Froyo and App 2 SD, that ain’t enough.

So I’ve been considering installing a custom image for quite some time. But at the same time I’ve been dreading it and putting it off. After all… my phone is working fine now, what if something goes wrong? And finding what ROM to choose isn’t exactly easy.

But tonight I finally decided to take the plunge and do it. I had a migraine earlier in the day, so possibly the medication had some impact on the reasoning circuitry in my brain. At least I decided to Root it for a start. Since I have the memory of an ant on prozac, I’ll record the steps here for my own sake and anyone I’ll start preaching the gospel to.

Rooting for the good guys

I’m not a hardcore android user or a coder. Nor do I have any ambition to be, so I opted for the path of least resistance. For rooting the Desire I used unrevoked 3(.32). I simply downloaded the Windows version, connected my phone in debugging mode, and ran the downloaded file. From then on the app pretty much controlled everything itself, I simply entered the needed codes on each reboot. at one point after the 2nd or 3rd reboot it tried to install drivers for a device but couldn’t find them. While keeping the app running I installed the drivers according to this guide, and and the app simply continued automatically. Easy!

After a little while my Desire was rooted and I could install nifty little utilities such as screenshot apps etc. Other than that, nothing was changed and the phone was just like before. Kind of an anticlimax :-)

So I decided to install an image… ;-)

It’s all about having the right image

For a while I was pretty much set on wanting to install MoDaCo’s image on the phone, but after having browsed some threads in his forum the future commitment seemed a little unclear, and a lot of commenters were being enthusiastic about LeeDroid, so I decided to give that a try after having read up on it.

Since the main point was to get more app space, I was going for the A2SD version. And according to the wiki, to make effective use of that, you first need to partition your SD card with a 512MB ext3 partition. I used ROM Manager on the android, selected 512 for EXT and 0 for swap. Remember, this wipes your SD!

And since I already had ROM Manager there, I decided to use it for creating a backup of my current config, and apply the LeeDroid image. The current version was 2.3d, so I downloaded LeeDrOiD_2.3d_A2SD.zip and copied it to the root of the SD card. Selected it from within ROM Manager, which took care of the rest. A few minutes and reboots later, I had a nice new image that looks and works much like the original sense I had, but so far with much more app space and some nifty additional features on top of that :)

I’ll try to update with my findings… :)

Geotagging pictures: overview and roundup

In April 2010 I got my first new generation smartphone, the Android based HTC Desire. Like most smartphones today it has a GPS module, which enables a lot of fancy stuff, including tracking your movements and recording them to a file. This again enables the fine art of geotagging your pictures, which this and an unknown number of subsequent posts are about. Geotagging in this context is taking the coordinates of where you were when you took a digital photograph, and storing it inside or with that photo. Obviously your smartphone will support this natively for pictures you take with it, but phone cameras stink, so what I'll be discussing is geotagging of photos taken with *good* cameras, such as a digital SLR or a neat point and shoot.

So after I got my Android phone I set about to find the optimal process for achieving efficient and cool geotagging of my photos. The first part of the process was easy; finding a good app to actually record my movements into a usable file format. The first post in the series will probably be about this, and will focus on Android. Similar apps exist for the competing platforms such as iOS, Windows Mobile and... well, I guess those are the ones that matter. There's also the option of using dedicated GPS devices such as car navigators and hiking GPS'es etc. The requirement is their track data can be exported as a file that can be converted to GPX.
I will not be focusing on dedicated GPS devices for dSLRs such as the Nikon GP-1 because I consider it too expensive and it has several drawbacks and consumes the important data connector port. If you've got it then... hey, congrats... you're done. I might get back to some dedicated third party solutions if an affordable and practical one comes along.

The second part of the job was to find a good geotagging app for matching the GPX track data to the photos I've shot with my Nikon D300s or my venerable Nikon D70 once I get back to my PC. And since I'm using Windows 7 64-bit as my main desktop platform, that's the target OS. This proved to be much harder, in that there's so many apps, each with certain strengths and weaknesses, and there doesn't seem to be and good comparison, so I decided to do my own. This post will be filled with the criteria I will be evaluating as I come up with them, as well as the apps I come across that I plan on testing (and maybe even listing the ones I won't be testing and why). If you have feedback or suggestions from the start, or along the way, feel free to comment with them here.

Testing criteria

   
Platform Windows 7 x64 is core criteria, crossplatform solutions such as java or web base a plus
Image Format Support Must support JPG and most common RAW formats. I will be testing against Nikons NEF format and Adobe DNG. Of special interest will be whether the applications writes directly to the RAW file or leaves the RAW files untouched and store the GPS data in a sidecar such as XMP
GPS data support GPX : This does not affect the choice of outputting solutions too much, as there's several format translation solutions out there.
Address lookup Ability of software to lookup coordinates and correlate them to nearby addresses, region, etc. This info would typically be added to additional IPTC fields independant of the coordinate data 
Altitude correction Mobile phone GPSes are notoriously bad at estimating proper altitude. This criteria determines wether the application supports correcting altitude, either by a preset correction value or by estimating surface height from map data
 Camera direction Sofware support for indicating the direction, angle etc, of the shot from the point where the camera is located
   
   
   

Software discovered

Application Short description License Reviewed?
Microsoft Pro Photo Tools 2  Dedicated geotagging utility Freeware  
Geosetter  Dedicated geotagging utility Freeware

 

gpisync  Dedicated geotagging utility Free and Open Source  
Geotag      
Prune      
STOIK Imagic  General purpose image editing/organizing with geotagging support Basic version (incl geotagging) free  
Jetphoto Studio  General purpose image editing/organizing with geotagging support    
COPIKS Photomapper Dedicated geotagging utility Freeware  
VSO Atom GPS Dedicated geotagging utility Freeware  
GPSTagr Online geotagging for flickr pics Free  
Picmeta PhotoTracker  Dedicated geotagging utility Freeware  
BR Software PixGPS  Dedicated geotagging utility Commercial  
GeoIPTC  Dedicated geotagging utility Commercial  
Picmeta Picture Information Extractor Image metadata editor with geotagging support Commercial  
       
       
       

*This post will be updated over the course of the testing

Printer sharing problem under Windows 2008 R2 / Windows 7 (error 0x000006d9)

So I'm sick in bed and decided to take the opportunity to write a blog post or two I've been meaning to do for a while now. If I manage to complete writing them in between dozing off, that is.

I ran across this issue at work a while ago while setting up a new print server. The server is running Windows 2008 R2 (same codebase as Windows 7 so the same problem and solution applies). After the server was all set up and ready to go, all we needed to do was share the print queue in question. Except all we got was "Operation could not be completed" (error 0x000006d9).

The reason for this is that, like many other organizations, we've traditionally run a GPO that disables the Windows Firewall service (Officially named Windows Firewall with Advanced Security) on Windows Servers, instead relying on rigidly configured, dedicated firewalls between network segments, etc. Simply put, Windows 2008 R2 really, really doesn't like having its firewall service stopped. One of the issues you'll run in to is not being able to share the printer.

The simple solution is start the Windows Firewall service, share the printer - and if you have to - stop the service again.

A better solution than disabling the service is to turn off the firewall part of Windows Firewall with Advanced Security as described in this Technet article.

The basic steps are as follows

 To disable the firewall portion of Windows Firewall with Advanced Security from a command prompt

  1. Open an Administrator: Command Prompt. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.

  3. At the command prompt, type the following command:

    netsh advfirewall set profiles state off

    where profiles is AllProfiles, CurrentProfile, DomainProfile, PrivateProfile, or PublicProfile.

To disable the firewall portion of Windows Firewall with Advanced Security by using the Windows Firewall Control Panel program

  1. Click Start, click Control Panel, click Network and Internet, and then under Windows Firewall, click Turn Windows Firewall on or off.

  2. On the General tab of the Windows Firewall Settings dialog box, select Off (not recommended), and then click OK.

To disable the firewall portion of Windows Firewall with Advanced Security by using the Windows Firewall with Advanced Security MMC snap-in

  1. Click Start, click All Programs, click Administrative Tools, and then click Windows Firewall with Advanced Security.

  2. In the navigation pane, right-click Windows Firewall with Advanced Security on Local Computer, and then click Properties.

  3. On each of the Domain Profile, Private Profile, and Public Profile tabs, change the Firewall state option to Off (not recommended).

  4. Click OK to save your changes.

Excellent photojournalism of the decade roundup

Some very good stuff here. Of course, there's some major omissions imo, but you can't please everyone. Two pictures of Obama? None of the inauguration of Bush with all the consequences that had for the world (you may like or dislike it, but few things were more important). Nothing about the crisis in Darfour and the civil war in Sri Lanka? Earth quake in Iran?

And slightly less important, it's not the end of the decade until a year from now... There's no year 0 in our calendar.

Still. Important stuff. I wish I could believe it's worth bothering to hope for better times to come...
http://www.boston.com/bigpicture/2009/12/the_decade_in_news_photographs.html

Shatner reads Palin awsomeness

And this without even touching on the gems in the book where she rewrites recent history