[Q] File path?? - G2 and Desire Z Q&A, Help & Troubleshooting

I am attempting to root my phone and i have downloaded SDK 20.0.3 but i am lost as to what path i need to download the needed files. Instructions say /platform-tools but i dont have a platform-tools folder. I have a single folder platform and another as tools. Where do i place the files... help

http://forum.xda-developers.com/showthread.php?t=865685

haikkk said:
http://forum.xda-developers.com/showthread.php?t=865685
Click to expand...
Click to collapse
Thanks, that helped out alot

Related

Change banner on lockscreen

I would like to change my banner and found a way to do it with out CDMA workshop and need to know how to setup or get into the adb(or into the shell). I apologize if Im not even saying this correctly! Can someone help me? Please see examples below:
adb pull /system/framework/framework-res.apk .
adb remount
adb push framework-res.apk /system/framework
adb reboot
Thanks in advance!!!
EDIT: Can I use terminal emulator to do this?
EDIT: Do you have the Android SDK installed on your computer??? If not do this first:
http://developer.android.com/sdk/index.html
I am guessing that you are using this method:
http://forum.xda-developers.com/showthread.php?t=801537
You cannot pull the file using TE.
Have you already modified your keyguard_screen_tab_unlock.xml file?
If so, then you need to use ADB to pull the framework-res.apk from /system/framework/ on your evo, and open with whatever zip prog you like
and replaced the one in /res/layout/ folder of the framework-res.apk.
When done, close up the apk, and use adb to push back to the /system/framework/ on your evo.
BOOM! DONE!
bender1077 said:
EDIT: Do you have the Android SDK installed on your computer??? If not do this first:
http://developer.android.com/sdk/index.html
I am guessing that you are using this method:
http://forum.xda-developers.com/showthread.php?t=801537
You cannot pull the file using TE.
Have you already modified your keyguard_screen_tab_unlock.xml file?
If so, then you need to use ADB to pull the framework-res.apk from /system/framework/ on your evo, and open with whatever zip prog you like
and replaced the one in /res/layout/ folder of the framework-res.apk.
When done, close up the apk, and use adb to push back to the /system/framework/ on your evo.
BOOM! DONE!
Click to expand...
Click to collapse
I am going to SDK on my comp and run with it! Thanks for the advice
Adam1422 said:
I am going to SDK on my comp and run with it! Thanks for the advice
Click to expand...
Click to collapse
NP.
Just an FYI - With the new SDK for Android 2.3, ADB is now located in the /platform-tools folder.
It used to be in the /tools folder so whenever you see code that has you navigate to your tools folder to utilize ADB, use /platform-tools instead
Have fun!
bender1077 said:
NP.
Just an FYI - With the new SDK for Android 2.3, ADB is now located in the /platform-tools folder.
It used to be in the /tools folder so whenever you see code that has you navigate to your tools folder to utilize ADB, use /platform-tools instead
Have fun!
Click to expand...
Click to collapse
Couple questions
1. is there a walk though on how to install ADK for windows 7 64 bit home? The only reason why I ask is in doing some searching I have found that alot of people are having trouble with it.
2. If Im only using android 2.2 then I still use tools/ right?
You will still use the platform-tools location even for 2.2 from now on with the latest sdk. I think just google set up adb win7 and you should be able to find it. Im just on my phone here.
bender1077 said:
You will still use the platform-tools location even for 2.2 from now on with the latest sdk. I think just google set up adb win7 and you should be able to find it. Im just on my phone here.[/QUOT1E]
Just wanted to show you that with your help I was able to get this done! Again thanks for all you help
Click to expand...
Click to collapse
That's intense! Glad it all worked out.

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] setting up adb

I've been wanting to set up adb for a while, but just don't know how to do it. There are numerous guides, and each say different things generally. Things that hold me back from setting up are:
1) does it make a difference what guide I use if I'm already a root user? *Cause I am.
2) when I run cmd as administrator, I get C:\Windows\system32 instead of just C:\
3) I don't know whether my computer is 32 bit or 64 bit.
4) Which are the right files I need in order to do this?
Could someone please point me in the right direction? My computer runs windows vista.
Just put the sdk on your c drive and rename the sdk folder to android-sdk-windows
Now don't run cmd as administrator, just type this in standard command prompt.
cd c:/android-sdk-windows/tools
and you should be able to use adb. Make sure debugging is checked in settings on your phone. You will find it in manage apps/development.
If that doesn't work maybe this will help.
http://forum.xda-developers.com/showthread.php?t=694250
http://forum.xda-developers.com/showthread.php?t=879701
Sent from my PC36100
Also make sure that your tools folder has the adb.exe file in it or you are going to get a
"adb shell not recognized as an internal or external batch command" took me about 20 minutes of.retyping adb shell to figure it out haha..
The reason i say that is because if you have a fresh dl of SDK within the last.couple of weeks then the adb.exe file has been moved and is no longer in your tools folder.
As for the command prompt. Open cmd then type
Cd/
Will take you straight to your C: directory if your not sure where to go from there type "dir" then cd to whatever folder your sdk is in
or type "cd(space).." like "cd .." Then do it again however many times you need to until it backs you all the way down to the c:
Click start and right click on computer then click properties, it will tell you there if your 64 or 32 bit.
Sent from my SAMSUNG-SGH-I897 using XDA App
Thanks guys for the help. Sorry, but I'm not sure where to get the sdk, is this it: http://developer.android.com/sdk/index.html ?
Also, what drivers do I need to install on my phone?
guih said:
Thanks guys for the help. Sorry, but I'm not sure where to get the sdk, is this it: http://developer.android.com/sdk/index.html ?
Also, what drivers do I need to install on my phone?
Click to expand...
Click to collapse
If you check that first link I posted above it has everything you're about to ask lol. Go to control panel on ur comp, navigate to system, and it will tell you if your machine is 32 or 64bit.
And yes that's the sdk. I'd download the first zip in the post and extract it to your c drive.
Sent from my PC36100
Moving adb to the /tools folder from /platform-tools will will Bork some other features of the sdk.
lol sorry man what threw me off is the "installing drivers" thing. Ok, do I also need to download that installer file as well or do I just take the sdk and extract it to the C drive? I'm sorry for these noob questions, I just don't want to mess up anything.
Don't worry about the questions. That's what we're here for. Yes, extract it to your C: drive. Adb is located in the platform-tools folder.
Sent from my Gin and Tonic using XDA App
guih said:
lol sorry man what threw me off is the "installing drivers" thing. Ok, do I also need to download that installer file as well or do I just take the sdk and extract it to the C drive? I'm sorry for these noob questions, I just don't want to mess up anything.
Click to expand...
Click to collapse
Its cool were just trying not to confuse you as much, maybe a video will help...or not lol
http://www.youtube.com/watch?v=y6K1XLmafPc&feature=youtube_gdata_player
Sent from my PC36100
I have a tools folder and a platform folder.. I'm guessing I use the tools folder?
guih said:
I've been wanting to set up adb for a while, but just don't know how to do it. There are numerous guides, and each say different things generally. Things that hold me back from setting up are:
1) does it make a difference what guide I use if I'm already a root user? *Cause I am.
2) when I run cmd as administrator, I get C:\Windows\system32 instead of just C:\
3) I don't know whether my computer is 32 bit or 64 bit.
4) Which are the right files I need in order to do this?
Could someone please point me in the right direction? My computer runs windows vista.
Click to expand...
Click to collapse
1). It doesn't really matter what guide you use, just as long as they give you correct directions.
2) Press the windows key (between Ctrl & Alt) and type "cmd" then press enter. Then once you're in command prompt, just type "CD\"
3) Right click "My Computer" then go to properties. Look for system type, and it'll tell you whether you're 32-bit or 64-bit. I believe most people have 32-bit.
4) All you need is this file.
guih said:
I have a tools folder and a platform folder.. I'm guessing I use the tools folder?
Click to expand...
Click to collapse
No, run the SDK Manager to get the platform-tools folder.
EDIT:
The SDK Manager is located in the folder that you extracted and probably renamed. For instance, mine is located here C:\AndroidSDK\SDK Manager.exe (If you can't locate it, let me know).
After you run the SDK Manager you only need the Android SDK platform-tools, revision 5 package
(Sorry about the double post)
dirkyd3rk said:
Its cool were just trying not to confuse you as much, maybe a video will help...or not lol
http://www.youtube.com/watch?v=y6K1XLmafPc&feature=youtube_gdata_player
Sent from my PC36100
Click to expand...
Click to collapse
so far this video is helping me incredibly! lol
guih said:
so far this video is helping me incredibly! lol
Click to expand...
Click to collapse
WOW! I must've looked over that post. That's a good video. Well, good luck.
I'm waiting for the platform-tools to download... in the video the guys moves all that is in platform-tools into his tools folder. Should I do that, though someone mentioned it could bork something?
guih said:
I'm waiting for the platform-tools to download... in the video the guys moves all that is in platform-tools into his tools folder. Should I do that, though someone mentioned it could bork something?
Click to expand...
Click to collapse
Follow the video young Jedi.....
Sent from my PC36100
oh my god...IT WORKS. THANK YOU EVERYONE SO MUCH FOR EVERYTHING!
guih said:
oh my god...IT WORKS. THANK YOU EVERYONE SO MUCH FOR EVERYTHING!
Click to expand...
Click to collapse
You're welcome. Congrats. Have fun! LOL
guih said:
oh my god...IT WORKS. THANK YOU EVERYONE SO MUCH FOR EVERYTHING!
Click to expand...
Click to collapse
No problem man. May the force be with you......lol
Sent from my PC36100
guih said:
...Should I do that, though someone mentioned it could bork something?
Click to expand...
Click to collapse
If adb is the only tool you are going to use in the SDK you don't have to worry about it. If you do ever use another tool and you get an error about adb not present in the /platform-tools folder you can always just move it back.

Trying to root for first time, bit confused by instructions...

I have the Tmobile G2 and its stock on 2.3.4
Im reading the G2 root wiki and it comes to a part that says
"Unzip the zip files and copy the contents to the same folder as adb (the /platform-tools folder within the Android SDK folder). "
When I installed the adb files, it went to c/program files/android sdk/ and within that folder, theres a separate platform folder and tools folder. I dont have a platform-tools folder by itself. Do I just place the unzipped files in the /android sdk folder, or do I place them in the tools folder or platform folder?
just make sure adb is in the same folder as the files you need.
make sure when you are in cmd to direct adb to the proper folder
or you can change the path under the advanced tab in environmental variables
demkantor said:
just make sure adb is in the same folder as the files you need.
make sure when you are in cmd to direct adb to the proper folder
or you can change the path under the advanced tab in environmental variables
Click to expand...
Click to collapse
Ok turns out when I install the android sdk, it doesnt install platform-tools. I had to run one of the exe files and it let me download it
redspeed said:
Ok turns out when I install the android sdk, it doesnt install platform-tools. I had to run one of the exe files and it let me download it
Click to expand...
Click to collapse
For a more detailed and beginner friendly guide to downgrade and root check here

Fastboot not found

So i am running android 7.1.1 beta program and i want to flash the stable version. I have installed adb and fastboot , adb is found but fastboot not. Im doing this with nexus root toolkit. Any help?
Try using the Android SDK. Download Android SDK and open the SDK Manager. Download Android SDK Platform-tools from there, when that is finished go to the folder "platform-tools" and inside there you find both adb.exe and fastboot.exe.
https://developer.android.com/studio/index.html#downloads
File: tools_r25.2.3-windows.zip
sprremix said:
Try using the Android SDK. Download Android SDK and open the SDK Manager. Download Android SDK Platform-tools from there, when that is finished go to the folder "platform-tools" and inside there you find both adb.exe and fastboot.exe.
https://developer.android.com/studio/index.html#downloads
File: tools_r25.2.3-windows.zip
Click to expand...
Click to collapse
not working :"
aWpTiger said:
not working :"
Click to expand...
Click to collapse
what is not working? Try to be more specific if you want to be helped.
sprremix said:
what is not working? Try to be more specific if you want to be helped.
Click to expand...
Click to collapse
i solved it , thanks

Categories

Resources