Saturday, August 7, 2010

Multitouch Panels and You

http://gizmodo.com/5606421/a-glimpse-of-the-multi+touch-djing-of-the-future

I found this the other day parusing through Gizmodo and was immediately hooked on "Howd they do that??" so I googled and researched for the next few hours until I found out how the technology works.

Currently, multi touch panels are a billion dollars unless you get an HP My Touch. If youre in the market for a 20" touch panel for your PC youre looking at spending upwards of 800 on a single display. The good news is that these acrylic multitouch beauties are about the same cost, but you can make one easily of 60" or greater in the comfort of your home. Heres the concept:

First, the image looks like its floating, because its projected from a DLP projector located on the floor via a mirror. You place the projector flat(ish) and angle the visual at a mirror, or just shoot the image straight at the surface. Any type of projector will work fine, lower lumens versions will be less visible in daylight or light in general.

Once youve picked out a projector youll need to get a surface ready. The surface does two things, it holds the image via rear projection shading so it doesnt shoot in your face. Second is it will conduct IR light from the sides and when touched, focus it downwards to a modified webcam.

So, the surface is made of three layers. A rear projection layer, an IR layer, and a touch layer. The key to this is ensuring you have the right materials. Rear Projection acrylic is fairly easy to get or make. Google ftw.

So, sublayer of Acrylic with Rear Projection film (Drafting Film is like $2/ft2) to catch the light. (Optional)
EndLighten Acrylic
Glass or Non Abrasive Acrylic for touch surface

Ive seen a number of versions using different technology, my personal recommendation is to try using JUST the EndLighten Acrylic and go from there, depending on your needs.

Under the Acrylic youll have a modified webcamera. The webcam is modified to accept ONLY IR light, between that its just a matter of software that turns touch into click.

This is more show of concept, as I start building mine ill relay more information.

Android Themes

This is a very short lesson if youve been following. Themes are typically made for specific Aftermarket ROMs, all youll have to do is download the theme you wish to install and place it on the root of your SD, once there reboot into Recovery and flash zip from SD and reboot. Simple as that.

Adviso, Ive noticed some themes make your phone slower or buggier. Always Nandroid.

Android Overclocking

Yes, you can overclock your phone. Most chips come from the manufacturer underclocked for the simple fact that underclocked processors use less power. By using less power your battery lasts longer, if battery isnt an issue and you want more performance out of your older phone, you should try this.

Some phone models will need a special Kernel to overclock your phone. Kernels are the heart of your operating system and can be fairly easily flashed to a different up upgraded kernel. Aftermarket ROMs typically have the functionality you will need to overclock.

Easiest way to tell is to simply go to the Market and download setCPU and try for yourself. If this allows you to make modifications and changes, then you are overclocked and ready to go!

The system allows you to do a number profiles depending on your priority, I tend to set mine to performance with a narrow band at max for the best performance on the device.

If you notice your phone becomes overly hot in the process, make sure you turn it down or off, you CAN DO damage to your phone.

Android Custom ROMs

After youve rooted your phone and are basking in its awesomeness, now you have to do something with it. What good is a ferrari if it sits in a garage.

Next step is to find a custom ROM or upgrade if thats what you chose. You can go either direction with it from this point. Upgrading is fairly simple and there are a ton of stock android roms around to chose from should you choose. I wont be going into stock ROMs because theyre fairly straight forwards.

Second option is a Custom ROM. A Custom ROM is a software package designed for your specific phone thats loaded with features and enhancements, everything from modified kernels to overclocking tools. Today in referencing the MyTouch 3G we will talk about Cyanogen.

Cyanogen is one of the leading experts on ROMs and their application, his team at http://www.cyanogenmod.com have just about everything you could want to stuff into it. Cyanogen Mod v6 RC2 is an experimental mod for Andorid that includes the much desired Android 2.2 software. (Android 2.2 came with a lot of new features and enchancements that make it scream faster and harder).

Once you have your phone rooted, every other mod is fairly painless from the recovery menu (Amon Ra 1.7)

Booting into recovery lets you access a number of features, one of which is flash zip from SD. This lets you flash data from the SD card in packages directly to the corresponding locations in the zip file. Think of it like the ability to push update your software? Anyway. So to load a custom ROM:

Download your selected ROM, for today itll be http://forum.cyanogenmod.com/files/category/7-htc-dream-htc-magic/

Download the ROM package and the Google Aps package below it. Load them both to your SD card through your PC and then boot into recovery.

ALWAYS ALWAYS ALWAYS create a Nandroid backup. Nandroid creates a complete and total image of your now working phone. Not creating a backup gives you few options to restore your system. Create the image, it only takes a few moments. I personally keep EVERY Nand backup in a folder on my PC just for reference sake and restoration.

Nandroid Backup
Wipe All
Select Flash Zip from SD, Select your ROM, Flash it
Select Flash Zip from SD, Select Google Apps Package, Flash it
Reboot
Sign in with google again like you first turned on your phone and SUCCESS!

Simple as that. I personally recommend that after you flash to the new rom, you turn it on and leave it sit for 10 minutes or so. It takes a lot longer to boot the first time and often ive had them reboot on their own the first time they boot in. Remember this is an RC and not 100% stable, its more like 99%

Android Introduction and Rooting

I never gave much thought to android as a device or an OS when it came out. The "Dream" G1 was ugly, and generally not very clean. No apps, nothing, just a google stamp on the back of it. Well, thats changed a lot in the last year.


Android devices are now very very common and everywhere, (http://www.androphones.com/) and theyre more powerful then I had originally understood.


Android is based on linux, the same software thats behind OSX, iOS, and Red Hat. This is software originally designed to run on a PC thats been ported over to a mobile device. Now with that being said the first thought that came to my mind was the power, its just a cell phone... right?


The current offering of Android is 2.2 and comes on the new Samsung Galaxy S models (http://www.samsungmobileusa.com/GalaxyS) among which is the Samsung Vibrant. The Vibrant has a 1GHz processor, 512 MBs of ram and a 16GB internal Hard Drive. Let that sink in for a moment and imagine what you could do with a phone that had that much power. What could you do with a mobile device that had this, incorporated EVERYTHING google and internet.


Android is far more than just a phone, its a way of doing things. Android gives you the ability to sync across your email, facebook, twitter, and google voice. It enables you to send links from your browser on your PC (http://code.google.com/p/chrometophone/) as well as use Google Navigator, for your GPS needs.


Oook, so all this being said, its more a wtfawesome device then a mobile device or a cell phone. Now you know what it is and what it can do, but what else can you do?


Devices with android go through a process called "rooting" to give the user access to change EVERYTHING about their phone. The proceedure is different based on which device you are using, for the example today I will go from the perspective of my MyTouch 3G 32B (aka HTC Magic 32B). Credit were credits due : (http://theunlockr.com/2010/04/26/how-to-root-the-htc-mytouch-3g/)




I. Before You Begin

1. This works on the OLD MyTouch only (the one without the 3.5mm headphone jack at the top of the phone).
2. YOU MUST DO THIS WHOLE PROCEDURE AND THEN DO THE NEXT ONE ON LOADING A CUSTOM ROM TO GET FULL ROOT ACCESS!

II. Downgrade to Cupcake

1. Download the Original SAPPIMG.nbh:
Original SAPPIMG.nbh
2. Plug the phone into your computer via USB. Select Mount by pulling down on the notification bar at the top of the phone’s screen and selecting the USB notification. You should now be able to access the sd card in your phone on your computer.
3. Now, put the .nbh file that you just downloaded on the root of the SD card (NOT in any folder, just on the sdcard itself).
4. Unplug the phone and turn it off.
5. Turn on the phone by holding the Volume Down button and the End key until the bootloader screen comes up.
6. Hit the End key to start the update. DO NOT INTERUPT THIS PROCESS.
7. Once it is done, hit the trackball to restart the phone. You now are on the stock Cupcake firmware.

III. Flash a Custom Recovery Image

1. On your phone, goto Settings, Applications, and make sure Unknown source is checked ON.
2. On your phone, goto Settings, SD card and phone storage, and click Unmount SD card.
3. Then click Format SD card (it should automatically remount after this).
4. Plug the phone into the compuer via USB, then pull down the notification bar and click on the SD card notification. Then click mount.
5. Download this APK and the recovery image and save it to your computer:
6. Once they are saved to your computer, copy them both to your SD card (do NOT put them inside any folders on the SD card, just put them on the SD card itself).
7. Unplug the phone from the computer once they are downloaded to the SD card.
8. Goto the Market and download Linda File Manager or any file manager program if you do not already have one.
9. Open the file manager and goto SDCard and then find the FlashRec apk file and click it. If asked tell it to use Package Installer to open it. It should automatically install the apk.
10. Open the FlashRec program and click on Backup Recovery Image and wait for it to finish.
11. Once done, click on the empty text box in the FlashRec program and type:
/sdcard/recovery.img
Then click on the Flash Custom RecoveryImage button and wait for it to finish.
12. Turn off the phone and turn it on into Recovery mode by holding down Home and Power to turn it on (keep holding until the recovery screen comes up has a bunch of text on a black background). So long as that screen comes up, LEAVE IT ON THAT SCREEN, you have done it correctly and can now go on to the How to Load a ROM video for your appropriate device!
13. To get Root access you MUST go to the next video mentioned above and load a custom ROM.
will go from the perspective of my MyTouch 3G 32B (aka HTC Magic 32B). Credit were credits due : (http://theunlockr.com/2010/04/26/how-to-root-the-htc-mytouch-3g/)
So now you have root access on your phone, success! But..... wtf do you do with it now? Everything.

Introduction

Well, a word of introduction. My name is Robert and Im a Computer Tech for ATT. I design hardware and networking solutions here in the house for a hobby and love to engineer devices and toys that make people go "wtf".

I figured, I do a lot of research and find things in about 20 locations and make them string along in my head and I wondered. What if someone else was researching this? What if I had already done the footwork that theyre redoing just to come to the same conclusions. Well, maybe I should share.

Here, Ill share. Wont promise itll be exciting, but its the randomness in my head.