Hello,
I am currently making a guide for myself for later use on rooting and flashing ROMs. I'm putting it all together in a nice zip file with all the tools/files needed for easy access. My question is regarding ADB. I downloaded the Android SDK from http://developer.android.com/sdk/index.html and unzipped it, which became a ~600 MB folder. As far as I can tell from reading the forums, all I'll really be using is ADB contained in the platform-tools folder. If all I'm going to be using is ADB, can I just keep the platform-tools folder and delete the rest of the file? Or are there dependencies for ADB in other folders?
Thanks for your time.
nufan said:
Hello,
I am currently making a guide for myself for later use on rooting and flashing ROMs. I'm putting it all together in a nice zip file with all the tools/files needed for easy access. My question is regarding ADB. I downloaded the Android SDK from http://developer.android.com/sdk/index.html and unzipped it, which became a ~600 MB folder. As far as I can tell from reading the forums, all I'll really be using is ADB contained in the platform-tools folder. If all I'm going to be using is ADB, can I just keep the platform-tools folder and delete the rest of the file? Or are there dependencies for ADB in other folders?
Thanks for your time.
Click to expand...
Click to collapse
The platform-tools is just one of the folders for the Android SDK. The rest of the SDK is needed in order to run the ADB tools. AFAIK there is not a ADB only package ir compact SDK available.
Sent from my SCH-I535 using Tapatalk 2
Related
I rooted my hero on 2.1 before on a different computer a while back so im fairly familiar with this process. But i when i type in the file path for the C:\android-sdk-windows\tools and hit enter then type adb devices i get an error message that says
'adb' is not recognized as an internal or external command,
operable program or batch file.
I tried all the troubleshooting i can think of like
making sure its the right path to the tools final
making sure debugging is on
deleting the drivers
reinstalling htc sync
I dont know is this info is relevant but ill share it any way.
Im running windows xp
its an old work pc so idk if i have Admin rights(How do i check??)
If any of you can help thatd be much appreciated
Did u add tools directory to the PATH?
Sent from my HERO200 using XDA App
Hey bird, I had the same problem a few days ago. solution for me was, that adb is not located in the tools folder anymore. its located in another folder.I'm not in front of my pc right now.just check where in the windows sdk folder the adb.exe is located now.
Hope that helps you too.
Greetz ricola
Sent from my HTC HD2 using XDA App
if its the updated sdk you will have to update it. close and restart,and then reopen your run command and type in \platform\tools\. they changed the file path when they updated the new tools.
ricola7 said:
Hey bird, I had the same problem a few days ago. solution for me was, that adb is not located in the tools folder anymore. its located in another folder.I'm not in front of my pc right now.just check where in the windows sdk folder the adb.exe is located now.
Hope that helps you too.
Greetz ricola
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Thank you very much i searched for adb.exe and found it in the platforms-tools folder thank you.
If any of you can help thatd be much appreciated
Click to expand...
Click to collapse
I'm too tired to read the whole thread right now, so someone has probably answered this, but here goes..
Previous versions of the Android SDK, adb was located in the tools folder, ie: if you installed the android SDK at C:\android-sdk-win, it would be c:\android-sdk-win\tools
The new release of the android sdk, adb has been moved, and is now located in the \platform-tools folder , ie; c:\android-sdk-win\platform-tools
much like the forums, file search is your friend sometimes
take care
Hello, I own an HTC Evo 4G and recently have purchased an application and downloaded it. When I located it within my Android phone I noticed it was under the extension .ipa which as I have come to find out is for Apple. Can someone inform me as to what is going on. I just wanted to pull the APK off my phone. I know how to do that, but why is it an IPA file? This also makes me question, how am I running a .ipa file?
Also, I used phsorx APK batch location and renaming tool. I copied the whole directory out from under my Android drive and it didn't locate and APK with a file name similar to that of what I was looking for.
Bottomline:
Where is the APK and how can I find it? Any help appreciated. Thanks.
I have never seen an .ipa file on my device. I think you have mistaken, maybe you have downloaded that file earlier or something like that.
RentonT said:
Where is the APK and how can I find it? Any help appreciated. Thanks.
Click to expand...
Click to collapse
Generally system apps are in /system/app/ and user apps in /data/app/. Apps installed to sdcard (using Froyo implementation) are hidden/encrypted and they're mounted to /mnt/asec* or something like that. You could check exact locations by executing "pm list packages -f" command on a device (terminal emulator) or "adb shell pm list packages -f" on a PC with SDK installed.
Awesome. Thanks Brut.All. Great APK tool by the way. I guess you're right. Somehow I must have just placed a .ipa file on my phone. My kudos to you.
I downloaded the Android SDK on the website and the drivers from MotoDev and placed them on my desktop. I ran the drivers and they installed fine. I unzipped the SDK, created a new folder in my C: drive called AndroidSDK and placed the unzipped folder in that folder.
I opened Command Prompt and entered:
cd C:\AndroidSDK\android-sdk-windows\tools
then entered:
fastboot oem unlock
and got this error:
This application has failed to start because AdbWinApi.dll was not found. Re-installing the application may fix this issue.
I then went into the SDK and read the readme where it says that adb was moved. It says it was moved to platforms. When I open the folder there is nothing in there.
try the path that ends with "platform-tools" instead
Sent from my Xoom using XDA Premium App
Ok I figured it out. I clicked on something and it brought up a repo. I download the missing platform-tools.
I ran the commands again and I'm still getting the errors. Should I copy everything from platform-tools into the tools directory?
gqstatus0685 said:
I tried that also. I forgot to add that in my first post. There is nothing inside that folder. Am I missing adb? Is there a way to download it and drop it into that folder? I'm lost on this.
Thanks.
Click to expand...
Click to collapse
Did you open the SDK Manager and make sure all your packages are updated?
gnackattack said:
Did you open the SDK Manager and make sure all your packages are updated?
Click to expand...
Click to collapse
I did do that but cancelled after it installed the platform-tools. Should I let it download everything? It looked like it was going to take a long ass time.
**** I ended up downloading all the updates for 3.1 and entered the commands again. This time it was able to cd into the platform-tools but I can't enter the command fastboot oem unlock because I get error:
"fastboot" is not recognized as an internal or external command, operable program or batch file
Just my luck...
fastboot is in the "tools" folder, not the "platform-tools" folder.
gnackattack said:
fastboot is in the "tools" folder, not the "platform-tools" folder.
Click to expand...
Click to collapse
Ok I changed CD but now it's telling me it can't find a file that's located in platform-tools. Should I copy all the files from platform-tools and move them into the tools folder?
*********************************************************
Ok. I moved the file and it worked. My Xoom is unlocking. I have the worst luck when I borrow someone else's laptop.
Copy any files it tells you it can't find. I haven't encountered that issue myself, but that's the solution I've seen others recommend.
I'd like to thank Gnac and the other people who helped me achieve root with the issues I was having.
Anyway I have an SD card in my Xoom and I don't think it's working like it should. I downloaded a file manager, loaded a .zip on there of a theme I want to install but when I boot into recovery it's not there.
I've verified it's in the SDcard with the file manager and it's in .zip format. I'd prefer to flash it instead of adb'ing it because I keep all my .zip organized in folders on my SD card. Before inserting the SD card in the Xoom I did wipe it.
I'm rooted 3.1 and I have Busybox installed. I'm running:
[email protected] #2
Any ideas how I can get the files to be seen in recovery?
I read a thread and either I didnt understand or it didnt work as I understood it. I want to be able to make a system dump of anything that comes out in case I want to import apps or things. Do you always have to use ADB or terminal to extract files from a .tar or .md5 file? So you always have to extract to your sdcard from what I read? Just a little confirmation on if thats how I need to do it or the correct way please.
Root explorer? Don't know much just a thought
Sent from my SCH-I510 using xda premium
blueis300 said:
I read a thread and either I didnt understand or it didnt work as I understood it. I want to be able to make a system dump of anything that comes out in case I want to import apps or things. Do you always have to use ADB or terminal to extract files from a .tar or .md5 file? So you always have to extract to your sdcard from what I read? Just a little confirmation on if thats how I need to do it or the correct way please.
Click to expand...
Click to collapse
you have to explain better what you want to do...you can extract/make roms from odin files without having to flash it...you just use dsxidia's kitchen (requires linux or cygwin with windows) and run the odin through it
to *make* an odin of your current set up for backup, imnuts has a guide in development somewhere, but you would need linux to make the tar (you can extract with adb in windows though)
or to just make a system pull
if adb is universal
cd "whatever folder u want it in"
adb pull /system/
and let it do its thing
to then make a flashable zip from it you would have to have a working update-script and proper file structure within the zip
nitsuj17 said:
you have to explain better what you want to do...you can extract/make roms from odin files without having to flash it...you just use dsxidia's kitchen (requires linux or cygwin with windows) and run the odin through it
to *make* an odin of your current set up for backup, imnuts has a guide in development somewhere, but you would need linux to make the tar (you can extract with adb in windows though)
or to just make a system pull
if adb is universal
cd "whatever folder u want it in"
adb pull /system/
and let it do its thing
to then make a flashable zip from it you would have to have a working update-script and proper file structure within the zip
Click to expand...
Click to collapse
Do you always have to use ADB or terminal to extract files from a .tar or .md5 file? So you always have to extract to your sdcard from what I read?
Yes I was basically asking how to extract all the files from a .tar or .md5 file. I want to be able to look at each separate main file and pull whatever I want from there. So one option is to use ADB and pull to sd card. I don't use linux so I guess this is my only option?
dsxidia's kitchen (requires linux or cygwin with windows)
blueis300 said:
Do you always have to use ADB or terminal to extract files from a .tar or .md5 file? So you always have to extract to your sdcard from what I read?
Yes I was basically asking how to extract all the files from a .tar or .md5 file. I want to be able to look at each separate main file and pull whatever I want from there. So one option is to use ADB and pull to sd card. I don't use linux so I guess this is my only option?
dsxidia's kitchen (requires linux or cygwin with windows)
Click to expand...
Click to collapse
the only 2 ways i can think of atm to extract from a tar are this:
push the tar with odin/heimdall to ur phone then pull /system with adb or with terminal emulator to ur sdcard
or use dsxidia's kitchen to extract it on the computer w/o flashing it
(well u can take apart the tar in linux other ways too, but it ll do it in a similar way to the kitchen and thats easier)
Yeah thats what I was thinking. Thanks.
I made a folder on my C: drive named "Android" and it contains the SDK, fastboot, adb, images, etc that I need to use fastboot and such on my Rezound.
If I want to use these tools on another computer, can I just copy the whole folder my my C drive and just copy them to another computer and get right into it right there and then?
Or do I have to reinstall them all from scratch?
I Am Marino said:
I made a folder on my C: drive named "Android" and it contains the SDK, fastboot, adb, images, etc that I need to use fastboot and such on my Rezound.
If I want to use these tools on another computer, can I just copy the whole folder my my C drive and just copy them to another computer and get right into it right there and then?
Or do I have to reinstall them all from scratch?
Click to expand...
Click to collapse
You'll need to reinstall the Android SDK (and by default Java JDK) on each computer. ADB, Fastboot rely only on the Android SDK. They will work just fine after you reinstall the SDK. Your ROMs, Radios, .zips etc. can all just be copied across
So just reinstall the SDK and Java, then i can drag and drop the rest?
-Sent from my Rezound-
I Am Marino said:
So just reinstall the SDK and Java, then i can drag and drop the rest?
-Sent from my Rezound-
Click to expand...
Click to collapse
Roger that
Thanks man.
-Sent from my Rezound-