GSM Shop GSM Shop
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.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

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

Go Back   GSM-Forum > GSM & CDMA Phones / Tablets Software & Hardware 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: 36
Member: 1566563
Status: Offline
Sonork: 100.1608473
Thanks Meter: 32
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:
Show/Hide list of the thanked
Old 06-12-2012, 09:02   #2 (permalink)
No Life Poster
 
bilalzaink's Avatar
 
Join Date: May 2008
Location: G S M
Age: 36
Posts: 554
Member: 774744
Status: Offline
Thanks Meter: 774
1000 years old commands and every one Know this good.
No Need Sticky...
  Reply With Quote
Old 06-25-2012, 16:29   #3 (permalink)
Moderator
 
...:::SHAMIM:::...'s Avatar
 
Join Date: Oct 2011
Location: U.A.E
Posts: 2,356
Member: 1676524
Status: Offline
Sonork: 100.1608473
Thanks Meter: 2,712
Donate money to this user
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: In a point from Universe!
Age: 40
Posts: 1,633
Member: 235325
Status: Offline
Sonork: 100.1593552
Thanks Meter: 523
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
news headlines to gsm phone mos Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 7 05-22-2016 11:42
How can I do a Welcome note for my 6110 a dosn't have any one ? Viper Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 8 06-27-2015 11:57
How to add a language in 51xx/61xx tati Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 8 05-21-2013 19:20
How to upload a new firmware... Brand Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 8 06-08-2012 18:29
Copy from one 6110 to another Leif Nielsen Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 1 06-10-1999 22:36

 



All times are GMT +1. The time now is 09:38.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.14011 seconds with 9 queries

SEO by vBSEO