Why LG GT540 after boot it disconnects with ADB
Some people have had their device turn on the mass storage mode by itself.

Verify that you haven't enabled Mass storage only mode in Settings -&gt; SD Card &amp; storage -&gt; Mass storage only, then reconnect &amp; restart adb daemon.