CREDITS: listed in easy to use format by shamsud
download driver for window from here http://forum.samdroid.net/attachment...gtrans/auto/en
download sdk from here http://developer.android.com/intl/de/sdk/index.html
but dont open instead extract to root of c drive rename folder to AndroidSDK
connect ur phone to pc but dont mount sdcard (also tick the usb debugging option from setting-application-development)
open cmd and enter command
cd\
cd AndroidSDK\tools\ -----------connect to adb
adb devices --------------– lists which devices are currently attached to your computer
if u dont get ur device number something u did wrong cheack again
once ur device is connected u can try the below command for ur use
note; to install or push anything to phone place the file u want to push or install in C:\AndroidSDK\tools
--------------------------------command list--------------------------------------------------------------
adb shell mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl5 /system -----let u mount ur system
adb push <packagename.apk> /system/app/ ----------put in system folder
adb devices – ----lists which devices are currently attached to your computer
adb install <packagename.apk> – lets you install an Android application on your phone
adb remount – Remounts your system in write mode – this lets you alter system files on your phone using ADB
adb push <localfile> <location on your phone> – lets you upload files to your phones filesystem
adb pull <location on your phone> <localfile> – lets you download files off your phones filesystem
adb logcat – starts dumping debugging information from your handset to the console – useful for debugging your apps
adb shell <command> – drops you into a basic linux command shell on your phone with no parameters, or lets you run commands directly
adb devices – lists which devices are currently attached to your computer
adb install <packagename.apk> – lets you install an Android application on your phone
adb remount – Remounts your system in write mode – this lets you alter system files on your phone using ADB
adb push <localfile> <location on your phone> – lets you upload files to your phones filesystem
adb pull <location on your phone> <localfile> – lets you download files off your phones filesystem
adb logcat – starts dumping debugging information from your handset to the console – useful for debugging your apps
adb
adb shell <command> – drops you into a basic linux command shell on your phone with no parameters, or lets you run commands directly
Fastboot Commands
fastboot devices – lists which devices in fastboot mode are currently attached to your computer
fastboot boot <filename> – boots a rom stored on your pc specified by the filename
fastboot flash <partition> <filename> – flashes a rom stored on your pc, partition can be one of {boot, recovery, system, userdata}
MODS: Please make the topic sticky so that the questions regarding adb dont have to be answered repeatedly.
You can also remove unused application like "Myspace in my case"
1.remount filesystem in rw mode
cmd: adb shell mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl5 /system
2. make a copy of the file before deleting
cmd: adb pull /system/app C:\xxxx
3.login into shell to delete file
cmd:
adb shell
cd /system/app
rm myspace.apk
exit






0 comments:
Post a Comment