Let's say I'd create a folder named "storage" on my c: drive, then open it, shift-right click, "open command prompt here". What would be the exact commands to pull and afterwards push the whole content of /sdcard?
Lownita said:
Let's say I'd create a folder named "storage" on my c: drive, then open it, shift-right click, "open command prompt here". What would be the exact commands to pull and afterwards push the whole content of /sdcard?
Click to expand...
Click to collapse
There are maaaaaaany tutorials for this. https://forum.xda-developers.com/android/general/guide-how-to-adb-to-push-pull-files-t3372710
bensen from hell said:
There are maaaaaaany tutorials for this. https://forum.xda-developers.com/android/general/guide-how-to-adb-to-push-pull-files-t3372710
Click to expand...
Click to collapse
I know, but this doesn't apply to my question at all. I need to know which paths I have to prompt in. I know how ADB and fastboot are working in general.
OP3 has "sdcard" mounted under /storage/emulated/0
But there's also a link /sdcard, so that should work too.
Sent from my OnePlus 3 using Tapatalk
Related
i am trying to install a boot animation, but i can't remember the sequence or how to navigate to the tools folder with my command prompt. 2 weeks ago i managed to change my splash screen, but im still kinda new with this and forgot what i did. lol. i've tried searching this forum, but nothing ive found so far helps. could someone point me in a better direction? thanks!
open command prompt either by the shift right click method or using the cmd prompt... if the shift right click method doesn't work (it doesn't for me) then just do it the long way
type:
cd android-sdk-windows
cd tools
then type the commands of what you're trying to fastboot
surrealmethod said:
open command prompt either by the shift right click method or using the cmd prompt... if the shift right click method doesn't work (it doesn't for me) then just do it the long way
type:
cd android-sdk-windows
cd tools
then type the commands of what you're trying to fastboot
Click to expand...
Click to collapse
Not quite.
Code:
cd c:\android-sdk-windows\tools
That will put you in the ADB directory, assuming you have the android-sdk-windows folder on the root of your C: drive, not inside another folder (mine downloaded inside another folder, I just pulled it out and put it so it fits the above structure). Then pass the commands.
Power user tip: Just type in "cd c:\and" and then hit Tab. It will complete the rest of the folder name, then you can hit "\t" and hit Tab again to complete the next part. Tab is an auto-complete feature. I never type path names anymore.
Hi, i want to unlock my bootloader, and i know that i must use fastboot app on my computer.
But everytime i click on fastboot.exe it's turn off after 1 second?
What I do wrong?
hurdleman said:
Hi, i want to unlock my bootloader, and i know that i must use fastboot app on my computer.
But everytime i click on fastboot.exe it's turn off after 1 second?
What I do wrong?
Click to expand...
Click to collapse
It's a command line program, so you have to open a command prompt to the directory fastboot is in
An easy way to get command prompt to the correct directory is to hold shift and right click on an empty space in the folder (make sure no files are selected), then an "open command window here" option can be selected
no offence but if you fail at loading a CLI program then maybe you should re consider unlocking your device. but if you know what your doing and this was a genuine silly mistake then feel free to unlock it.
Fma965 - Forgottencoders.co.uk
jacklebott said:
An easy way to get command prompt to the correct directory is to hold shift and right click on an empty space in the folder (make sure no files are selected), then an "open command window here" option can be selected
Click to expand...
Click to collapse
The shift - click method only works in Windows 7, I think.
But you can also open up a CMD window and use the CD command (Change directory). Type in cd and then drag and drop the folder containing the fastboot files in the CMD window and then press Enter.
Sent from my R800i using xda premium
I have adb set up correctly because commands like adb pull work fine but when I try to push files to my phone e.g. C:\Users\****\Downloads\filename\ /sdcard/ it returns"cannot stat ';Users\blah\blah\blah no such file or directory exists. Am I putting wrong path in?
Your best bet is to navigate to the folder with the file you wish to push in and hold shift and right click in a blank area. Then click "Open Command Prompt here"
Also remember that if the file name has spaces in, it MUST have quotes around it, or it will not work
Sent from my Galaxy Nexus using Tapatalk 2
diver47591 said:
I have adb set up correctly because commands like adb pull work fine but when I try to push files to my phone e.g. C:\Users\****\Downloads\filename\ /sdcard/ it returns"cannot stat ';Users\blah\blah\blah no such file or directory exists. Am I putting wrong path in?
Click to expand...
Click to collapse
What is the exact command you are using?
Thank you
Quinny899 said:
Your best bet is to navigate to the folder with the file you wish to push in and hold shift and right click in a blank area. Then click "Open Command Prompt here"
Also remember that if the file name has spaces in, it MUST have quotes around it, or it will not work
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I don't know how to thank you. I have been trying to figure this out on my own for weeks. As soon as I did it your way it was so easy I almost couldn't believe it. Thank you so much.
Problem solved. Thank you for your response!
im trying to unlock my gsm nexus bootloader in command run it says 'adb' is not recognized as an internal or external command,operable program or batch file. what do i do?
I'm assuming you have Android SDK downloaded to your C:\ drive or or some place like that. if so then navigate to SDK folder and hold shift then right click platform-tools folder and then click open command window here. .
PhazeDelta1 said:
I'm assuming you have Android SDK downloaded to your C:\ drive or or some place like that. if so then navigate to SDK folder and hold shift then right click platform-tools folder and then click open command window here. .
Click to expand...
Click to collapse
yeap i did that already i open command window and type adb reboot bootloader it gives me that msg
galaxy16 said:
im trying to unlock my gsm nexus bootloader in command run it says 'adb' is not recognized as an internal or external command,operable program or batch file. what do i do?
Click to expand...
Click to collapse
You need to get adb working on your PC. You don't have it installed or you are using it wrong (not in the directory it is in, or it isn't set to PATH as examples).
Side note adb doesn't work in the bootloader.
use gnex toolkit in galaxy nexus android development
Open the CMD and navigate to the folder where ADB.EXE is located and like someone mentioned about adb wont work in bootloader, so instead you'll have to use "fastboot", type "fastboot /?" for help and commands.
also make sure you execute CMD as Administrator.
on the toolkit, adb file's name is different. try "adb-toolkit" instead of "adb"
so: "adb-toolkit reboot bootloader"
What is the easiest method to root HTC one that is on 4.2.2?
cis314 said:
What is the easiest method to root HTC one that is on 4.2.2?
Click to expand...
Click to collapse
Here's what you're looking for...it's your only option if you don't want to mail it anywhere:
http://forum.xda-developers.com/showthread.php?t=2473644
Sent from my HTC6500LVW using XDA Premium 4 mobile app
cis314 said:
What is the easiest method to root HTC one that is on 4.2.2?
Click to expand...
Click to collapse
I finally got my htc one rooted and flashed plenty of roms so far I had a lot of stupid issues with rooting but guys on here were very helpful even tho I had to ask questions over and over again to troubleshoot problems. Easiest way was to dl rumrunner and get s-off and bootlader loaded. Them just flash a recovery. My buggiest prob was getting all files on my comp into a separate folder and opening a cmd from that folder. Also remember to always run stuff on ur comp as an administrator!
how did you flash recovery? I am having such a hard time flashing recovery!
cis314 said:
how did you flash recovery? I am having such a hard time flashing recovery!
Click to expand...
Click to collapse
put recovery.img in adb folder
open cmd prompt
type fastboot flash recovery nameofrecvovery.img
andybones said:
put recovery.img in adb folder
open cmd prompt
type fastboot flash recovery nameofrecvovery.img
Click to expand...
Click to collapse
Easier to just type "fastboot flash recovery (drag recovery.img here)"
that way you can save the recovery on your desktop or wherever. I wish adb/fastboot could be ran from anywhere and not just the adb folder though.
exzacklyright said:
Easier to just type "fastboot flash recovery (drag recovery.img here)"
that way you can save the recovery on your desktop or wherever. I wish adb/fastboot could be ran from anywhere and not just the adb folder though.
Click to expand...
Click to collapse
if you set it up correctly it can be, I can put the .img in my C folder, open a cmd and run commands, but it would still need the adb file.
so put the recovery whereevere your adb.exe is..
you can even make a folder called apktool in c: (thats what I have, that has adb.exe, fastboot, smali, baksmali, etc)
andybones said:
if you set it up correctly it can be, I can put the .img in my C folder, open a cmd and run commands, but it would still need the adb file.
so put the recovery whereevere your adb.exe is..
you can even make a folder called apktool in c: (thats what I have, that has adb.exe, fastboot, smali, baksmali, etc)
Click to expand...
Click to collapse
Adding the path to the adb.exe (and fastboot.exe) directory, to the environment variables, allows you to run ADB and Fastboot from any directory.
In Windows, right+click "Computer", select "Properties", click on "Advanced System Settings". On the "Advanced" tab select "Environment Variables" . In the bottom window find the "Path" string and add the path to ADB directory to the end.
The Paths in the string are separated by a semi-colon, so for example, I've added the path to my platform-tools directory like such:
;c:\android-sdk\platform-tools
This can also be done in Linux and Mac OS X, environment variables are stored in a hidden text file in the home folder. You can also adde it by typing the the PATH command in a terminal. Just Google it. Only takes a minute and saves time by not having to "CD" to your ADB directory every time.
EDIT: This Tut. has nice screen shots
http://forum.xda-developers.com/showthread.php?t=757233