ADB Help - Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help &

Hello all, I think this is going to be easily answered here as I can't find the answer anywhere else.
I am trying to use ADB to pull the entire contents of /sdcard/
Ive been typing the following commands
adb root
adb shell
adb pull -p /sdcard/ C:\Users\
after typing the pull command I just end up at a '>' prompt and nothing happens.
I'm using a Win 10 machine, CMD running as admin. My phone is I9305, rooted running CM 12.1, debugging is enabled and I have even installed ADBD insecure.
I have been doing all this with the device booted.
What obvious mistake am I making?

Is your device getting detected in command prompt by typing "adb devices"?

My issue was fixed after EFS repaired and ADB starts detecting my phone

Related

Problem with Adb

Ok i can get to the shell perfectly fine but every time i try to do adb push it can never find the file (and yes its in the right directory). Even if i type adb push by itself, it jus pops up all the adb shell commands. Can some one please help me out here. I tired looking everywhere for a solution but no luck
you are doing it in the correct format right
adb push [dir on computer (no spaces can be used)] [dir on phone (no spaces can be used)]
if you are on windows put the file directly in your C:\ drive and do
adb push C:\filename [dir on phone i.e /sdcard (again with no spaces)]
the help scrolls down because the command is not being typed in a way that adb is supposed to type it as being recognized.
ah yes that did help alot thanks

need help with adb

ive tired the kill server command and a few other things but cant get adb to work right! it shows up 3devices that are the same thing
C:\android-sdk-windows\tools>adb devices
List of devices attached
HT9C2HF00807 offline
HT9C2HF00807 offline
HT9C2HF00807 device
See? and when i run a command like adb -kill-server it just brings up all the commands for adb like it does when you just type in adb and press enter. I have no idea what to do and ive searched around on google trying to find the anwser.
i figured out how to fix this, i was typing in the command adb kill-server wrong and it wasen't doing anything. the guy on google said to do adb -kill-server and really it was adb kill-server had to take out one of the - so this is resolved.

Manually Push CWM to Zv8 With Cmd Prompt.

I realize that these threads are every where but re posting in hopes of helping someone out. Every bit of mt's AIO worked for me, but AIO 2 for Zv8 would not.
You could always do this manually using adb. Here's how.
Push CWM Recovery image to your phone manually once in rooted zv8.
1. Open the ZV8CWMRecovery folder on your PC.
2. Double click the 'Files' folder to go into that directory.
3. Highlight/select and copy the address of your current folder location on your PC. It will look something like this:
Code:
C:\Documents and Settings\username\My Documents\Downloads\ZV8CWMRecovery\Files
4. Click Start>Run>type 'cmd' and hit enter/return to open your command prompt.
5. Type 'cd', hit your spacebar, then paste your address which you copied in step 3 into your command prompt, hit enter/return.
6. You should now be positioned in the folder containing the adb and CWMRecovery files.
7. Type the following to copy the CWMRecovery image to your phone:
Code:
adb devices
adb remount
adb push cwmrecovery.img /data/local/tmp/cwmrecovery.img
adb shell dd if=/data/local/tmp/cwmrecovery.img of=/dev/block/mmcblk0p14 bs=4096
adb shell "rm /data/local/tmp/* 2>/dev/null"
adb shell rm /system/etc/install-recovery.sh
adb shell rm /system/recovery-from-boot.p
adb shell rm /data/local.prop
adb reboot
Phone should reboot. Try and boot into CWMRecovery after it reboots.
you can do that by typing: adb reboot recovery
all thanks go to brad 6360 for lending a hand and general lack of DoucheBaggery!
You're welcome. Glad I could help.
I'm stuck on adb remount cmd. Here's the output I get:
adb remount
remount failed: Operation not permitted
Any ideas? This is the same place I had issues running the AIO .bat file. Any help would be greatly appreciated!
JMink said:
I'm stuck on adb remount cmd. Here's the output I get:
adb remount
remount failed: Operation not permitted
Any ideas? This is the same place I had issues running the AIO .bat file. Any help would be greatly appreciated!
Click to expand...
Click to collapse
Make sure you have internet connection and usb debugging enabled.
JMink said:
I'm stuck on adb remount cmd. Here's the output I get:
adb remount
remount failed: Operation not permitted
Any ideas? This is the same place I had issues running the AIO .bat file. Any help would be greatly appreciated!
Click to expand...
Click to collapse
I was having the same problems. No matter what I tried, AIO, this method, etc, nothing worked when I was using my computer to get CWM back after ZV8. I found this thread that uses terminal emulator on the phone and it worked perfectly.
http://forum.xda-developers.com/showthread.php?t=1594885
I never could get cwm working but a friend recommended QuickBoot, gives you the boot into recovery mode. Works great.
Sent from my VS910 4G using xda premium
This is the same thing as terminal emulater on your phone
with this you can open a shell inside your phone running on your pc
Same commands
Thanks for the suggestions. I ended up getting it to work. I just skipped the adb remount cmd and started with pushing the img. Then I used the su cmd in shell to get a # prompt and ran the rest of the cmds as written including reboot recovery. CWM popped up on boot!
Sent from my Revo 4g using XDA Premium App
Hoping someone can help
Hey all. Last night I was helping a friend keep root through the V8 update. Everything went fine until I thought that I had manually pushed clockwork, but when I tried to reboot into recovery I got stuck on the LG logo forever. How I'm having trouble getting the phone to do anything. When in emergency mode it won't connect to the computer and it's not even my phone so I feel like a real #$%^^. Any advice would be appreciated.
Edit: http://forum.xda-developers.com/showthread.php?t=1564941 allow me to answer my own question

[Q] S-Off 1.56 Help Please

I have been trying to do this at work and cannot figure it out at all. I have unlocked my bootloader and it is rooted and installed custom Twerp recovery. I have downloaded firewater but then am stuck. I have opened up CMD and typed in adp reboot but nothing happens. in the instructions it says I need to do this:
Push, Prepare, and Execute firewater:
adb reboot <–important!!!!
adb wait-for-device push firewater /data/local/tmp
adb shell
su
chmod 755 /data/local/tmp/firewater
/data/local/tmp/firewater
Question is how do I push, Prepare etc? Sorry I have read so many posts this afternoon I am starting to go stir crazy. I have moded loads of samsung phones but this really is starting to go over my head. Any help would be wonderfull
Spendy said:
I have been trying to do this at work and cannot figure it out at all. I have unlocked my bootloader and it is rooted and installed custom Twerp recovery. I have downloaded firewater but then am stuck. I have opened up CMD and typed in adp reboot but nothing happens. in the instructions it says I need to do this:
Push, Prepare, and Execute firewater:
adb reboot <–important!!!!
adb wait-for-device push firewater /data/local/tmp
adb shell
su
chmod 755 /data/local/tmp/firewater
/data/local/tmp/firewater
Question is how do I push, Prepare etc? Sorry I have read so many posts this afternoon I am starting to go stir crazy. I have moded loads of samsung phones but this really is starting to go over my head. Any help would be wonderfull
Click to expand...
Click to collapse
do you have adb and fastboot installed on your computer?
if yes have you opened your cmd prompt from adb/fastboot folder?
is you rphone drivers correctly installed on the computer?
alray said:
do you have adb and fastboot installed on your computer?
if yes have you opened your cmd prompt from adb/fastboot folder?
is you rphone drivers correctly installed on the computer?
Click to expand...
Click to collapse
[*]do you have adb and fastboot installed on your computer? Yes
[*]if yes have you opened your cmd prompt from adb/fastboot folder? Yes
[*]is you rphone drivers correctly installed on the computer? Yes
Error says adb is not recognised as an internal or external command, operable program or batch file
Will try and watch a youtube video tonight. Spent way to much time on this today
Spendy said:
Error says adb is not recognised as an internal or external command, operable program or batch file
Click to expand...
Click to collapse
That mean your cmd prompt doesn't find ADB.exe either because you don't have it or because you did not started the command prompt from adb.exe folder.

adb backup

I can't get the adb backup interface to show on the phone. adb is working, device is recognized. I've tried both NRT adn from command line (Windows machine)
I'm running the M Dev Preview 3
I don't have any screen changing apps installed, device is not rooted
Any thoughts?
just to give a little more information. I'm running the following adb command
adb backup -apk -shared -all -f C:\temp\Nexus6_2015-10-5.ab
It tells me to unlock the phone and confirm but nothing shows up on the phone
adb devices shows the device
adb reboot will reboot the phone
makes me think adb is working
Figured it out
Downloaded the SDK via android studio and ran it that way instead of through the WugFresh directory

Categories

Resources