|
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 |
| LinkBack | Thread Tools | Display Modes |
07-05-2013, 11:50 | #1 (permalink) |
Insane Poster Join Date: Dec 2001 Location: USA
Posts: 76
Member: 7805 Status: Offline Thanks Meter: 184 | [GUIDE] Basic adb/shell commands for noobs Here is a list of some of the adb and terminal command I have used it Android frequently. I found that I was always having to look up these commands so I figured I would start keeping track of the common ones in case they can help anyone else. If any of these needs corrections or if you have a good one to add please post it. Note, I type "cd C:\Android" to get to my Android folder before doing these commands in the command prompt in windows. That way when I do things like pull apps they end up in "C:\Android\apps", same thing if I want to send I file to my phone I throw it in my Android folder and send it to the phone from there. Through ADB Pull apps off phone onto computer Code: adb pull /system/sd/app app adb pull /system/sd/app-private app-private Code: adb push app /system/sd/app adb push app-private /system/sd/app-private Code: adb shell rm -r /system/sd/app adb shell rm -r /system/sd/app-private Partition SD card - This erases everything on your SD card (*size* being the size of the FAT32 partition) Code: $ su # cd /data # wget http://64.105.21.209/bin/lib/droid/sdsplit # chmod 555 sdsplit # /data/sdsplit -fs *size* (add -nc to the end for JFv1.5ADP) From the Recovery Screen Sending an update file to your SD card: Code: adb shell mount /sdcard adb shell rm /sdcard/update.zip adb push *filename* /sdcard/update.zip Restoring a nandroid backup - Start command-prompt/terminal cd to the nandroid folder and enter following commands Code: fastboot erase boot fastboot erase recovery fastboot flash system system.img fastboot flash boot boot.img fastboot flash userdata data.img fastboot flash recovery recovery.img fastboot reboot |
The Following 18 Users Say Thank You to drozd For This Useful Post: |
09-24-2013, 15:49 | #3 (permalink) |
Junior Member Join Date: Jun 2013 Location: india
Posts: 37
Member: 1966092 Status: Offline Sonork: 100.1647263 Thanks Meter: 6 | bro help me ... i connect my android mobile and command in command prompt but it says that the given syntax is invalid and could not find the prompt ... thanks before ... explain me from first and gave me drivers for android ..thanks |
The Following User Says Thank You to praveen26 For This Useful Post: |
10-01-2013, 17:21 | #4 (permalink) | |
Junior Member Join Date: Aug 2013
Posts: 14
Member: 2011296 Status: Offline Thanks Meter: 13 | Quote:
Now download the latest adb version And in the folder where you downloaded the adb and the other two files, shift+right click and select open command window Now you can use the adb commands once you connected your device You can find all the adb files in my devhost : http://d-h.st/vhZ Now it will be done DONT FORGET TO THANK ME MAN ?!!! Sent from my Nexus S using Tapatalk 2 | |
The Following 6 Users Say Thank You to protox 109 For This Useful Post: |
01-20-2018, 07:01 | #9 (permalink) | |
Insane Poster Join Date: May 2002 Location: INDIA-KARNATAKA Age: 48
Posts: 61
Member: 12302 Status: Offline Thanks Meter: 22 | Quote:
use this command to put samsung handset normal to download mode. | |
The Following User Says Thank You to gopidas For This Useful Post: |
05-09-2018, 14:24 | #11 (permalink) |
Junior Member Join Date: Jan 2015
Posts: 32
Member: 2334147 Status: Offline Sonork: 100.1680702 Thanks Meter: 2 | i want to flash ny nokia 3 (TA-1032) with adb commands but its not getting recovery and fastboot mode plz help me seniors |
The Following User Says Thank You to Muhammad43 For This Useful Post: |
Bookmarks |
| |
|