hey guys. im tryin to put a file from my computer to my sdcard on my phone through adb and this is the path that im using
/Users/my name/androidsdk/platform-tools/adb push cm_supersonic_full-170.zip /sdcard/cm_supersonic_full-170.zip
and it keeps saying
cannot stat 'cm_supersonic_full-170.zip': No such file or directory
can anyone tell me what im doing wrong. i have the zip file in the platform-tools folder.
It looks like adb may be looking for the zip file in whatever folder you're in when you run adb. You have the zip file in the platform-tools folder, but are you also running adb while in that folder? If not, try moving to the platform-tools folder and then running adb, or else fully qualify your zip file name.
I do have adb in the platform-tools folder along with the zip file.
quikswitch said:
hey guys. im tryin to put a file from my computer to my sdcard on my phone through adb and this is the path that im using
/Users/my name/androidsdk/platform-tools/adb push cm_supersonic_full-170.zip /sdcard/cm_supersonic_full-170.zip
and it keeps saying
cannot stat 'cm_supersonic_full-170.zip': No such file or directory
can anyone tell me what im doing wrong. i have the zip file in the platform-tools folder.
Click to expand...
Click to collapse
Looks like a syntax error. Are you running adb from c:\ or are you in the platform-tools folder when you run adb?
im running it from the platform-tools folder. im also on a mac
Try this.
Adb push cm_supersonic_full-170.zip /sdcard/
The syntax error it is giving is saying that you are trying to push the zip to a folder on the sdcard called cm_supersonic_full-170.zip
Sent from my PC36100 using Tapatalk
Khilbron said:
Try this.
Adb push cm_supersonic_full-170.zip /sdcard/
The syntax error it is giving is saying that you are trying to push the zip to a folder on the sdcard called cm_supersonic_full-170.zip
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
that didnt work either.
Related
i was tolf to move this here this is a question ,,,idk how to do step 5..it has to do with movin file to sd card im guessing..idk help me?
help me root my phone i dont understand this im really f'd up this is like dsa adveture
ok here is the problklmemo
"Step 5: Plug your phone into the computer via USB, Make sure that the connection type in the Notification Pull-Down Bar is "Charge Only", not "Disk Drive" or else this won't work.
If your computer asks you to restart after the new drivers were installed, do that now
Once ready, type these commands in cmd prompt from your adb tools directory.
Code:
adb push unrevoked-forever.zip /sdcard/
adb push flash_image /data/local/
adb push rageagainstthecage-arm5.bin /data/local/tmp/
adb push mtd-eng.img /sdcard/
adb push PC36IMG.zip /sdcard/"
oksssssss now..one person say i right click on tools and open cmd,,,so i dids that
then i type it in and its doesnt work..it says adb or abd waterver it is is not a command and its not reconixed...help me please!!!thanjs
i have windows 7 64 bit
Did you do ALL of this first?
Step 1: Download the Android SDK here
Step 2: Extract the Android SDK zip. Move the contents of the extracted zip to C:\
Your Android tools folder path should now be C:\android-sdk-windows\tools
Step 3: Download HTC Sync 2.0.40 here
Run the installer. Move on once installed. If reboot is required, do so and then move on.
Download my evo-root.zip.
It contains a few files necessary to root the EVO.
Unzip the contents of the zip to your android sdk tools folder.
Download the unrevoked-forever.zip
Place this zip in your tools folder as well, as a zip, not extracted.
Download this PC36IMG.zip (This is the same as running an RUU, so it will delete all of your user data when we use it later in the guide, so backup everything you want to save on your phone first)
Put this zip in your sdk tools folder as well, as a zip, not extracted.
After unzipping the contents of evo-root.zip to your android sdk tools folder and placing the PC36IMG.zip and unrevoked-forever.zip in the folder, move on.
Click to expand...
Click to collapse
You need to change the directory to your tools fold so that the computer can execute advanced commands. Look for a thread about setting up adb. In the thread it will tell you the steps to do so. I would post this for you however I do not have access to a computer and I am use to using advanced on a Mac.
Sent from my PC36100
nebenezer said:
Did you do ALL of this first?
Click to expand...
Click to collapse
yes i did i had no problems untill step 5
Read my post in the thread you created in development.
Every time I try and us the command "adb push" I get a return that says
cannot stat 'file name' : No such file or directory
Its probably something simple but I'm a newbie to ADB
my complete command is:
adb push vision.lights.so /system/lib/hw/
cannot stat 'vision.lights.so': No such file or directory
Is that file located in the same folder as your adb? If not then you need to setup a path to use adb anywhere. Instructions for that are in the adb guide.
Sent from my HTC Vision using XDA App
Do I need to cd to the directory where that file is before I can push it?
My adb is already set up to run from any directory
Sent from my HTC Vision using XDA App
jbenson said:
Do I need to cd to the directory where that file is before I can push it?
My adb is already set up to run from any directory
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Yes, you need to be in (cd) the directory that contains the file, or you could use the full path
adb push /download/vision.lights.so /system/lib/hw
It might be slightly different with Windows (c:/ ?)
Sent from my CyanogenMod Vision
Example if your adb is in c:/sdk/tools/
then you would have to cd until you are in tools folder (i.e. c:/sdk/tools/)
Copy your file into the tools folder.
Your command should work.
Example if your adb is in c:/sdk/tools/
then you would have to cd until you are in tools folder (i.e. c:/sdk/tools/)
Copy vision.lights.so into the tools folder.
Your command should work.
Yes yes and yes windows needs c:/whatever assuming its in c
Sent from my HTC Vision using XDA App
Works perfect thank you guys so much for your help!
I was confused as to how it found the file to push but this makes more sense!
Sent from my HTC Vision using XDA App
After i download the CWM 3.0.0.5/6 and unzip it to a folder on my desktop all it shows in the folder is
recoveryfiles
recoveryres
adb.osx
busybox
AdbWinApi.dll
AdbWinUsbApi.dll
adb
i'm not sure if i did something wrong when i unzipped the folder? or if thats even possible.
Sorry if this is being posted in the wrong area
Thanks for any help
nova05 said:
After i download the CWM 3.0.0.5/6 and unzip it to a folder on my desktop all it shows in the folder is
recoveryfiles
recoveryres
adb.osx
busybox
AdbWinApi.dll
AdbWinUsbApi.dll
adb
i'm not sure if i did something wrong when i unzipped the folder? or if thats even possible.
Sorry if this is being posted in the wrong area
Thanks for any help
Click to expand...
Click to collapse
Looks like the zip file is bad, try to download it again. I just downloaded OneClickRootCWM3-EB13.zip and all the files were in the zip.
Did you get it working?
Sent From My Evo Killer!
I know this is a noob question but I installed the sdk on my windows vista 32bit PC I've read like everything I could about doing this but I can't seem to get adb working when I run cmd adb it says 'adb' is not recongnized as an internal or external command, operable program or batch file. I'm pretty new to this but want to be able to use this any help would be great thanks in advance..
Sent from my PC36100 using XDA App
Are you running adb from within the /platform-tools directory?
The basics of adb
http://forum.xda-developers.com/showthread.php?t=694250
You have to run the commands from wherever you extracted the sdk ex I put mine on the main c drive so I have to type this first:
cd c:/android-sdk-windows/tools
Sent from my PC36100 using XDA Premium App
bender1077 said:
Are you running adb from within the /platform-tools directory?
Click to expand...
Click to collapse
I tried it from the start menu and that was what it said I also tried it in platform-tools it just flashes the screen for a second and thats all..
Sent from my PC36100 using XDA App
You're getting that error because you're not in the folder where adb is. Look in the platform-tools folder. You can run it from that folder, or just copy it into the tools folder.
teh roxxorz said:
You can run it from that folder, or just copy it into the tools folder.
Click to expand...
Click to collapse
If all you are using from the SDK is ADB, then moving ADB to the /tools directory is not an issue. This will bork the functionality of other tools in the SDK though.
U can also add it to ur command lines so u don't have to always be in ur sdk folder to use it. Google adb and there r instructions on how to do this. Its very easy
So everything gone fine till I try to push the framework-res.apk to my phone.
adb push framework-rez.apk /system/framework/
'adb' is not a recongnized as an internal or external command,
know I understand what that means but I installed SDK manager and had no cmd in there so I just used Command Prompt. If that is all of my problem how to I get SDK cmd? It didnt install when I installed the problem.
Omnicide said:
So everything gone fine till I try to push the framework-res.apk to my phone.
adb push framework-rez.apk /system/framework/
'adb' is not a recongnized as an internal or external command,
know I understand what that means but I installed SDK manager and had no cmd in there so I just used Command Prompt. If that is all of my problem how to I get SDK cmd? It didnt install when I installed the problem.
Click to expand...
Click to collapse
It's not enough to just install SDK manager, you also have to install ADB if you want to interface with your phone through your computer. You shouldn't have to go through SDK manager to use ADB once you have it installed, it should work straight through windows command prompt.
http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
That will walk you through installing adb. Good luck.
yoft1 said:
It's not enough to just install SDK manager, you also have to install ADB if you want to interface with your phone through your computer. You shouldn't have to go through SDK manager to use ADB once you have it installed, it should work straight through windows command prompt.
http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
That will walk you through installing adb. Good luck.
Click to expand...
Click to collapse
Well thank you that helped me get pass that issue. Now how do I change the permissions on my phones framework-res.apk?
The error I have now is
"failed to copy 'framework-res.apk' to '/system/framework/framework-res.apl': Read-only file system."
I can't seem to figure a way around this.
Omnicide said:
Well thank you that helped me get pass that issue. Now how do I change the permissions on my phones framework-res.apk?
The error I have now is
"failed to copy 'framework-res.apk' to '/system/framework/framework-res.apl': Read-only file system."
I can't seem to figure a way around this.
Click to expand...
Click to collapse
I had that issue too, how I bypass it is to boot to CWM, go to "mounts and storage", then mount /system (and /data if that's relevant to what you're pushing). Others have used a line of code to mount the system from the PC end, but I find this easier to do through the phone.
yoft1 said:
I had that issue too, how I bypass it is to boot to CWM, go to "mounts and storage", then mount /system (and /data if that's relevant to what you're pushing). Others have used a line of code to mount the system from the PC end, but I find this easier to do through the phone.
Click to expand...
Click to collapse
Thank you that did the trick
Go to the system32 folder on your c drive and copy cmd from there to your tools folder in the sdk.
Now when you want to push, put the files you want to push in the tools folder and then open up the cmd that you placed in that folder, then run the push command.
Sent from my Galaxy Nexus using xda premium
Master&Slave™ said:
Go to the system32 folder on your c drive and copy cmd from there to your tools folder in the sdk.
Now when you want to push, put the files you want to push in the tools folder and then open up the cmd that you placed in that folder, then run the push command.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks ill give that a try in morning. That would be a better then how im doing it now my stuff is in all random folder and locations to get it to work.
Sent from my SGH-T989 using xda premium
Omnicide said:
Thanks ill give that a try in morning. That would be a better then how im doing it now my stuff is in all random folder and locations to get it to work.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
That's actually how I do it so it should work for you. Good luck
Sent from my Galaxy Nexus using xda premium
Master&Slave™ said:
That's actually how I do it so it should work for you. Good luck
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
It worked for the file being in that folder and all. But I still have to do it in recovery and unmount system. I still get the read-only error