The ugly, thrown-together-hack that is the G1 multi-touch proof of concept now has the source code available.
The instructions for working / playing with this are:
Instructions:
If you want to build your own kernel with the char device for multitouch enabled:
- Apply the patch to the synaptics touchscreen driver file.
- Build a new kernel with that modified version in it.
- Build a new boot.img using that kernel
- Flash the kernel on the G1 with the new boot.img
If you don’t want to build your own kernel:
- Just copy the boot.img over to your sdcard and then:
flash_image boot /sdcard/boot.img
- Reboot the phone
Once the phone reboots, you need to create the device node for it to be able to read it.
It’s easiest to do this from your machine:
adb shell busybox mknod /dev/tsout c 249 0
To test if this works, cat /dev/tsout on the device while you are touching the screen.
Next, build and install the multipoc app from your eclipse build, and install it.
The proof-of-concept app is EXTREMELY rough. If you make significant improvements to things, let me know and I’ll update the files here.
The multitouch proof-of-concept java is based heavily on Google’s fingerpaint program.
Tags: Android, G1, hack, multitouch, source code
December 1st, 2008 at 2:35 pm
Hey, awesome. Now if I could get usb2.0 working in linux so I can brick my phone without having to boot into windows…
December 12th, 2008 at 9:41 pm
can you make an easy, simple walk through with all downloads and exclamations for idiots like meh? lmfao
January 31st, 2009 at 3:03 pm
Wow, I’m on the same boat as Alex. I was on the Luke Hutch page, read every word, and had NO idea what he was talking about. I don’t know what the flash & stuff is. I wish I understood a basic step by step & how to get to whatever I’m supposed to get too. I don’t understand computer talk. Maybe I’ll ask my dad to read it & see if he understands it.
If there is an easier way to tell me how to copy the boot to my SD card… what is the boot? & so on…. & how I’d copy it and where would I get it from & so on…. Please contact me?
eskimokissesx@hotmail.com
Thank you SO much.