Creating a connection
Assuming you followed perpartions in post #1.In order to give commands you need to enter to command prompt, the way to do this is as follows:
From your pc go to your task bar at the bottom click start and when your menu pops up enter CMD in the search box and press enter:
Once the command prompt box comes up we need to change directories (cd command) to the Quick ADB directory so type the following (If you want to copy and paste, remember in command prompt you must right click and select paste):
Your prompt should have changed to c:\quickadb. The next thing we need to do is establish that we have connection (again assuming you are connected to your pc in debugging mode) type the following
it will now say "List of devices attached". If you are connected you will see device serial number (the image below was altered to protect my device). if there is nothing under "List of devices attached" this means you are not connected and you should check your connections. If all is well you are ready to use adb commands. your command prompt should look similiar to this:
Some basic commands
adb devices : as you have seen above this command allows you to see all devices connect
adb pull: it allows you to copy a file from your phone and place it in your Quick ADB folder.
i have a picture of Lloyd on my sdcard and i want to copy it into my computer and so i need to command to pull(copy from) tell it where and what i am pulling i need to state the path and the file i want copied. then i need to tell it what i want it called in the destination folder (in this case quick adb folder) so my command will look like this
adb pull /sdcard/Lloyd.jpg Lloyd.jpg
or lets say i want it to be called Cool.jpg
adb pull /sdcard/Lloyd.jpg Cool.jpg
This file will now appear in my Quick ADB folder
adb push: it allows you to copy a file from your Quick ADB folder and place it in on your phone.
This is the opposite of pull, so lets say i have a picture of Lloyd on my computer and i want to copy it into my phone, first i place it in my Quick ADB folder. Then i need to command to push(copy to). tell it what i am pushing, then tell it where in the phone i want it to go and what to call it
adb push Lloyd.jpg /sdcard/Lloyd.jpg
or lets say i want it to be called Cool.jpg
adb push Lloyd.jpg /sdcard/Cool.jpg
This file will now appear on my sdcard on my phone
adb reboot: this one is pretty simply just type adb reboot and your phone reboots without you even touching it.
adb reboot recovery: this is one of my favorites, not only does it reboot your phone but also reboots straight into recovery without you touching any button combination at all. this is great for people who flash alot of roms or if you have damaged keys
adb reboot download : this command also is a great one (for samsung phones or any other that supports download mode) this allows you to boot straight into download mode again without touching your phone. this is great for people who flash via odin alot or if you have damaged keys
adb install : this is great for those of you who cannot sideload apps or just like to install quickly from your computer.
for example: lets say i have googlemaps.apk on my computer and want to install it on my phone. I simply move the googlemaps.apk to my quick adb folder and from the command prompt i type
adb install googlemaps.apk
when its done it will tell me if it was successful or not. you can then go to your app drawer and enjoy your new application, that simple.
Last edited by DroidXcon; 03-31-2011 at 03:14 PM.
- 01-27-2011, 07:22 PM #4
Remove apps from SD card:
adb shell rm -r /system/sd/app
adb shell rm -r /system/sd/app-private
The second command is to remove private apps, as it says. /system/sd is the location of the SD card in Android, and /app is where all apps are stored on the SD card.
NOTE: You must be running Android 2.2 or newer for apps to be stored on the SD card.
Last edited by Chris Kerrigan; 01-27-2011 at 07:32 PM.
If anyone finds any Errors please let me know, also if you have commands you would like to add, please post it here with description and example of how to execute the command. i will add it to the Op and give you credit also in the OP
- 01-28-2011, 01:07 PM #6
Adb uninstall of system apps (good for removing bloatware from phones with small storage).
NOTE: System had to be R/W for this to work. This may require you to boot into recovery, depending on the phone.
1. Open adb connection
2. Type "adb shell"
3. You should see a # sign. Type "cd system"
4. Type "cd app"
5. Type "ls". This gives you a list of installed apps.
6. Type "rm (name of app.apk)" The app should be uninstalled.
DO NOT UNINSTALL AN APP UNLESS YOU ARE ABSOLUTELY 100% POSITIVE YOU DON'T NEED IT!! You can uninstall any app you can find in the market, such as Maps, and install it to the SD card if you need more space.
I had to put together two guides to make this work (both had inaccuracies or were unclear), so if there's an error, I apologize.
- 01-28-2011, 06:49 PM #7
- 03-24-2011, 06:59 PM #8
- 03-30-2011, 09:06 PM #9
- 03-30-2011, 09:27 PM #11
I was trying the Samsung logo mod...did the heimdal flash but jus this adb thing no workie. Ah I can live with the logo.
- 03-30-2011, 09:40 PM #13
Last edited by davey11; 03-30-2011 at 09:43 PM. Reason: chaaarge
- 03-30-2011, 10:29 PM #14
- 03-30-2011, 10:34 PM #15
- 03-30-2011, 10:44 PM #17
- 03-30-2011, 10:47 PM #18
- 03-30-2011, 10:48 PM #19
- 03-30-2011, 11:00 PM #21
- 03-30-2011, 11:02 PM #23
- 03-30-2011, 11:12 PM #24
for some reason you are not even switching into the adb folder did you unzip the folder then place it on the C drive because this is what it should look like
then that turns into
but the picture you sent me doesnt switch directories