fastboot questions - G1 Android Development

I come from the world of Windows Mobile and have just recetly delved into hacking my G1. While I've had no problems installing jesusfreke's images or themes...I'm struggling with how to get fastboot to work.
Perhaps someone can give me some guidance. Anyone willing to give me some simple step by step instructions. I've searched for this and i think I have everything i need, but I'm unable to get to a point where I can type in commands. when i try to run adb, it open very briefly and closes.
What am i doing wrong?
Thanks,
Jason

Go to start -> run -> type in CMD
Navigate to the folder where adb is located.
Then type in adb devices to see if it finds ur device.
If not then make sure you have it plugged in and USB debugging is turned on in the phones settings under Development.
Also download the usb drivers/or the whole SDK if you havent yet.

nosaj13 said:
when i try to run adb, it open very briefly and closes.
Click to expand...
Click to collapse
If you try to execute a text mode executable in windows, it will close the terminal window as soon as the program finishes. If you run adb without any arguments, it will print the arguments out terminate. I could say the solution is to open run as and type cmd, but the true answer is to install Linux

nosaj13 said:
I come from the world of Windows Mobile and have just recetly delved into hacking my G1. While I've had no problems installing jesusfreke's images or themes...I'm struggling with how to get fastboot to work.
Perhaps someone can give me some guidance. Anyone willing to give me some simple step by step instructions. I've searched for this and i think I have everything i need, but I'm unable to get to a point where I can type in commands. when i try to run adb, it open very briefly and closes.
What am i doing wrong?
Thanks,
Jason
Click to expand...
Click to collapse
1. Download this
2. Extract the contents of the fastboot directory to the root of your C drive.
3. Go Start -> Run -> type 'cmd' (no quotes) and hit enter
4. Type 'c:' (no quotes) and hit enter
5. With your phone plugged in, you should be able to type 'adb devices' and it should return your phones serial number, which is usually in HTXXXXXXXX format. If it does not, make sure debugging is enabled on your phone and you have the adb drivers installed.
6. type 'adb shell reboot bootloader' and hit enter. The screen on your phone will go blank for a second and then you should be in the SPL with the skating androids. Make sure you see "FASTBOOT" at the bottom of the screen.
7. type 'fastboot devices' and hit enter. If you see your phone's serial number again, you have successfully established a fastboot connection with the phone and can run commands such as:
fastboot erase <partition> (erases the given partition)
fastboot flash <partition> <file.img> (overwrites and flashes given partition with given file. This is how one would restore from a nandroid backup)
fastboot reboot (reboots the device into user mode)
Hope that helps. Have fun

when i type adp devices i get an error that says "adp is not recognized as an internal or external command, operable program, or batch file"
what am i doing wrong?

nosaj13 said:
when i type adp devices i get an error that says "adp is not recognized as an internal or external command, operable program, or batch file"
what am i doing wrong?
Click to expand...
Click to collapse
First, the command is adb devices not adp. Second, make sure you copied the contents of the fastboot directory to the C drive. Third, make sure you that when you type 'c:' into the command line, the command prompt actually changes to "C:\>"

Datruesurfer said:
1. Download this
2. Extract the contents of the fastboot directory to the root of your C drive.
3. Go Start -> Run -> type 'cmd' (no quotes) and hit enter
4. Type 'c:' (no quotes) and hit enter
5. With your phone plugged in, you should be able to type 'adb devices' and it should return your phones serial number, which is usually in HTXXXXXXXX format. If it does not, make sure debugging is enabled on your phone and you have the adb drivers installed.
6. type 'adb shell reboot bootloader' and hit enter. The screen on your phone will go blank for a second and then you should be in the SPL with the skating androids. Make sure you see "FASTBOOT" at the bottom of the screen.
7. type 'fastboot devices' and hit enter. If you see your phone's serial number again, you have successfully established a fastboot connection with the phone and can run commands such as:
fastboot erase <partition> (erases the given partition)
fastboot flash <partition> <file.img> (overwrites and flashes given partition with given file. This is how one would restore from a nandroid backup)
fastboot reboot (reboots the device into user mode)
Hope that helps. Have fun
Click to expand...
Click to collapse
i did all the above steps with no problem at all till i got to number 7. when i typed in fastboot devices it just goes to the next prompt without my phone showing up.
If i plug in my g1 in normal mode i see it at the top under adb and in the usb section as a mass storage device.
In bootloader mode with fastboot on the screen it doesnt show up anywhere in the device manager.
Also when i follow the above quoted steps and type in the "adb shell reboot bootloader" and hit enter i hear the ding you hear when you unplug a usb device, and all instances of the phone then leave the device manager.
i have also uninstalled and reinstalled all drivers for the phone and all drivers that have to do with the usb ports on my win xp machine.
Anyone have any ideas i could try?

I think you need this program. I put it on my desktop, then just ran cmd, directed to it, and type in fastboot.

I7oobie said:
I think you need this program. I put it on my desktop, then just ran cmd, directed to it, and type in fastboot.
Click to expand...
Click to collapse
thats not it. i have that in the sys 32 folder and also on desktop

Fastboot mode not recognized
I'm having the same problem. I've installed all the correct drivers and in normal mode, I see the Android Composite Device (or something similar) in Device Manager.
As soon as I go into SPL mode (the 3 skateboarding androids screen), the device does not show up.
Anyone have any ideas? Thanks!

Datruesurfer said:
First, the command is adb devices not adp. Second, make sure you copied the contents of the fastboot directory to the C drive. Third, make sure you that when you type 'c:' into the command line, the command prompt actually changes to "C:\>"
Click to expand...
Click to collapse
When I'm in the Command Prompt and I type C:, the directory still reads C:\Documents and Setting\Reids. It won't change to only C:

Hi,
You have to do this to get back to c:
cd\
press enter
That should do it.

bestwebs said:
Hi,
You have to do this to get back to c:
cd\
press enter
That should do it.
Click to expand...
Click to collapse
Ok, thanks a lot. Got it working now.

I need help trying to flash my cupcake images that I have stored in my fastboot folder. I attached the pictures below. I will accept any help I can get.

EDIT: Doh, I thought I was in another topic.
My bad.

Are adb & adb's dll files located inside the same folder as fastboot??? They are suppose too be.
Is your usb cord directly plugged into your system or thru a hub??
Your phone, i bet is under usb mass....to check, expand your device manager window.
Expand your USB-Mass storage list.
With your phone in fastboot mode, click on the camera key and the back key. With enough time inbetween for your system to recognize that there might be a device hooked up.
Notice any change in the list??

Anyone wanting good instructions
http://androidcommunity.com/forums/f28/nandroid-v2-0-full-nand-backup-and-restore-tool-9336/
Read post 2 and go!

this seems like the most easiest thing to do but i still cant get it to work
i have downloaded everything needed and see ADB Interface on my device manager with a yellow mark on it when i try to update the dirver it fails and i got the drivers and point them to it but seems not to work
my phone is on the fastboot screen with the android skateboards guys
i dont know whats going on if someone know what am also doing wrong can tell me please...
This is what i get

Related

Rooting issues - ADB unable to locate phone in fastboot

Hi everyone,
I have looked everywhere on google and have been at this for over 5 hours now. I have tried rooting my phone from 3 different PCs (XP SP3, SP2 and 7). With all of them i have managed to get the drivers for adb installed (after many problems) and got all the way to the fastboot part of the rooting.
Once i get there, i have the same problem on all 3 PCs. ADB can no longer find my phone! Following the instructions, i checked for the device before i powered it off and found it by doing abd devices in cmd prompt. The moment the device is powered off and then back on, bam! No more device!
I am at my wits end at this point and just don't know what else I could possibly do! I would be immensely grateful for ANY advice.
I did check that my device allowed USB debug so that's not it either.
Also, my phone is a Rogers phone and I have just put through the upgrade they sent this morning.
adb cant find your phone in fastboot mode but fastboot can
Try writing fastboot devices instead of adb devices
All the comands in fastboot mode start with fastboot...e.g fastboot flash xxx xxx.img
I ran into this problem as well on my attempt, I forgot to re-enable (or enable) depending on where I was at "usb debugging" which is in:
settings> applications > development > check the usb debugging box.
After that, when you do abd devices in your shell, it should surely list after that. Good luck!
edit-- woops scratch that.. sorry I just read back that you made sure of that.
Thank you for that!
Now, i see it in fastboot, but when i try typing fastboot boot recovery.img i get a "cannot load recovery.img"
Sorry, apparently i need a lot more hand holding than i though!
(this is where I am getting the instructions from HowardForums. I'd post the link but I can't do that yet on this forum...
Basically, these are the instructions i am following:
If the phone you have is an HTC Magic (no hardware keyboard), the method is pretty much the same. I modified Haykuro's zip with files that were meant for the Magic. You can grab it here:
*link*
Again, open another command prompt as steps 2, and 6-8 are entered in the command prompt.
Quote:
Originally Posted by Haykuro-ish
0. Place update.zip on SD card.
1. power off the phone and boot into fastboot (hold back and power)
2. fastboot boot recovery.img
3 [optional]. make a backup with nandroid
3. apply update. (LET IT FINISH, DO NOT TOUCH ANYTHING UNTIL YOUR PHONE IS COMPLETELY IDLE. DO NOT TOUCH AFTER FIRST REBOOT (WHEN CHIP APPEARS) UNLESS YOU LIKE A BRICK. )
4. reboot out of recovery mode.
5. power off phone, hold back button and power to boot into fastboot again
6. fastboot flash boot boot.img
7. fastboot flash recovery recovery.img
8. fastboot reboot
enjoy!
These are pretty much the Haykuro instructions for the Dream, which I modified to apply to the Magic. The boot and recovery images were made by Amon_RA. Happy Rooting!
Just like with the Dream, the first part flashes a good SPL, the second flashes a rooted boot and recovery. The easiest way to test if the device is rooted is to open another command prompt in the tools dir and type
Code:
adb root
If it returns that adb is already running in root, then you're all set.
Click to expand...
Click to collapse
Am i doing something wrong?
Thanks so much!
You need to navigate to the folder where you saved your recovery.img
For example if you put it on d:/Android dev. you will need to do (inside cmd)
d: (switches to drive d
cd d:/Android dev. (changes the folder to android dev.)
and then issue the fastboot command
without the brackets of course...
eyegor said:
You need to navigate to the folder where you saved your recovery.img
For example if you put it on d:/Android dev. you will need to do (inside cmd)
d: (switches to drive d
cd d:/Android dev. (changes the folder to android dev.)
and then issue the fastboot command
without the brackets of course...
Click to expand...
Click to collapse
Again, thank you so much! It seems I am still having issues as now I'm being told that "remote not allow".... is this a rogers thing?
Again i do apologize for all the hand-holding necessary here
yes, i am getting this <remote:not allow> message too. I was able to fix my other magic (purchased in october) via fastboot boot recovery.img but not this new one i have (purchased in Dec).
Anyone have any ideas how to bypass this block of 'remote, not allowed"?

[Q] Serious problem

Hi,
please help me! I hope it is not a brick.
I wanted to make full wipe. I made factory reset in recovery and then wiped sdcard.. Now I cannot boot ROM because there is no one and I have nothing on my SD. So I even cannot copy rom or backup back to phone.
Is there any way out? (
EDIT: I think I can push files (e.g. backup) through adb, right? I installed adb for dummies but when I want to execute SDKmanager.exe. it only opens black window and immediately closes it. I cannot continue
devcager said:
Hi,
please help me! I hope it is not a brick.
I wanted to make full wipe. I made factory reset in recovery and then wiped sdcard.. Now I cannot boot ROM because there is no one and I have nothing on my SD. So I even cannot copy rom or backup back to phone.
Is there any way out? (
EDIT: I think I can push files (e.g. backup) through adb, right? I installed adb for dummies but when I want to execute SDKmanager.exe. it only opens black window and immediately closes it. I cannot continue
Click to expand...
Click to collapse
Access your commands through a terminal window, like start > run > cmd to get into the prompt.
and from there work your way to your directory where you have placed it, and execute the command from that directory directly.
..
Thanks!
In the end I used adb to push backup in recovery...
All this I did because I wanted wipe my device - today I woke up and got a call and found out that my earphone stopped working I am afraid that it is due to condensation and next oxidation... I did not do anything wrong but when you come from cold winter weather into a warm flat it can happen Now I need to send it and hope the warranty will pass..
Anyway, I was looking for complete unroot process and found several advices. I am not clever from them. Is it enough to flash stock ROM? Recovery will be removed as well??
..
Election Day said:
Flash a stock ROM (this will also flash the stock recovery) and relock the bootloader with fastboot oem lock afterwards.
Click to expand...
Click to collapse
Ok. I have everything done but the relocking. Could you tell me how shall I do this? I tried to write "adb reboot bootloader" and then " fastboot oem lock" but both case the command line responded something like that it is not internal command etc. (I dont have it in English) Cannot lock it
devcager said:
Ok. I have everything done but the relocking. Could you tell me how shall I do this? I tried to write "adb reboot bootloader" and then " fastboot oem lock" but both case the command line responded something like that it is not internal command etc. (I dont have it in English) Cannot lock it
Click to expand...
Click to collapse
1.Switch off your phone
2.Connect your phone to your PC throught the USB cable
3.Switch on phone into fastboot
4.Provided that you have the driver for windows for the phone installed open Start/run/cmd (from your PC)
5.From the Android-SDK/platform-tools run the following "fastboot oem lock".
like :
C:\Android-sdk\platform-tools\fastboot oem lock
this will lock it immediately ...
mahanddeem said:
1.Switch off your phone
2.Connect your phone to your PC throught the USB cable
3.Switch on phone into fastboot
4.Provided that you have the driver for windows for the phone installed open Start/run/cmd (from your PC)
5.From the Android-SDK/platform-tools run the following "fastboot oem lock".
like :
C:\Android-sdk\platform-tools\fastboot oem lock
this will lock it immediately ...
Click to expand...
Click to collapse
it works only in "tools" and then it just says "waiting for device" and stucks When I tried "fastboot devices" it says nothing... I tried to reinstall drivers but maybe I have some old version? When I am in Windows copying files etc. it works well.
1. Make sure you open the command prompt IN in the folder with fastboot.exe.
2. Put the phone in fastboot mode.
3. In the command prompt type fastboot devices.
It will now show your serial number. If not its either you are such a noob that you managed to screw that up or the fastboot drivers are not installed. Or both.
albundy2010 said:
1. Make sure you open the command prompt IN in the folder with fastboot.exe.
2. Put the phone in fastboot mode.
3. In the command prompt type fastboot devices.
It will now show your serial number. If not its either you are such a noob that you managed to screw that up or the fastboot drivers are not installed. Or both.
Click to expand...
Click to collapse
OK. I really dont understand what could have been screwed up. Ok. It doesnt show anything. Just nothing. Cen you please send me the link for the drivers which should work? Maybe there is the problem. Fastboot drivers are something else than drivers for adb to be working? Because I dont know whats wrong. Thanks...
devcager said:
OK. I really dont understand what could have been screwed up. Ok. It doesnt show anything. Just nothing. Cen you please send me the link for the drivers which should work? Maybe there is the problem. Because I dont know whats wrong. Thanks...
Click to expand...
Click to collapse
If you have i9023 you need to add a line into the sdk for driver. You can search the tutorial threads for it.
Sent from my Nexus S using Tapatalk
try this
just check if you have fastboot and adb on the same folder, when I've rooted mine's got this issue, if cmd report "the command is an external one" simply means there is no such program in the folder you are in
copy both adb and fastboot in tools and platform-tools too, so you can run the command in both folder
cd>desktop > cd android>cd android-sdk> cd tools (then run adb or fastboot)
cd>desktop > cd android>cd android_sdk> cd platform-tools (thr run adb or fastboot)
1. Find out exactly what phone model you have if you don't know already.
2. Do the same for your computers os . Including 32 or 64 bit.
3. Combine that info and search the forum or just Google search. How to install fastboot drivers for phone model in step 1 with the os in step 2.
..
Thank you all. I decided to unroot it and relock it using Odin software which was great and quick. So I am done.... Adb has a lot of problems with drivers, commands, paths. This way was much easier
adb has no issues. User error.
albundy2010 said:
adb has no issues. User error.
Click to expand...
Click to collapse
+1
Sent from my GT-I9100 using XDA App
albundy2010 said:
adb has no issues. User error.
Click to expand...
Click to collapse
Maybe you are right. Maybe it was driver problem which I solved and then immediately used odin. Anyway, it is user friendly and I am finally done with what I wanted
albundy2010 said:
adb has no issues. User error.
Click to expand...
Click to collapse
Agreed, but not the user friendliest.
For the OP: Good luck having it repaired!

Broken screen, need to retrieve files off phone! help please

My screen first cracked and then the LCD completely went now... I have files I need to retrieve off the phone. It is rooted and running some ICS build... I believe the phone is in USB debugging mode, the screen still 'works' I can unlock the phone but nothing is displayed on the screen. Possibly someone could help me out with the adb process for pulling the contents off the /sd
Any help will be GREATLY appreciated, thank you for your time.
ur usb mass storage should still work. can u just plug ur phone to a usb port and get things off the phone ?
As previously stated. I believe the phone was in USB debugging mode. And now the screen is completely black... impossible to navigate to where i need to be.
You'll need adb setup on your computer, and you'll need to cd your way into the folder with adb.exe. Forgive me for hotlinking, but this will make it easier: Download this file, courtesy of NexusSHacks.com (I believe it is Zedomax around here). I would advise to unzip the contents in this file to your C:\Nexus directory, so that adb.exe is at C:\Nexus\adb.exe.
Now, plug in your phone. Open your start menu and search for "cmd" and open up Command Prompt. This is the basic Windows CLI (Command Line Interface).
First, you'll need to open the directory of the Nexus folder you created earlier. To do this, type in the command prompt:
Code:
cd C:\Nexus
Now, you want to make sure adb sees your phone:
Code:
adb devices
The adb service should start and if it sees your phone it will pop up a serial number. If there is no serial number, you can't use adb while inside android and you'll need to tick the option or find an alternative way. Assuming it finds your device, you are good to go.
In order to copy the /sdcard folder of your Nexus S, you will use the pull command. We will throw all of the files into C:\Nexus\sdcard, for reference. So in the command prompt, type:
Code:
adb pull /sdcard .\sdcard
It looks a little confusing but don't stress. Just make sure you type it in exactly (dot, correct slash, etc). This will take a little while since it might transfer up to ~15GB worth. You'll see a new line with "C:\Nexus>" with a flashing cursor when it is done. Then you can view all the contents of your sdcard at C:\Nexus\sdcard and do with them as you please.
Also note, for this you'll need up to ~15GB of free space on your C:\ partition, make sure you have this before you start. Good luck
old post I know, but I just dropped my Samsung Captivate (rooted with debugging on) and internal screen cracked (gorilla glass is perfectly fine!), so I am in the same boat. After DAYS... actually DAYS of trying everything from every forum I FOUND A FIX!!!
Now admittedly, I am unsure which of these two (or both) fixed the issue, but here is what I did:
via Google Play's online "shop", I installed "Auto Mount Your SD Card" by JRTStudio (admittingly, unsure if this did anything as I cannot verify if it installed or anything via the phone)
https://play.google.com/store/apps/...wsMSwxLDEsImNvbS5qcnRzdHVkaW8uYXV0b21vdW50Il0.
then I DL'ed MoboRobo and after a few frustrated phone reboots, usb cable connections and much cursing IT CONNECTED!
http://www.moborobo.com/
I am currently DLing all my files from my broken phone!
I had to pass this along as I said... NOBODY seems to know about this as it has taken me DAYS to do this! Not even ATT (Current carrier) nor Spring (whom I am switching to in a month or so) could help me!
You save my life with that "moborobo". Thank you very much.
Glad I could help!!!
Thanks went to both of u, quit important piece of knowledge.
One question; r u downloading "moborobo" on ur Android, on your pc or on both of them?
just on PC, not needed on the phone unless you want to go via WiFi
Harbb said:
If there is no serial number, you can't use adb while inside android and you'll need to tick the option or find an alternative way.
Click to expand...
Click to collapse
What do you mean by this?
My adb service doesn't detect my phone, I used Droidzone's tutorial. I believe usb debugging needs to be on for adb to work, which in my case is useless cause my screen is broken so can't turn on usb debugging.
This is what happens:
---------------------------
C:\>adb devices
List of devices attached
C:\>
---------------------------
---------- Post added at 11:31 PM ---------- Previous post was at 11:23 PM ----------
^when I say broken, I mean the whole screen is distorted, I cannot see anything
droidoidoid said:
What do you mean by this?
My adb service doesn't detect my phone, I used Droidzone's tutorial. I believe usb debugging needs to be on for adb to work, which in my case is useless cause my screen is broken so can't turn on usb debugging.
This is what happens:
---------------------------
C:\>adb devices
List of devices attached
C:\>
---------------------------
---------- Post added at 11:31 PM ---------- Previous post was at 11:23 PM ----------
^when I say broken, I mean the whole screen is distorted, I cannot see anything
Click to expand...
Click to collapse
Reboot to recovery. Bam, working ADB. You can navigate there pretty easily. Pull battery, then re-insert. VOL + & PWR, two click on VOL -, PWR button once. You're in recovery now.
QtADB also can be used is this case
http://qtadb.wordpress.com/download/
paskalion said:
QtADB also can be used is this case
http://qtadb.wordpress.com/download/
Click to expand...
Click to collapse
No go on this either.
Downloaded QtADB, ran the .exe
Pointed to the folder with the aapt and adb binaries, program opened up
Phone's connected and on (I can hear texts coming through), hit refresh a few times, still not detecting
polobunny said:
Reboot to recovery. Bam, working ADB. You can navigate there pretty easily. Pull battery, then re-insert. VOL + & PWR, two click on VOL -, PWR button once. You're in recovery now.
Click to expand...
Click to collapse
That's a little tough. I'm using a Galaxy S so I'm following instructions for that, but it's hard to know if I'm in recovery mode or not. Since adb doesn't detect the device, it's hard to know whether the phone went into recovery mode, or whether adb is setup correctly. It would be handy for a voice sample to play "recovery mode" once the phone boots into it.
droidoidoid said:
That's a little tough. I'm using a Galaxy S so I'm following instructions for that, but it's hard to know if I'm in recovery mode or not. Since adb doesn't detect the device, it's hard to know whether the phone went into recovery mode, or whether adb is setup correctly. It would be handy for a voice sample to play "recovery mode" once the phone boots into it.
Click to expand...
Click to collapse
You're in the wrong forum, then.
And whether or not adb is installed properly, you would know in your device manager under Windows. Appears as a device.
polobunny said:
You're in the wrong forum, then.
And whether or not adb is installed properly, you would know in your device manager under Windows. Appears as a device.
Click to expand...
Click to collapse
Ok... Galaxy S i9000 stuff goes in the Galaxy S i9000 forum.... that's probably why my other post got deleted! :laugh:
As for adb... it appears as a process in task manager, so it's running - I know that much. It's not appearing as a device in device manager (why would it if it's a process? or are you referring to my phone appearing as a device?)
Only areas I can think of that aren't correct are the environment variable and the way I'm doing recovery mode. Since I can't see the screen, I don't know which one is causing the issue! :crying:
Samsung broken??
Contact this guy in Paris , he's very good and friendly!! he repairs my blue Galaxy S3 in front of me
Tel: 0950 850 500 Direct Technique
repare-galaxy com
don't hesitate to call them because i know their skills and it's very good!!
tell them that u call from Mike ciao guys!!
Problem!
Harbb said:
Code:
adb pull /sdcard .\sdcard
It looks a little confusing but don't stress. Just make sure you type it in exactly (dot, correct slash, etc). This will take a little while since it might transfer up to ~15GB worth. You'll see a new line with "C:\Nexus>" with a flashing cursor when it is done. Then you can view all the contents of your sdcard at C:\Nexus\sdcard and do with them as you please.
Click to expand...
Click to collapse
Hey, I got to this problem and I got stuck. I also have a Nexus S with a cracked screen. When I put in the final phrase into the command window it just told me that 0 filles were pulled! Why didnt it pull my files?
What I am trying to do is get all of my pictures and others off the phone.
Please help!
SkullMblem said:
Hey, I got to this problem and I got stuck. I also have a Nexus S with a cracked screen. When I put in the final phrase into the command window it just told me that 0 filles were pulled! Why didnt it pull my files?
What I am trying to do is get all of my pictures and others off the phone.
Please help!
Click to expand...
Click to collapse
This happened to me as well. You have to make sure that your phone has its sdcard folder mounted. Type "adb shell" to get access to the phones command terminal. Then type in "mount /sdcard" I think, or maybe it was "mount sdcard". Either way will probably work so long as you are in the root directory of the phone. You can navigate around in the phone just like a normal linux terminal. "ls" shows list of files and folders in the current directory, "cd foldername" moves into a folder, "cd ../" moves back, "cd /" goes to root directory, etc. Anyhow, once you have mounted the sdcard, you can type exit to leave the shell terminal, and then issue the command "adb pull /sdcard .\sdcard" to get the files. I had a custom rom image in the root of my sdcard so the move took quite a while ~15 minutes. On success of the pull command you should see a bunch of statuses like:
pull: sdcard/data/somefile -> .\sdcard/data/somefile
pull: sdcard/DCIM/somefile -> .\sdcard/DCIM/somefile
.
.
.
XXXX files pulled. 0 files skipped
(Some more transmission stats)
Hope it works out for who ever reads this.
Side note:
On my phone the screen was smashed. I replaced it and it still would not turn on, but it was still running. I had a rooted phone with CM10 rom on it. ADB debugging was one (if its off your pretty much screwed). I started up the phone, and plugged in the usb cable. I tried to use both adb and fastboot from windows terminal. "fastboot devices" would echo back nothing, and "adb devices" would echo back my phone's device number but state it was offline. So to get it online I did the following:
1.) pull batttery.
2.) boot into bootloader (hold power and volume up) the phone shouldn't vibrate if it does you have just normally powered it on. It took me quite a few times to get this to go into the bootloader. To make sure you get in the bootloader type "fastboot devices". If nothing comes up you not there.
3.) once verified you are in the bootloader you need to go into recover mode. Press volume down twice and then hit power (this would normally move the cursor on your phone down to recovery and select it if you could see whats happening on the screen).
4.) wait a bit for it to load into recovery, try typing "adb devices". You should eventually see you device show up as online. At this point you may enter the shell as above, mount the sdcard, exit the shell and pull your files.
Windows instuctions:
Prerequisites are installing adb.exe and fastboot.exe via installing the Android SDK on your computer. They will show up in the platform-tools folder of the install location. Add that folder to your environmental path variable so you can run the ADB and fastboot commands from any folder. Install the ADB driver for your phone (allows you to issue adb commands to your phone when USB is plugged in) by plugging in your phone and going to device manager, find your phone which should show up as a exclamation point, right click update driver, click "browse...", then "let me pick...", click top entry something like "show all", and then let the list populate. On the left look for "samsung" and then select the first one that is something like "samsung adb driver interface". And you should be good to go.
Sorry for the long winded post, I just like to try and explain as much as possible.
Successfully Recoverd data
Well My Samsung S2's Screen broke down few days ago.. Now i have retrieved the data by following the 2nd method in the following article..! I Hope this works for you aswell...
I can not Post the link here.. PM me if you want the link...!

[Q] TF700 not found by Fastboot

Ok, total noob here. I've been trying to get CWM on my TF700. I have Windows7 64 bit. I plug in either the tablet alone or docked, using any combination of USB2.0 dedicated charge/comm cable, USB3.0 dedicated charge/Comm cable and usb 2.0 and usb3.0 ports. The computer finds the "fastboot device" (usb2.0 port) or the AsUsTeK Fastboot device (USB3.0 port). It shows up in my devices list as an unknown type, but the drivers appear to be loaded correctly since the computer sees the devices and calls it the "Fastboot Device". I've tried the "ADB devices" and the "Fastboot Devices" commands but my tablet is never found (the command never returns the device string) and issuing the fastboot command to flash the CWM recovery just sits there waiting for the device. I'm lost. Can anyone give me a clue?
SDK
Washedman said:
Ok, total noob here. I've been trying to get CWM on my TF700. I have Windows7 64 bit. I plug in either the tablet alone or docked, using any combination of USB2.0 dedicated charge/comm cable, USB3.0 dedicated charge/Comm cable and usb 2.0 and usb3.0 ports. The computer finds the "fastboot device" (usb2.0 port) or the AsUsTeK Fastboot device (USB3.0 port). It shows up in my devices list as an unknown type, but the drivers appear to be loaded correctly since the computer sees the devices and calls it the "Fastboot Device". I've tried the "ADB devices" and the "Fastboot Devices" commands but my tablet is never found (the command never returns the device string) and issuing the fastboot command to flash the CWM recovery just sits there waiting for the device. I'm lost. Can anyone give me a clue?
Click to expand...
Click to collapse
You have downloaded the sdk from google yes??Put the .exe is the right place??Opened you CMD window with admin rights???
lj50036 said:
You have downloaded the sdk from google yes??Put the .exe is the right place??Opened you CMD window with admin rights???
Click to expand...
Click to collapse
To the best of my knowledge (slim, I AM a noob, after all) I would say yes to all the above. The only thing I would question would be which .exe and which place? I still have a problem with reading peoples minds...
fastboot/adb
Washedman said:
To the best of my knowledge (slim, I AM a noob, after all) I would say yes to all the above. The only thing I would question would be which .exe and which place? I still have a problem with reading peoples minds...
Click to expand...
Click to collapse
Fastboot.exe/adb.exe in the root of your local hard drive
lj50036 said:
Fastboot.exe/adb.exe in the root of your local hard drive
Click to expand...
Click to collapse
No, I didn't place them in the root. I created a folder in the root called Android (for the ADB files) and Fastboot for the fastboot files. I opened the command line and CD to the appropriate folder for the fastboot. For the ADB.exe, I added a path statement in the environment variables as suggested. I can type in either command and the computer will recognize it and give the all the command structure, so I would assume that is operating correctly, yes?
Washedman said:
No, I didn't place them in the root. I created a folder in the root called Android (for the ADB files) and Fastboot for the fastboot files. I opened the command line and CD to the appropriate folder for the fastboot. For the ADB.exe, I added a path statement in the environment variables as suggested. I can type in either command and the computer will recognize it and give the all the command structure, so I would assume that is operating correctly, yes?
Click to expand...
Click to collapse
Yes that is great. With the tablet in fasboot mode type
fastboot devices what is the outcome of this
lj50036 said:
Yes that is great. With the tablet in fasboot mode type
fastboot devices what is the outcome of this
Click to expand...
Click to collapse
Nothing. It returns no string, letters or numbers. Blank. I tried every combination of ports and cables and drivers. Getting a bit frustrated.
I had a similar problem with flashing a custom recovery on the tf700 as well (mainly because of the dock), so let me share with you a few pointers that may help you fix this (it certainly helped in my case):
1. Never do any flashing, adb or fastboot with the tablet docked, especially when flashing recovery: I spent three hours scratching my head figuring out why I couldn’t flash the recovery (fastboot stuck at sending file), only to find out that everything worked perfectly when I removed the dock. In my opinion, the dock makes things unpredictable, so do everything with the dock.
2. As for adb and fastboot, you should just start setting up from scratch as it is always easier than troubleshooting for errors. After unlocking the bootloader using ASUS tool, what I suggest you should do are as below:
a. Uninstall COMPLETELY your current adb/fastboot drivers and install Universal Naked Driver 0.73 (http://forum.xda-developers.com/showthread.php?t=2513339). Take note of the warning in red on how to uninstall existing adb driver.
b. Also take note that you actually need 2 sets of drivers, 1 for adb and 1 for fastboot (which are both included in the Universal Naked Driver). When you connect your tablet with Android running to your PC, you are installing driver for adb. With the driver properly installed, “adb devices” command will work and give you the list of connected devices to your PC through Windows’ CMD. Please also Google or search xda for adb files (no need to download the whole Android SDK just to get those adb files).
c. After successfully installing adb driver, you can manually reboot your tablet into fastboot mode through the button combo (power + volume down) with the tablet still connected to your PC. By then, your Device Manager should have another device listed as fastboot device. Again, follow the steps in the link to uninstall and reinstall fastboot driver. With this set up, you should be able to run “fastboot devices” command.
d. With fastboot, you can now flash a custom recovery. As a side note, since all this flashing custom recovery and ROM can potentially brick your tablet, after you have finished fixing adb/fastboot and get your ROM running, I strongly suggest you follow this link to obtain nvflash (http://forum.xda-developers.com/showthread.php?t=2455925) and make your tablet unbrickable. I actually did this before flashing a custom ROM, but I honestly don’t know if the timing makes any difference.
So after a lot of headache and messing with drivers, 3 machines, 1 grumpy wife and staying up until 4am. I figured the issue wasn't the drivers. But the version of ADB and Fastboot which I was trying to use. That and the USB hub I was trying to go through.
The way I solved the issue was to install the tools and drivers from the following thread and to plug directly into a USB port rather than a USB hub:
http://forum.xda-developers.com/showthread.php?t=2588979

Fix "unable to load" using fastboot and windows 10

I have been frustrated trying to use fastboot commands, especially the "flash" command on my windows 10 laptop. I continually got an "unable to load' message. I have reloaded the drivers manually as recommended by some, which still did not work. Well, it turns out that you need the complete path in the fastboot command line when using 10. Put your img, bin files in a folder you will be using. Open the command prompt using the windows-x keys. Select the command prompt from the menu.. It does not need to be the administrator. Use the fastbooot devices command to make sure the computer can see your device. I then issue the fastboot command I want: fastboot flash logo and then drag the file from the folder you are in and drop it on the command line. In this case I used, nowarning.bin. When it populated the complete path starting with the c: prompt shows up. Make sure there is a space before the C: and the previous command. Hit enter. I have searched everywhere and have not found an answer to this problem. I did see a video on youtube where the fellow dragged a file from the folder and dropped it in the command prompt window. So thanks to him for that simple yet effective trick.. Hopefully this will work for you if your having the same problem I had...

Categories

Resources