Posts Tagged ‘multitouch’

G1 phone multitouch

Sunday, March 1st, 2009

Android’s new 1.1 update doesn’t include multitouch because Google is scared of Apple. We are not, however, and nor should you be-follow our guide to get iPhone-like multitouch browsing on your G1 right now.

As teased yesterday, this update will also give you all the new Android 1.1 firmware features, so if you haven’t received your over-the-air update from T-Mobile yet, wait no more and follow our guide. And on top of the added multitouch features, the hacked ROM you’re going to install will also include handy root access to your G1 for further hacking.

Many thanks in particular to the folks at the xda-developers forum, the #1 hangout for HTC phone tweakers on the web.

What You’ll Need:
• Your G1
• USB cord
JFv1.41_RC33.zip-an Android RC33 ROM With Multitouch assembled by a nice chap that goes by the name of JesusFreke.
• An old RC29 ROM (with root access bug)
• An Android recovery image
• A micro-SD card reader (maybe, if you mess things up)
• The Android SDK (for installing more multitouch demos)

Let’s get started:

Downgrade Your Android Software to Gain Root Access
Even though Android is open source, access to the root user is disabled by default, so you still have to work to get root access. To do that you have to exploit a well publicized bug in an earlier Android build that easily allows you to slip into root access easily.

Note: In doing this, you will lose everything you have saved to your phone. Your synced Google Account info will of course stay put, but you’ll lose your installed apps, text messages, and anything you have on your SD card. Searching “backup” in the Android Market will lead you to apps that can backup your SMS messages and other files.

1. Your phone is likely running either the RC30 (1.0) or the new RC33 (1.1) version of the Android software (you can check under Settings -> About phone -> Build number). RC29 is the one with the bug, so you’ll need to download that file here (grab this one if you’re in the UK, and perhaps seek out a UK-specific guide, as we’re talking North American language here and I don’t want you to hurt your phone).

2. Reformat your phone’s SD card to the FAT32 format.

3. Rename the downloaded file to exactly this: DREAIMG.NBH in all caps for the extension and the filename. It matters. It will still show up with a lowercase extension in the bootloader, but that’s OK, as long as the file you dropped on your SD card was named properly, you won’t get a FAIL.

4. Drop the downloaded and renamed RC29 file onto your SD card via USB, power your phone off, and then power it back on while holding down the camera button. This will bring you into the bootloader. Press the power button to start the update, which will wipe your phone and install the old software.

5. When it’s done you should get a declaration of success. After that, hit the trackball button (known as the “action button” in the darker recesses of the G1’s bootloader) and then press Call, Menu and End simultaneously to reboot into your downgraded G1. You’ll see that you’re starting from scratch.

6. Sign in to your Google account and then grab the “Telnet” app from the market. You’ll need this to exploit your newly gained root access.

Update Your G1 With a Multitouch-Enabled ROM
Now that you have not only the permission but the impetus to do naughty things with root access, it’s time to install the updated Android files.

These are assembled by a nice chap that goes by the name of JesusFreke on various phone-hacking forums. He’s the one, primarily, who made all this multi-touching on the G1 possible.

1. Grab Le Freke’s RC33 v1.41 ROM (the one with multitouch goodness baked in) and rename it from “JFv1.41_RC33.zip” to “update.zip”-all lowercase-and copy it to your SD card.

2. Also grab this tweaked “recovery.img” file and also copy it to your SD card. Eject your SD card from your desktop and unplug the USB cable when you’re done.

3. Now that you’re in the exploit-y RC29 version, your phone will start responding to various Linux commands you type on the keyboard no matter what you happen to be doing in Android at the time. Fun! What you need to type to get root access is:

UPDATE:Due to some HTML weirdness, this command didn’t show up properly before. What you have to do here is press the enter key twice, then type “telnetd” (no quotes) and then hit enter once more. Sorry for the confusion:

[enter] [enter] telnetd [enter]

You may find yourself in some odd place in the OS, but it doesn’t matter-if done correctly, a telnet server should be running in the background on your phone.

4. Open up the Telnet app you downloaded from the Market, type in “localhost” in the box if it’s not there already, and tap “Connect to server.” You’ll see some weird ASCII characters, but all should be well. To test, type this in at the prompt (make sure you’ve ejected your SD card from your computer and detached the USB cable):

ls /sdcard

You should see the names of the files you copied (if you don’t, try step 3 and 4 again).

5. Now it’s time for some more command line magic. You’ll need to type four more commands to mount the file system in a writeable state, change to the system directory, copy the recovery.img file from your SD card to your phone’s /system directory, and flash the recovery image, in that order:

mount -o remount,rw /dev/block/mtdblock3 /system

cd /system

cat /sdcard/recovery.img > recovery.img

flash_image recovery recovery.img

You won’t get any response from any of these commands other than a slight pause before the next prompt appears-that means you’ve done everything correctly. If you get any error messages, check for typos and try again.

6. Power down your phone, then power it back on again. One power cycle is required to complete the magic.

7. Power down your phone AGAIN. And now, while off, start it up by holding the Home button along with Power; your phone will enter into recovery mode, which normally shows a caution icon with a phone, but will in this case stream a bunch of Linux code on the screen. Wait for that to calm down, and you will reach the ROM flashing screen of Mr. Freke’s design. If all looks good, press Alt+S to flash your ROM, then press Home+Back when prompted to restart into your multitouch-enabled G1.

8. Open up the browser, and try the ol’ pinch-to-zoom gesture. Hey, what’s that? Zooming! It’s not lighting fast at the moment, but I’d say it still beats pressing plus and minus buttons to zoom.

While Mr. JesusFreke is responsible for packaging this up for consumption, we can thank Mr. Luke Hutchison for the actual multitouch coding. His blog sheds more insight on the state of the multitouch implementation you’re now playing with, and illustrates how it will soon improve. But let’s play some more.

Download More Multitouch-Enabled Apps
In the flashed ROM you just installed, only the WebKit browser has been tweaked to accept multitouch input. But your fun shan’t stop there. Hutchison has provided a few more demo apps-including a simple Google Maps app, photo browser and fun Multitouch visualizer. You can download them all in .apk package format from his site.

To install an APK package via the Android SDK, make sure you’ve enabled “Unknown sources” under Settings -> Applications, then follow these instructions for Windows or, for Mac:

1. Open the Terminal and navigate to the directory where you unzipped the Android SDK (you can auto-fill the Unix path to any file or directory in Finder by dragging it to the cursor point in Terminal):

cd

2. Then, with your phone plugged in via USB, type:

./tools/adb install

3. After the “Success” message, voila, the app is now on your phone.

And that’s about it! Enjoy multitouch browsing, and for more Android hacking on the G1, check out these sites:

References

Real kool post on computer books for kids.

Sunday, January 25th, 2009

I came across this blog about books on programing from the 70’s and 80’s. It’s real cools seeing some of thoes books again. Have a look for yourself.

http://tedfelix.com/books/index.html

WOW what a crazy year! 2008

Sunday, January 4th, 2009

Hey guys I’m back. I have been so busy this past quarter year. I haven’t had the time to do much multi touch stuff. Thats about to change. 2009 is a fresh start for me. Going to give more time to the few apps I started and the 2 I have planed. It was hard not having the time to do this sooner but i feel that the time was spent learning new things and getting better at coding. I started using a few new tools like swftools pdf2swf and swfc learning to write sc scripts and compile swfs from scratch. I have been using Flashdevelop and loving it. This is were I say the best part is that it’s free. Thats so not true try it out yourself and see what I mean. Theres tons of things that make it bad ass. Also learned how to use eclipse with the FDT plug-in. What I still what to learn is python and ruby. Also red5 server if I have the time :) Well gots to run

Ok I have my table back

Wednesday, September 10th, 2008

It’s been a while with no multi touch over here. I finally got my table out of storage and now I will hook it back back tonight. Can’t wait any longer. It’s been a month or so. I will have pictures and videos up soon of my LLP set up. Stay tuned.

Have a safe and Happy Holiday :)

Sunday, August 31st, 2008

This is just a nice post about this hoilday. We are going to the beach today. Maybe do a little crabbing. Get some sawmill pizza and such. I hope evryone is wearing sunblock. That sun can be nasty sometimes. I got sunburnt last week in NJ. Thats crazy I never got burnt in Kentucky. Anyway have fun and stay safe.

niceminds.com LLP multi touch mouse driver tests

Tuesday, July 15th, 2008

I just bought 2 lasers

Thursday, July 3rd, 2008

I just bought 2 IR  lasers from ebay today. I should be getting them next week. The fun begins . I will be starting my next set up. This time a  LLP setup. I will post my results here with my video and photos as soon as I test them out.

Digg me!!!

Tuesday, June 24th, 2008

We need to get the word out on multi touch!

So Digg me  stumble me write some comments on my posts. join the NUI group add me to your blogroll I’ll do the same. This is the Web 2.0 age so why don’t we use it.

Sorry for the delay

Tuesday, June 24th, 2008

I haven’t been able to post much lately. With work and writing my first multi touch app. I have been swamped. I have to finish my how to. If all goes well I might have time this weekend to do it. I still want to finish my DI set-up. Want I’m going to do with that is totally rebuild it. Add more IR LEDs for daylight use and get the wide angle lens for the web cam. After that it will be 100 % done and the rest will be cosmetic. The color I pick is a Black for the exterior of the table. I might use Plexiglas for the sides and use a black cardboard underneath it with my graphic. This way it will be almost air tight and can be wiped clean if need be. Well thats what I have going on right now. So bear with me and maybe this weekend I can finish the How to.

NICEMINDS.com Brand New Title Screen

Friday, May 30th, 2008


Close
Powered by
Email+ It
Powered by