G1 phone multitouch

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

Bill really likes us…

February 20th, 2009

Bill Gates, chairman, co-founder and former head of Microsoft, has predicted that continual expansion of Internet services will provoke a revolution in software development.

During a visit to Hong Kong, Gates attended a forum on August 12 to celebrate the tenth anniversary of Microsoft Research Asia, the company’s regional research lab, which was founded in 1998 in Beijing, and has provided training for more than 2,000 interns from universities in the region.

This was Gate’s first official speech in public after he stepped down as Microsoft Chief Executive in July 2008 to move to a full-time philanthropist role at the Bill and Melinda Gates Foundation.

This digital icon discussed likely technology breakthroughs in the next decade with the presidents of three local universities — Paul Chu, of the Hong Kong University of Science and Technology, Lawrence Lau, of The Chinese University of Hong Kong, and Tsui Lap-chee of The University of Hong Kong.

Underestimated changes

Gates told the 1,600 academics, IT representative and students that software breakthroughs would approach faster than they imagined.

He said one significant innovation will be the Natural User Interface (NUI) which had been underestimated. In the future it will “encompass all the new interaction techniques”, such as touch and speech. He predicted extensive application of NUI in the robotics field, so that future robots can “drive cars, pick things up and understand visual scenes”.

“Breakthroughs in hardware are definitely happening, as are breakthroughs in software,” said Gates.

Software-driven world

The former Microsoft Chief maintained that programs will drive every part of human life, with television and the Internet likely to fuse together. He said future televisions could all connect to the Internet, perform search functions, and locate videos using voice recognition.

“The devices that will be software-driven won’t stop at the personal computer, the full-screen device or the pocket-sized device, the phone. It will really be pervasive,” Gates said.

Microsoft Research Asia is currently conducting research on such televisions, where couch potatoes will key in search words with their remote controls, and the TV will search related videos using speech recognition technology. Users will also be able to customize channels with the search function.

Gates stressed that the Internet TV will only be part of the enormous change brought by technology within the next decade. “…the frontiers of software are constantly changing and that’s why this is an industry that’s so exciting,” he said.

Innovating for the better

Gates also shared his views on technology as solutions to global problems with university leaders, and stressed that innovations can change the world. He gave the example of the personal computer, describing it as “the best tool mankind ever created” when connected to the Internet, and said that many biological advances are achieved with the help of computers.

Chinese University of Hong Kong president, Lawrence Lau, highlighted the importance of the Internet in terms of knowledge distribution. He said access to broadband was crucial to overcoming poverty.

Two other local university leaders, Paul Chu and Tsui Lap-chee, agreed that properly managed technologies can solve global issues such as genetic diseases and even the energy shortage.

This trip is Gate’s first visit to Hong Kong in nine years. He had watched the Olympic Opening Ceremony before attending the forum in Hong Kong and meeting the city’s Chief Executive Donald Tsang.

Check it out for yourself.

Real kool post on computer books for kids.

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

Some ideas for the new year.

January 23rd, 2009

Hello all :) What I want to talk about today is my ideas for multi touch apps in 2009. As you all know already this technology is starting to take flight. Before you know it it will be everywhere. At airports, bars, malls you name it. With this in mind I had a idea about a social network were you can access your info from any internet connection. One would be able to view photos and videos. Check email ect… The twist is that I want to be able to do this on the same machine and with other users maybe. I think we could make use of this knowledge and information to speed up our lives. Say your walking down the street and you see a t shirt you want to buy in a store window but you forgot your phone so you can’t get online and see you bank account balance. Well if the store had this app you would be able to check your balance and get the rockin t shirt. Your hungry and want to grab a bite to eat. You already saw you balance and know you have more money so on to the cool coffee shop. Good pick because one of your friends is there and asked you about the party the other night. So you tell him about it and remmber you left your phone with the pictures. Well because the coffee shop has the app you can just login and share your fun times. Now how does multi touch come into this picture? Well instead of having 5-10 computers for each of it’s guests you can have a interactive wall that 5-10 users can use and need only one computer. The cost for the wall is cheaper then buying 10 computers. See my point yet. I fell that we can all use some thing like this now.

I also have a idea for a multi touch mind mapping software that you can work with others to draw diagrams and work flows. I have already started planing this out. I feel that by the end of this year I will have something to show.

WOW what a crazy year! 2008

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

21481 Unique Visits

September 10th, 2008

21481 Unique Visits  Thats a lot!!! keep them coming.

Ok I have my table back

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 :)

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.

Been away for a while :(

August 21st, 2008

Sorry for the delay guys. I have been busy with moving and all that comes with that. I moved back to the Big Apple. Yeah love to be back home. Anyway my table is in storage right now and waiting for me to get her out. I still plan on getting some more code done on the games that I have been doing. Also I will build a MTmini for the time being. So stay tuned for some updates. Won’t be long :)

niceminds.com LLP mouse driver tests w/ Radiohead

July 31st, 2008


Close
Powered by
Email+ It
Powered by