Archive for the ‘set up’ Category

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

Getting ready for the next set up

Friday, July 4th, 2008

Ok so I have started planing my next multi touch set up. This time I’m going to build a LLP set up. I’m thinking of going with a LCD screen this time around. Maybe a 20 or 30 inch. I think that if I’m goning to do it. I should get a big one. I need to get a backlight ready too. I’m just happy I will be able to use the table in the daylight. This is a big step in the right direction.

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.

Here is my 3rd MT08 video enjoy

Saturday, May 17th, 2008

FS mirror

Monday, May 12th, 2008

Yesterday when I was out in the morning. I came across this TV repair shop in my town. Next to there dumpster they have all kinds of junk out for the garbage. Mostly old rear projection TV’s. Well in one of them the FS mirror was still there. Oh yeah 100 dollar mirror sitting there waiting for me to take it home. Guess what I did take it home. So now I have everything I need. That was my last part to get. I have been using a mirror I bought from Lowes ( a hardware store in the US) Now I can return that one and use the one I got from the dumpster. So now I will have a better image and no screen door effect. Awesome that made my day yesterday. It’s always nice to find money laying on the ground and in this case it was like finding money. I was going to ask them if they had mirrors that I could have but decided to wait and see if they threw one out first. You know if I asked they would want to charge me money. At lest thats what I thought and before I did spend more money I gave this a try. It paid off

4328 Unique Visits

Saturday, May 10th, 2008

WOW I have over 4,000 unique visits on my blog here. Thats awesome. This blog has really taken off the past month. I have a little more to do with this DI set up and then it’s done. I can’t wait to see it really work good. The last 2 videos I posted are a little crappy. I didn’t have the video cam on a tripod. But there bringing traffic to my blog. I have them posted on youtube so plz vote and comment them. Thanks

My First real video…Well more like a test : )

Sunday, May 4th, 2008

fire i

Thursday, May 1st, 2008

Ok so I have been waiting a while now looking at my options. And today I bought a Fire i web cam used off of eBay. I will have to wait until it gets here maybe next week. Before I test it out on my set up. I can’t wait. Also I saved half the price of a new one. I have read that the lens are interchangeable. So I might be buying one of those soon too. This is awesome! It is the last piece I need to finish up this project. Then I can turn to software development mainly flash.

Still in the works

Saturday, April 26th, 2008

I have still been working on this project. My DI set up is going though some mods right now. I have been working on the IR LEDs. Getting the right angle is not as easy as it sounds. It’s been fighting me all the way. I have a good idea how to solve this problem. I had to lower the LEDs and space them out some more. The only thing is I ran out of wire. So tomorrow I’m back at radio shack to get more wire. All in all most of this is ready. I had ordered some rear projection screen from rosebrand.com and had it sent to me. They did some of the props at Yankee stadium for the Pope when he was here. I thought that was pretty cool. The shipping was super fast. So the only thing holding me back is the IR LEDs. And hopeful I will knock that out tomorrow.


No Sleep till…

Tuesday, April 22nd, 2008

Hey guys,

I have time today to work on the MT08 today. So I will finish the LEDs. Then start running test on all the apps I have so far. Also will post video and photos today if I get lucky. This MT08 ( multi touch 2008) is 95 % done with the hardware. The look is a different story altogether. I have to paint it still and finish the box. Mainly the bottom and lower sides. Add wheels and Air flow holes. Also add a power strip. As this is just a prototype I will not go too crazy on the look. The next one I build will be top notch. I have a few tricks up my sleeve for that one. So stay tuned today for photos and videos on my MT08 DI set up.


Click Here


Close
Powered by
Email+ It
Powered by