Android ADB Connection issue on a PXA27x hardware

by Srikant » Sun, 01 Aug 2010 00:58:01 GMT


Sponsored Links
 db pull/push commands show 0 bytes transferred??

For adb shell working, try the below from su
#adb kill-server
#adb shell

-

On Jul 30, 3:34pm, Dark Knight <vaisakhru...@gmail.com> wrote:

--



Android ADB Connection issue on a PXA27x hardware

by Dark Knight » Sun, 01 Aug 2010 23:28:01 GMT


 eah it was showing zero bytes, while pulling files, but the files
were getting transferred between PC and devices.
I will try killing server as per your command sequence.


Regards,
Vaisakh P S

On Jul 31, 9:57pm, Srikant <w.sreeka...@gmail.com> wrote:

--


Sponsored Links


Android ADB Connection issue on a PXA27x hardware

by Dark Knight » Mon, 02 Aug 2010 21:31:29 GMT


 I tried giving kill-server and adb shell, but the output is same. it
is giving "error:closed"

One more things I observed was that, when issued the command "adb usb"
after the device was connected and detected (using adb devices). i saw
the following log in logcat:

        disabling adb
        adb_release
        D/jdwp    (  777): adbd disconnected
        D/jdwp    (  837): adbd disconnected
        D/jdwp    (  890): adbd disconnected
        D/jdwp    (  871): adbd disconnected
        D/jdwp    (  917): adbd disconnected
        D/jdwp    (  911): adbd disconnected
        D/jdwp    (  902): adbd disconnected
        D/jdwp    (  844): adbd disconnected
        D/jdwp    (  853): adbd disconnected
        D/jdwp    (  864): adbd disconnected
        D/jdwp    (  784): adbd disconnected
        D/jdwp    (  781): adbd disconnected
        D/jdwp    (  715): adbd disconnected
        D/dalvikvm(  777): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  837): Debugger has detached; object registry had 1
entries
        D/dalvenabling adb
        ikvm(  890): Debugger has detached; object registry had 1 entries
        D/dalvikvm(  871): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  917): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  911): Debugger has detached; object registry had 1
entries
        D/adb_open
        dalvikvm(  902): Debugger has detached; object registry had 1 entries
        D/jdwp    (  924): adbd disconnected
        D/dalvikvm(  844): Debugger has detached; object registry had 1
entries
        D/jdwp    (  811): adbd disconnected
        D/dalvikvm(  853): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  864): Debugger has detached; object registry had 1
entries
        D/jdwp    (  789): adbd disconnected
        D/dalvikvm(  784): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  781): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  715): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  924): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  811): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  789): Debugger has detached; object registry had 1
entries
        I/power   (  715): *** set_screen_state 0

Also, after this any command like "adb shell" or "adb shell <any-
command>" is hanging.

Regards,
Vaisakh P S

-- 



Android ADB Connection issue on a PXA27x hardware

by Dark Knight » Fri, 06 Aug 2010 21:18:58 GMT


 Hi,

Found the problem, adb is creating process using /dev/ptmx device. it
was failing over there, as I had not added Unix PTY support in kernel.

Regards,
Vaisakh P S




-- 



Other Threads

1. Why is Bitmap.Config.ARGB_4444 so slow to draw?

ARGB_4444 probably forces Skia to go through unoptimized code paths.
This format is mostly useful to conserve memory but it kind of sucks
if you care about quality. I tried to use it a few times in the Home
application but I abandoned the idea because the loss of precision on
each channel is way too important to be worth it (shadows turned into
greenish halos and gradients looked awful.) It can definitely be
useful if you're very careful about the sources you use but I would
stick with 565 and 8888. Especially if we someday enable 2D hardware
accelerated drawing. I highly doubt the 4444 format will work well in
that case.






-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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

2. How to make games faster? Using view and redraw is way to slow it seems.

I have done a simple game where I draw on a View and use invalidate()
to force onDraw to be called.
This however doesn't seem to scale at all since even for this little
game it is quite slow.

So what is the solution, to use openGL? that is what all games should?
and then I should use frames rather than redrawing?
--~--~---------~--~----~------------~-------~--~----~

3. Why is Bitmap.Config.ARGB_4444 so slow to draw?

4. How to make SMS composing UI same Like Default.

5. Efficiency question resources

6. How to set some lists in one layout?

7. Diplay Logcats logs on console