[Galaxy S II Android Development] hawkerpaul:
Does anyone on here on NEAT use DroidExplorer? Specifically the console (adb) plug-in?

I don't suppose it is ROM related, so I apologize in advance, but I'm posting it up on here as I've had this working before on previous ROMs, so I'm not sure if there is possibly something that needs to be enabled in the ROM in order for and adb console to work? I cant get this to work on my laptop at home or on my works PC.

I can't get the plugin to respond at the console. When I type I get nothing.

If I do a CTRL-C, I then get the following in the console window:

# ~ #

so at least it appears to have a # prompt, but after which, the console returns what I type, but it does not execute the commands in the window.

In the DroidExplorer logs I get the following:

On opening DroidExplorer:

2012-08-09 12:28:35,774 [1 ][ DEBUG] [DroidExplorer.Core.Logger] Settings Loaded from file 'C:\Users\paulh\AppData\Roaming\DroidExplorer\Data\DroidExplorer.config'

2012-08-09 12:28:35,801 [1 ][ DEBUG] [DroidExplorer.Core.Logger] adb.exe start-server

2012-08-09 12:28:36,059 [1 ][ DEBUG] [DroidExplorer.Core.Logger] adb.exe root

2012-08-09 12:28:36,123 [1 ][ DEBUG] [DroidExplorer.Core.Logger] adb.exe devices

2012-08-09 12:28:36,169 [1 ][ DEBUG] [DroidExplorer.Core.Logger] adb.exe -s 304D191D7537386E shell getprop

2012-08-09 12:28:42,468 [5 ][ DEBUG] [DroidExplorer.Core.Logger] adb.exe -s 304D191D7537386E shell busybox ls -lFa --color=never "/"

2012-08-09 12:28:42,671 [5 ][ DEBUG] [DroidExplorer.Core.Logger] drwxr-xr-x 19 root root 0 Aug 9 12:03 ./

drwxr-xr-x 19 root root 0 Aug 9 12:03 ../

drwxr-xr-x 3 root root 0 Aug 9 12:03 acct/

drwxrwx--- 4 system cache 4096 Jul 9 15:30 cache/

-rwxrwxr-x 1 system system 244016 Jul 30 07:49 charger*

dr-x------ 2 root root 0 Aug 9 12:03 config/

drwxrwxrwx 3 root root 0 Aug 9 12:03 customkernel/

lrwxrwxrwx 1 root root 17 Aug 9 12:03 d -> /sys/kernel/debug/

drwxrwx--x 22 system system 4096 Aug 9 12:03 data/

-rw-r--r-- 1 system system 120 Aug 7 00:04 default.prop

drwxr-xr-x 12 root root 3640 Aug 9 12:03 dev/

drwxrwx--x 9 radio system 4096 Apr 10 20:46 efs/

lrwxrwxrwx 1 root root 11 Aug 9 12:03 etc -> /system/etc/

-rw-r--r-- 1 system system 3261 Aug 5 22:12 fota.rc

-rwxr-xr-x 1 system system 98800 Aug 5 22:12 init*

-rw-r--r-- 1 system system 2344 Jan 1 1970 init.goldfish.rc

-rw-r--r-- 1 system system 32847 Aug 5 22:12 init.rc

-rw-r--r-- 1 system system 3621 Aug 5 22:12 init.smdk4210.rc

-rw-r--r-- 1 system system 3981 Jan 1 1970 init.smdk4210.usb.rc

drwxr-xr-x 3 system system 0 Aug 7 12:20 lib/

-rw-r--r-- 1 system system 1709 Aug 5 22:12 lpm.rc

drwxrwxr-x 11 root system 0 Aug 9 12:03 mnt/

drwxrwx--x 2 system system 0 Aug 7 12:20 preload/

dr-xr-xr-x 171 root root 0 Jan 1 1970 proc/

-rw-r--r-- 1 system system 2160 Aug 7 00:04 recovery.rc

drwxr-xr-x 7 system system 0 Aug 9 12:03 res/

drwxr-xr-x 3 system system 0 Aug 7 12:20 sbin/

lrwxrwxrwx 1 root root 11 Aug 9 12:03 sdcard -> /mnt/sdcard/

drwxr-xr-x 12 root root 0 Aug 9 12:03 sys/

drwxr-xr-x 20 root root 4096 Jul 5 21:59 system/

drwxr-xr-x 2 system system 0 Aug 7 12:20 tmp/

-rw-r--r-- 1 system system 272 Jan 1 1970 ueventd.goldfish.rc

-rw-r--r-- 1 system system 3873 Apr 8 14:57 ueventd.rc

-rw-r--r-- 1 system system 1587 Apr 8 14:57 ueventd.smdk4210.rc

drwxr-xr-x 3 system system 0 Aug 7 12:20 vendor/

2012-08-09 12:28:42,687 [1 ][ DEBUG] [DroidExplorer.Core.Logger] adb.exe -s 304D191D7537386E shell busybox ls -lFa --color=never "/"

2012-08-09 12:28:42,770 [1 ][ DEBUG] [DroidExplorer.Core.Logger] drwxr-xr-x 19 root root 0 Aug 9 12:03 ./

drwxr-xr-x 19 root root 0 Aug 9 12:03 ../

drwxr-xr-x 3 root root 0 Aug 9 12:03 acct/

drwxrwx--- 4 system cache 4096 Jul 9 15:30 cache/

-rwxrwxr-x 1 system system 244016 Jul 30 07:49 charger*

dr-x------ 2 root root 0 Aug 9 12:03 config/

drwxrwxrwx 3 root root 0 Aug 9 12:03 customkernel/

lrwxrwxrwx 1 root root 17 Aug 9 12:03 d -> /sys/kernel/debug/

drwxrwx--x 22 system system 4096 Aug 9 12:03 data/

-rw-r--r-- 1 system system 120 Aug 7 00:04 default.prop

drwxr-xr-x 12 root root 3640 Aug 9 12:03 dev/

drwxrwx--x 9 radio system 4096 Apr 10 20:46 efs/

lrwxrwxrwx 1 root root 11 Aug 9 12:03 etc -> /system/etc/

-rw-r--r-- 1 system system 3261 Aug 5 22:12 fota.rc

-rwxr-xr-x 1 system system 98800 Aug 5 22:12 init*

-rw-r--r-- 1 system system 2344 Jan 1 1970 init.goldfish.rc

-rw-r--r-- 1 system system 32847 Aug 5 22:12 init.rc

-rw-r--r-- 1 system system 3621 Aug 5 22:12 init.smdk4210.rc

-rw-r--r-- 1 system system 3981 Jan 1 1970 init.smdk4210.usb.rc

drwxr-xr-x 3 system system 0 Aug 7 12:20 lib/

-rw-r--r-- 1 system system 1709 Aug 5 22:12 lpm.rc

drwxrwxr-x 11 root system 0 Aug 9 12:03 mnt/

drwxrwx--x 2 system system 0 Aug 7 12:20 preload/

dr-xr-xr-x 171 root root 0 Jan 1 1970 proc/

-rw-r--r-- 1 system system 2160 Aug 7 00:04 recovery.rc

drwxr-xr-x 7 system system 0 Aug 9 12:03 res/

drwxr-xr-x 3 system system 0 Aug 7 12:20 sbin/

lrwxrwxrwx 1 root root 11 Aug 9 12:03 sdcard -> /mnt/sdcard/

drwxr-xr-x 12 root root 0 Aug 9 12:03 sys/

drwxr-xr-x 20 root root 4096 Jul 5 21:59 system/

drwxr-xr-x 2 system system 0 Aug 7 12:20 tmp/

-rw-r--r-- 1 system system 272 Jan 1 1970 ueventd.goldfish.rc

-rw-r--r-- 1 system system 3873 Apr 8 14:57 ueventd.rc

-rw-r--r-- 1 system system 1587 Apr 8 14:57 ueventd.smdk4210.rc

drwxr-xr-x 3 system system 0 Aug 7 12:20 vendor/

2012-08-09 12:28:42,773 [1 ][ DEBUG] [DroidExplorer.Core.Logger] adb.exe -s 304D191D7537386E shell busybox ls -lFa --color=never "/"

2012-08-09 12:28:42,844 [1 ][ DEBUG] [DroidExplorer.Core.Logger] drwxr-xr-x 19 root root 0 Aug 9 12:03 ./

drwxr-xr-x 19 root root 0 Aug 9 12:03 ../

drwxr-xr-x 3 root root 0 Aug 9 12:03 acct/

drwxrwx--- 4 system cache 4096 Jul 9 15:30 cache/

-rwxrwxr-x 1 system system 244016 Jul 30 07:49 charger*

dr-x------ 2 root root 0 Aug 9 12:03 config/

drwxrwxrwx 3 root root 0 Aug 9 12:03 customkernel/

lrwxrwxrwx 1 root root 17 Aug 9 12:03 d -> /sys/kernel/debug/

drwxrwx--x 22 system system 4096 Aug 9 12:03 data/

-rw-r--r-- 1 system system 120 Aug 7 00:04 default.prop

drwxr-xr-x 12 root root 3640 Aug 9 12:03 dev/

drwxrwx--x 9 radio system 4096 Apr 10 20:46 efs/

lrwxrwxrwx 1 root root 11 Aug 9 12:03 etc -> /system/etc/

-rw-r--r-- 1 system system 3261 Aug 5 22:12 fota.rc

-rwxr-xr-x 1 system system 98800 Aug 5 22:12 init*

-rw-r--r-- 1 system system 2344 Jan 1 1970 init.goldfish.rc

-rw-r--r-- 1 system system 32847 Aug 5 22:12 init.rc

-rw-r--r-- 1 system system 3621 Aug 5 22:12 init.smdk4210.rc

-rw-r--r-- 1 system system 3981 Jan 1 1970 init.smdk4210.usb.rc

drwxr-xr-x 3 system system 0 Aug 7 12:20 lib/

-rw-r--r-- 1 system system 1709 Aug 5 22:12 lpm.rc

drwxrwxr-x 11 root system 0 Aug 9 12:03 mnt/

drwxrwx--x 2 system system 0 Aug 7 12:20 preload/

dr-xr-xr-x 171 root root 0 Jan 1 1970 proc/

-rw-r--r-- 1 system system 2160 Aug 7 00:04 recovery.rc

drwxr-xr-x 7 system system 0 Aug 9 12:03 res/

drwxr-xr-x 3 system system 0 Aug 7 12:20 sbin/

lrwxrwxrwx 1 root root 11 Aug 9 12:03 sdcard -> /mnt/sdcard/

drwxr-xr-x 12 root root 0 Aug 9 12:03 sys/

drwxr-xr-x 20 root root 4096 Jul 5 21:59 system/

drwxr-xr-x 2 system system 0 Aug 7 12:20 tmp/

-rw-r--r-- 1 system system 272 Jan 1 1970 ueventd.goldfish.rc

-rw-r--r-- 1 system system 3873 Apr 8 14:57 ueventd.rc

-rw-r--r-- 1 system system 1587 Apr 8 14:57 ueventd.smdk4210.rc

drwxr-xr-x 3 system system 0 Aug 7 12:20 vendor/

On opening the DroidExplorer Console:

2012-08-09 12:29:13,886 [1 ][ DEBUG] [DroidExplorer.Core.Logger] Run:

After I type ls<RTN>

2012-08-09 12:29:58,620 [1 ][ ERROR] [DroidExplorer.Core.Logger] Index was outside the bounds of the array. - System.IndexOutOfRangeException: Index was outside the bounds of the array.

at DroidExplorer.Plugins.UI.ShellConsole.GetLocation() in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Plugins\UI\ShellConsole.cs:line 361

at DroidExplorer.Plugins.UI.ShellConsole.shell_KeyPress(Object sender, KeyPressEventArgs e) in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Plugins\UI\ShellConsole.cs:line 250

at System.Windows.Forms.Control.OnKeyPress(KeyPressEventArgs e)

at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)

at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)

at System.Windows.Forms.Control.WmKeyChar(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.TextBoxBase.WndProc(Message& m)

at System.Windows.Forms.RichTextBox.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

2012-08-09 12:29:58,914 [1 ][ ERROR] [DroidExplorer.Core.Logger] Index was outside the bounds of the array. - System.IndexOutOfRangeException: Index was outside the bounds of the array.

at DroidExplorer.Plugins.UI.ShellConsole.GetLocation() in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Plugins\UI\ShellConsole.cs:line 361

at DroidExplorer.Plugins.UI.ShellConsole.shell_KeyPress(Object sender, KeyPressEventArgs e) in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Plugins\UI\ShellConsole.cs:line 250

at System.Windows.Forms.Control.OnKeyPress(KeyPressEventArgs e)

at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)

at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)

at System.Windows.Forms.Control.WmKeyChar(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.TextBoxBase.WndProc(Message& m)

at System.Windows.Forms.RichTextBox.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

2012-08-09 12:29:59,219 [1 ][ ERROR] [DroidExplorer.Core.Logger] Index was outside the bounds of the array. - System.IndexOutOfRangeException: Index was outside the bounds of the array.

at DroidExplorer.Plugins.UI.ShellConsole.GetLocation() in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Plugins\UI\ShellConsole.cs:line 361

at DroidExplorer.Plugins.UI.ShellConsole.shell_KeyPress(Object sender, KeyPressEventArgs e) in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Plugins\UI\ShellConsole.cs:line 250

at System.Windows.Forms.Control.OnKeyPress(KeyPressEventArgs e)

at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)

at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)

at System.Windows.Forms.Control.WmKeyChar(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.TextBoxBase.WndProc(Message& m)

at System.Windows.Forms.RichTextBox.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

After typing CTRL-C ls <RTN>

2012-08-09 12:31:44,279 [1 ][ DEBUG] [DroidExplorer.Core.Logger] Set ShellType: #

2012-08-09 12:31:44,279 [1 ][ DEBUG] [DroidExplorer.Core.Logger] SendCommand: ls

2012-08-09 12:31:44,279 [1 ][ DEBUG] [DroidExplorer.Core.Logger] Send Command: ls

but nothing is shown on the console window.