obligatory obscure reference


self-deprecating yet still self-promotional witty comment

2010/08/20

Fix for 2.2/Froyo update install problems

Filed under: Hacking,Reverse Engineering — jet @ 20:58

We upgraded our Droids to 2.2 today, and while one upgrade went fine, the other went not so fine. As in, reboot loop hell not so fine.

While it was up and barely responsive I noticed that there was a message about an operation being performed on the SD card, so I pulled it out and restarted. Droid worked just fine without the SD Card — no lag, all the apps were there, no crashes/reboots, etc.

Put the SD card back in, original problems happen. Phone is completely unusable.

Ok, I figure I’ll just back up the SD card and format it then use it again in my Droid. I removed the SD card and mounted it on my Mac in a USB adapter, drug the folder over, then watched as the number of files that needed to be copied slowly crept into the 10s of thousands.

Which, as you might guess, ain’t right.

After a little exploring, I discovered that /DCIM/Camera contained a directory /DCIM/Camera/Camera which had the exact same files as /DCIM/Camera. Including a subdirectory named “Camera”. Turtles all the way down means the SD card check probably was consuming all ram/cpu on the Droid and causing the crash/reboot.

Luckily the fix is simple — copy everything *except* the Camera sub directory to another file system, delete /DCIM, and re-use the card.

That being said, it’s 2010, why do we still have trivial inode errors in *nix filesystems? (I’m looking at you, Rubin. Seriously, wtf?)

2010/08/18

HackPGH trip report

Filed under: Hacking,Pittsburgh — jet @ 23:44

FINALLY made it to a HackPGH member’s meeting. It’s a nice little space, not in the best part of town, but at least there’s parking and the like. Many members have donated time and equipment to help set up the space, now they’re needing help with things like putting in A/C wiring and continuing to build out the space.

So what sort of things to people do at hacker spaces? Well, whatever the members think would be a fun project. Say, for example, building and launching a high-altitude balloon or learning about fizzy drinks.

If you’re in Pittsburgh, and you’re looking for a studio space to hack on technology or take classes, haul yourself out to the next Hack PGH open house night or take a class, you won’t be sorry.

Powered by WordPress