Permanent Root Exploit Found For G2

The g2 has finally been rooted. Even though a temporary root exploit was found shortly after the phones release, a NAND lock prevented modifying the non-volatile RAM for a permanent root. Some controversy surrounded the g2 when it was erroneously thought to have a rootkit protecting the OS.  Supposedly the rootkit would watch for changes to the file system and then reset the phone to default settings when any unauthorized changes were made.  On the other hand a NAND lock functions by fooling the operating system into thinking there isn’t any memory available, essentially “locking” the memory in key areas.  Once it was discovered to have the NAND lock it was only a matter of time before the g2 was permanently rooted.  NAND locks have become a popular (and unsuccessful) deterrent employed by device makers to stop the jailbreaking comunity.  While this exploit is nothing groundbreaking it is another notch in the belt for the jailbreaking community and a welcome benefit to g2 users.

Android Talks Pulsewave

Serial communications are a mainstay of digital computing. They don’t require much physical infrastructure and they exist in variations to fit almost any application. The behaviour of serial communications lines, varying from high to low voltage in a timed pattern, is analogous to a 1-bit DAC. Using a whole DAC for serial communication would be a waste in most cases, but the [RobotsEverywhere] team found an exception which you may have encountered already.

Since the audio output of the Android is accessible and addressable, [RobotsEverywhere] wrote source code to use the left and right channels as separate serial communication lines. This circumvents the need to bust into the device and muck about with the hardware which is great if you want a no-risk hack that allows communications to an RS232 port. Any hardware on which you can write to the DAC (and control the sampling rate) is a potential target.

There are some external electronics required to convert the audio signal to TTL, but it’s not very complicated–a couple of comparators and change. You can see it in action after the break.

As a bonus, when you’re done for the day you can plug in your headphones and listen to the soothing poetry of pulse waves all night long.

Continue reading “Android Talks Pulsewave”

Android On IPhone: New Treats

It seems that the iPhone 2g and 3g are the newest phones to get Android 2.2, codenamed Froyo. The process for installing Froyo if you have a jailbroken device seems to get even easier every time, with this revision being as simple as adding a repository, downloading Froyo, and pressing go. Follow the link for a wonderful step by step guide, complete with screenshots to take out all of the guess work. Android on iPhone sure has come a long way since the first time we covered it.

[via reddit]

Patching Into Android Music Control

Here’s a look at the TRRS cable that Android phones use. [Rich Kappmeier] want to control the music player on his Nexus One while driving. It’s not necessarily a safe endeavor if you’re staring at the screen and poking away with one hand while trying to stay in your lane. A little bit of research helped him figure out how the hardware in a headphone controller worked and he decided to incorporate that into a connector cable for the car.

The control signals rely on a specific resistance between the TRRS function ring and ground. Once he worked out the chart above and targeted the correct resistance values he built a rocker switch for Fast Forward and Reverse, as well as a Play/Pause button into the connector cable. You should be able to use this for more than just music control. Take a look at our Android Development tutorial and see what else you can come up with.

[Thanks Alastair]

Android Oscilloscope

Here’s a 2-channel Oscilloscope for your Android phone. It uses a base module driven by a dsPIC for signal processing. From there, an LMX9838 Bluetooth module broadcasts the data to the phone so that the waveform can be displayed. [Yus] ported some Python code he had been using over to a set of Java and XML files in order to get it working on Android. This was actually the first time he worked with the SDK… we’d say he’s a quick learner. See it in action after the break.

Continue reading “Android Oscilloscope”

Android Apps Using Processing

Processsing has come to Android. [Jer] posted a guide to setting up the software and coding your first Processing app for Android. The module which supports Google’s mobile operating system is not yet part of the stable Processing release but it works and is available to download and use. It provides support for Android version 2.1 and newer, playing nicely with the SDK to emulate your sketches during development. The Hello World app seen above uses just a few lines of code to draw a white box on an orange background. After you’ve installed and tested the tools you’ll be developing in no time.

This makes a great addition to your Android development tool bag.

[Thanks Tech B]

$169 Linux Tablet… Sortof

The Insignia Infocast is a $169 simple media device being sold at Best Buy. Marketed as a way to share photos and run Chumby apps, hackers are starting to release packages to extend its features. [Bunnie] shows us one package in particular that allows it to be used as a web browser with an external keyboard. With an 800Mhz processor, an 800×600 touch screen, and 2 GB of memory, we can see that this is just scratching the surface of what is possible. [Bunnie] points out that some people are working on porting Android to the device, and if you really feel adventurous, you can dig into the hardware.