Learn How to Create an Old School Dialer

XDA is not only a great source for custom ROMs, kernels, and various modifications for numerous … more

USB Desktop Charger Roundup – XDA TV

Sometimes you learn one way to do something, and that’s the way you do it forever. You never … more

Samsung Galaxy Grand Duos Receives Early CM12 Port

Samsung Galaxy Grand is a dual-SIM phone with a 5 screen that was announced two years ago. … more

Google Adds New Features to Drive, Sheets, Slides and Docs

In the last few months, Google has been working very hard to adapt all its apps to … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

ADB USB Driver

OP dagentooboy

22nd October 2008, 02:50 PM   |  #1  
dagentooboy's Avatar
OP Senior Member
Flag Kansas
Thanks Meter: 136
 
516 posts
Join Date:Joined: Feb 2008
More
the USB driver for windows is available at:
http://dl.google.com/android/android_usb_windows.zip

It seems to work... I will update this thread with what I find.
Last edited by dagentooboy; 22nd October 2008 at 03:18 PM.
22nd October 2008, 06:29 PM   |  #2  
Junior Member
Flag Huntsville, AL
Thanks Meter: 0
 
14 posts
Join Date:Joined: Nov 2007
More
Thanks for posting the driver!

I've tried a few things with adb, and so far I can't get an install to work over usb. I tried the following command.

Quote:

C:\...\android-sdk-windows-1.0_r1\tools>adb install OperaMini.apk
579 KB/s (0 bytes in 278155.000s)
pkg: /data/local/tmp/OperaMini.apk
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

http://www.android-freeware.org/tuto...evice-emulator Had some basic info about the emulator, not sure what would be different for the G1.

The "adb shell" option allows you to access a shell on the phone over USB, which is really great but it appears you don't have root privileges. Any ideas on how to obtain root priveleges? Also, is there a command to install from the android shell? When i cd to /sbin i get access denied. I'm trying to figure out some kind of way to invoke an install either from the device or over USB.
22nd October 2008, 06:30 PM   |  #3  
dagentooboy's Avatar
OP Senior Member
Flag Kansas
Thanks Meter: 136
 
516 posts
Join Date:Joined: Feb 2008
More
I have the same problem... working on it now...
22nd October 2008, 07:37 PM   |  #4  
benmyers2941's Avatar
Senior Member
Flag Phoenix, AZ
Thanks Meter: 8
 
363 posts
Join Date:Joined: Oct 2007
More
I don't know about the USB installs, but it seems to be something with the APK as well. I also have the OperaMini.apk and it does nothing. I downloaded the iTunes remote via the G1 and it installed just fine without getting a PC involved.
22nd October 2008, 10:48 PM   |  #5  
benmyers2941's Avatar
Senior Member
Flag Phoenix, AZ
Thanks Meter: 8
 
363 posts
Join Date:Joined: Oct 2007
More
It looks like you have to put the phone into a "Debug on USB" mode to use ADB. It's working for me now.

http://code.google.com/android/intro...devicehardware
22nd October 2008, 11:06 PM   |  #6  
Junior Member
Flag Huntsville, AL
Thanks Meter: 0
 
14 posts
Join Date:Joined: Nov 2007
More
So you were able to install the opera mini apk through adb with no trouble? I got the error listed above and did have debug mode on
22nd October 2008, 11:13 PM   |  #7  
Senior Member
Flag San Jose, California
Thanks Meter: 5
 
129 posts
Join Date:Joined: Feb 2007
More
Thank you dagentooboy!
22nd October 2008, 11:14 PM   |  #8  
Mikey's Avatar
Retired Senior Moderator
Flag Chicago
Thanks Meter: 1,058
 
5,514 posts
Join Date:Joined: Oct 2007
Donate to Me
More
Can someone explain this for this not so savvy person?
22nd October 2008, 11:57 PM   |  #9  
benmyers2941's Avatar
Senior Member
Flag Phoenix, AZ
Thanks Meter: 8
 
363 posts
Join Date:Joined: Oct 2007
More
Quote:
Originally Posted by chrimage

So you were able to install the opera mini apk through adb with no trouble? I got the error listed above and did have debug mode on

I think that is caused by an issue with the the AndroidManifest.xml file within the APK having to do with going from "beta" to "live" Android. The same reason most of the apps were pulled from the store. I don't believe it takes a major change to make it compatible, but it's fully compiled so, unless you have a decompiler, I think we may be out of luck on that particular one. I have installed other apk's successfully using the same method.
23rd October 2008, 12:02 AM   |  #10  
benmyers2941's Avatar
Senior Member
Flag Phoenix, AZ
Thanks Meter: 8
 
363 posts
Join Date:Joined: Oct 2007
More
Quote:
Originally Posted by Mikey1022

Can someone explain this for this not so savvy person?

ADB is the Android Debug Bridge that comes as a part of the SKD. I don't think it was really intended as an end user tool. It has to be called from a command line. I know people have built basic UI's for it for file manipulation when the SDK was the only thing out there. If a better solution isn't found shortly I think we'll see one be made, or else I'll make one myself. In the end it seem to make a big difference of what you're trying to install some things work and some don't, there are some differences between the beta SDK and the G1.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes