Running Debian And Android On The G1

tmobileg1

[Jay Freeman] has a rather exhaustive tutorial on how to set up a Debian environment on your T-Mobile G1. The first major issue with this is that getting root level access through telnetd is being patched. It certainly is a security issue that needs to be fixed, but a user shouldn’t have to root their own phone to begin with. While the G1 comes with some Linux tools, they’re limited. [Jay]’s goal was to create a familiar Debian environment on the phone. It takes a few tricks, but if you’re familiar with the command line, you shouldn’t have any problems. Debian already has ARM EABI support, so creating a working image isn’t a problem. The image file is stored on the SD card and mounted using the loopback device. The G1’s kernel has module support turned on, so [Jay] created an ext2 and unionfs kernel modules. [Benno Leslie]’s Android version of busybox is used to perform the actual mounting. Once mounted, you just need to chroot into the environment to start playing with native Linux apps. [Jay] takes this a step further by using unionfs to make the Android and Debian environments share the same root. This is really a great how-to and it’s nice to know that modules can be added to the kernel.

[photo: tnkgrl]

[via Hackszine]

Android Executes Everything You Type

g1

This is one of the more bizarre bugs we’ve ever heard. The T-Mobile G1 has an open root shell that interprets everything you type as a command. It was discovered when a user just happened to type the word ‘reboot’ in a conversation and the phone immediately rebooted. A patch has already been rolled out to fix this issue. It also buttons up the earlier telnetd SUID problem.

[photo: tnkgrl]

Android Source Code Released

[youtube=http://www.youtube.com/watch?v=7Y4thikv-OM&fmt=18]

Google has officially released the Android source code. While the T-Mobile G1 is being released tomorrow—some already have it—it is just one Android device. The availability of the source means that the platform could be port to almost any device. It’s a complete embedded Linux package and we’ve already seen it running on the N810. We can’t wait to see what hacks come out of this.

Android Hacks Roundup

Our friend [Jeffrey Sharkey] hacked the iTunes remote control protocol and produced his own version for Android, one of the smartphone OSes we just covered. He pored over dumped packets for a few days and wrote a client which is of course GPL’d. Besides that, he’s been busy winning the Android Developer Challenge. His app, Compare Everywhere, was one of the top 10 winners, netting him a cool $275,000. This ingenious bit of code deciphers barcodes scanned using a cell phone camera and then finds prices for that item at every nearby store that sells it.

The other winners wrote apps that do cool things such as one-click cab ordering, locate missing children, and find parties. Check out all 50 finalists and winners here.

XKCD Inspires YouTube Feature

Who knew that a silly comic strip could be so influential? XKCD’s strip focusing on the inanity of YouTube comments inspired someone to actually add the Audio Preview feature to YouTube. It’s provided us with much amusement, especially where one commenter mentions that the “preview of my own post sounded moronic!”

Speech synthesis software is nothing new, of course. While it’s not the most sophisticated software, it’s an invaluable resource to those with disabilities, language learners, and others. This tutorial on Festival, a Linux-based text-to-speech software framework, would be a great place to start. You’re just moments away from finding out how stupid email, IM, and IRC sound read aloud.

Prevent Drunken Emails With Mail Goggles

Google introduced a new Labs feature named Mail Goggles. If you turn it on, on late night weekends, the feature will ask you to perform some math problems before you can send an email. We’re not sure how widespread a problem drunk emailing is, but maybe the delay will allow you to sober up and realize when you’re about to CC your entire company on a rant about your boss, or your adventures with the cute guy or girl in the office. It’s enabled for late nights on the weekends, but once you’ve turned it on, you can adjust the time in the General settings.

Google Chrome Roundup

Google Chrome made a huge splash in the past week, but will it really change the way you browse, and convince you to switch from your current browser? For those who want to play with it but don’t want Google to completely take over their lives, Chromium is the open source project behind Google Chrome. Linux and OS X users can also run Chrome using WINE, although success is not guaranteed. To make an educated choice, read Scott McCloud’s comic which explains the underpinnings. Make sure you’re aware of Chrome’s security vulnerabilities, and take advantage of Lifehacker’s guide to make your browsing experience as convenient and useful as possible. There are some great features, including the ability to log into multiple Google accounts using its much-lauded Incognito mode, which prevents Google Chrome from logging information on your browsing and downloading habits (websites you browse can still track your information). For convenience, you can also install Chrome on a USB drive, and take it anywhere with you. Explore the many Google Chrome blogs that have popped up to provide advice on hacking and tweaking the browser. Or you could just get all your information from 4chan.