7. Create vitual sd card for ur phone
Using the below command to create
In terminal go to ur android tools directory
=> cd /home/USER_NAME/android-sdk-linux_x86/tools
Then type
$ ./mksdcard 512M mysdcard512Mb
8. After installation completed to click vitual devices => click new
Now enter ur name of android vitual device
Choose the target android version
Choose ur virtual sdcard using browse button, before we
created
In hardware field, what are the features u want in ur
virtual device
Just click the new button to add more and more
Finally Click create AVD
11. You can add files into ur sdcard
$ mkdir /media/mycard
$ sudo mount -o loop /android/tools/mysdcard512Mb
/media/mycard
#add files using cp command
$ sudo umount /media/mycard
13. ADB (Android Debug Bridge)
ADB (Android Debug Bridge) is a handy tool that comes
with Android SDK that allows you to control and interface
with your Android device.
14. Create this file:
$ sudo /etc/udev/rules.d/##-android.rules
NOTE: In the above file replace ## with the number 50 if you
are running Gusty/Hardy/Dapper (50-android.rules) or with the
number 70 if you are running Karmic Koala/Lucid Lynx/Maverick
Meerkat(70-android.rules)
15. The file should read:
For Gusty/Hardy: SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″
For Dapper: SUBSYSTEM==”usb_device”, SYSFS{idVendor}==”0bb4″, MODE=”0666″
For Karmic Koala: SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″
For Lucid Lynx: SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″
For Maverick Meerkat: SUBSYSTEM==”usb”, ATTR{idVendor}==”0bb4″, MODE=”0666″
NOTE: In the above lines the code ”0bb4″ refers to a HTC device. If your
phone is from a different manufacturer, replace the code with the
appropriate from the table.
Which operating you are using to an appropriate line to
copy and paste on that file
16. MANUFACTURER USB VENDOR ID
Acer 0502
Dell 413c
Foxconn 0489
Garmin-Asus 091E
HTC (Older Phones) 0bb4
HTC (Newer phones) 18d1
Huawei 12d1
Kyocera 0482
LG 1004
Motorola 22b8
Nexus One/S 18d1
Nvidia 0955
Pantech 10A9
Samsung 04e8
Sharp 04dd
Sony Ericsson 0fce
ZTE 19D2
17. Change permission: $ sudo chmod a+rx /etc/udev/rules.d/70-android.rules
To run ADB you need to add an environment variable to your bashrc file:
1. Open a terminal window and type: $ sudo gedit ~/.bashrc
2. Add the following line at the end: export PATH=${PATH}:/home/YOUR-
USERNAME/android-sdk-linux_x86/platform-tools
3. Save and close
You should be ready to go, type $ adb devices in a terminal window
with your phone plugged in. It shows your device
HT99PHF02521 device