Sunday, 6 November 2011

Broken Things: iPhone 4

I was browsing through some older files when I saw this pic. The story behind this phone is one of adventure, intrigue, and criminal elements leaving their murky underworld to terrorise the public.


This iPhone has a fun little escapade attached to it, in April this year.

The Owner had it stolen while picking their kids up from school - they left the car unlocked for two minutes, and came back to find it gone. By sheer luck he'd recently been travelling so we'd connected his brand-new phone to our corporate mobileme account.

 He called me about an hour later and I pulled it up on 'find my iphone'. We got occasional reports as it was driven south before the thief finally settled down for the evening at a little house in Fremantle.

I kept an eye on it the next morning, and finally got a good GPS reading that showed exactly which house it was in.  One screenshot and we were in business.

We got lucky again when we got the police involved. They apparently had some free time (and were intrigued by 'Find My iPhone'), so they sent a car around to the house. They found one elderly man and his son in a near-empty house who let the officers in for a quick look around their mostly empty house. There was no sign of any phone and the police left. It looked like our investigation had come to an inglorious end.

The next day, we got some surprising news: The phone had been turned in at the Fremantle police station looking rather damaged (see above). The man who turned it in said they'd just found it but - rather conveniently - happened to live at the same house the police had visited the day before. It seems the police visit unsettled him, so he did the logical thing: Hit the phone repeatedly with a rock, and turn it in denying all knowledge.


Where are they now?

The Mysterious Thief: I lost all involvement with the case after we got the phone back, but he was in the awkward position of explaining why the phone had been in his house and turned on for two nights before he 'found it'. I hope it went well for him.

The iPhone: One $80 screen replacement put it in perfect working condition, and it's still chugging along just fine.



Tuesday, 25 October 2011

Data Destruction: Hammer

If you ask for methods to quickly destroy data, You'll probably get a whole bunch of advice ranging from a decent software wipe  up to nuking it from orbit. Most of them are effective but need special equipment or hours of time. What if you want something quick and simple? Hit the drive with a hammer.

I was lucky enough to find a scrap drive pre-hammered by the prior owner, so this is a real example of attempted data destruction. I've removed the company name from the drive since I'm sure they'd be surprised if they knew what IT did with their old servers.


At first glance the damage doesn't look too bad, but the drive isn't mounting. Clearly it's time to open it up.


Look at that! Data platters in perfect condition inside a drive that spins up perfectly. The armature isn't moving quite correctly, but the read heads themselves are in great condition. Almost all the data on this drive will be intact and could be recovered by a sufficiently determined person.

A few points to note:
  • They were hammering exactly the wrong end of the drive. While the drive mechanism might not work afterwards, it's a good idea to hit the end where you actually keep data.
  • This drive has a single platter mounted low. Even if he'd repeatedly hit it in the right spot he might have missed the platters completely. 
  • Let's be honest: Hammering the case isn't going to do as much damage as you hope because the case is partly designed as a protective layer against blunt trauma. You'd have to scale this up to a sledgehammer to be sure it works.

And because I like them so much, let's finish with a few closeups of all that beautiful undestroyed data.





Next test: microwaving your drive. If anybody feels like donating to that cause, I'll need half a dozen drives of the same model with matching firmware.

Sunday, 16 October 2011

Doggy Data Destruction

Dogs like chewing on things. Electronic devices are often small and easily chewable. Hijinks ensue.

For control purposes, the following items were all chewed up by the same dogs over a period of a few years. They provide a sliding scale of how much damage your dog can do to what you hold most dear: your handheld devices.


Item 1: SD Card.
SD cards are pretty small and fragile. They're designed to go inside more sturdy devices (phones, cameras, sewing machines), and rely on the extra protection to survive. They're definitely not built for a foray into a dogs mouth.


Opening it up, you can see the chips themselves are badly cracked. Once you get physical damage like this, there's zero chance of recovering any data.



Item 2: Thumbdrive
Thumbdrives are made of sterner stuff, since they spend half their life bouncing around in your pocket and being forcefully thrust into USB ports backwards. It's hard to judge what might happen in a dogs mouth, but liquid damage wouldn't be much of an issue - I once put the same thumbdrive through a washing machine three times before it finally broke. This one had a bonus layer of metal which gave up its life to protect the delicate layers beneath.

The memory chips survived but the drive didn't mount when plugged in. Close examination revealed a few small breaks in solder, so a few minutes work with a soldering iron should bring it back from the dead.


Item 3: MP3 Player
This is a bit of an unfair example as it's an uncommon and unusually hardy mp3 player. You can see it has a thick plastic shell, with no screen to provide an easy breaking point.




This one is remarkable because of just how well it survived. The dog had been chewing on the corners for quite a while before anybody noticed, and yet the plastic is barely dented.. Every button, speaker, jack, and panel survived in working condition. The same MP3 player survived a second round with the labrador a few months later, so they must make these things tough.

I guess the lesson to take from this is if you're going to give gadgets to your dog as toys, use the biggest you have. If you change your mind, it might still work.

(Alternative lesson: If you're keeping valuable data in a portable form, find the most durable and protected device you can. You can't always predict a dog eating your portable hard drive)

Wednesday, 28 September 2011

Why RIM stopped using Trackballs


This is under the trackball of a Blackberry Bold 9000 after about two years of light-to-moderate use. To get some lovely detail of the grime, you'll want to view that image full size.

It looks almost uncannily like a birds nest aside from the scale - it's just a few millimetres across. Perfectly shaped to the underside of the roller, it kept it's form as I yanked off the protective plastic coating. I'm not sure what material kept it stuck down during this but it certainly didn't wipe off easily. I'll be disappointed when the 9000's are retired as the trackpad handsets don't have this kind of character (I haven't had a single one in for cleaning yet).

The best part: The roller was still working perfectly, it was brought in because of antenna issues.

Tuesday, 27 September 2011

Broken Things: iPhone 3G

Somebody brought this iPhone 3G in a few days ago. I'll give you three guesses why.

You're absolutely correct, she wanted a software update. The owner has no plans to replace the screen - after all, it works perfectly aside from the occasional ear-cutting incident.



She's been through two screen replacements so far with this handset. For her next phone I might recommend a nice sturdy case to go with it.

Monday, 26 September 2011

Package updates looping in Ubuntu 10.04 LTS

A quick snip of weird behaviour from . On my old fileserver (running Ubuntu 10.04 LTS), I noticed an infinite loop of packages being added and removed.

root@mybox:~$ apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libass4 libcelt0-0 libdca0 libdirac-encoder0 libfftw3-3 libflite1 libgme0
  libkate1 libmimic0 libofa0 liborc-0.4-0
0 upgraded, 0 newly installed, 11 to remove and 1 not upgraded.
After this operation, 16.8MB disk space will be freed.
Do you want to continue [Y/n]? y


And after removal, if you try dist-upgrade you get..

root@mybox:~$ apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  libass4 libcelt0-0 libdca0 libdirac-encoder0 libfftw3-3 libflite1 libgme0
  libkate1 libmimic0 libofa0 liborc-0.4-0
The following packages have been kept back:
  gstreamer0.10-plugins-bad
0 upgraded, 11 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/9,685kB of archives.
After this operation, 16.8MB of additional disk space will be used.
Do you want to continue [Y/n]?


And so on ad infinitum.

It looks like those packages are simultaneously required and unnecessary for my system, which I'm fairly sure isn't normal behaviour. A quick look at the package dependencies points the finger at gstreamer0.10-plugins-bad being kept back. Since it's not a vital package, one quick removal and everything is back to normal.

Okay, I may not have found the root cause of the problem, but this works just as well for me.

Thursday, 15 September 2011

Get Inifinite Email Addresses in Google Apps

You've got your own domain. It's for personal use, so you've set up Google Apps to get free and effective email. What could possibly make this better?

The Google Apps Catch-All address, of course.

The Basics: 
A Catch-All address is an email account that receives all incorrectly addressed email for your domain. If somebody typos your address but gets the domain right, the email winds up in the catch-all email account. The account owner will occasionally check through to make sure the email gets to the right recipient (If they type the domain wrong, they end up with a much bigger problem).

The catch-all address became less popular as spam got worse for fairly obvious reasons. Google, however, has remarkably good spam filtering, which gives us the option back.


What you can do with it:
You can come up with any email you like on the spur of the moment (say, SpurOfTheMomentEmail@yourdomain.com) and it'll reach your inbox. You can give a different email address to every person you meet and every site you sign up for and receive them all. It gives you an essentially unlimited supply of email addresses, because *@yourdomain.com is now yours. Hell, I sometimes use it to send subtle messages - If dave is hounding you for your email address, giving him stopannoyingmedave@yourdomain.com might get the point across.

Aside from the awesomeness and flexibility this gives you, it has some practical advantages - you can treat addresses as 'throw-away' email accounts. If a site sells your address on to spammers, you can just blacklist all mail to that address with email filters (shown below).


Setting it up:
Assuming you've already got a domain and set up google apps, it's very, very simple. If not, you may want to start at the beginning.

Log into the Google Apps control panel, and choose Settings followed by Email. Under the catch-all email section, choose to forward it to your main email account.


Save, and that's it. If you look under your account settings, you now have *@yourdomain.com listed as one of your addresses.


Blacklisting:
Blacklisting one of the addresses you gave out is easily done under your email settings. Click on Filters and then  Create a new filter. Type the email you want to blacklist in the To: field, and hit Next Step.

Now simply check the Delete it box and click Create Filter, and that's it! Any future messages sent to that address will be silently moved to the deleted folder.


Now enjoy the freedom that only an infinite supply of email addresses can give you.