hero adb issues.. - Hero, G2 Touch General

i must be doing something wrong. i just got a new laptop with windows 7 and attached my htc hero, and it automatically installed my drivers, but when i download the android sdk and try to partition the SD card on my phone, it just says 'device not found'. do i have to install drivers for my htc hero or something? thanks

The easiest way I do it is in windows 7 go to the sdk folder. In the top right of the window search for adb. Copy all three files.
Adb.exe and 2 adb...dll files.
Go to the Windows folder in the c drive. Then system32 and paste those files in there.
Go into your phone settings - applications - development and turn on debugging. Unplug and replug in the phone and go to cmd and type adb devices. Should show up.
Sent from my Nexus One using XDA App

Related

Install non-market apps without File Manager: Possible?

Simply put is there a way to get an app onto my phone without the market or file manager?
I ask because I want to use Haykuro's G build but I cant download any apps. I do however have all the ones I use regularly backed up onto my SD card but I cant access them without a File Manager (which I cant download to use). Is there a way?
|Spike|
There's always the option of using AppsInstaller/APKInstaller and putting APK's onto your SD Card. Though, to install AppsInstaller, you have to install it through ADB.
Unicornasaurus said:
There's always the option of using AppsInstaller/APKInstaller and putting APK's onto your SD Card. Though, to install AppsInstaller, you have to install it through ADB.
Click to expand...
Click to collapse
How do I install thru ADB?
|Spike|
Get the android usb drivers, adb.exe and adbwinapi.dll from an Android SDK. Plug the Dream in via USB and point to the location of the drivers when it is installed. Then open your command line, navigate to whatever folder adb.exe is in and type adb install <full path to the apk>. If you run Linux hopefully you can figure it out on your own based on the steps above.
Alternately, upload all the apks you want to the internet somewhere. Check the box to enable installation from Non-market sources in the system settings, then type the full URL of the apk into the browser. The package installer will take over from there.
Here's how you do it. Assuming your G1 is rooted
1. Download the attched files, and copy them into your \system32 folder (Start > Run > %systemroot%\system32)
2. Sure your G1 is enabled for USB Debugging (Settings > Applications > Development > USB debugging) and that your G1 has the appropriate drivers installed. If not, download the USB drivers from HERE
3. Plug your G1 into your computer (Make sure you have USB 2.0 - Click here to find out how to check). When your G1 says "USB Connected" DO NOT click "Mount"..don't do anything
4a. Vista users - Follow these steps. For XP Users, skip to step 5
4b. On your computer, browse to the directory where the APK for your file is located
4c. Once located, hold SHIFT and right click on a blank area of the folder
4d. Click on "Open Command Window Here"
4e. Type "adb install nameofyourapkhere.apk" - without the quotes.
4f. It might say something like "daemon service not started" or something, but it will start it and continue. It'll then say something like 626k/1293k bla bla bla
4g. If it was successful, it will just say "Success". You can close the command window and SHAZAM! Your program will now be installed on your G1, and you can access it like any other program on your phone
5. XP Users - Follow these directions:
a) You can either go Start > Run > type CMD and press enter
OR
Windows Key + R > type CMD and press enter
Navigate to your APK file via the command prompt. For easy usage, put your APK file on your desktop. That way all you have to do is type "CD Desktop" into the command prompt
b)Type "adb install nameofyourapkhere.apk"
c)You may get a couple of messages like in the steps for Vista users
d)If all goes well, you too will get the success message
e)Enjoy your application!
Any confusions, let me know. Hope it helps, and Good Luck!
I've been using a local web server and the android browser.
untermensch:
Thats a possibility, but oddly enough, that requires a http-server
AGx-07_162:
With unicornasaurus's method above, you can install all the apk's you want... you can install apkinstaller and use that through that method, but you can just aswell install your apk's directly through it
I ran into the same problem. Here is the easiest ways to get the appinstaller on your G1. Download this file from your g1 browser or Gmail yourself this file, and download.
http://www.mediafire.com/?egy0mop2qqx

it wont let me update my USB Driver?

im a noob to this...ive tried to do this many times but it just wont let me update it. i found the usb driver folder it just said that their is no driver in this folder?
please help
thank you
in the driver folder all i have is AMD64 and i386
Download HTC Sync for eris and it should automatically update drivers..
i think you need to point it to the "usb" folder and not one of the sub folders.
in any case, dclay is correct... htc sync will install drivers as well...
http://www.htc.com/us/support/droid-eris-verizon/downloads/
downloaded it now im on to the command prompt....now it keeps saying bad command bla bla
do i have to put the location of my tools folder into the command prompt?
it says...""is ont recognized as an internal or external command,operable program or batch file?
damn my buddy has an droid that does this sooo easily
Open command prompt and type "cd C:\AndroidSDK\tools"
This is assuming you have it saved on your C drive and have it renamed "AndroidSDK"

[Q] Help with finding driver for adb

Two quick questions; any help is much appreciated. As a newbie I am unable to get adb to detect my device; running 'adb devices' always yields an empty list under Windows 7. Searching different threads lead me to the recommendation to uninstall the mass storage device driver with USBdeview and then reinstall with the android usb driver (which is said to be under tools in the SDK); however, I can't find the driver file anywhere., nor is there an USB available package in the SDK. If someone could point me in the correct direction regarding how to run adb I'd be much appreciative; I have the SDK installed and the adb daemon appears to be running.
A quick second question is if I can get the device to be detected under adb, can mass storage driver and the android driver run simultaneously? Thanks again.
Duffyxy said:
Two quick questions; any help is much appreciated. As a newbie I am unable to get adb to detect my device; running 'adb devices' always yields an empty list under Windows 7. Searching different threads lead me to the recommendation to uninstall the mass storage device driver with USBdeview and then reinstall with the android usb driver (which is said to be under tools in the SDK); however, I can't find the driver file anywhere., nor is there an USB available package in the SDK. If someone could point me in the correct direction regarding how to run adb I'd be much appreciative; I have the SDK installed and the adb daemon appears to be running.
A quick second question is if I can get the device to be detected under adb, can mass storage driver and the android driver run simultaneously? Thanks again.
Click to expand...
Click to collapse
Look about 1/2 way down in the first post here:
http://forum.xda-developers.com/showthread.php?t=827209
Two quick questions; any help is much appreciated. As a newbie I am unable to get adb to detect my device; running 'adb devices' always yields an empty list under Windows 7. Searching different threads lead me to the recommendation to uninstall the mass storage device driver with USBdeview and then reinstall with the android usb driver (which is said to be under tools in the SDK); however, I can't find the driver file anywhere., nor is there an USB available package in the SDK. If someone could point me in the correct direction regarding how to run adb I'd be much appreciative; I have the SDK installed and the adb daemon appears to be running.
A quick second question is if I can get the device to be detected under adb, can mass storage driver and the android driver run simultaneously? Thanks again.
Click to expand...
Click to collapse
i downloaded "pda net " to my windows 7 64 bit pc when i was having the same usb issue, it then recognized my adb device(of course you have to uninstall the drivers that windows assigned to it first)... question 2 is yes!
Sent from my VEGAn-TAB-v1.0.0b2 using Tapatalk
You can always try Wireless ADB:
http://www.appbrain.com/app/adb-over-wifi-widget/bohlool.net.wifiadb
Wiki entry on setting up adb here: http://wiki.tegratab.com/index.php/Setting_up_ADB
aver2one said:
i downloaded "pda net " to my windows 7 64 bit pc when i was having the same usb issue, it then recognized my adb device(of course you have to uninstall the drivers that windows assigned to it first)... question 2 is yes!
Sent from my VEGAn-TAB-v1.0.0b2 using Tapatalk
Click to expand...
Click to collapse
You mentioned that you had to first uninstall the drivers that Windows assigned to it first.
Would you please share how you went about doing that? I've been stuck on this part (adb not recognizing my device) for quite a while now and can't seem to get past it.
Any help would be greatly appreciated.
Thanks much for the replies.....
Thanks. I tried each one but only the pad net worked. Regarding the second reply, there was no usb_driver folder in my Android SDK folder. I downloaded the inf file anyway but when I pointed to it during installation it gave me a 'file not found' error although it recognized the driver. PDA net worked fine. The adb wireless widget connected to my PC but the list of devices remained blank.
Thanks again for l the suggestions; perhaps as I become more knowledgeable I'll appreciate why the first and third suggestions didn't work, but I really appreciate your willingness to help.
Duffyxy said:
Thanks. I tried each one but only the pad net worked. Regarding the second reply, there was no usb_driver folder in my Android SDK folder. I downloaded the inf file anyway but when I pointed to it during installation it gave me a 'file not found' error although it recognized the driver. PDA net worked fine. The adb wireless widget connected to my PC but the list of devices remained blank.
Thanks again for l the suggestions; perhaps as I become more knowledgeable I'll appreciate why the first and third suggestions didn't work, but I really appreciate your willingness to help.
Click to expand...
Click to collapse
The reason you had no usb driver folder is because the android sdk was not fully setup. You need to run the sdk setup file in the android sdk folder first and download the rest of it. There are a bunch of different packages available. Follow the prompts.
To connect by wifi you need to use one of the adb wifi widgets on your tablet. When it is ready it should give you an address to connect to.
Then on your pc from a command line change the directory to your tools folder in the android sdk. Then type adb connect "address from adb wifi widget" and hit enter. Should then connect.
Sprdtyf350 said:
The reason you had no usb driver folder is because the android sdk was not fully setup. You need to run the sdk setup file in the android sdk folder first and download the rest of it. There are a bunch of different packages available. Follow the prompts.
To connect by wifi you need to use one of the adb wifi widgets on your tablet. When it is ready it should give you an address to connect to.
Then on your pc from a command line change the directory to your tools folder in the android sdk. Then type adb connect "address from adb wifi widget" and hit enter. Should then connect.
Click to expand...
Click to collapse
Thanks again! The wireless adb directions worked, although I should note that adb.exe is in the "platform-tools" folder and most references suggest it should be in the "tools" folder.
I thought I had installed the SDK correctly using the .exe file but, after downloading a number of packages, no USB package was available. After seeing your post I uninstalled, downloaded the zip version, ran android.bat update SDK and it again installed available packages but no USB; these included Android SDK tools, rev 8, SDK Platform tools, rev 1, documentation for SDK API 9, SDK Platform for vers 1.5 - 2.3, and several sample packages. Under 'Available packages' no USB package is listed, and there no .inf file in any of the installed directories.
Any thoughts? Could the inf file be located somewhere else?
Duffyxy said:
Thanks again! The wireless adb directions worked, although I should note that adb.exe is in the "platform-tools" folder and most references suggest it should be in the "tools" folder.
I thought I had installed the SDK correctly using the .exe file but, after downloading a number of packages, no USB package was available. After seeing your post I uninstalled, downloaded the zip version, ran android.bat update SDK and it again installed available packages but no USB; these included Android SDK tools, rev 8, SDK Platform tools, rev 1, documentation for SDK API 9, SDK Platform for vers 1.5 - 2.3, and several sample packages. Under 'Available packages' no USB package is listed, and there no .inf file in any of the installed directories.
Any thoughts? Could the inf file be located somewhere else?
Click to expand...
Click to collapse
I have seen the same thing with the locations. I just copied the files in the platform-tools folder to the tools folder. Send me a pm with your email and i will send my USB folder if you want.
Hi. I 'figured' it out (if it could be called that). rather than click on 'update all' in SDK manager, I selected Android SDK tools, then clicked 'update all' which gave me a series of archives options, one of which included the USB package. This was very non-intuitive but worked.
Thanks!
Cool.. Don't forget to use the modded info file.
Sent from my VEGAn-TAB-v1.0.0b3 using Tapatalk

ADB drivers for Desire HD?

Hey guys I have the famous problem with the installation of ADB drivers for my Desire HD how can I do? There are modded drivers or a guide to install it?
I have root, HBOOT S-OFF, cwm recovery and CM 6.1.2 stable installed
Thanks
Moskiller said:
Hey guys I have the famous problem with the installation of ADB drivers for my Desire HD how can I do? There are modded drivers or a guide to install it?
I have root, HBOOT S-OFF, cwm recovery and CM 6.1.2 stable installed
Thanks
Click to expand...
Click to collapse
Just use the HTC sync drivers, check adb devices to make sure your phone is detected.
Regards.
Step 1: Navigate to the folder where the Android SDK r07 file downloaded to. Extract the files to your C: drive.
Step 2: After the files have been extracted, navigate to the tools folder in the folder that the files were extracted to. Copy what you have in the address bar. In my case, this was C:\android-sdk-windows\tools. This is the path to the tools folder.
Step 3: Now we need to set the environment variables. Go to Start > Right Click on Computer > Properties > Advanced System Settings > Environment Variables. Look for the Path variable in the System Variables section and select it. Click on the Edit button. Leave the Variable name as Path. In the Variable value box, paste the path to tools folder that you copied in Step 2.
Step 4: Open up the Command Prompt by navigating the menu in the following order: Start > All Programs > Accessories > Command Prompt. This will open up a black window. Type in cd C:\android-sdk-windows\tools and then type adb devices and hit enter. You should see the serial number of your phone. If so, you're done! If not rebooting the phone and trying again.
Sent from my Desire HD using XDA App
Unfortunately your guide doesn't work for me , I turn on my phone with volume - and power button combination and then I plug usb with my pc, when it is connected on the device managaer only appear, under "other device" section, Android 1.0 device I tried to upgrade it with usb driver in tools folder of sdk but no results and then I tried your guide, am I wrong?
According to a blog post I found you need the propietary HTC Sync drivers installed or mod the .inf file of the Google driver.
"Another way, using the android SDK drivers is to modify the android_winusb.inf file – add the following lines:
under the [Google.NTx86] section
;HTC Desire
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C87
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C87&MI_01
;
save the file and then use Device Manager to update the driver – browse to the directory which has this modified file and viola…You should now have An Android Phone with Android Composite ADB Interface drivers"
This is from http: //jamesgiang.wordpress dot com/2010/04/25/adb-drivers-for-htc-desire/ - I can't post a link - (3rd post down). It is for the HTC desire, and it worked for my desire. Obviously, the code shown has to be changed slightly, but you can fiddle around with it to see if it works, or get a techie to help
Actually, I've just tried it and, though it seems fine, adb doesn't recognise it. If you've got htc sync installed, try updating the drivers by going to the c:\program files\htc\htc drivers\driver files\xpx86 or similar. That worked for me. ps I'm using a Desire, not a Desire HD, but they can't be too different
What version of sdk are you using ?
Sent from my Desire HD using XDA App
The last r8
Sent from my Desire HD using XDA App
thats why my guide wont work you need sdk r7 thats what i used 2days ago to flash the radio
At this moment I can't uninstall r8 version, I'm programming with it, how can I solve?
Sent from my Desire HD using XDA App
You can still download the android sdk r7 zip and extract then follow ny guide
Sent from my Desire HD using XDA App
Aamir.Badat said:
You can still download the android sdk r7 zip and extract then follow ny guide
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Sent from my Desire HD using XDA App
The question is why doing it hard way, when you can just install HTC Sync and be done.
HTC sync has all the drivers you need but to flash a radio through adb you need to set it up right.
Sent from my Desire HD using XDA App
Cant the Radio be flashed thru HTC Sync?
No its impossible
Sent from my Desire HD using XDA App
I changed the system variables and pressed OK... notcied a SDKManager.exe file in the folder as well.. when i clicked it asked me to update.. i canceled.. i think it is just to update.. and need not be touched.
My concern is that I changed the system variables and should they be left like that? no harm to windows 7?
So now I can just put the radio.img into the tools folder and type fastboot radio.img from the command prompt in windows while the phone is connected.. and it should flash the radio? The phone has to be in bootloader?
Cheers and thanks!
Aamir.Badat said:
Step 1: Navigate to the folder where the Android SDK r07 file downloaded to. Extract the files to your C: drive.
Step 2: After the files have been extracted, navigate to the tools folder in the folder that the files were extracted to. Copy what you have in the address bar. In my case, this was C:\android-sdk-windows\tools. This is the path to the tools folder.
Step 3: Now we need to set the environment variables. Go to Start > Right Click on Computer > Properties > Advanced System Settings > Environment Variables. Look for the Path variable in the System Variables section and select it. Click on the Edit button. Leave the Variable name as Path. In the Variable value box, paste the path to tools folder that you copied in Step 2.
Step 4: Open up the Command Prompt by navigating the menu in the following order: Start > All Programs > Accessories > Command Prompt. This will open up a black window. Type in cd C:\android-sdk-windows\tools and then type adb devices and hit enter. You should see the serial number of your phone. If so, you're done! If not rebooting the phone and trying again.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Windows 7 should be fine if you extracted the files at c root then just type the path which is in that guide and it should show c:\ android-sdk-windows/tools from there type adb devices and your cmd should show up a serial if it doesn't then you have to start again and also you phone should be in fastboot that can be accessed through the boot loader.
Sent from my Desire HD using XDA App
Aamir.Badat said:
Windows 7 should be fine if you extracted the files at c root then just type the path which is in that guide and it should show c:\ android-sdk-windows/tools from there type adb devices and your cmd should show up a serial if it doesn't then you have to start again and also you phone should be in fastboot that can be accessed through the boot loader.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
So what u mean is before i type the adb command from the cmd prompt, i should load the phone in bootloader and select fastboot? Sorry for these questions.

[Q] Having problems rooting my Nexus 4

Hello
I am trying to follow the advice of the ultimate Nexus Root Guide but I'm not getting far.
http://forum.xda-developers.com/showpost.php?p=34744793&postcount=1&nocache=1&z=7609413011377395
I have a Nexus 4 with Build JWR66Y
My computer is a Windows 7 64bit. I have downloaded a zip file for "adt-bundle-windows-x86_64-20131030" as requested in the tutorial. I have unzipped the contents into their own folder with the exact same name. I then put this folder directly onto the C/ disk. It is not in any other sub folder but directly on the C/ drive.
The contents within this folder are:
eclipse
sdk
SDK Manager.
When I go into the Windows computer Device Manager, my computer confirms that I have the most up-to-date drivers for my Android device.
I have also got the Developer Options in my phone. Within the Developer Options I have ticked USB debugging.
From this point I keep drawing a blank in the tutorial.
I would very much appreciate any help or advice as I have still not got anywhere close to rooting my phone.
Cheers
At this point you would unlock the boot loader.
Sent from my Nexus 4, while driving in my Evo9.
Actually you only need the platform-tools in the sdk folder to use ADB. It is easier if you just cut that platform-tools and put it in you rC drive. And if you installed the driver right, by typing ''adb devices'' in cmd (shift+right click, select open command window here) in the platform-tools folder, you will get to see your device is listed as device in cmd. Then you can proceed with the other commands, ''adb reboot bootloader'', ''fastboot oem unlock'' to unlock your bootloader and etc from that guide you have there.

Categories

Resources