Care Unlock  
Your online unlock store
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   GSM-Forum > GSM Mobile / Tablets Brands -Software Area- > Android based Phones / Tablets

Android based Phones / Tablets For all of your questions relating to the android mobile phones.

Reply
 
LinkBack Thread Tools Display Modes
Old 06-09-2012, 20:02   #1 (permalink)
Junior Member
 
Join Date: Apr 2011
Location: Narsingdi,Bangladesh
Posts: 31
Member: 1566563
Status: Offline
Sonork: 100.1608473
Thanks: 233
Thanked 26 Times in 12 Posts
Lightbulb [HOW TO] Basic ADB Commands

If you find this helpful or think it would be helpful to others, tip it for a sticky!


Here's a little guide I put together for you to learn basic adb commands.


I'm posting this thread assuming you already have your SDK set up

^ I believe there is a sticky right below/above this thread on how to do so ^


With that said, let's dive right in!



1. Turn on ADB

Go to Menu > Settings > Applications > Development > USB Debugging


2. Running ADB

Open up command prompt and type your way to the directory you have your SDK in.

Mine is in C:\

So for example, mine would be: cd c:\AndroidSDK/tools

You are now in


3. Basic ADB commands

ADB push (sends files to your phone) -- adb push c:\example.apk /sdcard/example.apk

ADB pull (Receives files from your phone) -- adb pull /system/app/example.apk c:\example.apk

ADB install (installs application) -- adb install c:\example.apk

adb shell (Begins shell connection with phone)

adb reboot (reboots phone)

adb reboot recovery (reboots phone into recovery)

adb reboot bootloader (reboots the phone into bootloader/the white screen)

adb remount (remounts the system)


4. Commands to run while in ADB Shell

cd (changes directories) -- cd /system/app

ls (lists all files in the directory) -- cd /system/app

rm (removes files) -- rm /system/app/example.apk

cp (copies files) similar to cat -- cp /system/app/example.apk /sdcard/example.apk

cat (copies files) -- cat /system/app/example.apk > /sdcard/example.apk

exit (exits shell) -- exit


Might add a little more later if requested.

Hope you learned something!
  Reply With Quote
The Following 4 Users Say Thank You to ...:::SALMA:::... For This Useful Post:
Old 06-12-2012, 09:02   #2 (permalink)
No Life Poster
 
bilalzaink's Avatar
 
Join Date: May 2008
Location: H T C
Age: 25
Posts: 517
Member: 774744
Status: Offline
Sonork: 100.1608057
Thanks: 161
Thanked 783 Times in 281 Posts
1000 years old commands and every one Know this good.
No Need Sticky...
  Reply With Quote
Old 06-25-2012, 16:29   #3 (permalink)
Freak Poster
 
...:::SHAMIM:::...'s Avatar
 
Join Date: Oct 2011
Location: U.A.E
Posts: 270
Member: 1676524
Status: Offline
Sonork: 100.1608473
Thanks: 337
Thanked 125 Times in 64 Posts
Lightbulb

Quote:
Originally Posted by bilalzaink View Post
1000 years old commands and every one Know this good.
No Need Sticky...
Hello.
May be you forget.!
When android come in to market?
After that we are finding adb Command.
  Reply With Quote
The Following User Says Thank You to ...:::SHAMIM:::... For This Useful Post:
Old 06-25-2012, 18:11   #4 (permalink)
No Life Poster
 
Burebista's Avatar
 
Join Date: Feb 2006
Location: Rep. Moldova=Romania
Age: 29
Posts: 1,445
Member: 235325
Status: Offline
Sonork: 100.1593552
Thanks: 229
Thanked 467 Times in 297 Posts
Wink

Better is to type in cmd the comand adb help
and there will be all available comands;
better is to proceed like this instead to search and waste time.
Regards!
  Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
thread Thread Starter Forum Replies Last Post
How to add a language in 51xx/61xx tati Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 8 05-21-2013 19:20
How to upload a new firmware... Brand Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 28 08-30-2012 03:40
How can I do a Welcome note for my 6110 a dosn't have any one ? Viper Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 7 07-18-2012 07:57
news headlines to gsm phone mos Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 6 12-18-2011 11:00
Copy from one 6110 to another Leif Nielsen Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 1 06-10-1999 22:36


All times are GMT +1. The time now is 11:36.



Powered by Searchlight © 2013 Axivo Inc.
- GSM Hosting Ltd. - 1999-2013 -
Page generated in 2.89517 seconds with 11 queries

SEO by vBSEO