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:

  1. Apply the patch to the synaptics touchscreen driver file.
  2. Build a new kernel with that modified version in it.
  3. Build a new boot.img using that kernel
  4. 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
  1. 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: , , , ,

5 Responses to “G1 Multitouch Proof of Concept: Source code posted”

  1. Hey, awesome. Now if I could get usb2.0 working in linux so I can brick my phone without having to boot into windows…

  2. can you make an easy, simple walk through with all downloads and exclamations for idiots like meh? lmfao

  3. 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.

Trackbacks/Pingbacks

  1. Source code for the G1 multitouch proof-of-concept posted
  2. Android Multi-Touch auf dem HTC G1 - jars.de - Java und Technologie

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>