Can't get adb shell to connect to real M912

by Chris Doherty » Fri, 14 Aug 2009 01:41:07 GMT


Sponsored Links
 Okay, I have Android built from the android-x86 source tree (http://
code.google.com/p/android-x86/) using the instructions on the wiki
there.  The only change I've made from the default is the addition of
the M912 touchscreen patch from the M912 Android patches project
( http://code.google.com/p/android-m912/ ).

Android is installed and booting from the hard drive on a real
Gigabyte M912 netbook.  The ethernet port is working and has received
an IP address successfully from a DHCP server.  I have Windows Vista
machine on the same subnet; that Windows Vista machine is running
Ubuntu 8.04 in a VMware Server 2.0 virtual machine.  Both Windows
Vista and the Ubuntu VM have the 1.5r3 SDK installed.

I can't get adb to connect to and run a shell on the M912 using adb
over Ethernet.  The M912 can ping both the Vista machine and the
Ubuntu VM by IP; both the Vista machine and the Ubuntu VM can ping the
M912 by IP.

When I try to connect to the adb on the M912, however the following
happens:

Vista machine:
C:\android-sdk-windows-1.5_r3\tools>set ADBHOST=xx.xx.xx.xx
C:\android-sdk-windows-1.5_r3\tools>adb kill-server
C:\android-sdk-windows-1.5_r3\tools>adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
emulator-5554   device

C:\android-sdk-windows-1.5_r3\tools>adb shell
- exec '/system/bin/sh' failed: Bad address (14) -

C:\android-sdk-windows-1.5_r3\tools>adb -s emulator-5554 shell
- exec '/system/bin/sh' failed: Bad address (14) -

ch...@marvin:~/android-sdk-linux_x86-1.5_r3/tools$ export
ADBHOST=10.118.198.117
ch...@marvin:~/android-sdk-linux_x86-1.5_r3/tools$ ./adb kill-server
ch...@marvin:~/android-sdk-linux_x86-1.5_r3/tools$ ./adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
emulator-5554   device

ch...@marvin:~/android-sdk-linux_x86-1.5_r3/tools$ ./adb shell
- exec '/system/bin/sh' failed: Bad address (14) -
ch...@marvin:~/android-sdk-linux_x86-1.5_r3/tools$ ./adb -s
emulator-5554 shell
- exec '/system/bin/sh' failed: Bad address (14) -


Am I doing something wrong?  Can anyone point me in the right
direction?  Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Can't get adb shell to connect to real M912

by RaviY » Tue, 25 Aug 2009 01:04:34 GMT


 We are seeing a similar error every once in a while ...
- exec '/system/bin/sh' failed: Bad address (14) -

Any suggestions?

Thanks,
Ravi



--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Other Threads

1. How to highlight the text in webview.

Hi All,

I have a webview, i am getting data from some url.

Here is the problem i want to select the text, I want to add that particular
URL as book mark in WebView. Then i want to send an e-mail of selected data
to someone.

Can some one help on this please.


Regards
-Srinivasa Reddy

-- 

2. Notification's VIBRATE is not enabled when a phone calling

Hi fellow Android developers,

I am using a notification with vibration.
The vibration doesn't vibrate when notifying in the alert while
calling the phone.

my code like ..

NotificationManager _notificationManager = (NotificationManager)
context.getSystemService(Context.NOTIFICATION_SERVICE);
Notification notification = new Notification(icon, id,
System.currentTimeMillis());
notification.defaults |= Notification.DEFAULT_VIBRATE;
notification.setLatestEventInfo(context,contentTitle,contentText,contentIntent);
_notificationManager.notify(id, notification);

The notification is displayed in the notification area. but It doesn't
vibrate.
I'm useing ht-03a and APILevel 4(platform1.6)
please help me.

thanks.

-- 

3. Querying Contacts DB w/ multiple synced accounts

4. Hard keyboard - opening direction

5. Changing the height of a WebView on runtime

6. scrolling a list within headder and footer

7. Intercept all trackboll events?