[Q] Struggling to install Android SDK Tools :? [adb error] - Desire Q&A, Help & Troubleshooting

hey y'all
I'm currently having issues installing Android SDK to my laptop (running Windows 7 32-bit)
I've downloaded Android SDK program but I try to install it says "Java SE Development Kit (JDK) not found", prompting me to download the kit from java.oracle.com
So off to Java, I download the kit under link ' jdk-6u25-windows-i586.exe'
Install the kit successfully and try to install Android SDK again...but same error message
Android SDK Tools: installer_r11-windows.exe
Java JDK: jdk-6u25-windows-i586.exe
I've even uninstalled and re-installed HTC Sync, copied the HTC_Driver_32 & extract in C:drive...
I've been following the instructions from these links:
How to install adb windows 7 32 and 64 and should work on XP
Workaround for HTC Hero Sync Problem in Windows 7
How To: Set Up ADB/USB Drivers for Android Devices
HELP!

herb1 said:
hey y'all
I'm currently having issues installing Android SDK to my laptop (running Windows 7 32-bit)
I've downloaded Android SDK program but I try to install it says "Java SE Development Kit (JDK) not found", prompting me to download the kit from java.oracle.com
So off to Java, I download the kit under link ' jdk-6u25-windows-i586.exe'
Install the kit successfully and try to install Android SDK again...but same error message
Android SDK Tools: installer_r11-windows.exe
Java JDK: jdk-6u25-windows-i586.exe
I've even uninstalled and re-installed HTC Sync, copied the HTC_Driver_32 & extract in C:drive...
I've been following the instructions from these links:
How to install adb windows 7 32 and 64 and should work on XP
Workaround for HTC Hero Sync Problem in Windows 7
How To: Set Up ADB/USB Drivers for Android Devices
HELP!
Click to expand...
Click to collapse
It's a known issue. If you have JDK when you install SDK and get that error juck click back and then forward.

'adb' is not recognized...
new problem...managed to follow laie's method to install adb up till the step where I must type adb devices
I get this error (attached):
'adb' is not recognized as an internal or external command, operable program or batch file.
MORE HELP?!

herb1 said:
new problem...managed to follow laie's method to install adb up till the step where I must type adb devices
I get this error (attached):
'adb' is not recognized as an internal or external command, operable program or batch file.
MORE HELP?!
Click to expand...
Click to collapse
Check the ../platform-tools in stead of ../tools directory.

In my tools directory, I noticed a txt file (adb_has_moved)
Open it and it says:
'The adb tool has moved to platform-tools/
If you don't see this directory in your SDK, launch the SDK and AVD Manager (execute the android tool) and install "Android SDK Platform-tools"
Please also update your PATH environment variable to include the platform-tools/ directory, so you can execute adb from any location.'
So I open Android SDK and AVD Manager, it immediately starts to look for updates and gives me this error message:
'Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect'
What now?
Even tried open Manager from cmd (using android.bat from tools directory), didn't immediately look for updates but eventually it did & gave same error!
HELP?

herb1 said:
In my tools directory, I noticed a txt file (adb_has_moved)
Open it and it says:
'The adb tool has moved to platform-tools/
If you don't see this directory in your SDK, launch the SDK and AVD Manager (execute the android tool) and install "Android SDK Platform-tools"
Please also update your PATH environment variable to include the platform-tools/ directory, so you can execute adb from any location.'
So I open Android SDK and AVD Manager, it immediately starts to look for updates and gives me this error message:
'Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect'
What now?
Even tried open Manager from cmd (using android.bat from tools directory), didn't immediately look for updates but eventually it did & gave same error!
HELP?
Click to expand...
Click to collapse
It should update. Don't you have some firewall that precludes it to download updates ?
Edit: If you are using windows don't install Android SDK into the Program Files directory. You need special permissions to modify that folder so that's why you might have problems in the future. What you have reported first is a connection problem which has to be firewall related.

paul.c said:
It should update. Don't you have some firewall that precludes it to download updates ?
Click to expand...
Click to collapse
I think so (using work's PC)...any other way, maybe using my HTC?

herb1 said:
I think so (using work's PC)...any other way, maybe using my HTC?
Click to expand...
Click to collapse
Disable the firewall.

paul.c said:
Disable the firewall.
Click to expand...
Click to collapse
managed to download it via wireless on my HTC...thanks pal

Related

[Q] any idea on getting root

i know it just came out and all but my room mate got one and we were hoping someone will look for root i have an evo so i dont think i can help him much plus i dont know code so just wondering
thanks
I bought the Motorola Bravo which is similar to the Flipside and an app on the market called Z4ROOT was able to root the phone. It works on many phones not just the Bravo. Give that try and see if it works.
z4root does work for permanent root i have tried and can confirm
jediskywalker said:
i know it just came out and all but my room mate got one and we were hoping someone will look for root i have an evo so i dont think i can help him much plus i dont know code so just wondering
thanks
Click to expand...
Click to collapse
Rooting a Motorola Flipside
Download drivers for the phone:
http://www.motorola.com/staticfiles/Support/Experiences/Global_Drivers/USB_Drivers_bit_4.7.1.zip
With the phone unplugged from the USB, install the drivers
grab the ADB SDK files
http://dl.google.com/android/android-sdk_r08-windows.zip
Extract SDK files somewhere you will remember, and can easily type (for ease of use only)
Download z4root:
(you may need to sign up to download)
http://forum.xda-developers.com/attachment.php?attachmentid=446145&d=1290341328
Copy z4root.1.3.0.apk to your SDK folder
ON YOUR PHONE:
go to Apps Menu->Settings->Applications->Development and check "USB debugging"
Plug in your phone, and have it set to "Charge only"
go to the command prompt, and type
cd C:\"PATH TO SDK" <ENTER>
Now, type
adb install z4root.1.3.0.apk
Once that is complete, you can now go find Z4 in your programs list. I chose "permanently root". Your phone will
reboot, and then you are rooted.
Unknown sources is still disabled at this point, but you can now install apps that require super user
Tonight, I will try to enable "Unknown Sources" on my flipside.
UPDATE: To get "Unknown Sources" enabled, go to this thread:
http://forum.xda-developers.com/showthread.php?t=867637
Got my Flipside rooted and non market apps allowed
I followed the instructions given at modmymobile dot com forum. Look up "fully unlock 3rd party apps backflip" It allowed me to root my phone and install non market apps. I tried and tried to follow the instructions given here, but i guess they weren't idiot proof. It is for the backflip, but it worked perfectly for my Flipside. I couldn't post the link here.
Someone found some typos in my scripts. I have updated them so they are accurate. Should make things run better.
Hey I kinda need some help. I've gotten through all the way to entering "adb install z4root.1.3.0.apk" into the command prompt but all I get is a message saying "adb" is not recognized as an internal or external command, operable program or batch file. Anyone have any ideas on how this could be happening?
ishiiisbooyah said:
Hey I kinda need some help. I've gotten through all the way to entering "adb install z4root.1.3.0.apk" into the command prompt but all I get is a message saying "adb" is not recognized as an internal or external command, operable program or batch file. Anyone have any ideas on how this could be happening?
Click to expand...
Click to collapse
Lets say you installed your SDK in the default folder, you would need to type
Code:
cd c:\"Program Files"
cd Android
cd appinventor-extras
Now, I put mine in c:\SDK, so all I type is
Code:
cd c:\SDK
you either must add the SDK to your PATH, or find the directory that you installed it to, and then try running adb from there. If adb.exe isn't in the folder, you aren't in the right folder.
jonsjava said:
Rooting a Motorola Flipside
[/url]
Click to expand...
Click to collapse
hi
i m new in unlocking field
can i unlock this handset "flipside" by motorola came from usa at&T
if yes then plz explain
thanks in advance
RZ4root does not appear on the marketplace and when I click the link above it starts to download, then says the content is not supported on my phone.
Model num MB508 Motorola Flipside running Android 2.1 update 1.
You need to push it to the phone from a computer using adb to install z4root, now that it has been removed from the market.
Sent from my Liberty using Tapatalk
adb.exe not in the zip file
jonsjava said:
Rooting a Motorola Flipside
grab the ADB SDK files
android-sdk_r08-windows.zip
Extract SDK files somewhere you will remember, and can easily type (for ease of use only)
(...snipped...)
go to the command prompt, and type
cd C:\"PATH TO SDK" <ENTER>
Now, type
adb install z4root.1.3.0.apk
Click to expand...
Click to collapse
adb.exe is not present in the SDK that you linked. Are you sure that is the SDK we need to root the Flipside?
You have to install it manually. It comes with the platform-tools.
how do i install adb.exe from platform-tools
lol, i may ask stupid questions but this one wasnt me, i shouldnt leave my laptop lying around haha
jonsjava said:
Rooting a Motorola Flipside
Download drivers for the phone:
http://www.motorola.com/staticfiles/Support/Experiences/Global_Drivers/USB_Drivers_bit_4.7.1.zip
With the phone unplugged from the USB, install the drivers
grab the ADB SDK files
http://dl.google.com/android/android-sdk_r08-windows.zip
Extract SDK files somewhere you will remember, and can easily type (for ease of use only)
Download z4root:
(you may need to sign up to download)
http://forum.xda-developers.com/attachment.php?attachmentid=446145&d=1290341328
Copy z4root.1.3.0.apk to your SDK folder
ON YOUR PHONE:
go to Apps Menu->Settings->Applications->Development and check "USB debugging"
Plug in your phone, and have it set to "Charge only"
go to the command prompt, and type
cd C:\"PATH TO SDK" <ENTER>
Now, type
adb install z4root.1.3.0.apk
Once that is complete, you can now go find Z4 in your programs list. I chose "permanently root". Your phone will
reboot, and then you are rooted.
Unknown sources is still disabled at this point, but you can now install apps that require super user
Tonight, I will try to enable "Unknown Sources" on my flipside.
UPDATE: To get "Unknown Sources" enabled, go to this thread:
http://forum.xda-developers.com/showthread.php?t=867637
Click to expand...
Click to collapse
Notice:
For anyone having trouble rooting the Motorola Flipside with these instructions, after much trial and error I managed to get my girlfriend's rooted. I'll provide the method I took.
Note: The easiest way to do this is to have downloaded and extracted "android-sdk_r08-windows" directly to your (C: ) drive. Not under programs or another system folder.
Once you have it extracted to (C: ), copy and paste z4root.1.3.0.apk into the "android-sdk_r08-windows" folder. ADB.exe will most likely not be in here. What you have to do now is click on SDK Manager within the SDK folder. A Black Command window will pop-up, ignore it. A secondary window will pop-up prompting you to install the packages I went ahead and installed all of them (better if you don't know which to install).
Now that they've all been installed, a command line will state that ADB has to be restarted. Let it restart and it should say completed.
Now -- here's where everything was messing up. When you click open the SDK-R08 folder, you should have the z4root.apk file right there amongst a list of folders. Go to the "platform-tools" folder and in there you should see the ADB.exe file. Ignore that for now. While in platform-tools press Ctrl+A so that everything is highlighted. Right click and select Cut, back out to the main directory of the SDK R08 folder and select Paste so that the ADB.exe, .dll, and all the other files from within platform-tools is out and listed alongside the z4root.apk.
Next - Follow all of the instructions up to "Plug in your phone, and have it set to "Charge only" Like JonsJava said, open up command prompt (type in CMD in the "search programs and files bar"). If you extracted the "android-sdk-r08-windows" file directly to the (C: ) drive, all you have to type in is...
(Note: Before I go into that, it'll be easiest to rename the file "SDK" instead of the whole "android-sdk, etc, name... I'll complete the instructions assuming you renamed it to SDK. Continued below... all you have to type in is...
cd C:\SDK
(The next line below will look like this)
c:\SDK>
Here, type in... adb install z4root.1.3.0.apk
Total should look like... c:\SDK>adb install z4root.1.3.0.apk
Hit enter and it should go through a few instructions. From there look in the applist on your phone for z4root, click on it and select permanently root. Your phone will restart. From there you're rooted (test by downloading an app which requires root) and don't have to worry about the low memory issues every again. Glad I got the Captivate, lol. So much easier to root, rom, and overclock.
Last note:
Uploaded with ImageShack.us
This is what the main directory of the SDK folder should look like before you enter anything in the command line.
I don't seem to be able to get this...
I'm using x64 windows 7, I have a Flipside MB508 on 2.1, and I can't get this to work.
I followed all the instructions, updated all the platform-tools stuff, and now my problem lies with the driver, I believe.
I installed those Motorola drivers that were linked, with my phone unplugged, successfully..
copied the apk to C:\SDK...
found adb.exe in the platform-tools folder..
...and this happened..
C:\SDK\tools>cd C:\SDK
C:\SDK>cd platform-tools
C:\SDK\platform-tools>adb install C:\SDK\z4root.1.3.0.apk
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
C:\SDK\platform-tools>adb install C:\SDK\z4root.1.3.0.apk
error: device not found
C:\SDK\platform-tools>_
"error: device not found" every time i try this
USB debugging is on, phone is plugged in set to charge only..
Windows even sees it, the taskbar eject icon says 'Eject MB508"
please please help me get adb to see my phone.. I really want to be able to root this thing!!
EDIT: I noticed the Motorola drivers are 32bit.. I'm going to try 32 bit windows 7 instead of 64 bit and see if I get more successful results
EDIT 2: Bazinga!! Installed Win7 32 bit on my other HDD, booted up, followed the steps again, worked flawlessly! Thanks a lot for the easy instructions, got z4root installed, and my phone worked with permanent root
ErebusRaze said:
Notice:
Hit enter and it should go through a few instructions. From there look in the applist on your phone for z4root, click on it and select permanently root. Your phone will restart. From there you're rooted (test by downloading an app which requires root) and don't have to worry about the low memory issues every again. Glad I got the Captivate, lol. So much easier to root, rom, and overclock.
Click to expand...
Click to collapse
You wrote in here that once rooted, thebphone would no longer have low memory issues...i rooted my wife's phone, was able to sideload applications (but for some strange reason I am now unable to, as adb command prompt states 'device not found')- but she still gets low memory issues at least 2-3 times a week...
I should just hold up a sign...
LINK2SD
Its in the market
Sent from my MB508 using XDA App
Link2sd? What does this do? I briefly looked at the thread, but it is not entirely clear. The flip side is running 2.1. With this app, can we free up space by moving apps to the sd card? I thought that was only possible in 2.2?
thehotrod11 said:
Link2sd? What does this do? I briefly looked at the thread, but it is not entirely clear. The flip side is running 2.1. With this app, can we free up space by moving apps to the sd card? I thought that was only possible in 2.2?
Click to expand...
Click to collapse
Link2sd makes installing to sd card possible on 2.1...
Sent from my MB508 using XDA App

Installed Android SDK, wont work!

Can anyone help? Ive installed the SDK, ive installed the Java stuff, but when I try to open the SDK Manager it opens and closes instantly. I try running through command line and nothing happens.
Am I missing something? On 32 bit windows XP
Assuming you have admin rights on the machine...
Have you tried installing to a different location - like the root of C:
When you d/l the files, did you click properties, and in the bottom of the pane, did it indicate the files were blocked and did you unblock them?
Have you tried uninstalling the current, d/l them again and reinstalling?
Not sure how much this will help, but when I tried running SDK I ended up finding out after doing lots of research, getting some help and everything that it wasn't working properly because I downloaded the wrong version for my PC. Be sure you downloaded the correct SDK for your PC because that will play a big role in the program running correctly.
Re: Installed Android SDK, wont work!
If you used the exe then you need to run your advanced commands from "platform-tools" not the normal "tools" folder. You will see adb files in the currect folder.
/programfiles/android-adk-windows/platform-tools
It will me something like that
I'm not at the point where I can run advanced commands, I can't get the application to open AT ALL so I can't even download any versions of the Android OS etc.
DroidHam said:
but when I try to open the SDK Manager it opens and closes instantly.
Click to expand...
Click to collapse
...be more specific.
when you try to open the SDK manager, I assume you mean in Eclipse?
are you following these directions?
http://developer.android.com/sdk/installing.html
Im not using Eclipse, I just want to open the Android Emulator. I had done this before in windows without much hassle but now I cant get it to open
DroidHam said:
Im not using Eclipse, I just want to open the Android Emulator. I had done this before in windows without much hassle but now I cant get it to open
Click to expand...
Click to collapse
well you have to use eclipse to create an AVD (android virtual device).
Just follow the directions On the link I gave you. once you got eclipse all set up.
[[ this is the eclipse i'm running 3.6.1 classic: http://www.eclipse.org/downloads/do....6.1-201009090800/eclipse-SDK-3.6.1-win32.zip ]]
Click on WINDOW->Android SDK and AVD Manager.
Create a New AVD. Give it a name (something simple, short, all lowercase is best. I named the latest one gingerbread) and select the target (api version)
set an SD card, resolution, etc...etc....
once its created, you have to launch emulator from a command prompt and the AVD switch to specify an android virtual device.
in dos, navigate to the SDK\tools directory, and run
emulator -avd gingerbread
or whatever you named your avd. got it?
ill give it a shot, thanks

ADB.exe

Sorry for the noob question but when I download the latests SDK there is no ADB.exe file in the tools directory anymore.
How do I start ADB with the latest SDK release?
hav0c said:
Sorry for the noob question but when I download the latests SDK there is no ADB.exe file in the tools directory anymore.
How do I start ADB with the latest SDK release?
Click to expand...
Click to collapse
What are your folders once extracted? It will be in one of them!
do you mean it was there an now its gone??
also have you hooked up phone(charge only) to usb, opened command prompt and type adb devices to see if adb starts? cause it may just be placed in different folder in sdk. think it does in new sdk but can't remember which folder doh .
This is the content of my tools folder:
Code:
cat ls.txt
android
ant
apkbuilder
ddms
dmtracedump
draw9patch
emulator
etc1tool
hierarchyviewer
hprof-conv
layoutopt
lib
ls.txt
mksdcard
monkeyrunner
NOTICE.txt
proguard
source.properties
sqlite3
traceview
zipalign
(Same content in my SDK folder in Windows. No ADB.exe..)
have you try to run adb in cmd.exe ?
have a look in platform-tools folder it were im finding adb but im on linux mint right now but should be same
I don't have that folder.
If I download the SDK (zip) from http://developer.android.com/sdk/index.html adb.exe is not in it..
Is that the same for you guys?
hav0c said:
I don't have that folder.
If I download the SDK (zip) from http://developer.android.com/sdk/index.html adb.exe is not in it..
Is that the same for you guys?
Click to expand...
Click to collapse
no thats were i downloaded from, both windows and linux hold on il go into windows an have a look but have you try running adb you can only start it in command prompt (cmd.exe) if your using windows xp. just right click in any windows from menu choose command prompt,plug phone to usb,make sure you have usb debugging on in phone(setting>application >development) and then type adb devices and see itf adb starts for you.
try doing this.
yeah its in platform-tools folder and you can find this in the main folder of the android-sdk-windows folder
check it out it there
Platform-tools doesn't come with the sdk by default if I recall correctly. You need to run the sdk manager and select it as an optional component to download. I'm a long way from my computer right now so I can't double check for you sorry.
Sent from my performance enhanced Desire HD.
dr.m0x said:
Platform-tools doesn't come with the sdk by default if I recall correctly. You need to run the sdk manager and select it as an optional component to download. I'm a long way from my computer right now so I can't double check for you sorry.
Sent from my performance enhanced Desire HD.
Click to expand...
Click to collapse
I do believe your correct.
Sent from my Desire HD using XDA App
dr.m0x said:
Platform-tools doesn't come with the sdk by default if I recall correctly. You need to run the sdk manager and select it as an optional component to download. I'm a long way from my computer right now so I can't double check for you sorry.
Sent from my performance enhanced Desire HD.
Click to expand...
Click to collapse
lol prob why can't find it
It's not there (even after update all)
Thanks anyway..
Looks like it's all change since the version I downloaded when I got my Hero last year.
Taken from the SDK Readme in the latest SDK download, confirming what has been said above:
Welcome to the Android SDK!
The Android SDK archive now only contains the tools. It no longer comes
populated with a specific Android platform or Google add-on. Instead you
use the SDK Manager to install or update SDK components such as platforms,
tools, add-ons, and documentation.
In order to start developing applications, you must install at least one
version of the Android platform using the SDK Manager.
This requires an Internet connection, so if you plan to use the SDK
offline, please make sure to download the necessary components while online.
To start the SDK Manager, please execute the program "SDK Setup.exe".
From the command-line you can also directly trigger an update by
executing:
tools\android.bat update sdk
For more information, please consult the Android web site at
http://developer.android.com
Click to expand...
Click to collapse
hav0c said:
Sorry for the noob question but when I download the latests SDK there is no ADB.exe file in the tools directory anymore.
How do I start ADB with the latest SDK release?
Click to expand...
Click to collapse
there is a adb_blabla.txt file with tells you how you can find adb.exe
aivilon said:
there is a adb_blabla.txt file with tells you how you can find adb.exe
Click to expand...
Click to collapse
I reckon he's probably worked that out in the last nine months
//sent from my Desire HD using Tapatalk; all errors entirely intentional.
Is someone going to just solve the mystery?
Lots of talk
So bottom line, will someone just solve the mystery.
1) If it is installed with SDK where is it and why does search not find it.
2) If it is NOT installed where do we get it.
Thanks
paulckruger said:
Lots of talk
So bottom line, will someone just solve the mystery.
1) If it is installed with SDK where is it and why does search not find it.
2) If it is NOT installed where do we get it.
Thanks
Click to expand...
Click to collapse
You have to install platform tools from "sdk manager.exe".....adb will be under the platform-tools folder after that
Sent from my HTC Inspire 4G using Tapatalk
paulckruger said:
Lots of talk
So bottom line, will someone just solve the mystery.
1) If it is installed with SDK where is it and why does search not find it.
2) If it is NOT installed where do we get it.
Thanks
Click to expand...
Click to collapse
Don't search for it. Go to the directory and look for it. Windows search is a joke
zelendel said:
Don't search for it. Go to the directory and look for it. Windows search is a joke
Click to expand...
Click to collapse
I have done that as well and find to trace of that file? I use a third party search which is better than windows search...does not exist c:/android/***** which is the install directory for the SDK.
Again...if it is not there where do I get it?
paulckruger said:
I have done that as well and find to trace of that file? I use a third party search which is better than windows search...does not exist c:/android/***** which is the install directory for the SDK.
Again...if it is not there where do I get it?
Click to expand...
Click to collapse
As already stated, it is not installed with the SDK by default. In the tools folder there's a text file called "adb_has_moved.txt" which tells you that you need to launch the SDK and install "Android SDK Platform-tools" to get it. Like chrisz5z said.

[Q] SDK Not working (Can't find Java?)

Well I'm obviously doing well because I can't even get the SDK to work...
This is what I've done:
Went to the website, downloaded the executable version of the SDK.
Went to install it, was told I needed the Java JDK.
Installed Java JDK.
Installed the SDK and a command prompt opens for all of two seconds, closes and leaves me going... whatttt!??!
So I did a search, and have tried to do the following (in no particular order):
Step #1: Open up a command prompt.
Step #2: Use the cd command to move to wherever you installed your Android SDK.
Step #3: Run tools\android.
I get the following message:
'SearchForJava' is not recognized as an internal or external command, operable program or batch file.
WARNING: Java not found. In order to properly use the Android Developer Tools, you need a suitable version of Java JDK installed on your system.
We recommend that you install the JDK version of Java SE, available here:
http://www. oracle.com/techwork/java.javase/downloads
You can find the complete Android SDK requirements here:
http://developer.android.com/sdk/requirements.html.
So I don't really understand why it says it can't find it if I obviously have it installed and it wouldn't have let me install the SDK without verifying I did indeed have the JDK.
I did more searching and then decided to do this:
edit \tools\android.bat
find "%jar_path%;%swt_path%\swt.jar"
modify to "%tools_dir%\%jar_path%;%tools_dir%\%swt_path%\swt.jar"
save, and run SDK Manager.exe again
Again, nothing.
I then tried resetting the path.
Select Computer from the Start menu
Choose System Properties from the context menu
Click Advanced system settings > Advanced tab
Click on Environment Variables, under System Variables, find PATH, and click on it.
In the Edit windows, modify PATH
I deleted everything that was there and put the path to the java files(?) C:\program files\java\jdk1.7.0_02\bin
I tried running the SDK again and got nothing.
I then downloaded the zip version of the SDK tried all of the above and didn't work.
I then read somewhere that if you just make a new user account and install the SDK exe file that it would work, but it didn't.
So anyone have any idea about what I can do? I'm so lost and frustrated! Would it help if I installed Eclipse? (is it a way to bypass Java? it's driving me nuts)
Thank you so much!
So
Well... now I have a different error haha. Here's what I did:
I uninstalled everything, the java jdk and jre and all of that. I uninstalled the Android SDK.
I reinstalled the Java programs, reinstalled Android SDK, that didn't work
I then went and modified the path again, deleted all of the other stuff and put C:\program files\java\jdk1.7.0_02\bin
That didn't work.
I then went and edited the android.bat (as above) that didn't work, I then did a cd in the command prompt, typed: tools/android and got this error message:
Error: Unable to access jarfile lib\achrquery.jar
'xcopy' is not recognized as an internal or externam command, operable program or batch file.
Error: SWT folder ' ' does not exist.
Please set Android_SWT to point to the folder containing swt.jar for your platform
So now what?
Er
Did you put a ; before and after the java path?
I did that now, but still the same error
I then went and modified the path again, deleted all of the other stuff and put C:\program files\java\jdk1.7.0_02\bin
Click to expand...
Click to collapse
This is bad, now your comp does not find basic programs like xcopy so it sure won't work, get back your PATH variable as it was, then at the add a";" and the path to your jdk/bin folder, it should work. if not post again and we'll try to help.
I went to my other computer, copied what I had in the path, put it on this computer and this is the error message:
Error: Unable to access jarfile lib\archquery.jar
Invalid number of parameters
ERROR: SWT folder ';C:\Program Files\Android\tools\lib\x86_64;' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platfo
rm.
I've also downloaded a new swt.jar in case the one I had was corrupt or something
Well, I managed to get the SDK to work.. I installed it on another computer 0_o hahaha
I'll try and figure out what went wrong if anyone's interested but yeah.. that was a pain!

Question Solved: Can not access fastboot device driver not found and I can not locate any either

So I have the drivers
usb_driver_r13-windows: from google they do not work and as far as I can see they are the latest
They are from 7/23/2020 but they are the latest Google provides.
I have installed OP9P_Default_Drivers, do not help at all either
I also downloaded: https://oneplusdriver.com/download-oneplus-driver, again no help in fastboot
Now they are in C:\Program Files (x86)\OnePlus USB Drivers
however trying to point here to use this driver fails "The hash for the file is not porsent ..." and it refuses to use this driver.
tool_amd64, can not install thr driver either as it also fails to install, the lost is clean:
Code:
OnePlus USB Drivers install...
Get system info ...
CPU architecture: AMD64
Operater System: Windows 8
Install drivers command:
tool_amd64.exe /PATH . /LM /SW
mtp & rndis drivers not need install.
set adb environment...
find ANDROID HOME = C:\Android
ANDROID HOME already exist!
adb path already exist in path!
check system environment...
system32 is not in USER path
system32 path already exist in path!
install drivers success!
I also tried: L2 drivers which should not and do not work.
Simply put I'm unable to locate any driver that supports "USB\VID_18D1&PID_D00D"
I'm un sure how anyone is doing anything in fastboot, if there is not a driver that supports this ID, but based on multiple Google searching I'm not locating any others that I'd even trust to try, or that would make any sense to try.
So at this point I'm completely blocked, from unlocking the phone (step 0 for me), as there is no driver that is supported for fastboot and the One Plus 9 Pro and Windows 10 20H2 with the latest patches from 05/2021, as something seems very wrong with the one plus driver.
Very unhappy right now with One Plus!
ERIC
Win 10 right...I had fastboot issues and found a thread eventually that walked me through booting win 10 in a way that gave me the option to disable security checks on driver's, and then I was able to install the OP driver I needed and voila fastboot could see my device.
sbcdave said:
Win 10 right...I had fastboot issues and found a thread eventually that walked me through booting win 10 in a way that gave me the option to disable security checks on driver's, and then I was able to install the OP driver I needed and voila fastboot could see my device.
Click to expand...
Click to collapse
That is not a safe thing to do, it is on One Plus to provide a valid signed driver, right now I'm using a Linux VM as fastboot and linux = however oneplus needs a valid WIndows 10 driver that is signed
egandt said:
So I have the drivers
usb_driver_r13-windows: from google they do not work and as far as I can see they are the latest
They are from 7/23/2020 but they are the latest Google provides.
I have installed OP9P_Default_Drivers, do not help at all either
I also downloaded: https://oneplusdriver.com/download-oneplus-driver, again no help in fastboot
Now they are in C:\Program Files (x86)\OnePlus USB Drivers
however trying to point here to use this driver fails "The hash for the file is not porsent ..." and it refuses to use this driver.
tool_amd64, can not install thr driver either as it also fails to install, the lost is clean:
Code:
OnePlus USB Drivers install...
Get system info ...
CPU architecture: AMD64
Operater System: Windows 8
Install drivers command:
tool_amd64.exe /PATH . /LM /SW
mtp & rndis drivers not need install.
set adb environment...
find ANDROID HOME = C:\Android
ANDROID HOME already exist!
adb path already exist in path!
check system environment...
system32 is not in USER path
system32 path already exist in path!
install drivers success!
I also tried: L2 drivers which should not and do not work.
Simply put I'm unable to locate any driver that supports "USB\VID_18D1&PID_D00D"
I'm un sure how anyone is doing anything in fastboot, if there is not a driver that supports this ID, but based on multiple Google searching I'm not locating any others that I'd even trust to try, or that would make any sense to try.
So at this point I'm completely blocked, from unlocking the phone (step 0 for me), as there is no driver that is supported for fastboot and the One Plus 9 Pro and Windows 10 20H2 with the latest patches from 05/2021, as something seems very wrong with the one plus driver.
Very unhappy right now with One Plus!
ERIC
Click to expand...
Click to collapse
Check your windows updates section, I was having the same issue. Was available through there for me, no problems after that.
egandt said:
That is not a safe thing to do, it is on One Plus to provide a valid signed driver, right now I'm using a Linux VM as fastboot and linux = however oneplus needs a valid WIndows 10 driver that is signed
Click to expand...
Click to collapse
I'm not sure this is valid. Would Windows 10 accept the driver if it was signed with LetsEncrypt certs... I doubt it.
Go to Windows Update -> Optional Updates.
You'll find the fastboot and adb drivers there.
If you're using a USB dock, try putting the USB cable directly into your PC instead, I've seen that fix problems where the phone isn't being seen
Reli4nth said:
Go to Windows Update -> Optional Updates.
Click to expand...
Click to collapse
worked so much easier than messing with external questionable drivers.
We have to disable the signature checks on windows. Run CMD as Administrator and paste the below codes and Hit Enter. Reboot your PC after doing this.
bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
Now try to install the one plus drivers again, and it should be done in 5 mins. After this windows will identify your device in fastboot mode.
Reli4nth said:
Go to Windows Update -> Optional Updates.
You'll find the fastboot and adb drivers there.
Click to expand...
Click to collapse
hey, where did you find the fastboot and adb drivers? When i enter "optional updates" in the search bar i can only see a very limited number of updates.
thx
EDIT: found out my problem was the missing driver. The Driver CD showed no files so i installed a driver from here: https://www.technobuzz.net/oneplus-6-usb-drivers/
Deavtivated the signature with the help of this
bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
Now i can find my phone in fastboot.
My only hope is that the installed driver was legit. Couldnt find an official version.. :S
Yikes....forgot there was a time I didn't know this.
Direct from Google (no "questionable about 'em, they are Google's own tools/drivers) -
ADB and Fastboot:
SDK Tools release notes | Android Studio | Android Developers
Learn about the Android SDK Tools component for the Android SDK.
developer.android.com
(Set PATH in Envorinment Variables to whatever folder you extract these to in order to have access to adb/fastboot in any folder using command-prompt.)
USB-Drivers (ADB fastboot):
Get the Google USB Driver | Android Studio | Android Developers
The Google USB Driver is required to perform adb debugging on Windows with Google devices.
developer.android.com
(extract, right-click on android_winusb.inf file and select "install", go to Device Manager, right click "Android" device and update driver - choose "pick from list", Android, Bootloader - for fastboot/bootloader, obviously)
Download the SDK tools and update the ADB/Fasboot folder with every release of Android to try and keep it up to date. The USB drivers have worked for every device I have had to use them on.

Categories

Resources