|
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 . |
|
Register | FAQ | Donate | Forum Rules | Root any Device | ★iPhone Unlock★ | ★ Direct Codes ★ | Direct Unlock Source | Search | Today's Posts | Mark Forums Read |
Android based Phones / Tablets For all of your questions relating to the android mobile phones. |
| LinkBack | Thread Tools | Display Modes |
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 | [HOW TO] Basic ADB Commands 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! |
The Following 4 Users Say Thank You to ...:::SALMA:::... For This Useful Post: |
06-25-2012, 18:11 | #4 (permalink) |
No Life Poster 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 | 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! |
Bookmarks |
Thread Tools | |
Display Modes | |
| |
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 |
|