can't push anything via ADB - Desire General

hello folks.
i'm trying to push bootanimation via adb and when i enter the first command i'm getting an error.
C:\>adb shell mount /system
- exec '/system/bin/sh' faild: no such file or directory (2) -
i'm using modaco root r4 and 3.1 rom. if its matter :x
btw why cant i flash the bootanimation via recovery?

you cant use adb from the root of your hard drive you need to use the command prompt to navigate to the tools dirctory inside the android sdk, for example on my computer the correct path would be c:\android sdk\tools obviously it depends weather u have renamed the folder you extracted when you downloaded the sdk

AndroHero said:
you cant use adb from the root of your hard drive you need to use the command prompt to navigate to the tools dirctory inside the android sdk, for example on my computer the correct path would be c:\android sdk\tools obviously it depends weather u have renamed the folder you extracted when you downloaded the sdk
Click to expand...
Click to collapse
now i'm getting this error :\
C:\dsdk\android-sdk-windows\tools>adb shell mount /system
adb server is out of date. killing...
* daemon started successfully *
- exec '/system/bin/sh' failed: No such file or directory (2) -
i don't understand what i'm missing?

Related

I rooted using Toast but need some guidence.

After rooting using toast I am stuck at the recovery portion.
I am running Windows 7 64bit
Text in red are my questions.
RECOVERY INSTRUCTIONS:
- Extract the evorecovery.zip to your desktop
- plug your phone into a usb port on your desktop
- In a shell: <----Where is shell?
Code:
adb reboot recovery
- this will reboot your EVO into recovery mode. at this point turn your attention to the directory u extracted the evorecovery.zip to.
Code:
For Windows XP ~~> Run recovery-windows.bat
For Vista and Windows 7 do it as Admin <---I did this part and nothing happened the cmd prompt came and went quick.
- in a shell do:
Code:
For Linux ~~> ./recovery-linux.sh
- at this point turn your attention to the phone and navigate to create a Nandriod Backup. you can now flash custom roms, write, and make changes to system.
- to flash a custom rom put the rom on the root of your sdcard. wipe data, dalvic cache and chose the option to flash update.zip from sdcard. <---How do I wipe? I am so lost here.
Any help to make this easier because I am seeing some Linux lingo and I dont know what to ignore and how to go about this with Windows. Thanks for any help.
First. What version? 1.47? Or below?
Swyped from my Evo 4G
I was on Version 1.47, then I did simple root and went to 1.17? I wanted to make sure I root correctly with NAND. So I was re-rooting Toasts way. Now I am on version 1.32. Here is a screenshot.
To get the shell just go to a command prompt. CD to your /tools folder and type "adb shell"
robtrevino said:
To get the shell just go to a command prompt. CD to your /tools folder and type "adb shell"
Click to expand...
Click to collapse
Thats not helping. I dont know how to CD? CD is for linux? I am on Windows.
How do I do the evo recovery? Please explain in simple terms.
Step by step would help.
Im guessing I need to install adb on the computer? But the links on the how to have 404 error.
EDIT:
Found the links for the sdk install. ITs updating and installing , I hope thats what is needed.
got it from here----> http://developer.android.com/sdk/index.html
bump...
Really need some help. I would appreciate it very much. I dont want to go forward without doing this evo recovery.
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Acer>cd c:\adnroid-sdk-windows\tools
The system cannot find the path specified.
C:\Users\Acer>c:\adnroid-sdk-windows\tools
The system cannot find the path specified.
C:\Users\Acer>cd c:\adnroid-sdk-windows\tools
The system cannot find the path specified.
anything I am doing wrong?
The files are in the C drive no idea whats wrong
You can use the sdk, or you can install sync drivers by plugging your phone into your computer and choosing the sync option. Install the program when it asks you and you will have the adb installed!
Then you can simply open command prompt and go step by step. BTW cd is a msdos command also to change directory (get it cd ) but if you go the sync route you won't need to worry about cd as it will set the path variable for you.
Anyway, after you install the sync, make sure to switch your phone back to charge only
I plugged my phone in and chose HTC sync, after connected I dont see anything asking me to install. I did install HTC sync on my computer already is thats what you mean?
Yes. Do me a favor, open command prompt and type adb and hit enter. Does it spit out a bunch of stuff or does it say command not found?
I'm new to all this as well and have yet to root mine(still learning everything) but there is a video from youtube that might help you but since I'm a new user it won't let me post outside links.
So, hit up youtube and search EVO 4G Root Walkthrough Part 2 of 2 by aboredguy52.
elegantai said:
Yes. Do me a favor, open command prompt and type adb and hit enter. Does it spit out a bunch of stuff or does it say command not found?
Click to expand...
Click to collapse
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Acer>adb
'adb' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Acer>
if you want to help me walkthrough can we use a chat client?
let me know if thats ok.
churchwin88 said:
I'm new to all this as well and have yet to root mine(still learning everything) but there is a video from youtube that might help you but since I'm a new user it won't let me post outside links.
So, hit up youtube and search EVO 4G Root Walkthrough Part 2 of 2 by aboredguy52.
Click to expand...
Click to collapse
That is a good walkthrough but im stuck at adb-windows reboot recovery
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Acer>adb
'adb' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Acer>
C:\Users\Acer>C:\Users\Acer\Desktop\EVO-recovery
'C:\Users\Acer\Desktop\EVO-recovery' is not recognized as an internal or externa
l command,
operable program or batch file.
C:\Users\Acer>cd
C:\Users\Acer
C:\Users\Acer>cd desktop
C:\Users\Acer\Desktop>cd evo-recovery
C:\Users\Acer\Desktop\EVO-recovery>adb-windows reboot recovery
'adb-windows' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Acer\Desktop\EVO-recovery>
It's easier for me to work it out here. But you are close, so let's just do this the hard way
You said you downloaded the sdk? So make sure its extracted. Then you want to go into that folder, find another folder called tools. Go into that folder and verify that you have a file called adb.
If so, let's set your path. Right click on any file inside of tools, click properties, and select the path or location and copy it. you should have copied the path to that folder. Then go to control panel, system, advanced system settings, then you should see a button called environmental variables. Click on that, then in the lower half of the screen scroll through the list and find the line that says PATH. Highlight it and select edit. Inside this dialog you will go to the end of the line, make sure there is a semicolon, and paste what you copied earlier and end it with a semicolon. Then apply or ok through all the dialog,s, open new command prompt as admin and do adb again.
elegantai said:
It's easier for me to work it out here. But you are close, so let's just do this the hard way
You said you downloaded the sdk? So make sure its extracted. Then you want to go into that folder, find another folder called tools. Go into that folder and verify that you have a file called adb.
If so, let's set your path. Right click on any file inside of tools, click properties, and select the path or location and copy it. you should have copied the path to that folder. Then go to control panel, system, advanced system settings, then you should see a button called environmental variables. Click on that, then in the lower half of the screen scroll through the list and find the line that says PATH. Highlight it and select edit. Inside this dialog you will go to the end of the line, make sure there is a semicolon, and paste what you copied earlier and end it with a semicolon. Then apply or ok through all the dialog,s, open new command prompt as admin and do adb again.
Click to expand...
Click to collapse
OK!!!! that worked! this is what I have.
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>adb
Android Debug Bridge version 1.0.26
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>:<port> - connect to a device via TCP/IP
disconnect <host>:<port> - disconnect from a TCP/IP device
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> - push this package file to the device and i
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
C:\Windows\system32>
-------------------------------------------------
just so you know this is the name of the directory... C:\android-sdk\tools
Let me know the next step!
First of all
You were on the right track. I noticed that you typed cd c:\adndroid-sdk-windows\tools. This is misspelled and probably why your computer couldn't find the directory. If you put the android-sdk-windows file folder in the root of your C drive then you should be able to go into a command prompt and type cd c:\android-sdk-windows\tools . Then type "adb shell" (without quotation marks) and you should be in an adb shell where you can deliver commands directly to your phone based upon adb code. I am a new user here so I'm not able to post links but copy and past the link into your browser and put http before it. Here's the very helpful link with a recovery guide from Toast: forum.xda-developers.com/showthread.php?t=701835
If the file is named android-sdk then open a command prompt and type cd c:\android-sdk\tools hit enter then type adb shell.
Sorry lost track of what your question was!
You should be able to follow your guide now. Check out the wiki link at the top of this forum. Use the cache links since the Wilk is down. Anywho, from your first post, shell is the command prompt. So when it says open shell it means open your command prompt. The adb commands should all work.
Your question as to what wiping is, that is a feature of your recovery when you get to that part. Normally you use all the wipe options for data/cache/dalvik. This just cleans stuff out when you flash a new Rom so that you don't get any weird errors.

[Q] Rooting G2 - Failed to copy : Read-only file system

Hey,
I'm following the tutorial over at G2 Hacks:
g2hacks.co m/g2-hacks/how-to-root-g2-phone
(omit the space between 'co' and 'm/')
I came across a problem at the beginning of the cmd portion.
This is what I type and the error I get.
Code:
C:\AndroidSDK\tools>adb push su \sdcard\su
failed to copy 'su' to '\sdcard\su': Read-only file system
How do you solve this problem?
EDIT: Go to 3rd post.
kpaekn said:
Hey,
I'm following the tutorial over at G2 Hacks:
g2hacks.co m/g2-hacks/how-to-root-g2-phone
(omit the space between 'co' and 'm/')
I came across a problem at the beginning of the cmd portion.
This is what I type and the error I get.
Code:
C:\AndroidSDK\tools>adb push su \sdcard\su
failed to copy 'su' to '\sdcard\su': Read-only file system
How do you solve this problem?
Click to expand...
Click to collapse
If you're wanting to root, go straight to the source; the guide in the Wiki here is based on the work the devs who actually found the means to root the device.
http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
Sent from my T-Mobile G2 using XDA App
I was following the tutorial from the Wiki Guide:
ht tp://forum.xda-developers.co m/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
(omit the space between 'ht' and 'tp' , 'co' and 'm/')
I came across a problem under the TEMP ROOT section.
This is what I type and the error I get.
Code:
C:\AndroidSDK\tools>adb push su \sdcard\su
failed to copy 'su' to '\sdcard\su': Read-only file system
How do you solve this problem?
kpaekn said:
I was following the tutorial from the Wiki Guide:
ht tp://forum.xda-developers.co m/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
(omit the space between 'ht' and 'tp' , 'co' and 'm/')
I came across a problem under the TEMP ROOT section.
This is what I type and the error I get.
Code:
C:\AndroidSDK\tools>adb push su \sdcard\su
failed to copy 'su' to '\sdcard\su': Read-only file system
How do you solve this problem?
Click to expand...
Click to collapse
Is USB debugging turned on and is the SDcard not mounted?
Sent from my T-Mobile G2 using XDA App
Sounds like the SD card is mounted on your PC and not the phone ? It needs to be mounted on the phone or this won't work.
Sent from my HTC Desire Z
All that command does is copy that file from your computer to the sdcard. You could accomplish the same thing by dragging and dropping that file to the sdcard.
The 'push' command just means "copy from location A to location B"
Sent from my HTC Vision using XDA App
You could always just mount the SDcard... but anyway, to solve this type in "adb remount" and enter the command before pushing the file
Sent from my HTC Vision using XDA App
USB debugging is on and SD is not mounted to my computer.
I tried directly copying the files onto the sdcard, but when I need to push rage, busybox, etc. I cannot access the data folder graphically from the computer.
So I'll still need to use cmd.
I tried the remount, but this is what I get:
Code:
C:\AndroidSDK\tools>adb remount
remount failed: Operation not permitted
kpaekn said:
USB debugging is on and SD is not mounted to my computer.
I tried directly copying the files onto the sdcard, but when I need to push rage, busybox, etc. I cannot access the data folder graphically from the computer.
So I'll still need to use cmd.
I tried the remount, but this is what I get:
Code:
C:\AndroidSDK\tools>adb remount
remount failed: Operation not permitted
Click to expand...
Click to collapse
The adb remount error is expected (the command requires your ro.secure prop to be set to 0, which you can't do until you have rooted).
So you were able to copy files to the SD card? Just to verify again, you should try mounting the SD card to you computer (so it shows up as a device on your computer's file explorer), copy over a file, unmount the card from your computer (and remember to also hit the button on phone to do so), and then try the ADB push commands again.
Ok, with the phone on plug it into your computer and mount USB storage. Drag and drop 'su' and superuser.apk into the sdcard then unmount USB storage. Make sure USB debugging is on at this point (you'll see it in the notification task bar). Do these commands:
Code:
adb push rage /data/local/tmp/rage
adb push busybox /data/local/tmp/busybox
adb push root /data/local/tmp/root
adb shell chmod 0755 /data/local/tmp/*
Then in the terminal app type:
Code:
/data/local/tmp/rage
You'll see some message pop up saying something about 'forked #### childs' and that's temp root. Then follow the instructions on running gfree to gain full root. Btw, you can just copy and paste all those commands if you think you'll make a mistake.
You may also be able to run the '/data/local/tmp/rage' command with the 'adb shell' command, never tried it myself though.
kpaekn said:
I was following the tutorial from the Wiki Guide:
ht tp://forum.xda-developers.co m/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
(omit the space between 'ht' and 'tp' , 'co' and 'm/')
I came across a problem under the TEMP ROOT section.
This is what I type and the error I get.
Code:
C:\AndroidSDK\tools>adb push su \sdcard\su
failed to copy 'su' to '\sdcard\su': Read-only file system
How do you solve this problem?
Click to expand...
Click to collapse
Oh come on !!!
the path separator in linux (and the phone is a linux computer) is / and not \ !!!
So the command is:
Code:
C:\AndroidSDK\tools>adb push su /sdcard/su
Just to tell you something about the unix shell:
The \ char is a so called escape character that you use to tell the shell that it should not ignore the next character even if it is a white space (i.e. space)
You would use it if you have to specify a path that contains spaces:
i.e.:
Code:
mkdir dir\ with\ 3\ spaces
will create a directory with the name "dir with 3 spaces". This would not work without the \ characters.
have fun - Guhl
Haha... it's funny how simple the answer was.
Thanks for your guys' help.

[Solved] Got problem when type adb command to root Desire Z

I used this two guides when trying to root my Desire Z
first installed Android_SDK
http://wiki.cyanogenmod.com/index.php?title=Howto:_Install_the_Android_SDK
and it works perfect, I can run command adb devices and my device is shown there.
the problem appear when I followed the second guide to downgrade the ROM
http://wiki.cyanogenmod.com/index.php?title=HTC_Desire_Z:_Rooting#Downgrade_to_1.34.707.3
under that guide, there is some command must be done:
adb push psneuter /data/local/tmp
adb push misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/psneuter
adb shell chmod 777 /data/local/tmp/misc_version
adb shell /data/local/tmp/psneuter
adb shell
Click to expand...
Click to collapse
and when I tried to run "adb push psneuter /data/local/tmp" the command prompt replay "cannot stat 'psneuter': No such file directory"
I already put the "psneuter" in same folder (platform-tools) with adb.exe on directory C: android-sdk-windows.
Anyone has the experience or familiar with this problem? please help
I already search the same problem on google, and find some user has the problem too, but still there is no solution or I already did and useless
Try to cd into the directory that contains adb.exe
Make sure you are in that directory of adb.exe
Example how mine is
cd C:
C: cd android-sdk-windows
C:/android-sdk-windows/> cd platform-tools
C:/android-sdk-windows/platform-toold/>
Then from there do adb comman
C:/android-sdk-windows/platform-tools/>adb push psneutor /data/local/tmp
And so forth and it should go through fine
If you setup sdk in enirovemnt where can run adb anywhere then there less and simple way
All you would have to do is adb push (drag the file into cmd window) /data/local/tmp
theSpam said:
Try to cd into the directory that contains adb.exe
Click to expand...
Click to collapse
ilostchild said:
Make sure you are in that directory of adb.exe
Example how mine is
cd C:
C: cd android-sdk-windows
C:/android-sdk-windows/> cd platform-tools
C:/android-sdk-windows/platform-toold/>
Then from there do adb comman
C:/android-sdk-windows/platform-tools/>adb push psneutor /data/local/tmp
And so forth and it should go through fine
If you setup sdk in enirovemnt where can run adb anywhere then there less and simple way
All you would have to do is adb push (drag the file into cmd window) /data/local/tmp
Click to expand...
Click to collapse
thanks bro, work when I drag the file to cmd
but stuck again when I follow step 7 & 8
7. On the computer, open terminal and run the following command:
adb reboot bootloader
8. Follow the on screen directions, on the HTC Desire Z, on flashing the 1.34.707.3 firmware.
Click to expand...
Click to collapse
can I also ask this question in this thread? or is there anybody have a free time to guide me
after you do those steps in command type adb reboot bootloader once again make sure your in the adb.exe directory
from there phone should reboot int bootloader (white screen) and it will do a check for the PCIMG after it will ask if you want to install update Vol for yes and VOl for no
ilostchild said:
after you do those steps in command type adb reboot bootloader once again make sure your in the adb.exe directory
from there phone should reboot int bootloader (white screen) and it will do a check for the PCIMG after it will ask if you want to install update Vol for yes and VOl for no
Click to expand...
Click to collapse
step 7 work fine, but phone only show bootloader and didn't ask to install update..
maybe stupid question but should i need to run RUU on my computer first after type adb reboot bootloader?
measn you dont have the PCIMG on sdcard
On the computer, open terminal and run the following commands:
adb push psneuter /data/local/tmp
adb push misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/psneuter
adb shell chmod 777 /data/local/tmp/misc_version
adb shell /data/local/tmp/psneuter
adb shell
NOTE: You should have the "#" sign instead of the "$". If you do, you have temporary root, and can continue on.
/data/local/tmp/misc_version -s 1.33.405.5
exit
Copy the 1.34.707.3 firmware to the root of the SD card (NOT in any folders).
On the computer, open terminal and run the following command:
adb reboot bootloader
Follow the on screen directions, on the HTC Desire Z, on flashing the 1.34.707.3 firmware.
Once finished you can can continue to the next section.
Click to expand...
Click to collapse
Ok I got it, it because I copy the RUU on the sd card instead PCIMG.zip, my bad.
another question bro, how to backup my current build (1.82.707.1)? if i downgrade to 1.34.707.3, is not the current build will be replaced?
Vader™ said:
Ok I got it, it because I copy the RUU on the sd card instead PCIMG.zip, my bad.
another question bro, how to backup my current build (1.82.707.1)? if i downgrade to 1.34.707.3, is not the current build will be replaced?
Click to expand...
Click to collapse
need custom recovery to back up current rom sorry
ilostchild said:
need custom recovery to back up current rom sorry
Click to expand...
Click to collapse
is there anyway to do custom recovery without downgrade?
anyway thanks very much for helping me bro, really appreciate it.
umm not that i know of really if you can gain temp root you can back up your apps and all with titanium, but you want a full nandroid your gonna need a custom recovery, and the way your going allows you to downgrade to achive root and custom recovery
ilostchild said:
umm not that i know of really if you can gain temp root you can back up your apps and all with titanium, but you want a full nandroid your gonna need a custom recovery, and the way your going allows you to downgrade to achive root and custom recovery
Click to expand...
Click to collapse
I see, thanks again bro.

no such file fre3vo

Hey everyone,
Currently I have 2.3.4, and so I decided to follow this guide,
[GUIDE] Downgrade G2 (2.3.3) & DZ (2.3.3) & mT4g (2.3.4) w/ S-ON to Stock Froyo
http://forum.xda-developers.com/showthread.php?t=1178912&highlight=downgrade
Anyways, this is how far I got, and I'm currently stuck.. the fre3vo file is definitely placed in platform tools, and I've re-downloaded it and placed the file in there again, however I got the same error message,
cannot stat 'fre3vo': No such file or directory
C:\Users\WC>adb shell cat /dev/msm_rotator
/dev/msm_rotator: invalid length
C:\Users\WC>adb push fre3vo /data/local/tmp
cannot stat 'fre3vo': No such file or directory
C:\Users\WC>adb push fre3vo /data/local/tmp
cannot stat 'fre3vo': No such file or directory
I have been on xda for awhile now, however, I'm usually just browsing and reading around, and I did not have enough posts to qualify me for posting the question on the guide itself. Any help would be greatly appreciated, thanks everyone.
one2345shutup said:
Hey everyone,
Currently I have 2.3.4, and so I decided to follow this guide,
[GUIDE] Downgrade G2 (2.3.3) & DZ (2.3.3) & mT4g (2.3.4) w/ S-ON to Stock Froyo
http://forum.xda-developers.com/showthread.php?t=1178912&highlight=downgrade
Anyways, this is how far I got, and I'm currently stuck.. the fre3vo file is definitely placed in platform tools, and I've re-downloaded it and placed the file in there again, however I got the same error message,
cannot stat 'fre3vo': No such file or directory
C:\Users\WC>adb shell cat /dev/msm_rotator
/dev/msm_rotator: invalid length
C:\Users\WC>adb push fre3vo /data/local/tmp
cannot stat 'fre3vo': No such file or directory
C:\Users\WC>adb push fre3vo /data/local/tmp
cannot stat 'fre3vo': No such file or directory
I have been on xda for awhile now, however, I'm usually just browsing and reading around, and I did not have enough posts to qualify me for posting the question on the guide itself. Any help would be greatly appreciated, thanks everyone.
Click to expand...
Click to collapse
Make sure that file is in the same directory adb is in or that you have the location of adb set in your system path.
Sent from my T-Mobile G2 using XDA App
...and make sure that you unpack it
ah yes.. i understand now.. thank you guys
the fre3vo file is in the same folder as the adb.exe and the path is set to platform-tools ( where the both files are) and it still doesn't work. WHY ? im so furious right now... please help...
Jasiekor said:
the fre3vo file is in the same folder as the adb.exe and the path is set to platform-tools ( where the both files are) and it still doesn't work. WHY ? im so furious right now... please help...
Click to expand...
Click to collapse
Are you running the command from the platform-tools directory? You need to cd to where ever a file is that you're wanting to manipulate, setting the path only matters with commands (ie. what you manipulate with)
Sent from my HTC Vision using XDA App
Help!
I am having the same issue.
ADB recognizes my device but I cannot push and get the 'cannot stat 'fre3vo': No such file or directory'.
I thought that this is something to do with the path? Here is how I set it:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\%SystemRoot%;C:\android-sdk-windows\platform-tools;C:\android-sdk-windows\tools
Any suggestions would be greatly appreciated!
It's nothing to do with your Path. The Path sets whether Windows can find a command or not, in this case the adb command.
The error message about not being able to find fr3vo is because whatever folder you are running the command from, does not contain the fr3vo file. Where is "fr3vo" located on your PC ? Cd to wherever that is (i.e. so if you type "dir" it shows up), and then run adb from there.
Sent from my Desire Z running CM7.
I have placed the files in: C:\android-sdk-windows\platform-tools
This is where ADB is and I am using command prompt...
Apologies for my ignorance!
joeleenus said:
I have placed the files in: C:\android-sdk-windows\platform-tools
This is where ADB is and I am using command prompt...
Click to expand...
Click to collapse
Ok, before you run adb, do "cd \android-sdk-windows\platform-tools". That will change your current folder to the one where you've put the files, so then adb will be able to find them.
Sent from my Desire Z running CM7.
Thank you! Apologies for noobiness...
fre3vo no such file or directory
OriginalGabriel said:
Make sure that file is in the same directory adb is in or that you have the location of adb set in your system path.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
photobucket(dot)com/albums/t366/b0yhustla/775f98d7(dot)png
photobucket(d0t)com/albums/t366/b0yhustla/f9cb92ef(dot)png
This is what i get and this is how my files are set up what am i doing wrong ?
I have a T Mobile HTC G2
Android version
2.3.4
b0yhustla said:
photobucket(dot)com/albums/t366/b0yhustla/775f98d7(dot)png
photobucket(d0t)com/albums/t366/b0yhustla/f9cb92ef(dot)png
This is what i get and this is how my files are set up what am i doing wrong ?
I have a T Mobile HTC G2
Android version
2.3.4
Click to expand...
Click to collapse
I'm no expert, but are you running the command from the same folder that fre3vo is in?
i.e.: in your case, ****-right click in your platform-tools folder and select "open command window here".
EDIT - the forum is blocking the word S H I F T, that should be s h i f t right click
Downgrade HTC does not provide "invalid length"
I am trying to downgrade my HTC Glacier (MyTouch 4g) following Setherio's downgrade guide and am running into this problem.
Step should be
Code:
> adb shell cat /dev/msm_rotator
/dev/msm_rotator: invalid length
But I get
Code:
/system/bin/sh: cat: /dev/msm_rotator: No such file or directory
I ran the command prompt from my platform-tools folder which has the fre3vo and misc_version files in it. I am new to adb and searched the web and XDA for an answer but could only find "permission denied" information related to this step. Thanks in advance!
Needed drivers
Turns out I just needed the HTC drivers on my computer. From there things have been smooth so far. Hope this helps anyone running into the same issue. Thanks for looking.
helpmeplz55 said:
I am trying to downgrade my HTC Glacier (MyTouch 4g) following Setherio's downgrade guide and am running into this problem.
Step should be
Code:
> adb shell cat /dev/msm_rotator
/dev/msm_rotator: invalid length
But I get
Code:
/system/bin/sh: cat: /dev/msm_rotator: No such file or directory
I ran the command prompt from my platform-tools folder which has the fre3vo and misc_version files in it. I am new to adb and searched the web and XDA for an answer but could only find "permission denied" information related to this step. Thanks in advance!
Click to expand...
Click to collapse
no such file of directory
I'm experiencing the same problems as other ppl before me.
I've type in "c:\android-sdk-windows\platform--tools>adb push fre3vo /data/local/tmp cannot stat 'fre3vo' : no such file of directory"
I've moved the fre3vo file to that location also unzipt the file.
but i still get a reply that the file is not there??
what am i doing wrong??
sorry. i was out of this for quite some time.
Screenshots can help as well as copy and pasting all input/output from cmd here
Sent from my Nexus 4 using XDA Premium 4 mobile app
apparently my anti virus scanner was acting up that why it did not work.
the for replying
Crazy I am trying to downgrade an old G2 and am having exact same issue...
I open cmd from C:\platform-tools with shift+right click method and after trying to push fre3vo it says "cannot stat fre3vo no such file or directory exists." My fre3vo file is in the platform-tools folder on my C drive. The file is there adb just does not see it for whatever reason.

HELP!!!! Cannot update FTV manually

Tried these steps
Connect to your Fire TV using ADB
(If you don’t know how, follow up to Step 4 Part 2 in our Windows or Mac guide)
Run the command: adb shell
Run the command: su
(If this is the first time you’ve ever run su, a pop-up will appear on the Fire TV, select Grant)
Run the command: chmod 777 /cache
Run the command: chmod 777 /cache/recovery
Run the command: cd /cache/recovery
Run the command: echo “--update_package=/cache/update.zip” > command
Run the command: exit
Run the command (yes, again): exit
Run the command: adb push update.zip /cache
(This assumes the update.zip file you renamed in step 2 is in the same directory as adb, otherwise enter the full path to the file like adb push C:\full\path\to\update.zip /cache)
Once the update.zip file has finished transferring to the Fire TV, run the command: adb reboot recovery
The update.zip file is on the same folder where the adb platform-tools is located, but when I enter the full path it says no such file or directory.
Mine looks like this C:\Users\XXX\platform-tools>adb push update.zip /cache
What am I doing wrong, please help
CD to the directory first . then enter adb push update.zip /cache
mastafunk said:
CD to the directory first . then enter adb push update.zip /cache
Click to expand...
Click to collapse
I did everything in the same folder.
Do you suggests I go back to root of c folder then go back to the folder again
Copy and paste what you entered and the error..
[url]https://www.dropbox.com/s/rdr3buikslvw1qm/adb.png[/URL]
https://www.dropbox.com/s/rdr3buikslvw1qm/adb.png
Stevie G said:
[url]https://www.dropbox.com/s/rdr3buikslvw1qm/adb.png[/URL]
https://www.dropbox.com/s/rdr3buikslvw1qm/adb.png
Click to expand...
Click to collapse
when you push a file with adb, the file must be in the same folder/path you're running the adb command from. From your example, you need update.zip on your PC at C:\users\Stevie G\platform-tools\
The error is saying the file isn't at that path.
Luxferro said:
when you push a file with adb, the file must be in the same folder/path you're running the adb command from. From your example, you need update.zip on your PC at C:\users\Stevie G\platform-tools\
The error is saying the file isn't at that path.
Click to expand...
Click to collapse
might have issues with the space in Stevie G, try a folder without spaces.

Categories

Resources