---
title: 'Between: 2010/09/01 en 2010/09/30 - 0110.be'
canonical: https://0110.be/date/2010/9
markdown_url: https://0110.be/date/2010/9.md
page: 0
posts_per_page: 30
total_posts: 1
filters:
  year: 2010
  month: 9
previous:
next:
---

# Between: 2010/09/01 en 2010/09/30 - 0110.be

## [How to Develop for LG GT540 Optimus on Ubuntu](https://0110.be/posts/How_to_Develop_for_LG_GT540_Optimus_on_Ubuntu.md)

- Published: 2010-09-17T00:00:00Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 312
- Canonical: https://0110.be/posts/How_to_Develop_for_LG_GT540_Optimus_on_Ubuntu

- Tags: [0110.be](https://0110.be/tags/0110.be.md), [Code](https://0110.be/tags/Code.md), [Hackerspace Ghent](https://0110.be/tags/Hackerspace%20Ghent.md)

This post describes a crucial aspect of how to connect an android phone, the LG GT540 Optimus, to an Ubunu Linux computer. The method is probably similar on different UNIX like platforms with different phones.

To recognize the phone when it is connected via usb you need to create an UDEV rule. Create the file `/etc/udev/rules.d/29.lg545.rules` with following contents:

\`\`\`ruby\
SUBSYSTEM\"usb\",ATTRS{idVendor}"1004",ATTRS{idProduct}=="61b4",MODE="0666"\
\`\`\`

On the phone you need to enable debugging using the settings and (this is rather important) make sure that the "mass storage only" setting is disabled.

[Rooting](http://android.modaco.com/content/lg-gt540-optimus-gt540-modaco-com/310737/how-to-root-your-lg-gt540/) the device makes sure you have superuser rights. Installing the android SDK is [well documented](http://developer.android.com/sdk/index.html).

Good luck!


---
